* lisp/progmodes/python.el (inferior-python-mode): Make input prompts
[emacs.git] / lisp / ChangeLog
blob4a54d4e2df6fb2ad8d121cb92d480be131cd3970
1 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3         * progmodes/python.el (inferior-python-mode): Make input prompts
4         read-only.
6 2014-07-28  Emilio C. Lopes  <eclig@gmx.net>
8         * net/tramp-sh.el (tramp-get-remote-python): Also search for
9         executables named "python2" or "python3".
10         (tramp-get-remote-uid-with-python): Use parentheses around
11         arguments to `print' to make it compatible with Python 3.
12         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
14 2014-07-28  Eli Zaretskii  <eliz@gnu.org>
16         * window.el (window--pixel-to-total): Use FRAME's root window, not
17         that of the selected frame.  (Bug#18112, Bug#16674)
19 2014-07-28  Andreas Schwab  <schwab@linux-m68k.org>
21         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
22         (Bug#18117)
24 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
26         * progmodes/python.el (inferior-python-mode): Doc fix.
28 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
30         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
31         not a character, ignore it instead of raising an error.
33         * calendar/todo-mode.el: Fix handling of marked items and make
34         minor code improvements.
35         (todo-edit-item): If there are marked items, ensure user can only
36         invoke editing commands that work with marked items.
37         (todo-edit-item--text): When there are marked items, make it a
38         noop if invoked with point not on an item; otherwise, ensure it
39         applies only to item at point.
40         (todo-item-undone): If there are marked not-done items, return
41         point to its original position before signaling user error.
42         (todo--user-error-if-marked-done-item): New function.
43         (todo-edit-item--header, todo-edit-item--diary-inclusion)
44         (todo-item-done): Use it.
46 2014-07-28  Glenn Morris  <rgm@gnu.org>
48         * files.el (toggle-read-only): Re-add basic doc-string.
49         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
51         * progmodes/prolog.el (prolog-mode-keybindings-edit):
52         Replace missing `switch-to-prolog' with `run-prolog'.
53         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
55 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
57         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
58         of file-wide setting when changing category-wide setting.
60 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
62         * doc-view.el (doc-view-open-text): Don't require that the
63         document is saved in a file (e.g., email attachment).
65 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
67         Parse completion input in a iPython friendly way.  (Bug#18084)
68         * progmodes/python.el
69         (python-shell-completion-at-point): Rename from
70         python-shell-completion-complete-at-point.
71         (inferior-python-mode): Use it.
72         (python-completion-at-point): Rename from
73         python-completion-complete-at-point.  Parse input up to first
74         backward occurrence of whitespace, open-paren, close-paren or
75         string delimiter.
76         (python-mode): Use it.
78 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
80         Prevent Python process shell buffer to pop twice.
81         * progmodes/python.el (python-shell-switch-to-shell): Do not call
82         pop-to-buffer.
84 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
86         * progmodes/python.el
87         (python-shell-with-shell-buffer): New macro.
88         (python-shell-font-lock-get-or-create-buffer)
89         (python-shell-font-lock-kill-buffer)
90         (python-shell-font-lock-with-font-lock-buffer)
91         (python-shell-font-lock-cleanup-buffer)
92         (python-shell-font-lock-toggle): Use it.
93         (python-shell-font-lock-turn-on)
94         (python-shell-font-lock-turn-off): Use it.  Make command.
96 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
98         Grab all Python process output before inferior-python-mode hooks.
99         * progmodes/python.el (inferior-python-mode): Call
100         accept-process-output and sit-for to ensure all output for process
101         has been received before running hooks.
102         (python-shell-internal-get-or-create-process): Cleanup
103         accept-process-output and sit-for calls.
105 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
107         More robust shell startup and code setup.
108         * progmodes/python.el (python-shell-make-comint): Remove
109         accept-process-output call.
110         (python-shell-get-buffer): Return current buffer if major-mode is
111         inferior-python-mode.
112         (python-shell-get-or-create-process): Use it.
113         (python-shell-send-setup-code): Send all setup code in one string,
114         output success message and accept-process-output.
116 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
118         * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll): Add
119         rudimentary support for bidirectional text.
121 2014-07-27  Martin Rudalics  <rudalics@gmx.at>
123         * frame.el (frame-notice-user-settings): Rewrite using
124         frame-initial-frame-tool-bar-height.
125         * menu-bar.el (menu-bar-horizontal-scroll-bar)
126         (menu-bar-no-horizontal-scroll-bar): New functions.
127         (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
128         scroll bars.
129         * scroll-bar.el (scroll-bar-lines)
130         (set-horizontal-scroll-bar-mode)
131         (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
132         (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
133         (scroll-bar-toolkit-horizontal-scroll): New functions.
134         (horizontal-scroll-bar-mode)
135         (previous-horizontal-scroll-bar-mode)
136         (horizontal-scroll-bar-mode-explicit): New variables.
137         (horizontal-scroll-bar-mode): New option.
138         (toggle-horizontal-scroll-bar): Do something.
139         (top-level): Bind horizontal-scroll-bar mouse-1.
140         * startup.el (tool-bar-originally-present): Remove variable.
141         (command-line): Don't set tool-bar-originally-present.
142         * window.el (window-min-height): Update doc-string.
143         (window--dump-frame): Dump horizontal scroll bar values.
144         (window--min-size-1): Handle minibuffer window separately.
145         Count in margins and horizontal scroll bar.  Return safe value
146         iff IGNORE equals 'safe.
147         (frame-windows-min-size): New function (used by frame resizing
148         routines).
149         (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
150         scroll bars.
151         (window--sanitize-window-sizes): New function.
152         (window-split-min-size): Remove.
153         (split-window): Count divider-width.  Don't use
154         `window-split-min-size' any more.  Reword error messages.
155         Sanitize windows sizes after splitting.
157 2014-07-27  Thien-Thi Nguyen  <ttn@gnu.org>
159         Use `defvar-local' more.
160         * progmodes/hideshow.el
161         (hs-c-start-regexp, hs-block-start-regexp)
162         (hs-block-start-mdata-select, hs-block-end-regexp)
163         (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
164         remove corresponding `make-variable-buffer-local' top-level calls.
166 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
168         Cleanup error signals.  (Bug#18067)
169         * progmodes/python.el
170         (python-indent-shift-left): Use user-error instead.
171         (python-shell-prompt-detect): Use lwarn with python group.
172         (python-completion-complete-at-point)
173         (python-eldoc--get-doc-at-point): Don't signal error.
175 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
177         Support for packages in Python shell.  (Bug#13570)
178         * progmodes/python.el (python-shell--package-depth): New var.
179         (python-shell-package-enable): New command.
180         (python-util-list-directories, python-util-list-files)
181         (python-util-list-packages): New functions.
183 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
185         Faster comint output.  (Bug#16875)
186         * progmodes/python.el:
187         (python-comint-output-filter-function): Make obsolete.
188         (python-comint-postoutput-scroll-to-bottom): New function.
189         (inferior-python-mode): Set comint-output-filter-functions to a
190         minimum.
192 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
194         * progmodes/python.el (python-shell-font-lock-post-command-hook):
195         Safeguard current point and undo history.
197 2014-07-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
199         Robust shell syntax highlighting.  (Bug#18084, Bug#16875)
200         * progmodes/python.el:
201         (python-shell-prompt-input-regexps): Add iPython block prompt.
202         (python-shell-output-syntax-table): Delete var.
203         (python-shell-font-lock-with-font-lock-buffer): New macro.
204         (python-shell-font-lock-get-or-create-buffer)
205         (python-shell-font-lock-kill-buffer)
206         (python-shell-font-lock-cleanup-buffer)
207         (python-shell-font-lock-post-command-hook)
208         (python-shell-font-lock-turn-off): New functions.
209         (python-shell-font-lock-turn-on): New function.
210         (inferior-python-mode): Use it.
211         (python-shell-font-lock-toggle): New command.
212         (python-shell-font-lock-enable): Rename from
213         python-shell-enable-font-lock.
214         (run-python-internal): Use it.
215         (python-shell-font-lock-comint-output-filter-function): New function.
216         (python-shell-comint-end-of-output-p): New function.
217         (python-shell-output-filter): Use it.
218         (python-util-comint-last-prompt): New function.
219         (python-util-text-properties-replace-name): New function.
221 2014-07-25  Glenn Morris  <rgm@gnu.org>
223         * vc/ediff-init.el (ediff-toggle-read-only-function):
224         * vc/ediff-util.el (ediff-toggle-read-only):
225         Replace obsolete toggle-read-only with read-only-mode.
227 2014-07-24  Michael Albinus  <michael.albinus@gmx.de>
229         * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
230         with `save-match-data'.  (Bug#18095)
232 2014-07-21  Vincent Belaïche  <vincentb1@users.sourceforge.net>
234         * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
235         order to ensure that row and col are lexically bound inside the
236         evaluated sexp.
238 2014-07-21  Glenn Morris  <rgm@gnu.org>
240         * progmodes/hideif.el (hide-ifdef-mode-submap):
241         Also substitute read-only-mode.
242         * bindings.el (mode-line-toggle-read-only):
243         * bs.el (bs-toggle-readonly):
244         * buff-menu.el (Buffer-menu-toggle-read-only):
245         * dired.el (dired-toggle-read-only):
246         * files.el (view-read-only, find-file-read-only)
247         (find-file-read-only-other-window)
248         (find-file-read-only-other-frame):
249         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
250         Doc fixes re toggle-read-only.
252 2014-07-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
254         * progmodes/python.el: Add comment about pipe buffering and
255         solutions for missing/delayed output in inferior Python shells.
256         (Bug#17304)
258         * progmodes/python.el (python-mode): Don't set
259         mode-require-final-newline.  (Bug#17990)
261         Make python.el work with IPython automatically.  (Bug#15510)
262         * progmodes/python.el:
263         (python-shell-completion-setup-code): New value supporting iPython.
264         (python-shell-completion-string-code): New value supporting iPython.
265         (python-shell-completion-get-completions): Use them.
266         (python-shell-completion-module-string-code): Make obsolete.
267         (python-shell-prompt-input-regexps)
268         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
269         (python-shell-output-filter): Fix comment typo.
271         Fix Python shell prompts detection for remote hosts.
272         * progmodes/python.el (python-shell-prompt-detect): Replace
273         call-process with process-file and make it more robust.
275         Autodetect Python shell prompts.  (Bug#17370)
276         * progmodes/python.el:
277         (python-shell-interpreter-interactive-arg)
278         (python-shell-prompt-detect-enabled)
279         (python-shell-prompt-detect-failure-warning)
280         (python-shell-prompt-input-regexps)
281         (python-shell-prompt-output-regexps): New vars.
282         (python-shell-prompt-calculated-input-regexp)
283         (python-shell-prompt-calculated-output-regexp): New vars.
284         (python-shell-get-process-name)
285         (python-shell-internal-get-process-name)
286         (python-shell-output-filter)
287         (python-shell-completion-get-completions): Use them.
288         (python-shell-prompt-detect)
289         (python-shell-prompt-validate-regexps): New functions.
290         (python-shell-prompt-set-calculated-regexps): New function.
291         (inferior-python-mode): Use it.  Also honor overriden
292         python-shell-interpreter and python-shell-interpreter-args.
293         (python-shell-make-comint): Honor overriden
294         python-shell-interpreter and python-shell-interpreter-args.
295         (python-shell-get-or-create-process): Make it testable by allowing
296         to call run-python non-interactively.
297         (python-util-valid-regexp-p): New function.
298         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
299         (python-shell-prompt-output-regexp)
300         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
302 2014-07-21  Stefan Monnier  <monnier@iro.umontreal.ca>
304         * emacs-lisp/smie.el (smie-config--guess-1): Split from
305         smie-config--guess.
306         (smie-config--guess): Use it.
308         * emacs-lisp/edebug.el: Use nadvice.
309         (edebug-original-read): Remove.
310         (edebug--read): Rename from edebug-read and add `orig' arg.
311         (edebug-uninstall-read-eval-functions)
312         (edebug-install-read-eval-functions): Use nadvice.
313         (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
314         (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
315         (edebug-read-string, edebug-read-function): Use just `read'.
316         (edebug-original-debug-on-entry): Remove.
317         (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
318         `orig' arg.
319         (debug-on-entry): Override with nadvice.
321         * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
322         it also makes sense to bind it to a non-mouse event.
324         * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
326 2014-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
328         * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
329         (bug#18015).
331         * rect.el (rectangle--string-preview): Don't assume there
332         a non-nil default (bug#17984).
334 2014-07-16  Glenn Morris  <rgm@gnu.org>
336         * desktop.el (after-init-hook): Disable startup frame restoration
337         in non-graphical situations.  (Bug#17693)
339         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
340         if it was "empty", or used for a different set of files.  (Bug#17884)
342 2014-07-16  Eli Zaretskii  <eliz@gnu.org>
344         * bindings.el (mode-line-remote): If default-directory is not a
345         string, don't call file-remote-p on it; instead state in the
346         help-echo that it is nil.  (Bug#17986)
348 2014-07-14  Daniel Colascione  <dancol@dancol.org>
350         * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
351         to `macroexpand-all'
353         * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
354         Use `macroexpand-all' instead of `cl-macroexpand-all'.
356 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
358         Fix bug: C-x v v discarded existing log message (Bug#17884).
359         * vc/vc-dispatcher.el (vc-log-edit):
360         Don't clobber an already-existing log message.
362 2014-07-12  Glenn Morris  <rgm@gnu.org>
364         * vc/log-edit.el (log-edit-changelog-entries):
365         Check for a visited-but-never-saved ChangeLog.
367 2014-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>
369         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
370         a non-existing file (bug#17970).
372         * faces.el (face-name): Undo last change.
373         (x-resolve-font-name): Don't call face-name (bug#17956).
375 2014-07-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
377         Fix dedenters and electric colon handling. (Bug#15163)
378         * progmodes/python.el
379         (python-rx-constituents): Add dedenter and block-ender.
380         (python-indent-dedenters, python-indent-block-enders): Delete.
381         (python-indent-context): Return new case for dedenter-statement.
382         (python-indent-calculate-indentation): Handle new case.
383         (python-indent-calculate-levels): Fix levels calculation for
384         dedenter statements.
385         (python-indent-post-self-insert-function): Fix colon handling.
386         (python-info-dedenter-opening-block-message): New function.
387         (python-indent-line): Use it.
388         (python-info-closing-block)
389         (python-info-closing-block-message): Remove.
390         (python-info-dedenter-opening-block-position)
391         (python-info-dedenter-opening-block-positions)
392         (python-info-dedenter-statement-p): New functions.
394 2014-07-11  Dmitry Antipov  <dmantipov@yandex.ru>
396         * files.el (out-of-memory-warning-percentage): New defcustom.
397         (warn-maybe-out-of-memory): Use it.
399 2014-07-11  Michael Albinus  <michael.albinus@gmx.de>
401         * subr.el (read-passwd): Use `read-hide-char' if non-nil.  Bind it
402         when calling `read-string'.  (Bug#17839)
404 2014-07-10  Eli Zaretskii  <eliz@gnu.org>
406         * files.el (warn-maybe-out-of-memory): Fix the wording of the
407         warning.
409 2014-07-10  Dmitry Antipov  <dmantipov@yandex.ru>
411         * files.el (warn-maybe-out-of-memory): New function.
412         (find-file-noselect): Use it.
414 2014-07-09  Sam Steingold  <sds@gnu.org>
416         * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
417         `constant' like `bless', `return' &c
419 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
421         * rect.el (apply-on-rectangle): Check forward-line really moved to the
422         next line.
424 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
426         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
427         the middle of a line (bug#17896).
429 2014-07-09  Juri Linkov  <juri@jurta.org>
431         * startup.el (command-line): Append displaying the warning about
432         the errors in the init file to the end of `after-init-hook'.
433         (Bug#17927)
435         * faces.el (face-name): Return input arg `face' as-is
436         when it's not a symbol.
437         (x-resolve-font-name): Don't check if the face is a symbol.
438         (Bug#17956)
440         * facemenu.el (list-colors-print): In help-echo format use %.2f
441         instead of %d because now HSV values are floating-point components
442         between 0.0 and 1.0.
444 2014-07-09  Glenn Morris  <rgm@gnu.org>
446         * emulation/cua-rect.el (cua--activate-rectangle):
447         Avoid setting cua--rectangle to nil.  (Bug#17877)
449 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
451         * calendar/todo-mode.el: Fix wrong-type-argument error when
452         marking multiple consecutive items.
453         (todo-toggle-mark-item): Don't try to mark the empty lines at the
454         end of the todo and done items sections.  Note in doc string that
455         items marked by passing a numeric prefix argument can include the
456         last todo and first done items.
457         (todo-mark-category): Don't try to mark the empty line between the
458         todo and done items sections.
460 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
462         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
463         proper Lisp quoting (bug#17934).
465         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
466         require-final-newline since prog-mode already took care of it (bug#17947).
468 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
470         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
471         refer to the Todo mode Info manual.  Update the comment on
472         requiring cl-lib.
473         (todo-find-filtered-items-file): Add todo-prefix overlays.
474         (todo-filter-items): Reorder a let-bound variable to avoid a
475         wrong-type-argument error on canceling the file choice dialog.
477 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
479         * progmodes/octave.el (inferior-octave-mode):
480         Set comint-input-ring-size to a number (bug#17912).
482 2014-07-09  Juri Linkov  <juri@jurta.org>
484         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
485         and `isearch-mode' associated with nil.  (Bug#17849)
487 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
489         * linum.el (linum--face-height): New function (bug#17813).
490         (linum-update-window): Use it to adjust margin to linum's width.
492         * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
493         * eshell/em-smart.el (eshell-smart-scroll-window): Use
494         with-selected-window.
496         * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
497         Remove also pointless window&mark manipulation.
499         * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
500         (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
501         (perl-continuation-line-p): Don't skip over anything else than labels.
502         Return the previous char.
503         (perl-calculate-indent): Use syntax-ppss instead of parse-start
504         and update callers accordingly.  For continuation lines, check the
505         the case of array hashes.
506         (perl-backward-to-noncomment): Make it non-interactive.
507         (perl-backward-to-start-of-continued-exp): Rewrite.
509 2014-07-08  Sam Steingold  <sds@gnu.org>
511         * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
512         New user commands.
514 2014-07-08  Juri Linkov  <juri@jurta.org>
516         * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
517         (vc-annotate-color-map): Use less saturated colors (20%) for
518         background-mode.
519         (vc-annotate-very-old-color): Add default value for background-mode.
520         (vc-annotate-background): Set default value to nil since now text on
521         the default backgrounds should be legible in light and dark modes.
522         (vc-annotate-lines): Use `vc-annotate-background-mode'.  Doc fix.
523         (Bug#17808)
525 2014-07-08  Juri Linkov  <juri@jurta.org>
527         * simple.el (transpose-chars): Don't move point into read-only area.
528         (Bug#17829)
530 2014-07-08  Juri Linkov  <juri@jurta.org>
532         * window.el (with-displayed-buffer-window): New macro.
533         (with-temp-buffer-window, with-current-buffer-window):
534         Use `macroexp-let2' to evaluate and bind variables
535         in the same order as macro arguments.
536         (display-buffer--action-function-custom-type):
537         Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
539         * minibuffer.el (minibuffer-completion-help): Replace
540         `with-output-to-temp-buffer' with `with-displayed-buffer-window'
541         with actions that display *Completions* at-bottom when called
542         from the minibuffer, or below-selected in a normal buffer.
543         Associate `window-height' with `fit-window-to-buffer'.
544         Let-bind `pop-up-windows' to nil.
546         * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
547         instead of `with-current-buffer-window'.  (Bug#17809)
549 2014-07-07  Luke Lee  <luke.yx.lee@gmail.com>
551         * progmodes/hideif.el (hide-ifdef-env): Change to global.
552         (hide-ifdef-env-backup): New variable.
553         (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
554         New customizable variables.
555         (hif-clear-all-ifdef-defined): New defun.
556         (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
557         (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
558         (hif-tokenize): Fix for MS-DOS/Win EOL style.
559         (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
560         Fix bug to hide the correct #elif region(s).
561         (hif-range-elif): New defun.
562         (hif-recurse-level): New var.
563         (hif-evaluate-region, hif-evaluate-macro): New defun.
564         (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
565         fully hidden.
566         (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
567         Better interaction.
569 2014-07-04  Michael Albinus  <michael.albinus@gmx.de>
571         * net/dbus.el (dbus-peer-handler): New defun.
572         (dbus-register-service): Register it.  (Bug#17858)
573         (dbus-managed-objects-handler): Fix docstring.
575 2014-07-04  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
577         * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
578         (narrow-to-defun): New arg include-comments, defaulting to it
579         (bug#16328).
581 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
583         * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
584         different calling convention to rectangle--unhighlight-for-redisplay.
586 2014-07-03  Michael Albinus  <michael.albinus@gmx.de>
588         * net/tramp.el (tramp-call-process): Handle error strings.
590         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
592         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
593         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
595         * net/trampver.el: Update release number.
597 2014-07-03  Juri Linkov  <juri@jurta.org>
599         * desktop.el (desktop-save): Rename arg `auto-save' to
600         `only-if-changed'.  Doc fix.  (Bug#17873)
602 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
604         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
605         Use insert-for-yank (bug#17271).
607 2014-07-03  Leo Liu  <sdl.web@gmail.com>
609         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
610         Support lexical-binding.
612 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
614         * vc/log-edit.el (log-edit-goto-eoh): New function.
615         (log-edit--match-first-line): Use it (bug#17861).
617 2014-07-03  Glenn Morris  <rgm@gnu.org>
619         * vc/log-edit.el (log-edit-hook): Add missing :version.
621 2014-07-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
623         * progmodes/python.el (python-indent-post-self-insert-function):
624         Enhancements to electric indentation behavior inside
625         parens. (Bug#17658)
627 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
629         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
630         buffer-invisibility-spec (bug#17867).
632 2014-07-03  Andreas Schwab  <schwab@linux-m68k.org>
634         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
635         pass "-a".
637 2014-07-03  Glenn Morris  <rgm@gnu.org>
639         * cus-edit.el (help):
640         * finder.el (finder-known-keywords):
641         * help.el (help-for-help-internal):
642         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
643         (ediff-redraw-registry-buffer):
644         * vc/ediff-ptch.el (ediff-patch-file-internal):
645         Doc fixes re "online" help.  (Bug#17803)
647         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
648         (idlwave-mode): Doc URL update.
650 2014-07-01  Juri Linkov  <juri@jurta.org>
652         * man.el: Display man pages immediately and use process-filter
653         to format them asynchronously.
654         (Man-width): Doc fix.
655         (man): Doc fix.
656         (Man-start-calling): Use `with-selected-window' to get
657         `frame-width' and `window-width'.
658         (Man-getpage-in-background): Call `Man-notify-when-ready'
659         immediately after creating a new buffer.  Call `Man-mode' and set
660         `mode-line-process' in the created buffer.  Set process-filter to
661         `Man-bgproc-filter' in start-process branch.  In call-process branch
662         call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
663         Use `Man-start-calling' inside `with-current-buffer'.
664         (Man-fontify-manpage): Don't print messages.  Fix boundary condition.
665         (Man-cleanup-manpage): Don't print messages.
666         (Man-bgproc-filter): New function.
667         (Man-bgproc-sentinel): Add `save-excursion' to keep point when
668         user moved it during asynchronous formatting.  Move calls of
669         `Man-fontify-manpage' and `Man-cleanup-manpage' to
670         `Man-bgproc-filter'.  Move the call of `Man-mode' to
671         `Man-getpage-in-background'.  Use `quit-restore-window'
672         instead of `kill-buffer'.  Use `message' instead of `error'
673         because errors are caught by process sentinel.
674         (Man-mode): Move calls of `Man-build-page-list',
675         `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
676         `Man-bgproc-sentinel'.  Doc fix.  (Bug#2588, bug#5054, bug#9084, bug#17831)
678         * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
679         for the message about the man page cleaned up.
681 2014-07-01  Mario Lang  <mlang@delysid.org>
683         * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
684         cosutomization option `gnutls-verify-error'.
686 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
688         * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
689         Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
691         * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
692         (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
693         is suspended (bug#17857).
695 2014-07-01  Michael Albinus  <michael.albinus@gmx.de>
697         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
698         Prefer utf-8 coding.  (Bug#17859)
700 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
702         * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
703         for `reverse'.
705 2014-06-30  Glenn Morris  <rgm@gnu.org>
707         * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
708         (autoload-ensure-default-file): Maybe make existing output writable.
709         * Makefile.in (AUTOGEN_VCS): Remove.
710         (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
712 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
714         * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
716 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
718         New if-let, when-let, thread-first and thread-last macros.
720         * emacs-lisp/subr-x.el
721         (internal--listify, internal--check-binding)
722         (internal--build-binding-value-form, internal--build-binding)
723         (internal--build-bindings): New functions.
724         (internal--thread-argument, thread-first, thread-last)
725         (if-let, when-let): New macros.
727 2014-06-30  Grégoire Jadi  <daimrod@gmail.com>
729         * net/rcirc.el (rcirc-buffer-process): Restore previous
730         behaviour.  (Bug#17772)
732 2014-06-29  Alan Mackenzie  <acm@muc.de>
734         Don't call c-parse-state when c++-template-syntax-table is active.
735         * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
736         (c-guess-basic-syntax CASE 5D.3): Rearrange so that
737         c-syntactic-skip-backwards isn't called with the pertinent syntax table.
739 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
741         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
742         account for file-wide setting of todo-top-priorities-overrides.
743         Make code a bit cleaner.
745 2014-06-28  Glenn Morris  <rgm@gnu.org>
747         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
749 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
751         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
752         category-wide setting of todo-top-priorities-overrides, check for
753         a file-wide setting and fontify accordingly.
755 2014-06-28  Glenn Morris  <rgm@gnu.org>
757         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
759 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
761         * progmodes/hideif.el: Use lexical-binding.  Fix up cl-lib usage.
763 2014-06-28  K. Handa  <handa@gnu.org>
765         Fix Bug#17739.
767         * composite.el: Setup composition-function-table for dotted circle.
768         (compose-gstring-for-dotted-circle): New function.
770         * international/characters.el: Add category "^" to all
771         non-spacing characters.
773 2014-06-28  Glenn Morris  <rgm@gnu.org>
775         * Makefile.in (doit): Remove force rule.
776         (custom-deps, finder-data, autoloads, update-subdirs)
777         (compile-one-process): PHONY targets do not need force rules.
779         * Makefile.in (compile-main, compile, compile-always):
780         No need to explicitly pass variables to ourself in recursive calls.
782 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
784         * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
786 2014-06-26  Glenn Morris  <rgm@gnu.org>
788         * Makefile.in (update-authors): Update for moved authors.el.
790 2014-06-26  Leo Liu  <sdl.web@gmail.com>
792         * skeleton.el (skeleton-end-hook): Default to nil and move the
793         work to skeleton-insert.  (Bug#17850)
795 2014-06-26  Dmitry Antipov  <dmantipov@yandex.ru>
797         * calc/calc-alg.el (math-beforep):
798         * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
799         Simplify because string-lessp can accept symbols as args.
801 2014-06-26  Daiki Ueno  <ueno@gnu.org>
803         * emacs-lisp/package.el (package--check-signature):
804         If package-check-signature is allow-unsigned, don't signal error when
805         we can't verify signature because of missing public key
806         (bug#17625).
808 2014-06-26  Glenn Morris  <rgm@gnu.org>
810         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
811         Remove outdated declaration.
813         * emacs-lisp/authors.el (authors-valid-file-names)
814         (authors-renamed-files-alist): Additions.
816 2014-06-26  Leo Liu  <sdl.web@gmail.com>
818         * textmodes/picture.el (picture-set-tab-stops):
819         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
820         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
822         * progmodes/asm-mode.el (asm-calculate-indentation):
823         Use indent-next-tab-stop.
825         * indent.el (indent-accumulate-tab-stops): New function.
827 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
829         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
830         (package-desc-status): Obey it.
832 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
834         * calendar/todo-mode.el: Fix two bugs.
835         (todo-insert-item--basic): If user cancels item insertion to
836         another category before setting priority, show original category
837         whether it is in the same or a different file.
838         (todo-set-item-priority): After selecting category, instead of
839         moving point to top, which extends an active region, restore it.
841 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
843         * help-fns.el (describe-function-1): Check file-name is a string before
844         calling help-fns--autoloaded-p (bug#17564).
846 2014-06-26  Juri Linkov  <juri@jurta.org>
848         * desktop.el (desktop-auto-save-enable)
849         (desktop-auto-save-disable): New functions.
850         (desktop-save-mode, desktop-auto-save-timeout): Use them.
851         (desktop-read): Disable the autosave before loading the desktop,
852         and enable afterwards.  (Bug#17351)
854 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
856         Fix some indentation problem with \; and pipes (bug#17842).
857         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
858         (sh-smie--default-forward-token, sh-smie--default-backward-token):
859         New functions.
860         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
861         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
862         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
864 2014-06-26  Glenn Morris  <rgm@gnu.org>
866         * emacs-lisp/find-func.el (find-function-C-source-directory):
867         Use file-accessible-directory-p.
869         * ps-samp.el: Make it slightly less awful.
870         (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
871         (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
872         Only set local values.
873         (ps-article-subject, ps-article-author): Use standard functions
874         like mail-fetch-field.
875         (ps-info-file, ps-info-node): Use match-string.
876         (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
877         (ps-samp-ps-setup): ... new function.
879         * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
880         Optimize away code unneeded on any modern Emacs.
882         * emacs-lisp/authors.el: Move to ../admin.
884         * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
886 2014-06-26  Luke Lee  <luke.yx.lee@gmail.com>
888         * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
889         (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
890         performance enhancements.
891         (hif-parse-if-exp): Rename to `hif-parse-exp'.  Enhance for macro
892         expansion.
893         (hif-factor, hif-string-concatenation, intern-safe): Support string
894         concatenation and argumented macro expansion.
895         (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
896         (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
897         (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
898         (hif-canonicalize-tokens, hif-place-macro-invocation)
899         (hif-parse-macro-arglist): Mostly new functions for supporting
900         argumented macro expansion.
901         (hif-string-concatenation, hif-stringify, hif-token-concat)
902         (hif-token-stringification, hif-token-concatenation):
903         Stringification and concatenation.
904         (hif-find-next-relevant): Fix comments.
905         (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
906         some cases involving #elif.
907         (hif-find-define, hif-add-new-defines): New functions for automatically
908         scanning of defined symbols.
909         (hide-ifdef-guts): Fix for defined symbol auto scanning.
910         (hide-ifdef-undef): Fix behavior to match CPP.
912 2014-06-25  Glenn Morris  <rgm@gnu.org>
914         * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
915         ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
916         ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
917         files.  They are not relevant to the original issue (bug#1004),
918         and cause unnecessary recompilation (bug#2151).
920 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
922         * play/landmark.el: Use lexical-binding and avoid `intangible'.
923         (landmark--last-pos): New var.
924         (landmark--intangible-chars): New const.
925         (landmark--intangible): New function.
926         (landmark-mode, landmark-move): Use it.
927         (landmark-mode): Remove properties.
928         (landmark-plot-square, landmark-point-square, landmark-goto-xy)
929         (landmark-cross-qtuple):
930         Don't worry about `intangible' any more.
931         (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
932         (landmark-init-display): Don't set `intangible' and `point-entered'.
933         (square): Remove.  Inline it instead.
934         (landmark--distance): Rename from `distance'.
935         (landmark-calc-distance-of-robot-from): Rename from
936         calc-distance-of-robot-from.
937         (landmark-calc-smell-internal): Rename from calc-smell-internal.
939 2014-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
941         * files.el (dir-locals-find-file, file-relative-name):
942         * info.el (Info-complete-menu-item):
943         * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
944         to compare-strings to avoid out-of-range errors.
945         * subr.el (string-prefix-p): Adjust to match strict range
946         checking in compare-strings.
948 2014-06-24  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
950         * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
951         for comment lines non-greedy and stopping at newlines to fix stack
952         overflows with large files.
954 2014-06-24  Eli Barzilay  <eli@barzilay.org>
956         * calculator.el (calculator-last-input): Drop 'ascii-character property
957         lookup.
959 2014-06-24  Leo Liu  <sdl.web@gmail.com>
961         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
962         tab-stop-list to nil.  (Bug#16381)
964         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
965         (indent-rigidly-left-to-tab-stop)
966         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
967         (move-to-tab-stop): Change callers.
969 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
971         * skeleton.el (skeleton-insert): Yet another fix of the doc string
972         wrt behavior of \n as the first/last element of a skeleton.
974 2014-06-24  Michael Albinus  <michael.albinus@gmx.de>
976         * net/tramp-adb.el (tramp-adb-handle-process-file):
977         * net/tramp-sh.el (tramp-sh-handle-process-file):
978         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
979         the output buffer when DISPLAY is non-nil.  (Bug#17815)
981 2014-06-24  Glenn Morris  <rgm@gnu.org>
983         * play/landmark.el (landmark-move-down, landmark-move-up):
984         Fix 2007-10-20 change - preserve horizontal position.
986 2014-06-23  Sam Steingold  <sds@gnu.org>
988         * simple.el (kill-append): Remove undo boundary depending on ...
989         (kill-append-merge-undo): New user option.
991 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
993         * simple.el (handle-shift-selection, exchange-point-and-mark)
994         (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
995         (transient-mark-mode): Use&set the global value.
996         * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
997         * emulation/edt.el (edt-emulation-off): Save&restore the global
998         transient-mark-mode setting.
999         * obsolete/pc-select.el (pc-selection-mode): Use the
1000         transient-mark-mode function.
1002 2014-06-23  Eli Zaretskii  <eliz@gnu.org>
1004         * international/fontset.el (script-representative-chars):
1005         Add representative characters for scripts added in Unicode 7.0.
1006         (otf-script-alist): Synchronize with the latest registry of OTF
1007         script tags.
1009         * international/characters.el (char-script-table): Update for
1010         scripts added and codepoint ranges changed in Unicode 7.0.
1012 2014-06-23  Eli Barzilay  <eli@barzilay.org>
1014         * calculator.el (calculator-standard-displayer): Fix bug in use of
1015         `calculator-groupize-number'.
1016         (calculator-funcall): Fix broken `cl-flet' use by moving it into the
1017         `eval' code, so it works in v24.3.1 too.
1018         (calculator-last-input): Comment to clarify purpose.
1020 2014-06-22  Mario Lang  <mlang@delysid.org>
1022         * textmodes/rst.el (rst-comment-region): From from -> from.
1024         * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
1026 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
1028         * electric.el (electric-layout-post-self-insert-function):
1029         * emacs-lisp/ert.el (ert--insert-infos):
1030         * obsolete/vi.el (vi-set-mark):
1031         * term.el (term-handle-scroll):
1032         * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
1033         * wid-edit.el (widget-editable-list-value-create):
1034         Prefer point-marker to copy-marker of point.
1036 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1038         Fix completion retrieval parsing (bug#17209).
1039         * progmodes/python.el (python-mode):
1040         (python-util-strip-string): New function.
1041         (python-shell-completion-get-completions): Use it.
1043 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1045         * skeleton.el (skeleton-insert): Fix last change.
1047 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1049         Enhancements for outline integration (bug#17796).
1050         * progmodes/python.el (python-mode): Properly set
1051         outline-heading-end-regexp so that comments after colons for
1052         defuns are supported.
1054 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1056         * skeleton.el (skeleton-insert): Doc fix.
1058 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1060         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1061         (smie-config-guess): Use smie-config-local so the rules are obeyed
1062         (bug#17818).
1064         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1065         since it's already done inside the loop (bug#17819).
1067 2014-06-21  Martin Rudalics  <rudalics@gmx.at>
1069         * mouse.el (mouse-drag-line): Re-remove code initially removed
1070         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1071         (Bug#17819).
1073 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1075         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1076         align with the surrounding parent (bug#17721).
1078 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1080         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1081         locally to nil.
1082         (texinfo-insert-block, texinfo-insert-@end)
1083         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1084         local setting of skeleton-end-newline by adding an explicit \n to
1085         the skeletons where appropriate.  (Bug#17801)
1087 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1089         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1090         (smie-indent--hanging-p): Use it.
1091         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1093 2014-06-21  Leo Liu  <sdl.web@gmail.com>
1095         * simple.el (read-quoted-char): Don't let help chars pop up help
1096         buffer.  (Bug#16617)
1098 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1100         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1101         for | (bug#17621).
1103         * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
1104         Drop unknown events instead of burping.
1106 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1108         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1109         and later.  (Bug#17790)
1111 2014-06-21  Juri Linkov  <juri@jurta.org>
1113         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1114         to `soft'.  (Bug#17554)
1116 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1118         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1119         (bug#17737).
1121 2014-06-21  Dmitry Gutov  <dgutov@yandex.ru>
1123         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1124         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
1126 2014-06-21  Michael Albinus  <michael.albinus@gmx.de>
1128         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1129         `unread-command-events'.
1131 2014-06-19  William Xu  <william.xwl@gmail.com>
1133         * progmodes/hideif.el (hif-string-to-number): Don't return float for
1134         hex integer constants (bug#17807).
1136 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1138         * international/mule-util.el (truncate-string-ellipsis): New var.
1139         (truncate-string-to-width): Use it.
1141 2014-06-19  Robert Brown  <robert.brown@gmail.com>  (tiny change)
1143         * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
1144         (lisp-string-in-doc-position-p): New function, extracted from
1145         lisp-font-lock-syntactic-face-function.
1146         (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
1148 2014-06-19  Grégoire Jadi  <daimrod@gmail.com>
1150         * net/rcirc.el (rcirc-omit-mode): Fix recenter error.  (Bug#17769)
1152 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1154         * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
1155         (bubbles--game-over): Don't add `intangible' properties since they
1156         didn't work anyway.
1158 2014-06-18  Juri Linkov  <juri@jurta.org>
1160         * vc/ediff-init.el (ediff-current-diff-Ancestor)
1161         (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
1162         (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
1163         (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
1164         Add `min-colors 88' version with removed black/white foregrounds.
1165         (Bug#10181)
1167 2014-06-18  Juri Linkov  <juri@jurta.org>
1169         * vc/diff-mode.el (diff-changed): Empty face definition to use
1170         `diff-removed' and `diff-added' on tty as well.  (Bug#10181)
1171         (diff-context): Use darker color on light background and
1172         lighter color on dark background.
1174 2014-06-18  Juri Linkov  <juri@jurta.org>
1176         * vc/diff-mode.el (diff-refine-changed): Rename from
1177         `diff-refine-change' for consistency with `diff-changed'.
1178         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
1180         * vc/smerge-mode.el (smerge-refined-changed): Rename from
1181         `smerge-refined-change'.
1182         (smerge-refined-change): Add obsolete face alias.
1184 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1186         * rect.el (rectangle-preview): New custom.
1187         (rectangle): New group.
1188         (rectangle--pos-cols): Add `window' argument.
1189         (rectangle--string-preview-state, rectangle--string-preview-window):
1190         New vars.
1191         (rectangle--string-flush-preview, rectangle--string-erase-preview)
1192         (rectangle--space-to, rectangle--string-preview): New functions.
1193         (string-rectangle): Use them.
1194         (rectangle--inhibit-region-highlight): New var.
1195         (rectangle--highlight-for-redisplay): Obey it.  Make sure
1196         `apply-on-region' uses the point-crutches of the right window.
1197         Use :align-to rather than multiple spaces.
1199 2014-06-16  Andrea Rossetti  <andrea.rossetti@gmail.com>  (tiny change)
1201         * ruler-mode.el (ruler-mode-window-col)
1202         (ruler-mode-mouse-set-left-margin)
1203         (ruler-mode-mouse-set-right-margin): Fix calculation of column
1204         from mouse position (Bug#17768).
1206 2014-06-16  Ron Schnell  <ronnie@driver-aces.com>
1208         * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
1209         without varname or rhs causes crash.
1210         (dun-ftp): Fix bug where blank ftp password is allowed, making it
1211         impossible to win endgame.
1212         (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
1213         rlogin is anymore.
1214         (dun-help): Bump version number; update contact info.
1216 2014-06-15  Eli Barzilay  <eli@barzilay.org>
1218         * calculator.el (calculator-prompt, calculator-remove-zeros)
1219         (calculator-mode-hook, calculator-operators, calculator-stack)
1220         (calculator-mode): Tweak docstring.
1221         (calculator-user-operators): Tweak docstring, fix a bug in the last
1222         example.
1223         (calculator-displayer): `std' case has an optional boolean.
1224         (calculator-displayers): Use the new boolean to group in decimal mode.
1225         (calculator-mode-map, calculator, calculator-message)
1226         (calculator-op-arity, calculator-add-operators)
1227         (calculator-string-to-number, calculator-displayer-prev)
1228         (calculator-displayer-next, calculator-remove-zeros)
1229         (calculator-eng-display, calculator-number-to-string)
1230         (calculator-update-display, calculator-last-input)
1231         (calculator-clear-fragile, calculator-digit, calculator-decimal)
1232         (calculator-exp, calculator-saved-move, calculator-clear)
1233         (calculator-copy, calculator-put-value, calculator-help)
1234         (calculator-expt, calculator-truncate): Minor code improvements.
1235         (calculator-need-3-lines): New function pulling out code from
1236         `calculator'.
1237         (calculator-get-display): Rename from `calculator-get-prompt', and
1238         improved.
1239         (calculator-push-curnum): Rename from `calculator-curnum-value', and
1240         extended for all uses of it.  All callers changed.
1241         (calculator-groupize-number): New utility for splitting a number into
1242         groups.
1243         (calculator-standard-displayer): Improve code, new optional argument to
1244         use comma-split groups, make second argument optional too to use with
1245         'left/'right inputs.  All callers changed.
1246         (calculator-reduce-stack-once): New utility, doing the meat of what
1247         `calculator-reduce-stack' used to do, much improved (mostly using
1248         `pcase' for conciseness and clarity).
1249         (calculator-reduce-stack): Now doing just the reduction loop using
1250         `calculator-reduce-stack-once'.
1251         (calculator-funcall): Improve code, make it work in v24.3.1 too.
1252         (calculator-last-input): Improve code, remove some old cruft.
1253         (calculator-quit): Kill `calculator-buffer' in electric mode too.
1254         (calculator-integer-p): Remove.
1255         (calculator-fact): Improve code, make it work on non-integer values
1256         too (using truncated numbers).
1258 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
1260         Sync with Tramp 2.2.10.
1262         * net/tramp.el (tramp-methods): Tweak docstring.
1263         (tramp-handle-file-accessible-directory-p): Check for
1264         `file-readable-p' instead of `file-executable-p'.
1265         (tramp-check-cached-permissions):
1266         Use `tramp-compat-file-attributes'.
1267         (tramp-call-process): Add new argument VEC.  Adapt callees in all
1268         tramp*.el files.
1270         * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
1271         (tramp-adb-maybe-open-connection): Don't set
1272         `tramp-current-*' variables.
1274         * net/tramp-cache.el (tramp-flush-file-function): Do not flush
1275         file properties of temporary buffers.
1277         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
1279         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
1280         (tramp-gvfs-handle-delete-file): Flush file
1281         properties, not directory properties.
1282         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
1283         reading "unix::mode".
1284         (tramp-gvfs-handle-file-name-all-completions):
1285         Use "-h" option for "gvfs-ls".
1286         (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
1287         (tramp-gvfs-send-command): Simplify traces.
1289         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
1290         (vc-git-program, vc-hg-program): Declare.
1291         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
1292         (tramp-methods) <nc>: Add new method.
1293         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
1294         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
1295         `tramp-login-args'.
1296         (tramp-default-user-alist): Add "nc".
1297         (top): Remove completion function for "sftp".  Add completion
1298         functions for "nc" and "psftp".
1299         (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
1300         Implement support for "nc" method.
1301         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
1302         (tramp-remote-coding-commands, tramp-call-local-coding-command):
1303         Tweak docstring.
1304         (tramp-sh-handle-write-region): Tweak error message.
1305         (tramp-sh-handle-vc-registered): Remove backends when the remote
1306         binary does not exist.
1307         (tramp-find-inline-encoding): Do not raise an error.
1308         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
1309         the "nc" case.  Quote result also locally.
1311         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1312         (tramp-smb-handle-set-file-acl): Use `start-process'.
1313         (tramp-smb-handle-insert-directory): Use progress reporter.
1314         (tramp-smb-handle-rename-file): Flush also file properties of
1315         FILENAME.
1317         * net/trampver.el: Update release number.
1319 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1321         * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
1322         add-to-list.
1323         (ses-localvars): Remove ses--local-printer-list, unused.
1324         (ses--metaprogramming): New macro.  Use it to defvar variables.
1325         (ses-set-localvars): Simplify.
1326         (ses--locprn, ses-cell): Use defstruct.  Change ses-cell's
1327         property-list into an alist.
1328         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
1329         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
1330         Remove; use defstruct accessors/setters instead.
1331         (ses-cell-formula-aset, ses-cell-printer-aset)
1332         (ses-cell-references-aset): Remove, use setf instead.
1333         (ses--alist-get): New function.
1334         (ses-cell-property): Rename from ses-cell-property-get and rewrite.
1335         Use an alist instead of a plist and don't do move-to-front since the
1336         list is always short.
1337         (ses-cell-property-get-fun, ses-cell-property-delq-fun)
1338         (ses-cell-property-set-fun, ses-cell-property-set)
1339         (ses-cell-property-pop-fun, ses-cell-property-get-handle)
1340         (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
1341         (ses--letref): New macro.
1342         (ses-cell-property-pop): Rewrite.
1343         (ses--cell): Rename from ses-cell and make it into a function.
1344         Make `formula' fallback on `value' if nil.
1345         (ses--local-printer): Rename from ses-local-printer and make it into
1346         a function.
1347         (ses-set-cell): Turn it into a macro so finding the accessor from the
1348         field name is done at compile time.
1349         (ses-repair-cell-reference-all): Test presence of `sym' rather than
1350         `ref' before adding `sym' to :ses-repair-reference.
1351         (ses-calculate-cell): Use ses--letref rather than
1352         ses-cell-property-get-handle.
1353         (ses-write-cells): Use a single prin1-to-string.
1354         (ses-setter-with-undo): New function.
1355         (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
1356         (ses-unset-with-undo): Remove.
1357         (ses-load): Prefer apply' over `eval'.
1358         (ses-read-printer, ses-set-column-width): Use standard "(default
1359         foo)" format.
1361 2014-06-15  Glenn Morris  <rgm@gnu.org>
1363         * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
1365         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
1366         Replace delete-duplicates and mapcan by cl- versions throughout.
1367         And cl-macroexpand-all by macroexpand-all.
1368         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1370 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
1372         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
1374 2014-06-15  Juri Linkov  <juri@jurta.org>
1376         * bindings.el: Put `ascii-character' property on keypad keys
1377         mapped to characters.  (Bug#17759)
1379 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1381         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1382         bumping forward into a closing paren (bug#17761).
1384         * term/xterm.el (xterm--version-handler): Work around for OSX
1385         Terminal.app (bug#17607).
1387 2014-06-14  Ron Schnell  <ronnie@driver-aces.com>
1389         * play/dunnet.el (dun-describe-room, dun-mode):
1390         If a lamp is in the room, you won't be eaten by a grue.
1392 2014-06-13  Glenn Morris  <rgm@gnu.org>
1394         * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
1395         (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
1396         (compile-always): GNU make automatically passes
1397         command-line arguments to sub-makes.
1399         * calendar/calendar.el (calendar-generate-window):
1400         Remove pointless call to font-lock-fontify-buffer.
1402 2014-06-13  Matthias Meulien  <orontee@gmail.com>
1404         * simple.el (completion-list-mode-map): Navigate with tab and backtab
1405         (bug#17767).
1407 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1409         * simple.el (set-mark-command): Simplify a bit.
1411 2014-06-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1413         * help.el (help--key-binding-keymap): New function.
1414         (help--binding-locus): New function.
1415         (describe-key): Mention the keymap in which the binding was
1416         found. (bug#13948)
1418 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1420         * hippie-exp.el (he--all-buffers): New function.
1421         (try-expand-line-all-buffers, try-expand-list-all-buffers)
1422         (try-expand-dabbrev-all-buffers): Use it.
1424 2014-06-12  Emilio C. Lopes  <eclig@gmx.net>
1426         * hippie-exp.el (try-expand-line-all-buffers)
1427         (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
1428         Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
1429         original buffer, in case they're buffer-local.
1431 2014-06-12  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1433         * ses.el (ses-initial-global-parameters-re): New defconst, a
1434         specific regexp is needed now that ses.el can handle both
1435         file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
1436         local printers.
1437         (ses-localvars): Add local variables needed for local printer handling.
1438         (ses-set-localvars): Handle hashmap initialisation.
1439         (ses-paramlines-plist): Add param-line for number of local printers.
1440         (ses-paramfmt-plist): New defconst, needed for code factorization
1441         between functions `ses-set-parameter' and
1442         `ses-file-format-extend-paramter-list'
1443         (ses-make-local-printer-info): New defsubst.
1444         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
1445         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
1446         (ses-cell-printer-aset): New defmacro.
1447         (ses-local-printer-compile): New defun.
1448         (ses-local-printer): New defmacro.
1449         (ses-printer-validate, ses-call-printer): Add support for local
1450         printer functions.
1451         (ses-file-format-extend-paramter-list): New defun.
1452         (ses-set-parameter): Use const `ses-paramfmt-plist' for code
1453         factorization.
1454         (ses-load): Add support for local printer functions.
1455         (ses-read-printer): Update docstring and add support for local printer
1456         functions.
1457         (ses-refresh-local-printer, ses-define-local-printer): New defun.
1458         (ses-safe-printer): Add support for local printer functions.
1460 2014-06-12  Ivan Andrus  <darthandrus@gmail.com>
1462         * ffap.el (ffap-lax-url): New var (bug#17723).
1463         (ffap-url-at-point): Use it.
1464         (ffap-file-at-point): Avoid returning just "/".
1466 2014-06-12  Matthias Meulien  <orontee@gmail.com>
1468         * progmodes/python.el (import skeleton): New skeleton (bug#17672).
1469         (python-mode-map): Bind it.
1471         * progmodes/python.el (class skeleton): Don't erase last char of class
1472         name (bug#17683).
1474 2014-06-12  Cameron Desautels  <camdez@gmail.com>  (tiny change)
1476         * help.el (where-is): Use `default' arg of completing-read (bug#17705).
1478 2014-06-12  Kevin Ryde  <user42_kevin@yahoo.com.au>
1480         * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
1481         (bug#17745).
1483 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1485         * international/mule-cmds.el: Use lexical-binding.
1486         (ucs-names): Simplify.
1488 2014-05-18  Eric Hanchrow  <eric.hanchrow@gmail.com>
1490         * progmodes/python.el (run-python): Use read-shell-command.
1492 2014-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1494         * rect.el: Make it possible to move bounds past EOL or into TABs.
1495         (operate-on-rectangle): Use apply-on-rectangle.
1496         (rectangle--mark-crutches): New var.
1497         (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
1498         (rectangle--crutches, rectangle--reset-crutches): New functions.
1499         (apply-on-rectangle): Obey crutches.  Avoid setq.
1500         Fix missing final iteration if end is at EOB&BOL.
1501         (rectangle-mark-mode-map): Add remap bindings for
1502         exchange-point-and-mark and char/line movements.
1503         (rectangle--*-char): New function.
1504         (rectangle-exchange-point-and-mark, rectangle-right-char)
1505         (rectangle-left-char, rectangle-forward-char)
1506         (rectangle-backward-char, rectangle-next-line)
1507         (rectangle-previous-line): New commands.
1508         (rectangle--place-cursor): New function.
1509         (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
1511 2014-06-08  Glenn Morris  <rgm@gnu.org>
1513         * startup.el (initial-buffer-choice): Doc fix.
1514         Reset :version (adding an option does not merit a :version bump).
1516         * bookmark.el (bookmark-load):
1517         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1519 2014-06-08  Juri Linkov  <juri@jurta.org>
1521         * desktop.el: Activate auto-saving on window configuration changes.
1522         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1523         `desktop-auto-save-set-timer' to/from
1524         `window-configuration-change-hook'.
1525         (desktop-auto-save-set-timer): Change REPEAT arg of
1526         `run-with-idle-timer' from t to nil.
1527         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1529 2014-06-08  Santiago Payà i Miralta  <santiagopim@gmail.com>
1531         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1532         vc-hg-command (bug#17570).
1534 2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1536         * international/mule-cmds.el (ucs-names): Add special entry for BEL
1537         (bug#17702).
1539 2014-06-08  Glenn Morris  <rgm@gnu.org>
1541         * startup.el (window-setup-hook): Doc fix.
1543         * emacs-lisp/package.el (package-check-signature)
1544         (package-unsigned-archives): Doc fixes.
1546 2014-06-08  Martin Rudalics  <rudalics@gmx.at>
1548         * window.el (display-buffer-use-some-window): Don't make window
1549         used smaller than it was before (Bug#17671).
1551 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
1553         * menu-bar.el (menu-bar-open): Fix last change: use the PC
1554         'redisplay' instead of '(sit-for 0)'.
1556 2014-06-08  Michael Albinus  <michael.albinus@gmx.de>
1558         * net/tramp.el (tramp-ssh-controlmaster-options):
1559         Improve search regexp.  (Bug#17653)
1561 2014-06-08  Glenn Morris  <rgm@gnu.org>
1563         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1565 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
1567         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1569 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
1571         * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
1572         (bug#17586).
1574         * vc/vc-hg.el (vc-hg-log-graph): New var.
1575         (vc-hg-print-log): Use it.
1576         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
1577         graph output (bug#17515).
1579 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1581         * mouse.el (mouse-posn-property): Ignore buffer position info when the
1582         even happened elsewhere.
1584 2014-06-06  Mario Lang  <mlang@delysid.org>
1586         * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
1587         `recenter' if `current-buffer' is equal to `window-buffer'.
1589 2014-06-05  Leo Liu  <sdl.web@gmail.com>
1591         * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
1593 2014-06-05  Michal Nazarewicz  <mina86@mina86.com>
1595         * textmodes/tildify.el (tildify-foreach-region-outside-env):
1596         New function which calls a callback on portions of the buffer that are
1597         outside of ignored environments.
1598         (tildify-build-regexp): Remove function since it is now
1599         incorporated in `tildify-foreach-region-outside-env' where it is
1600         optimised and simplified by the use of `mapconcat'.
1601         (tildify-tildify): Return number of substitutions made so that…
1602         (tildify-count): …can be removed.
1603         (tildify-find-env): Accept a new PAIRS argument which was
1604         previously looked up in `tildify-ignored-environments-alist' each
1605         time the function was called.  With this change, the lookup is
1606         performed only once in `tildify-foreach-region-outside-env'.
1607         (tildify-region): Greatly simplify the function since now most of
1608         the work is done by `tildify-foreach-region-outside-env'.
1609         (tildify-mode-alist): Simplify slightly by avoiding if and setq
1610         and instead using or.
1612         * textmodes/tildify.el (tildify-ignored-environments-alist):
1613         Optimise environments regexes
1615         Each time beginning of an environment to ignore is found,
1616         `tildify-find-env' needs to identify regexp for the ending
1617         of the environment.  This is done by trying all the opening
1618         regexes on matched text in a loop, so to speed that up, this
1619         loop should have fewer things to match, which can be done by
1620         using alternatives in the opening regexes.
1622         Coincidentally, this should make matching of the opening
1623         regexp faster as well thanks to the use of `regexp-opt' and
1624         having common prefix pulled from many regexes.
1626         * textmodes/tildify.el (tildify-string-alist)
1627         (tildify-ignored-environments-alist): Add `nxml-mode' to the list
1628         of supported modes since `xml-mode' is no longer a thing but just
1629         an alias to the former.  Also include comments and insides of tags
1630         in `tildify-ignored-environments-alist' for XML modes.  Finally,
1631         since XML does not define “&nbsp;”[1], use a numeric reference for
1632         a no-break space (namely “&#160;”)
1634         [1] XML specification defines only a handful of predefined entities.
1635             The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
1636             and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
1637             >, &, ' and " respectively).  This is in contrast to HTML and even
1638             XHTML which defined a whole bunch of entities including “&nbsp;”.
1640         * textmodes/tildify.el (tildify-pattern-alist)
1641         (tildify-string-alist, tildify-ignored-environments-alist):
1642         Improve defcustom's types by adding more tags explaining what each
1643         value means and replace “sexp” used in
1644         `tildify-ignored-environments-alist' with a full type declaration.
1646         * textmodes/tildify.el (tildify-find-env): Fix matched group
1647         indexes in end-regex building
1649         When looking for a start of an ignore-environment, the regex is built
1650         by concatenating regexes of all the environments configured in
1651         `tildify-ignored-environments-alist'.  So for example, the following
1652         list could be used to match TeX's \verb and \verb* commands:
1654             (("\\\\verb\\(.\\)" . (1))
1655              ("\\\\verb\\*\\(.\\)" . (1)))
1657         This would result in the following regex being used to find the start
1658         of any of the variants of the \verb command:
1660             \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
1662         But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
1663         won't match anything, and thus (match-string 1) will be nil, which
1664         will cause building of the end-matching regex to fail.
1666         Fix this by using capture groups from the time when the opening
1667         regexes are matched individually.
1669         * textmodes/tildify.el (tildify-find-env): Fix end-regex building
1670         in `tildify-find-env'
1672         The `tildify-ignored-environments-alist' allows the end-regex to
1673         be provided not as a static string but mix of strings and indexes
1674         of groups matched the begin-regex.  For example, the “\verb!…!”
1675         TeX-command (where “!” is an arbitrary character) is handled
1676         using:
1678             ("\\\\verb\\*?\\(.\\)" . (1))
1680         In the same way, the following should be supported as well:
1682             ("open-\\(.\\)" . ("end-" 1))
1684         However the tildify-find-env function fails at
1686             (concat result
1687                     (if (stringp (setq aux (car expression)))
1688                          expression  ; BUG: expression is a list
1689                        (regexp-quote (match-string aux))))
1691         where the string part is handled incorrectly.
1693         The most trivial fix would be to replace `expression' in the
1694         true-part of the if-statement with `aux', but instead, this commit
1695         optimises `tildify-find-env' by changing it to use `mapconcat'
1696         rather than open-coded while-loop.
1698 2014-06-05  Mario Lang  <mlang@delysid.org>
1700         * woman.el (woman-mapcan): Remove.
1701         (woman-parse-colon-path): Use cl-mapcan instead.
1703 2014-06-03  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1705         * register.el: Add link to Emacs manual in Commentary.
1707 2014-06-02  Sam Steingold  <sds@gnu.org>
1709         * menu-bar.el (lookup-key-ignore-too-long): Extract from...
1710         (popup-menu): ...here.
1711         (menu-bar-open): Use it to avoid an error when `lookup-key'
1712         returns a number.
1714 2014-06-02  Michael Albinus  <michael.albinus@gmx.de>
1716         * net/tramp.el (tramp-call-process): Add traces.
1717         (tramp-handle-unhandled-file-name-directory): Return "/".
1719 2014-06-02  Wilson Snyder  <wsnyder@wsnyder.org>
1721         Sync with upstream verilog-mode revision 3cd8144.
1722         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
1723         (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
1724         (verilog-type-font-keywords): Add nor.
1725         (verilog-batch-execute-func): Force reading of Local Variables.
1726         Fix printing "no changes to be saved" with verilog-batch.
1727         (verilog-auto-arg-ports): Doc fix.
1728         Add verilog-auto-arg-format to support newlines in AUTOARG.
1729         (verilog-auto-arg): Doc fix.
1731 2014-06-02  Glenn Morris  <rgm@gnu.org>
1733         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
1734         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
1735         * emulation/ws-mode.el: Move to obsolete/.
1736         * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
1738 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
1740         * simple.el (keyboard-quit): Force update of mode lines, to remove
1741         the "Def" indicator, if we were defining a macro.  (Bug#17615)
1743 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1745         * minibuffer.el (minibuffer-force-complete-and-exit):
1746         Obey minibuffer-default (bug#17545).
1748         * progmodes/js.el (js-indent-line): Don't mix columns and chars
1749         (bug#17619).
1751         * subr.el (set-transient-map): Don't wait for some "nested"
1752         transient-map to finish if we're only supposed to be active for
1753         the next command (bug#17642).
1755 2014-06-02  Leo Liu  <sdl.web@gmail.com>
1757         * emacs-lisp/gv.el (window-buffer, window-display-table)
1758         (window-dedicated-p, window-hscroll, window-point, window-start):
1759         Fix gv-expander.  (Bug#17630)
1761 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1763         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1764         clicks (bug#17633).
1766         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1767         for the single comma, since ", " is *very* common in normal French text
1768         (bug#17643).
1770 2014-06-02  Glenn Morris  <rgm@gnu.org>
1772         * emacs-lisp/package.el (package-check-signature)
1773         (package-unsigned-archives): Fix :version.
1775 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1777         * subr.el (sit-for): Don't run input-methods (bug#15614).
1779 2014-06-02  Glenn Morris  <rgm@gnu.org>
1781         * cus-start.el: Fix some :version numbers.
1783 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1785         * simple.el (deactivate-mark): Set mark-active to nil even if
1786         deactivation is done via setting transient-mark-mode to nil,
1787         since one is buffer-local and the other is global.
1789         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1790         there can't be more than 2 arguments (bug#17584).
1792 2014-06-02  Glenn Morris  <rgm@gnu.org>
1794         * simple.el (filter-buffer-substring-functions)
1795         (filter-buffer-substring-function, buffer-substring-filters)
1796         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1798         * minibuffer.el (completion-in-region-functions, completion-in-region)
1799         (completion--in-region): Doc fixes.
1801         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1802         (expand-abbrev, abbrev--default-expand): Doc fixes.
1804 2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
1806         Include sources used to create macuvs.h.
1807         * international/README: Refer to the Unicode Terms of Use rather
1808         than copying it bodily here, as that simplifies maintenance.
1810 2014-06-01  Glenn Morris  <rgm@gnu.org>
1812         * loadup.el (load-prefer-newer): Set non-nil when dumping.  (Bug#17629)
1814 2014-05-31  Glenn Morris  <rgm@gnu.org>
1816         * files.el (locate-dominating-file): Expand file argument.  (Bug#17641)
1818 2014-05-30  Glenn Morris  <rgm@gnu.org>
1820         * loadup.el: Treat `command-line-args' more flexibly.
1822 2014-05-30  Alan Mackenzie  <acm@muc.de>
1824         Guard (looking-at "\\s!") from XEmacs.
1825         * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
1827 2014-05-30    Ken Olum  <kdo@cosmos.phy.tufts.edu>  (tiny change)
1829         * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
1830         The argument COUNT is now optional, to be more backward-compatible.
1831         Doc fix.  (Bug#17560)
1833 2014-05-29  Reuben Thomas  <rrt@sc3d.org>
1835         * whitespace.el (whitespace-report-region):
1836         Simplify documentation.
1837         (whitespace-report-region): Allow report-if-bogus to take the
1838         value `never', for non-interactive use.
1839         (whitespace-report): Refer to whitespace-report-region's
1840         documentation.
1842 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1844         * whitespace.el: Use font-lock-flush.  Minimize refontifications.
1845         Side benefit: it works without jit-lock.
1846         (whitespace-point--used): New buffer-local var.
1847         (whitespace-color-on): Initialize it and flush it.  Use font-lock-flush.
1848         (whitespace-color-off): Use font-lock-flush.
1849         (whitespace-point--used, whitespace-point--flush-used): New functions.
1850         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
1851         (whitespace-empty-at-eob-regexp): Use them.
1852         (whitespace-post-command-hook): Rewrite.
1854         * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
1855         (font-lock-fontify-buffer): Mark interactive-only.
1856         (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
1857         Make buffer-local.
1858         (font-lock-specified-p): Remove redundant boundp check.
1859         (font-lock-flush-function, font-lock-ensure-function): New vars.
1860         (font-lock-turn-on-thing-lock): Set them.
1861         (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
1862         (font-lock-after-change-function): Make `old-len' optional.
1863         (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
1864         Call font-lock-flush, just in case.
1865         * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
1866         recent Emacsen.
1867         * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
1868         (vera-mode-map, vera-mode-menu): Remove bindings to it.
1869         * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
1870         and with-syntax-table.
1871         * textmodes/conf-mode.el (conf-quote-normal):
1872         * progmodes/sh-script.el (sh-set-shell):
1873         * progmodes/prog-mode.el (prettify-symbols-mode):
1874         * progmodes/f90.el (f90-font-lock-n):
1875         * progmodes/cwarn.el (cwarn-mode):
1876         * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
1877         * progmodes/compile.el (compilation-setup, compilation--unsetup):
1878         * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
1879         (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
1880         * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
1881         font-lock-fontify-buffer-function and
1882         font-lock-unfontify-buffer-function.
1883         (rmail-unfontify-buffer-function, rmail-fontify-message):
1884         Use with-silent-modifications.
1885         * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
1886         and font-lock-ensure.
1887         * bs.el (bs-show-in-buffer): Use font-lock-ensure.
1889 2014-05-28  Thien-Thi Nguyen  <ttn@gnu.org>
1891         * emacs-lisp/package.el (package-generate-autoloads):
1892         Inhibit backup files.
1894 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1896         * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
1897         (bug#17608).
1899 2014-05-21  Michal Nazarewicz  <mina86@mina86.com>
1901         * textmodes/tildify.el (tildify-buffer, tildify-region):
1902         Add dont-ask option.
1904 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1906         * subr.el (zerop): Move from C.  Add compiler-macro (bug#17475).
1907         * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
1909         * subr.el (internal--funcall-interactively): New.
1910         (internal--call-interactively): Remove.
1911         (called-interactively-p): Detect funcall-interactively instead of
1912         call-interactively.
1913         * simple.el (repeat-complex-command): Use funcall-interactively.
1914         (repeat-complex-command--called-interactively-skip): Remove.
1916 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1918         * register.el (register-read-with-preview): Don't burp on
1919         frame switches (e.g. due to the frame we just popped).
1921         * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
1922         (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
1924 2014-05-26  Andreas Schwab  <schwab@linux-m68k.org>
1926         * cus-face.el (custom-face-attributes): Add :distant-foreground.
1928 2014-05-26  Martin Rudalics  <rudalics@gmx.at>
1930         * window.el (window--dump-frame): Remove interactive specification.
1932 2014-05-26  Glenn Morris  <rgm@gnu.org>
1934         * hippie-exp.el (he-line-search-regexp):
1935         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
1937 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
1939         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1940         to avoid errors when trying to create or visit a file foo.todo
1941         located outside to todo-directory, and to allow having such files
1942         without them being tied to Todo mode (bug#17482).
1943         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1944         (todo-archive-done-item, todo-find-filtered-items-file)
1945         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1946         (todo-category-completions, todo-read-category): When visiting a
1947         Todo file, make sure we're in the right mode and the buffer local
1948         variables are set.
1949         (todo-make-categories-list, todo-reset-nondiary-marker)
1950         (todo-reset-done-string, todo-reset-comment-string):
1951         After processing all Todo files, kill the buffers of those files that
1952         weren't being visited before the processing.
1953         (todo-display-as-todo-file, todo-add-to-buffer-list)
1954         (todo-visit-files-commands): Comment out.
1955         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1956         (auto-mode-alist): Remove add-to-list calls making Todo file
1957         extensions unrestrictedly tied to Todo modes.
1959 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1961         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1962         (advice-function-member-p): Tell it to check both names and functions
1963         (bug#17531).
1964         (advice--add-function): Adjust call accordingly.
1966 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
1968         * calendar/todo-mode.el: Miscellaneous bug fixes.
1969         (todo-delete-file): When deleting an archive but not its todo
1970         file, make sure to update the todo file's category sexp.
1971         (todo-move-category): Keep the moved category's name unless the
1972         file moved to already has a category with that name.  If the
1973         numerically last category of the source file was moved, make the
1974         first category current to avoid selecting a nonexisting category.
1975         (todo-merge-category): Fix implementation to make merging to a
1976         category in another file work as documented.  Eliminate now
1977         insufficient and unnecessary renaming of archive category, correct
1978         document string accordingly, and clarify it.  If the numerically
1979         last category of the source file was merged, make the first
1980         category current to avoid selecting a nonexisting category.
1981         (todo-archive-done-item): When there are marked items and point
1982         happens to be on an unmarked item, ignore the latter.  Don't leave
1983         point below last item after archiving marked items.
1984         (todo-unarchive-items): Fix logic to ensure unarchiving an item
1985         from an archive with only one category deletes the archive only
1986         when the category is empty after unarchiving.  Make sure the todo
1987         file's category sexp is updated.
1988         (todo-read-file-name): Allow an existing file name even when it is
1989         not required (todo-move-category needs this to work as documented).
1990         (todo-add-file): Call todo-validate-name to reject the name of an
1991         existing todo file (needed due to fix in todo-read-file-name).
1992         (todo-reset-nondiary-marker): Also reset in filtered items files.
1993         (todo-reset-done-string, todo-reset-comment-string): Also reset in
1994         regexp filtered items files.
1995         (todo-reset-highlight-item): Also reset in filtered items files.
1996         Fix incorrect variable reference in document string.
1998 2014-05-26  Glenn Morris  <rgm@gnu.org>
2000         * window.el (window--dump-frame): Avoid error in --without-x builds.
2002 2014-05-26  Glenn Morris  <rgm@gnu.org>
2004         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
2006 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
2008         * frame.el (set-frame-font): Doc fix.
2010         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
2012 2014-05-26  Dmitry Gutov  <dgutov@yandex.ru>
2014         * emacs-lisp/package.el (package--download-one-archive):
2015         Use `write-region' instead of `save-buffer' to avoid running various
2016         hooks.  (Bug#17155)
2017         (describe-package-1): Same.  Insert newline at the end of the
2018         buffer if appropriate.
2020 2014-05-26  Juri Linkov  <juri@jurta.org>
2022         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
2023         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
2024         Add more modifiers: meta, control, shift, hyper, super, alt.
2025         (Bug#17439)
2027         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
2028         to allow changing its value with `set-variable'.
2030 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2032         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
2033         #; comments.
2034         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
2035         New functions.
2036         (scheme-mode-variables): Set syntax-propertize-function instead of
2037         font-lock-syntactic-face-function.
2038         (scheme-font-lock-syntactic-face-function): Delete.
2040         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
2042         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
2043         (bug#17392).
2045 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
2047         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
2048         for a temporary file name.
2050 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
2052         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
2054 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
2056         * net/dbus.el (dbus-init-bus, dbus-call-method)
2057         (dbus-call-method-asynchronously, dbus-send-signal)
2058         (dbus-method-return-internal, dbus-method-error-internal):
2059         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
2061 2014-05-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2063         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
2064         methods which do not have a doc string.  (Bug#17490)
2066 2014-05-25  Tassilo Horn  <tsdh@gnu.org>
2068         * textmodes/reftex-ref.el (reftex-format-special): Make it work
2069         also for AMS Math's \eqref macro.
2071 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
2073         Arrange to never byte-compile the generated -pkg.el file.
2075         * emacs-lisp/package.el (package-generate-description-file):
2076         Output first-line comment to set buffer-local var `no-byte-compile'.
2077         Suggested by Dmitry Gutov:
2078         <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
2080 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
2082         Fix bug: Properly quote args to generated -pkg.el `define-package'.
2084         * emacs-lisp/package.el (package-generate-description-file):
2085         Inline `package--alist-to-plist'; rewrite to selectively
2086         quote alist values that are not self-quoting.
2087         (package--alist-to-plist): Delete func.
2089 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
2091         * term/xterm.el (xterm-function-map): Add mapping for shifted
2092         keypad keys.
2094 2014-05-24  Daniel Colascione  <dancol@dancol.org>
2096         * progmodes/subword.el (subword-find-word-boundary): Move point to
2097         correct spot before search. (Bug#17580)
2099         * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
2100         breaking the build.
2102 2014-05-24  Leo Liu  <sdl.web@gmail.com>
2104         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
2106 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2108         * minibuffer.el (completion--sreverse): Remove.
2109         (completion--common-suffix): Use `reverse' instead.
2110         * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
2112 2014-05-22  Glenn Morris  <rgm@gnu.org>
2114         * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
2116 2014-05-21  Daniel Colascione  <dancol@dancol.org>
2118         * files.el (interpreter-mode-alist): Add mksh.
2120         * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
2121         derivative.
2122         (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
2123         mksh. Improve custom spec; allow regular expressions.
2124         (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
2125         (sh-after-hack-local-variables): New function.
2126         (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
2127         (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
2128         the normalization.
2129         (sh-canonicalize-shell): Rewrite to support regexes.
2131 2014-05-21  Leo Liu  <sdl.web@gmail.com>
2133         * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
2135 2014-05-19  Leo Liu  <sdl.web@gmail.com>
2137         * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
2139 2014-05-18  Glenn Morris  <rgm@gnu.org>
2141         * loadup.el:
2142         * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
2144 2014-05-14  Sam Steingold  <sds@gnu.org>
2146         * progmodes/python.el (python-shell-get-or-create-process):
2147         Do not bind `current-prefix-arg' so that C-c C-z does not talk
2148         back unless requested.
2150 2014-05-14  Glenn Morris  <rgm@gnu.org>
2152         * subr.el (with-file-modes): New macro.
2153         * printing.el (pr-save-file-modes): Make obsolete.
2154         * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
2155         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
2156         Add with-file-modes.
2157         * doc-view.el (doc-view-make-safe-dir):
2158         * epg.el (epg--start):
2159         * files.el (locate-user-emacs-file, make-temp-file)
2160         (backup-buffer-copy, move-file-to-trash):
2161         * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
2162         * eshell/esh-util.el (eshell-with-private-file-modes)
2163         (eshell-make-private-directory):
2164         * net/browse-url.el (browse-url-mosaic):
2165         * obsolete/mailpost.el (post-mail-send-it):
2166         * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
2167         * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
2168         Use with-file-modes.
2170         * vc/emerge.el (emerge-make-temp-file): Simplify.
2172 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
2173             Stefan Monnier  <monnier@iro.umontreal.ca>
2175         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
2176         suffix (bug#15419).
2178 2014-05-14  Glenn Morris  <rgm@gnu.org>
2180         * vc/emerge.el (emerge-temp-file-prefix):
2181         Make pointless option obsolete.
2182         (emerge-temp-file-mode): Make non-functional option obsolete.
2184 2014-05-14  Michael Albinus  <michael.albinus@gmx.de>
2186         * net/browse-url.el (browse-url):
2187         Use `unhandled-file-name-directory' when setting `default-directory',
2188         in order to circumvent stalled remote connections.  (Bug#17425)
2190 2014-05-14  Glenn Morris  <rgm@gnu.org>
2192         * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
2193         Optimize on Emacs, which has the relevant functions for ages.
2195 2014-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2197         * simple.el (undo-make-selective-list): Obey undo-no-redo.
2199 2014-05-12  Sam Steingold  <sds@gnu.org>
2201         * calendar/time-date.el (seconds-to-string): New function to
2202         pretty print time delay in seconds.
2204 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2206         * mpc.el (mpc-format): Trim Date to the year.
2207         (mpc-songs-hashcons): Shorten the Date field.
2209         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
2210         into autoloading just because of a silly indirection.
2212 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
2214         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
2216 2014-05-12  Glenn Morris  <rgm@gnu.org>
2218         * emacs-lisp/find-gc.el: Move to ../admin.
2220         * printing.el (pr-version):
2221         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2223         * net/browse-url.el (browse-url-mosaic):
2224         Create /tmp/Mosaic.PID as a private file.
2226 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2228         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
2229         (advice--member-p): If name is given, only compare the name.
2230         (advice--remove-function): Don't stop at the first match.
2231         (advice--normalize-place): New function.
2232         (add-function, remove-function): Use it.
2233         (advice--add-function): Pass the name, if any, to
2234         advice--remove-function.
2236 2014-05-12  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
2238         * electric.el (electric-indent-post-self-insert-function): Don't use
2239         `pos' after modifying the buffer (bug#17449).
2241 2014-05-12  Stephen Berman  <stephen.berman@gmx.net>
2243         * calendar/todo-mode.el (todo-insert-item-from-calendar):
2244         Correct argument list to conform to todo-insert-item--basic.
2246 2014-05-12  Glenn Morris  <rgm@gnu.org>
2248         * files.el (cd-absolute): Test if directory is accessible
2249         rather than executable.  (Bug#17330)
2251         * progmodes/compile.el (recompile):
2252         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
2254         * net/browse-url.el (browse-url-mosaic):
2255         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
2256         This is CVE-2014-3423.
2258 2014-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2260         * mouse.el: Use the normal toplevel loop while dragging.
2261         (mouse-set-point): Handle multi-clicks.
2262         (mouse-set-region): Handle multi-clicks for drags.
2263         (mouse-drag-region): Update call accordingly.
2264         (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
2265         Use the normal event loop instead of a local while/read-event loop.
2266         (global-map): Remove redundant bindings for double/triple-mouse-1.
2267         * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
2268         Generate synthetic down events when the protocol only sends up events.
2269         (xterm-mouse-last): Remove.
2270         (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
2271         terminal parameter instead.
2272         (xterm-mouse--set-click-count): New function.
2273         (xterm-mouse-event): Detect/generate double/triple clicks.
2274         * reveal.el (reveal-close-old-overlays): Don't close while dragging.
2276         * info.el (Info-quoted): New face.
2277         (Info-mode-font-lock-keywords): New var.
2278         (Info-mode): Use it.
2280         * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
2281         are a hindrance for C-x C-e.
2283 2014-05-11  Leo Liu  <sdl.web@gmail.com>
2285         * net/rcirc.el (rcirc-sentinel): Fix last change.
2287 2014-05-08  Sam Steingold  <sds@gnu.org>
2289         * net/rcirc.el (rcirc-reconnect-delay): New user option.
2290         (rcirc-sentinel): Auto-reconnect to the server if
2291         `rcirc-reconnect-delay' is non-0 (but not more often than its
2292         value in case the host is off-line).
2294 2014-05-09  Eli Zaretskii  <eliz@gnu.org>
2296         * progmodes/grep.el (lgrep): Fix a typo in last commit.
2298 2014-05-09  Glenn Morris  <rgm@gnu.org>
2300         * files.el (file-expand-wildcards):
2301         * man.el (Man-support-local-filenames):
2302         * printing.el (pr-i-directory, pr-interface-directory):
2303         * progmodes/grep.el (lgrep, rgrep):
2304         * textmodes/ispell.el (ispell-call-process)
2305         (ispell-call-process-region, ispell-start-process)
2306         (ispell-init-process): Use file-accessible-directory-p.
2308 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2310         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2311         (xterm-mouse--read-event-sequence-1000): Return nil if something
2312         looks fishy.
2313         (xterm-mouse-event): Propagate it.
2314         (xterm-mouse-translate-1): Handle it.
2316 2014-05-08  Stephen Berman  <stephen.berman@gmx.net>
2318         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2319         four slots of the parameter list are filled, make sure to pass it
2320         to the argument list of todo-insert-item--basic.
2322 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2324         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2325         Add optional `seen' argument to detect and break infinite loops.
2327 2014-05-08  Eli Zaretskii  <eliz@gnu.org>
2329         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2330         (trace-unsafe, trace-use-tree): Make parentheses style be
2331         according to Emacs style.
2333 2014-05-08  Michael Albinus  <michael.albinus@gmx.de>
2335         * net/tramp-sh.el (tramp-remote-process-environment):
2336         Remove HISTFILE and HISTSIZE; it's too late to set them here.
2337         Add :version entry.
2338         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2339         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
2340         extra "PSx=..." commands.
2341         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2342         (Bug#17295)
2344         (tramp-uudecode): Replace the hard-coded temporary file name by a
2345         format specifier.
2346         (tramp-remote-coding-commands): Enhance docstring.
2347         (tramp-find-inline-encoding): Replace "%t" by a temporary file
2348         name.  (Bug#17415)
2349         This is CVE-2014-3424.
2351 2014-05-08  Glenn Morris  <rgm@gnu.org>
2353         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2354         (find-gc-source-files): Update some names.
2355         (trace-call-tree): Simplify and update.
2356         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
2357         This is CVE-2014-3422.
2359 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2361         * minibuffer.el (completion--try-word-completion): Revert fix for
2362         Bug#15980 (bug#17375).
2364         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2365         Always store button numbers in the same way in xterm-mouse-last;
2366         Don't burp is xterm-mouse-last is not set as expected.
2367         Never return negative indices.
2369 2014-05-08  Dmitry Gutov  <dgutov@yandex.ru>
2371         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2372         Backtrack one char if the global/char-literal var matcher hits
2373         inside a string.  The next char could be the beginning of an
2374         expression expansion.
2376 2014-05-08  Glenn Morris  <rgm@gnu.org>
2378         * help-fns.el (describe-function-1): Test for an autoload before a
2379         macro, since `macrop' works on autoloads.  (Bug#17410)
2381 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2383         * electric.el (electric-indent-functions-without-reindent): Add yaml.
2385         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2386         Make sure the new point we return is within the new string (bug#17239).
2388 2014-05-05  Daniel Colascione  <dancol@dancol.org>
2390         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2391         Port `gnu' pattern to rx.
2393 2014-05-05  Jarek Czekalski  <jarekczek@poczta.onet.pl>
2395         Remove unneeded prompt when closing a buffer with active
2396         emacsclient ("Buffer ... still has clients"), #16548.
2397         * server.el (server-start): Remove the only call to:
2398         (server-kill-buffer-query-function): Remove.
2400 2014-05-04  Leo Liu  <sdl.web@gmail.com>
2402         * calendar/diary-lib.el (calendar-chinese-month-name-array):
2403         Defvar to pacify compiler.
2405 2014-05-04  Eli Zaretskii  <eliz@gnu.org>
2407         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2409 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2411         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2412         Use nil rather than `default' for the "default" appearance (bug#17388).
2413         * vc/ediff-util.el (ediff-inferior-compare-regions)
2414         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2415         a misleading `default' value when it's really a boolean.
2416         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2417         overlay is not visible.
2419 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
2421         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2422         (todo-menu): Uncomment and update.
2424 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
2426         * calendar/todo-mode.el: Reimplement item editing to have the same
2427         basic user interface as item insertion, and make small UI and
2428         larger internal improvements to the latter.
2429         (todo-insert-item): Add reference to the Todo mode user manual to
2430         the documentation string.
2431         (todo-insert-item--basic): Rename from todo-basic-insert-item and
2432         adjust all callers.  Change signature to combine diary and
2433         nonmarking arguments.  Incorporate functionality of deleted item
2434         copying command and add error checking.  Remove detailed
2435         descriptions of the arguments from the documentation string, since
2436         this is treated in the Todo mode user manual.
2437         (todo-copy-item, todo-edit-multiline-item)
2438         (todo-edit-done-item-comment, todo-edit-item-header)
2439         (todo-edit-item-time, todo-edit-item-date-from-calendar)
2440         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2441         (todo-edit-item-date-year, todo-edit-item-date-month)
2442         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2443         Remove.
2444         (todo-edit-item): Reimplement as wrapper command for
2445         todo-edit-item--next-key and make it distinguish done and not done
2446         todo items.
2447         (todo-edit-item--text): New function, replacing old command
2448         todo-edit-item and incorporating deleted commands
2449         todo-edit-multiline-item and todo-edit-done-item-comment.
2450         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2451         Use only numeric value of prefix argument.  Remove detailed
2452         descriptions of the arguments from the documentation string, since
2453         this is treated in the Todo mode user manual.
2454         (todo-edit-item--diary-inclusion): New function, replacing old
2455         command todo-edit-item-diary-inclusion and incorporating and fixing
2456         functionality of deleted command todo-edit-item-diary-nonmarking,
2457         making sure to remove todo-nondiary-marker when adding
2458         diary-nonmarking-symbol.
2459         (todo-edit-category-diary-inclusion): Make sure to delete
2460         diary-nonmarking-symbol when adding todo-nondiary-marker.
2461         (todo-edit-category-diary-nonmarking): Fix indentation.
2462         (todo-insert-item--parameters): Group diary and nonmarking
2463         parameters together.
2464         (todo-insert-item--apply-args): Adjust to signature of
2465         todo-insert-item--basic and incorporate copy parameter.
2466         Make small code improvements.
2467         (todo-insert-item--next-param): Improve prompt and adjust it to
2468         new parameter grouping.  Remove obsolete code.
2469         (todo-edit-item--param-key-alist)
2470         (todo-edit-item--date-param-key-alist)
2471         (todo-edit-done-item--param-key-alist): New defconsts.
2472         (todo-edit-item--prompt): New variable.
2473         (todo-edit-item--next-key): New function.
2474         (todo-key-bindings-t): Bind "e" to todo-edit-item.
2475         Remove bindings of deleted commands.
2477 2014-05-04  Leo Liu  <sdl.web@gmail.com>
2479         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2481 2014-05-04  Glenn Morris  <rgm@gnu.org>
2483         * allout-widgets.el (allout-widgets-tally)
2484         (allout-decorate-item-guides):
2485         * menu-bar.el (menu-bar-positive-p):
2486         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2487         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2488         * progmodes/js.el (js--inside-param-list-p)
2489         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2490         * progmodes/prolog.el (region-exists-p):
2491         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2492         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2493         Doc fixes (replace `iff').
2495 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2497         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2499 2014-05-04  Leo Liu  <sdl.web@gmail.com>
2501         Support Chinese diary entries in calendar and diary.  (Bug#17393)
2502         * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
2503         (calendar-chinese-from-absolute-for-diary)
2504         (calendar-chinese-to-absolute-for-diary)
2505         (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
2506         (diary-chinese-list-entries): New functions to list and mark
2507         Chinese diary entries in the calendar window.
2508         (diary-chinese-anniversary)
2509         (diary-chinese-insert-anniversary-entry)
2510         (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
2511         (diary-chinese-insert-yearly-entry): New commands to insert
2512         Chinese diary entries.
2514         * calendar/diary-lib.el (diary-font-lock-keywords):
2515         Support font-locking Chinese dates.
2517         * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
2518         inserting Chinese diary entries.
2520         * calendar/calendar.el (diary-chinese-entry-symbol):
2521         New customizable variable.
2522         (calendar-mode-map): Add bindings for inserting Chinese diary
2523         entries.
2525 2014-05-03  Juri Linkov  <juri@jurta.org>
2527         * dired.el (dired-check-switches, dired-switches-recursive-p):
2528         New functions.  (Bug#17218)
2529         (dired-switches-escape-p, dired-move-to-end-of-filename):
2530         Use `dired-check-switches'.
2531         (dired-insert-old-subdirs, dired-build-subdir-alist)
2532         (dired-sort-R-check): Use `dired-switches-recursive-p'.
2534 2014-05-01  Barry O'Reilly  <gundaetiapo@gmail.com>
2536         * simple.el (undo-make-selective-list): New algorithm fixes
2537         incorrectness of position adjustments when undoing in region.
2538         (Bug#17235)
2539         (undo-elt-crosses-region): Make obsolete.
2540         (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
2541         New functions to adjust positions using undo-deltas.
2543 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2545         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
2546         the last consecutive closing paren (bug#17345).
2548 2014-04-30  Reuben Thomas  <rrt@sc3d.org>
2550         * dired.el (dired-mode): make terminology for eXpunge command
2551         consistent.  (Bug#17276)
2553 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
2555         * dired.el (dired-initial-position-hook, dired-initial-position):
2556         Doc string fixes.
2558 2014-04-30  Glenn Morris  <rgm@gnu.org>
2560         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
2562 2014-04-30  Matthias Dahl  <matthias.dahl@binary-island.eu>
2564         * faces.el (face-spec-recalc): Apply X resources only after the
2565         defface spec has been applied. Thus, X resources are no longer
2566         overriden by the defface spec which also fixes issues on win32 where
2567         the toolbar coloring was wrong because it is set through X resources
2568         and was (wrongfully) overriden.  (Bug#16694)
2570 2014-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2572         * textmodes/rst.el (electric-pair-pairs): Declare.
2573         (rst-mode): Set it (bug#17131).
2575 2014-04-30  Juri Linkov  <juri@jurta.org>
2577         * desktop.el (desktop-value-to-string): Let-bind `print-length'
2578         and `print-level' to nil.  (Bug#17351)
2580 2014-04-30  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2582         * battery.el (battery-update): Handle the case where battery
2583         status is "N/A" (bug#17319).
2585 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2587         * progmodes/ps-mode.el: Use SMIE.  Move string and comment recognition
2588         to syntax-propertize.
2589         (ps-mode-auto-indent): Mark as obsolete.
2590         (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
2591         (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
2592         word regexp operators.
2593         (ps-mode-map): Move initialization into declaration.  Remove binding
2594         for TAB, RET, >, ], and }.
2595         (ps-mode-syntax-table): Move initialization into declaration.
2596         Don't give word syntax to non-word chars.
2597         (ps-run-mode-map): Move initialization into declaration.
2598         (ps-mode-menu-main): Remove auto-indent entry.
2599         (ps-mode-smie-rules): New function.
2600         (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
2601         (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
2602         (ps-mode--string-syntax-table): New const.
2603         (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
2604         New functions.
2605         (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
2606         (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
2608 2014-04-27  Daniel Colascione  <dancol@dancol.org>
2610         * term/xterm.el (xterm-paste): Use large finite timeout when
2611         reading event to avoid putting keys in this-command-keys.
2613 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2615         * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
2616         (perl-syntax-propertize-function): Use it.  Extend handling of
2617         here-docs to the unquoted case.
2619 2014-04-25  Eli Zaretskii  <eliz@gnu.org>
2621         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2622         Use equal-including-properties to compare help-echo strings (bug#17331).
2624 2014-04-25  Leo Liu  <sdl.web@gmail.com>
2626         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2627         Fix syntax for @.  (Bug#17325)
2629 2014-04-25  Daniel Colascione  <dancol@dancol.org>
2631         * emacs-lisp/cl.el (gv): Require gv early to break eager
2632         macro-expansion cycles.
2634 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2636         * simple.el (region-active-p): Check there's a mark (bug#17324).
2638         * simple.el (completion-list-mode-map): Use choose-completion for the
2639         mouse binding as well (bug#17302).
2640         (completion-list-mode, completion-setup-function): Adjust docstring and
2641         echo area message accordingly.
2642         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2643         calling convention of choose-completion.
2644         * comint.el (comint-dynamic-list-completions):
2645         * term.el (term-dynamic-list-completions): Accept choose-completion.
2647         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2648         &, |, +, - and * can't be a division (bug#17317).
2650         * term/xterm.el (xterm--version-handler): Don't use modern xterm
2651         features on gnome-terminal (bug#16988).
2653 2014-04-25  Thien-Thi Nguyen  <ttn@gnu.org>
2655         Improve Scheme font-locking for (define ((foo ...) ...) ...).
2657         * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
2658         the declared object, ignore zero or more parens, not zero or one.
2660 2014-04-24  Leo Liu  <sdl.web@gmail.com>
2662         * progmodes/xscheme.el (xscheme-expressions-ring)
2663         (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
2664         (xscheme-control-g-disabled-p, xscheme-process-filter-state)
2665         (xscheme-allow-output-p, xscheme-prompt)
2666         (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
2668         * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
2669         Comment out unused functions.
2671 2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2673         * info.el: Use lexical-binding and cl-lib.
2674         Use defvar-local and setq-local instead of make-local-variable.
2675         (Info-apropos-matches): Avoid add-to-list.
2676         (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
2678 2014-04-24  Daniel Colascione  <dancol@dancol.org>
2680         * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
2682 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2684         * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
2686 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
2688         * dired.el (dired-insert-set-properties): Do not consider
2689         subdirectory headings and empty lines to be information that
2690         `dired-hide-details-mode' should hide.  (Bug#17228)
2692 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
2694         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2695         Remove test messages.
2696         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2697         and `target' twice.
2699 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2701         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2702         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2704         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2706 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
2708         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2709         Set "IFS=" when using read builtin, in order to preserve spaces in
2710         the file name.  Add test messages for hunting a bug on hydra.
2711         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
2713 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2715         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2716         Don't prettify a word within a symbol.
2718 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
2720         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2721         possible.
2723 2014-04-22  Daniel Colascione  <dancol@dancol.org>
2725         * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
2726         use defun to define `function-put'.
2728 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2730         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
2731         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
2732         (lisp-mode-variables): Set font-lock-extra-managed-props.
2734         * emacs-lisp/byte-run.el (function-put): New function.
2735         (defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
2736         * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
2737         (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
2738         Use them.
2740 2014-04-22  Daniel Colascione  <dancol@dancol.org>
2742         * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
2743         Add `full-p' parameter; when nil, call `macroexpand' instead of
2744         `macroexpand-all'.
2746         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2747         Improve docstrings.
2749         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2750         Use lambda function values, not quoted lambdas.
2751         (byte-compile-recurse-toplevel): Remove extraneous &optional.
2753         * emacs-lisp/cl-macs.el
2754         (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
2755         (cl-struct-slot-value): Conditionally use aref or nth so that the
2756         compiler produces optimal code.
2758 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2760         * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
2761         (inline): Don't inline cl--set-elt.
2762         (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
2763         Define as inlinable instead.
2764         (cl-struct-set-slot-value): Remove.
2766         * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
2767         * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
2768         Use setf instead.
2770 2014-04-21  Daniel Colascione  <dancol@dancol.org>
2772         * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
2773         last two parameters after all.
2774         (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
2775         (cl--compiler-macro-assoc,cl-struct-slot-value)
2776         (cl-struct-set-slot-value): Stop using them.
2778 (2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2780         * image-mode.el (image-mode-window-put): Don't assume there's a `t'
2781         entry in image-mode-winprops-alist.
2783 2014-04-21  Daniel Colascione  <dancol@dancol.org>
2785         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
2786         (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
2787         (byte-compile-toplevel-file-form): Use it.
2789         * emacs-lisp/cl-macs.el:
2790         (cl--loop-let): Properly destructure `while' clauses.
2792 2014-04-20  Daniel Colascione  <dancol@dancol.org>
2794         * vc/vc.el (vc-root-dir): New public autoloaded function for
2795         generically finding the current VC root.
2796         * vc/vc-hooks.el (vc-not-supported): New error.
2797         (vc-call-backend): Signal `vc-not-supported' instead of generic error.
2799 2014-04-20  Daniel Colascione  <dancol@dancol.org>
2801         * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
2802         argument.
2803         (cl--const-expr-val): cl--const-expr-val should macroexpand its
2804         argument in case we're inside a symbol-macrolet.
2805         (cl--do-arglist, cl--compiler-macro-typep)
2806         (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
2807         environment to `cl--const-expr-val'.
2808         (cl-struct-sequence-type,cl-struct-slot-info)
2809         (cl-struct-slot-offset, cl-struct-slot-value)
2810         (cl-struct-set-slot-value): New functions.
2812 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2814         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2815         assignments such as "case=hello" (bug#17297).
2817 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
2819         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2820         Do not autoload.
2821         (tramp-file-name-handler, tramp-completion-file-name-handler):
2822         Revert patch from 2014-04-10, it isn't necessary anymore.
2823         (tramp-autoload-file-name-handler)
2824         (tramp-register-autoload-file-name-handlers): New defuns.
2825         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2826         (tramp-register-file-name-handlers): Remove also
2827         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2828         Do not autoload its invocation, but eval it after loading of 'tramp.
2830         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2832         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2834 2014-04-17  Daniel Colascione  <dancol@dancol.org>
2836         Add support for bracketed paste mode; add infrastructure for
2837         managing terminal mode enabling and disabling automatically.
2839         * xt-mouse.el:
2840         (xterm-mouse-mode): Simplify.
2841         (xterm-mouse-tracking-enable-sequence)
2842         (xterm-mouse-tracking-disable-sequence): New constants.
2843         (turn-on-xterm-mouse-tracking-on-terminal)
2844         (turn-off-xterm-mouse-tracking-on-terminal):
2845         Use tty-mode-set-strings and tty-mode-reset-strings terminal
2846         parameters instead of random hooks.
2847         (turn-on-xterm-mouse-tracking)
2848         (turn-off-xterm-mouse-tracking): Delete.
2850         * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
2851         (xterm-paste-ending-sequence): New constant.
2852         (xterm-paste): New command used for bracketed paste support.
2854         (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
2855         (terminal-init-xterm-bracketed-paste-mode): New function.
2856         (terminal-init-xterm): Call it.
2857         (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
2858         and tty-mode-reset-strings instead of random hooks.
2859         (xterm-turn-on-modify-other-keys)
2860         (xterm-turn-off-modify-other-keys)
2861         (xterm-remove-modify-other-keys): Delete obsolete functions.
2863         * term/screen.el: Rewrite to just use the xterm code.
2864         Add copyright notice.  Mention tmux.
2866 2014-04-17  Ian D  <dunni@gnu.org>  (tiny change)
2868         * image-mode.el (image-mode-window-put): Also update the property of
2869         the "default window".
2870         * doc-view.el (doc-view-new-window-function): If no window
2871         exists, move to the last known page.
2873 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2875         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2876         here-documents (bug#17262).
2878 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
2880         * term/pc-win.el (x-list-fonts, x-get-selection-value):
2881         Provide doc strings, as required by snarf-documentation.
2883 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2885         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2886         arg of overlays-at.  Use `invisible-p'.
2888         * obsolete/lucid.el (extent-at):
2889         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2890         overlays-at.
2891         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2893 2014-04-16  João Távora  <joaotavora@gmail.com>
2895         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2896         links.  (Bug#17217).
2898 2014-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2900         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2901         Use mapc to loop over a vector.  (Bug#17257).
2903 2014-04-16  Michael Albinus  <michael.albinus@gmx.de>
2905         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2906         patch, there are new problems with file names containing spaces.
2907         Get rid of backticks.  (Bug#17238)
2909 2014-04-16  João Távora  <joaotavora@gmail.com>
2911         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2912         possible bug.
2914 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
2916         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2917         (blink-cursor-mode): Mention customization variables and the
2918         effect of 'blink-cursor-blinks'.
2920 2014-04-16  Barry O'Reilly  <gundaetiapo@gmail.com>
2922         * simple.el (undo): Prevent insertion of identity mapping into
2923         undo-equiv-table so as undo-only does not inf loop in the presence
2924         of consecutive nils in undo list.
2926 2014-04-16  Matthias Dahl  <matthias.dahl@binary-island.eu>
2928         * faces.el (make-face): Deprecate optional argument as it is no
2929         longer needed/used since the conditional X resources handling
2930         has been pushed down to make-face-x-resource-internal itself.
2931         (make-empty-face): Don't pass optional argument to make-face.
2933 2014-04-16  Karl Fogel  <kfogel@red-bean.com>
2935         * savehist.el (savehist-save): Remove workaround for a read-passwd
2936         bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
2937         noticing that the shim was still present.
2939 2014-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2941         * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
2943 2014-04-14  Juanma Barranquero  <lekktu@gmail.com>
2945         * faces.el (face-set-after-frame-default): Remove unused local variable.
2947 2014-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2949         * progmodes/grep.el: Use lexical-binding.
2950         (grep-expand-template): Pass explicit lexical env to `eval'.
2951         (zrgrep): Let-bind grep-find-template explicitly.
2953         * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
2954         * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
2956 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
2958         * international/characters.el <standard-case-table>: Add entries
2959         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
2960         Set category of Coptic characters be 'g' (Greek).
2962 2014-04-12  Leo Liu  <sdl.web@gmail.com>
2964         * progmodes/octave.el (completion-table-with-cache):
2965         Define if not available.
2966         (octave-goto-function-definition, octave-sync-function-file-names)
2967         (octave-find-definition-default-filename):
2968         Backquote upattern for compatibility.
2970 2014-04-12  Michael Albinus  <michael.albinus@gmx.de>
2972         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2973         name twice due to backticks.  (Bug#17238)
2975 2014-04-12  Glenn Morris  <rgm@gnu.org>
2977         * term/w32-win.el (x-win-suspend-error):
2978         * term/x-win.el (x-win-suspend-error): Sync docs.
2980 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
2982         * faces.el (make-face): Remove deprecated optional argument.
2983         The conditional application of X resources is handled directly by
2984         make-face-x-resource-internal since Emacs 24.4.
2985         (make-empty-face): Don't pass optional argument to make-face.
2987 2014-04-11  Glenn Morris  <rgm@gnu.org>
2989         * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport.  (Bug#16429)
2991 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2993         Ediff's overlay priorities cause more trouble than they solve.
2994         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2995         (ediff-highest-priority): Remove function (bug#17234).
2996         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2997         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2998         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2999         overlay priorities.
3001 2014-04-11  Feng Li  <fengli@gmail.com>  (tiny change)
3003         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
3004         entry; use symbol boundaries to avoid mis-matches.
3006 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
3008         * net/tramp.el (tramp-file-name-handler)
3009         (tramp-completion-file-name-handler): Avoid recursive loading.
3011         * net/tramp-sh.el (tramp-make-copy-program-file-name):
3012         Quote result also locally.
3014 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3016         * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
3017         Remove left-over code.
3019         * newcomment.el (comment-indent-new-line): Sink code where it's used.
3020         Reuse the previous comment's indentation unconditionally if it's on its
3021         own line.
3023 2014-04-09  Daniel Colascione  <dancol@dancol.org>
3025         * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
3026         `no-syntax-crossing' arguments.  Forward to `up-list'.
3027         (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
3028         Implement logic for escaping from strings.  Use narrowing to deal
3029         with corner cases.
3031 2014-04-09  Leo Liu  <sdl.web@gmail.com>
3033         * net/rcirc.el (rcirc-connection-info): New variable.
3034         (rcirc-connect): Use it to store connection info.
3035         (rcirc-buffer-process): Avoid get-buffer-process which returns nil
3036         for killed process.
3037         (rcirc-cmd-reconnect): New command.  (Bug#17045)
3038         (rcirc-mode, set-rcirc-encode-coding-system)
3039         (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
3041 2014-04-09  Daniel Colascione  <dancol@dancol.org>
3043         * emacs-lisp/cl-indent.el: Add comment claiming
3044         facility is also good for elisp.
3045         (lisp-indent-find-method): New function.
3046         (common-lisp-indent-function): Recognize cl-loop.
3047         (common-lisp-indent-function-1): Recognize cl constructs; use
3048         `lisp-indent-find-method' instead of `get' directly.
3049         (if): Use else-body style for elisp.
3051 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
3053         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3054         Module methods.  (Bug#17216)
3056 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3058         * help.el (describe-bindings): Fix buffer handling (bug#17210).
3059         (describe-bindings-internal): Mark obsolete.
3061 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3063         * subr.el (with-silent-modifications): Don't bind deactivate-mark,
3064         buffer-file-name, and buffer-file-truename any more.
3066 2014-04-08  Leo Liu  <sdl.web@gmail.com>
3068         Use lexical-binding and require cl-lib.
3069         * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
3070         (rcirc-handler-generic, rcirc-fill-paragraph)
3071         (rcirc-format-response-string, rcirc-target-buffer)
3072         (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
3073         (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
3074         (rcirc-ctcp-sender-PING, rcirc-browse-url)
3075         (rcirc-markup-timestamp, rcirc-markup-attributes)
3076         (rcirc-markup-my-nick, rcirc-markup-urls)
3077         (rcirc-markup-bright-nicks, rcirc-markup-fill)
3078         (rcirc-check-auth-status, rcirc-handler-WALLOPS)
3079         (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
3080         (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
3081         (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
3082         (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
3083         (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
3084         (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
3085         (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
3086         (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
3087         (rcirc-handler-CTCP-response): Fix unused arguments warnings and
3088         use cl-lib.
3090 2014-04-07  João Távora  <joaotavora@gmail.com>
3092         * elec-pair.el (electric-pair--syntax-ppss):
3093         When inside comments parse from comment beginning.
3094         (electric-pair--balance-info): Fix typo in comment.
3095         (electric-pair--in-unterminated-string-p): Delete.
3096         (electric-pair--unbalanced-strings-p): New function.
3097         (electric-pair-string-bound-function): New var.
3098         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
3099         according to `electric-pair--in-unterminated-string-p'
3101         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
3102         Inhibit quote pairing if point-max is inside an unterminated string.
3103         (electric-pair--looking-at-unterminated-string-p): Delete.
3104         (electric-pair--in-unterminated-string-p): New function.
3106 2014-04-07  Glenn Morris  <rgm@gnu.org>
3108         * shell.el (shell-directory-tracker):
3109         Go back to just ignoring failures.  (Bug#17159)
3111 2014-04-07  João Távora  <joaotavora@gmail.com>
3113         Fix `electric-pair-delete-adjacent-pairs' in modes binding
3114         backspace. (bug#16981)
3115         * elec-pair.el (electric-pair-backward-delete-char): Delete.
3116         (electric-pair-backward-delete-char-untabify): Delete.
3117         (electric-pair-mode-map): Bind backspace to a menu item filtering
3118         a new `electric-pair-delete-pair' command.
3119         (electric-pair-delete-pair): New command.
3121         * progmodes/python.el (python-electric-pair-string-delimiter):
3122         Fix triple-quoting electricity.  (Bug#17192)
3124         * elec-pair.el (electric-pair-post-self-insert-function):
3125         Don't skip whitespace when `electric-pair-text-pairs' and
3126         `electric-pair-pairs' were used. syntax to
3127         electric-pair--skip-whitespace.  (Bug#17183)
3129 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
3131         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
3132         "<F>".  (Bug#17199)
3134 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3136         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
3137         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
3139 2014-04-07  Glenn Morris  <rgm@gnu.org>
3141         * help.el (view-lossage): Doc tweak.
3143 2014-04-07  Matthias Dahl  <ml_emacs-lists@binary-island.eu>
3145         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
3146         only when inhibit-x-resources is nil, and do that earlier in the
3147         function.  Doc fix.  (Bug#16694)
3148         (face-spec-choose): Accept additional optional argument, whose
3149         value is returned if no matching attributes are found.
3150         (face-spec-recalc): Use the new optional argument when calling
3151         face-spec-choose.  (Bug#16378)
3152         (make-face-x-resource-internal): Do nothing when
3153         inhibit-x-resources is non-nil.  Don't touch the default face if
3154         reversed video is given--as was done in previous versions of Emacs.
3155         (face-set-after-frame-default): Don't call
3156         make-face-x-resource-internal here.  (Bug#16434)
3158 2014-04-07  Tassilo Horn  <tsdh@gnu.org>
3160         * doc-view.el (doc-view-bookmark-jump):
3161         Use `bookmark-after-jump-hook' to jump to the right page after the
3162         buffer is shown in a window.  (bug#16090)
3164 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
3166         * international/characters.el (mirroring): Fix last change:
3167         instead of loading uni-mirrored.el explicitly, do that implicitly
3168         by creating the 'mirroring' uniprop table.  This avoids announcing
3169         the loading of uni-mirrored.el.
3171 2014-04-07  Glenn Morris  <rgm@gnu.org>
3173         * files.el (buffer-stale--default-function)
3174         (buffer-stale-function, revert-buffer--default):
3175         * autorevert.el (auto-revert-buffers): Doc tweaks.
3177 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
3179         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
3181 2014-04-07  Glenn Morris  <rgm@gnu.org>
3183         * files.el (make-backup-file-name-function)
3184         (make-backup-file-name, make-backup-file-name--default-function)
3185         (make-backup-file-name-1, find-backup-file-name)
3186         (revert-buffer-function, revert-buffer-insert-file-contents-function)
3187         (buffer-stale--default-function, buffer-stale-function)
3188         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
3189         (revert-buffer, revert-buffer--default)
3190         (revert-buffer-insert-file-contents--default-function):
3191         Doc fixes related to defaults no longer being nil.
3192         (make-backup-file-name-function): Bump :version.
3193         Restore nil as a valid but deprecated custom type.
3195 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3197         * progmodes/perl-mode.el (perl-syntax-propertize-function):
3198         Handle $' used as a variable (bug#17174).
3200         * progmodes/perl-mode.el (perl-indent-new-calculate):
3201         Handle forward-sexp failure (bug#16985).
3202         (perl-syntax-propertize-function): Add "foreach" and "for" statement
3203         modifiers introducing expressions (bug#17116).
3205 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3207         * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
3209 2014-04-05  Leo Liu  <sdl.web@gmail.com>
3211         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3212         Add define-compilation-mode.
3214 2014-04-04  João Távora  <joaotavora@gmail.com>
3216         * elec-pair.el (electric-pair--syntax-ppss): When inside comments
3217         parse from comment beginning.
3218         (electric-pair--balance-info): Fix typo in comment.
3219         (electric-pair--in-unterminated-string-p): Delete.
3220         (electric-pair--unbalanced-strings-p): New function.
3221         (electric-pair-string-bound-function): New var.
3222         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
3223         according to `electric-pair--in-unterminated-string-p'.
3225 2014-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3227         * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
3228         Move declaration before first use.
3229         (reftex-move-to-next-arg): Silence compiler warning.
3231 2014-04-04  Joost Kremers  <joostkremers@fastmail.fm>  (tiny change)
3233         * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
3234         Use `window-total-width' instead of `window-width'.
3236 2014-04-03  Daniel Colascione  <dancol@dancol.org>
3238         * subr.el (set-transient-map): Remove rms's workaround entirely;
3239         use new `suspicious-object' subr to mark our lambda for closer
3240         scrutiny during gc.
3242 2014-04-02  Richard Stallman  <rms@gnu.org>
3244         * subr.el (set-transient-map): Comment out previous change.
3246 2014-04-02  Glenn Morris  <rgm@gnu.org>
3248         * menu-bar.el (menu-bar-file-menu):
3249         * vc/ediff.el (ediff-current-file):
3250         Update for revert-buffer-function no longer being nil by default.
3252         * simple.el (command-execute): Respect nil disabled-command-function.
3254 2014-04-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3256         * simple.el (command-execute): Do not execute the command when it
3257         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
3259 2014-04-02  Juri Linkov  <juri@jurta.org>
3261         * dired-aux.el (dired-compress-file): Don't use string-match-p
3262         because its match data is used afterwards.
3264 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3266         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
3267         0 like nil.
3269 2014-04-02  João Távora  <joaotavora@gmail.com>
3271         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
3272         Inhibit quote pairing if point-max is inside an unterminated string.
3273         (electric-pair--looking-at-unterminated-string-p):
3274         Delete.
3275         (electric-pair--in-unterminated-string-p): New function.
3277 2014-04-01  Daniel Colascione  <dancol@dancol.org>
3279         * minibuffer.el (minibuffer-complete): Prevent assertion failure
3280         when trying to complete the prompt.
3282 2014-03-31  Leo Liu  <sdl.web@gmail.com>
3284         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3285         Refactor out eldoc-documentation-function-default.
3286         (eldoc-documentation-function-default): New function.
3287         (eldoc-documentation-function): Change value.
3289 2014-03-31  Glenn Morris  <rgm@gnu.org>
3291         * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
3293         * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
3294         (vhdl-compose-components-package, vhdl-compose-configuration):
3295         Abbreviate default-directory (missing from some previous upstream sync).
3297 2014-03-31  Reto Zimmermann  <reto@gnu.org>
3299         Sync with upstream vhdl mode v3.35.2.
3300         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3301         (top-level): No longer require assoc.
3302         (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
3303         New functions.  Use throughout to replace aget etc.
3304         (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
3305         (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
3306         (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
3307         (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
3308         (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
3309         except `vhdl-compiler'.
3310         (vhdl-error-regexp-add-emacs): Remove all other compilers,
3311         when appropriate.
3313 2014-03-31  Glenn Morris  <rgm@gnu.org>
3315         * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
3316         Revert 2014-03-26 merge goof; go back to using defalias.
3318 2014-03-30  Daniel Colascione  <dancol@dancol.org>
3320         * comint.el (comint-send-input):
3321         Deactivate completion-in-region-mode before we send comint input.
3322         (Bug#17139).
3324         * simple.el (keyboard-quit): Deactivate completion-in-region-mode
3325         on keyboard-quit.
3327 2014-03-29  Glenn Morris  <rgm@gnu.org>
3329         * textmodes/reftex.el: Manage most autoloads automatically.
3330         * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
3331         * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
3332         * textmodes/reftex-index.el, textmodes/reftex-parse.el:
3333         * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
3334         * textmodes/reftex-toc.el: Set generated-autoload-file,
3335         and add autoload cookies for reftex.el.
3336         * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
3338 2014-03-28  Glenn Morris  <rgm@gnu.org>
3340         * cus-start.el (report-emacs-bug-address): Set custom properties.
3341         * mail/emacsbug.el (report-emacs-bug-address):
3342         Variable is now defined in emacs.c.
3344         * mail/emacsbug.el (report-emacs-bug):
3345         Include system-configuration-features.
3347 2014-03-28  Michal Nazarewicz  <mina86@mina86.com>
3349         * simple.el (cycle-spacing): Never delete spaces on first run by
3350         default, but do so in a new 'fast mode and if there are already
3351         N spaces (the previous behavior).
3352         Compare N with its value in previous invocation so that changing
3353         prefix argument restarts `cycle-spacing' sequence.
3354         The idea is that with this change, binding M-SPC to
3355         `cycle-spacing' should not introduce any changes in behavior of
3356         the binding so long as users do not type M-SPC twice in a raw with
3357         the same prefix argument or lack thereof.
3359 2014-03-28  Glenn Morris  <rgm@gnu.org>
3361         * faces.el (term-file-aliases): New variable.
3362         (tty-run-terminal-initialization): Respect term-file-aliases.
3363         * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
3364         * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
3365         * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
3367 2014-03-27  Glenn Morris  <rgm@gnu.org>
3369         * startup.el (inhibit-startup-hooks): Doc tweak.
3370         (normal-top-level): Simplify running of hooks.
3371         For window-setup-hook, respect inhibit-startup-hooks.
3372         (command-line-1): Don't set window-setup-hook to nil.
3374         Allow selective autoloading from obsolete/ directory.
3375         * Makefile.in (obsolete-autoloads): New rule.
3376         (autoloads): Run obsolete-autoloads.
3377         * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
3378         * simple.el (iswitchb-mode): Remove hand-written autoloads.
3380 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
3382         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3383         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
3385         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3386         Don't propertize `?' or `!' as symbol constituent when after
3387         colon.  (Bug#17097)
3389 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
3391         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
3392         which is no longer needed and causes trouble in GTK builds (bug#17046).
3394         * emacs-lisp/package-x.el (package--archive-contents-from-url):
3395         Use url-insert-file-contents; package-handle-response no longer exists.
3397 2014-03-26  Daniel Colascione  <dancol@dancol.org>
3399         * simple.el (process-menu-mode-map): New variable.
3400         (process-menu-delete-process): New command.
3402 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
3404         * emacs-lisp/package.el: Fix bug#16733 (again).
3405         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
3406         (url-http-target-url): Remove unused declarations.
3407         (package-handle-response): Remove.
3408         (package--with-work-buffer): Use url-insert-file-contents and simplify.
3409         (package--download-one-archive): Use current-buffer instead of
3410         dynamic binding of `buffer'.
3411         (describe-package-1): Do not decode readme-string.
3413 2014-03-26  Michael Albinus  <michael.albinus@gmx.de>
3415         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
3417         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
3418         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
3419         `remote-file-name-inhibit-cache' to nil in the second pass.
3420         (tramp-find-executable): Do not call "which" on SunOS.
3421         (tramp-send-command-and-check): Fix docstring.
3422         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
3423         check whether source directory has set the sticky bit.
3425 2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
3427         * simple.el (primitive-undo): Only process marker adjustments
3428         validated against their corresponding (TEXT . POS).  Issue warning
3429         for lone marker adjustments in undo history.  (Bug#16818)
3430         (undo-make-selective-list): Add marker adjustments to selective
3431         undo list based on whether their corresponding (TEXT . POS) is in
3432         the region.  Remove variable adjusted-markers, which was unused
3433         and only non nil during undo-make-selective-list.
3434         (undo-elt-in-region): Return nil when passed a marker adjustment
3435         and explain in function doc.
3437 2014-03-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3439         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
3441 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
3443         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
3444         Match special global variables without curlies, too.
3445         (ruby-font-lock-keywords): Simplify the matcher for special global
3446         variables.  Don't require a non-word character after the variable.
3447         (Bug#17057)
3449 2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3451         * simple.el (redisplay-highlight-region-function): Increase priority of
3452         overlay to make sure boundaries are visible (bug#15899).
3454 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
3456         * frameset.el (frameset--initial-params): Fix typo in parameter name.
3457         (frameset-restore): Compare display strings with equal.
3459         * frame.el (make-frame): Don't quote display name in error message,
3460         it is already a string.
3462 2014-03-26  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3464         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
3465         the password.
3467 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
3469         * emacs-lisp/package.el (package--add-to-archive-contents):
3470         Include already installed and built-in packages in
3471         `package-archive-contents'.
3472         (package-install): Don't include already installed packages in the
3473         options during interactive invocation.  (Bug#16762)
3474         (package-show-package-list): If the buffer is already displayed in
3475         another window, switch to that window.
3477 2014-03-26  Reto Zimmermann  <reto@gnu.org>
3479         Sync with upstream vhdl mode v3.35.1.
3480         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3481         (vhdl-compiler-alist): Doc fix.
3482         (vhdl-goto-line): Remove.
3483         (vhdl-mode-abbrev-table-init): Add XEmacs compat.
3484         (vhdl-mode) <paragraph-start>: Fix value.
3485         (vhdl-fix-statement-region): Not `for' in wait-statement.
3486         (vhdl-beautify-region): Also (un)tabify.
3487         (vhdl-get-visible-signals):
3488         Scan declarative part of generate statements.
3489         (vhdl-template-record): Fix indentation for record type declaration.
3490         (vhdl-expand-abbrev, vhdl-expand-paren):
3491         Revert to using fset again rather than defalias.
3492         (vhdl-scan-directory-contents): Tweak.
3493         (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
3494         (vhdl-compose-components-package):
3495         Replace vhdl-goto-line with forward-line.
3496         (top-level): Tweak speedbar frame selection.
3497         (vhdl-generate-makefile-1): Support for compilers with no
3498         unit-to-file name mapping (create directory with dummy files).
3500 2014-03-26  Wilson Snyder  <wsnyder@wsnyder.org>
3502         Sync with upstream verilog-mode revision 702457d.
3503         * progmodes/verilog-mode.el (verilog-mode-version): Update.
3504         (create-lockfiles): Declare.
3505         (verilog-read-decls): Fix module header imports, bug709.
3506         Reported by Victor Lau.
3507         Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
3508         (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
3509         interface-only modules, bug721.  Reported by Dean Hoyt.
3511 2014-03-26  Glenn Morris  <rgm@gnu.org>
3513         * obsolete/gulp.el: Move here from emacs-lisp/.
3515         * files.el (lock-buffer, unlock-buffer, file-locked-p):
3516         Remove fallback aliases, since they are always defined now.
3518 2014-03-24  Daniel Colascione  <dancol@dancol.org>
3520         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
3521         instead of cl-loop search function.
3523 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
3525         * calendar/parse-time.el (parse-time-iso8601-regexp)
3526         (parse-iso8601-time-string): Copied from `url-dav' so that we can use
3527         it more generally.
3529 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
3531         * net/dns.el (network-interface-list): Define for XEmacs.
3533 2014-03-23  Magnus Henoch  <magnus.henoch@gmail.com>
3535         * net/dns.el (dns-servers-up-to-date-p): New function to see whether
3536         the network interfaces changed.
3537         (dns-query): Use it to flush the data.
3539 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
3541         * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
3543 2014-03-23  Daniel Colascione  <dancol@dancol.org>
3545         Change subword-mode to use `find-word-boundary-function-table' and
3546         replace `capitalized-words-mode'.  Also, convert to lexical
3547         binding.
3549         * progmodes/cap-words.el: Delete now-obsolete file.
3550         * progmodes/subword.el: Reimplement using
3551         `find-word-boundary-function-table'.
3552         (subword-mode-map): Hollow out.
3553         (capitalized-words-mode): Define as obsolete alias for
3554         `subword-mode'.
3555         (subword-mode, superword-mode): Tweak documentation to reflect new
3556         implementation; call `subword-setup-buffer'.
3557         (subword-forward, subword-capitalize): Add underscore to indicate
3558         unused variable.
3559         (subword-find-word-boundary-function-table): New constant.
3560         (subword-empty-char-table): New constant.
3561         (subword-setup-buffer): New function.
3562         (subword-find-word-boundary): New function.
3564 2014-03-23  Daniel Colascione  <dancol@dancol.org>
3566         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
3567         list to look for keyword arguments instead of `memq', fixing
3568         (Bug#3647) --- unfortunately, only for freshly-compiled code.
3569         Please make bootstrap.
3571 2014-03-22  Glenn Morris  <rgm@gnu.org>
3573         * dired.el (dired-read-regexp): Make obsolete.
3574         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
3575         (dired-flag-files-regexp):
3576         * dired-aux.el (dired-mark-read-regexp):
3577         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
3579         * startup.el (fancy-startup-text):
3580         * help.el (describe-gnu-project): Visit online info about GNU project.
3582         * help-fns.el (help-fns--interactive-only): New function.
3583         (help-fns-describe-function-functions): Add the above function.
3584         * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
3585         (next-line, previous-line): Remove hand-written interactive-only
3586         information from doc strings, it is auto-generated now.
3587         * bookmark.el (bookmark-write):
3588         * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
3589         (epa-mail-import-keys): Mark interactive-only,
3590         and remove hand-written interactive-only information from doc strings.
3591         * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
3592         (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
3593         * files.el (not-modified):
3594         * simple.el (mark-whole-buffer): Mark interactive-only.
3596         * emacs-lisp/byte-run.el (defun-declarations-alist):
3597         Add interactive-only.  Doc tweak.
3598         (macro-declarations-alist): Doc tweak.
3599         * subr.el (declare): Doc tweak (add xref to manual).
3600         * comint.el (comint-run):
3601         * files.el (insert-file-literally, insert-file):
3602         * replace.el (replace-string, replace-regexp):
3603         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3604         (delete-forward-char, goto-line, insert-buffer, next-line)
3605         (previous-line): Set interactive-only via declare.
3607 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
3609         * emacs-lisp/package.el (package-desc): Use the contents of the
3610         quoted form, not its cdr.  (Bug#16873)
3612 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
3614         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
3615         benefit of doc.c; change parameter profile to match the X function.
3617 2014-03-22  Leo Liu  <sdl.web@gmail.com>
3619         * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
3620         (temp-buffer-show-hook): Remove help-mode-finish.  (Bug#16038)
3622 2014-03-21  Richard Stallman  <rms@gnu.org>
3624         * battery.el (battery-linux-sysfs): Search for each field
3625         from the beginning of the buffer.
3627         * subr.el (set-transient-map): Clear out function and value
3628         of the temporary symbol when we're done with it.
3630         * mail/rmailsum.el (rmail-summary-delete-forward):
3631         Optimize case of reaching end and handling count.
3632         (rmail-summary-mark-deleted): Optimize when N is current msg.
3633         Don't create new summary line.
3634         (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
3635         (rmail-summary-undelete-many): Rewrite for speed.
3636         (rmail-summary-msg-number): New function.
3638         * mail/rmail.el (rmail-delete-message): Update summary.
3639         (rmail-undelete-previous-message): Handle repeat count arg.
3640         (rmail-delete-backward, rmail-delete-forward): Likewise.
3642 2014-03-21  Daniel Colascione  <dancol@dancol.org>
3644         * mail/emacsbug.el (report-emacs-bug): Include memory usage
3645         information in bug reports.
3647 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
3649         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
3650         and `tramp-copy-env'.
3652         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
3653         (tramp-maybe-open-connection): Handle `tramp-login-env'.
3655 2014-03-21  Glenn Morris  <rgm@gnu.org>
3657         * electric.el (electric-indent-post-self-insert-function): Add doc.
3659 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
3661         * emacs-lisp/package.el (package-compute-transaction):
3662         Use `version-list-<=' to compare the requirement version against
3663         the version of package already to be installed.  Update the error
3664         message.  (Bug#16826)
3666         * progmodes/ruby-mode.el (ruby-smie-rules):
3667         Add indentation rule for ` @ '.  (Bug#17050)
3669 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
3671         * align.el (align-regexp): Remove superfluous backslash.
3673         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
3674         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
3675         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
3676         Fix docstring typos.
3677         (ffap-next): Use C-u in docstring.
3678         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
3679         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
3680         Remove superfluous backslashes.
3681         (ffap-string-at-point): Reflow docstring.
3683         * server.el (server-host): Reflow docstring.
3684         (server-unload-function): Fix docstring typo.
3685         (server-eval-at): Remove superfluous backslash.
3687         * skeleton.el (skeleton-insert): Remove superfluous backslash.
3688         (skeleton-insert): Doc fix.
3689         (skeleton-insert): Reflow docstring.
3691         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
3692         (tty-color-approximate, tty-color-by-index, tty-color-values)
3693         (tty-color-desc): Remove superfluous backslashes.
3695 2014-03-21  Glenn Morris  <rgm@gnu.org>
3697         * cus-start.el (history-length): Bump :version.
3699         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3700         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3701         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3702         Don't set `make-backup-files'.
3704         * info.el (info--prettify-description): New function,
3705         to give info-finder descriptions consistent case, punctuation.
3706         (Info-finder-find-node): Use it.  Sort packages.
3707         Refer to "description" rather than "commentary".
3709 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
3711         * frameset.el (frameset--print-register): New function.
3712         (frameset-to-register): Use it.
3714 2014-03-20  Juanma Barranquero  <lekktu@gmail.com>
3716         * progmodes/hideif.el (hif-string-to-number): New function.
3717         (hif-tokenize): Use it to understand non-decimal floats.
3719         * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
3721         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
3723 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3725         * electric.el (electric-newline-and-maybe-indent): New command.
3726         Bind it globally to C-j.
3727         (electric-indent-mode): Don't mess with the global map any more.
3728         Don't drop the post-self-insert-hook is some buffer is still using it
3729         (bug#16770).
3731         * bindings.el (global-map): Remove C-j binding.
3733         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
3734         the docstring of functions advised before dumping (bug#16993).
3736 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
3738         * ps-print.el (ps-generate-postscript-with-faces):
3739         Explicitly deactivate the mark (bug#16866).
3740         * simple.el (deactivate-mark): Update region highlight.
3742 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
3744         * emacs-lisp/package.el (describe-package-1):
3745         Decode commentary (bug#16733).
3747 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
3749         * custom.el (defcustom): Doc fix: recommend avoiding destructive
3750         modification of the value argument of :set (bug#16755).
3752 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3754         * simple.el (newline-and-indent): Do autofill (bug#17031).
3756 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
3758         * newcomment.el (comment-normalize-vars): Only add escaping check
3759         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
3760         (comment-beginning): Use `narrow-to-region' instead of moving back
3761         one character.
3762         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
3763         (comment-start-skip): Update the docstring.
3765 2014-03-18  Richard Stallman  <rms@gnu.org>
3767         * dired.el (dired-display-file): Force use of other window.
3769 2014-03-18  Daniel Colascione  <dancol@dancol.org>
3771         * startup.el (tty-handle-args): Remove debug message from 2007.
3773 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3775         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
3776         (advice--make-interactive-form): Use it to avoid (auto)loading function.
3777         (advice--make-1, advice-add, advice-remove):
3778         Remove braindead :advice-pending hack.
3780 2014-03-17  Glenn Morris  <rgm@gnu.org>
3782         * calendar/calendar.el (calendar-generate-month): Apply weekend
3783         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
3785 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
3787         * net/tramp.el (tramp-action-out-of-band): Read pending output.
3788         (tramp-call-process): Trace also DESTINATION.
3790         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3791         Quote file names when they are local.  Remove superfluous trace.
3793 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
3795         * newcomment.el (comment-beginning): If `comment-start-skip'
3796         doesn't match, move back one char and try again.  (Bug#16971)
3798         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3799         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
3800         Set `comment-start-skip' to a simpler value that doesn't try to
3801         check if the semicolon is escaped (this is handled by
3802         `syntax-ppss' now).  (Bug#16971)
3804         * progmodes/scheme.el (scheme-mode-variables): Same.
3806 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
3808         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
3809         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
3810         current (Bug#16816, Bug#17007).
3811         (with-current-buffer-window): New macro doing the same as
3812         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
3813         * help.el (help-print-return-message): Warn in doc-string to not
3814         use this in `with-help-window'.
3815         (describe-bindings-internal): Call `describe-buffer-bindings'
3816         from within help buffer.  See Juanma's scenario in (Bug#16816).
3817         (with-help-window): Update doc-string.
3818         * dired.el (dired-mark-pop-up):
3819         * files.el (save-buffers-kill-emacs):
3820         * register.el (register-preview): Use `with-current-buffer-window'
3821         instead of `with-temp-buffer-window'.
3823 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
3825         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
3826         Implement inserting into current buffer, documented in their docstrings.
3827         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
3828         (rst-section-tree-point, rst-forward-section, rst-indent)
3829         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
3830         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
3831         (rst-font-lock-handle-adornment-pre-match-form)
3832         (rst-repeat-last-character): Reflow docstrings.
3833         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
3834         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
3835         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
3836         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
3837         Fix docstring typos.
3838         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
3839         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
3840         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
3842 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
3844         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
3845         for compatibility with other ports.
3846         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
3847         from the -xrm command line argument, but in the Nextstep port its value
3848         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
3850         * progmodes/python.el (defconst, python-syntax-count-quotes)
3851         (python-indent-region, python-indent-shift-right)
3852         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
3853         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
3854         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
3855         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
3856         (inferior-python-mode, python-shell-make-comint, run-python-internal)
3857         (python-shell-buffer-substring, python-shell-send-buffer)
3858         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
3859         (python-completion-complete-at-point, python-fill-docstring-style)
3860         (python-eldoc-function, python-imenu-format-item-label)
3861         (python-imenu-format-parent-item-label)
3862         (python-imenu-format-parent-item-jump-label)
3863         (python-imenu--build-tree, python-imenu-create-index)
3864         (python-imenu-create-flat-index): Fix docstring typos.
3865         (python-indent-context, python-shell-prompt-regexp, run-python):
3866         Remove superfluous backslashes.
3867         (python-indent-line, python-nav-beginning-of-defun)
3868         (python-shell-get-buffer, python-shell-get-process)
3869         (python-info-current-defun, python-info-current-line-comment-p)
3870         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
3871         (python-indent-post-self-insert-function, python-shell-send-file)
3872         (python-shell-completion-get-completions)
3873         (python-shell-completion-complete-or-indent)
3874         (python-eldoc--get-doc-at-point): Reflow docstrings.
3876 2014-03-14  Glenn Morris  <rgm@gnu.org>
3878         * emacs-lisp/package.el (package-menu-mode-map):
3879         Replace use of obsolete function alias.  Tweak menu item text.
3881         * info.el (Info-finder-find-node):
3882         Ignore the `emacs' metapackage.  (Bug#10813)
3884         * finder.el (finder-list-matches): Include unversioned packages
3885         in the result of a keyword search.
3887         * finder.el (finder--builtins-descriptions): New constant.
3888         (finder-compile-keywords): Use finder--builtins-descriptions.
3890 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
3892         * simple.el (blink-matching-paren): Describe the new value,
3893         `jump', enabling the old behavior.
3894         (blink-matching-open): Use that value.  (Bug#17008)
3896 2014-03-14  Glenn Morris  <rgm@gnu.org>
3898         * finder.el (finder-no-scan-regexp): Add leim-list.
3899         (finder-compile-keywords):
3900         Don't skip files with same basename.  (Bug#14010)
3901         * Makefile.in (setwins_finder): New, excluding leim.
3902         (finder-data): Use setwins_finder.
3904         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
3905         (help-function-arglist, help-make-usage): Move from here...
3906         * help.el (help-split-fundoc, help-add-fundoc-usage)
3907         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
3908         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
3910 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
3912         * net/socks.el (socks, socks-override-functions)
3913         (socks-find-services-entry):
3914         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
3915         (hif-find-ifdef-block):
3916         * progmodes/modula2.el (m2-indent): Fix docstring typos.
3918         * net/tls.el (tls-program): Reflow docstring.
3920         * progmodes/pascal.el (pascal-mode-abbrev-table)
3921         (pascal-imenu-generic-expression, pascal-auto-endcomments)
3922         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
3923         (pascal-outline-mode): Fix docstring typos.
3924         (pascal-mode): Let define-derived-mode document mode hook.
3925         (pascal-uncomment-area): Reflow.
3926         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
3928         * progmodes/opascal.el (opascal-compound-block-indent)
3929         (opascal-case-label-indent): Fix docstring typos.
3930         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
3932 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
3934         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3935         Fontify multiple adjacent negation chars.  (Bug#17004)
3937 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
3939         * emacs-lisp/package.el (package--prepare-dependencies):
3940         Accept requirements without explicit version (bug#14941).
3942 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
3944         * register.el (register-separator, copy-to-register): Doc fixes.
3945         (register-preview-default): Remove unnecessary call to concat.
3947         * frameset.el (frameset-restore): When checking for a visible frame,
3948         use the action map instead of calling visible-frame-list.
3950 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
3952         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3954 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
3956         * window.el (fit-frame-to-buffer): Get maximum width from
3957         display's width instead of height.
3959 2014-03-12  Glenn Morris  <rgm@gnu.org>
3961         * desktop.el (desktop-restore-frames)
3962         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3963         (desktop-restore-reuses-frames): Doc tweaks.
3965         * electric.el (electric-indent-mode): Doc fix.
3967 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
3969         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3970         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3971         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3972         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3973         (cvs-dired-use-hook): Fix docstring typos.
3974         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3975         Doc fixes.
3977         * vc/pcvs-defs.el (cvs-auto-remove-handled)
3978         (cvs-auto-remove-directories, cvs-default-ignore-marks)
3979         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3980         (cvs-execute-single-dir): Fix docstring typos.
3982         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3983         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3985         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3987         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3988         Fix docstring typos.
3990 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
3992         * frameset.el (frameset--jump-to-register): Add autoload; it could be
3993         called from jump-to-register after unloading the frameset package.
3995 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3997         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3998         (bug#16975).  Deactivate the mark before setting it to nil.
3999         (activate-mark): Do nothing if region is already active.
4001 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
4003         * frameset.el (frameset--target-display): Remove definition; declare.
4004         (frameset-save, frameset-restore): Let-bind frameset--target-display.
4006 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4008         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
4009         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
4010         when the advice is pending.
4011         (advice-remove): Remove this marker when not needed any more.
4013 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
4015         * frameset.el: Separate options for reusing frames and cleaning up.
4016         (frameset--reuse-list): Remove definition; declare.
4017         (frameset--action-map): Declare.
4018         (frameset--find-frame-if): Doc fix.
4019         (frameset--restore-frame): Cache frame action.
4020         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
4021         how to clean up the frame list after restoring.  Remove cleaning
4022         options from REUSE-FRAMES.  Change all keyword values to symbols.
4023         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
4025         * desktop.el (desktop-restore-forces-onscreen)
4026         (desktop-restore-reuses-frames): Use non-keyword values.
4027         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
4029 2014-03-10  Glenn Morris  <rgm@gnu.org>
4031         * files.el (find-file): Doc fix: update info node name.
4033         * emacs-lisp/advice.el (ad-add-advice, defadvice):
4034         Doc fix: remove references to deleted info nodes.
4036 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
4038         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4039         Do not add nil to the environment, when there's no remote `locale'.
4040         (tramp-find-inline-encoding): Check, that the remote host has
4041         installed perl, before sending scripts.
4043 2014-03-10  Leo Liu  <sdl.web@gmail.com>
4045         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4046         Clear eldoc-last-message.  (Bug#16920)
4048 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4050         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
4051         (bug#14430).
4053 2014-03-09  Juri Linkov  <juri@jurta.org>
4055         * ansi-color.el (ansi-color-names-vector): Copy default colors
4056         from `xterm-standard-colors' that look well on the default white
4057         background (and also on the black background) to avoid illegible
4058         color combinations like yellow-on-white and white-on-white.
4059         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
4061 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
4063         * frameset.el (frameset-restore): When no frame is visible, do not
4064         generate a list of frames, just make visible the selected one.
4066 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
4068         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
4069         it only contains the repository root.  (Bug#16897)
4071 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
4073         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
4074         only when `remote-file-name-inhibit-cache' is nil.
4075         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
4077 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
4079         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
4080         Fix doc-strings.
4081         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
4082         fit-frame-to-buffer variable.  Fix doc-string.
4083         (fit-window-to-buffer): Set ONLY argument in call of
4084         fit-frame-to-buffer.  Fix doc-string.
4086 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
4088         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
4089         (tramp-action-password): Clear password cache if needed.
4090         (tramp-read-passwd): Do not clear password cache.
4092         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
4093         cache unless it is the first password request.
4095 2014-03-06  Glenn Morris  <rgm@gnu.org>
4097         * simple.el (newline): Doc tweak.
4099         * emacs-lisp/shadow.el (load-path-shadows-find):
4100         Ignore dir-locals.  (Bug#12357)
4102 2014-03-05  Glenn Morris  <rgm@gnu.org>
4104         * files.el (interpreter-mode-alist):
4105         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
4107 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
4109         * frameset.el (frameset--initial-params): Filter out null entries.
4111 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
4113         * window.el (window-min-height, window-min-width):
4114         Rewrite doc-strings.
4115         (window-body-size): Add PIXELWISE argument to make it consistent
4116         with its callees.
4118 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
4120         * finder.el (finder-mode-map, finder-mode-syntax-table):
4121         Revert part of 2014-02-28 change.
4123 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
4125         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
4126         (eww-setup-buffer): Clear next/prev/etc more reliably.
4127         (eww-textarea-map): [tab] doesn't work on tty.
4128         Reported by Mario Lang.
4130         * net/shr.el (shr-map): Ditto.
4132 2014-03-04  Glenn Morris  <rgm@gnu.org>
4134         * minibuffer.el (completion-hilit-commonality):
4135         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
4137 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
4139         * hilit-chg.el (hilit-chg-unload-function): New function.
4140         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
4141         (hilit-chg-map-changes): Prefer cardinal number to digit.
4142         (hilit-chg-display-changes): Reflow docstring.
4143         (highlight-changes-rotate-faces): Remove superfluous backslash.
4145 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
4147         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
4148         `tramp-send-command-and-check'.
4150 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
4152         * hexl.el (hexl-address-region, hexl-ascii-region)
4153         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
4154         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
4155         (hexl-forward-word, hexl-previous-line, hexl-next-line):
4156         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
4157         (hexl-mode): Doc fix.
4158         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
4159         (hexl-mode-ruler): Fix typos in docstrings.
4161         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
4162         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
4163         Remove superfluous backslashes.
4164         (strokes-last-stroke, strokes-global-map, strokes-mode):
4165         Reflow docstrings.
4166         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
4167         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
4168         (strokes-distance-squared, strokes-global-set-stroke)
4169         (strokes-global-set-stroke-string): Doc fixes.
4170         (strokes-help): Fix typos; reflow docstring.
4172 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
4174         * window.el (window-in-direction): Fix doc-string.
4176 2014-03-04  Glenn Morris  <rgm@gnu.org>
4178         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
4179         Explicit error if no grammar.
4180         (smie-config-save): Doc fix.  Fix quote typo.
4182 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4184         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
4185         electric-indent-mode-hook if we obey electric-indent-mode.
4186         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
4187         decide whether we obey electric-indent-mode.
4188         (c-change-set-fl-decl-start, c-extend-after-change-region):
4189         Silence warnings.
4190         (c-electric-indent-mode-hook): Assume we do want to obey
4191         electric-indent-mode.
4193         * electric.el (electric-indent-mode-has-been-called): Remove.
4194         (electric-indent-mode): Fix accordingly.
4196         * files.el (hack-local-variables): Mention file name in warning.
4198         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
4200 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
4202         * bindings.el: Add comment describing why C-d binds to `delete-char'.
4203         * simple.el (delete-forward-char): Mark as interactive-only.
4205 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
4207         * icomplete.el (icomplete-completions):
4208         Follow-up to 2014-03-01 change.
4210         * icomplete.el: Miscellaneous doc fixes.
4211         Use Icomplete everywhere instead of icomplete for consistency.
4212         (icomplete-max-delay-chars): Fix typo.
4213         (icomplete-mode): Use \[].
4214         (icomplete-tidy, icomplete-exhibit): Reflow.
4215         (icomplete-minibuffer-setup-hook, icomplete-completions):
4216         Remove superfluous backlashes.
4218         * ido.el: Miscellaneous doc fixes.
4219         Use Ido everywhere instead of ido or `ido' for consistency.
4220         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
4221         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
4222         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
4223         (ido-separator): Extract obsolescence info from docstring and declare
4224         with make-obsolete-variable.
4225         (ido-minibuffer-setup-hook): Simplify example.
4226         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
4227         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
4228         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
4229         (ido-everywhere): Reflow docstring.
4230         (ido-toggle-vc): Doc fix.
4231         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
4232         of long list of keybindings.
4234 2014-03-03  Glenn Morris  <rgm@gnu.org>
4236         * frame.el (display-pixel-height, display-pixel-width)
4237         (display-mm-dimensions-alist, display-mm-height)
4238         (display-mm-width): Doc tweaks.
4240 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
4242         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
4243         case of undo in region.
4245 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
4247         * window.el (fit-window-to-buffer): Fix argument in window-size
4248         call when window is horizontally combined.
4250 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
4252         * icomplete.el (icomplete-completions): Use string-width.
4253         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
4255 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
4257         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4258         Highlight regexp options.  (Bug#16914)
4260 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
4262         * window.el (window--max-delta-1): Round down when calculating
4263         how many lines/columns we can get from a window.
4265 2014-03-01  Glenn Morris  <rgm@gnu.org>
4267         * isearch.el (search-invisible): Doc fix.
4269         * minibuffer.el (completion-hilit-commonality):
4270         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
4271         * comint.el (comint-dynamic-list-completions): Doc fix.
4272         * comint.el (comint-dynamic-list-completions):
4273         * filecache.el (file-cache-minibuffer-complete):
4274         * tempo.el (tempo-display-completions):
4275         * eshell/em-hist.el (eshell-list-history):
4276         Replace use of obsolete argument of display-completion-list.
4278 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
4280         * icomplete.el (icomplete-completions):
4281         Revert back to using "..." when ?… cannot be displayed.
4283 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
4285         * finder.el (finder-unload-function): New function.
4287 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
4289         * dframe.el (dframe-detach):
4290         * find-dired.el (find-dired, find-name-dired):
4291         * finder.el (finder-mode-map, finder-mode-syntax-table)
4292         (finder-headmark, finder-select, finder-mouse-select):
4293         Fix docstring typos.
4295 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
4297         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
4298         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
4299         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4300         Fix doc-string based on a suggestion by Nicolas Richard
4301         <theonewiththeevillook@yahoo.fr>.
4302         * help.el (with-help-window): Fix doc-string.
4304 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
4306         * net/shr.el (shr-image-animate): New option.
4307         (shr-put-image): Respect shr-image-animate.
4309 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
4311         * net/tramp-adb.el (tramp-adb-parse-device-names):
4312         Use `accept-process-output'.
4313         (tramp-adb-handle-file-truename): Cache the localname only.
4314         (tramp-adb-handle-make-directory)
4315         (tramp-adb-handle-delete-directory): Flush file properties correctly.
4316         (tramp-adb-handle-set-file-modes): Do not raise an error when file
4317         modes cannot be changed.
4319         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
4320         file properties of symlinks.
4322 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
4324         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
4325         required/optional fields to match development biblatex.  (Bug#16781)
4327 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
4329         * saveplace.el (toggle-save-place):
4330         Fix argument handling.  (Bug#16673)
4332 2014-02-28  Glenn Morris  <rgm@gnu.org>
4334         * minibuffer.el (completions-first-difference)
4335         (completions-common-part, completion-hilit-commonality): Doc fixes.
4337 2014-02-28  Karl Berry  <karl@gnu.org>
4339         * info.el (Info-mode-map): Add H for describe-mode,
4340         to synchronize with standalone Info.
4342 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
4344         * progmodes/sql.el (sql-interactive-mode):
4345         Avoid setting global comint-input-ring-separator.  (Bug#16814)
4347 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
4349         * net/dbus.el (dbus--init-bus): Declare function.
4350         (dbus-path-local, dbus-interface-local): New defconst.
4351         (dbus-init-bus): Use them.
4352         (dbus-return-values-table): Extend doc.
4353         (dbus-handle-bus-disconnect): Extend error message.
4355 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
4357         * subr.el (y-or-n-p): Fix double space issue in message.
4359 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
4361         * net/tramp.el (tramp-call-process): Improve trace message.
4362         (tramp-handle-insert-file-contents): Trace error case.
4364         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
4365         <insert-directory>: Use `tramp-handle-insert-directory'.
4366         (tramp-adb-handle-insert-directory): Remove function.
4367         (tramp-adb-send-command-and-check): New defun, replacing
4368         `tramp-adb-command-exit-status'.  Change all callees.
4369         (tramp-adb-handle-file-attributes)
4370         (tramp-adb-handle-directory-files-and-attributes): Use it.
4371         (tramp-adb-ls-output-name-less-p):
4372         Use `directory-listing-before-filename-regexp'.
4373         (tramp-adb-handle-delete-directory): Flush also file properties of
4374         the truename of directory.
4375         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
4376         (tramp-adb-handle-file-local-copy): Make the local copy readable.
4377         (tramp-adb-handle-write-region): Implement APPEND.
4378         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
4379         properties correctly.
4380         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
4381         variables.  Check for connected devices only when needed.
4383 2014-02-27  Glenn Morris  <rgm@gnu.org>
4385         * minibuffer.el (completion-table-dynamic)
4386         (completion-table-with-cache): Doc fixes.
4388         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
4389         (completing-read-multiple): Doc fixes.
4391 2014-02-27  Daniel Colascione  <dancol@dancol.org>
4393         * minibuffer.el (completion--nth-completion): Fix indentation.
4395         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
4396         explicit tramp path is empty.
4398 2014-02-27  Glenn Morris  <rgm@gnu.org>
4400         * emacs-lisp/crm.el (completing-read-multiple):
4401         Empower help-enable-auto-load.
4403 2014-02-26  Glenn Morris  <rgm@gnu.org>
4405         * startup.el (command-line): Don't init the tty in daemon mode.
4407         Avoid calling tty-setup-hook twice, eg if a term file
4408         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
4409         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
4410         (tty-create-frame-with-faces): Use it.
4411         * startup.el (command-line): Pass run-hook argument
4412         to tty-run-terminal-initialization.
4414         * dired.el (dired-restore-desktop-buffer): Demote errors;
4415         eg in case a glob match fails.  (Bug#16884)
4417 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
4419         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
4420         error from `read-from-string'.  (Bug#16850)
4422         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
4423         result of `completing-read' in the interactive form.  (Bug#16854)
4425 2014-02-25  Glenn Morris  <rgm@gnu.org>
4427         * image.el (image-animate, image-animate-timeout):
4428         Stop animating images in dead buffers.  (Bug#16878)
4430         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
4432         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
4433         Doc fixes.
4434         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
4435         * term/sun.el (sun-raw-prefix-hooks):
4436         Use tty-setup-hook instead of term-setup-hook.
4437         (terminal-init-sun): Construct message from bytecomp plist.
4438         * term/wyse50.el (enable-arrow-keys): Doc fix.
4440 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
4442         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
4443         Fix docstring typos.
4445 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
4447         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
4449 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4451         * minibuffer.el (completion--try-word-completion):
4452         Fix error when completing M-x commands (bug#16808).
4454 2014-02-24  Leo Liu  <sdl.web@gmail.com>
4456         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
4458 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
4460         * apropos.el (apropos-print): Avoid formatting error when
4461         apropos-do-all and apropos-compact-layout are both t.
4463 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
4465         * apropos.el (apropos-property, apropos-all-words-regexp)
4466         (apropos-true-hit, apropos-variable, apropos-print):
4467         Fix docstring typos, and remove obsolete comment.
4469 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
4471         * net/tramp-sh.el (tramp-sh-handle-file-truename):
4472         Preserve trailing "/".  (Bug#16851)
4474 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
4476         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
4477         after `=>' (bug#16811).
4478         (ruby-smie-rules): Handle the inconsistent second element of the
4479         list returned by `smie-indent--parent'.
4480         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
4481         method call.
4483 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
4485         * elec-pair.el (electric-pair-text-syntax-table)
4486         (electric-pair-syntax-info, electric-pair--syntax-ppss)
4487         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
4488         (electric-pair--looking-at-unterminated-string-p): Doc fix.
4489         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
4491 2014-02-22  Glenn Morris  <rgm@gnu.org>
4493         * imenu.el (imenu--generic-function): Doc fix.
4495         * register.el (frame-configuration-to-register): Make obsolete.
4497 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
4499         * desktop.el (desktop-save-buffer-p): Do not fail when
4500         desktop-files-not-to-save is nil.  Return t for true result
4501         as the doc says.
4503 2014-02-22  Daniel Colascione  <dancol@dancol.org>
4505         * net/secrets.el (secrets-create-item, secrets-search-items):
4506         Check that attribute values are strings, avoiding the construction
4507         of invalid dbus messages.
4509 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
4511         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
4512         defun-declarations-alist.
4514 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4516         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
4517         (bug#16829).
4519 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
4521         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
4522         (whitespace-newline, whitespace-trailing, whitespace-line)
4523         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
4524         (whitespace-space-after-tab): Fix typo in docstrings.
4526 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
4528         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
4530         * electric.el (electric-indent-functions-without-reindent):
4531         Add `yaml-indent-line'.
4533 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
4535         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
4536         It has done nothing for years; should be removed after the release.
4538         * simple.el (choose-completion): Fix docstring typo.
4539         (read-quoted-char-radix): Remove unneeded * in docstring.
4540         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
4541         Don't escape parentheses unnecessarily in docstrings.
4543 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
4545         Fix handling of window-min-height/-width (Bug#16738).
4546         * window.el (window--dump-window, window--dump-frame):
4547         New functions.
4548         (window--min-size-1): Account for window dividers.
4549         When window-resize-pixelwise is nil, delay rounding till after the
4550         sum of the window components has been calculated.
4551         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
4552         nil make sure at least one text line and two text columns remain
4553         fully visible.
4554         (window-resize): Signal an error when window-resize-apply fails.
4555         (window--resize-child-windows): Fix calculation of by how many
4556         pixels a window can still be shrunk via window-new-normal.
4557         (adjust-window-trailing-edge): Call window--resizable with
4558         correct TRAIL argument.
4560         (with-temp-buffer-window): Don't evaluate BODY within
4561         with-current-buffer (Bug#16816).
4563 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
4565         * net/tramp.el (tramp-check-cached-permissions):
4566         Call `file-attributes' with `suffix' being a symbol but a string.
4568 2014-02-21  Daniel Colascione  <dancol@dancol.org>
4570         * net/dbus.el (dbus-init-bus-1): Declare new subr.
4571         (dbus-init-bus): New function: call into dbus-init-bus-1
4572         and installs a handler for the disconnect signal.
4573         (dbus-call-method): Rewrite to look for result in cons.
4574         (dbus-call-method-handler): Store result in cons.
4575         (dbus-check-event): Recognize events with nil sender as valid.
4576         (dbus-handle-bus-disconnect): New function.  React to bus
4577         disconnection signal by synthesizing dbus error for each
4578         pending synchronous or asynchronous call.
4579         (dbus-notice-synchronous-call-errors): New function.
4580         (dbus-handle-event): Raise errors directly only when `dbus-debug'
4581         is true, not all the time.
4583 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
4585         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
4586         Remove obsolescence declarations, these variables do not exist anymore.
4588         * savehist.el (savehist-save-minibuffer-history)
4589         (savehist-additional-variables, savehist-file, savehist-mode-hook)
4590         (savehist-save-hook, savehist-coding-system, savehist-loaded)
4591         (savehist-load, savehist-install, savehist-autosave): Fix typos;
4592         mostly, refer to "Savehist mode" when talking about the mode,
4593         and not the function.
4595         * saveplace.el (save-place): Remove redundant info in docstring.
4596         (save-place-forget-unreadable-files, toggle-save-place)
4597         (save-place-forget-unreadable-files, save-place-dired-hook):
4598         Fix typos and remove unneeded backslashes.
4600 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
4602         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
4603         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
4605         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4606         <insert-directory>: Use `tramp-handle-insert-directory'.
4607         (tramp-gvfs-handle-insert-directory): Remove function.
4609         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4610         Call `tramp-handle-insert-directory'.
4612 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
4614         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
4615         before the start of buffer/region (bug#16799).
4617 2014-02-20  Glenn Morris  <rgm@gnu.org>
4619         * isearch.el (search-invisible): Doc fix.
4621 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
4623         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
4624         (bug#16657).
4626 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
4628         * frameset.el (frameset-restore): Delay removing an old frame's
4629         duplicate id until the new frame has been correctly created.
4631 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
4633         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
4634         (tramp-check-cached-permissions): Call `file-attributes' if the
4635         cache is empty.
4637         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
4638         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
4640         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4641         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
4642         (tramp-gvfs-maybe-open-connection): Set always connection
4643         properties, even if target is mounted already.
4645         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
4646         Set tramp-autoload cookie.
4647         (tramp-get-remote-touch): New defun.
4648         (tramp-sh-handle-set-file-times): Use it.
4649         (tramp-sh-handle-directory-files-and-attributes):
4650         Use `tramp-handle-directory-files-and-attributes' if neither stat
4651         nor perl are available on the remote host.
4653         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
4654         "/".  Write long listing only when "l" belongs to the switches.
4656         * net/trampver.el: Update release number.
4658 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
4660         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
4662 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
4664         * window.el (window-state-put): Allow WINDOW to refer to an
4665         internal window (Bug#16793).
4667 2014-02-19  Glenn Morris  <rgm@gnu.org>
4669         * textmodes/remember.el: Move provide statement to end.
4670         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
4671         (remember-notes): Doc fixes.
4673 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4675         * delsel.el (delete-char): Restore incorrectly erased property
4676         (bug#16795).
4678 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
4680         * frameset.el (frameset--restore-frame): When a frame is being reused
4681         and its root window is not alive, delete all the frame's windows before
4682         restoring the window state.  This works around the issue in bug#16793.
4684 2014-02-18  Glenn Morris  <rgm@gnu.org>
4686         * textmodes/remember.el (remember-data-directory)
4687         (remember-directory-file-name-format, remember-store-in-files)
4688         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
4689         (remember-notes-save-and-bury-buffer)
4690         (remember-notes--kill-buffer-query): Doc fixes.
4692         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
4694 2014-02-17  Alan Mackenzie  <acm@muc.de>
4696         Connect electric-indent-mode up with CC Mode.  Bug #15478.
4697         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
4698         to electric-indent-{,local-}-mode.
4699         (c-basic-common-init): Set electric-indent-inhibit.
4700         Initialise c-electric-flag from electric-indent-mode.
4701         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
4702         New hook functions which propagate electric-indent-mode to CC mode.
4704         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
4705         hit, toggle electric-indent-local-mode.
4707         * electric.el (electric-indent-mode-has-been-called):
4708         New variable.
4710 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
4712         * frameset.el (frameset-cfg-id): New function.
4713         (frameset--reuse-frame, frameset-restore): Use it.
4714         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
4716 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4718         * ido.el (ido-file-internal): Remove unused var `d'.
4719         Use \` for to match BoS.  Fit within 80n columns.
4721 2014-02-17  Daniel Colascione  <dancol@dancol.org>
4723         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
4724         dbus-call-method check for completion using a busy-wait loop with
4725         gradual backoff.
4727 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
4729         Sync with Tramp 2.2.9.
4731         * net/trampver.el: Update release number.
4733 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
4735         * ido.el (ido-file-internal): Don't add the name of an existing
4736         directory twice.  (Bug#16747)
4738 2014-02-16  Glenn Morris  <rgm@gnu.org>
4740         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
4741         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
4743 2014-02-15  Michael R. Mauger  <michael@mauger.com>
4745         * progmodes/sql.el: Version 3.4
4746         (sql-oracle-options): New default value ("-L").
4747         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
4748         (sql-placeholders-filter): Correct placeholder pattern.
4749         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
4750         (sql-login-delay): New variable.
4751         (sql-product-interactive): Use it.
4753 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
4755         * frameset.el (frameset--jump-to-register): Check that buffer is live
4756         (bug#16749).
4758 2014-02-15  Glenn Morris  <rgm@gnu.org>
4760         * info.el (info-initialize): Revert 2014-01-10 change.
4762 2014-02-14  Glenn Morris  <rgm@gnu.org>
4764         * replace.el (map-query-replace-regexp)
4765         (read-regexp-defaults-function, read-regexp): Doc fixes.
4767         * dired.el (dired-read-regexp):
4768         * faces.el (list-faces-display):
4769         * misearch.el (multi-isearch-read-matching-buffers)
4770         (multi-isearch-read-matching-files):
4771         * play/cookie1.el (cookie-apropos):
4772         * progmodes/grep.el (grep-read-regexp): Doc fixes.
4774         * textmodes/remember.el (remember): Use frameset-to-register
4775         rather than frame-configuration-to-register.
4777 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
4779         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
4780         incorrect keybinding.
4782 2014-02-13  Daniel Colascione  <dancol@dancol.org>
4784         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
4785         when adding overlays so that line numbers from compiler match line
4786         numbers we use.
4788 2014-02-13  Glenn Morris  <rgm@gnu.org>
4790         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
4792         * jit-lock.el (jit-lock-mode): Doc fix.
4794 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
4796         * apropos.el (apropos-read-pattern): When the user passes an empty
4797         string, give a more helpful error message than "Wrong type
4798         argument: stringp, nil".
4800 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4802         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
4804 2014-02-13  Glenn Morris  <rgm@gnu.org>
4806         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
4808 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4810         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
4811         shift-select commands.
4813 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
4815         * progmodes/js.el (js-indent-line): Don't widen.
4816         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
4818 2014-02-12  Glenn Morris  <rgm@gnu.org>
4820         * icomplete.el (icomplete): Add info-link to defgroup.
4821         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
4822         (icomplete-minibuffer-map, icomplete-mode)
4823         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
4825         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
4826         (package-menu-filter): Rename from package-menu-filter-interactive.
4827         Doc fix.
4829 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
4831         * frameset.el (frameset--jump-to-register): Select the required
4832         window and buffer before restoring position (bug#16696).
4834 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
4836         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
4838 2014-02-10  Glenn Morris  <rgm@gnu.org>
4840         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
4842 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
4844         * w32-common-fns.el (x-get-selection): Doc fix.
4845         * select.el (x-get-selection): Doc fix.  (Bug#15109)
4847         * face-remap.el (face-remap-add-relative)
4848         (face-remap-remove-relative, face-remap-reset-base)
4849         (face-remap-set-base): Call force-mode-line-update to redisplay
4850         the current buffer due to potential change in faces.  (Bug#16709)
4852 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
4854         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
4855         script more robustly.
4857 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
4859         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
4861         * simple.el (choose-completion): Doc fix (bug#14160).
4863         * subr.el (event-start): Say what a nil EVENT value means.
4865         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
4866         (bug#14197).
4868         * progmodes/grep.el (find-program): Doc fix (bug#14289).
4870         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
4872         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
4874         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
4875         predicate function (bug#15455).
4877 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
4879         * ielm.el (inferior-emacs-lisp-mode): Instead of
4880         `comment-use-global-state', set `comment-use-syntax'.
4882 2014-02-10  Glenn Morris  <rgm@gnu.org>
4884         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
4886 2014-02-09  Alan Mackenzie  <acm@muc.de>
4888         Fix c-invalidate-state-cache on narrowed buffers.
4889         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
4890         Widen when setting and clearing the CPP delimiter properties.
4892 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
4894         * help.el (describe-bindings): Doc fix (bug#9888).
4896         * files.el (save-buffer): Use ARG as the parameter name for
4897         consistency (bug#10346).
4898         (save-buffer): Clarify the 0 argument (bug#10346).
4900         * cus-edit.el (customize-apropos): Fix error string.
4901         (custom-buffer-create): Doc fix (bug#11122).
4902         (custom-sort-items): Doc fix (bug#11121).
4904         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
4906         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
4907         (icomplete-simple-completing-p): Mention the previous variable.
4909         * font-lock.el (font-lock-value-in-major-mode): Clarify the
4910         meaning of the parameter (bug#12282).
4912         * files.el (find-file-noselect): Clarify prompt when changing
4913         readedness (bug#13261).
4914         (locate-file): Suffixes aren't returned, so don't say that they
4915         are (bug#12674).
4916         (backup-inhibited): Doc clarification (bug#12525).
4918         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
4919         before we actually start to delete things (bug#16331).
4921         * subr.el (event-start): Doc fix (bug#14228).
4922         (event-end): Ditto.
4924 2014-02-09  Glenn Morris  <rgm@gnu.org>
4926         * emacs-lisp/warnings.el (lwarn):
4927         Empower help-enable-auto-load.  (Bug#15940)
4929 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
4931         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4932         (Bug#16690)
4934 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
4936         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4937         Insert output at end of buffer.  (Bug#16120)
4939 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
4941         * simple.el (choose-completion-string-functions): Document new
4942         calling convention (bug#14153).
4943         (execute-extended-command): Clarify doc string (bug#13373).
4945         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4947         * find-dired.el (find-name-dired): Doc fix (bug#14290).
4948         (find-grep-dired): Doc fix (bug#14288).
4950 2014-02-08  Juri Linkov  <juri@jurta.org>
4952         * isearch.el (isearch-quote-char): Check character validity
4953         like in `quoted-insert' (bug#16677).
4955 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
4957         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4959         * isearch.el (isearch-hide-immediately): Doc clarification
4960         (bug#14723).
4962         * simple.el (line-move): Document utility function used many
4963         places in the Emacs sources (bug#14843).
4965         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4966         (dired-prev-marked-file): Doc fix (bug#14855).
4967         (dired-up-directory): Doc fix (bug#14848).
4969         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4971         * files.el (file-relative-name): Doc fix (bug#15159).
4973         * fringe.el (fringe-styles): Doc fix (bug#15239).
4975         * isearch.el (isearch-filter-predicate): Documentation typo fix
4976         (bug#15474).
4978         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4980         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4982         * replace.el (replace-match-maybe-edit): Doc clarification
4983         (bug#15632).
4985         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4987         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4989 2014-02-08  Glenn Morris  <rgm@gnu.org>
4991         * help-fns.el (describe-variable):
4992         Check {file,dir}-local-variables-alist, and buffer-file-name,
4993         in the correct buffer.
4995 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
4997         * help-fns.el (describe-variable): Fix the case where
4998         a value is directory-local with no dir-locals file.  (Bug#16635)
5000 2014-02-08  Glenn Morris  <rgm@gnu.org>
5002         * abbrev.el (edit-abbrevs-mode):
5003         Derive from fundamental-mode.  (Bug#16682)
5005 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
5007         * simple.el (quoted-insert): Check character validity (bug#16677).
5009 2014-02-07  Juri Linkov  <juri@jurta.org>
5011         * desktop.el (desktop-read): Claim the lock when the owner is not
5012         the current process.  (Bug#16157)
5014 2014-02-07  Juri Linkov  <juri@jurta.org>
5016         * desktop.el (desktop-buffers-not-to-save): Change default from nil
5017         to "\\` ".  (Bug#16651)
5019 2014-02-07  Juri Linkov  <juri@jurta.org>
5021         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
5022         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
5023         (desktop-auto-save-cancel-timer): New function with some code from
5024         `desktop-auto-save-set-timer'.
5025         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
5026         Instead of setting `desktop-save-mode' to nil, call
5027         `desktop-save-mode' with arg 0.  (Bug#16630)
5029 2014-02-07  Glenn Morris  <rgm@gnu.org>
5031         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
5032         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
5033         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
5035         * obsolete/iswitchb.el: Move to obsolete/.
5036         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
5037         since obsolete/ is not scanned for autoloads.
5038         * emacs-lisp/authors.el (authors-valid-file-names):
5039         Add iswitchb.el.
5041         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
5042         Disable now non-functional find-file-hook.
5044 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
5046         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
5047         instead of ";" in order to avoid additional prompts.  Let heredoc
5048         scripts read from tty.  (Bug#16582)
5049         (tramp-send-command): No special handling of heredocs, it isn't
5050         necessary anymore.
5052 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5054         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
5055         with a space (bug#16664).  Limit the symbols considered to the ones
5056         that are bound or fbound (bug#16646).
5058 2014-02-06  Glenn Morris  <rgm@gnu.org>
5060         * epa.el (epa-mail-aliases): Doc fix.
5062 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
5064         * emacs-lisp/lisp.el (lisp-completion-at-point):
5065         Use `completion-table-merge' instead of `completion-table-in-turn'
5066         (bug#16604).
5068         * minibuffer.el (completion-table-merge): New function.
5070 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
5072         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
5073         (tramp-sh-handle-set-file-acl)
5074         (tramp-sh-handle-start-file-process)
5075         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
5076         (tramp-find-executable, tramp-send-command): Use it.
5078 2014-02-05  Glenn Morris  <rgm@gnu.org>
5080         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
5082 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5084         * progmodes/python.el (python-shell-send-string)
5085         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
5087 2014-02-04  Anders Lindgren  <andlind@gmail.com>
5089         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
5090         the names (bug#16620).
5092 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
5094         * faces.el (window-divider): New default value.  Rewrite doc-string.
5095         (window-divider-first-pixel, window-divider-last-pixel): New faces.
5097 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
5099         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
5100         `protected' and `public' can also be called without arguments.
5102 2014-02-03  Glenn Morris  <rgm@gnu.org>
5104         * register.el (window-configuration-to-register)
5105         (frame-configuration-to-register): Unadvertise unused argument.
5106         * frameset.el (frameset-to-register): Remove unused argument.
5108         * frameset.el (frameset-to-register):
5109         * kmacro.el (kmacro-to-register):
5110         * register.el (increment-register):
5111         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
5112         (calc-append-to-register, calc-prepend-to-register):
5113         * play/gametree.el (gametree-layout-to-register)
5114         (gametree-apply-register-layout):
5115         * textmodes/picture.el (picture-clear-rectangle-to-register)
5116         (picture-yank-rectangle-from-register):
5117         * vc/emerge.el (emerge-combine-versions-register):
5118         Use register-read-with-preview to read registers.
5120 2014-02-03  João Távora  <joaotavora@gmail.com>
5122         * elec-pair.el (electric-pair-backward-delete-char): Don't error
5123         when at beginning of (possibly narrowed) buffer.
5125 2014-02-02  Daniel Colascione  <dancol@dancol.org>
5127         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
5128         Also try to display local help from just before point.
5130 2014-02-02  Alan Mackenzie  <bug-cc-mode@gnu.org>
5132         c-parse-state.  Don't "append-lower-brace-pair" in certain
5133         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
5134         recognised as a comment.
5136         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
5137         as well as normal comment starter.
5138         (c-parse-state-get-strategy): Extra return possibility
5139         'back-and-forward.
5140         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
5141         return value list to indicate replacement of a brace-pair cons
5142         with its car.
5143         (c-parse-state-1): With 'back-and-forward, only call
5144         c-append-lower-brace-pair-to state-cache when cons-separated.
5146 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
5148         * term/ns-win.el (ns-suspend-error): New function.
5149         (ns-initialize-window-system): Add ns-suspend-error to
5150         suspend-hook (Bug#16612).
5152 2014-02-02  Daniel Colascione  <dancol@dancol.org>
5154         * progmodes/cc-defs.el (c-find-assignment-for-mode):
5155         Make loading cc-mode silent.
5157 2014-02-02  Daniel Colascione  <dancol@dancol.org>
5159         * comint.el (comint-prompt-read-only): Change doc to suggest
5160         remap keybinding.
5162 2014-02-02  Glenn Morris  <rgm@gnu.org>
5164         * register.el (register-read-with-preview, point-to-register)
5165         (window-configuration-to-register, frame-configuration-to-register)
5166         (jump-to-register, number-to-register, view-register, insert-register)
5167         (copy-to-register, append-to-register, prepend-to-register)
5168         (copy-rectangle-to-register): Doc fixes.
5170 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5172         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
5173         * emacs-lisp/find-func.el (find-function-C-source): Idem.
5174         * emacs-lisp/nadvice.el (advice--cd*r): New function.
5175         * help-fns.el (describe-function-1): Use it.
5177 2014-02-02  Glenn Morris  <rgm@gnu.org>
5179         * register.el (register-preview-default): New function,
5180         split from register-preview.
5181         (register-preview-function): Rename from register-preview-functions,
5182         make it not a hook.
5183         (register-preview): Use register-preview-function.
5184         (register-read-with-preview): Error on non-character event.  (Bug#16595)
5186 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
5188         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
5189         `:' before binary operators (bug#16609).  Don't check for `:'
5190         before `[' and `(', or their syntax status.  A percent literal
5191         can't end with either.
5192         (ruby-font-lock-keywords): For built-ins that require arguments,
5193         check that they're followed by something that looks like argument
5194         (bug#16610).
5196 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
5198         * subr.el (butlast): Document what an omitted N means (bug#13437).
5199         (nbutlast): Ditto.
5201 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
5203         * net/shr.el (shr-generic): Make into a defsubst to make the stack
5204         depth shallower (bug#16587).
5205         (shr-tag-svg): Respect `shr-inhibit-images'.
5206         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
5208 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
5210         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
5211         (ruby-smie-grammar): Make "." right-associative.  Make its priority
5212         lower than the ternary and all binary operators.
5213         (ruby-smie-rules): Indent "(" relative to the first non-"."
5214         parent, or the first "." parent at indentation.
5215         Use `ruby-align-chained-calls' for indentation of "." tokens.
5216         (Bug#16593)
5218 2014-01-31  Juri Linkov  <juri@jurta.org>
5220         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
5221         from `make-hash-table'.
5223         * textmodes/ispell.el (ispell-init-process): Change message format
5224         to be consistent with other messages.
5226 2014-01-31  Glenn Morris  <rgm@gnu.org>
5228         * delsel.el (delete-selection-mode): Doc fix.
5230         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
5231         (trace-function-background): Doc fixes.
5233         * ido.el (ido-use-virtual-buffers): Doc fix.
5234         Reset :version, since the default value has not changed.
5236         * register.el (register-preview-delay, register-read-with-preview):
5237         Doc fixes.
5239         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
5240         do not mess with mail-buffer position (fixes 2009-11-03 change).
5241         * progmodes/cc-mode.el (c-submit-bug-report):
5242         Check auto-fill-mode is bound.  (Bug#16592)
5244 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
5246         * startup.el (fancy-splash-image-file): New function,
5247         split from fancy-splash-head.
5248         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
5249         so that we are both using the same image.  (Bug#16574)
5251 2014-01-30  Glenn Morris  <rgm@gnu.org>
5253         * simple.el (eval-expression): Doc fix.
5255         * hexl.el (hexl-mode-hook):
5256         * ielm.el (ielm-mode-hook):
5257         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
5258         (lisp-interaction-mode-hook):
5259         * progmodes/cfengine.el (cfengine3-documentation-function):
5260         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
5262 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5264         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
5265         is a symbol (bug#16584).
5267 2014-01-30  Glenn Morris  <rgm@gnu.org>
5269         * help.el (help-for-help-internal): Add "P" to text.
5271 2014-01-29  Glenn Morris  <rgm@gnu.org>
5273         * simple.el (just-one-space, cycle-spacing): Doc fixes.
5275 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
5277         * window.el (fit-frame-to-buffer): Fix calculations for margins and
5278         height constraints.
5280 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
5282         * progmodes/hideif.el: Extend to full CPP expression syntax.
5283         (hif-token-alist): Add missing tokens.
5284         (hif-token-regexp): Add support for float/octal/hex immediates.
5285         (hif-string-literal-regexp): New const.
5286         (hif-tokenize): Recognize strings and float/octal/hex immediates.
5287         (hif-exprlist): New function.
5288         (hif-parse-if-exp): Use it.
5289         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
5290         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
5291         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
5292         (hif-logxor, hif-comma): New functions.
5294 2014-01-28  Glenn Morris  <rgm@gnu.org>
5296         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
5298         * indent.el (tab-stop-list): Doc fix.  Add :version.
5300         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
5301         (cvs-append-to-ignore): Add compatibility alias.
5303 2014-01-27  Glenn Morris  <rgm@gnu.org>
5305         * dired.el (dired-hide-details-mode): Don't autoload it,
5306         since it cannot be used outside Dired buffers anyway.
5308         * emulation/cua-base.el (cua-mode): Doc fix.
5310         * dired.el (dired-hide-details-hide-symlink-targets)
5311         (dired-hide-details-hide-information-lines)
5312         (dired-hide-details-mode): Doc fixes.
5314         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
5315         * strokes.el (strokes-file): Doc fix.  Bump :version.
5316         (strokes-help): Doc fix.
5317         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
5318         * emulation/viper.el (viper): Doc fix for custom group.
5319         (top-level): Remove oh-so-no-longer-relevant text about vip.
5320         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
5322         * ido.el (ido-save-directory-list-file):
5323         * saveplace.el (save-place-file):
5324         * calendar/timeclock.el (timeclock-file):
5325         * net/quickurl.el (quickurl-url-file):
5326         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
5327         * progmodes/idlwave.el (idlwave-config-directory):
5328         * textmodes/remember.el (remember-data-file):
5329         Bump :version.
5331 2014-01-26  Glenn Morris  <rgm@gnu.org>
5333         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
5334         Doc fix.  Make obsolete.
5335         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
5337         * sort.el (delete-duplicate-lines): Doc fix.
5339 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5341         * progmodes/ada-mode.el (ada):
5342         * woman.el (woman): Link to info manual and Commentary section.
5344         * progmodes/flymake.el (flymake):
5345         * nxml/nxml-mode.el (nxml):
5346         * net/eww.el (eww):
5347         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
5348         * htmlfontify.el (htmlfontify):
5349         * ses.el (ses):
5350         * epa.el (epa):
5351         * ido.el (ido): Link to info manual.
5353 2014-01-25  Leo Liu  <sdl.web@gmail.com>
5355         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
5357 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
5359         * net/shr.el (shr-tag-img): Prefer the title over the alt text
5360         (bug#16537).
5362 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
5364         * net/eww.el (eww-download-callback):
5365         Fix reference to eww-download-directory.
5367         * emacs-lisp/bytecomp.el (byte-compile-file):
5368         Remove unused local variable `file-name'.
5370 2014-01-24  Glenn Morris  <rgm@gnu.org>
5372         * woman.el (woman-default-faces, woman-monochrome-faces):
5373         Fix obsolescence specification.
5375         * subr.el (with-demoted-errors): Doc fix.
5377 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5379         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
5380         (cl--macroexp-fboundp): New function.
5381         (cl--make-type-test): Use it.
5383 2014-01-23  Glenn Morris  <rgm@gnu.org>
5385         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
5386         * simple.el (eval-expression): Doc fixes.
5388 2014-01-22  Glenn Morris  <rgm@gnu.org>
5390         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
5392 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5394         * emacs-lisp/package.el: Write files silently.
5395         (package-autoload-ensure-default-file, package--write-file-no-coding)
5396         (package-generate-description-file, package--download-one-archive)
5397         (package-install-from-archive): Tell `write-region' to stay quiet.
5398         (package-menu-mode, package-menu--print-info): Omit the Archive column
5399         if there's only one archive.
5400         (package-all-keywords, package--has-keyword-p): Remove dead code.
5402 2014-01-22  Glenn Morris  <rgm@gnu.org>
5404         * version.el (emacs-bzr-version-bzr): Fix typo.
5406         * version.el (emacs-repository-get-version):
5407         Check either .bzr or .git, but not both.
5408         Make the git case actually use the DIR argument, and return nil
5409         rather than the empty string.
5410         Avoid error if .git exists but the git executable is not found.
5412 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
5414         Fixes in window size functions around Bug#16430 and Bug#16470.
5415         * window.el (window-total-size, window-size): New argument ROUND.
5416         (window--min-delta-1, window-min-delta, window--max-delta-1):
5417         Be more conservative when calculating the numbers of lines or
5418         columns a window can shrink (Bug#16430).
5419         (fit-window-to-buffer): Simplify code.
5420         * term.el (term-window-width): Call window-body-width again.
5422 2014-01-22  Glenn Morris  <rgm@gnu.org>
5424         * image.el (image-format-suffixes): Doc fix.
5426         * international/quail.el (quail-define-package): Doc fix.
5428         * emacs-lisp/authors.el (authors-valid-file-names)
5429         (authors-renamed-files-alist): Additions.
5431         * vc/vc-git.el (vc-git-print-log): Remove --follow;
5432         reverts 2014-01-09 change.  (Bug#16422)
5434         * calc/calc-embed.el (thing-at-point-looking-at):
5435         * emacs-lisp/map-ynp.el (x-popup-dialog):
5436         * obsolete/lmenu.el (x-popup-dialog):
5437         * emacs-lisp/package.el (url-recreate-url):
5438         * mail/mailclient.el (clipboard-kill-ring-save):
5439         * subr.el (x-popup-dialog): Update declaration.
5440         * mail/rmail.el (rmail-mime-message-p):
5441         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
5443 2014-01-21  Daniel Colascione  <dancol@dancol.org>
5445         * progmodes/sh-script.el (sh--inside-noncommand-expression):
5446         Correctly detect when we're inside an arithmetic expansion form
5447         containing nested parenthesis.
5448         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
5449         to detect cases where we shouldn't expand "<<" to a heredoc
5450         skeleton.
5452 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5454         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
5455         (eldoc--message-command-p): New function.
5456         (eldoc-display-message-p): Use it.
5457         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
5458         message is not automatically erased for us.
5459         (eldoc-print-current-symbol-info): Erase previous message, if any.
5461 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
5463         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
5464         specify it's an interactive function.
5466         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
5467         Fix regex used for scanning for citation keys which failed for
5468         citations with optional arguments.
5470 2014-01-21  Leo Liu  <sdl.web@gmail.com>
5472         * simple.el (read--expression): Don't enable eldoc-mode.
5474 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5476         * simple.el (move-beginning-of-line): Make sure we don't move forward
5477         (bug#16497).
5479 2014-01-20  Juri Linkov  <juri@jurta.org>
5481         * saveplace.el (toggle-save-place, save-place-to-alist)
5482         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
5483         'dired-mode) before checking for dired-directory.  (Bug#16477)
5485 2014-01-20  Juri Linkov  <juri@jurta.org>
5487         * indent.el (indent-line-to): Use backward-to-indentation
5488         instead of back-to-indentation.  (Bug#16461)
5490 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
5492         Revert some of the CANNOT_DUMP fix (Bug#16494).
5493         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
5494         but fixing this can wait until after the next release.
5495         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
5497 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
5499         * eshell/esh-mode.el (eshell-password-prompt-regexp):
5500         Use `password-word-equivalents'.
5501         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
5502         to t.  (Bug#5664, Bug#13124)
5504 2014-01-19  Alan Mackenzie  <acm@muc.de>
5506         Bind open-paren-in-column-0-is-defun-start to nil at some entry
5507         points.
5508         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
5509         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
5510         * progmodes/cc-mode.el (c-before-change, c-after-change)
5511         (c-font-lock-fontify-region): Bind it here.
5513 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
5515         * term.el (term-window-width): Call window-text-width instead of
5516         window-width (Bug#16470).
5518 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
5520         * simple.el (password-word-equivalents): Remove duplicates.
5521         Sort, to make this easier next time.
5522         Downcase.  Omit ": " after "jelszó".
5524 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
5526         * term/common-win.el (saved-region-selection): Defvar it.
5527         (x-select-text): Set saved-region-selection (Bug#16382).
5529 2014-01-18  Glenn Morris  <rgm@gnu.org>
5531         * emacs-lisp/authors.el (authors-aliases)
5532         (authors-renamed-files-alist): Add some entries.
5534 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
5536         * net/tramp.el (tramp-password-prompt-regexp):
5537         Use `password-word-equivalents' if available.
5538         (tramp-action-password, tramp-process-one-action)
5539         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
5541 2014-01-17  Chong Yidong  <cyd@gnu.org>
5543         * simple.el (password-word-equivalents): New defcustom.
5544         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
5545         to 24.4.
5546         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
5547         to t.  (Bug#13124)
5549 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
5551         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
5552         (ruby-align-to-stmt-keywords): Change the default value.
5553         Use `ruby-alignable-keywords' to generate the possible customization
5554         choices.
5555         (ruby-smie-rules): Instead of using a hardcoded list of alignable
5556         keywords, check against the value of `ruby-alignable-keywords'
5557         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
5559 2014-01-17  Glenn Morris  <rgm@gnu.org>
5561         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
5563         Make M-x authors return zero *Authors Errors* from current logs.
5564         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
5565         (authors-ignored-files): Add some entries, remove others.
5566         (authors-ambiguous-files, authors-valid-file-names):
5567         Add some entries.
5568         (authors-renamed-files-alist): Add, remove, and adjust entries.
5569         (authors-renamed-files-regexps): Add some entries.
5570         Remove some very broad ones.  Make some entries `lax'.
5571         (authors-lax-changelogs): New constant.
5572         (authors-disambiguate-file-name): Treat top-level specially.
5573         (authors-lax-changelog-p): New function.
5574         (authors-canonical-file-name): Check file as written against
5575         authors-valid-file-names.  Do not special-case etc/.
5576         Handle `lax' logs and authors-renamed-files-regexps elements.
5578 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
5580         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
5581         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
5582         callers.
5584 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5586         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
5587         Assume we're already in the proper buffer.
5588         Inspired by Anders Lindgren <andlind@gmail.com>.
5589         (follow-post-command-hook): Call it from the right buffer.
5590         (follow-comint-scroll-to-bottom): Adjust call.
5591         (follow-all-followers): Use get-buffer-window-list.
5593 2014-01-15  Daniel Colascione  <dancol@dancol.org>
5595         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
5596         `buffer-file-name' in interactive-form so that we don't leave
5597         pathless file names in `file-name-history'.
5599 2014-01-15  Juri Linkov  <juri@jurta.org>
5601         * indent.el (indent-rigidly): Set deactivate-mark to nil
5602         in transient indentation mode.  (Bug#16438)
5604 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
5606         * emacs-lisp/package.el (package-desc-keywords): New function
5607         (Bug#16222).
5608         (describe-package-1, package-all-keywords)
5609         (package--has-keyword-p): Use it.
5611 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
5613         * simple.el (define-alternatives): When creating the
5614         COMMAND-alternatives variable, assign COMMAND as its definition
5615         name so that `describe-variable' can relocate it.
5617 2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)
5619         * font-lock.el (font-lock-keywords): Fix typo in docstring
5620         (bug#16307).
5622 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5624         * ispell.el (ispell-region): Reset `in-comment' for new line
5625         instead of wrongly reset `add-coment' (bug#13577).
5627 2014-01-14  Daiki Ueno  <ueno@gnu.org>
5629         * epa-file.el (epa-file-write-region): Encode the region according
5630         to `buffer-file-format'.  Problem reported at:
5631         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
5633 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5635         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
5636         so it applies in the right buffer (bug#16410).
5638 2014-01-13  Daniel Colascione  <dancol@dancol.org>
5640         * textmodes/rst.el (rst-define-key): Provide deprecated
5641         keybindings through named functions instead of anonymous ones so
5642         that "??" doesn't appear in describe-mode output.
5644 2014-01-13  Bastien Guerry  <bzg@gnu.org>
5646         * simple.el (define-alternatives): Call the selected command
5647         interactively.  When setting `COMMAND--implementation' for the
5648         first time, tell the user how to chose another implementation.
5649         Enhance the docstring.
5651 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5653         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
5654         (log-edit--match-first-line): New function.
5655         (log-edit-font-lock-keywords): Use it.
5656         (log-edit-mode): Make jit-lock-defer-multiline work.
5658 2014-01-13  Bastien Guerry  <bzg@gnu.org>
5660         * rect.el (rectangle-mark-mode): When the region is not active,
5661         display a message saying that the mark as been set and that
5662         rectangle mode is in use.
5663         (rectangle--highlight-for-redisplay): Only put an overlay with a
5664         visible vertical bar when (display-graphic-p) is non-nil.
5665         This partially fixes Bug#16403.
5667 2014-01-13  Juri Linkov  <juri@jurta.org>
5669         * info.el (Info-find-file): Go to DIR before displaying the error
5670         about a nonexistent file if no previous Info file is visited.
5671         Use `user-error' instead of `error' for "Info file %s does not exist".
5672         (Info-find-node-2): In case of a nonexistent node in unwind forms
5673         go to the Top node if there is no previous node to revert to.
5674         (Bug#16405)
5676 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
5678         fit-frame/window-to-buffer code fixes including one for Bug#14096.
5679         * window.el (fit-frame-to-buffer): Fix doc-string.
5680         Respect window-min-height/-width.  Fit pixelwise when
5681         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
5682         when avoiding that frame goes partially off-screen.
5683         (fit-window-to-buffer): Respect window-min-height/-width
5684         (Bug#14096).
5686 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5688         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
5689         after an empty line.
5691 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5693         * net/shr.el (shr-render-region): Autoload.
5695 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
5697         * net/eww.el (eww-download-directory): Rename from
5698         `eww-download-path' (Bug#16419).
5700 2014-01-12  Leo Liu  <sdl.web@gmail.com>
5702         * dired-x.el (dired-mode-map): Fix last change.
5704         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
5706 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
5708         Spelling fixes.
5709         * emacs-lisp/generic.el (generic--normalize-comments):
5710         Rename from generic--normalise-comments.  All uses changed.
5711         * play/bubbles.el (bubbles--neighborhood-score)
5712         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
5713         (bubbles--neighborhood-available)
5714         (bubbles--update-neighborhood-score):
5715         Rename from names with 'neighbourhood'.  All uses changed.
5717 2014-01-12  Leo Liu  <sdl.web@gmail.com>
5719         Re-implement the feature of showing eldoc info after editing.
5720         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
5721         (eldoc-edit-message-commands): New function.
5722         (eldoc-print-after-edit): New variable.
5723         (eldoc-pre-command-refresh-echo-area): Emit message only by
5724         eldoc-message-commands.
5725         (eldoc-mode): Restrict eldoc-message-commands to editing commands
5726         if eldoc-print-after-edit is set.  (Bug#16346)
5727         * simple.el (read--expression): Enable eldoc-mode.
5728         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
5730 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
5731             Eric S. Raymond  <esr@thyrsus.com>
5733         * version.el (emacs-repository-get-version): Enhance so the
5734         function works correctly in either a Bazaar or Git repo.
5736 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
5738         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
5739         Goes with removal of the joke manpages from /etc.
5741 2014-01-10  Kenichi Handa  <handa@gnu.org>
5743         * mail/rmail.el (rmail-get-coding-system):
5744         Check rmail-get-coding-function before "funcall"ing it.
5746 2014-01-10  Glenn Morris  <rgm@gnu.org>
5748         * emacs-lisp/authors.el (authors-fixed-entries):
5749         Update for files that no longer exist.
5751 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
5753         * version.el (emacs-bzr-get-version): Restore compatibilty with
5754         24.3 (Tested).
5756 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
5758         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
5759         and Podfile.
5761 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
5763         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
5765 2014-01-10  Chong Yidong  <cyd@gnu.org>
5767         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
5769 2014-01-10  Anders Lindgren  <andlind@gmail.com>
5771         * follow.el (follow-cache-command-list): Include right-char and
5772         left-char.
5774 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
5776         Spelling fixes.
5777         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
5778         * woman.el (woman-mark-horizontal-position):
5779         Rename from woman-mark-horizonal-position.  Use changed.
5781 2014-01-10  Glenn Morris  <rgm@gnu.org>
5783         * info.el (info-initialize): If running uninstalled, ensure our
5784         own info files are always found first, even if INFOPATH is set.
5786         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
5788 2014-01-09  David Engster  <deng@randomsample.de>
5790         * emacs-lisp/eieio-custom.el:
5791         * emacs-lisp/eieio-opt.el: Set generated autoload file to
5792         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
5793         * emacs-lisp/eieio.el: Regenerate autoloads.
5795 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
5797         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
5798         following renames.  (Bug#8756)
5800 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5802         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
5803         (bug#16382).
5804         (activate-mark): Add `no-tmm' argument.
5805         (set-mark, push-mark-command): Use it instead of running
5806         activate-mark-hook by hand.
5808 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
5810         In preparation for the move to git, sanitize out some
5811         Bazaar-specific names.
5813         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
5815         * version.el (emacs-bzr-version): Name changed to
5816         emacs-repository-version.  Obsolete-variable alias made.
5817         * loadup.el: Follow through on this name change.
5818         * mail/emacsbug.el (report-emacs-bug): Factor out any
5819         assumption about the version control system in use.
5821 2014-01-08  David Engster  <deng@randomsample.de>
5823         * help-fns.el (help-fns-describe-function-functions):
5824         New variable to call functions for augmenting help buffers.
5825         (describe-function-1): Remove explicit calls to
5826         `help-fns--compiler-macro', `help-fns--parent-mode' and
5827         `help-fns--obsolete'.  Put them in above new variable instead, and
5828         call them through `run-hook-with-args'.
5829         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
5830         `eieio-describe-class'.  Not meant for interactive use anymore,
5831         but to augment existing help buffers.  Remove optional second
5832         argument.  Create proper button for file location.
5833         Rewrite function to use `insert' instead of `princ' and `prin1' where
5834         possible.
5835         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
5836         (eieio-method-def, eieio-class-def): Move further up.
5837         (describe-method, describe-generic, eieio-describe-method):
5838         Remove aliases.
5839         (eieio-help-constructor, eieio-help-generic): Rename from
5840         `eieio-describe-constructor' and `eieio-describe-generic', resp.
5841         Rewrite to use `insert' in the current buffer and use proper help
5842         buttons.
5843         (eieio-help-find-method-definition)
5844         (eieio-help-find-class-definition): Also accept symbols as
5845         arguments.
5846         (eieio-help-mode-augmentation-maybee): Remove.
5847         (eieio-describe-class-sb): Use `describe-function'.
5848         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
5849         Add `eieio-help-generic' and `eieio-help-constructor'.
5851 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
5853         Spelling fixes.
5854         * language/china-util.el (hz-ascii-designation):
5855         Rename from hz-ascii-designnation.
5856         (hz-ascii-designation): Rename from hz-ascii-designnation.
5857         All uses changed.
5859 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5861         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
5862         package-alist.
5864 2014-01-08  Bastien Guerry  <bzg@gnu.org>
5866         * emacs-lisp/package.el (package-delete):
5867         Correctly delete the package from package-alist.
5869 2014-01-08  Daiki Ueno  <ueno@gnu.org>
5871         * emacs-lisp/package.el (url-recreate-url): Declare.
5872         (url-http-target-url): Declare.
5873         (package-handle-response): Include requested URL in the error message.
5874         (package--check-signature): Don't re-signal errors from
5875         package--with-work-buffer.  Suggested by Stefan Monnier.
5877 2014-01-07  Bastien Guerry  <bzg@gnu.org>
5879         * minibuffer.el (completion--try-word-completion): When both a
5880         hyphen and a space are possible candidates for the character
5881         following a word, display both candidates.  (Bug#15980)
5883 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
5885         * window.el (balance-windows-2): While rounding don't give a
5886         window more than the remainder.  Bug#16351, bug#16383.
5888 2014-01-07  Glenn Morris  <rgm@gnu.org>
5890         * menu-bar.el (menu-bar-help-extra-packages): Remove.
5891         (menu-bar-help-menu): Use view-external-packages instead.
5893 2014-01-07  Bastien Guerry  <bzg@gnu.org>
5895         * emacs-lisp/package.el (package-delete): Also delete the package
5896         name from `package-alist', not its description only.
5898 2014-01-07  Glenn Morris  <rgm@gnu.org>
5900         * help.el (view-external-packages):
5901         * menu-bar.el (menu-bar-help-extra-packages):
5902         Visit efaq.info rather than etc/MORE.STUFF.
5904 2014-01-07  Juri Linkov  <juri@jurta.org>
5906         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
5907         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
5909         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
5910         that shadows RET.  (Bug#16342)
5912 2014-01-07  Chong Yidong  <cyd@gnu.org>
5914         * isearch.el (isearch-yank-char, isearch-yank-word)
5915         (isearch-yank-line): Doc fix.
5917 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5919         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
5920         * emacs-lisp/elint.el (elint-find-builtins):
5921         * emacs-lisp/eldoc.el (eldoc-symbol-function):
5922         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
5923         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
5924         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5925         * apropos.el (apropos-safe-documentation):
5926         * subr.el (symbol-file): Remove redundant fboundp.
5927         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
5929 2014-01-06  Bastien Guerry  <bzg@gnu.org>
5931         * hl-line.el (global-hl-line-overlay): Make a local variable.
5932         (global-hl-line-overlays): New variable to store all overlays.
5933         (global-hl-line-mode): Don't delete overlays from the current
5934         buffer when `global-hl-line-sticky-flag' is non-nil.
5935         (global-hl-line-highlight): Add new overlays to
5936         `global-hl-line-overlays'.
5937         (global-hl-line-unhighlight-all): New function to delete all
5938         overlays when turning off `global-hl-line-mode'.
5939         This fixes Bug#16183.
5941 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5943         * subr.el (set-transient-map): Fix nested case and docstring.
5945 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
5947         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5948         `Texinfo' entry.
5950 2014-01-06  Daniel Colascione  <dancol@dancol.org>
5952         Fix defun navigation in vc log view.
5954         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5955         like `beginning-of-defun'.
5956         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5957         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
5958         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5959         (log-view-extract-comment): Call `log-view-current-entry' directly
5960         instead of relying on broken `log-view-beginning-of-defun' behavior.
5962 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
5964         Spelling fixes.
5965         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5966         * emacs-lisp/debug.el (cancel-debug-on-entry):
5967         * epg.el (epg-error-to-string):
5968         * files.el (recover-file):
5969         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5970         * mail/emacsbug.el (report-emacs-bug-hook):
5971         * mail/sendmail.el (mail-recover):
5972         * ses.el (ses-yank-resize):
5973         * term/ns-win.el (ns-print-buffer):
5974         Spelling fixes in diagnostics, mostly for "canceled" with one L.
5975         * epg.el (epg-key-capability-alist): Rename from misspelled version.
5976         All uses changed.
5977         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5979 2014-01-06  Leo Liu  <sdl.web@gmail.com>
5981         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5982         to avoid shadowing global key.  (Bug#16354)
5984 2014-01-06  Daniel Colascione  <dancol@dancol.org>
5986         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5987         rst-mode.
5989 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
5991         * window.el (balance-windows): Add mising t to fix Bug#16351.
5993 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5995         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5996         (bug#16285).
5997         (shr-insert): If we have a word that's longer than `shr-width',
5998         break after it anyway.  Otherwise we'll do no breaking once we get
5999         such a long word.
6001 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6003         * net/eww.el (eww): Support single/double quote for search.
6004         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
6005         (eww-history-quit): Delete and use quit-window.
6006         (eww-history-kill): Delete, because it doesn't work well and
6007         not necessary.
6008         (eww-history-mode-map): Delete some keys and add easy-menu.
6010 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
6012         Fix misspelling of 'chinese' in rx (Bug#16237).
6013         * emacs-lisp/rx.el (rx-categories): Correct spelling of
6014         chinese-two-byte.
6016         Change subword regexps back to vars (Bug#16296).
6017         * progmodes/subword.el (subword-forward-regexp)
6018         (subword-backward-regexp): Change these back to variables.
6020 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6022         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
6023         syntax-begin-function (bug#16247).
6025 2014-01-03  Chong Yidong  <cyd@gnu.org>
6027         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
6028         (advice--docstring): Delete variable.
6029         (advice--make-1): Leave the docstring empty.
6030         (advice-add): Use function-documentation for advised docstring.
6032         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
6033         Ignore function-documentation property when getting documentation.
6034         (ad-activate-advised-definition): Use function-documentation
6035         generate the docstring.
6036         (ad-make-advised-definition): Don't call
6037         ad-make-advised-definition-docstring.
6038         (ad-make-advised-definition-docstring, ad-advised-definition-p):
6039         Delete functions.
6041         * progmodes/sql.el (sql-help): Use function-documentation instead
6042         of dynamic-docstring-function property.  No need to autoload now.
6043         (sql--help-docstring): New variable.
6044         (sql--make-help-docstring): Use it.
6046 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6048         * ielm.el (ielm-tab): Retarget.
6049         (ielm-map): Use ielm-tab for tab.
6050         (ielm-complete-filename): Use comint-filename-completion.
6051         (ielm-complete-symbol): Remove.
6052         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
6053         remove ielm-tab from completion-at-point-functions (bug#16224).
6055         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
6056         Beware signals raised by predicates (bug#16201).
6058 2014-01-02  Richard Stallman  <rms@gnu.org>
6060         * dired-aux.el (dired-do-print): Handle printer-name.
6062         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
6063         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
6064         (rmail-epa-decrypt): Turn off mime processing.
6066         * mail/rmail.el (rmail-make-in-reply-to-field):
6067         Add parens in message-id.
6069         * mail/rmail.el (rmail-get-coding-function): Variable.
6070         (rmail-get-coding-system): Use it.
6072 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
6074         * international/mule-conf.el: Unify the charset indian-is13194.
6075         (indian-is13194): Specify unify-map.
6077 2013-12-31  Leo Liu  <sdl.web@gmail.com>
6079         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
6081 2013-12-30  Daniel Colascione  <dancol@dancol.org>
6083         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
6084         of printing a useless when we resume from sleep.
6086         * progmodes/sh-script.el
6087         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
6088         in indentation code.  (Bug#16233)
6090 2013-12-28  João Távora  <joaotavora@gmail.com>
6092         * elec-pair.el (electric-pair-post-self-insert-function):
6093         Don't open extra newlines at beginning of buffer.  (Bug#16272)
6095 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
6097         * frame.el (window-system-for-display): Don't allow to create a
6098         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
6100 2013-12-28  Glenn Morris  <rgm@gnu.org>
6102         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
6103         Update callers.
6105         * apropos.el (apropos-match-face):
6106         * calculator.el (calculator-displayer):
6107         * dabbrev.el (dabbrev-search-these-buffers-only):
6108         * face-remap.el (buffer-face-mode-face):
6109         * simple.el (yank-handled-properties):
6110         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
6111         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
6112         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
6113         (hashcash-double-spend-database):
6114         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
6115         (ruby-deep-indent-paren-style):
6116         * textmodes/flyspell.el (flyspell-auto-correct-binding):
6117         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
6118         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
6119         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
6120         Specify custom types.
6122         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
6123         * bookmark.el (bookmark-bmenu-use-header-line):
6124         * doc-view.el (doc-view-scale-internally):
6125         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
6126         * register.el (register-preview-delay):
6127         * net/shr.el (shr-bullet):
6128         * progmodes/cfengine.el (cfengine-cf-promises)
6129         (cfengine-parameters-indent):
6130         * progmodes/octave.el (inferior-octave-error-regexp-alist):
6131         * textmodes/reftex-vars.el (reftex-label-regexps):
6132         * vc/log-edit.el (log-edit-setup-add-author): Add version.
6134         * net/tls.el (tls-certtool-program): Fix default value.
6136         * desktop.el (desktop-restore-in-current-display):
6137         * newcomment.el (comment-empty-lines):
6138         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
6139         (idlwave-pad-keyword):
6140         * progmodes/tcl.el (tcl-tab-always-indent):
6141         * textmodes/reftex-vars.el (reftex-index-default-tag):
6142         * elec-pair.el (electric-pair-skip-whitespace):
6143         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
6145         * emacs-lisp/authors.el (authors-ignored-files)
6146         (authors-valid-file-names, authors-renamed-files-alist): Additions.
6148 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
6150         * shell.el (shell-dynamic-complete-command): Doc fix.
6151         (shell--command-completion-data): Shell completion now matches
6152         executable filenames from the current buffer's directory, on
6153         systems in which this behavior is the default (windows-nt, ms-dos).
6155 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
6157         * net/shr.el (shr-insert): Don't infloop if the width is zero.
6159 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6161         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
6162         (bug#16251).
6164         * electric.el: Move all electric-pair-* to elec-pair.el.
6165         * elec-pair.el: New file, split from electric.el.
6167 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
6169         * net/shr.el (shr-find-fill-point): Don't try to fill if the
6170         indentation level is larger than the width, because that will
6171         infloop.
6172         (shr-insert): Fill repeatedly long texts, so that Japanese is
6173         formatted correctly (bug#16263).
6174         (shr-find-fill-point): Off by one error in comparison with the
6175         indentation.
6177 2013-12-26  João Távora  <joaotavora@gmail.com>
6179         * electric.el (electric-pair-mode): More flexible engine for skip-
6180         and inhibit predicates, new options for pairing-related functionality.
6181         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
6182         if that keeps or improves their balance in buffers.
6183         (electric-pair-delete-adjacent-pairs): Delete the pair when
6184         backspacing over adjacent matched delimiters.
6185         (electric-pair-open-extra-newline): Open extra newline when
6186         inserting newlines between adjacent matched delimiters.
6187         (electric--sort-post-self-insertion-hook):
6188         Sort post-self-insert-hook according to priority values when
6189         minor-modes are activated.
6190         * simple.el (newline-and-indent): Call newline with interactive
6191         set to t.
6192         (blink-paren-post-self-insert-function): Set priority to 100.
6193         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6194         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
6195         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
6196         electric-pair-open-newline-between-pairs to nil.
6198 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6200         * progmodes/python.el: Use lexical-binding.
6201         (python-nav-beginning-of-defun): Stop searching ASAP.
6203 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
6205         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
6206         Fix interactive spec.  Doc fix.  (Bug#15754)
6208 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
6210         * emacs-lisp/byte-run.el (eval-when-compile):
6211         * progmodes/cc-defs.el (cc-eval-when-compile):
6212         Fix edebug spec (bug#16184).
6214 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
6216         * net/shr.el (shr-visit-file): Remove debugging function.
6217         (shr-insert): Don't infloop if we can't find a good place to break
6218         the line (bug#16256).
6220 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6222         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
6223         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
6224         python-nav-lisp-forward-sexp-safe.
6225         (python-nav--forward-sexp): New argument SAFE allows switching
6226         forward sexp movement behavior for parens.
6227         (python-nav-forward-sexp): Throw errors on unterminated parens
6228         (Bug#16191).
6229         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
6230         (python-nav-backward-sexp-safe): New functions.
6231         (python-shell-buffer-substring):
6232         Use `python-nav-forward-sexp-safe'.
6234 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
6236         * net/shr.el (shr-find-fill-point): Don't break lines before a
6237         quotation mark.
6238         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
6239         (shr-find-fill-point): Remove the special checks for the quotation
6240         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
6242 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6244         * net/eww.el (eww-form-textarea): Use a different face for
6245         textareas than text input since they have different keymaps
6246         (bug#16142).
6248 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6250         * progmodes/python.el (python-nav-beginning-of-statement):
6251         Speed up (Bug#15295).
6253 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
6255         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
6256         the window configuration.
6258 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
6260         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
6261         we run on MS-Windows or MS-DOS.
6263 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
6265         * window.el (balance-windows-area): Call window-size instead of
6266         window-height and window-width.  Bug#16241.
6268 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
6270         * net/eww.el (eww-bookmark-quit): Remove.
6271         (eww-bookmark-browse): Restore the window configuration when you
6272         choose a bookmark (bug#16144).
6274 2013-12-24  Daniel Colascione  <dancol@dancol.org>
6276         * icomplete.el: Remove redundant :group arguments to `defcustom'
6277         throughout.
6278         (icomplete-show-matches-on-no-input): New customizable variable.
6279         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
6280         we have something to show.
6281         (icomplete-exhibit): Compute completions even if we have no user input.
6283 2013-12-23  Daniel Colascione  <dancol@dancol.org>
6285         * icomplete.el: Move `provide' to end of file.
6287 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
6289         * net/gnutls.el (gnutls-verify-error): Add version tag.
6291 2013-12-23  Chong Yidong  <cyd@gnu.org>
6293         * subr.el (set-transient-map): Rename from
6294         set-temporary-overlay-map.  Doc fix.
6296         * face-remap.el (text-scale-adjust):
6297         * indent.el (indent-rigidly):
6298         * kmacro.el (kmacro-call-macro):
6299         * minibuffer.el (minibuffer-force-complete):
6300         * repeat.el (repeat):
6301         * simple.el (universal-argument--mode):
6302         * calendar/todo-mode.el (todo-insert-item--next-param):
6303         * progmodes/f90.el (f90-abbrev-start): Callers changed.
6305         * indent.el (indent-rigidly): Use substitute-command-keys.
6307 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6309         * net/eww.el (eww-tag-select): Add text-property to jump to next
6310         select field.
6311         (eww): Add non-supported ftp error.
6313 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
6315         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
6316         comments.  Handle electric indent after typing `?' and `!'.
6318 2013-12-22  Chong Yidong  <cyd@gnu.org>
6320         * faces.el (face-spec-recalc): If the theme specs are not
6321         applicable to a frame, fall back on the defface spec.
6322         This prevents themes from obliterating faces on low-color terminals.
6324 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
6326         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6327         after `{'.  We need it after block openers, and it doesn't seem
6328         to hurt after hash openers.
6330 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
6332         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
6333         extracted from `ruby-smie-rules'.
6334         (ruby--electric-indent-chars): New variable.
6335         (ruby--electric-indent-p): New function.
6336         (ruby-mode): Use `electric-indent-functions' instead of
6337         `electric-indent-chars'.
6339 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
6341         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
6342         docstring.
6343         (ruby-smie-rules): Indent plus one level after `=>'.
6345 2013-12-21  Richard Stallman  <rms@gnu.org>
6347         * simple.el (newline): Doc fix.
6349 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6351         * net/eww.el (eww-list-histories, eww-list-histories)
6352         (eww-history-browse, eww-history-quit, eww-history-kill)
6353         (eww-history-mode-map, eww-history-mode): New command and
6354         functions to list browser histories.
6355         (eww-form-text): Support text form with disabled
6356         and readonly attributes.
6357         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
6359 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6361         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
6362         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
6363         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
6364         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
6365         Use `user-error'.
6366         (eww-bookmark-mode-map): Add menu.
6367         (eww-render, eww-mode): Use `setq-local'.
6368         (eww-tool-bar-map): New variable.
6369         (eww-mode): Set `tool-bar-map'.
6370         (eww-view-source): Check for `html-mode' with `fboundp'.
6372 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6374         * net/shr.el (shr--extract-best-source): Don't bug out on audio
6375         elements with text inside.  Also remove debugging.
6377 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
6379         * cus-start.el (all): Add ns-use-srgb-colorspace.
6381 2013-12-21  Chong Yidong  <cyd@gnu.org>
6383         * custom.el (custom-theme-recalc-face): Do nothing if the face is
6384         undefined.  Thus, theme settings for undefined faces do not take
6385         effect until the faces are defined with defface, the same as with
6386         theme variables.
6388         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
6389         (face-spec-reset-face): Don't assign extra properties in temacs.
6390         (face-spec-recalc): Apply X resources too.
6392 2013-12-21  Chong Yidong  <cyd@gnu.org>
6394         * faces.el (face-spec-set):
6395         * cus-face.el (custom-theme-set-faces, custom-set-faces):
6396         * custom.el (defface): Doc fixes (Bug#16203).
6398         * indent.el (indent-rigidly-map): Add docstring, and move commands
6399         into named functions.
6400         (indent-rigidly-left, indent-rigidly-right)
6401         (indent-rigidly-left-to-tab-stop)
6402         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
6403         indentation direction based on bidi direction, and accumulate
6404         sequential commands in a single undo boundary.
6405         (indent-rigidly--pop-undo): New utility function.
6407 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
6409         * faces.el (read-face-name): Require crm.el when using crm-separator.
6411 2013-12-20  Daniel Colascione  <dancol@dancol.org>
6413         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
6414         so that we don't reflow comments into the shebang line.
6416 2013-12-20  Juri Linkov  <juri@jurta.org>
6418         * saveplace.el (save-place-to-alist): Add `dired-filename' as
6419         a position when `dired-directory' is non-nil.  Check integer
6420         positions with `integerp'.
6421         (toggle-save-place, save-places-to-alist): Add check for
6422         `dired-directory'.
6423         (save-place-find-file-hook): Check integer positions with
6424         `integerp'.
6425         (save-place-dired-hook): Use `dired-goto-file' when
6426         `dired-filename' is found in the assoc list.  Check integer
6427         positions with `integerp'.
6428         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
6430         * dired.el (dired-initial-position-hook): Rename back from
6431         `dired-initial-point-hook'.
6432         (dired-initial-position): Rename `dired-initial-point-hook' to
6433         `dired-initial-position-hook'.
6434         (dired-file-name-at-point): Doc fix.  (Bug#15329)
6436 2013-12-20  Juri Linkov  <juri@jurta.org>
6438         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
6439         (read-regexp-suggestions): New function.
6440         (read-regexp): Use `read-regexp-defaults-function' to get default values.
6441         Use `read-regexp-suggestions'.  Add non-empty default to history
6442         for empty input.
6443         (occur-read-regexp-defaults-function): Remove function.
6444         (occur-read-primary-args): Use `regexp-history-last' instead of
6445         `occur-read-regexp-defaults-function'.
6447         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
6448         (hi-lock-line-face-buffer, hi-lock-face-buffer)
6449         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
6450         `hi-lock-read-regexp-defaults-function'.  Doc fix.
6451         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
6452         with `find-tag-default-as-symbol-regexp'.  Doc fix.
6453         (hi-lock-read-regexp-defaults): Remove function.
6454         (hi-lock-regexp-okay): Add check for null.
6456         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
6457         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
6459         * subr.el (find-tag-default-as-symbol-regexp): New function.
6460         (find-tag-default-as-regexp): Move symbol regexp formatting to
6461         `find-tag-default-as-symbol-regexp'.
6463 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
6465         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
6466         (Bug#14179)
6468 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
6470         * calendar/todo-mode.el: New implementation of item insertion
6471         commands and key bindings.
6472         (todo-key-prompt): New face.
6473         (todo-insert-item): New command.
6474         (todo-insert-item--parameters): New defconst, replacing defvar
6475         todo-insertion-commands-args-genlist.
6476         (todo-insert-item--param-key-alist): New defconst, replacing
6477         defvar todo-insertion-commands-arg-key-list.
6478         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
6479         (todo-insert-item--argsleft, todo-insert-item--apply-args)
6480         (todo-insert-item--next-param): New functions.
6481         (todo-insert-item--args, todo-insert-item--argleft)
6482         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
6483         New variables.
6484         (todo-key-bindings-t): Change binding of "i" from
6485         todo-insertion-map to todo-insert-item.
6486         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
6487         (todo-insertion-command-name, todo-insertion-commands-names)
6488         (todo-define-insertion-command, todo-insertion-commands)
6489         (todo-insertion-key-bindings, todo-insertion-map): Remove.
6491 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
6493         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
6494         (todo-toggle-item-highlighting): Use eval-and-compile instead of
6495         eval-when-compile.
6496         (todo-move-category): Allow choosing a non-existing todo file to
6497         move the category to, and create that file.
6498         (todo-default-priority): New user option.
6499         (todo-set-item-priority): Use it.
6500         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
6501         (desktop-restore-file-buffer): Declare.
6502         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
6503         (todo-modes-set-2): Locally set desktop-save-buffer to
6504         todo-desktop-save-buffer.
6505         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
6506         (auto-mode-alist): Add autoload cookie.
6508 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
6510         * emacs-lisp/subr-x.el: Renamed from helpers.el.
6511         helpers.el was a poor choice of name.
6512         (string-remove-prefix): New function.
6513         (string-remove-suffix): New function.
6515 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
6517         Fix assignment for new window total sizes.
6518         * window.el (window--pixel-to-size): Remove function.
6519         (window--pixel-to-total-1, window--pixel-to-total):
6520         Fix calculation of new total sizes.
6522 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
6524         * comint.el (comint-output-filter): Fix rear-nonsticky property
6525         placement (Bug#16010).
6527 2013-12-20  Chong Yidong  <cyd@gnu.org>
6529         * faces.el (read-color): Minor fix for completion function.
6531 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
6533         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
6534         New option.  (Bug#16182)
6535         (ruby-smie--indent-to-stmt-p): Use it.
6536         (ruby-smie-rules): Revert the logic in the handling of `when'.
6537         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
6538         (ruby-deep-arglist, ruby-deep-indent-paren)
6539         (ruby-deep-indent-paren-style): Update docstrings to note that the
6540         vars don't have any effect with SMIE.
6542 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
6544         * calc/calc.el (calc-enter, calc-pop): Use the variable
6545         `calc-context-sensitive-enter'.
6547 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6549         * net/shr.el (shr-insert): Protect against infloops in degenerate
6550         tables.
6552 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6554         * progmodes/octave.el (octave): Add link to manual and octave
6555         homepage.
6556         (octave-mode-menu): Link to octave-mode manual.
6558 2013-12-20  Leo Liu  <sdl.web@gmail.com>
6560         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
6561         insertion using skeleton-end-newline.  (Bug#16138)
6563 2013-12-20  Juri Linkov  <juri@jurta.org>
6565         * replace.el (occur-engine): Use `add-face-text-property'
6566         to add the face property to matches and titles.  (Bug#14645)
6568         * hi-lock.el (hi-green): Use lighter color "light green" closer to
6569         the palette of other hi-lock colors.
6570         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
6572 2013-12-19  Juri Linkov  <juri@jurta.org>
6574         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
6575         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
6576         (minibuffer-history-symbol): Move variable declaration closer to
6577         its usage.
6579         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
6580         (Bug#14785)
6582 2013-12-19  Juri Linkov  <juri@jurta.org>
6584         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
6585         New function.
6586         (log-edit-hook): Add it to :options.  (Bug#16170)
6588 2013-12-19  Juri Linkov  <juri@jurta.org>
6590         * simple.el (eval-expression-print-format): Don't check for
6591         command names and the last command.  Always display additional
6592         formats of the integer result in the echo area, and insert them
6593         to the current buffer only with a zero prefix arg.
6594         Display character when char-displayable-p is non-nil.
6595         (eval-expression): With a zero prefix arg, set `print-length' and
6596         `print-level' to nil, and insert the integer values from
6597         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
6599         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
6600         `eval-last-sexp-arg-internal'.  Doc fix.
6601         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
6602         `eval-last-sexp-print-value'.  Doc fix.
6603         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
6604         Set `print-length' and `print-level' to nil when arg is zero.
6605         (eval-last-sexp): Doc fix.
6606         (eval-defun-2): Print the integer values from
6607         `eval-expression-print-format' at the end.
6609         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
6610         values from `eval-expression-print-format' at the end.
6612         * ielm.el (ielm-eval-input): Print the integer
6613         values from `eval-expression-print-format' at the end.
6615 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
6617         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
6618         2013-12-11T19:01:44Z!tzz@lifelogs.com.
6620 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6622         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
6623         (hl-line-highlight, global-hl-line-highlight): Use it.
6624         (hl-line-overlay): Use defvar-local.
6626 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
6628         * term/ns-win.el: Require dnd.
6629         (global-map): Remove drag items.
6630         (ns-insert-text, ns-set-foreground-at-mouse)
6631         (ns-set-background-at-mouse):
6632         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
6633         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
6634         New functions.
6636 2013-12-19  Glenn Morris  <rgm@gnu.org>
6638         * emacs-lisp/ert.el (ert-select-tests):
6639         Fix string/symbol mixup.  (Bug#16121)
6641 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
6643         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
6644         keywords to their parent.
6646 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
6648         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
6649         first arg to be a string (fixed dead code), or an operator symbol.
6650         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
6651         operator symbols.
6652         (ruby-smie-rules): Remove parent token check in the `.' clause, it
6653         did nothing.  Don't respond to `(:after ".")', it will be called
6654         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
6655         change anything.  Only return indentation for binary operators
6656         when they are hanging.  De-dent opening paren when its parent is
6657         `.', otherwise it looks bad when the dot is not at bol or eol
6658         (bug#16182).
6660 2013-12-19  Juri Linkov  <juri@jurta.org>
6662         * replace.el (query-replace-read-args): Split a non-negative arg
6663         and a negative arg into separate elements.
6664         (query-replace, query-replace-regexp, replace-string)
6665         (replace-regexp): Add arg `backward'.  Doc fix.
6666         (replace-match-maybe-edit): When new arg `backward' is non-nil,
6667         move point to the beginning of the match.
6668         (replace-search, replace-highlight): Use new arg `backward'
6669         to set the value of `isearch-forward'.
6670         (perform-replace): Add arg `backward' and use it to perform
6671         replacement backward.  (Bug#14979)
6673         * isearch.el (isearch-query-replace): Use a negative prefix arg
6674         to call `perform-replace' with a non-nil arg `backward'.
6676 2013-12-18  Juri Linkov  <juri@jurta.org>
6678         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
6679         to the default list.  Move `log-edit-show-files' to the end.
6680         Add more available functions to options.
6681         (log-edit): Move default specific settings to
6682         `log-edit-insert-message-template'.  Don't move point.
6683         (log-edit-insert-message-template): New function.
6684         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
6685         (Bug#16170)
6687 2013-12-18  Juri Linkov  <juri@jurta.org>
6689         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
6690         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
6692 2013-12-18  Leo Liu  <sdl.web@gmail.com>
6694         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
6695         (Bug#16186)
6697 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
6699         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
6700         formats for displaying file sizes when the -s switch is given.
6701         Instead, compute a separate format for displaying the size in
6702         blocks, which is displayed in addition to the "regular" size.
6703         When -h is given in addition to -s, produce size in blocks in
6704         human-readable form as well.  (Bug#16179)
6706 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
6708         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6709         Reference tables with ~\ref{...} instead of only \ref{...}.
6711 2013-12-18  Chong Yidong  <cyd@gnu.org>
6713         * cus-edit.el (custom-magic-alist): Fix "themed" description
6714         (Bug#14348).
6716         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
6717         is non-nil, do not create a new entry in the symbol's theme-value
6718         or theme-face property; update theme-settings only (Bug#14664).
6719         (custom-available-themes): Doc fix.
6721         * cus-theme.el (custom-new-theme-mode-map): Add bindings
6722         (Bug#15674).
6724         * replace.el (occur-engine): Avoid infloop (Bug#7593).
6726 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
6728         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
6729         (Bug#13914).
6731 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
6733         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
6735 2013-12-18  Glenn Morris  <rgm@gnu.org>
6737         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
6738         * cus-start.el (load-prefer-newer): New option.
6740 2013-12-18  Le Wang  <l26wang@gmail.com>
6742         * comint.el (comint-previous-matching-input-from-input):
6743         Retain point (Bug#13404).
6745 2013-12-18  Chong Yidong  <cyd@gnu.org>
6747         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
6749 2013-12-18  Glenn Morris  <rgm@gnu.org>
6751         * mail/emacsbug.el (report-emacs-bug):
6752         Only mention enable-multibyte-characters if non-standard.
6754 2013-12-17  Juri Linkov  <juri@jurta.org>
6756         * arc-mode.el (archive-extract-by-file): Check if directory exists
6757         before deletion to not show irrelevant errors if it doesn't exist.
6759 2013-12-17  Juri Linkov  <juri@jurta.org>
6761         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
6762         (Bug#14751)
6764         * net/eww.el (browse-web): Add alias to `eww'.
6765         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
6766         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
6768         * net/browse-url.el (browse-url-browser-function): Move `eww'
6769         closer to similar functions.
6771         * startup.el (fancy-startup-screen, fancy-about-screen):
6772         Set browse-url-browser-function to eww-browse-url locally.
6773         (Bug#14751)
6775 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6777         * window.el (window--pixel-to-total): Remove unused `mini' var.
6778         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
6779         (split-window): Remove unused `new' var.
6780         (window--display-buffer): Remove unused `frame' and `delta' vars.
6781         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
6782         and display-width'.
6784 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
6786         * dired.el (dired-mark-pop-up):
6787         * register.el (register-preview): Don't bind
6788         split-height-threshold here since it's now done in
6789         display-buffer-below-selected.
6791 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
6793         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
6794         xterm-rgb-convert-to-16bit.
6795         (rxvt-register-default-colors): Standardize with
6796         xterm-register-default-colors (Bug#14078).
6798 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
6800         * simple.el (kill-region): Pass mark first, then point, so that
6801         kill-append works right (Bug#12819).
6802         (copy-region-as-kill, kill-ring-save): Likewise.
6804 2013-12-17  Leo Liu  <sdl.web@gmail.com>
6806         * net/rcirc.el (rcirc-add-face):
6807         * eshell/em-prompt.el (eshell-emit-prompt):
6808         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
6809         (Bug#16167)
6811 2013-12-17  Chong Yidong  <cyd@gnu.org>
6813         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
6814         Suggested by Xue Fuqiao.
6816 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
6818         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
6820 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6822         * net/shr.el (shr-insert-document): Remove unused var
6823         `shr-preliminary-table-render'.
6824         (shr-rescale-image): Remove unused arg `force'.
6825         (shr-put-image): Update calls accordingly.
6826         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
6828 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
6830         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
6831         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
6832         :close-all, to see which indentation method to use (Bug#16116).
6833         (smie-rules-function): Document the method :close-all.
6835 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6837         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
6839         * net/eww.el (eww-display-html): If we can't find the anchor we're
6840         looking for, then go to point-min.
6842 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
6844         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
6845         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
6846         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
6847         Expand dir too, in case it's relative.
6849 2013-12-16  Juri Linkov  <juri@jurta.org>
6851         * desktop.el (desktop-auto-save-timeout): Change default to
6852         `auto-save-timeout'.  Doc fix.
6853         (desktop-save): Skip the timestamp in desktop-saved-frameset
6854         when checking for auto-save changes.
6855         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
6856         `desktop-auto-save' is called repeatedly by the idle timer.
6857         (desktop-auto-save-set-timer): Replace `run-with-timer' with
6858         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
6859         (Bug#15331)
6861 2013-12-16  Juri Linkov  <juri@jurta.org>
6863         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
6864         (Bug#16035)
6865         (isearch-pre-command-hook): Check `this-command' for symbolp.
6867 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6869         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
6871 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
6873         * progmodes/cfengine.el (cfengine3--current-word): Remove.
6874         (cfengine3--current-function): Bring in the current-function
6875         functionality from `cfengine3--current-word'.
6876         (cfengine3-completion-function): Bring in the
6877         bounds-of-current-word functionality from
6878         `cfengine3--current-word'.
6880 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
6882         * window.el (display-buffer-below-selected):
6883         Bind split-height-threshold to 0 as suggested by Juri Linkov.
6885 2013-12-16  Leo Liu  <sdl.web@gmail.com>
6887         * progmodes/compile.el (compile-goto-error): Do not push-mark.
6888         Remove NOMSG arg and all uses changed.
6890 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6892         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
6893         (cua--deactivate-rectangle): Don't deactivate the mark.
6894         (cua-set-rectangle-mark): Don't set mark-active since
6895         cua--activate-rectangle already does it for us.
6896         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
6897         non-rectangular region.
6899         * emulation/cua-base.el (cua-repeat-replace-region):
6900         Use with-current-buffer.
6902         * net/gnutls.el: Use cl-lib.
6903         (gnutls-negotiate): `mapcan' -> cl-mapcan.
6905 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
6907         * emacs-lisp/package.el (package-built-in-p): Support both
6908         built-in and the package.el converted package descriptions.
6909         (package-show-package-list): Allow keywords.
6910         (package-keyword-button-action): Use it instead of
6911         `finder-list-matches'.
6912         (package-menu-filter-interactive): Interactive filtering (by
6913         keyword) function.
6914         (package-menu--generate): Support keywords and change keymappings
6915         and headers when they are given.
6916         (package--has-keyword-p): Helper function.
6917         (package-menu--refresh): Use it.
6918         (package--mapc): Helper function.
6919         (package-all-keywords): Use it.
6920         (package-menu-mode-map): Set up menu items and keybindings to
6921         provide a filtering UI.
6923 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
6925         * net/gnutls.el (gnutls-verify-error): New defcustom to control
6926         the behavior when a certificate fails validation.  Defaults to
6927         old behavior: never abort, just warn.
6928         (gnutls-negotiate): Use it.
6930 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
6932         * window.el (display-buffer-below-selected): Never split window
6933         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
6935 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
6937         * emacs-lisp/package.el (package--prepare-dependencies): New function.
6938         (package-buffer-info): Use it (bug#15108).
6940 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6942         * icomplete.el (icomplete-completions): Make sure the prefix is already
6943         displayed elsewhere before hiding it (bug#16219).
6945 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
6947         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6948         open-paren tokens when preceded by a open-paren, too.
6949         (ruby-smie-rules): Handle virtual indentation after open-paren
6950         tokens specially.  If there is code between it and eol, return the
6951         column where is starts (Bug#16118).
6953 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
6955         * progmodes/cfengine.el: Fix `add-hook' doc.
6956         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6957         (cfengine3--current-word): Fix parameters.
6958         (cfengine3-make-syntax-cache): Simplify further.
6959         (cfengine3-completion-function, cfengine3--current-function):
6960         Use `assq' for symbols.
6961         (cfengine3--current-function): Fix `cfengine3--current-word' call.
6963 2013-12-13  Glenn Morris  <rgm@gnu.org>
6965         * loadup.el (load-path): Warn if site-load or site-init changes it.
6966         No more need to reset it when bootstrapping.
6968 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
6970         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6971         locations for cf-promises.
6972         (cfengine-mode-syntax-functions-regex): New caching variable.
6973         (cfengine3-fallback-syntax): Fallback syntax for cases where
6974         cf-promises doesn't run.
6975         (cfengine3--current-word): Reimplement using
6976         `cfengine-mode-syntax-functions-regex'.
6977         (cfengine3-completion-function, cfengine3--current-function):
6978         Use `cfengine3-make-syntax-cache' directly.
6979         (cfengine3-clear-syntax-cache): New function.
6980         (cfengine3-make-syntax-cache): Simplify and create
6981         `cfengine-mode-syntax-functions-regex' on demand.
6982         (cfengine3-format-function-docstring): Don't call
6983         `cfengine3-make-syntax-cache' explicitly.
6985 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
6987         Fix windmove-find-other-window broken after pixelwise resizing
6988         (Bug#16017).
6989         * windmove.el (windmove-other-window-loc): Revert change from
6990         2013-12-04.
6991         (windmove-find-other-window): Call window-in-direction.
6992         * window.el (window-in-direction): New arguments SIGN, WRAP and
6993         MINI to emulate original windmove-find-other-window behavior.
6995 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
6997         * simple.el (blink-matching--overlay): New variable.
6998         (blink-matching-open): Instead of moving point, highlight the
6999         matching paren with an overlay
7000         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
7002         * faces.el (paren-showing-faces, show-paren-match)
7003         (show-paren-mismatch): Move from paren.el.
7005 2013-12-13  Leo Liu  <sdl.web@gmail.com>
7007         * indent.el (indent-region): Disable progress reporter in
7008         minibuffer.  (Bug#16108)
7010         * bindings.el (visual-order-cursor-movement): Fix version.
7012 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7014         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
7015         Also match after beginning of line.
7016         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
7017         files.  Thanks to Russell Sim.  (Bug#15378)
7019 2013-12-13  Juri Linkov  <juri@jurta.org>
7021         * simple.el <Keypad support>: Remove key bindings duplicated
7022         with bindings.el.  (Bug#14397)
7024 2013-12-13  Juri Linkov  <juri@jurta.org>
7026         * comint.el (comint-mode-map): Replace `delete-char' with
7027         `delete-forward-char'.  (Bug#16109)
7029 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7031         * progmodes/python.el (python-indent-calculate-indentation):
7032         Fix de-denters cornercase.  (Bug#15731)
7034 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7036         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
7037         (advice--make): Pay attention to `depth'.
7038         (advice--make-1): Don't autoload commands eagerly.
7039         * emacs-lisp/elp.el (elp-instrument-function):
7040         * emacs-lisp/trace.el (trace-function-internal):
7041         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
7043         * iswitchb.el (iswitchb-mode): Don't belittle ido.
7045 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
7047         * term/w32-win.el (w32-handle-dropped-file):
7048         * startup.el (normal-top-level):
7049         * net/browse-url.el (browse-url-file-url):
7050         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
7051         decode file names using 'utf-8' rather than
7052         file-name-coding-system.
7054 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7056         * progmodes/python.el (python-indent-context)
7057         (python-indent-calculate-indentation): Fix auto-identation
7058         behavior for comment blocks.  (Bug#15916)
7060 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7062         * progmodes/python.el (python-indent-calculate-indentation):
7063         When determining indentation, don't treat "return", "pass", etc., as
7064         operators when they are just string constituents.  (Bug#15812)
7066 2013-12-12  Juri Linkov  <juri@jurta.org>
7068         * uniquify.el (uniquify-buffer-name-style): Change default to
7069         `post-forward-angle-brackets'.
7071         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
7072         `uniquify'.  Change default to `post-forward-angle-brackets'.
7074 2013-12-11  Glenn Morris  <rgm@gnu.org>
7076         * emacs-lisp/package.el (finder-list-matches):
7077         Autoload rather than falsely declaring.
7079 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
7081         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
7082         (eww-mode-map): Use them.
7084 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
7086         * window.el (display-buffer-in-side-window): Fix doc-string
7087         (Bug#16115).
7089 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
7091         * vc/vc-git.el: Silence byte-compiler warnings.
7092         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
7093         (log-edit-set-header): Declare.
7095 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
7097         * Makefile.in (custom-deps, finder-data): Run output file names
7098         through unmsys--file-name.  (Bug#16099)
7100 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7102         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
7103         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7105         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
7106         instead of deleting the selection "by hand" (bug#16098).
7107         Rely on insert-for-yank to yank rectangles.
7108         (cua-highlight-region-shift-only): Mark obsolete.
7109         (cua-mode): Don't enable/disable transient-mark-mode,
7110         shift-select-mode (cua-mode works both with and without them), and
7111         pc-selection-mode (obsolete).
7112         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
7113         (cua--deactivate-rectangle): Deactivate it.
7115         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
7116         (delete-selection-helper): Make sure yank starts at the top of the
7117         deleted region.
7118         (minibuffer-keyboard-quit): Use region-active-p.
7120         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
7122         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
7123         to `delete' (bug#16109).
7125 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7127         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
7128         info manual and show keybindings and set `:group' keyword.
7130 2013-12-11  Juri Linkov  <juri@jurta.org>
7132         * delsel.el (delete-active-region): Let-bind `this-command'
7133         to prevent `kill-region' from changing its original value.
7134         (delete-selection-helper): Handle `overwrite-mode' for the type
7135         `kill' exactly the same way as for the type `t'.
7136         (insert-char, quoted-insert, reindent-then-newline-and-indent):
7137         Support more commands.  (Bug#13312)
7139 2013-12-11  Juri Linkov  <juri@jurta.org>
7141         * bindings.el: Map kp keys to non-kp keys systematically
7142         with basic modifiers control, meta and shift.  (Bug#14397)
7144 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
7146         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
7147         "Close browser" menu items.  Fix wrong function of "List
7148         bookmarks".
7150 2013-12-11  Juri Linkov  <juri@jurta.org>
7152         * misearch.el (multi-isearch-buffers): Set the value of
7153         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
7154         arg of isearch-forward to t.
7155         (multi-isearch-buffers-regexp): Set the value of
7156         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
7157         arg of isearch-forward-regexp to t.
7158         (multi-isearch-files): Set the value of
7159         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
7160         arg of isearch-forward to t.
7161         (multi-isearch-files-regexp): Set the value of
7162         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
7163         arg of isearch-forward-regexp to t.  (Bug#16035)
7165         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
7166         arg of isearch-forward to t.
7167         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
7168         arg of isearch-forward-regexp to t.
7169         (dired-isearch-filter-filenames): Remove unnecessary check for
7170         `dired-isearch-filenames'.
7172         * comint.el (comint-history-isearch-backward):
7173         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
7174         (comint-history-isearch-backward-regexp):
7175         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
7177 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
7179         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
7180         unmsys--file-name.  (Bug#16099)
7182 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
7184         * emacs-lisp/package.el (package-keyword-button-action):
7185         Remove finder.el require dependency.
7187 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
7189         * emacs-lisp/package.el: Require finder.el.
7190         (describe-package-1): Add keyword buttons.
7191         (package-make-button): New convenience function.
7192         (package-keyword-button-action): Keyword button action using
7193         `finder-list-matches'.
7195 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
7197         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
7198         last commit.
7200 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
7202         * autorevert.el (auto-revert-notify-add-watch): Do not handle
7203         symlinked files.
7205 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
7207         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
7208         after the end of a percent literal.
7210 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
7212         * progmodes/ruby-mode.el (ruby-forward-string): Document.
7213         Handle caret-delimited strings (Bug#16079).
7215 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
7217         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
7218         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
7219         `ruby-parse-partial' (Bug#16078).
7221 2013-12-09  Leo Liu  <sdl.web@gmail.com>
7223         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
7225 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
7227         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
7228         (js-switch-indent-offset): New option.
7229         (js--proper-indentation): Use it.  And handle the case when
7230         "default" is actually a key in an object literal.
7231         (js--same-line): New function.
7232         (js--multi-line-declaration-indentation): Use it.
7233         (js--indent-in-array-comp, js--array-comp-indentation):
7234         New functions.
7235         (js--proper-indentation): Use them, to handle array comprehension
7236         continuations.
7238 2013-12-08  Leo Liu  <sdl.web@gmail.com>
7240         * progmodes/flymake.el (flymake-highlight-line): Re-write.
7241         (flymake-make-overlay): Remove arg MOUSE-FACE.
7242         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
7244 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7246         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
7247         New function.
7248         (redisplay-highlight-region-function): Use it.
7250         * emulation/cua-base.el (cua--explicit-region-start)
7251         (cua--last-region-shifted): Remove.
7252         (cua--deactivate): Use deactivate-mark.
7253         (cua--pre-command-handler-1): Don't handle shift-selection.
7254         (cua--post-command-handler-1): Don't change transient-mark-mode.
7255         (cua--select-keymaps): Use region-active-p rather than
7256         cua--explicit-region-start or cua--last-region-shifted.
7257         (cua-mode): Enable shift-select-mode.
7259 2013-12-08  Leo Liu  <sdl.web@gmail.com>
7261         * progmodes/flymake.el (flymake-popup-current-error-menu):
7262         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
7263         (flymake-posn-at-point-as-event, flymake-popup-menu)
7264         (flymake-make-emacs-menu): Remove.  (Bug#16077)
7266 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7268         * rect.el (rectangle-mark-mode): Activate mark even if
7269         transient-mark-mode is off (bug#16066).
7270         (rectangle--highlight-for-redisplay): Fix boundary condition when point
7271         is > mark and at bolp.
7273         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
7274         (region-extract-function): Use it.
7275         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
7276         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
7277         Delete functions.
7278         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
7279         kill-ring-save, kill-region, delete-char, delete-forward-char.
7280         Ignore self-insert-iso.
7282         * emulation/cua-gmrk.el (cua--init-global-mark):
7283         Ignore `self-insert-iso'.
7285         * emulation/cua-base.el (cua--prefix-copy-handler)
7286         (cua--prefix-cut-handler): Rely on region-extract-function rather than
7287         checking cua--rectangle.
7288         (cua-delete-region): Use region-extract-function.
7289         (cua-replace-region): Delete function.
7290         (cua-copy-region, cua-cut-region): Obey region-extract-function.
7291         (cua--pre-command-handler-1): Don't do the delete-selection thing.
7292         (cua--self-insert-char-p): Ignore `self-insert-iso'.
7293         (cua--init-keymaps): Don't remap delete-selection commands.
7294         (cua-mode): Use delete-selection-mode instead of rolling our own
7295         (bug#16085).
7297         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
7298         Obey region-extract-function.
7300         Make registers and delete-selection-mode work on rectangles.
7301         * register.el (describe-register-1): Don't modify the register's value.
7302         (copy-to-register): Obey region-extract-function.
7303         * delsel.el (delete-active-region): Obey region-extract-function.
7305 2013-12-08  Leo Liu  <sdl.web@gmail.com>
7307         * progmodes/flymake.el (flymake, flymake-error-bitmap)
7308         (flymake-warning-bitmap, flymake-fringe-indicator-position)
7309         (flymake-compilation-prevents-syntax-check)
7310         (flymake-start-syntax-check-on-newline)
7311         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
7312         (flymake-start-syntax-check-on-find-file, flymake-log-level)
7313         (flymake-xml-program, flymake-master-file-dirs)
7314         (flymake-master-file-count-limit)
7315         (flymake-allowed-file-name-masks): Relocate.
7316         (flymake-makehash, flymake-float-time)
7317         (flymake-replace-regexp-in-string, flymake-split-string)
7318         (flymake-get-temp-dir): Remove.
7319         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
7320         (flymake-current-row, flymake-selected-frame)
7321         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
7322         related functions.  (Bug#16077)
7324 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
7326         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
7328 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
7330         * help-fns.el (describe-function-1): Use new advice-* functions
7331         rather than old ad-* functions.  Fix function type description and
7332         source links for advised functions and subrs.
7334 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7336         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
7338 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
7340         * progmodes/compile.el (compilation-start):
7341         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
7343         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7344         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
7346 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
7348         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7349         Touch up the last change.
7351 2013-12-06  Leo Liu  <sdl.web@gmail.com>
7353         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
7354         (inferior-octave-startup): Always use "octave> " for prompt.
7355         (octave-goto-function-definition)
7356         (octave-sync-function-file-names)
7357         (octave-find-definition-default-filename): Remove redundant backquotes.
7359 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
7361         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
7362         syntax for `?'.
7363         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
7364         where appropriate already.
7365         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
7366         end of method names (Bug#15874).
7368 2013-12-06  Juri Linkov  <juri@jurta.org>
7370         * isearch.el (isearch--saved-overriding-local-map):
7371         New internal variable.
7372         (isearch-mode): Set it to the initial value of
7373         `overriding-terminal-local-map'.
7374         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
7375         with `isearch--saved-overriding-local-map'.  (Bug#16035)
7377 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
7379         * progmodes/octave.el (inferior-octave-completion-table):
7380         Turn back into function, use `completion-table-with-cache'
7381         (Bug#11906).  Update all references.
7383         * minibuffer.el (completion-table-with-cache): New function.
7385 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
7387         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
7389 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
7391         * net/eww.el (eww-current-source): New variable to store page
7392         source.
7393         (eww-display-html, eww-mode, eww-save-history)
7394         (eww-restore-history): Use it.
7395         (eww-view-source): New command to view page source.
7396         Opportunistically uses `html-mode' to highlight the buffer.
7397         (eww-mode-map): Install it.
7399 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
7401         * net/dbus.el (dbus-unregister-service)
7402         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
7403         Fix docstring.
7404         (dbus-unregister-service): Skip :serial entries in
7405         `dbus-registered-objects-table'.
7406         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
7408 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
7410         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
7411         around keywords with extra `split-string' argument.
7413 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
7415         * windmove.el (windmove-other-window-loc): Handle navigation
7416         between windows (excluding the minibuffer window - Bug#16017).
7418 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
7420         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
7421         in D-Bus type syntax.
7422         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
7423         preserve unibyte strings.  (Bug#16048)
7425 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7427         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
7428         Call force-mode-line-update is the proper buffer (bug#16042).
7430 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
7432         * vc/log-edit.el (log-edit-add-new-comment): Rename to
7433         `log-edit-remember-comment', make argument optional.  Adjust all
7434         callers.
7435         (log-edit-mode): Add `log-edit-remember-comment' to
7436         `kill-buffer-hook' locally.
7437         (log-edit-kill-buffer): Don't remember comment explicitly since
7438         the buffer is killed anyway.
7440 2013-12-04  Juri Linkov  <juri@jurta.org>
7442         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
7443         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
7445 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
7447         * notifications.el (notifications-close-notification): Call the
7448         D-Bus method with ID being a `:uint32'.  (Bug#16030)
7450 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
7452         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
7454 2013-12-03  Juri Linkov  <juri@jurta.org>
7456         * progmodes/compile.el (compilation-start): Rename window alist
7457         entry `no-display-ok' to `allow-no-window'.
7459         * simple.el (shell-command): Add window alist entry
7460         `allow-no-window' to `display-buffer'.
7461         (async-shell-command): Doc fix.
7463         * window.el (display-buffer-no-window): New action function.
7464         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
7466 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
7468         * vc/log-edit.el (log-edit-set-header): Extract from
7469         `log-edit-toggle-header'.
7470         (log-edit-extract-headers): Separate the summary, when extracted
7471         from header, from the rest of the message with an empty line.
7473         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
7474         line, if present, to the Summary header.
7476 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7478         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
7479         in current-buffer (bug#16029).
7481 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
7483         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
7484         (debugger-mode-map): Bind it.
7485         (debugger--backtrace-base): New function.
7486         (debugger-eval-expression): Use it.
7487         (debugger-frame-number): Skip local vars when present.
7488         (debugger--locals-visible-p, debugger--insert-locals)
7489         (debugger--show-locals, debugger--hide-locals): New functions.
7491 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
7493         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
7494         "LC_ALL".
7495         (tramp-get-remote-locale): New defun.
7496         (tramp-open-connection-setup-interactive-shell): Use it.
7498 2013-12-02  Leo Liu  <sdl.web@gmail.com>
7500         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
7502         * progmodes/sh-script.el (sh-shell-process):
7503         * progmodes/octave.el (inferior-octave-process-live-p):
7504         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
7505         (gdb-inferior-io-sentinel):
7506         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
7508 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
7510         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
7511         `save-selected-window' to `log-edit-hide-buf'.  This makes
7512         `log-edit-show-files' idempotent.
7513         (log-edit-show-files): Mark the new window as dedicated.
7515 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
7517         * vc/log-edit.el (log-edit-mode-map): Add binding for
7518         `log-edit-kill-biffer'.
7519         (log-edit-hide-buf): Add a FIXME comment.
7520         (log-edit-add-new-comment): New function, extracted from
7521         `log-edit-done'.
7522         (log-edit-done, log-edit-add-to-changelog): Use it.
7523         (log-edit-kill-buffer): New command.
7525 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7527         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
7528         instead of killing the buffer.
7530 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7532         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
7534 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7536         * net/eww.el (eww-form-checkbox-selected-symbol)
7537         (eww-form-checkbox-symbol): New customizable variable.
7538         (eww-form-checkbox, eww-toggle-checkbox):
7539         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
7541         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
7542         (shr--get-media-pref, shr--extract-best-source): New function.
7543         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
7544         no :src tag was specified.
7546         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
7547         (eww-render): Handle `eww-use-external-browser-for-content-type'.
7548         Use \\` to match beginning of string instead of ^.
7549         (eww-browse-with-external-browser): Provide optional URL parameter.
7550         (eww-render): Set `eww-current-title' back to "".
7552         * net/shr.el (shr-tag-video): Display content for video if no
7553         poster is available.
7554         (shr-tag-audio): Add support for <audio> tag.
7556         * net/eww.el (eww-text-input-types): New const.
7557         (eww-process-text-input): Treat input types in
7558         `eww-text-input-types' as text.
7560         * net/shr.el (shr-tag-table): Fix comment typo.
7562 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7564         * net/eww.el (eww-follow-link): New command to avoid reloading
7565         pages when we follow #target links (bug#15243).
7566         (eww-quit): Special mode buffers shouldn't query before exiting.
7568 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
7570         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
7571         forms.
7573 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7575         * net/eww.el (eww-restore-history): Update the window title after
7576         moving in the history.
7577         (eww-current-dom): New variable used to save the current DOM.
7579 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
7581         * vc/log-edit.el (log-edit-mode-map): Add binding for
7582         `log-edit-beginning-of-line'.
7583         (log-edit-setup-add-author): New user option.
7584         (log-edit-beginning-of-line): New command.
7585         (log-edit): Move major mode call above the contents setup so that
7586         the local variable values are already applied.
7587         (log-edit): Only insert "Author: " when
7588         `log-edit-setup-add-author' is non-nil.
7589         (log-edit): When SETUP is non-nil, position point after ": "
7590         instead of point-min.
7592 2013-12-01  Glenn Morris  <rgm@gnu.org>
7594         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
7596 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
7598         * startup.el (fancy-splash-frame): On MS-Windows, trigger
7599         redisplay to make sure the initial frame gets a chance to become
7600         visible.  (Bug#16014)
7602 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
7604         Support resizing frames and windows pixelwise.
7605         * cus-start.el (frame-resize-pixelwise)
7606         (window-resize-pixelwise): New entries.
7607         * emacs-lisp/debug.el (debug): Use window-total-height instead
7608         of window-total-size.
7609         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
7610         * help.el (describe-bindings-internal): Use help-buffer as
7611         argument for with-help-window.
7612         (temp-buffer-max-width): New option.
7613         (resize-temp-buffer-window, help-window-setup)
7614         (with-help-window): Rewrite.
7615         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
7616         dragging dividers.
7617         * window.el (frame-char-size, window-min-pixel-height)
7618         (window-safe-min-pixel-height, window-safe-min-pixel-width)
7619         (window-min-pixel-width, window-safe-min-pixel-size)
7620         (window-combination-p, window-safe-min-size)
7621         (window-resizable-p, window--size-to-pixel)
7622         (window--pixel-to-size, window--resize-apply-p): New functions.
7623         (window-safe-min-height): Fix doc-string.
7624         (window-size, window-min-size, window--min-size-1)
7625         (window-sizable, window-sizable-p, window--min-delta-1)
7626         (window-min-delta, window--max-delta-1, window-max-delta)
7627         (window--resizable, window--resizable-p, window-resizable)
7628         (window-full-height-p, window-full-width-p, window-at-side-p)
7629         (window--in-direction-2, window-in-direction)
7630         (window--resize-reset-1, window--resize-mini-window)
7631         (window-resize, window-resize-no-error)
7632         (window--resize-child-windows-normal)
7633         (window--resize-child-windows, window--resize-siblings)
7634         (window--resize-this-window, window--resize-root-window)
7635         (window--resize-root-window-vertically)
7636         (adjust-window-trailing-edge, enlarge-window, shrink-window)
7637         (maximize-window, minimize-window, delete-window)
7638         (quit-restore-window, window-split-min-size, split-window)
7639         (balance-windows-2, balance-windows)
7640         (balance-windows-area-adjust, balance-windows-area)
7641         (window--state-get-1, window-state-get, window--state-put-1)
7642         (window--state-put-2, window-state-put)
7643         (display-buffer-record-window, window--display-buffer):
7644         Make functions handle pixelwise sizing of windows.
7645         (display-buffer--action-function-custom-type)
7646         (display-buffer-fallback-action):
7647         Add display-buffer-in-previous-window.
7648         (display-buffer-use-some-window): Resize window to height it had
7649         before.
7650         (fit-window-to-buffer-horizontally): New option.
7651         (fit-frame-to-buffer): Describe new values.
7652         (fit-frame-to-buffer-bottom-margin): Replace with
7653         fit-frame-to-buffer-margins.
7654         (window--sanitize-margin): New function.
7655         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
7656         using window-text-pixel-size.
7658 2013-11-30  Glenn Morris  <rgm@gnu.org>
7660         * emacs-lisp/bytecomp.el (byte-compile-form):
7661         Make the `interactive-only' warning like the `obsolete' one.
7662         * comint.el (comint-run):
7663         * files.el (insert-file-literally, insert-file):
7664         * replace.el (replace-string, replace-regexp):
7665         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
7666         (goto-line, insert-buffer, next-line, previous-line):
7667         Tweak `interactive-only' spec.
7669         Stop keeping (most) generated cedet grammar files in the repository.
7670         * Makefile.in (semantic): New.
7671         (compile-main): Depend on semantic.
7673 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7675         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
7676         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
7678         * uniquify.el (uniquify-buffer-name-style): Change default.
7680         * loadup.el: Preload "uniquify".
7682         * time.el (display-time-update): Update all mode lines (bug#15999).
7684         * electric.el (electric-indent-mode): Enable by default.
7685         * loadup.el: Preload "electric".
7687 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
7689         * emacs-lisp/helpers.el (string-empty-p): New function.
7690         (string-blank-p): New function.
7692 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
7694         * imenu.el (imenu--index-alist): Add missing dot to the docstring
7695         (Bug#14029).
7697 2013-11-29  Andreas Politz  <politza@fh-trier.de>
7698         * imenu.el (imenu--subalist-p): Don't error on non-conses and
7699         allow non-lambda lists as functions.
7700         (imenu--in-alist): Don't recurse into non-subalists.
7701         (imenu): Don't pass function itself as an argument (Bug#14029).
7703 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7705         * progmodes/python.el (python-mode-map): Remove binding for ":".
7706         (python-indent-electric-colon): Remove command.
7707         (python-indent-post-self-insert-function): Integrate the previous code
7708         of python-indent-electric-colon.  Make it conditional on
7709         electric-indent-mode.
7710         (python-mode): Add ?: to electric-indent-chars.
7711         Move python-indent-post-self-insert-function to the end of
7712         post-self-insert-hook.
7714 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7716         * doc-view.el (doc-view-goto-page): Update mode-line.
7718         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
7720 2013-11-27  Glenn Morris  <rgm@gnu.org>
7722         * international/charprop.el, international/uni-bidi.el:
7723         * international/uni-category.el, international/uni-combining.el:
7724         * international/uni-comment.el, international/uni-decimal.el:
7725         * international/uni-decomposition.el, international/uni-digit.el:
7726         * international/uni-lowercase.el, international/uni-mirrored.el:
7727         * international/uni-name.el, international/uni-numeric.el:
7728         * international/uni-old-name.el, international/uni-titlecase.el:
7729         * international/uni-uppercase.el:
7730         Remove generated files from VCS repository.
7732 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
7734         * filenotify.el (file-notify-add-watch): Don't special-case
7735         w32notify when computing the directory to watch.
7737 2013-11-27  Glenn Morris  <rgm@gnu.org>
7739         Make bootstrap without generated uni-*.el files possible again.
7740         * loadup.el: Update command-line-args checking for unidata-gen.
7741         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
7742         * composite.el, international/characters.el:
7743         Handle unicode tables being undefined.
7745         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
7746         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
7747         (compile-main): Depend on leim rule.
7748         (leim): New rule.
7749         * loadup.el: Move leim-list.el to leim/ subdirectory.
7750         * startup.el (normal-top-level): No more leim directory.
7751         * international/ja-dic-cnv.el (skkdic-convert):
7752         Disable version-control and autoloads in output files.
7753         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
7754         Disable version-control and autoloads in output files.
7755         * leim/quail: Move here from ../leim.
7756         * leim/quail/hangul.el (hangul-input-method-activate):
7757         Add autoload cookie.
7758         (generated-autoload-load-name): Set file-local value.
7759         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
7760         (generated-autoload-load-name): Set file-local value.
7762 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
7764         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7765         (eww-add-bookmark): Ask confirmation when add to bookmarks.
7766         (eww-quit): Ask confirmation before quitting eww.
7768 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
7770         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
7771         reading output from Diff on MS-Windows and MS-DOS.
7773 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
7775         * emacs-lisp/helpers.el (string-reverse): New function.
7777 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
7779         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
7780         names on MS Windows, like "/[::1]:".
7782         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
7783         SWITCHES.
7785 2013-11-26  Glenn Morris  <rgm@gnu.org>
7787         * progmodes/python.el (python-indent-guess-indent-offset):
7788         Avoid corner-case error.  (Bug#15975)
7790         Preload leim-list.el.  (Bug#4789)
7791         * loadup.el: Load leim-list.el when found.
7792         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
7794 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
7796         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
7798         * emacs-lisp/helpers.el (string-join): New function.
7800 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
7802         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7803         Mark as obsolete and replace it with a symbol property.
7804         (byte-compile-form): Use new 'interactive-only property.
7805         * comint.el, files.el, replace.el, simple.el:
7806         Apply new 'interactive-only properly.
7808 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
7810         * window.el (display-buffer-at-bottom): Make sure that
7811         split-window-sensibly creates the new window on bottom
7812         (Bug#15961).
7814 2013-11-23  David Kastrup  <dak@gnu.org>
7816         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
7817         on the conflict markers when available.
7818         (smerge--get-marker): New function.
7819         (smerge-end-re, smerge-base-re): Add subgroup.
7821 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7823         * frame.el (handle-focus-in, handle-focus-out): Add missing
7824         interactive spec.
7826 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
7828         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7829         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
7831 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7833         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
7834         (gomoku--last-pos): New var.
7835         (gomoku--intangible-chars): New const.
7836         (gomoku--intangible): New function.
7837         (gomoku-mode): Use it.  Derive from special-mode.
7838         (gomoku-move-up): Adjust line count.
7839         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
7840         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
7841         Simplify accordingly.
7843         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
7844         Remove blink-cursor code.
7845         (blink-cursor-timer-function, blink-cursor-suspend):
7846         Don't special-case GUIs.
7847         (blink-cursor-mode): Use focus-in/out-hook.
7849 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
7851         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
7852         work when annotation is invisible (Bug#13886).
7854 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
7856         * json.el (json-alist-p): Only return non-nil if the alist has
7857         simple keys (Bug#13518).
7859 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
7861         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
7862         when control-statement is the first statement in a buffer (Bug#15956).
7864 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
7866         * imenu.el (imenu-generic-skip-comments-and-strings):
7867         New option (Bug#15560).
7868         (imenu--generic-function): Use it.
7870 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
7872         * minibuffer.el (completion--in-region-1): Scroll the correct window.
7873         (Bug#13898)
7875 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
7877         * emacs-lisp/helpers.el: Add some string helpers.
7878         (string-trim-left): Removes leading whitespace.
7879         (string-trim-right): Removes trailing whitespace.
7880         (string-trim): Removes leading and trailing whitespace.
7882         * subr.el (string-suffix-p): New function.
7884 2013-11-23  Glenn Morris  <rgm@gnu.org>
7886         * progmodes/python.el (python-shell-send-file):
7887         Add option to delete file when done.  (Bug#15647)
7888         (python-shell-send-string, python-shell-send-region): Use it.
7890 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
7892         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
7893         to set buffer-read-only to t, never to nil.  (Bug#15938)
7895         * textmodes/tex-mode.el (latex-noindent-environments):
7896         Add safe-local-variable property.  (Bug#15936)
7898 2013-11-23  Glenn Morris  <rgm@gnu.org>
7900         * textmodes/enriched.el (enriched-mode): Doc fix.
7901         * emacs-lisp/authors.el (authors-renamed-files-alist):
7902         Add enriched.doc -> enriched.txt.
7904         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
7906 2013-11-22  Leo Liu  <sdl.web@gmail.com>
7908         * progmodes/octave.el (inferior-octave-startup): Spit out error
7909         message.
7911 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
7913         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7914         Improve docstring.
7915         Add :version.
7916         (ruby-encoding-magic-comment-style): Add :version.
7918 2013-11-22  Leo Liu  <sdl.web@gmail.com>
7920         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
7921         (Bug#15076)
7922         (octave-help-mode): Adapt to change to help-mode-finish to use
7923         derived-mode-p on 2013-09-17.
7924         (inferior-octave-prompt): Also match octave-gui.
7925         (octave-kill-process): Don't ask twice.  (Bug#10564)
7927 2013-11-22  Leo Liu  <sdl.web@gmail.com>
7929         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
7930         (inferior-octave-startup, inferior-octave-check-process)
7931         (inferior-octave-track-window-width-change)
7932         (octave-completion-at-point, octave-eldoc-function): Use it.
7933         (octave-kill-process): Provide confirmation.  (Bug#10564)
7935 2013-11-21  Leo Liu  <sdl.web@gmail.com>
7937         * progmodes/octave.el (octave-mode, inferior-octave-mode):
7938         Fix obsolete variable comment-use-global-state.
7940 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7942         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7943         Add `octave-source-file'.
7944         (octave-source-file): New function.  (Bug#15935)
7946 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
7948         * net/eww.el (eww-local-regex): New variable.
7949         (eww): Use it to detect localhost and similar.
7951 2013-11-21  Leo Liu  <sdl.web@gmail.com>
7953         Add completion for command `ag'.
7954         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7955         (pcomplete/ag): New function.
7956         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
7958 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7960         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7961         (bug#14646).
7962         (make-obsolete): Remove interactive spec.
7964 2013-11-21  Glenn Morris  <rgm@gnu.org>
7966         * startup.el (command-line-1): Use path-separator with -L.
7968 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
7970         * emacs-lisp/package.el (describe-package-1): Add package archive
7971         to shown fields.
7973 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
7975         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7976         Change default to "# encoding: %s" to differentiate it from the
7977         default Ruby encoding comment template.
7979 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
7981         * ses.el (ses-mode): Doc fix.  (Bug#14748)
7983 2013-11-20  Leo Liu  <sdl.web@gmail.com>
7985         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
7987 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
7989         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7990         when rebase or bisect are in progress.
7992 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
7994         * filenotify.el (file-notify-add-watch): Doc fix.
7996 2013-11-19  Leo Liu  <sdl.web@gmail.com>
7998         * obsolete/rcompile.el: Mark obsolete.
8000         * progmodes/compile.el (compilation-start)
8001         (compilation-goto-locus, compilation-find-file):
8002         Pass no-display-ok and handle nil value from display-buffer.
8003         (Bug#13594)
8005         * window.el (display-buffer-alist, display-buffer): Document the
8006         new parameter no-display-ok.  Return either a window or nil
8007         but never a non-window value.
8009 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8011         * electric.el (electric-indent-mode-map): Remove.
8012         (electric-indent-mode): Change the global-map instead (bug#15915).
8014         * textmodes/text-mode.el (paragraph-indent-minor-mode):
8015         Use add-function.
8017 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8019         * emacs-lisp/nadvice.el (remove-function): Align with
8020         add-function's behavior.
8022         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
8023         (gdb--string-regexp): New constant.
8024         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
8025         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
8026         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
8027         submatch 1.
8028         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
8029         Adjust use accordingly.
8030         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
8032 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
8034         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
8035         interpolation curlies (Bug#15914).
8037 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
8039         * calc/calc.el (calc-context-sensitive-enter): New variable.
8040         (calc-enter): Use `calc-context-sensitive-enter'.
8042 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
8044         * progmodes/cfengine.el: Version bump.
8045         (cfengine-cf-promises): New defcustom to locate cf-promises.
8046         (cfengine3-vartypes): Add new "data" type.
8047         (cfengine3--current-word): New function to get current name-like
8048         word or its bounds.
8049         (cfengine3--current-function): New function to look up a CFEngine
8050         function's definition.
8051         (cfengine3-format-function-docstring): New function.
8052         (cfengine3-make-syntax-cache): New function.
8053         (cfengine3-documentation-function): New function: ElDoc glue.
8054         (cfengine3-completion-function): New function: completion glue.
8055         (cfengine3-mode): Set `compile-command',
8056         `eldoc-documentation-function', and add to
8057         `completion-at-point-functions'.
8059 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
8061         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
8062         `tramp-current-connection'.
8064 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
8066         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
8067         nil/self/true/false with "end of symbol".
8069 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
8071         * subr.el (version-regexp-alist): Fix a typo.
8073 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
8075         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
8076         "en_US.utf8" and "LC_CTYPE" to "".
8077         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
8078         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
8080 2013-11-15  Leo Liu  <sdl.web@gmail.com>
8082         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
8084 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8086         * progmodes/gud.el (ctl-x-map):
8087         Remove C-x SPC binding.  (Bug#12342)
8088         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
8090 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
8092         * subr.el (version-regexp-alist):
8093         Recognize hg, svn and darcs versions as snapshot versions.
8095         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
8096         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
8097         (ruby--encoding-comment-required-p): Extract from
8098         `ruby-mode-set-encoding'.
8099         (ruby-mode-set-encoding): Add the ability to always insert an
8100         utf-8 encoding comment.  Fix and simplify coding comment update
8101         logic.
8103 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
8105         * net/tramp-gvfs.el (top): Run init code only when
8106         `tramp-gvfs-enabled' is not nil.
8107         (tramp-gvfs-enabled): Check also :system bus.
8109 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8111         Sync with upstream verilog-mode revision 78e66ba.
8112         * progmodes/verilog-mode.el (verilog-end-of-defun)
8113         (verilog-type-completion, verilog-get-list): Remove unused funcs.
8114         (verilog-get-end-of-defun): Remove unused argument.
8115         (verilog-comment-depth): Remove unused local `e'.
8116         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
8117         Don't pass arg to verilog-get-end-of-defun.
8119 2013-11-14  Glenn Morris  <rgm@gnu.org>
8121         * obsolete/assoc.el (aget): Prefix dynamic variable.
8123         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
8125 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8127         * widget.el, hfy-cmap.el: Remove bogus package version number.
8129 2013-11-13  Glenn Morris  <rgm@gnu.org>
8131         * replace.el (replace-eval-replacement):
8132         Try to give more helpful error message.  (Bug#15836)
8134         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8135         (archive-7z-update): Avoid custom type mismatches.
8137         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
8139 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
8141         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
8142         address can be empty.
8144         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
8145         Accept nil SWITCHES.
8146         (tramp-gvfs-handle-write-region): Implement APPEND.
8148 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
8150         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
8151         binary "|" operator and closing block args delimiter.
8152         Remove FIXME comment referring to Ruby 1.8-only syntax.
8153         (ruby-smie--implicit-semi-p): Not after "|" operator.
8154         (ruby-smie--closing-pipe-p): New function.
8155         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
8156         (ruby-smie-rules): Indent after "|".
8158 2013-11-12  Glenn Morris  <rgm@gnu.org>
8160         * ps-print.el (ps-face-attribute-list):
8161         Handle anonymous faces.  (Bug#15827)
8163 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
8165         * window.el (display-buffer-other-frame): Fix doc-string.
8166         (Bug#15868)
8168 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8170         * subr.el (force-mode-line-update): Delete, move to buffer.c.
8172 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
8174         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
8175         (tramp-sh-handle-file-local-copy): Don't write a message when
8176         saving temporary files.
8178         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
8179         both directories are remote.
8180         (tramp-smb-handle-directory-files): Do not return double entries.
8181         Do not expand full file names.
8182         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
8183         (tramp-smb-handle-write-region): Implement APPEND.
8184         (tramp-smb-get-stat-capability): Fix a stupid bug.
8186 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8188         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
8190 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8192         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
8193         throwing error over malformed let/let* (bug#15814).
8195 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8197         * iswitchb.el (iswitchb-mode): Mark obsolete.
8199 2013-11-11  Glenn Morris  <rgm@gnu.org>
8201         * international/uni-bidi.el, international/uni-category.el:
8202         * international/uni-name.el, international/uni-numeric.el:
8203         Regenerate for Unicode 6.3.0.
8205 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
8207         * net/tramp.el (tramp-methods):
8208         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
8209         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
8211 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
8213         * progmodes/sh-script.el (sh-font-lock-keywords-var):
8214         Force highlighting text after Summary keyword in doc face for rpm.
8216 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
8218         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
8219         available and the word has no wildcards, append one to the grep pattern.
8220         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
8221         (ispell-complete-word): Call `ispell-lookup-words' with the value
8222         independent of `ispell-look-p'.
8224 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
8226         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
8227         Not after "||".
8228         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
8229         their parent.
8231 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8233         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
8234         (ruby-font-lock-keywords): Use backquote.
8236 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
8238         * progmodes/ruby-mode.el (ruby-smie--forward-token)
8239         (ruby-smie--backward-token): Only consider full-string matches.
8241 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
8243         * faces.el (describe-face): Add distant-foreground.
8245 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
8247         * progmodes/ruby-mode.el: Improve encoding comment handling.
8248         (ruby-encoding-magic-comment-style): New option.
8249         (ruby-custom-encoding-magic-comment-template): New option.
8250         (ruby--insert-coding-comment, ruby--detect-encoding):
8251         New functions extracted from `ruby-mode-set-encoding'.
8252         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
8253         to control the style of the auto-inserted encoding comment.
8255 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
8257         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
8258         Use `smie-backward-sexp' with token argument.
8260 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
8262         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
8263         Remove instrumentation code.
8265 2013-11-08  Glenn Morris  <rgm@gnu.org>
8267         * progmodes/autoconf.el (autoconf-mode):
8268         Tweak comment-start-skip.  (Bug#15822)
8270 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8272         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
8273         at bobp (bug#15826).
8274         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
8276 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
8278         * man.el (Man-start-calling): New macro, extracted from
8279         Man-getpage-in-background.
8280         (Man-getpage-in-background): Use it.
8281         (Man-update-manpage): New command.
8282         (Man-mode-map): Bind it.
8284 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
8286         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
8287         of "and", "or", "&&" and "||".
8288         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
8289         argument.  Prohibit opening curly brace because it could only be a
8290         block opener in that position.
8291         (ruby-smie--forward-token, ruby-smie--backward-token):
8292         Separate "|" from "&" or "*" going after it.  That can happen in block
8293         arguments.
8294         (ruby-smie--indent-to-stmt): New function, seeks the end of
8295         previous statement or beginning of buffer.
8296         (ruby-smie-rules): Use it.
8297         (ruby-smie-rules): Check if there's a ":" before a curly block
8298         opener candidate; if there is, it's a hash.
8300 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8302         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
8303         (cl--block-wrapper): Fix last accidental change.
8305 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
8307         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
8308         Instrument, in order to hunt failure on hydra.
8310 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8312         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
8313         malformed bindings form (bug#15814).
8315 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
8317         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
8318         "." compared to " @ ".  This incidentally fixes some indentation
8319         examples with "do".
8320         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
8321         (ruby-smie-grammar): New tokens: "and" and "or".
8322         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
8323         Exclude "and" and "or".  Remove "do" in order to work around token
8324         priorities.
8325         (ruby-smie-rules): Add all infix tokens.  Handle the case of
8326         beginning-of-buffer.
8328 2013-11-06  Glenn Morris  <rgm@gnu.org>
8330         * Makefile.in (setwins_almost, setwins_for_subdirs):
8331         Avoid accidental matches.
8333 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8335         * menu-bar.el (popup-menu): Use key-binding.
8337 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
8339         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
8340         menus, support also the menus produced by minor modes.
8341         (Bug#15817)
8343 2013-11-06  Leo Liu  <sdl.web@gmail.com>
8345         * thingatpt.el (thing-at-point-looking-at): Add optional arg
8346         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
8348 2013-11-06  Glenn Morris  <rgm@gnu.org>
8350         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
8351         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
8352         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
8354 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8356         * electric.el (electric-indent-just-newline): New command.
8357         (electric-indent-mode-map): New keymap.
8358         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
8359         Re-add :group which weren't redundant.
8361         * electric.el (electric-indent-local-mode): New minor mode.
8362         (electric-indent-functions-without-reindent): New var.
8363         (electric-indent-post-self-insert-function): Use it.
8364         * emacs-lisp/gv.el (buffer-local-value): Add setter.
8366 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
8368         * international/quail.el (quail-help): Be more explicit about the
8369         meaning of the labels shown on the keys.  (Bug#15800)
8371         * startup.el (normal-top-level): Load the subdirs.el files before
8372         setting the locale environment.  (Bug#15805)
8374 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8376         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
8377         via arguments so as to get the right ones (bug#15418).
8379         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
8381 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
8383         Fix problems found while writing a test suite.
8385         * net/tramp-compat.el (tramp-compat-load): New defun.
8386         * net/tramp.el (tramp-handle-load): Use it.
8388         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
8389         "(numberp ok-if-already-exists)" correctly.
8391 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
8393         * international/characters.el (glyphless-char-display-control):
8394         Add usage note.
8396 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
8398         * progmodes/python.el (python-mode):
8399         * progmodes/scheme.el (scheme-mode):
8400         * progmodes/prolog.el (prolog-mode):
8401         * progmodes/ruby-mode.el (ruby-mode):
8402         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
8403         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
8405 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8407         * rect.el (rectangle--highlight-for-redisplay):
8408         * emacs-lisp/smie.el (smie--next-indent-change):
8409         Use buffer-chars-modified-tick.
8411         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
8413         * electric.el (electric-indent-post-self-insert-function):
8414         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
8416 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
8418         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
8420 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8422         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
8423         (bug#15786).
8425 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8427         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
8429         * progmodes/python.el: Fix up last change.
8430         (python-shell--save-temp-file): New function.
8431         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
8432         `string' comes from the current buffer.
8433         (python-shell-send-string-no-output): Remove `msg' arg.
8434         (python--use-fake-loc): New var.
8435         (python-shell-buffer-substring): Obey it.  Try to compensate for the
8436         extra coding line added by python-shell--save-temp-file.
8437         (python-shell-send-region): Use python-shell--save-temp-file and
8438         python-shell-send-file directly.  Add `nomain' argument.
8439         (python-shell-send-buffer): Use python-shell-send-region.
8440         (python-electric-pair-string-delimiter): New function.
8441         (python-mode): Use it.
8443 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
8445         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
8446         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
8447         environment and decoding all of the default-directory's to here
8448         from command-line.
8449         (command-line): Decode also argv[0].
8451         * loadup.el: Error out if default-directory is a multibyte string
8452         when we are dumping.
8454         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
8456 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
8458         * emacs-lisp/package.el (package-menu-mode)
8459         (package-menu--print-info, package-menu--archive-predicate):
8460         Add Archive column to package list.
8462 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
8464         Fix problems found while writing a test suite.
8466         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
8467         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
8468         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
8469         to nil when running original file name handler.  Otherwise,
8470         there are problems with constructs like "$$FOO".
8472         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
8473         for `localname'.
8475 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
8477         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
8479         * subr.el (version<, version<=, version=):
8480         Update docstrings with information for snapshot versions.
8482         * helpers.el: New library for misc helper functions.
8483         (hash-table-keys): New function returning a list of hash keys.
8484         (hash-table-values): New function returning a list of hash values.
8486 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
8488         * progmodes/ruby-mode.el (ruby-smie--forward-token)
8489         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
8491 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
8493         * textmodes/fill.el (fill-single-char-nobreak-p): New function
8494         checking whether point is after a 1-letter word.
8496 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8498         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
8499         Don't infloop when expanding region over `multiline' syntax-type that
8500         begins a line (bug#15778).
8502 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8504         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
8505         Make it into a proper minor mode.
8506         (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
8507         (rectangle-mark-mode-map): New keymap.
8508         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
8510 2013-11-04  Glenn Morris  <rgm@gnu.org>
8512         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
8514 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8516         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
8517         (ruby-smie-rules): Use smie-rule-parent instead.
8519         * emacs-lisp/smie.el (smie-rule-parent): Always call
8520         smie-indent-virtual rather than only for hanging tokens.
8521         (smie--next-indent-change): New helper command.
8523 2013-11-03  Glenn Morris  <rgm@gnu.org>
8525         * Makefile.in (abs_srcdir): Remove.
8526         (emacs): Unset EMACSLOADPATH.
8528 2013-11-02  Glenn Morris  <rgm@gnu.org>
8530         * Makefile.in (EMACS): Use a relative filename.
8531         (abs_top_builddir): Remove.
8532         (custom-deps, finder-data, autoloads): Use --chdir.
8534         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
8536         Use relative filenames in TAGS files.
8537         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
8538         (lisptagsfiles4, TAGS): Use relative file names.
8539         (TAGS-LISP): Remove.
8540         (maintainer-clean): No more TAGS-LISP file.
8542         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
8543         (lisptagsfiles4): Use absolute filenames again.
8544         (TAGS, TAGS-LISP): Not everything needs to run in one line.
8545         Remove all *loaddefs files, not just the first.  Remove esh-groups.
8546         (maintainer-clean): Delete TAGS, TAGS-LISP.
8548 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
8550         * emacs-lisp/package.el (package-version-join):
8551         Recognize snapshot versions.
8553 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
8555         * subr.el (version-regexp-alist): Add support for snapshot versions.
8557 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
8559         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
8560         New function, replacement for `smie-rule-parent' for when we want to
8561         skip over our direct parent if it's an assignment token..
8562         (ruby-smie-rules): Use it.
8564 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
8566         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
8567         unconditionally.  Remove now unnecessary forward declarations.
8568         Remove XEmacs-specific setup.
8569         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
8570         (ruby-font-lock-syntactic-keywords)
8571         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
8572         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
8573         (ruby-here-doc-end-syntax): Remove.
8574         (ruby-mode): Don't check whether `syntax-propertize-rules' is
8575         defined as function.
8577 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
8579         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
8581 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
8583         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
8584         table and abbrev table, `define-derived-mode' does that for us
8585         anyway.
8587 2013-11-01  Glenn Morris  <rgm@gnu.org>
8589         * Makefile.in: Remove manual mh-e dependencies (writing .elc
8590         files is atomic for some time, so no parallel compilation issues).
8592 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
8594         * faces.el (face-x-resources): Add :distant-foreground.
8595         (region): Use :distant-foreground for gtk and ns.
8597 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
8599         Allow multiple bibliographies when BibLaTeX is used rather than
8600         BibTeX.
8601         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
8602         (reftex-locate-bibliography-files): Us it.
8604 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
8606         * image.el (image-type-header-regexps): Fix the 'pbm' part to
8607         allow comments in pbm files.
8609         * term/w32-win.el (dynamic-library-alist): Support newer versions
8610         of libjpeg starting with v7: look only for the DLL from the
8611         version against which Emacs was built.
8612         Support versions of libpng beyond 1.4.x.
8613         Support libtiff v4.x.
8615 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
8617         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
8618         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
8619         Add property :safe.
8620         (ruby-deep-arglist): Add property :type.
8622 2013-10-31  Glenn Morris  <rgm@gnu.org>
8624         * Makefile.in (custom-deps, finder-data): No need to setq the target
8625         variables, we are in the right directory and the defaults work fine.
8627 2013-10-30  Glenn Morris  <rgm@gnu.org>
8629         * Makefile.in (autoloads): Do not use abs_lisp.
8631         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8632         `newline' does not respect `standard-output', so use `princ'.
8634 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
8636         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
8637         * buff-menu.el (Buffer-menu--unmark): New function.
8638         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
8640 2013-10-30  Glenn Morris  <rgm@gnu.org>
8642         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
8644         * emacs-lisp/package.el (lm-homepage): Declare.
8646         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
8647         Fix doc typos.
8649         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
8651         * Makefile.in (finder-data, autoloads, update-subdirs)
8652         (compile-main, compile-clean, compile-always, bootstrap-clean):
8653         Check return value of cd.
8654         (compile-calc): Remove.
8656 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8658         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
8660         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
8661         (byte-compile-and-folded): New function.
8662         (=, <, >, <=, >=): Use it.
8664         * dos-w32.el (minibuffer-history-case-insensitive-variables)
8665         (path-separator, null-device, buffer-file-coding-system)
8666         (lpr-headers-switches): Check system-type before modifying them.
8667         (find-buffer-file-type-coding-system): Mark obsolete.
8668         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
8669         find-file-not-found-set-buffer-file-coding-system.
8670         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
8671         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
8672         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
8673         (w32-direct-print-region-helper, w32-direct-print-region-function)
8674         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
8675         * startup.el (normal-top-level-add-subdirs-to-load-path):
8676         * ps-print.el (ps-print-region-function):
8677         * lpr.el (print-region-function): Use new name.
8679         * subr.el (custom-declare-variable-early): Remove function.
8680         (custom-declare-variable-list): Remove var.
8681         (error, user-error): Remove `while' loop.
8682         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
8683         (user-emacs-directory-warning, locate-user-emacs-file):
8684         Move to files.el.
8685         * simple.el (read-quoted-char-radix, read-quoted-char):
8686         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
8687         Move from subr.el.
8688         * custom.el (custom-declare-variable-list): Don't process
8689         custom-declare-variable-list.
8691         * progmodes/python.el (python-shell-get-buffer): New function.
8692         (python-shell-get-process): Use it.
8693         (python-shell-send-string): Always use utf-8 and add a cookie to tell
8694         Python which encoding was used.  Don't split-string since we only care
8695         about the first line.  Return the temp-file, if applicable.
8696         (python-shell-send-region): Tell compile.el how to turn locations in
8697         the temp-file into locations in the source buffer.
8699 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8701         * subr.el (undefined): Add missing behavior from the C code for
8702         unbound keys.
8704         * rect.el: Use lexical-binding.  Add new rectangular region support.
8705         (rectangle-mark): New command.
8706         (rectangle--region): New var.
8707         (deactivate-mark-hook): Reset rectangle--region.
8708         (rectangle--extract-region, rectangle--insert-for-yank)
8709         (rectangle--highlight-for-redisplay)
8710         (rectangle--unhighlight-for-redisplay): New functions.
8711         (region-extract-function, redisplay-unhighlight-region-function)
8712         (redisplay-highlight-region-function): Use them to handle
8713         rectangular region.
8714         * simple.el (region-extract-function): New var.
8715         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
8716         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
8717         (kill-region): Replace obsolete `yank-handler' arg with `region'.
8718         (copy-region-as-kill, kill-ring-save): Add `region' argument.
8719         (redisplay-unhighlight-region-function)
8720         (redisplay-highlight-region-function): New vars.
8721         (redisplay--update-region-highlight): New function.
8722         (pre-redisplay-function): Use it.
8723         (exchange-point-and-mark): Don't deactivate the mark before
8724         reactivate-it anyway.
8725         * comint.el (comint-kill-region): Remove yank-handler argument.
8726         * delsel.el (delete-backward-char, backward-delete-char-untabify)
8727         (delete-char): Remove property, since it's now part of their
8728         default behavior.
8729         (self-insert-iso): Remove property since this command doesn't exist.
8731         * emacs-lisp/package.el (package--download-one-archive)
8732         (describe-package-1): Don't query the user about final newline.
8734 2013-10-29  Daniel Colascione  <dancol@dancol.org>
8736         * net/tramp.el (tramp-methods): Document new functionality.
8737         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
8738         tramp-hostname-checker if method provides one instead of scanning
8739         argument list for "%h" to decide hostname acceptability.
8741 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
8743         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8744         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8745         Handle COPY-CONTENTS.  (Bug#15737)
8747 2013-10-28  Daiki Ueno  <ueno@gnu.org>
8749         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
8750         Document that this option has no effect with GnuPG 2.0 (bug#15552).
8752 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
8754         * image.el (defimage, image-load-path): Doc fixes.
8756 2013-10-27  Alan Mackenzie  <acm@muc.de>
8758         Indent statements in macros following "##" correctly.
8759         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8760         Modify the "#" arm of a cond form to handle "#" and "##" operators.
8762 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8764         * linum.el (linum-update-window): Fix boundary test (bug#13446).
8766 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
8768         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
8769         after `=' is probably a new expression.
8771 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8773         * man.el (man-imenu-title): New option.
8774         (Man-mode-map): Add menu.  (Bug#15722)
8775         (Man-mode): Add imenu to menu.
8777 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
8779         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
8780         specific in what the first arg can be: a non-keyword word,
8781         string/regexp/percent literal opener, opening paren, or unary
8782         operator followed directly by word.
8784 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8786         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
8787         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
8788         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
8789         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
8790         Remove vars, they do not apply any more.
8791         (prolog-mode-abbrev-table): Remove redundant declaration.
8792         (prolog-upper-case-string, prolog-lower-case-string): Remove.
8793         (prolog-use-smie): Remove.
8794         (prolog-smie-rules): Add indentation rule for the if-then-else layout
8795         supported by prolog-electric-if-then-else-flag.
8796         (prolog-mode-variables, prolog-menu): Use setq-local.
8797         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
8798         Remove binding to `Backspace' since this key doesn't exist anyway.
8799         Remove bindings for electric self-inserting keys.
8800         (prog-mode): Assume it's defined.
8801         (prolog-post-self-insert): New function.
8802         (prolog-mode): Use it.
8803         (prolog-indent-line, prolog-indent-level)
8804         (prolog-find-indent-of-matching-paren)
8805         (prolog-indentation-level-of-line, prolog-goto-comment-column)
8806         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
8807         (prolog-goto-next-paren, prolog-in-string-or-comment)
8808         (prolog-tokenize, prolog-inside-mline-comment)
8809         (prolog-find-start-of-mline-comment): Remove functions.
8810         (prolog-find-unmatched-paren, prolog-clause-end)
8811         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
8812         (prolog-electric--if-then-else): Rename from
8813         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
8814         (prolog-tokenize-searchkey): Remove const.
8815         (prolog-clause-info): Use forward-sexp.
8816         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
8817         (prolog-electric-if-then-else): Remove commands.
8818         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
8819         for use in post-self-insert-hook.
8820         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
8821         for use in post-self-insert-hook.
8822         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
8823         for use in post-self-insert-hook.
8824         (prolog-electric--underscore): Rename from prolog-electric--underscore;
8825         adapt it for use in post-self-insert-hook.
8827 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
8829         * emacs-lisp/ert.el (ert-run-tests-interactively):
8830         Use `completing-read'.  (Bug#9756)
8832 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
8834         * simple.el (line-move): Call line-move-1 instead of
8835         line-move-visual when the current window hscroll is zero, but
8836         temporary-goal-column indicates we will need to hscroll as result
8837         of the movement.  (Bug#15712)
8839 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
8841         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
8842         capitalization.  Use :visible instead of :active.
8843         Fix `ruby-indent-exp' reference.  Add menu items for the generic
8844         commands that are used with SMIE.
8845         (ruby-do-end-to-brace): Insert space after `{'.
8847 2013-10-25  John Anthony  <john@jo.hnanthony.com>
8849         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
8851         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
8853 2013-10-25  Glenn Morris  <rgm@gnu.org>
8855         * vc/vc.el (vc-print-log): Don't use a working revision unless
8856         one was explicitly specified.  (Bug#15322)
8858 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8860         * subr.el (add-to-list): Preserve return value in compiler-macro
8861         (bug#15692).
8863 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8865         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
8866         result.  Ask user to retry using '-all' flag.  (Bug#15701)
8868 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8870         * emacs-lisp/smie.el: New smie-config system.
8871         (smie-config): New defcustom.
8872         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
8873         (smie-config-guess, smie-config-save): New commands.
8874         (smie-config--mode-local, smie-config--buffer-local)
8875         (smie-config--trace, smie-config--modefuns): New vars.
8876         (smie-config--advice, smie-config--mode-hook)
8877         (smie-config--setter, smie-config-local, smie-config--get-trace)
8878         (smie-config--guess-value, smie-config--guess): New functions.
8879         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
8880         text properties.  Treat "string fence" syntax like string syntax.
8882         * progmodes/sh-script.el (sh-use-smie): Change default.
8883         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
8884         (sh-var-value): Simplify by CSE.
8885         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
8886         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
8887         is used.
8888         (sh-guess-basic-offset): Use cl-incf.
8889         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
8891 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
8893         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
8894         (bug#15699).
8896 2013-10-24  Glenn Morris  <rgm@gnu.org>
8898         * Makefile.in (abs_top_srcdir): Remove.
8899         (update-subdirs): Use relative path to update-subdirs.
8901 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
8903         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8904         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8905         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8906         Call unmsys--file-name before expand-file-name, not after it.
8908 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
8910         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
8911         (ert-test-skipped): New error.
8912         (ert-skip, ert-stats-skipped): New defuns.
8913         (ert--skip-unless): New macro.
8914         (ert-test-skipped): New struct.
8915         (ert--run-test-debugger, ert-test-result-type-p)
8916         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
8917         (ert--stats-set-test-and-result, ert-char-for-test-result)
8918         (ert-string-for-test-result, ert-run-tests-batch)
8919         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
8920         Handle skipped tests.  (Bug#9803)
8922 2013-10-24  Glenn Morris  <rgm@gnu.org>
8924         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
8926         * Makefile.in (abs_top_srcdir): New, set by configure.
8927         (update-subdirs): Correct build-aux location.
8929 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
8931         * vc/vc.el (vc-print-root-log): Always set `default-directory'
8932         value, whether we could auto-deduce `backend', or not.
8934         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
8935         with parameters" example.  Simplify the "is it block or is it
8936         hash" check, but also make it more thorough.
8938 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
8940         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
8942 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8944         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8945         { if it is hanging.
8947         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8948         :before ";".
8950 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
8952         * progmodes/compile.el (compilation-directory-matcher)
8953         (compilation-page-delimiter):
8954         Support GNU Make-4.0 directory quoting.  (Bug#15678)
8956 2013-10-23  Leo Liu  <sdl.web@gmail.com>
8958         * ido.el (ido-tidy): Handle read-only text.
8960 2013-10-23  Glenn Morris  <rgm@gnu.org>
8962         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8963         (emacs, compile, compile-always):
8964         Quote entities that might contain whitespace.
8965         (custom-deps, finder-data, autoloads): Use abs_lisp.
8966         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8967         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8968         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8970 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
8972         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8973         Use `following-char'.
8975 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8977         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8978         * progmodes/ruby-mode.el (ruby-smie-rules):
8979         Remove corresponding workaround.  Fix indentation rule of ";" so it
8980         also applies when ";" is the parent.
8982 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
8984         * frame.el (display-screens, display-pixel-height)
8985         (display-pixel-width, display-mm-width, display-backing-store)
8986         (display-save-under, display-planes, display-color-cells)
8987         (display-visual-class, display-monitor-attributes-list):
8988         Mention the optional ‘display’ argument in doc strings.
8990 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
8992         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8993         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
8995 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
8997         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8998         TODO.  Add "." after " @ ".
8999         (ruby-smie--at-dot-call): New function.  Checks if point at method
9000         call with explicit target.
9001         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
9002         to the method name tokens when it precedes them.
9003         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
9004         (ruby-smie-rules): Add rule for indentation before and after "."
9005         token.
9007 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9009         * textmodes/remember.el (remember-diary-extract-entries):
9010         Avoid add-to-list.
9012         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
9013         an instruction.
9015 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
9017         * progmodes/ruby-mode.el (ruby-smie-grammar):
9018         Add (almost) all infix operators.
9019         (ruby-smie--implicit-semi-p): Add new operator chars.
9021         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9022         `smie-down-list'.
9023         (ruby-smie--args-separator-p): Check that there's no newline
9024         between method call and its arguments.
9026 2013-10-20  Alan Mackenzie  <acm@muc.de>
9028         Allow comma separated lists after Java "implements".
9030         * progmodes/cc-engine.el (c-backward-over-enum-header):
9031         Parse commas.
9032         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
9033         from a "disallowed" list in enum fontification.
9035 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
9037         * startup.el (default-frame-background-mode): Remove unused defvar.
9039         * progmodes/verilog-mode.el (verilog-mode): Don't set
9040         comment-indent-function globally.
9042 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
9044         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
9045         Move Info menu item creation to ns-win.el.
9047         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
9048         in menu bar.
9050         * menu-bar.el: Move GNUstep specific menus...
9052         * term/ns-win.el (ns-initialize-window-system): ... to here.
9054 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9056         * simple.el (newline): Only run post-self-insert-hook when
9057         called interactively.
9059 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
9061         * icomplete.el (icomplete-with-completion-tables): Add :version.
9063 2013-10-19  Alan Mackenzie  <acm@muc.de>
9065         Fix fontification bugs with constructors and const.
9067         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
9068         CASE 2) Remove the check for the absence of a suffix construct
9069         after a function declaration with only types (no identifiers) in
9070         the parentheses.  Also, accept a function declaration with just a
9071         type inside the parentheses, if this type can be positively
9072         recognised as such, or if a prefix keyword like "explicit" nails
9073         down the construct as a declaration.
9075 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
9077         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
9078         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
9079         the problem whereby selecting a menu item that leads to a
9080         minibuffer prompt moves the cursor out of the minibuffer window,
9081         making it hard to type at the prompt.  Suggested by Stefan Monnier
9082         <monnier@iro.umontreal.ca>.
9084 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
9086         * menu-bar.el: Don't make Services menu.
9088 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9090         * ffap.el: Handle "/usr/include/c++/<version>" directories.
9091         (ffap-alist): Use ffap-c++-mode for c++-mode.
9092         (ffap-c++-path): New variable.
9093         (ffap-c++-mode): New function.
9095 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
9097         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
9099 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
9101         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
9102         introduced on 2013-09-08, which results in an infinite loop
9103         requesting a password.
9105 2013-10-18  Glenn Morris  <rgm@gnu.org>
9107         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
9109 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
9111         Sync with upstream verilog-mode revision 1a6ecec7.
9112         * progmodes/verilog-mode.el (verilog-mode-version): Update.
9113         (verilog-mode-release-date): Remove.
9114         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
9115         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
9116         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
9117         (verilog-auto-tieoff-ignore-regexp)
9118         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
9119         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
9120         (verilog-signals-with, verilog-dir-cache-preserving)
9121         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
9122         Doc fixes.
9123         (verilog-case-fold): New option, to control case folding in
9124         regexp searches, bug597.
9125         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
9126         (verilog-string-match-fold, verilog-in-paren-count)
9127         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
9128         (verilog-at-close-struct-p): New functions.
9129         (verilog-beg-block-re-ordered, verilog-extended-case-re)
9130         (verilog-forward-sexp, verilog-set-auto-endcomments)
9131         (verilog-leap-to-case-head): Handle "unique0" case.
9132         (verilog-in-constraint-re): New constant.
9133         (verilog-keywords, verilog-type-font-keywords):
9134         Add some SystemVerilog 1800-2012 keywords.
9135         (verilog-label-be): Remove unimplemented argument, bug669.
9136         (verilog-batch-execute-func): When batch expanding clear
9137         create-lockfiles to prevent spurious user locks when a file ends
9138         up not changing.
9139         (verilog-calculate-indent, verilog-calc-1)
9140         (verilog-at-close-constraint-p, verilog-at-constraint-p)
9141         (verilog-do-indent): Fix indentation of nested constraints
9142         and structures.
9143         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
9144         (verilog-auto-inst-param): Use verilog-string-match-fold.
9145         (verilog-read-inst-module-matcher):
9146         Fix AUTOINST on gate primitives with #1.
9147         (verilog-read-decls): Fix double-declaring user-defined typed signals.
9148         Reads all user-defined typed variables.
9149         (verilog-read-defines): Fix reading definitions inside comments, bug647.
9150         (verilog-signals-matching-regexp)
9151         (verilog-signals-not-matching-regexp, verilog-auto):
9152         Respect verilog-case-fold.
9153         (verilog-diff-report): Fix line count.
9154         (verilog-auto-assign-modport): Remove unused local `modi'.
9155         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
9156         better handle multidimensional arrays.
9157         Fix packed array ports misadding bit index in AUTOINST, bug637.
9158         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
9159         to not double-declare existing outputs and inputs, respectively.
9160         (verilog-template-map): Bind U to verilog-sk-uvm-component.
9161         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
9162         (verilog-sk-uvm-component): New skeleton.
9163         (verilog-submit-bug-report): Add verilog-case-fold,
9164         remove verilog-mode-release-date.
9166 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
9168         * subr.el (sit-for): Call (input-pending-p t) so as to behave
9169         as before.
9171 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
9173         * textmodes/remember.el (remember): Set buffer-offer-save in
9174         remember buffers (bug#13566).
9176 2013-10-18  Daniel Colascione  <dancol@dancol.org>
9178         When evaluating forms in ielm, direct standard output to ielm
9179         buffer.  Add new ielm-return-for-effect command.  Remove trailing
9180         whitespace throughout.
9182         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
9183         (ielm-return-for-effect): New command.
9184         (ielm-send-input): Accept optional `for-effect' parameter.
9185         (ielm-eval-input): Accept optional `for-effect' parameter.
9186         Bind `standard-output' to stream we create using
9187         `ielm-standard-output-impl'.  Suppress printing result when
9188         `for-effect'.
9189         (ielm-standard-output-impl): New function.
9190         (inferior-emacs-lisp-mode): Explain new features in documentation.
9192 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
9194         Code cleanup.
9196         * net/tramp.el (tramp-debug-message): Do not check for connection
9197         buffer.
9198         (tramp-message): Use "vector" connection property.
9200         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
9201         (tramp-equal-remote, tramp-eshell-directory-change)
9202         * net/tramp-adb.el (tramp-adb-handle-copy-file)
9203         (tramp-adb-handle-rename-file)
9204         * net/tramp-cmds.el (tramp-list-remote-buffers)
9205         (tramp-cleanup-connection, tramp-cleanup-this-connection)
9206         * net/tramp-compat.el (tramp-compat-process-running-p)
9207         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
9208         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
9209         (tramp-gvfs-handle-rename-file)
9210         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9211         (tramp-set-file-uid-gid)
9212         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9213         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
9214         of `file-remote-p'.
9216         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
9217         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9218         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
9219         (tramp-gw-open-network-stream): Suppress unrelated traces.
9221         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
9222         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9223         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9224         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
9225         connection property.
9227         * net/tramp-cache.el (top): Suppress traces when reading
9228         persistency file.
9230         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9231         Refactor common code.  Improve debug message.
9232         (tramp-maybe-open-connection)
9233         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
9234         connection buffer too early.
9236         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
9237         from `tramp-smb-actions-with-acl'.
9238         (tramp-smb-actions-set-acl): New defconst.
9239         (tramp-smb-handle-copy-directory)
9240         (tramp-smb-action-get-acl): New defun, renamed from
9241         `tramp-smb-action-with-acl'.
9242         (tramp-smb-action-set-acl): New defun.
9243         (tramp-smb-handle-set-file-acl): Rewrite.
9245 2013-10-17  Glenn Morris  <rgm@gnu.org>
9247         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
9249 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9251         * skeleton.el (skeleton-newline): Remove.
9252         (skeleton-internal-1): Use (insert "\n") instead.
9254         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
9255         let-bindings.
9257         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
9258         forward-sexp-function while we redo its job (bug#15613).
9260 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
9262         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
9263         represented by lists.
9265 2013-10-16  Glenn Morris  <rgm@gnu.org>
9267         * tmm.el (tmm--history): New dynamic variable.
9268         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
9270 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
9272         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
9273         (tramp-smb-errors): Add error messages.
9274         (tramp-smb-actions-with-acl): New defconst.
9275         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
9276         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
9277         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
9278         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
9279         (tramp-smb-get-stat-capability): Fix tests.
9281 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
9283         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
9284         (bug#15580).
9286 2013-10-16  Glenn Morris  <rgm@gnu.org>
9288         * ansi-color.el (ansi-color-drop-regexp):
9289         Add 1J, 1K, 2K.  (Bug#15617)
9291         * files.el (hack-local-variables--warned-lexical): New.
9292         (hack-local-variables):
9293         Warn about misplaced lexical-binding.  (Bug#15616)
9295         * net/eww.el (eww-render): Always set eww-current-url,
9296         and update header line.  (Bug#15622)
9297         (eww-display-html): ... Rather than just doing it here.
9299 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
9301         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
9302         menu navigations commands.
9304 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
9306         * progmodes/subword.el (subword-capitalize): Be careful when
9307         the search for [[:alpha:]] fails (bug#15580).
9309 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
9311         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
9312         to commands that scroll the menu.
9314 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
9316         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
9317         Handle methods ending with `?' and `!'.
9319 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
9321         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
9322         `japanese-cp932' to `cp932' to fix the problem where saving a
9323         source file written in Shift_JIS twice would end up having
9324         `coding: japanese-cp932' which Ruby could not recognize.
9325         (ruby-mode-set-encoding): Add support for encodings mapped to nil
9326         in `ruby-encoding-map'.
9327         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
9328         doesn't need to be explicitly declared in magic comment.
9329         (ruby-encoding-map): Add type declaration for better customize UI.
9331 2013-10-13  Glenn Morris  <rgm@gnu.org>
9333         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
9334         Occur buffers are read-only.  http://bugs.debian.org/720775
9336         * emacs-lisp/authors.el (authors-fixed-entries):
9337         Comment out old alpha stuff.
9339 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
9341         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
9342         to `after-save-hook' instead of `before-save-hook'.
9343         (ruby-mode-set-encoding): Use the value of coding system used to
9344         write the file.  Call `basic-save-buffer-1' after modifying the
9345         buffer.
9347 2013-10-13  Alan Mackenzie  <acm@muc.de>
9349         Fix indentation/fontification of Java enum with
9350         "implements"/generic.
9352         * progmodes/cc-engine.el (c-backward-over-enum-header):
9353         Extracted from the three other places and enhanced to handle generics.
9354         (c-inside-bracelist-p): Uses new function above.
9355         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
9356         function above.
9357         (c-font-lock-enum-tail): Uses new function above.
9359 2013-10-13  Kenichi Handa  <handa@gnu.org>
9361         * international/mule-cmds.el (select-safe-coding-system): Remove a
9362         superfluous condition in chekcing whether a coding system is safe
9363         or not.
9365 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
9367         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
9369 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
9371         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
9373 2013-10-13  Glenn Morris  <rgm@gnu.org>
9375         * menu-bar.el (menu-bar-update-buffers):
9376         Unify Buffers menu prompt string.  (Bug#15576)
9378         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
9380         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
9381         Add some entries.
9382         (authors-fixed-entries): Use accented form of name.
9384 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9386         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
9387         method calls (bug#15594).
9388         (ruby-smie--args-separator-p): New function.
9389         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
9390         recognize paren-free method calls.
9392         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
9393         internals of universal-argument.
9395 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
9397         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
9398         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
9399         dropped menu on second mouse click on the menu bar.
9401 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9403         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
9404         (explicit-shell-file-name): Declare.
9405         (sh--vars-before-point, sh--cmd-completion-table): New functions.
9406         (sh-completion-at-point-function): New function.
9407         (sh-mode): Use it.
9408         (sh-smie--keyword-p): Remove unused argument.
9409         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
9410         vars.
9411         (sh-set-shell): Always setup SMIE, even if we use the
9412         old indentation code.
9414 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
9416         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
9417         cases of ? and =.
9418         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
9419         predicate would return nil are almost non-existent.
9420         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
9422         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
9423         cache also after commands that modify the buffer but don't move
9424         point.
9426 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9428         * env.el (substitute-env-in-file-name): New function.
9429         (substitute-env-vars): Extend the meaning of the optional arg.
9431 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
9433         * term/w32-win.el (dynamic-library-alist): Define separate lists
9434         of GIF DLLs for versions before and after 5.0.0 of giflib.
9435         (Bug#15531)
9437 2013-10-10  João Távora  <joaotavora@gmail.com>
9439         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
9440         not locked, use last revision and current source as
9441         defaults.  (Bug#15569)
9443 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
9445         * menu-bar.el (menu-bar-open): Don't use popup-menu if
9446         menu-bar is hidden.
9448 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
9450         * window.el (pop-to-buffer-same-window): Fix doc-string.
9451         (Bug#15492)
9453 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9455         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
9457 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
9459         * calendar/icalendar.el (icalendar-import-file):
9460         Fix interactive spec.  (Bug#15482)
9462 2013-10-10  Glenn Morris  <rgm@gnu.org>
9464         * desktop.el (desktop-save): Default to saving in .emacs.d,
9465         since PWD is no longer in desktop-path by default.  (Bug#15319)
9467         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
9468         now that text mode has a menu with the same entry.
9469         (menu-bar-text-mode-auto-fill): Remove now unused func.
9470         * textmodes/text-mode.el (text-mode-map):
9471         Use auto-fill help text from menu-bar.el.
9473 2013-10-10  John Anthony  <john@jo.hnanthony.com>
9475         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
9477 2013-10-09  Juri Linkov  <juri@jurta.org>
9479         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
9480         instead of this-command-keys.  Add universal-argument-more and
9481         universal-argument-minus to the list of prefix commands.  (Bug#15568)
9483 2013-10-09  Glenn Morris  <rgm@gnu.org>
9485         * vc/vc-svn.el (vc-svn-create-repo):
9486         Expand paths in file://... url.  (Bug#15446)
9488         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
9489         Add some entries.
9490         (authors): Remove unused local variables.
9492 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9494         * profiler.el: Create a more coherent calltree from partial backtraces.
9495         (profiler-format): Hide the tail with `invisible' so that C-s can still
9496         find the hidden elements.
9497         (profiler-calltree-depth): Don't recurse so enthusiastically.
9498         (profiler-function-equal): New hash-table-test.
9499         (profiler-calltree-build-unified): New function.
9500         (profiler-calltree-build): Use it.
9501         (profiler-report-make-name-part): Indent the calltree less.
9502         (profiler-report-mode): Add visibility specs for profiler-format.
9503         (profiler-report-expand-entry, profiler-report-toggle-entry):
9504         Expand the whole subtree when provided with a prefix arg.
9506 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
9508         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
9509         iuwu-mod token.
9510         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
9511         hanging iuwu-mod token.
9512         (ruby-smie--forward-token): Do not include a dot after a token in
9513         that token.
9514         (ruby-smie--backward-token): Likewise.
9516 2013-10-08  Juri Linkov  <juri@jurta.org>
9518         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
9519         to isearch-other-control-char.
9520         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
9521         and isearch-post-command-hook to post-command-hook.
9522         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
9523         and isearch-post-command-hook from post-command-hook.
9524         (isearch-unread-key-sequence)
9525         (isearch-reread-key-sequence-naturally)
9526         (isearch-lookup-scroll-key, isearch-other-control-char)
9527         (isearch-other-meta-char): Remove functions.
9528         (isearch-pre-command-hook, isearch-post-command-hook):
9529         New functions based on isearch-other-meta-char rewritten
9530         relying on the new behavior of overriding-terminal-local-map
9531         that does not replace the local keymaps any more.  (Bug#15200)
9533 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
9535         Support menus on text-mode terminals.
9536         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
9537         functionality.
9539         * tooltip.el (tooltip-mode): Don't error out on TTYs.
9541         * menu-bar.el (popup-menu, popup-menu-normalize-position):
9542         Move here from mouse.el.
9543         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
9544         and arrow keys.
9545         (tty-menu-navigation-map): New map for TTY menu navigation.
9547         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
9549         * frame.el (display-mouse-p): Report text-mode mouse as available
9550         on w32.
9551         (display-popup-menus-p): Report availability if mouse is
9552         available; don't condition on window-system.
9554         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
9555         (tty-menu-selected-face): New faces.
9557 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9559         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
9560         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
9561         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
9562         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
9563         New constants.
9564         (lisp-mode-variables): New `elisp' argument.
9565         (emacs-lisp-mode): Use it.
9566         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
9567         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
9569         * indent.el: Use lexical-binding.
9570         (indent-region): Add progress reporter.
9571         (tab-stop-list): Make it implicitly extend to infinity by repeating the
9572         last step.
9573         (indent--next-tab-stop): New function to implement this behavior.
9574         (tab-to-tab-stop, move-to-tab-stop): Use it.
9576 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
9578         * indent.el (indent-rigidly--current-indentation): New function.
9579         (indent-rigidly-map): New var.
9580         (indent-rigidly): Use it to provide interactive mode (bug#8196).
9582 2013-10-08  Bastien Guerry  <bzg@gnu.org>
9584         * register.el (insert-register): Fix 2013-10-07 change.
9586 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9588         * progmodes/perl-mode.el: Use lexical-binding.
9589         Remove redundant :group args.
9590         (perl-nochange): Change default to be closer to other major modes's
9591         standard behavior.
9592         (perl-indent-line): Don't consider text on current line as a
9593         valid beginning of function from which to indent.
9595         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
9596         with more than one argument (bug#15538).
9598         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
9600         * vc/pcvs.el: Use lexical-binding.
9601         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
9602         environment of `eval'.
9603         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
9604         than a list of expressions.  Adjust callers.
9605         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
9607 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
9609         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
9610         case of the dot in a chained method call being on the following line.
9612 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9614         * electric.el (electric-indent-inhibit): New var.
9615         (electric-indent-post-self-insert-function): Use it.
9616         * progmodes/python.el (python-mode): Set it.
9618         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
9619         open braces.
9621         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
9623         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
9624         (css-mode): Use electric-indent-chars.
9626         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
9627         (font-lock-beg, font-lock-end): Move before first use.
9628         (nxml-mode): Use syntax-propertize-function.
9629         (nxml-after-change, nxml-after-change1): Adjust accordingly.
9630         (nxml-extend-after-change-region): Remove.
9631         * nxml/xmltok.el: Use lexical-binding.
9632         (xmltok-save): Use `declare'.
9633         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
9634         * nxml/nxml-util.el: Use lexical-binding.
9635         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
9636         Use `declare'.
9637         * nxml/nxml-ns.el: Use lexical-binding.
9638         (nxml-ns-save): Use `declare'.
9639         (nxml-ns-prefixes-for): Avoid add-to-list.
9640         * nxml/rng-match.el: Use lexical-binding.
9641         (rng--ipattern): Use cl-defstruct.
9642         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
9643         (rng-cons-group-after, rng-subst-group-after)
9644         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
9645         Use closures instead of `(lambda...).
9647 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
9649         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
9650         of BEG and END.
9652         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9653         Use `tramp-handle-insert-file-contents'.
9654         (tramp-gvfs-handle-insert-file-contents): Remove function.
9656         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9657         Use `save-restriction' in order to keep markers.
9659         * net/trampver.el: Update release number.
9661 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9663         * progmodes/compile.el (compilation-parse-errors):
9664         Use compilation--put-prop.
9665         (compilation--ensure-parse): Check compilation-multiline.
9667         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
9669         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
9670         lexical-binding.
9672         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
9674         * progmodes/ruby-mode.el: Fix recently added tests.
9675         (ruby-smie-grammar): Add - and +.
9676         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
9677         (ruby-smie--backward-id): New functions.
9678         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
9679         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
9680         any more.
9682 2013-10-07  Leo Liu  <sdl.web@gmail.com>
9684         * register.el (register-preview-delay)
9685         (register-preview-functions): New variables.
9686         (register-read-with-preview, register-preview)
9687         (register-describe-oneline): New functions.
9688         (point-to-register, window-configuration-to-register)
9689         (frame-configuration-to-register, jump-to-register)
9690         (number-to-register, view-register, insert-register)
9691         (copy-to-register, append-to-register, prepend-to-register)
9692         (copy-rectangle-to-register): Use register-read-with-preview to
9693         read register.  (Bug#15525)
9695 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
9697         * net/network-stream.el (network-stream-open-starttls): Don't add
9698         --insecure if it's already present, because that gnutls-cli
9699         rejects getting that parameter twice.
9701 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
9703         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
9704         keyword, too.
9706 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
9708         * newcomment.el (comment-use-global-state): Change default value
9709         to t, mark obsolete (Bug#15251).
9710         (comment-beginning): In addition to `comment-to-syntax', check the
9711         value of `comment-use-global-state'.
9713 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9715         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
9716         (ruby-comment-column): Follow the global default, by default.
9717         (ruby-smie-grammar): Add assignment syntax.
9718         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
9719         open-paren, a comma, or a \.
9720         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
9721         and line continuations.
9722         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
9723         followed by implicit semi-colons.  Add rule for string concatenation
9724         and for indentation at BOB.
9725         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
9727         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
9728         calling next-sexp, since next-token may have skipped chars which
9729         next-sexp doesn't know should be skipped!
9731 2013-10-05  Leo Liu  <sdl.web@gmail.com>
9733         * progmodes/octave.el (octave-send-region):
9734         Call compilation-forget-errors.
9736 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
9738         * vc/vc-svn.el (vc-svn-find-admin-dir):
9739         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
9740         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
9741         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
9742         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
9744 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9746         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
9748 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9750         * subr.el (read-passwd): Hide chars even when called within a context
9751         where after-change-functions is disabled (bug#15501).
9752         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
9753         until we removed ourself from overriding-terminal-local-map.
9755 2013-10-04  Leo Liu  <sdl.web@gmail.com>
9757         * progmodes/octave.el (inferior-octave-mode):
9758         Call compilation-forget-errors.
9760 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
9762         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
9764 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
9766         * net/secrets.el (secrets-create-collection): Add optional
9767         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
9768         dbus-call-method argument.  (Bug#15516)
9770 2013-10-04  Leo Liu  <sdl.web@gmail.com>
9772         * progmodes/octave.el (inferior-octave-error-regexp-alist)
9773         (inferior-octave-compilation-font-lock-keywords): New variables.
9774         (compilation-error-regexp-alist)
9775         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
9776         (inferior-octave-mode): Use compilation-shell-minor-mode.
9778 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
9780         * minibuffer.el (completion--replace): Be careful that `end' might be
9781         a marker.
9783 2013-10-03  Daiki Ueno  <ueno@gnu.org>
9785         Add support for package signature checking.
9786         * emacs-lisp/package.el (url-http-file-exists-p)
9787         (epg-make-context, epg-context-set-home-directory)
9788         (epg-verify-string, epg-context-result-for)
9789         (epg-signature-status, epg-signature-to-string)
9790         (epg-check-configuration, epg-configuration)
9791         (epg-import-keys-from-file): Declare.
9792         (package-check-signature): New user option.
9793         (package-unsigned-archives): New user option.
9794         (package-desc): Add `signed' field.
9795         (package-load-descriptor): Set `signed' field if .signed file exists.
9796         (package--archive-file-exists-p): New function.
9797         (package--check-signature): New function.
9798         (package-install-from-archive): Check package signature.
9799         (package--download-one-archive): Check archive signature.
9800         (package-delete): Remove .signed file.
9801         (package-import-keyring): New command.
9802         (package-refresh-contents): Import default keyring.
9803         (package-desc-status): Add "unsigned" status.
9804         (describe-package-1, package-menu--print-info)
9805         (package-menu-mark-delete, package-menu--find-upgrades)
9806         (package-menu--status-predicate): Support "unsigned" status.
9808 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9810         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
9811         the new compilation scheme using the new byte-codes.
9813         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
9814         (byte-pophandler): New byte codes.
9815         (byte-goto-ops): Adjust accordingly.
9816         (byte-compile--use-old-handlers): New var.
9817         (byte-compile-catch): Use new byte codes depending on
9818         byte-compile--use-old-handlers.
9819         (byte-compile-condition-case--old): Rename from
9820         byte-compile-condition-case.
9821         (byte-compile-condition-case--new): New function.
9822         (byte-compile-condition-case): New function that dispatches depending
9823         on byte-compile--use-old-handlers.
9824         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
9825         when we can.
9827         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9828         Optimize under `condition-case' and `catch' if
9829         byte-compile--use-old-handlers is nil.
9830         (disassemble-offset): Handle new bytecodes.
9832 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9834         * subr.el (error): Use `declare'.
9835         (decode-char, encode-char): Use advertised-calling-convention instead
9836         of the docstring to discourage use of the `restriction' arg.
9838 2013-10-03  Daiki Ueno  <ueno@gnu.org>
9840         * epg.el (epg-verify-file): Add a comment saying that it does not
9841         notify verification error as a return value nor a signal.
9842         (epg-verify-string): Ditto.
9844 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
9846         * progmodes/compile.el (compilation-start): Try globbing the arg to
9847         `cd' (bug#15417).
9849 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
9851         Sync with Tramp 2.2.8.
9853         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
9854         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
9855         * net/trampver.el: Update release number.
9857 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
9859         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9860         and default-process-coding-system for darwin only.
9862 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9864         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
9866 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
9868         * vc/vc-git.el (vc-git-grep): Disable pager.
9870 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
9872         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
9873         Use :url instead of :homepage, as per
9874         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
9876         * newcomment.el (comment-beginning): When `comment-use-syntax' is
9877         non-nil, use `syntax-ppss' (Bug#15251).
9879 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9881         * progmodes/octave.el (inferior-octave-startup-file):
9882         Prefer ~/.emacs.d/init_octave.m.
9884 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
9886         * emacs-lisp/package.el (package-desc-from-define):
9887         Accept additional arguments as plist, convert them to an alist and store
9888         them in the `extras' slot.
9889         (package-generate-description-file): Convert extras alist back to
9890         plist and append to the `define-package' form arguments.
9891         (package--alist-to-plist): New function.
9892         (package--ac-desc): Add `extras' slot.
9893         (package--add-to-archive-contents): Check if the archive-contents
9894         vector is long enough, and if it is, pass its `extras' slot value
9895         to `package-desc-create'.
9896         (package-buffer-info): Call `lm-homepage', pass the returned value
9897         to `package-desc-from-define'.
9898         (describe-package-1): Render the homepage button (Bug#13291).
9900         * emacs-lisp/package-x.el (package-upload-buffer-internal):
9901         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
9903 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
9905         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9906         and default-process-coding-system to utf-8-unix (Bug#15402).
9908 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
9910         * subr.el (looking-back): Do not recommend using looking-back.
9912 2013-09-28  Alan Mackenzie  <acm@muc.de>
9914         Fix indentation/fontification of Java enum with "implements".
9916         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
9917         regexp which matches "implements", etc., in Java.
9918         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
9919         specifier clauses coming after "enum".
9920         * progmodes/cc-fonts.el (c-font-lock-declarations)
9921         (c-font-lock-enum-tail): Check for extra specifier clauses coming
9922         after "enum".
9924 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
9926         * faces.el (region): Change ns_selection_color to
9927         ns_selection_fg_color, add ns_selection_bg_color.
9929 2013-09-28  Leo Liu  <sdl.web@gmail.com>
9931         * progmodes/octave.el (inferior-octave-completion-table)
9932         (inferior-octave-completion-at-point): Minor tweaks.
9934         * textmodes/ispell.el (ispell-lookup-words): Rename from
9935         lookup-words.  (Bug#15460)
9936         (lookup-words): Obsolete.
9937         (ispell-complete-word, ispell-command-loop): All uses changed.
9939 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9941         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9942         (octave-mode-menu): Add octave-send-buffer.
9943         (octave-send-buffer): New function.
9945 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9947         * progmodes/octave.el (octave-mode-map): Add key binding for
9948         octave-lookfor.
9949         (octave-mode-menu): Add octave-lookfor.
9950         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9951         octave-lookfor.
9952         (octave-lookfor): New function.
9954 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9956         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9957         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9958         its convention.
9959         (cl--loop-set-iterator-function): New function.
9960         (cl-loop): Adjust accordingly, so as not to use cl-subst.
9961         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9962         Bind `it' with `let' instead of substituting it with `cl-subst'.
9963         (cl--unused-var-p): New function.
9964         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9965         Eliminate some unused variable warnings (bug#15326).
9967 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
9969         * doc-view.el (doc-view-scale-reset): Rename from
9970         `doc-view-reset-zoom-level'.
9971         (doc-view-scale-adjust): New command.
9972         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9973         `doc-view-scale-adjust'.
9975 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
9977         * doc-view.el (doc-view-reset-zoom-level): New command.
9978         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9979         zoom commands (bug#15466).
9981 2013-09-26  Kenichi Handa  <handa@gnu.org>
9983         * international/quail.el (quail-help): Make it not a command.
9985 2013-09-26  Leo Liu  <sdl.web@gmail.com>
9987         * minibuffer.el (completion-all-sorted-completions): Make args
9988         optional as they are.
9990 2013-09-25  Daniel Colascione  <dancol@dancol.org>
9992         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9993         specs are and that they're not evaluated.
9995 2013-09-24  Sam Steingold  <sds@gnu.org>
9997         * midnight.el (clean-buffer-list-kill-regexps)
9998         (clean-buffer-list-kill-buffer-names): Update for the new Man
9999         buffer naming which includes the object name.
10001 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10003         * eshell/esh-cmd.el (eshell--sep-terms): New var.
10004         (eshell-parse-command, eshell-parse-pipeline): Use it since
10005         eshell-separate-commands requires a dynamic scoped var.
10006         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
10008 2013-09-23  Leo Liu  <sdl.web@gmail.com>
10010         * autoinsert.el (auto-insert-alist): Make the value of
10011         lexical-binding match its file setting.
10013 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
10015         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
10017         * autoarg.el (autoarg-kp-digit-argument):
10018         * electric.el (Electric-command-loop):
10019         * kmacro.el (kmacro-step-edit-insert):
10020         Do not set universal-argument-num-events.
10022 2013-09-22  Leo Liu  <sdl.web@gmail.com>
10024         * files.el (interpreter-mode-alist): Add octave.
10026 2013-09-21  Alan Mackenzie  <acm@muc.de>
10028         C++: fontify identifier in declaration following "public:" correctly.
10029         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
10030         to match "public", etc.
10031         (c-decl-prefix-re): Add ":" into the C++ value.
10032         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
10033         bit.  Add a check for a ":" preceded by "public", etc.
10035 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
10037         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
10038         recognized by GDB 7.5 and later.
10040 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
10042         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
10044 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10046         * subr.el (internal--call-interactively): New const.
10047         (called-interactively-p): Use it (bug#3984).
10049 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
10051         * vc/pcvs.el (cvs-mode-ignore):
10052         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
10053         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
10055 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10057         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
10058         (eshell-ls-orig-insert-directory): Remove.
10059         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
10060         (eshell-ls-use-in-dired): Use advice-add/remove.
10061         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
10062         Add `orig-fun' arg for use in :around advice.
10063         Make it check (redundantly) eshell-ls-use-in-dired.
10065 2013-09-19  Glenn Morris  <rgm@gnu.org>
10067         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
10069         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
10071         * emacs-lisp/eieio.el (class-parent): Undo previous change.
10073 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
10075         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
10076         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
10077         (tramp-get-remote-python): New defuns.
10078         (tramp-get-remote-uid-with-perl)
10079         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
10080         contributed by yary <not.com@gmail.com> (tiny change).
10081         (tramp-get-remote-uid-with-python)
10082         (tramp-get-remote-gid-with-python): New defuns.  Python code
10083         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
10084         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
10086 2013-09-19  Glenn Morris  <rgm@gnu.org>
10088         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
10090         * eshell/em-unix.el (eshell-remove-entries):
10091         Rename argument to avoid name-clash with global `top-level'.
10093         * eshell/esh-proc.el (eshell-kill-process-function):
10094         Remove eshell-reset-after-proc from eshell-kill-hook if present.
10095         (eshell-reset-after-proc): Remove unused arg `proc'.
10097         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
10098         (directory-files-and-attributes): Mark unused arg.
10100         * eshell/em-unix.el (eshell-remove-entries):
10101         Remove unused arg `path'.  Update callers.
10103         * eshell/em-hist.el (eshell-hist-parse-arguments):
10104         Remove unused arg `silent'.  Update callers.
10106         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
10107         Fix (f)boundp mix-up.
10109         * eshell/em-smart.el (eshell-smart-scroll-window)
10110         (eshell-disable-after-change):
10111         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
10113 2013-09-18  Alan Mackenzie  <acm@muc.de>
10115         Fix fontification of type when followed by "const".
10116         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
10117         "known" types from fontification.
10119 2013-09-18  Glenn Morris  <rgm@gnu.org>
10121         * emacs-lisp/chart.el (x-display-color-cells): Declare.
10122         (chart-face-list): Drop Emacsen without display-color-p.
10124         * net/eww.el (libxml-parse-html-region): Declare.
10125         (eww-display-html): Explicit error if no libxml2 support.
10127         * doc-view.el (doc-view-mode): Silence --without-x compilation.
10129         * image.el (image-type-from-buffer, image-multi-frame-p):
10130         Remove --without-x warning/error.
10132         * mouse.el (mouse-yank-primary):
10133         * term.el (term-mouse-paste):
10134         Reorder to silence --without-x compilation.
10136         * mpc.el (doc-view-mode): Silence --without-x compilation.
10138         * mail/rmailmm.el (rmail-mime-set-bulk-data):
10139         Silence --without-x compilation.
10141         * progmodes/gud.el (gud-find-file, gud-mode):
10142         Silence --without-x compilation.
10143         (tooltip-mode): Declare.
10145         * wdired.el (dired-backup-overwrite): Remove declaration.
10146         (wdired-mode-map): Add doc string.
10148         * custom.el (x-get-resource): Declare.
10150         * eshell/em-glob.el (ange-cache):
10151         * eshell/em-unix.el (ange-cache): Declare.
10153         * faces.el (x-display-list, x-open-connection, x-get-resource):
10154         Declare.
10156         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
10157         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
10158         Declare.
10160         * frame.el (x-display-grayscale-p, x-display-name): Declare.
10162         * net/gnutls.el (gnutls-log-level): Declare.
10164         * net/shr.el (image-size, image-animate): Declare.
10166         * simple.el (font-info): Declare.
10168         * subr.el (x-popup-dialog): Declare.
10170         * term/common-win.el (x-select-enable-primary)
10171         (x-last-selected-text-primary, x-last-selected-text-clipboard):
10172         Declare.
10174         * term/ns-win.el (x-handle-args): Declare.
10176         * term/x-win.el (x-select-enable-clipboard): Declare.
10178         * term/w32-win.el (create-default-fontset): Declare.
10180         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
10181         Declare.
10183         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
10184         (fit-frame-to-buffer): Explicit error if --without-x.
10185         (mouse-autoselect-window-select): Silence compiler.
10187         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10189         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
10190         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
10191         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
10192         * eshell/esh-util.el (eshell-sublist):
10193         Remove unused local variables.
10195         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
10197         * textmodes/two-column.el: Make 2C-split work for --without-x.
10198         (scroll-bar-columns): Autoload.
10199         (top-level): Require fringe when compiling.
10201 2013-09-18  Leo Liu  <sdl.web@gmail.com>
10203         * subr.el (add-hook): Robustify to handle closure as well.
10205 2013-09-17  Glenn Morris  <rgm@gnu.org>
10207         * simple.el (messages-buffer-mode-map): Unbind "g".
10209 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10211         * help-mode.el (help-mode-finish): Use derived-mode-p.
10212         Remove obsolete highlighting.
10214         * play/life.el (life-mode): Use define-derived-mode.  Derive from
10215         special-mode.
10216         (life): Let-bind inhibit-read-only.
10217         (life-setup): Avoid `setq'.  Use `life-mode'.
10219         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
10220         which should not be needed any more.
10221         (package-menu-refresh, package-menu-describe-package): Use user-error.
10223         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
10224         (eshell-post-rewrite-command-hook): Make obsolete.
10225         (eshell-parse-command): Simplify.
10226         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
10227         (eshell--cmd): Declare.
10228         (eshell-parse-pipeline): Remove unused var `final-p'.
10229         Pass a dynvar to eshell-post-rewrite-command-hook.
10230         Implement the new eshell-post-rewrite-command-function.
10231         (eshell-invoke-directly): Remove unused arg `input'.
10232         * eshell/esh-io.el (eshell-io-initialize):
10233         Use eshell-post-rewrite-command-function (bug#15399).
10234         (eshell--apply-redirections): Rename from eshell-apply-redirections;
10235         adjust to new calling convention.
10236         (eshell-create-handles): Rename args to avoid clashing with dynvar
10237         `standard-output'.
10239 2013-09-17  Glenn Morris  <rgm@gnu.org>
10241         * simple.el (messages-buffer-mode): New major mode.
10242         (messages-buffer): New function.
10243         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
10244         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
10245         (ert-run-test): Use `messages-buffer' function.
10246         (ert--force-message-log-buffer-truncation): Ignore read-only.
10247         * help.el (view-echo-area-messages): Use `messages-buffer' function.
10248         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
10250 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10252         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
10254         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
10256 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10258         * icomplete.el (icomplete-in-buffer): New var.
10259         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
10260         vars and replace them with functions.
10261         (icomplete-minibuffer-setup): Adjust accordingly.
10262         (icomplete--completion-table, icomplete--completion-predicate)
10263         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
10264         New functions.
10265         (icomplete-forward-completions, icomplete-backward-completions)
10266         (icomplete-simple-completing-p, icomplete-exhibit)
10267         (icomplete-completions): Use them.
10268         (icomplete--in-region-buffer): New var.
10269         (icomplete--in-region-setup): New function.
10270         (icomplete-mode): Use it.
10272         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
10273         (bug#15379).
10274         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
10275         return args and options.
10276         (eshell-eval-using-options): Use the new return value of
10277         eshell--do-opts to set the options's vars in their scope.
10278         (eshell--set-option): Rename from eshell-set-option.
10279         Add arg `opt-vals'.
10280         (eshell--process-option): Rename from eshell-process-option.
10281         Add arg `opt-vals'.
10282         (eshell--process-args): Use an `opt-vals' alist to store the options's
10283         values during their processing and return them additionally to the
10284         remaining args.
10286 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
10288         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
10289         continuation character an operator, as far as indentation is
10290         concerned (Bug#15369).
10292 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
10294         * window.el (window--state-put-2): Don't process buffer state
10295         when buffer doesn't exist any more (Bug#15382).
10297 2013-09-15  Glenn Morris  <rgm@gnu.org>
10299         * eshell/em-unix.el (eshell/rm):
10300         Make -f ignore missing files.  (Bug#15373)
10302         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
10303         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
10304         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
10306 2013-09-14  Glenn Morris  <rgm@gnu.org>
10308         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
10310 2013-09-13  Glenn Morris  <rgm@gnu.org>
10312         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
10313         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
10315 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
10317         * frame.el (x-focus-frame): Mark as declared in frame.c.
10319 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10321         * ls-lisp.el: Use advice-add.
10322         (original-insert-directory): Remove.
10323         (ls-lisp--insert-directory): Rename from insert-directory; add
10324         `orig-fun' argument.
10325         (insert-directory): Advise.
10327 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
10329         * term.el (term-emulate-terminal): Decode the command string
10330         before passing it to term-command-hook.  (Bug#15337)
10332 2013-09-13  Glenn Morris  <rgm@gnu.org>
10334         * eshell/esh-util.el (ange-cache): Move declaration earlier.
10336         * eshell/esh-ext.el (eshell-search-path): Declare.
10338         * eshell/em-prompt.el (eshell/pwd): Autoload it.
10339         Otherwise an error occurs if eshell-dirs module not loaded.
10341         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
10343 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
10345         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
10346         `tramp-check-proper-host'.  Check for a valid method name.
10348         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10349         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10350         * net/tramp-sh.el (tramp-maybe-open-connection):
10351         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
10353         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
10354         also for hash values.
10356 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10358         * term/ns-win.el (parameters): Don't declare as dynamic.
10359         (before-make-frame-hook): Don't add ineffective function.
10361         * eshell/*.el: Use lexical-binding (bug#15231).
10363 2013-09-12  Kenichi Handa  <handa@gnu.org>
10365         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
10367 2013-09-12  Glenn Morris  <rgm@gnu.org>
10369         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
10370         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
10372         * subr.el (do-after-load-evaluation): Also give compiler warnings
10373         when obsolete files are used (except by obsolete files).
10375         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
10376         in the status output, assume `filename' is the first.  (Bug#15322)
10378         * vc/vc.el (vc-deduce-fileset): Doc fix.
10380         * calc/calc-help.el (Info-goto-node):
10381         * progmodes/cperl-mode.el (Info-find-node):
10382         * vc/ediff.el (Info-goto-node): Update declarations.
10384         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
10386         * vc/vc-bzr.el (vc-compilation-mode): Declare.
10387         (vc-bzr-pull): Require vc-dispatcher.
10388         * vc/vc-git.el (vc-compilation-mode): Declare.
10389         (vc-git-pull): Require vc-dispatcher.
10391         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
10393         * progmodes/octave.el (help-button-action): Declare.
10395         * shell.el (shell-directory-tracker): Output error as a message
10396         rather than just returning it as a string.
10397         (shell-process-pushd): Remove useless use of message.
10399         * dframe.el (dframe-timer-fn):
10400         * files.el (dir-locals-read-from-file):
10401         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
10402         (mpc-format):
10403         * reveal.el (reveal-post-command):
10404         * saveplace.el (load-save-place-alist-from-file):
10405         * shell.el (shell-resync-dirs):
10406         * w32-common-fns.el (x-get-selection-value):
10407         * emacs-lisp/copyright.el (copyright-find-copyright):
10408         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
10409         * emulation/tpu-edt.el (tpu-copy-keyfile):
10410         * play/bubbles.el (bubbles--mark-neighbourhood):
10411         * progmodes/executable.el
10412         (executable-make-buffer-file-executable-if-script-p):
10413         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
10415 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10417         Cleanup Eshell to rely less on dynamic scoping.
10418         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
10419         last-value, and ext-command here.  Bind `args' closer to `body'.
10420         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
10421         (eshell--args): Declare new dynamic var.
10422         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
10423         last-value, and ext-command.  Pass `args' to `body'.
10424         (eshell-process-args): Bind eshell--args.
10425         (eshell-set-option): Use eshell--args.
10426         * eshell/eshell.el (eshell): Use derived-mode-p.
10427         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
10428         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
10429         (eshell-glob-function): Declare.
10430         * eshell/esh-util.el: Require cl-lib.
10431         (eshell-read-hosts-file): Avoid add-to-list.
10432         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
10433         `err'.
10434         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
10435         Declare.
10436         (eshell/diff): Remove unused var `err'.
10437         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
10438         `killflag'.
10439         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
10440         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
10441         first use.
10442         * eshell/em-glob.el (eshell-glob-matches, message-shown):
10443         Move declaration before first use.
10444         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
10445         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
10446         rely on cl-return.
10448 2013-09-12  Glenn Morris  <rgm@gnu.org>
10450         * term/ns-win.el (global-map): Remove binding for ispell-next,
10451         deleted 1999-05-29.  (Bug#15357)
10453 2013-09-11  Glenn Morris  <rgm@gnu.org>
10455         * echistory.el (electric-command-history): Remove call to deleted func.
10457         * play/landmark.el (landmark-mode): Fix typos.
10459         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
10460         Check cvs-sort-ignore-file is bound.
10462         * savehist.el: No need for cl when compiling on Emacs.
10464 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10466         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
10467         (bug#15338).
10468         (eshell-self-insert-command, eshell-send-invisible):
10469         Remove unused argument.
10470         (eshell-handle-control-codes): Remove unused var `orig'.
10471         Avoid delete-backward-char.
10473         * files.el (set-auto-mode): Simplify a bit further.
10475 2013-09-11  Glenn Morris  <rgm@gnu.org>
10477         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
10478         (set-auto-mode): Don't regexp-quote elements.
10479         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
10480         * progmodes/cc-mode.el (interpreter-mode-alist):
10481         * progmodes/ruby-mode.el (interpreter-mode-alist):
10482         Revert previous change.
10484 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10486         * play/snake.el (snake-mode):
10487         * play/mpuz.el (mpuz-mode):
10488         * play/landmark.el (lm-mode):
10489         * play/blackbox.el (blackbox-mode):
10490         * play/5x5.el (5x5-mode):
10491         * obsolete/options.el (Edit-options-mode):
10492         * net/quickurl.el (quickurl-list-mode):
10493         * net/newst-treeview.el (newsticker-treeview-mode):
10494         * mail/rmailsum.el (rmail-summary-mode):
10495         * mail/mspools.el (mspools-mode):
10496         * locate.el (locate-mode):
10497         * ibuffer.el (ibuffer-mode):
10498         * emulation/ws-mode.el (wordstar-mode):
10499         * emacs-lisp/debug.el (debugger-mode):
10500         * array.el (array-mode):
10501         * net/eudc.el (eudc-mode): Use define-derived-mode.
10502         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
10503         Move initialization into declaration.
10504         (mairix-searches-mode): Use define-derived-mode.
10505         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
10506         (eudc-edit-hotlist): Use dolist.
10507         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
10508         (Man-mode): Use define-derived-mode.
10509         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
10510         (Info-edit-mode): Use define-derived-mode.
10511         (Info-cease-edit): Use Info-mode.
10512         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
10513         into declaration.
10514         (eshell-mode): Use define-derived-mode.
10515         * chistory.el (command-history-mode-map): Rename from
10516         command-history-map.
10517         (command-history-mode): Use define-derived-mode.
10518         (Command-history-setup): Remove function.
10519         * calc/calc.el (calc-trail-mode-map): New var.
10520         (calc-trail-mode): Use define-derived-mode.
10521         (calc-trail-buffer): Set calc-main-buffer manually.
10522         * bookmark.el (bookmark-insert-annotation): New function.
10523         (bookmark-edit-annotation): Use it.
10524         (bookmark-edit-annotation-mode): Make it a proper major mode.
10525         (bookmark-send-edited-annotation): Use derived-mode-p.
10526         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
10527         closer to its ideal place.  Use \' to match EOS.
10529         * profiler.el (profiler-calltree-find): Use function-equal.
10531 2013-09-10  Glenn Morris  <rgm@gnu.org>
10533         * files.el (interpreter-mode-alist): Convert to regexps.
10534         (set-auto-mode): Adapt for this.  (Bug#15306)
10535         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
10536         Comment out unused variable.
10537         * progmodes/cc-mode.el (interpreter-mode-alist):
10538         * progmodes/python.el (interpreter-mode-alist):
10539         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
10540         * progmodes/sh-script.el (sh-set-shell):
10541         No longer use interpreter-mode-alist to get list of shells.
10543         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
10545 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10547         * simple.el: Use set-temporary-overlay-map for universal-argument.
10548         (universal-argument-map): Don't use default-bindings (bug#15317).
10549         Bind switch-frame explicitly.  Replace universal-argument-minus with
10550         a conditional binding.
10551         (universal-argument-num-events, saved-overriding-map): Remove.
10552         (restore-overriding-map): Remove.
10553         (universal-argument--mode): Rename from save&set-overriding-map,
10554         and rewrite.
10555         (universal-argument, universal-argument-more, negative-argument)
10556         (digit-argument): Adjust accordingly.
10557         (universal-argument-minus): Remove.
10558         (universal-argument-other-key): Remove.
10560         * subr.el (with-demoted-errors): Add `format' argument.
10562 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
10564         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
10565         `tramp-cleanup-connection'.
10567         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
10568         parameters KEEP-DEBUG and KEEP-PASSWORD.
10570         * net/tramp.el (tramp-file-name-handler):
10571         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10572         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10573         (tramp-maybe-open-connection):
10574         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10575         Use `tramp-cleanup-connection'.
10577         * net/tramp-sh.el (tramp-maybe-open-connection):
10578         Catch 'uname-changed inside the progress reporter.
10580 2013-09-10  Glenn Morris  <rgm@gnu.org>
10582         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
10584         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
10585         returns "alternate access method" in mode (eg "-rw-r--r--.").
10587 2013-09-08  Glenn Morris  <rgm@gnu.org>
10589         * saveplace.el (load-save-place-alist-from-file):
10590         Demote errors.  (Bug#15305)
10592 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
10594         Improve compatibility with older Emacsen, and XEmacs.
10596         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
10597         only if it is bound.  It isn't for XEmacs.
10598         (with-tramp-progress-reporter): Do not let-bind `result'.
10599         This yields to scoping errors in XEmacs.
10600         (tramp-handle-make-auto-save-file-name): New function, moved from
10601         tramp-sh.el.
10603         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
10604         for `make-auto-save-file-name'.
10605         (tramp-adb--gnu-switches-to-ash):
10606         Use `tramp-compat-replace-regexp-in-string'.
10608         * net/tramp-cache.el (tramp-cache-print): Call
10609         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
10611         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
10612         bound.  It isn't for XEmacs.
10614         * net/tramp-compat.el (tramp-compat-copy-file):
10615         Catch `wrong-number-of-arguments' error.
10616         (tramp-compat-replace-regexp-in-string): New defun.
10618         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
10619         for `make-auto-save-file-name'.
10620         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
10621         `copy-file'.
10622         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
10623         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
10624         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
10626         * net/tramp-gw.el (tramp-gw-open-network-stream):
10627         Use `tramp-compat-replace-regexp-in-string'.
10629         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10630         Call `tramp-handle-make-auto-save-file-name'.
10631         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
10632         (tramp-sh-file-gvfs-monitor-dir-process-filter)
10633         (tramp-sh-file-inotifywait-process-filter):
10634         Use `tramp-compat-replace-regexp-in-string'.
10635         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
10637         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
10638         for `make-auto-save-file-name'.
10639         (tramp-smb-handle-copy-directory):
10640         Call `tramp-compat-replace-regexp-in-string'.
10641         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
10642         (tramp-smb-handle-copy-file): Improve error message.
10643         (tramp-smb-handle-rename-file): Rename directly only in case
10644         `newname' does not exist yet.  This is a restriction of smbclient.
10645         (tramp-smb-maybe-open-connection): Rerun the function only when
10646         `auth-sources' is non-nil.
10648 2013-09-08  Kenichi Handa  <handa@gnu.org>
10650         * international/characters.el: Set category "^" (Combining) for
10651         more characters.
10653 2013-09-07  Alan Mackenzie  <acm@muc.de>
10655         Correctly fontify Java class constructors.
10656         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
10657         in Java Mode.
10658         (c-recognize-typeless-decls): Set the Java value to t.
10659         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10660         While handling a "(", add a check for, effectively, Java, and handle a
10661         "typeless" declaration there.
10663 2013-09-07  Roland Winkler  <winkler@gnu.org>
10665         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
10666         field subtitle for entry type book.
10668 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10670         * minibuffer.el: Make minibuffer-complete call completion-in-region
10671         rather than other way around.
10672         (completion--some, completion-pcm--find-all-completions):
10673         Don't delay signals when debugging.
10674         (minibuffer-completion-contents): Beware fields within the
10675         minibuffer contents.
10676         (completion-all-sorted-completions): Use defvar-local.
10677         (completion--do-completion, completion--cache-all-sorted-completions)
10678         (completion-all-sorted-completions, minibuffer-force-complete):
10679         Add args `beg' and `end'.
10680         (completion--in-region-1): New fun, extracted from minibuffer-complete.
10681         (minibuffer-complete): Use completion-in-region.
10682         (completion-complete-and-exit): New fun, extracted from
10683         minibuffer-complete-and-exit.
10684         (minibuffer-complete-and-exit): Use it.
10685         (completion--complete-and-exit): Rename from
10686         minibuffer--complete-and-exit.
10687         (completion-in-region--single-word): New function, extracted from
10688         minibuffer-complete-word.
10689         (minibuffer-complete-word): Use it.
10690         (display-completion-list): Make `common-substring' argument obsolete.
10691         (completion--in-region): Call completion--in-region-1 instead of
10692         minibuffer-complete.
10693         (completion-help-at-point): Pass boundaries to
10694         minibuffer-completion-help as args rather than via an overlay.
10695         (completion-pcm--string->pattern): Use `any-delim'.
10696         (completion-pcm--optimize-pattern): New function.
10697         (completion-pcm--pattern->regex): Handle `any-delim'.
10698         * icomplete.el (icomplete-forward-completions)
10699         (icomplete-backward-completions, icomplete-completions):
10700         Adjust calls to completion-all-sorted-completions and
10701         completion--cache-all-sorted-completions.
10702         (icomplete-with-completion-tables): Default to t.
10703         * emacs-lisp/crm.el (crm--current-element): Rename from
10704         crm--select-current-element.  Don't put an overlay but return the
10705         boundaries instead.
10706         (crm--completion-command): Take two new args to bind to the boundaries.
10707         (crm-completion-help): Adjust accordingly.
10708         (crm-complete): Use completion-in-region.
10709         (crm-complete-word): Use completion-in-region--single-word.
10710         (crm-complete-and-exit): Use completion-complete-and-exit.
10712 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10714         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
10715         than dynamically.
10717 2013-09-06  Juri Linkov  <juri@jurta.org>
10719         * info.el (Info-display-images-node): When image file doesn't exist
10720         display text version of the image if it's provided in the Info file.
10721         Otherwise, display the location of missing image from SRC attribute.
10722         Add help-echo text property from ALT attribute.  (Bug#15279)
10724 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10726         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
10727         (edit-abbrevs-mode): Use define-derived-mode.
10729         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
10730         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
10731         that it's defined.
10732         (epa-key-list-mode, epa-key-mode, epa-info-mode):
10733         Use define-derived-mode.
10735         * epg.el (epg-start-encrypt): Minor CSE simplification.
10737 2013-09-06  William Xu  <william.xwl@gmail.com>
10739         * arc-mode.el: Add support for 7za (bug#15264).
10740         (archive-7z-program): New var.
10741         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
10742         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
10743         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
10745 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
10747         Remove URL syntax.
10749         * net/tramp.el (tramp-syntax, tramp-prefix-format)
10750         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
10751         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
10752         (tramp-postfix-host-format, tramp-file-name-regexp)
10753         (tramp-completion-file-name-regexp)
10754         (tramp-completion-dissect-file-name)
10755         (tramp-handle-substitute-in-file-name): Remove 'url case.
10756         (tramp-file-name-regexp-url)
10757         (tramp-completion-file-name-regexp-url): Remove constants.
10759 2013-09-06  Glenn Morris  <rgm@gnu.org>
10761         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
10763 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
10765         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
10766         keywords" below "here-doc beginnings" (Bug#15270).
10768 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10770         * subr.el (pop): Use `car-safe'.
10771         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
10772         to detect unused `pop' return value.
10774         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
10775         var `block-regexp'.
10776         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
10777         (python-fill-string): Remove unused var `marker'.
10778         (python-skeleton-add-menu-items): Remove unused var `items'.
10780         * international/mule-cmds.el: Require CL.
10781         (find-coding-systems-for-charsets): Avoid add-to-list.
10782         (sanitize-coding-system-list): New function, extracted from
10783         select-safe-coding-system-interactively.
10784         (select-safe-coding-system-interactively): Use it.
10785         (read-input-method-name): Accept symbols for `default'.
10787         * emacs-lisp/advice.el (defadvice): Add indent rule.
10789 2013-09-05  Daniel Hackney  <dan@haxney.org>
10791         * dired-x.el:
10792         * net/ange-ftp.el:
10793         * net/browse-url.el:
10794         * net/dbus.el:
10795         * net/eudc.el:
10796         * net/eudcb-ldap.el:
10797         * net/eww.el:
10798         * net/imap.el:
10799         * printing.el:
10800         * vc/ediff-diff.el:
10801         * vc/ediff-init.el:
10802         * vc/ediff-merg.el:
10803         * vc/ediff-mult.el:
10804         * vc/ediff-util.el:
10805         * vc/ediff-wind.el:
10806         * vc/ediff.el:
10807         * vc/emerge.el:
10808         * vc/pcvs.el:
10809         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
10810         byte compiler.  Remove some unused let-bound variables.
10812 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10814         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
10815         a "ref-cell", since it gets better optimized (bug#14883).
10817 2013-09-05  Glenn Morris  <rgm@gnu.org>
10819         * progmodes/cc-awk.el (c-forward-sws): Declare.
10821 2013-09-04  Glenn Morris  <rgm@gnu.org>
10823         * generic-x.el [rul-generic-mode]: Require cc-mode.
10824         (c++-mode-syntax-table): Declare.
10825         (rul-generic-mode-syntax-table): Init in the defvar.
10827 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10829         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
10830         (vc-do-command, vc-set-async-update):
10831         * vc/vc-mtn.el (vc-mtn-dir-status):
10832         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
10833         (vc-hg-pull, vc-hg-merge-branch):
10834         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
10835         (vc-git-merge-branch):
10836         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
10837         (vc-cvs-dir-status-files):
10838         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
10839         (vc-bzr-dir-status-files):
10840         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
10841         * vc/vc-annotate.el: Use lexical-binding.
10842         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
10843         (vc-sentinel-movepoint): Declare.
10844         (vc-annotate): Don't use `goto-line'.
10845         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
10846         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
10847         (vc-sentinel-movepoint): Declare.
10848         * vc/vc-svn.el: Use lexical-binding.
10849         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
10850         * vc/vc-sccs.el:
10851         * vc/vc-rcs.el: Use lexical-binding.
10853         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
10854         `deleted'.  Don't drop errors silently.
10856         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
10858 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
10860         * vc/vc.el (vc-ignore): Rewrite.
10861         (vc-default-ignore): New function.
10862         (vc-default-ignore-completion-table): Use find-ignore-file.
10864         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
10865         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
10866         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
10867         Remove.  Most code moved to vc.el.
10869 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10871         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
10872         * net/tramp-smb.el (tramp-smb-get-file-entries):
10873         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
10874         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
10876         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
10877         Update call to it.
10878         (eww-change-select): Remove unused var `properties'.
10879         (eww-make-unique-file-name): Remove unused var `base'.
10881         * finder.el (finder-compile-keywords): Don't mess with windows.
10883         * calculator.el (calculator-funcall): Fix typo in last change.
10885         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
10887         * emacs-lisp/package.el (package-activate-1): Don't let a missing
10888         <pkg>-autoloads.el file stop us.
10890         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
10891         warnings, and factor out common code.
10893 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
10895         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
10896         two-character operators and whether the character preceding them
10897         changes their meaning (Bug#15208).
10899 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10901         Format code sent to Python shell for robustness.
10902         * progmodes/python.el (python-shell-buffer-substring):
10903         New function.
10904         (python-shell-send-region, python-shell-send-buffer): Use it.
10906 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
10908         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
10909         * net/tramp.el (tramp-user-error): ... here.
10910         (tramp-find-method, tramp-check-proper-host)
10911         (tramp-dissect-file-name, tramp-debug-message)
10912         (tramp-handle-shell-command):
10913         * net/tramp-adb.el (tramp-adb-handle-shell-command):
10914         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
10916         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
10918 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
10920         * avoid.el (mouse-avoidance-point-position)
10921         (mouse-avoidance-too-close-p): Handle case where posn-at-point
10922         returns nil.
10924 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10926         * progmodes/python.el (python-shell-completion-get-completions):
10927         Drop use of deleted `comint-last-prompt-overlay'.
10928         (python-nav-if-name-main): New command.
10930 2013-09-01  Glenn Morris  <rgm@gnu.org>
10932         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10933         Avoid leading space in $wins.  Otherwise the sed command used by
10934         eg compile-main ends up containing "/*.el".  (Bug#15170)
10936         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
10938 2013-08-30  Glenn Morris  <rgm@gnu.org>
10940         * emacs-lisp/bytecomp.el (byte-recompile-directory):
10941         Fix is-this-a-directory logic.  (Bug#15220)
10943 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10945         * textmodes/css-mode.el: Use SMIE.
10946         (css-smie-grammar): New var.
10947         (css-smie--forward-token, css-smie--backward-token)
10948         (css-smie-rules): New functions.
10949         (css-mode): Use them.
10950         (css-navigation-syntax-table): Remove var.
10951         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10952         (css-indent-calculate, css-indent-line): Remove functions.
10954         Misc changes to reduce use of `(lambda...); and other cleanups.
10955         * cus-edit.el: Use lexical-binding.
10956         (customize-push-and-save, customize-apropos)
10957         (custom-buffer-create-internal): Use closures.
10958         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10959         * progmodes/ada-xref.el: Use setq.
10960         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10961         * dframe.el: Use lexical-binding.
10962         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
10963         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10964         * descr-text.el: Use lexical-binding.
10965         (describe-text-widget, describe-text-sexp, describe-property-list):
10966         Use closures.
10967         * comint.el (comint-history-isearch-push-state): Use a closure.
10968         * calculator.el: Use lexical-binding.
10969         (calculator-number-to-string): Make it work with lexical-binding.
10970         (calculator-funcall): Same and use cl-letf.
10972         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10973         (lisp--company-doc-string, lisp--company-location): New functions.
10974         (lisp-completion-at-point): Use them to improve Company support.
10976         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10977         params of lambda expressions.
10978         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10979         (ruby-smie--opening-pipe-p): New function.
10980         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10981         symbols and matched |...| for formal params.
10982         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10983         from being treated as hanging.  Handle "rescue".
10985 2013-08-29  Glenn Morris  <rgm@gnu.org>
10987         * progmodes/cc-engine.el (c-pull-open-brace):
10988         Move definition before use.
10990 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10992         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10993         are immutable.  Don't use `unsafe' any more.
10994         (cl--defsubst-expand): Don't substitute at the same time as keeping
10995         a residual unused let-binding.  Don't use `unsafe' any more.
10997 2013-08-29  Glenn Morris  <rgm@gnu.org>
10999         * calendar/cal-china.el (calendar-chinese-year-cache):
11000         Recenter on 2015.
11002         * nxml/nxml-util.el (nxml-debug-clear-inside):
11003         Use cl-loop rather than loop.
11005         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
11007         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
11009 2013-08-28  Glenn Morris  <rgm@gnu.org>
11011         * progmodes/antlr-mode.el: No need to require cc-mode twice.
11013         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
11015         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
11017 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11019         * simple.el (repeat-complex-command--called-interactively-skip):
11020         New function.
11021         (repeat-complex-command): Use it (bug#14136).
11023         * progmodes/cc-mode.el: Minor cleanup of var declarations.
11024         (c-define-abbrev-table): Add `doc' argument.
11025         (c-mode-abbrev-table, c++-mode-abbrev-table)
11026         (objc-mode-abbrev-table, java-mode-abbrev-table)
11027         (idl-mode-abbrev-table, pike-mode-abbrev-table)
11028         (awk-mode-abbrev-table): Use it.
11029         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
11030         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
11031         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
11032         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
11033         Move initialization into the declaration; and remove any
11034         autoload cookie.
11036         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
11037         and dynamic let binding.
11039         * vc/smerge-mode.el: Remove redundant :group args.
11041         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
11042         to load-path.
11044 2013-08-28  Juri Linkov  <juri@jurta.org>
11046         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
11047         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
11048         (isearch-other-meta-char): Handle an undefined shifted printing
11049         character by downshifting it.  (Bug#15200)
11051 2013-08-28  Juri Linkov  <juri@jurta.org>
11053         * isearch.el (isearch-search): Change regexp error message for
11054         non-regexp searches.  (Bug#15166)
11056 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
11058         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
11059         for portability to hosts where /bin/sh has problems.
11061 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11063         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
11065 2013-08-27  Juri Linkov  <juri@jurta.org>
11067         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
11068         in the keyboard macro.  (Bug#15126)
11070 2013-08-27  Juri Linkov  <juri@jurta.org>
11072         * isearch.el (isearch-quote-char): Comment out converting unibyte
11073         to multibyte, thus syncing with its `quoted-insert' counterpart.
11074         (Bug#15166)
11076 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
11078         * window.el (display-buffer-use-some-window): Add missing
11079         argument in call of get-largest-window (Bug#15185).
11080         Reported by Stephen Leake.
11082 2013-08-27  Glenn Morris  <rgm@gnu.org>
11084         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
11086 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11088         * progmodes/python.el (python-font-lock-keywords): Don't return nil
11089         from a matcher-function unless there's no more matches (bug#15161).
11091 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
11093         * minibuffer.el: Revert change from 2013-08-20.
11095         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
11096         with text property `tramp-default', if appropriate.
11097         (tramp-check-proper-host): New defun.
11098         (tramp-dissect-file-name): Do not check hostname.  Revert change
11099         of 2013-03-18.
11100         (tramp-backtrace): Make VEC-OR-PROC optional.
11102         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11103         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11104         * net/tramp-sh.el (tramp-maybe-open-connection):
11105         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
11106         Apply `tramp-check-proper-host'.
11108 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
11110         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
11111         lambda expression in order to have `describe-variable' display it.
11113 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
11115         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
11116         BUF can be optional.  (Bug#15186)
11118 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
11120         * progmodes/flymake.el (flymake-get-real-file-name-function):
11121         Fix broken customization.  (Bug#15184)
11123 2013-08-25  Alan Mackenzie  <acm@muc.de>
11125         Improve indentation of bracelists defined by macros (without "=").
11127         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
11128         expansion begins with "{", regard it as bracelist when it doesn't
11129         contain a ";".
11131         Parse C++ inher-intro when there's a template split over 2 lines.
11133         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
11134         rigorously the search for "class" etc. followed by ":".
11136         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
11137         random languages a regexp which never matches rather than nil.
11139         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
11141         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
11142         (c-awk-regexp-one-line-possibly-open-char-list-re)
11143         (c-awk-one-line-possibly-open-regexp-re)
11144         (c-awk-one-line-non-syn-ws*-re): Remove.
11145         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
11146         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
11147         (c-awk-space*-unclosed-regexp-/-re): New constants.
11148         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
11149         aren't regexp delimiters.
11151         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
11152         handling for a rare situation in AWK Mode involving unterminated
11153         strings/regexps.
11155 2013-08-23  Glenn Morris  <rgm@gnu.org>
11157         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
11159         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
11161         * files.el (create-file-buffer): If the result would begin with
11162         spaces, prepend a "|" instead of removing them.  (Bug#15162)
11164 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11166         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
11167         text-properties (bug#15155).
11169         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
11170         exist any more.
11171         (calc-keypad-redraw): Remove unused var `pad'.
11172         (calc-keypad-press): Remove unused var `menu'.
11174 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
11176         * window.el (display-buffer-pop-up-frame):
11177         Call pop-up-frame-function with BUFFER current so `make-frame' will
11178         use it as the new frame's buffer (Bug#15133).
11180 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11182         * calendar/timeclock.el: Minor cleanups.
11183         (timeclock-ask-before-exiting, timeclock-use-display-time):
11184         Use `symbol'.
11185         (timeclock-modeline-display): Define as alias before the
11186         actual definition.
11187         (timeclock-mode-line-display): Use define-minor-mode.
11188         (timeclock-day-list-template): Make it a function, add an argument.
11189         (timeclock-day-list-required, timeclock-day-list-length)
11190         (timeclock-day-list-debt, timeclock-day-list-span)
11191         (timeclock-day-list-break): Adjust calls accordingly.
11193 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11195         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
11196         Use read--expression so that completion works again.
11198 2013-08-21  Sam Steingold  <sds@gnu.org>
11200         Add rudimentary inferior shell interaction
11201         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
11202         (sh-set-shell): Reset it.
11203         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
11204         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
11206 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11208         * align.el: Use lexical-binding.
11209         (align-region): Simplify accordingly.
11211 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
11213         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
11215         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
11216         `non-essential' up.
11218 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
11220         * net/tramp.el:
11221         * net/tramp-adb.el:
11222         * net/tramp-cmds.el:
11223         * net/tramp-ftp.el:
11224         * net/tramp-gvfs.el:
11225         * net/tramp-gw.el:
11226         * net/tramp-sh.el: Don't wrap external variable declarations by
11227         `eval-when-compile'.
11229 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11231         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
11232         now that Emacs supports ImageMagick animations.
11234 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
11236         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
11237         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
11239 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
11241         * window.el (mouse-autoselect-window-select): Do autoselect when
11242         mouse pointer is on margin.
11244 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
11246         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
11248 2013-08-16  Glenn Morris  <rgm@gnu.org>
11250         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
11251         Handle "Remote Directory" response of some clients.  (Bug#15058)
11253         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
11254         Tweak warning.  (Bug#14926)
11256         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
11257         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
11259         * image-mode.el (image-mode-map): Add menu items to reverse,
11260         increase, decrease, reset animation speed.
11261         (image--set-speed, image-increase-speed, image-decrease-speed)
11262         (image-reverse-speed, image-reset-speed): New functions.
11263         (image-mode-map): Add bindings for speed commands.
11265         * image.el (image-animate-get-speed, image-animate-set-speed):
11266         New functions.
11267         (image-animate-timeout): Respect image :speed property.
11269 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11271         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
11272         previous line (bug#15101).
11273         (debugger-eval-expression, debugger-record-expression):
11274         Use read--expression (bug#15102).
11276 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
11278         Remove byte compiler warnings, visible when compiling with
11279         `byte-compile-force-lexical-warnings' set to t.
11281         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
11282         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
11283         (tramp-handle-unhandled-file-name-directory)
11284         (tramp-handle-file-notify-add-watch, tramp-action-login)
11285         (tramp-action-succeed, tramp-action-permission-denied)
11286         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
11287         arguments with "_".
11289         * net/tramp-adb.el (tramp-adb-parse-device-names)
11290         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
11291         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
11292         (tramp-adb-handle-file-truename): Remove unused arguments.
11294         * net/tramp-cache.el (tramp-flush-directory-property)
11295         (tramp-flush-connection-property, tramp-list-connections)
11296         (tramp-parse-connection-properties): Prefix unused arguments with "_".
11298         * net/tramp-compat.el (tramp-compat-make-temp-file):
11299         Rename FILENAME to F.
11301         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
11302         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
11303         (tramp-zeroconf-parse-workstation-device-names)
11304         (tramp-zeroconf-parse-webdav-device-names)
11305         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
11307         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
11308         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
11310         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
11311         arguments.
11312         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
11313         (tramp-sh-handle-insert-file-contents-literally)
11314         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
11315         with "_".
11316         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
11317         Remove unused variables.
11319         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
11320         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
11321         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
11323         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
11324         Make them a defconst.
11325         (tramp-uuencode-region): Remove unused variable.
11327 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
11329         * frameset.el (frameset--prop-setter): New function.
11330         (frameset-prop): Add gv-setter declaration.
11331         (frameset-filter-minibuffer): Deal with the case that the minibuffer
11332         parameter was already set in FILTERED.  Doc fix.
11333         (frameset--record-minibuffer-relationships): Allow saving a
11334         minibufferless frame without its corresponding minibuffer frame.
11335         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
11336         frame, if the frame id matches.
11337         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
11338         frames before orphaned ones.
11339         (frameset-restore): Warn about orphaned windows, instead of error out.
11341 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
11343         * window.el (window-make-atom): Don't overwrite parameter
11344         already present.
11345         (display-buffer-in-atom-window): Handle special case where we
11346         split an already atomic window.
11347         (window--major-non-side-window, display-buffer-in-side-window)
11348         (window--side-check): Ignore minibuffer window when walking
11349         window tree.
11350         (window-deletable-p): Return 'frame only if no other frame uses
11351         our minibuffer window.
11352         (record-window-buffer): Run buffer-list-update-hook.
11353         (split-window): Make sure window--check-frame won't destroy an
11354         existing atomic window in case the new window gets nested
11355         inside.
11356         (display-buffer-at-bottom): Ignore minibuffer window when
11357         walking window tree.  Don't split a side window.
11358         (pop-to-buffer): Don't set-buffer here, the select-window call
11359         should do that.
11360         (mouse-autoselect-window-select): Autoselect only if we are in the
11361         text portion of the window.
11363 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11365         * net/shr.el (shr-parse-image-data): New function to grab both the
11366         data itself and the Content-Type.
11367         (shr-put-image): Use it.
11369         * net/eww.el (eww-display-image): Ditto.
11371         * image.el (image-content-type-suffixes): New variable.
11373 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11375         * progmodes/python.el (python-imenu--build-tree)
11376         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
11378 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
11380         * simple.el (backward-word): Mention the optional argument.
11382 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11384         * frameset.el (frameset--make): Rename constructor from make-frameset.
11385         (frameset-p, frameset-valid-p): Don't autoload.
11386         (frameset-valid-p): Use normal accessors.
11388 2013-08-13  Glenn Morris  <rgm@gnu.org>
11390         * progmodes/compile.el (compile-command): Tweak example in doc.
11391         * obsolete/scribe.el (scribe-mode):
11392         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
11394         * mail/feedmail.el (feedmail-confirm-outgoing)
11395         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
11397         * cus-start.el (truncate-partial-width-windows): Fix type.
11399         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
11401         * net/shr.el (shr-table-horizontal-line): Fix custom type.
11403 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11405         * emacs-lisp/timer.el (timer--time-setter): New function.
11406         (timer--time): Use it as gv-setter.
11408         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
11409         setter is not a symbol.
11411 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
11413         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
11414         if sending fails.  This makes debugging easier.
11416 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
11418         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
11419         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
11420         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
11422 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
11424         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
11426 2013-08-12  Glenn Morris  <rgm@gnu.org>
11428         * format.el (format-annotate-function):
11429         Handle read-only text properties in the source.  (Bug#14887)
11431 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11433         * net/eww.el (eww-display-html): Ignore coding system errors.
11434         One web site uses "utf-8lias" as the coding system.
11436 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
11438         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
11440 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
11442         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
11443         (tutorial--detailed-help): Remove unused local variables.
11444         (tutorial--save-tutorial-to): Use ignore-errors.
11445         (help-with-tutorial): Use looking-at-p.
11447         * view.el (view-buffer-other-window, view-buffer-other-frame):
11448         Mark unused arguments.
11450         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
11451         (woman-select-symbol-fonts, woman, woman-find-file)
11452         (woman-insert-file-contents, woman-non-underline-faces):
11453         Use string-match-p.
11454         (woman1-unquote): Move declaration.
11456         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
11457         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
11458         argument.  Remove unused local variable.
11459         (xml-parse-elem-type): Use string-match-p.
11460         (xml-substitute-numeric-entities): Use ignore-errors.
11462         * calculator.el (calculator): Mark unused argument.
11463         (calculator-paste, calculator-quit, calculator-integer-p):
11464         Use ignore-errors.
11465         (calculator-string-to-number, calculator-decimal, calculator-exp)
11466         (calculator-op-or-exp): Use string-match-p.
11468         * dired.el (dired-buffer-more-recently-used-p): Declare.
11469         (dired-insert-set-properties, dired-insert-old-subdirs):
11470         Use ignore-errors.
11472         * dired-aux.el (dired-compress): Use ignore-errors.
11473         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
11474         (dired-do-async-shell-command, dired-do-shell-command)
11475         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
11476         (dired-insert-subdir-validate): Use string-match-p.
11477         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
11478         (dired-add-entry): Use string-match-p, looking-at-p.
11479         (dired-insert-subdir-newpos): Remove unused local variable.
11481         * filenotify.el (file-notify-callback): Remove unused local variable.
11483         * filesets.el (filesets-error): Mark unused argument.
11484         (filesets-which-command-p, filesets-filter-dir-names)
11485         (filesets-directory-files, filesets-get-external-viewer)
11486         (filesets-ingroup-get-data): Use string-match-p.
11488         * find-file.el (ff-other-file-name, ff-other-file-name)
11489         (ff-find-the-other-file, ff-cc-hh-converter):
11490         Remove unused local variables.
11491         (ff-get-file-name): Use string-match-p.
11492         (ff-all-dirs-under): Use ignore-errors.
11494         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
11495         (follow-select-if-visible): Remove unused local variable.
11497         * forms.el (read-file-filter): Move declaration.
11498         (forms--make-format, forms--make-parser, forms-insert-record):
11499         Quote function with #'.
11500         (forms--update): Use string-match-p.  Quote function with #'.
11502         * help-mode.el (help-dir-local-var-def): Mark unused argument.
11503         (help-make-xrefs): Use looking-at-p.
11504         (help-xref-on-pp): Use looking-at-p, ignore-errors.
11506         * ibuffer.el (ibuffer-ext-visible-p): Declare.
11507         (ibuffer-confirm-operation-on): Use string-match-p.
11509         * msb.el (msb-item-handler, msb-dired-item-handler):
11510         Mark unused arguments.
11512         * ses.el (ses-decode-cell-symbol)
11513         (ses-kill-override): Remove unused local variable.
11514         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
11515         (ses-load): Use ignore-errors, looking-at-p.
11516         (ses-jump-safe): Use ignore-errors.
11517         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
11519         * tabify.el (untabify, tabify): Mark unused arguments.
11521         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
11522         Mark unused argument.
11523         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
11524         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
11526         * emacs-lisp/timer.el (timer--time): Define setter with
11527         gv-define-setter to avoid deprecation warning.
11529         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
11530         (*record-cmpl-statistics-p*): Remove (was commented out).
11531         (cmpl-statistics-block): Remove (body was commented out).
11532         All callers changed.
11533         (add-completions-from-buffer, load-completions-from-file):
11534         Remove unused variables.
11536 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
11538         * filecache.el (file-cache-delete-file-list):
11539         Print message only when told so.
11540         (file-cache-files-matching): Use #' in mapconcat argument.
11542         * ffap.el (ffap-url-at-point): Fix reference to variable
11543         thing-at-point-default-mail-uri-scheme.
11545 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11547         * subr.el (define-error): New function.
11548         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
11549         error-file-not-found and define with define-error.
11550         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
11551         and define with define-error.
11552         * userlock.el (file-locked, file-supersession):
11553         * simple.el (mark-inactive):
11554         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
11555         * progmodes/ada-mode.el (ada-mode-errors):
11556         * play/life.el (life-extinct):
11557         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
11558         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
11559         * nxml/rng-util.el (rng-error):
11560         * nxml/rng-uri.el (rng-uri-error):
11561         * nxml/rng-match.el (rng-compile-error):
11562         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
11563         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
11564         * nxml/nxml-rap.el (nxml-scan-error):
11565         * nxml/nxml-outln.el (nxml-outline-error):
11566         * net/soap-client.el (soap-error):
11567         * net/gnutls.el (gnutls-error):
11568         * net/ange-ftp.el (ftp-error):
11569         * mpc.el (mpc-proc-error):
11570         * json.el (json-error, json-readtable-error, json-unknown-keyword)
11571         (json-number-format, json-string-escape, json-string-format)
11572         (json-key-format, json-object-format):
11573         * jka-compr.el (compression-error):
11574         * international/quail.el (quail-error):
11575         * international/kkc.el (kkc-error):
11576         * emacs-lisp/ert.el (ert-test-failed):
11577         * calc/calc.el (calc-error, inexact-result, math-overflow)
11578         (math-underflow):
11579         * bookmark.el (bookmark-error-no-filename):
11580         * epg.el (epg-error): Define with define-error.
11582         * time.el (display-time-event-handler)
11583         (display-time-next-load-average): Don't call sit-for since it seems
11584         unnecessary (bug#15045).
11586         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
11587         Use #' instead of ' to quote functions.
11588         (checkdoc-output-mode): Use setq-local.
11589         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
11590         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
11591         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
11592         (checkdoc-ispell, checkdoc-ispell-current-buffer)
11593         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
11594         (checkdoc-ispell-message-text, checkdoc-ispell-start)
11595         (checkdoc-ispell-continue, checkdoc-ispell-comments)
11596         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
11598         * ido.el (ido-completion-help): Fix up compiler warning.
11600 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
11602         * frameset.el (frameset-p): Add autoload cookie.
11603         (frameset--jump-to-register): New function, based on code moved from
11604         register.el.
11605         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
11607         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
11608         (frameset-restore, frameset-save, frameset-session-filter-alist):
11609         Remove declarations.
11610         (register-alist): Doc fix.
11611         (frameset-to-register): Move to frameset.el.
11612         (jump-to-register, describe-register-1): Remove frameset-specific code.
11614 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
11616         * allout-widgets.el (allout-widgets-pre-command-business)
11617         (allout-widgets-post-command-business)
11618         (allout-widgets-after-change-handler)
11619         (allout-decorate-item-and-context, allout-set-boundary-marker)
11620         (allout-body-modification-handler)
11621         (allout-graphics-modification-handler): Mark ignored arguments.
11622         (allout-widgets-post-command-business)
11623         (allout-widgets-exposure-change-processor)
11624         (allout-widgets-exposure-undo-processor)
11625         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
11626         (allout-parse-item-at-point, allout-decorate-item-guides)
11627         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
11628         * allout.el (epa-passphrase-callback-function): Declare.
11629         (allout-overlay-insert-in-front-handler)
11630         (allout-overlay-interior-modification-handler)
11631         (allout-isearch-end-handler, allout-chart-siblings)
11632         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
11633         (allout-yank-processing, allout-process-exposed)
11634         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
11635         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
11636         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
11637         (lisp-indent-defform): Mark ignored arguments.
11638         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
11639         (calculate-lisp-indent): Remove unused variables.
11640         * international/characters.el (indian-2-column, arabic-2-column)
11641         (tibetan): Mark ignored arguments.
11642         (use-cjk-char-width-table): Mark ignored arguments.
11643         Remove unused variables.
11644         * international/fontset.el (build-default-fontset-data)
11645         (x-compose-font-name, create-fontset-from-fontset-spec):
11646         Mark ignored arguments.
11647         (fontset-plain-name): Remove unused variables.
11648         * international/mule.el (charset-id, charset-bytes, generic-char-p)
11649         (keyboard-coding-system): Mark ignored arguments.
11650         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
11651         * help.el (resize-temp-buffer-window):
11652         * window.el (display-buffer-in-major-side-window)
11653         (display-buffer-in-side-window, display-buffer-in-previous-window):
11654         Remove unused variables.
11655         * isearch.el (isearch-forward-symbol):
11656         * version.el (emacs-bzr-version-bzr):
11657         * international/mule-cmds.el (current-language-environment):
11658         * term/common-win.el (x-handle-iconic, x-handle-geometry)
11659         (x-handle-display):
11660         * term/pc-win.el (x-list-fonts, x-display-planes)
11661         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
11662         (x-server-version, x-display-screens, x-display-mm-height)
11663         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
11664         (x-selection-owner-p, x-own-selection-internal)
11665         (x-disown-selection-internal, x-get-selection-internal)
11666         (msdos-initialize-window-system):
11667         * term/tty-colors.el (tty-color-alist, tty-color-clear):
11668         * term/x-win.el (x-handle-no-bitmap-icon):
11669         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
11670         (vc-default-find-file-hook, vc-default-extra-menu):
11671         Mark ignored arguments.
11673 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11675         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
11676         break-condition in the context of the debugged code (bug#12685).
11678 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
11680         * comint.el:
11681         Do not use an overlay to highlight the last prompt.  (Bug#14744)
11682         (comint-mode): Make comint-last-prompt buffer local.
11683         (comint-last-prompt): New variable.
11684         (comint-last-prompt-overlay): Remove.  Superseded by
11685         comint-last-prompt.
11686         (comint-snapshot-last-prompt, comint-output-filter):
11687         Use comint-last-prompt.
11689 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
11691         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
11692         (frameset-save): Check validity of the resulting frameset.
11694 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
11696         * ido.el (ido-record-command): Add doc string.
11698 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
11700         * frameset.el (frameset): Do not disable creation of the default
11701         frameset-p predicate.  Doc fix.
11702         (frameset-valid-p): New function, copied from the old predicate-p.
11703         Add additional checks.
11704         (frameset-restore): Check with frameset-valid-p.
11705         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
11706         (frameset-name, frameset-description, frameset-properties)
11707         (frameset-states): Add docstring.
11708         (frameset-session-filter-alist, frameset-persistent-filter-alist)
11709         (frameset-filter-alist): Doc fixes.
11711 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
11713         * frameset.el (frameset-p, frameset-prop): Doc fixes.
11715 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11717         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
11718         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
11719         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
11720         (byte-compile-normal-call): Remove obsolescence check.
11722 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
11724         * frameset.el (frameset-restore): Doc fix.
11726         * register.el (frameset-frame-id, frameset-frame-with-id)
11727         (frameset-p, frameset-restore, frameset-save): Declare.
11728         (register-alist): Document framesets.
11729         (frameset-session-filter-alist): Declare.
11730         (frameset-to-register): New function.
11731         (jump-to-register): Implement jumping to framesets.  Doc fix.
11732         (describe-register-1): Describe framesets.
11734         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
11736 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
11738         * desktop.el (desktop-save-frameset): Use new frameset-save args.
11739         Use lexical-binding.
11741         * frameset.el (frameset): Use type vector, not list (incompatible
11742         change).  Do not declare a new constructor, use the default one.
11743         Upgrade suggested properties `app', `name' and `desc' to slots `app',
11744         `name' and `description', respectively, and add read-only slot
11745         `timestamp'.  Doc fixes.
11746         (frameset-copy, frameset-persistent-filter-alist)
11747         (frameset-filter-alist, frameset-switch-to-gui-p)
11748         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
11749         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
11750         (frameset-filter-iconified, frameset-keep-original-display-p):
11751         Doc fixes.
11752         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
11753         Rename from frameset-filter-(save|restore)-param.  All callers changed.
11754         Doc fix.
11755         (frameset-p): Adapt to change to vector and be more thorough.
11756         Change arg name to OBJECT.  Doc fix.
11757         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
11758         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
11759         All callers changed.
11760         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
11761         All callers changed.
11762         (frameset--record-minibuffer-relationships): Rename from
11763         frameset--process-minibuffer-frames.  All callers changed.
11764         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
11765         Use new default constructor (again).  Doc fix.
11766         (frameset--find-frame-if): Rename from `frameset--find-frame'.
11767         All callers changed.
11768         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
11769         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
11770         Doc fix.
11771         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
11772         PARAMETERS and WINDOW-STATE, respectively.
11773         (frameset-restore): Add new keyword argument PREDICATE.
11774         Reset frameset--target-display to nil.  Doc fix.
11776 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11778         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
11779         (bat-mode): Use it.
11780         (bat-mode-syntax-table): Mark \n as end-of-comment.
11781         (bat-font-lock-keywords): Remove comment rule.
11783         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
11784         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
11786         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
11787         (byte-compile-callargs-warn): Use `push'.
11788         (byte-compile-arglist-warn): Ignore higher-order "calls".
11789         (byte-compile-file-form-autoload): Use `pcase'.
11790         (byte-compile-function-form): If quoting a symbol, check that it exists.
11792 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
11794         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
11795         and add a few popular commands found in batch files.
11796         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
11797         (dos-mode): Doc fixes.
11799 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11801         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
11802         (dos-mode): Use setq-local.  Add space after "rem".
11803         (dos-mode-syntax-table): Don't use "w" for symbol chars.
11804         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
11806 2013-08-07  Arni Magnusson  <arnima@hafro.is>
11808         * progmodes/dos.el: New file.
11809         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
11810         dos-mode.
11812 2013-08-06  Glenn Morris  <rgm@gnu.org>
11814         * calendar/calendar.el: Add new faces, and day-header-array.
11815         (calendar-weekday-header, calendar-weekend-header)
11816         (calendar-month-header): New faces.
11817         (calendar-day-header-construct): New function.
11818         (calendar-day-header-width): Also :set calendar-day-header-array.
11819         (calendar-american-month-header, calendar-european-month-header)
11820         (calendar-iso-month-header): Use calendar- faces.
11821         (calendar-generate-month):
11822         Use calendar-day-header-array for day headers; apply faces to them.
11823         (calendar-mode): Check calendar-font-lock-keywords non-nil.
11824         (calendar-abbrev-construct): Add optional maxlen argument.
11825         (calendar-day-name-array): Doc fix.
11826         (calendar-day-name-array, calendar-abbrev-length)
11827         (calendar-day-abbrev-array):
11828         Also :set calendar-day-header-array, and maybe redraw.
11829         (calendar-day-header-array): New option.  (Bug#15007)
11830         (calendar-font-lock-keywords): Set to nil and make obsolete.
11831         (calendar-day-name): Add option to use header array.
11833 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11835         * net/shr.el (shr-render-td): Remove debugging.
11836         (shr-render-td): Make width computation consistent by defaulting
11837         all zero-width columns to 10 characters.  This may not be optimal,
11838         but it's at least consistent.
11839         (shr-make-table-1): Redo last change to fix the real problem in
11840         colspan handling.
11842 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
11844         * files.el (cache-long-line-scans):
11845         Make obsolete alias to `cache-long-scans'.
11847 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
11849         * frameset.el (frameset, frameset-filter-alist)
11850         (frameset-filter-params, frameset-save, frameset--reuse-frame)
11851         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
11852         (frameset-compute-pos): Rename from frameset--compute-pos,
11853         and add docstring.
11854         (frameset-move-onscreen): Use frameset-compute-pos.
11855         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11857         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
11858         Fix typos in docstrings.
11860 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
11862         * frame.el (get-other-frame): Tiny cleanup.
11864 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
11866         * vc/vc.el (vc-default-ignore-completion-table):
11867         Silence byte-compiler warning.
11869         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
11870         slot, which can indeed be nil.
11871         (frameset-live-filter-alist, frameset-persistent-filter-alist):
11872         Move entry for `left' from persistent to live filter alist.
11873         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
11874         Doc fixes.
11875         (frameset-filter-params): When restoring a frame, copy items added to
11876         `filtered', to avoid unwittingly modifying the original parameters.
11877         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
11878         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
11880         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
11881         to use looking-at-p instead of looking-at.  (Bug#15028)
11883 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11885         Revert introduction of isearch-filter-predicates (bug#14714).
11886         Rely on add-function instead.
11887         * isearch.el (isearch-filter-predicates): Rename it back to
11888         isearch-filter-predicate.
11889         (isearch-message-prefix): Use advice-function-mapc and advice
11890         properties to get the isearch-message-prefix.
11891         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
11892         instead of run-hook-with-args-until-failure.
11893         (isearch-filter-visible): Not obsolete any more.
11894         * loadup.el: Preload nadvice.
11895         * replace.el (perform-replace): Revert to funcall
11896         instead of run-hook-with-args-until-failure.
11897         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
11898         * dired-aux.el (dired-isearch-filenames-mode): Rename from
11899         dired-isearch-filenames-toggle; make it into a proper minor mode.
11900         Use add/remove-function.
11901         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
11902         Call the minor-mode rather than add/remove-hook.
11903         (dired-isearch-filter-filenames):
11904         Remove isearch-message-prefix property.
11905         * info.el (Info--search-loop): New function, extracted from Info-search.
11906         Funcall isearch-filter-predicate instead of
11907         run-hook-with-args-until-failure isearch-filter-predicates.
11908         (Info-search): Use it.
11909         (Info-mode): Use isearch-filter-predicate instead of
11910         isearch-filter-predicates.
11912 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
11914         Do not call to `selected-window' where it is assumed by default.
11915         Affected functions are `window-minibuffer-p', `window-dedicated-p',
11916         `window-hscroll', `window-width', `window-height', `window-buffer',
11917         `window-frame', `window-start', `window-point', `next-window'
11918         and `window-display-table'.
11919         * abbrev.el (abbrev--default-expand):
11920         * bs.el (bs--show-with-configuration):
11921         * buff-menu.el (Buffer-menu-mouse-select):
11922         * calc/calc.el (calc):
11923         * calendar/calendar.el (calendar-generate-window):
11924         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
11925         (diary-make-entry):
11926         * comint.el (send-invisible, comint-dynamic-complete-filename)
11927         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
11928         * completion.el (complete):
11929         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
11930         * disp-table.el (describe-current-display-table):
11931         * doc-view.el (doc-view-insert-image):
11932         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
11933         * ehelp.el (with-electric-help):
11934         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11935         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11936         * emacs-lisp/helper.el (Helper-help-scroller):
11937         * emulation/cua-base.el (cua--post-command-handler-1):
11938         * eshell/esh-mode.el (eshell-output-filter):
11939         * ffap.el (ffap-gnus-wrapper):
11940         * help-macro.el (make-help-screen):
11941         * hilit-chg.el (highlight-compare-buffers):
11942         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11943         * hl-line.el (global-hl-line-highlight):
11944         * icomplete.el (icomplete-simple-completing-p):
11945         * isearch.el (isearch-done):
11946         * jit-lock.el (jit-lock-stealth-fontify):
11947         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11948         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11949         * mpc.el (mpc-tagbrowser, mpc):
11950         * net/rcirc.el (rcirc-any-buffer):
11951         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11952         * play/landmark.el (landmark-max-width, landmark-max-height):
11953         * play/zone.el (zone):
11954         * progmodes/compile.el (compilation-goto-locus):
11955         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11956         * progmodes/etags.el (find-tag-other-window):
11957         * progmodes/fortran.el (fortran-column-ruler):
11958         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11959         * progmodes/verilog-mode.el (verilog-point-text):
11960         * reposition.el (reposition-window):
11961         * rot13.el (toggle-rot13-mode):
11962         * server.el (server-switch-buffer):
11963         * shell.el (shell-dynamic-complete-command)
11964         (shell-dynamic-complete-environment-variable):
11965         * simple.el (insert-buffer, set-selective-display)
11966         (delete-completion-window):
11967         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11968         (speedbar-recenter):
11969         * startup.el (fancy-splash-head):
11970         * textmodes/ispell.el (ispell-command-loop):
11971         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11972         * tutorial.el (help-with-tutorial):
11973         * vc/add-log.el (add-change-log-entry):
11974         * vc/compare-w.el (compare-windows):
11975         * vc/ediff-help.el (ediff-indent-help-message):
11976         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11977         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11978         (ediff-setup-control-frame):
11979         * vc/emerge.el (emerge-position-region):
11980         * vc/pcvs-util.el (cvs-bury-buffer):
11981         * window.el (walk-windows, mouse-autoselect-window-select):
11982         * winner.el (winner-set-conf, winner-undo): Related users changed.
11984 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
11986         * frameset.el (frameset--set-id): Doc fix.
11987         (frameset-frame-id, frameset-frame-id-equal-p)
11988         (frameset-locate-frame-id): New functions.
11989         (frameset--process-minibuffer-frames, frameset--reuse-frame)
11990         (frameset-restore): Use them.
11992 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
11994         Do not call to `selected-frame' where it is assumed by default.
11995         Affected functions are `raise-frame', `redraw-frame',
11996         `frame-first-window', `frame-terminal' and `delete-frame'.
11997         * calendar/appt.el (appt-disp-window):
11998         * epg.el (epg-wait-for-completion):
11999         * follow.el (follow-delete-other-windows-and-split)
12000         (follow-avoid-tail-recenter):
12001         * international/mule.el (set-terminal-coding-system):
12002         * mail/rmail.el (rmail-mail-return):
12003         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12004         * progmodes/f90.el (f90-add-imenu-menu):
12005         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
12006         * server.el (server-switch-buffer):
12007         * simple.el (delete-completion-window):
12008         * talk.el (talk):
12009         * term/xterm.el (terminal-init-xterm-modify-other-keys)
12010         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
12011         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
12012         * vc/ediff.el (ediff-documentation): Related users changed.
12013         * frame.el (selected-terminal): Remove the leftover.
12015 2013-08-05  Glenn Morris  <rgm@gnu.org>
12017         * calendar/calendar.el (calendar-generate-month):
12018         Fix for calendar-column-width != 1 + calendar-day-digit-width.
12019         (calendar-generate-month, calendar-font-lock-keywords):
12020         Fix for calendar-day-header-width > length of any day name.
12022 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
12024         * desktop.el (desktop-clear): Use new name of sort predicate.
12026         * frameset.el (frameset): Add docstring.  Move :version property to its
12027         own `version' slot.
12028         (frameset-copy): Rename from copy-frameset.
12029         (frameset-p): Check more thoroughly.
12030         (frameset-prop): Do not check for :version, which is no longer a prop.
12031         (frameset-live-filter-alist, frameset-persistent-filter-alist):
12032         Use new :never value instead of t.
12033         (frameset-filter-alist): Expand and clarify docstring.
12034         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
12035         (frameset-filter-minibuffer, frameset-filter-save-param)
12036         (frameset-filter-restore-param, frameset-filter-iconified):
12037         Add pointer to docstring of frameset-filter-alist.
12038         (frameset-filter-params): Rename filter values to be more meaningful:
12039         :never instead of t, and reverse the meanings of :save and :restore.
12040         (frameset--process-minibuffer-frames): Clarify error message.
12041         (frameset-save): Avoid unnecessary and confusing call to framep.
12042         Use new BOA constructor for framesets.
12043         (frameset--reuse-list): Doc fix.
12044         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
12045         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
12046         (frameset-minibufferless-first-p): Doc fix.
12047         Rename from frameset-sort-frames-for-deletion.
12048         (frameset-restore): Doc fixes.  Use new function names.
12049         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
12051 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
12053         * desktop.el (desktop-restore-forces-onscreen)
12054         (desktop-restore-reuses-frames): Document :keyword constant values.
12055         (desktop-filter-parameters-alist): Remove, now identical to
12056         frameset-filter-alist.
12057         (desktop--filter-tty*): Remove, moved to frameset.el.
12058         (desktop-save-frameset, desktop-restore-frameset):
12059         Do not pass :filters argument.
12061         * frameset.el (frameset-live-filter-alist)
12062         (frameset-persistent-filter-alist): New variables.
12063         (frameset-filter-alist): Use them.  Add autoload cookie.
12064         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
12065         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
12066         `frameset--id' (it's supposed to be internal to frameset.el).
12067         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
12068         (frameset--initial-params): New function.
12069         (frameset--get-frame): Use it.  Doc fix.
12070         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
12071         Accept :all, not 'all.
12072         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
12073         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
12074         with fbound symbols.  Fix frame id matching, and remove matching ids if
12075         the frame being restored is deleted.  Obey :delete.
12077 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12079         * subr.el (macrop): New function.
12080         (text-clone--maintaining): New var.
12081         (text-clone--maintain): Rename from text-clone-maintain.  Use it
12082         instead of inhibit-modification-hooks.
12084         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
12085         a proxy, so as handle autoloads and redefinitions of the target.
12086         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
12088         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
12089         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
12090         (pcase--mutually-exclusive-p): New function.
12091         (pcase--split-consp): Use it.
12092         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
12093         mutually exclusive with the current predicate.
12095         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
12096         (edebug-macrop): Remove.  Use `macrop' instead.
12097         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
12098         (ad-macro-p):
12099         * eshell/esh-cmd.el (eshell-macrop):
12100         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
12102 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12104         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
12105         (advice-mapc): New function, using it.
12106         (advice-function-member-p): New function.
12107         (advice--normalize): Store the cdr in advice--saved-rewrite since
12108         that's the part that will be changed.
12109         (advice--symbol-function): New function.
12110         (advice-remove): Handle removal before the function is defined.
12111         Adjust to new advice--saved-rewrite.
12112         (advice-member-p): Use advice-function-member-p and
12113         advice--symbol-function.
12115 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
12117         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
12118         (frameset-filter-minibuffer): Doc fix.
12119         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
12120         (frameset--set-id, frameset--process-minibuffer-frames)
12121         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
12122         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
12124         * desktop.el (desktop-clear): Only delete frames when called
12125         interactively and desktop-restore-frames is non-nil.  Doc fix.
12126         (desktop-read): Set desktop-saved-frameset to nil.
12128 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
12130         * vc/vc.el (vc-ignore): Rewrite.
12131         (vc-default-ignore-completion-table, vc--read-lines)
12132         (vc--add-line, vc--remove-regexp): New functions.
12134         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
12135         (vc-svn-ignore-completion-table): New function.
12137         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
12138         (vc-hg-ignore-completion-table)
12139         (vc-hg-find-ignore-file): New functions.
12141         * vc/vc-git.el (vc-git-ignore): Rewrite.
12142         (vc-git-ignore-completion-table)
12143         (vc-git-find-ignore-file): New functions.
12145         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
12147         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
12148         (vc-bzr-ignore-completion-table)
12149         (vc-bzr-find-ignore-file): New functions.
12151 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
12153         * frameset.el (frameset-prop): New function and setter.
12154         (frameset-save): Do not modify frame list passed by the caller.
12156 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12158         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
12160 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12162         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
12163         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
12165         * custom.el (custom-initialize-default, custom-initialize-set)
12166         (custom-initialize-reset, custom-initialize-changed): Affect the
12167         toplevel-default-value (bug#6275, bug#14586).
12168         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
12169         for bug#6275.
12171 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
12173         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
12174         Add cl-def* expressions.
12176         * frameset.el (frameset-filter-params): Fix order of arguments.
12178 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
12180         Move code related to saving frames to frameset.el.
12181         * desktop.el: Require frameset.
12182         (desktop-restore-frames): Doc fix.
12183         (desktop-restore-reuses-frames): Rename from
12184         desktop-restoring-reuses-frames.
12185         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
12186         (desktop-clear): Clear frames too.
12187         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
12188         (desktop--filter-tty*, desktop-save, desktop-read):
12189         Use frameset functions.
12190         (desktop-before-saving-frames-functions, desktop--filter-*-color)
12191         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12192         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
12193         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
12194         (desktop--process-minibuffer-frames, desktop-save-frames)
12195         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
12196         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
12197         (desktop--sort-states, desktop-restoring-frames-p)
12198         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
12199         (desktop-restoring-frameset-p, desktop-restore-frameset)
12200         (desktop--check-dont-save, desktop-save-frameset): New functions.
12201         (desktop--app-id): New constant.
12202         (desktop-first-buffer, desktop-buffer-ok-count)
12203         (desktop-buffer-fail-count): Move before first use.
12204         * frameset.el: New file.
12206 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12208         * files.el: Use lexical-binding.
12209         (dir-locals-read-from-file): Remove unused `err' variable.
12210         (hack-dir-local-variables--warned-coding): New var.
12211         (hack-dir-local-variables): Use it to avoid repeated warnings.
12212         (make-backup-file-name--default-function): New function.
12213         (make-backup-file-name-function): Use it as default.
12214         (buffer-stale--default-function): New function.
12215         (buffer-stale-function): Use it as default.
12216         (revert-buffer-insert-file-contents--default-function): New function.
12217         (revert-buffer-insert-file-contents-function): Use it as default.
12218         (insert-directory): Avoid add-to-list.
12220         * autorevert.el (auto-revert-handler): Simplify.
12221         Use buffer-stale--default-function.
12223 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
12225         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
12227         * whitespace.el (whitespace-ensure-local-variables): New function.
12228         (whitespace-cleanup-region): Call it.
12229         (whitespace-turn-on): Call it.
12231 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
12233         Complete file name handlers.
12235         * net/tramp.el (tramp-handle-set-visited-file-modtime)
12236         (tramp-handle-verify-visited-file-modtime)
12237         (tramp-handle-file-notify-rm-watch): New functions.
12238         (tramp-call-process): Do not bind `default-directory'.
12240         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12241         Order alphabetically.
12242         <access-file, add-name-to-file, dired-call-process>:
12243         <dired-compress-file, file-acl, file-notify-rm-watch>:
12244         <file-ownership-preserved-p, file-selinux-context>:
12245         <make-directory-internal, make-symbolic-link, set-file-acl>:
12246         <set-file-selinux-context, set-visited-file-modtime>:
12247         <verify-visited-file-modtime>: Add handler.
12248         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
12250         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12251         <file-notify-add-watch, file-notify-rm-watch>:
12252         <set-file-times, set-visited-file-modtime>:
12253         <verify-visited-file-modtime>: Add handler.
12254         (with-tramp-gvfs-error-message)
12255         (tramp-gvfs-handle-set-visited-file-modtime)
12256         (tramp-gvfs-fuse-file-name): Remove.
12257         (tramp-gvfs-handle-file-notify-add-watch)
12258         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
12259         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
12261         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
12262         Order alphabetically.
12263         <file-notify-rm-watch>: Use default Tramp handler.
12264         <executable-find>: Remove private handler.
12265         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
12266         `default-directory'.
12267         (tramp-sh-handle-executable-find)
12268         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
12269         (tramp-sh-file-gvfs-monitor-dir-process-filter)
12270         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
12271         Do not use `format' in `tramp-message'.
12273         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
12274         <file-notify-rm-watch, set-visited-file-modtime>:
12275         <verify-visited-file-modtime>: Add handler.
12276         (tramp-smb-call-winexe): Do not bind `default-directory'.
12278 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
12280         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
12282 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
12284         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
12285         use it.
12286         (log-view-diff-changeset): Same.
12287         (log-view-diff-common): Call backend command `previous-revision'
12288         to find out the previous revision, in both cases.  Swap the
12289         variables `to' and `fr', so that `fr' usually refers to the
12290         earlier revision (Bug#14989).
12292 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
12294         * ibuf-ext.el (ibuffer-filter-by-filename):
12295         Make it work with dired buffers too.
12297 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
12299         * emacs-lisp/re-builder.el (reb-color-display-p):
12300         * files.el (save-buffers-kill-terminal):
12301         * net/browse-url.el (browse-url):
12302         * server.el (server-save-buffers-kill-terminal):
12303         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
12304         Prefer nil to selected-frame for the first arg of frame-parameter.
12306 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
12308         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
12310 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
12312         * minibuffer.el (completion--twq-all): Try and preserve each
12313         completion's case choice (bug#14907).
12315 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12317         * net/network-stream.el (open-network-stream): Mention the new
12318         :nogreeting parameter.
12319         (network-stream-open-starttls): Use the :nogreeting parameter
12320         (bug#14938).
12322         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
12324         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
12325         more natural than popping.
12327         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
12328         (shr-urlify): Highlight under mouse.
12330 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
12332         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
12334         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
12336         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
12337         buffer for output.
12339         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
12340         point-min==1.  Fix search string.  Fix parentheses missing.
12342         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
12343         assume point-min==1.  Fix search string.  Fix parentheses missing.
12345         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
12347         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
12348         buffer for output.
12350 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
12352         * frame.el (frame-notice-user-settings): Avoid inflooping when the
12353         initial frame is minibuffer-less.  (Bug#14841)
12355 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
12357         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
12358         option.
12360         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12361         (tramp-maybe-open-connection): Use it.
12363 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
12365         * desktop.el (desktop--make-frame): Include `minibuffer' in the
12366         minimal set of parameters passed when creating a frame, because
12367         the minibuffer status of a frame cannot be changed later.
12369 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
12371         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
12372         replace-regexp-in-string and inadvertent omissions in previous change.
12373         (todo-filter-items): Ensure only file names are comma-separated in
12374         name of filtered items buffer.
12376 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
12378         * desktop.el: Optionally force offscreen frames back onscreen.
12379         (desktop-restoring-reuses-frames): New option.
12380         (desktop--compute-pos, desktop--move-onscreen): New functions.
12381         (desktop--make-frame): Use desktop--move-onscreen.
12383 2013-07-27  Alan Mackenzie  <acm@muc.de>
12385         Fontify a Java generic method as a function.
12386         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
12387         value to t.
12389 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
12391         * calendar/todo-mode.el: Add command to rename todo files.
12392         (todo-rename-file): New command.
12393         (todo-key-bindings-t): Add key binding for it.  Change the
12394         bindings of todo-filter-regexp-items(-multifile) to use `x'
12395         instead of `r', since the latter is better suited to the new
12396         renaming command.
12398 2013-07-27  Alan Mackenzie  <acm@muc.de>
12400         Make Java try-with-resources statement parse properly.
12401         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
12402         (c-block-stmt-1-2-key): New language constants/variables.
12403         * progmodes/cc-engine.el (c-beginning-of-statement-1)
12404         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
12405         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
12406         with c-block-stmt-1-2-key.
12408 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
12410         * desktop.el (desktop--make-frame): Apply most frame parameters after
12411         creating the frame to force (partially or totally) offscreen frames to
12412         be restored as such.
12414 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
12416         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
12417         (Bug#14948)
12419 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12421         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
12422         `base' arg of backtrace-frame.
12424 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
12426         * simple.el (list-processes): Doc fix.
12428 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
12430         * desktop.el (desktop--select-frame):
12431         Try harder to reuse existing frames.
12433 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12435         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
12436         (edebug-eval): Use backtrace-eval.
12437         (edebug--display, edebug--recursive-edit): Don't let-bind the
12438         edebug-outer-* vars that keep track of variables we locally let-bind.
12439         (edebug-outside-excursion): Don't restore outside values of locally
12440         let-bound vars.
12441         (edebug--display): Use user-error.
12442         (cl-lexical-debug, cl-debug-env): Remove.
12444 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
12446         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
12447         are restored to be sure that they are visible before deleting any
12448         remaining ones.
12450 2013-07-26  Matthias Meulien  <orontee@gmail.com>
12452         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
12453         vc-print-root-log.  (Bug#14948)
12455 2013-07-26  Richard Stallman  <rms@gnu.org>
12457         Add aliases for encrypting mail.
12458         * epa.el (epa-mail-aliases): New option.
12459         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
12460         Bind inhibit-read-only so read-only text doesn't ruin everything.
12461         (epa-mail-default-recipients): New subroutine broken out.
12462         Handle epa-mail-aliases.
12464 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12466         Add support for lexical variables to the debugger's `e' command.
12467         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
12468         vars, except for debugger-outer-match-data.
12469         (debugger-frame-number): Move check for "on a function call" from
12470         callers into it.  Add `skip-base' argument.
12471         (debugger-frame, debugger-frame-clear): Simplify accordingly.
12472         (debugger-env-macro): Only reset the state stored in non-variables,
12473         i.e. current-buffer and match-data.
12474         (debugger-eval-expression): Rewrite using backtrace-eval.
12475         * subr.el (internal--called-interactively-p--get-frame): Remove.
12476         (called-interactively-p):
12477         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
12478         `base' arg of backtrace-frame instead.
12480 2013-07-26  Glenn Morris  <rgm@gnu.org>
12482         * align.el (align-regexp): Doc fix.  (Bug#14857)
12483         (align-region): Explicit error if subexpression missing/does not match.
12485         * simple.el (global-visual-line-mode):
12486         Do not duplicate the mode lighter.  (Bug#14858)
12488 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
12490         * window.el (display-buffer): In display-buffer bind
12491         split-window-keep-point to t, bug#14829.
12493 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
12495         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
12496         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
12497         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
12498         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
12499         Change accordingly.
12500         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
12501         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
12503 2013-07-25  Glenn Morris  <rgm@gnu.org>
12505         * dired-x.el (dired-mark-extension): Convert comment to doc string.
12507 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
12509         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
12510         parameter to modify-frame-parameters if the value has not changed;
12511         this is a workaround for bug#14949.
12512         (desktop--make-frame): On cl-delete-if call, check parameter name,
12513         not full parameter.
12515 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
12517         * vc/vc.el (vc-ignore): New function.
12519         * vc/vc-svn.el (vc-svn-ignore): New function.
12521         * vc/vc-hg.el (vc-hg-ignore): New function.
12523         * vc/vc-git.el (vc-git-ignore): New function.
12525         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
12526         (vc-dir-ignore): New function.
12528         * vc/vc-cvs.el (vc-cvs-ignore): New function.
12529         (cvs-append-to-ignore): Move here from pcvs.el.
12531         * vc/vc-bzr.el (vc-bzr-ignore): New function.
12533         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
12535 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
12537         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
12538         (desktop-restore-frames): Warn when deleting an existing frame failed.
12540 2013-07-24  Glenn Morris  <rgm@gnu.org>
12542         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
12544 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
12546         * filenotify.el (file-notify-supported-p):
12547         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
12548         Remove functions.
12550         * autorevert.el (auto-revert-use-notify)
12551         (auto-revert-notify-add-watch):
12552         * net/tramp.el (tramp-file-name-for-operation):
12553         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12554         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12555         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
12556         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12557         Remove `file-notify-supported-p' entry.
12559 2013-07-24  Glenn Morris  <rgm@gnu.org>
12561         * printing.el: Replace all uses of deleted ps-windows-system,
12562         ps-lp-system, ps-flatten-list with lpr- versions.
12564 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12566         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
12567         checked with memq (bug#14935).
12569         * files.el (revert-buffer-function): Use a non-nil default.
12570         (revert-buffer-preserve-modes): Declare var to
12571         provide access to the `preserve-modes' argument.
12572         (revert-buffer): Let-bind it.
12573         (revert-buffer--default): New function, extracted from revert-buffer.
12575 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12577         * lpr.el: Signal print errors more prominently.
12578         (print-region-function): Don't default to nil.
12579         (lpr-print-region): New function, extracted from print-region-1.
12580         Check lpr's return value and signal an error in case of problem.
12581         (print-region-1): Use it.
12582         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
12583         versions instead.
12584         (ps-printer-name): Default to nil.
12585         (ps-printer-name-option): Default to lpr-printer-switch.
12586         (ps-print-region-function): Don't default to nil.
12587         (ps-postscript-code-directory): Simplify default.
12588         (ps-do-despool): Use lpr-print-region to properly check the outcome.
12589         (ps-string-list, ps-eval-switch, ps-flatten-list)
12590         (ps-flatten-list-1): Remove.
12591         (ps-multibyte-buffer): Avoid setq.
12592         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
12593         (print-region-function, ps-print-region-function): Don't set them here.
12595 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
12597         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
12598         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
12599         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
12600         (ido-decorations): Doc fix.
12602         * ansi-color.el: Fix old URL.
12604 2013-07-23  Michael R. Mauger  <michael@mauger.com>
12606         * progmodes/sql.el: Version 3.3
12607         (sql-product-alist): Improve oracle :prompt-cont-regexp.
12608         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
12609         (sql-interactive-remove-continuation-prompt): Rewrite, use
12610         functions above.  Fix continuation prompt and complete output line
12611         handling.
12612         (sql-redirect-one, sql-execute): Use `read-only-mode' on
12613         redirected output buffer.
12614         (sql-mode): Restore deleted code (Bug#13591).
12616 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
12618         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
12620 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
12622         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
12624         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12625         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12626         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
12628 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
12630         * desktop.el (desktop-clear): Simplify; remove useless checks
12631         against invalid buffer names.
12632         (desktop-list*): Use cl-list*.
12633         (desktop-buffer-info, desktop-create-buffer): Simplify.
12635 2013-07-23  Leo Liu  <sdl.web@gmail.com>
12637         * bookmark.el (bookmark-make-record): Restore NAME as a default
12638         value.  (Bug#14933)
12640 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12642         * emacs-lisp/autoload.el (autoload--setup-output): New function,
12643         extracted from autoload--insert-text.
12644         (autoload--insert-text): Remove.
12645         (autoload--print-cookie-text): New function, extracted from
12646         autoload--insert-cookie-text.
12647         (autoload--insert-cookie-text): Remove.
12648         (autoload-generate-file-autoloads): Adjust calls accordingly.
12650         * winner.el (winner-hook-installed-p): Remove.
12651         (winner-mode): Simplify accordingly.
12653         * subr.el (add-to-list): Fix compiler-macro when `append' is
12654         not constant.  Don't use `cl-member' for the base case.
12656         * progmodes/subword.el: Fix boundary case (bug#13758).
12657         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
12658         own group.
12659         (subword-backward-regexp): Make it a constant.
12660         (subword-forward-internal): Don't treat a trailing capital as the
12661         beginning of a word.
12663 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
12665         * emacs-lisp/package.el (package-menu-mode): Don't modify the
12666         global value of tabulated-list-revert-hook (bug#14930).
12668 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
12670         * desktop.el: Require 'cl-lib.
12671         (desktop-before-saving-frames-functions): New hook.
12672         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
12673         for frames being saved.  Rename from desktop--save-minibuffer-frames.
12674         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
12675         Do not save frames with non-nil `desktop-dont-save' parameter.
12676         Filter out deleted frames.
12677         (desktop--find-frame): Use cl-find-if.
12678         (desktop--select-frame): Use cl-(first|second|third) to access values
12679         of desktop-mini.
12680         (desktop--make-frame): Use cl-delete-if.
12681         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
12682         (desktop-restore-frames): Use cl-(first|second|third) to access values
12683         of desktop-mini.  Look for visible frame at the end, not while
12684         restoring frames.
12686         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
12687         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
12688         Use string-match-p, looking-at-p (bug#14927).
12690 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
12692         * desktop.el (desktop-saved-frame-states):
12693         Rename from desktop--saved-states; all users changed.
12694         (desktop-save-frames): Rename from desktop--save-frames.
12695         Do not save state to desktop file.
12696         (desktop-save): Save desktop-saved-frame-states to desktop file
12697         and reset to nil.
12698         (desktop-restoring-frames-p): New function.
12699         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
12700         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
12701         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
12703         * desktop.el: Correctly restore iconified frames.
12704         (desktop--filter-iconified-position): New function.
12705         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
12707 2013-07-20  Glenn Morris  <rgm@gnu.org>
12709         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
12710         Let `message' do the formatting.
12711         (def-gdb-preempt-display-buffer): Add explicit format.
12713         * image-dired.el (image-dired-track-original-file):
12714         Use with-current-buffer.
12715         (image-dired-track-thumbnail): Use with-current-buffer.
12716         Avoid changing point of wrong window.
12718         * image-dired.el (image-dired-track-original-file):
12719         Avoid changing point of wrong window.  (Bug#14909)
12721 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
12723         * progmodes/gdb-mi.el (gdb-done-or-error):
12724         Guard against "%" in gdb output.  (Bug#14127)
12726 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
12728         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
12729         (Bug#14826)
12731         * international/mule.el (coding-system-iso-2022-flags): Fix last
12732         change.
12734 2013-07-20  Kenichi Handa  <handa@gnu.org>
12736         * international/mule.el (coding-system-iso-2022-flags):
12737         Add `8-bit-level-4'.  (Bug#8522)
12739 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12741         * net/shr.el (shr-mouse-browse-url): New command and keystroke
12742         (bug#14815).
12744         * net/eww.el (eww-process-text-input): Allow inputting when the
12745         point is at the start of the line, as the properties aren't
12746         front-sticky.
12748         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
12749         degenerate widths.
12751 2013-07-19  Richard Stallman  <rms@gnu.org>
12753         * epa.el (epa-popup-info-window): Doc fix.
12755         * subr.el (split-string): New arg TRIM.
12757 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
12759         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
12760         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
12762 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
12764         * filenotify.el (file-notify--library): Rename from
12765         `file-notify-support'.  Do not autoload.  Adapt all uses.
12766         (file-notify-supported-p): New defun.
12768         * autorevert.el (auto-revert-use-notify):
12769         Use `file-notify-supported-p' instead of `file-notify-support'.
12770         Adapt docstring.
12771         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
12773         * net/tramp.el (tramp-file-name-for-operation):
12774         Add `file-notify-supported-p'.
12776         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
12777         New defun.
12778         (tramp-sh-file-name-handler-alist): Add it as handler for
12779         `file-notify-supported-p '.
12781         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12782         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12783         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12784         Add `ignore' as handler for `file-notify-*' functions.
12786 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
12788         * simple.el (line-move-partial, line-move): Don't start vscroll or
12789         scroll-up if the current line is not taller than the window.
12790         (Bug#14881)
12792 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
12794         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
12795         highlight question marks in the method names as strings.
12796         (ruby-block-beg-keywords): Inline.
12797         (ruby-font-lock-keyword-beg-re): Extract from
12798         `ruby-font-lock-keywords'.
12800 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
12802         * frame.el (blink-cursor-blinks): New defcustom.
12803         (blink-cursor-blinks-done): New defvar.
12804         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
12805         (blink-cursor-timer-function): Check if number of blinks has been
12806         done on X and NS.
12807         (blink-cursor-suspend, blink-cursor-check): New defuns.
12809 2013-07-15  Glenn Morris  <rgm@gnu.org>
12811         * edmacro.el (edmacro-format-keys): Fix previous change.
12813 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
12815         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
12816         The hack didn't work outside English locales anyway.
12818 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
12820         * simple.el (define-alternatives): Rename from alternatives-define,
12821         per RMS' suggestion.
12823 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
12825         * desktop.el (desktop-restore-frames): Change default to t.
12826         (desktop-restore-in-current-display): Now offer more options.
12827         (desktop-restoring-reuses-frames): New customization option.
12828         (desktop--saved-states): Doc fix.
12829         (desktop-filter-parameters-alist): New variable, renamed and expanded
12830         from desktop--excluded-frame-parameters.
12831         (desktop--target-display): New variable.
12832         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
12833         (desktop--filter-tty*, desktop--filter-*-color)
12834         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12835         (desktop--filter-save-desktop-parm)
12836         (desktop-restore-in-original-display-p): New functions.
12837         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
12838         (desktop--save-minibuffer-frames): New function, inspired by a similar
12839         function from Martin Rudalics.
12840         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
12841         (desktop--restore-in-this-display-p): Remove.
12842         (desktop--find-frame): Rename from desktop--find-frame-in-display
12843         and add predicate argument.
12844         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
12845         (desktop--reuse-list): New variable.
12846         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
12847         New functions.
12848         (desktop--restore-frames): Add support for "minibuffer-special" frames.
12850 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
12852         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
12854 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
12856         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12857         Highlight conversion methods on Kernel.
12859 2013-07-13  Alan Mackenzie  <acm@muc.de>
12861         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
12862         and comment it out.  This out-commenting enables certain C++
12863         declarations to be parsed correctly.
12865 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
12867         * international/mule.el (define-coding-system): Doc fix.
12869         * simple.el (default-font-height): Don't call font-info if the
12870         frame's default font didn't change since the frame was created.
12871         (Bug#14838)
12873 2013-07-13  Leo Liu  <sdl.web@gmail.com>
12875         * ido.el (ido-read-file-name): Guard against non-symbol value.
12877 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12879         * progmodes/python.el (python-imenu--build-tree): Fix corner case
12880         in nested defuns.
12882 2013-07-13  Leo Liu  <sdl.web@gmail.com>
12884         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
12885         ido-set-matches call.  (Bug#6852)
12887 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
12889         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
12890         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
12891         Ruby 2.0.
12892         (ruby-font-lock-keywords): Distinguish calls to functions with
12893         module-like names from module references.  Highlight character
12894         literals.
12896 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
12898         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
12899         (gdb-send): Handle continued commands.  (Bug#14847)
12901 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
12903         * desktop.el (desktop--v2s): Remove unused local variable.
12904         (desktop-save-buffer): Make defvar-local; adjust docstring.
12905         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
12906         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
12908 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
12910         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
12912 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
12914         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
12915         (Bug#14842)
12917 2013-07-12  Glenn Morris  <rgm@gnu.org>
12919         * doc-view.el: Require cl-lib at runtime too.
12920         (doc-view-remove-if): Remove.
12921         (doc-view-search-next-match, doc-view-search-previous-match):
12922         Use cl-remove-if.
12924         * edmacro.el: Require cl-lib at runtime too.
12925         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
12926         (edmacro-mismatch, edmacro-subseq): Remove.
12928         * shadowfile.el: Require cl-lib.
12929         (shadow-remove-if): Remove.
12930         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
12931         Use cl-remove-if.
12933         * wid-edit.el: Require cl-lib.
12934         (widget-choose): Use cl-remove-if.
12935         (widget-remove-if): Remove.
12937         * progmodes/ebrowse.el: Require cl-lib at runtime too.
12938         (ebrowse-delete-if-not): Remove.
12939         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12940         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12941         Use cl-delete-if-not.
12943 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
12945         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12946         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12948 2013-07-12  Leo Liu  <sdl.web@gmail.com>
12950         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
12952 2013-07-11  Glenn Morris  <rgm@gnu.org>
12954         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12955         (edebug-gensym-index, edebug-gensym):
12956         Remove reimplementation of cl-gensym.
12957         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12959         * thumbs.el: Require cl-lib at run-time too.
12960         (thumbs-gensym-counter, thumbs-gensym):
12961         Remove reimplementation of cl-gensym.
12962         (thumbs-temp-file): Use cl-gensym.
12964         * emacs-lisp/ert.el: Require cl-lib at runtime too.
12965         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12966         (ert--intersection, ert--set-difference, ert--set-difference-eq)
12967         (ert--union, ert--gensym-counter, ert--gensym-counter)
12968         (ert--coerce-to-vector, ert--remove*, ert--string-position)
12969         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12970         (ert-make-test-unbound, ert--expand-should-1)
12971         (ert--expand-should, ert--should-error-handle-error)
12972         (should-error, ert--explain-equal-rec)
12973         (ert--plist-difference-explanation, ert-select-tests)
12974         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12975         Use cl-lib functions rather than reimplementations.
12977 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
12979         * net/tramp.el (tramp-methods): Extend docstring.
12980         (tramp-connection-timeout): New defcustom.
12981         (tramp-error-with-buffer): Reset timestamp only when appropriate.
12982         (with-tramp-progress-reporter): Simplify.
12983         (tramp-process-actions): Improve messages.
12985         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12986         * net/tramp-sh.el (tramp-maybe-open-connection):
12987         Use `tramp-connection-timeout'.
12988         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12989         (Bug#14808)
12991 2013-07-11  Leo Liu  <sdl.web@gmail.com>
12993         * ido.el (ido-read-file-name): Conform to the requirements of
12994         read-file-name.  (Bug#11861)
12995         (ido-read-directory-name): Conform to the requirements of
12996         read-directory-name.
12998 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
13000         * subr.el (delay-warning): New function.
13002 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
13004         * simple.el (default-line-height): New function.
13005         (line-move-partial, line-move): Use it instead of computing the
13006         line height inline.
13007         (line-move-partial): Always compute ROWH.  If the last line is
13008         partially-visible, but its text is completely visible, allow
13009         cursor to enter such a partially-visible line.
13011 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
13013         Improve error messages.  (Bug#14808)
13015         * net/tramp.el (tramp-current-connection): New defvar, moved from
13016         tramp-sh.el.
13017         (tramp-message-show-progress-reporter-message): Remove, not
13018         needed anymore.
13019         (tramp-error-with-buffer): Show message in minibuffer.
13020         Discard input before waiting.  Reset connection timestamp.
13021         (with-tramp-progress-reporter): Improve messages.
13022         (tramp-process-actions): Use progress reporter.  Delete process in
13023         case of error.  Improve messages.
13025         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
13026         Call `tramp-error-with-buffer' with vector and buffer.
13027         (tramp-current-connection): Remove.
13028         (tramp-maybe-open-connection): The car of
13029         `tramp-current-connection' are the first 3 slots of the vector.
13031 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
13033         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
13034         inside continued strings.
13036 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
13038         Timestamp fixes for undo (Bug#14824).
13039         * files.el (clear-visited-file-modtime): Move here from fileio.c.
13041 2013-07-10  Leo Liu  <sdl.web@gmail.com>
13043         * files.el (require-final-newline): Allow safe local value.
13044         (Bug#14834)
13046 2013-07-09  Leo Liu  <sdl.web@gmail.com>
13048         * ido.el (ido-read-directory-name): Handle fallback.
13049         (ido-read-file-name): Update DIR to ido-current-directory.
13050         (Bug#1516)
13051         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
13053 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
13055         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
13056         "autoload".  Remove "warn lower camel case" section, previously
13057         commented out.  Highlight negation char.  Do not highlight the
13058         target in singleton method definitions.
13060 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13062         * faces.el (tty-setup-hook): Declare the hook.
13064         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
13065         and detect when a guard/pred depends on local vars (bug#14773).
13066         (pcase--u1): Adjust caller.
13068 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
13070         * simple.el (line-move-partial, line-move): Account for
13071         line-spacing.
13072         (line-move-partial): Avoid setting vscroll when the last
13073         partially-visible line in window is of default height.
13075 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13077         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
13078         been used a while.
13080 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
13082         * subr.el (read-quoted-char): Remove unused local variable `char'.
13084 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
13086         * vc/ediff.el (ediff-version): Version update.
13087         (ediff-files-command, ediff3-files-command, ediff-merge-command)
13088         (ediff-merge-with-ancestor-command, ediff-directories-command)
13089         (ediff-directories3-command, ediff-merge-directories-command)
13090         (ediff-merge-directories-with-ancestor-command): New functions.
13091         All are command-line interfaces to ediff: to facilitate calling
13092         Emacs with the appropriate ediff functions invoked.
13094         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
13095         New function.
13096         (viper-save-kill-buffer): Check if buffer is modified.
13098         * emulation/viper.el (viper-version): Version update.
13099         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
13101 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13103         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
13104         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
13105         (viper-intercept-ESC-key): Simplify.
13106         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
13107         don't use kbd.
13108         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
13109         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
13110         (viper-setup-ESC-to-escape): New functions.
13111         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
13112         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
13114 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
13116         * simple.el (default-font-height, window-screen-lines):
13117         New functions.
13118         (line-move, line-move-partial): Use them instead of
13119         frame-char-height and window-text-height.  This makes scrolling
13120         text smoother when the buffer's default face uses a font that is
13121         different from the frame's default font.
13123 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
13125         * files.el (write-file): Do not display confirm dialog for NS,
13126         it does its own dialog, which can't be canceled (Bug#14578).
13128 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
13130         * simple.el (line-move-partial): Adjust the row returned by
13131         posn-at-point for the current window-vscroll.  (Bug#14567)
13133 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
13135         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
13136         (tramp-sh-file-inotifywait-process-filter): Handle file names with
13137         spaces.
13139 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
13141         * window.el (window-state-put-stale-windows): New variable.
13142         (window--state-put-2): Save list of windows without matching buffer.
13143         (window-state-put): Remove "bufferless" windows if possible.
13145 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
13147         * simple.el (alternatives-define): Remove leftover :group keyword.
13148         Tweak docstring.
13150 2013-07-06  Leo Liu  <sdl.web@gmail.com>
13152         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
13153         (ido-enable-virtual-buffers): New variable.
13154         (ido-buffer-internal, ido-toggle-virtual-buffers)
13155         (ido-make-buffer-list): Use it.
13156         (ido-exhibit): Support turning on and off virtual buffers
13157         automatically.
13159 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
13161         * simple.el (alternatives-define): New macro.
13163 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13165         * subr.el (read-quoted-char): Use read-key.
13166         (sit-for): Let read-event decode tty input (bug#14782).
13168 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
13170         * calendar/todo-mode.el: Add handling of file deletion, both by
13171         mode command and externally.  Fix various related bugs.
13172         Clarify Commentary and improve some documentation strings and code.
13173         (todo-delete-file): New command.
13174         (todo-check-file): New function.
13175         (todo-show): Handle external deletion of the file we're trying to
13176         show (bug#14688).  Replace called-interactively-p by an optional
13177         prefix argument to avoid problematic interaction with catch form
13178         when byte compiled (bug#14702).
13179         (todo-quit): Handle external deletion of the archive's todo file.
13180         Make sure the buffer that was visiting the archive file is still
13181         live before trying to bury it.
13182         (todo-category-completions): Handle external deletion of any
13183         category completion files.
13184         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
13185         of todo files, in case of external deletion.
13186         (todo-add-file): Replace unnecessary setq by let-binding.
13187         (todo-find-archive): Check whether there are any archives.
13188         Replace unnecessary setq by let-binding.
13189         (todo-archive-done-item): Use find-file-noselect to get the
13190         archive buffer whether or not the archive already exists.
13191         Remove superfluous code.  Use file size instead of buffer-file-name to
13192         check if the archive is new; if it is, update list of archives.
13193         (todo-default-todo-file): Allow nil to be a valid value for when
13194         there are no todo files.
13195         (todo-reevaluate-default-file-defcustom): Use corrected definition
13196         of todo-default-todo-file.
13197         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
13198         (todo-delete-category, todo-show-categories-table)
13199         (todo-category-number): Clarify comment.
13200         (todo-filter-items): Clarify documentation string.
13201         (todo-show-current-file, todo-display-as-todo-file)
13202         (todo-reset-and-enable-done-separator): Tweak documentation string.
13203         (todo-done-separator): Make separator length window-width, since
13204         bug#2749 is now fixed.
13206 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
13208         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
13209         Support both "gvfs-monitor-dir" and "inotifywait".
13210         (tramp-sh-file-inotifywait-process-filter): Rename from
13211         `tramp-sh-file-notify-process-filter'.
13212         (tramp-sh-file-gvfs-monitor-dir-process-filter)
13213         (tramp-get-remote-gvfs-monitor-dir): New defuns.
13215 2013-07-05  Leo Liu  <sdl.web@gmail.com>
13217         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
13219 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
13221         * frame.el (display-pixel-height, display-pixel-width)
13222         (display-mm-height, display-mm-width): Mention behavior on
13223         multi-monitor setups in docstrings.
13224         (w32-display-monitor-attributes-list): Declare function.
13225         (display-monitor-attributes-list): Use it.
13227 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
13229         * filenotify.el: New package.
13231         * autorevert.el (top): Require filenotify.el.
13232         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
13233         instead.
13234         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13235         (auto-revert-notify-handler): Use `file-notify-*' functions.
13237         * subr.el (file-notify-handle-event): Move function to filenotify.el.
13239         * net/tramp.el (tramp-file-name-for-operation):
13240         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
13242         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
13243         for `file-notify-add-watch' and `file-notify-rm-watch'.
13244         (tramp-process-sentinel): Improve trace.
13245         (tramp-sh-handle-file-notify-add-watch)
13246         (tramp-sh-file-notify-process-filter)
13247         (tramp-sh-handle-file-notify-rm-watch)
13248         (tramp-get-remote-inotifywait): New defuns.
13250 2013-07-03  Juri Linkov  <juri@jurta.org>
13252         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
13253         call of `occur-read-primary-args' to interactive spec.
13255         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
13256         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
13258 2013-07-03  Matthias Meulien  <orontee@gmail.com>
13260         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
13261         `Buffer-menu-multi-occur'.  Add it to the menu.
13262         (Buffer-menu-mode): Document it in docstring.
13263         (Buffer-menu-multi-occur): New command.  (Bug#14673)
13265 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
13267         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
13268         keywords and built-ins.
13270 2013-07-03  Glenn Morris  <rgm@gnu.org>
13272         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
13274         Make info-xref checks case-sensitive by default
13275         * info.el (Info-find-node, Info-find-in-tag-table)
13276         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
13277         Add option for exact case matching of nodes.
13278         * info-xref.el (info-xref): New custom group.
13279         (info-xref-case-fold): New option.
13280         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
13282 2013-07-03  Leo Liu  <sdl.web@gmail.com>
13284         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
13286 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
13288         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
13289         middle of block statement initially, lower the depth.  Remove
13290         FIXME comment, not longer valid.  Remove middle of block statement
13291         detection, no need to do that anymore since we've been using
13292         `ruby-parse-region' here.
13294 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
13296         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
13298 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
13300         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
13302 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
13304         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
13305         (desktop-restore-in-current-display): New customization option.
13306         (desktop--excluded-frame-parameters): Add `font'.
13307         (desktop--save-frames): Rename from desktop--save-windows.
13308         (desktop--restore-in-this-display-p): New function.
13309         (desktop--make-full-frame): Remove unwanted width/height from
13310         full(width|height) frames.
13311         (desktop--restore-frames): Rename from desktop--restore-windows.
13312         Obey desktop-restore-current-display.  Do not delete old frames or
13313         select a new frame unless we were able to restore at least one frame.
13315 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
13317         * files.el (find-file-noselect): Simplify conditional expression.
13319         * textmodes/remember.el (remember-append-to-file):
13320         Don't mix `find-buffer-visiting' and `get-file-buffer'.
13322         Add `remember-notes' function to store random notes across Emacs
13323         restarts.
13324         * textmodes/remember.el (remember-data-file): Add :set callback to
13325         affect notes buffer (if any).
13326         (remember-notes): New command.
13327         (remember-notes-buffer-name, bury-remember-notes-on-kill):
13328         New defcustoms for the `remember-notes' function.
13329         (remember-notes-save-and-bury-buffer): New command.
13330         (remember-notes-mode-map): New variable.
13331         (remember-mode): New minor mode.
13332         (remember-notes--kill-buffer-query): New function.
13333         * startup.el (initial-buffer-choice): Add notes to custom type.
13335 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
13337         * bindings.el (right-char, left-char): Don't call sit-for, this is
13338         no longer needed.  Use arithmetic comparison only for numerical
13339         arguments.
13341         * international/mule-cmds.el (select-safe-coding-system):
13342         Handle the case of FROM being a string correctly.  (Bug#14755)
13344 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13346         * net/shr.el (shr-make-table-1): Add a sanity check that allows
13347         progression on degenerate tables.
13348         (shr-rescale-image): ImageMagick animated images currently don't work.
13350 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
13352         Some fixes and improvements for desktop frame restoration.
13353         It is still experimental and disabled by default.
13354         * desktop.el (desktop--save-windows): Put the selected frame at
13355         the head of the list.
13356         (desktop--make-full-frame): New function.
13357         (desktop--restore-windows): Try to re-select the frame that was
13358         selected upon saving.  Do not abort if some frames fail to restore,
13359         just show an error message and continue.  Set up maximized frames
13360         so they have default non-maximized dimensions.
13362 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
13364         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
13365         Don't start heredoc inside a string or comment.
13367 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
13369         * bindings.el (visual-order-cursor-movement): New defcustom.
13370         (right-char, left-char): Provide visual-order cursor motion by
13371         calling move-point-visually.  Update the doc strings.
13373 2013-06-28  Kenichi Handa  <handa@gnu.org>
13375         * international/mule.el (define-coding-system): New coding system
13376         properties :inhibit-null-byte-detection,
13377         :inhibit-iso-escape-detection, and :prefer-utf-8.
13378         (set-buffer-file-coding-system): If :charset-list property of
13379         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
13380         appropriate for setting.
13382         * international/mule-cmds.el (select-safe-coding-system):
13383         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
13384         multibyte characters, return utf-8 (or one of its siblings).
13386         * international/mule-conf.el (prefer-utf-8): New coding system.
13387         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
13388         files.
13390 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
13392         * net/shr.el (shr-render-region): New function.
13394         * net/eww.el: Autoload `eww-browse-url'.
13396 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
13398         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13399         Adapt to `package-desc-version' being a list.
13400         Use `package--ac-desc-version' to retrieve version from a package
13401         archive element.
13403 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
13405         New experimental feature to save&restore window and frame setup.
13406         * desktop.el (desktop-save-windows): New defcustom.
13407         (desktop--saved-states): New var.
13408         (desktop--excluded-frame-parameters): New defconst.
13409         (desktop--filter-frame-parms, desktop--find-frame-in-display)
13410         (desktop--restore-windows, desktop--save-windows): New functions.
13411         (desktop-save): Call `desktop--save-windows'.
13412         (desktop-read): Call `desktop--restore-windows'.
13414 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13416         * net/shr.el (add-face-text-property): Remove compat definition.
13418 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
13420         * info.el (Info-try-follow-nearest-node): Move search for footnote
13421         above search for node name to prevent missing a footnote (bug#14717).
13423 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
13425         * obsolete/otodo-mode.el: Add obsolescence info to file header.
13427 2013-06-27  Leo Liu  <sdl.web@gmail.com>
13429         * net/eww.el (eww-read-bookmarks): Check file size.
13431 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13433         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
13434         advice--pending if newdef is nil or an autoload (bug#13820).
13435         (advice-mapc): New function.
13437 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13439         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
13440         probably.
13441         (eww-mode-map): Add a menu bar.
13442         (eww-add-bookmark): New command.
13443         (eww-bookmark-mode): New mode and commands.
13444         (eww-add-bookmark): Remove newlines from the title.
13445         (eww-bookmark-browse): Don't bug out if it's the only window.
13447 2013-06-26  Glenn Morris  <rgm@gnu.org>
13449         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
13450         (hfy-size): Handle ttys.  (Bug#14668)
13452         * info-xref.el: Update for Texinfo 5 change in *note format.
13453         (info-xref-node-re, info-xref-note-re): New constants.
13454         (info-xref-check-buffer): Use info-xref-note-re.
13456 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13458         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
13460         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
13461         nil terminate the loop (bug#14718).
13463 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13465         * net/eww.el: Rework history traversal.  When going forward/back,
13466         put these actions into the history, too, so that they can be
13467         replayed.
13468         (eww-render): Move the history reset to the correct buffer.
13470 2013-06-25  Juri Linkov  <juri@jurta.org>
13472         * files-x.el (modify-dir-local-variable): Change the header comment
13473         in the file with directory local variables.  (Bug#14692)
13475         * files-x.el (read-file-local-variable-value): Add `default'.
13476         (Bug#14710)
13478 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13480         * net/eww.el (eww-make-unique-file-name): Create a unique file
13481         name before saving to entering `y' accidentally asynchronously.
13483 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
13485         * net/eww.el (eww-download): New command and keystroke.
13487 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13489         * net/eww.el (eww-copy-page-url): Change name of command.
13491         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
13492         be more consistent with Info and dired.
13494         * net/eww.el (eww-mode-map): Ditto.
13496 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13498         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
13499         packages from archives.
13500         (package-archive-contents): Change format; include obsolete packages.
13501         (package-desc): Use `dir' to mark builtin packages.
13502         (package--from-builtin): Set the `dir' field to `builtin'.
13503         (generated-autoload-file, version-control): Declare.
13504         (package-compute-transaction): Change first arg and return value to be
13505         lists of package-descs.  Adjust to new package-archive-contents format.
13506         (package--add-to-archive-contents): Adjust to new
13507         package-archive-contents format.
13508         (package-download-transaction): Arg is now a list of package-descs.
13509         (package-install): If `pkg' is a package name, pass it as
13510         a requirement, so it is subject to the usual (e.g. disabled) checks.
13511         (describe-package): Accept package-desc as well.
13512         (describe-package-1): Describe a specific package-desc.  Add links to
13513         other package-descs for the same package name.
13514         (package-menu-describe-package): Pass the actual package-desc.
13515         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
13516         works correctly.
13517         (package-desc-status): New function.
13518         (package-menu--refresh): New function, extracted
13519         from package-menu--generate.
13520         (package-menu--generate): Use it.
13521         (package-delete): Update package-alist.
13522         (package-menu-execute): Don't call package-initialize.
13524         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
13525         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
13526         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
13527         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
13528         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
13529         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
13531 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
13533         * window.el (window--state-get-1): Workaround for bug#14527.
13534         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
13536 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13538         * net/eww.el (eww-back-url): Implement the history by stashing all
13539         the data into a list.
13540         (eww-forward-url): Allow going forward in the history, too.
13542 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13544         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
13545         for values and use read--expression for expressions (bug#14710).
13546         (read-file-local-variable): Avoid setq.
13547         (read-file-local-variable-mode): Use minor-mode-list.
13549 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13551         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
13552         for DOI URLs.
13554 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13556         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
13557         Update imenu-support when dialect changes.
13559 2013-06-25  Leo Liu  <sdl.web@gmail.com>
13561         * ido.el (ido-read-internal): Allow forward slash on windows.
13563 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13565         * net/eww.el (eww): Start of strings is \\`, not ^.
13567 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
13569         * net/shr.el (shr-browse-url): Fix interactive spec.
13571         * net/eww.el (eww): Add a trailing slash to domain names.
13573 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
13575         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
13577 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13579         * net/shr.el (shr-browse-url): Use an external browser if given a
13580         prefix.
13582         * net/eww.el (eww-external-browser): Move to shr.
13584 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
13586         * net/eww.el (eww): Work more correctly for file: URLs.
13587         (eww-detect-charset): Allow quoted charsets.
13588         (eww-yank-page-url): New command and keystroke.
13590 2013-06-24  Daiki Ueno  <ueno@gnu.org>
13592         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
13593         file name of gpg executable.
13594         (epg-context-program): New function.
13595         (epg-context-home-directory): New function.
13596         (epg-context-set-program): New function.
13597         (epg-context-set-home-directory): New function.
13598         (epg--start): Use `epg-context-program' instead of
13599         'epg-gpg-program'.
13600         (epg--list-keys-1): Likewise.
13602 2013-06-24  Leo Liu  <sdl.web@gmail.com>
13604         * ido.el (ido-read-internal): Fix bug#14620.
13606 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
13608         * faces.el (face-documentation): Simplify.
13609         (read-face-attribute, tty-find-type, x-resolve-font-name):
13610         Use `string-match-p'.
13611         (list-faces-display): Use `string-match-p'.  Simplify.
13612         (face-spec-recalc): Check face to avoid face alias loops.
13613         (read-color): Use `string-match-p' and non-capturing parenthesis.
13615 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13617         * net/shr.el (shr-rescale-image): Use the new
13618         :max-width/:max-height functionality.
13620 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
13622         * net/eww.el (eww-search-prefix): New variable.
13623         (eww): Use it.
13624         (eww-external-browser): New variable.
13625         (eww-mode-map): New keystroke.
13626         (eww-browse-with-external-browser): New command.
13628         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
13630 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
13632         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13633         Don't skip aligning the next header field when padding is 0;
13634         otherwise, field width is not respected unless the title is as
13635         wide as the field.
13637 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13639         * emacs-lisp/package.el (package-el-version): Remove.
13640         (package-process-define-package): Fix inf-loop.
13641         (package-install): Allow symbols as arguments again.
13643 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
13645         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
13646         add some more keyword-like methods.
13647         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
13649 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
13651         * bs.el (bs-buffer-show-mark): Make defvar-local.
13652         (bs-mode): Use setq-local.
13654         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
13655         (emacs-lock--try-unlocking): Make defvar-local.
13657 2013-06-22  Glenn Morris  <rgm@gnu.org>
13659         * play/cookie1.el (cookie-apropos): Minor simplification.
13661         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
13663 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
13665         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
13666         `regexp-opt', it breaks the build during dumping.
13668 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
13670         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
13671         Highlight keyword-like methods on Kernel and Module with
13672         font-lock-builtin-face.
13673         (auto-mode-alist): Consolidate different entries into one regexp
13674         and add more *file-s.
13676 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
13678         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
13680         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
13681         (diary-entry): Use it in the action of this button type instead of
13682         diary-goto-entry.
13684         * calendar/todo-mode.el: New version.
13685         (todo-add-category): Append new category to end of file and give
13686         it the highest number, instead of putting it at the beginning and
13687         giving it 0.  Incorporate noninteractive functionality.
13688         (todo-forward-category): Adapt to 1-based category numbering.
13689         Allow skipping over archived categories.
13690         (todo-backward-category): Derive from todo-forward-category.
13691         (todo-backward-item, todo-forward-item): Make noninteractive and
13692         delegate interactive part to new commands.  Make sensitive to done items.
13693         (todo-categories): Make value an alist of category names and
13694         vectors of item counts.
13695         (todo-category-beg): Make a defconst.
13696         (todo-category-number): Use 1 instead of 0 as initial value.
13697         (todo-category-select): Make sensitive to overlays, optional item
13698         highlighting and done items.
13699         (todo-delete-item): Make sensitive to overlays and marked and done items.
13700         (todo-edit-item): Make sensitive to overlays and editing of
13701         date/time header optional.  Add format checks.
13702         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
13703         no-op if point is not on an item.  Advertise using todo-edit-quit.
13704         (todo-edit-mode): Make sensitive to new format, font-locking, and
13705         multiple todo files.
13706         (todo-insert-item, todo-insert-item-here): Derive from
13707         todo-basic-insert-item and extend functionality.
13708         (todo-item-end, todo-item-start): Make sensitive to done items.
13709         (todo-item-string): Don't return text properties.  Restore point.
13710         (todo-jump-to-category): Make sensitive to multiple todo files and
13711         todo archives.  Use extended category completion.
13712         (todo-lower-item, todo-raise-item): Rename to *-priority and
13713         derive from todo-set-item-priority.
13714         (todo-mode): Derive from special-mode.  Make sensitive to new
13715         format, font-locking and multiple todo files.  Make read-only.
13716         (todo-mode-map): Don't suppress digit keys, so they can supply
13717         prefix arguments.  Add many new key bindings.
13718         (todo-prefix): Insert as an overlay instead of file text.
13719         Change semantics from diary date expression to purely visual mark.
13720         (todo-print): Rename to todo-print-buffer.  Make buffer display
13721         features printable.  Remove option to restrict number of items
13722         printed.  Add option to print to file.
13723         (todo-print-function): Rename to todo-print-buffer-function.
13724         (todo-quit): Extend to handle exiting new todo modes.
13725         (todo-remove-item): Make sensitive to overlays.
13726         (todo-save): Extend to buffers of filtered items.
13727         (todo-show): Make sensitive to done items, multiple todo files and
13728         new todo modes.  Offer to convert legacy todo file before creating
13729         first new todo file.
13730         (todo-show-priorities): Rename to todo-top-priorities.
13731         Change semantics of value 0.
13732         (todo-top-priorities): Rename to todo-filter-top-priorities,
13733         derive from todo-filter-items and extend functionality.
13734         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
13735         and extend functionality to other types of filtered items.
13736         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
13737         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
13738         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
13739         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
13740         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
13741         (todo-edit-mode-hook, todo-entry-prefix-function)
13742         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
13743         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
13744         (todo-initials, todo-insert-threshold, todo-item-string-start)
13745         (todo-line-string, todo-menu, todo-mode-hook)
13746         (todo-more-important-p, todo-previous-answer, todo-previous-line)
13747         (todo-print-priorities, todo-remove-separator)
13748         (todo-save-top-priorities-too, todo-string-count-lines)
13749         (todo-string-multiline-p, todo-time-string-format)
13750         (todo-tmp-buffer-name): Remove.
13751         (todo-add-file, todo-archive-done-item, todo-choose-archive)
13752         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
13753         (todo-edit-category-diary-inclusion)
13754         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
13755         (todo-edit-file, todo-edit-item-date-day)
13756         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
13757         (todo-edit-item-date-month, todo-edit-item-date-to-today)
13758         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
13759         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
13760         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
13761         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
13762         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
13763         (todo-filter-top-priorities-multifile, todo-find-archive)
13764         (todo-find-filtered-items-file, todo-go-to-source-item)
13765         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
13766         (todo-jump-to-archive-category, todo-lower-category)
13767         (todo-mark-category, todo-marked-item-p, todo-merge-category)
13768         (todo-move-category, todo-move-item, todo-next-button)
13769         (todo-next-item, todo-padded-string, todo-powerset)
13770         (todo-previous-button, todo-previous-item)
13771         (todo-print-buffer-to-file, todo-raise-category)
13772         (todo-rename-category, todo-repair-categories-sexp, todo-search)
13773         (todo-set-category-number, todo-set-item-priority)
13774         (todo-set-top-priorities-in-category)
13775         (todo-set-top-priorities-in-file, todo-show-categories-table)
13776         (todo-sort-categories-alphabetically-or-numerically)
13777         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
13778         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
13779         (todo-toggle-item-header, todo-toggle-item-highlighting)
13780         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
13781         (todo-toggle-view-done-items, todo-toggle-view-done-only)
13782         (todo-unarchive-items, todo-unmark-category): New commands.
13783         (todo-absolute-file-name, todo-add-to-buffer-list)
13784         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
13785         (todo-basic-insert-item, todo-category-completions)
13786         (todo-category-number, todo-category-string-matcher-1)
13787         (todo-category-string-matcher-2, todo-check-filtered-items-file)
13788         (todo-check-format, todo-clear-matches)
13789         (todo-comment-string-matcher, todo-convert-legacy-date-time)
13790         (todo-current-category, todo-date-string-matcher)
13791         (todo-define-insertion-command, todo-diary-expired-matcher)
13792         (todo-diary-goto-entry, todo-diary-item-p)
13793         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
13794         (todo-display-categories, todo-display-sorted, todo-done-item-p)
13795         (todo-done-item-section-p, todo-done-separator)
13796         (todo-done-string-matcher, todo-files, todo-filter-items)
13797         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
13798         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
13799         (todo-insert-category-line, todo-insert-item-from-calendar)
13800         (todo-insert-sort-button, todo-insert-with-overlays)
13801         (todo-insertion-command-name, todo-insertion-key-bindings)
13802         (todo-label-to-key, todo-longest-category-name-length)
13803         (todo-make-categories-list, todo-mode-external-set)
13804         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
13805         (todo-modes-set-3, todo-multiple-filter-files)
13806         (todo-nondiary-marker-matcher, todo-prefix-overlays)
13807         (todo-read-category, todo-read-date, todo-read-dayname)
13808         (todo-read-file-name, todo-read-time)
13809         (todo-reevaluate-category-completions-files-defcustom)
13810         (todo-reevaluate-default-file-defcustom)
13811         (todo-reevaluate-filelist-defcustoms)
13812         (todo-reevaluate-filter-files-defcustom)
13813         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
13814         (todo-reset-done-separator, todo-reset-done-separator-string)
13815         (todo-reset-done-string, todo-reset-global-current-todo-file)
13816         (todo-reset-highlight-item, todo-reset-nondiary-marker)
13817         (todo-reset-prefix, todo-set-categories)
13818         (todo-set-date-from-calendar, todo-set-show-current-file)
13819         (todo-set-top-priorities, todo-short-file-name)
13820         (todo-show-current-file, todo-sort, todo-time-string-matcher)
13821         (todo-total-item-counts, todo-update-buffer-list)
13822         (todo-update-categories-display, todo-update-categories-sexp)
13823         (todo-update-count, todo-validate-name, todo-y-or-n-p):
13824         New functions.
13825         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
13826         New major modes.
13827         (todo-categories, todo-display, todo-edit, todo-faces)
13828         (todo-filtered): New defgroups.
13829         (todo-archived-only, todo-button, todo-category-string, todo-date)
13830         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
13831         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
13832         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
13833         (todo-add-item-if-new-category, todo-always-add-time-string)
13834         (todo-categories-align, todo-categories-archived-label)
13835         (todo-categories-category-label, todo-categories-diary-label)
13836         (todo-categories-done-label, todo-categories-number-separator)
13837         (todo-categories-todo-label, todo-categories-totals-label)
13838         (todo-category-completions-files, todo-completion-ignore-case)
13839         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
13840         (todo-done-separator-string, todo-done-string)
13841         (todo-files-function, todo-filter-done-items, todo-filter-files)
13842         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
13843         (todo-initial-category, todo-initial-file, todo-item-mark)
13844         (todo-legacy-date-time-regexp, todo-mode-line-function)
13845         (todo-nondiary-marker, todo-number-prefix)
13846         (todo-print-buffer-function, todo-show-current-file)
13847         (todo-show-done-only, todo-show-first, todo-show-with-done)
13848         (todo-skip-archived-categories, todo-top-priorities-overrides)
13849         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
13850         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
13851         New defcustoms.
13852         (todo-category-done, todo-date-pattern, todo-date-string-start)
13853         (todo-diary-items-buffer, todo-done-string-start)
13854         (todo-filtered-items-buffer, todo-item-start)
13855         (todo-month-abbrev-array, todo-month-name-array)
13856         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
13857         (todo-top-priorities-buffer): New defconsts.
13858         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
13859         (todo-categories-with-marks, todo-category-string-face)
13860         (todo-comment-face, todo-comment-string, todo-current-todo-file)
13861         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
13862         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
13863         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
13864         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
13865         (todo-font-lock-keywords, todo-global-current-todo-file)
13866         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
13867         (todo-insertion-commands-args)
13868         (todo-insertion-commands-args-genlist)
13869         (todo-insertion-commands-names, todo-insertion-map)
13870         (todo-key-bindings-t, todo-key-bindings-t+a)
13871         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
13872         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
13873         (todo-nondiary-face, todo-print-buffer, todo-time-face)
13874         (todo-visited): New variables.
13876 2013-06-21  Glenn Morris  <rgm@gnu.org>
13878         * play/cookie1.el (cookie-apropos): Add optional display argument.
13879         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
13880         (psychoanalyze-pinhead): Use cookie-doctor.
13882 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
13884         * emacs-lisp/package.el (tar-get-file-descriptor)
13885         (tar--extract): Declare.
13887 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
13889         Extend flymake's warning predicate to be a function (bug#14217).
13890         * progmodes/flymake.el (flymake-warning-predicate): New.
13891         (flymake-parse-line): Use it.
13892         (flymake-warning-re): Make obsolete alias to
13893         `flymake-warning-predicate'.
13895 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13897         * emacs-lisp/package.el (package-alist): Include obsolete packages.
13898         (package-obsolete-list): Remove.
13899         (package-activate): Remove min-version argument.  Add `force' argument.
13900         Adjust to new package-alist format.
13901         (package-mark-obsolete): Remove.
13902         (package-unpack): Force reload of the package's autoloads.
13903         (package-installed-p): Check builtins if the installed package is not
13904         recent enough.
13905         (package-initialize): Don't reset package-obsolete-list.
13906         Don't specify which package version to activate.
13907         (package-process-define-package, describe-package-1)
13908         (package-menu--generate): Adjust to new package-alist format.
13910 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
13912         * allout-widgets.el (allout-widgets-mode-off)
13913         (allout-widgets-mode-on, allout-widgets-pre-command-business)
13914         (allout-widgets-post-command-business)
13915         (allout-widgets-after-copy-or-kill-function)
13916         (allout-widgets-after-undo-function, allout-test-range-overlaps)
13917         (allout-decorate-item-and-context)
13918         (allout-graphics-modification-handler): Fix typos in docstrings.
13919         (allout-get-or-create-parent-widget): Use `looking-at-p'.
13921         * cmuscheme.el (scheme-start-file): Doc fix.
13922         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
13923         (scheme-input-filter): Use `string-match-p'.
13925         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
13927         * dired-x.el: Use Dired consistently in docstrings.
13929         * dired.el: Use Dired consistently in docstrings.
13930         (dired-readin, dired-mode): Use `setq-local'.
13931         (dired-switches-alist): Make defvar-local.
13932         (dired-buffers-for-dir): Use `zerop'.
13933         (dired-safe-switches-p, dired-switches-escape-p)
13934         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
13935         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13936         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13937         (dired-goto-next-nontrivial-file): Use `string-match-p'.
13938         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13939         (dired-toggle-marks, dired-mark-files-containing-regexp)
13940         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13941         (dired-flag-auto-save-files, dired-flag-backup-files):
13942         Use `looking-at-p'.
13943         (dired-mark-files-regexp, dired-build-subdir-alist):
13944         Use `string-match-p', `looking-at-p'.
13946         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13947         (direct-print-region-helper): Use `string-match-p'.
13949 2013-06-21  Leo Liu  <sdl.web@gmail.com>
13951         * comint.el (comint-redirect-results-list-from-process):
13952         Fix infinite loop.
13954 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13956         * net/eww.el (eww-update-header-line-format): Quote % characters.
13958 2013-06-21  Glenn Morris  <rgm@gnu.org>
13960         * play/cookie1.el (cookie): New custom group.
13961         (cookie-file): New option.
13962         (cookie-check-file): New function.
13963         (cookie): Make it interactive.  Make start and end messages optional.
13964         Interactively, display the result.  Default to cookie-file.
13965         (cookie-insert): Default to cookie-file.
13966         (cookie-snarf): Make start and end messages optional.
13967         Default to cookie-file.  Use with-temp-buffer.
13968         (cookie-read): Rename from read-cookie.
13969         Make start and end messages optional.  Default to cookie-file.
13970         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
13971         Do not autoload it.
13972         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13973         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13975 2013-06-21  Leo Liu  <sdl.web@gmail.com>
13977         * progmodes/octave.el (octave-mode): Backward compatibility fix.
13979 2013-06-21  Glenn Morris  <rgm@gnu.org>
13981         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13983 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13984             Daniel Hackney  <dan@haxney.org>
13986         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13987         Consolidate the single-file vs tarball code.
13988         (package-desc-suffix): New function.
13989         (package-desc-full-name): Don't bother inlining it.
13990         (package-load-descriptor): Return the new package-desc.
13991         (package-mark-obsolete): Remove unused arg `package'.
13992         (package-unpack): Make it work for single files as well.
13993         Make it update package-alist.
13994         (package--make-autoloads-and-stuff): Rename from
13995         package--make-autoloads-and-compile.  Don't compile any more.
13996         (package--compile): New function.
13997         (package-generate-description-file): New function, extracted from
13998         package-unpack-single.
13999         (package-unpack-single): Remove.
14000         (package--with-work-buffer): Add indentation and debugging info.
14001         (package-download-single): Remove.
14002         (package-install-from-archive): Rename from package-download-tar, make
14003         it take a pkg-desc, and make it work for single files as well.
14004         (package-download-transaction): Simplify.
14005         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
14006         external tar program.
14007         (package-install-from-buffer): Remove `pkg-desc' argument.
14008         Use package-tar-file-info for tar-mode buffers.
14009         (package-install-file): Simplify accordingly.
14010         (package-archive-base): Change to take a pkg-desc.
14011         * tar-mode.el (tar--check-descriptor): New function, extracted from
14012         tar-get-descriptor.
14013         (tar-get-descriptor): Use it.
14014         (tar-get-file-descriptor): New function.
14015         (tar--extract): New function, extracted from tar-extract.
14016         (tar--extract): Use it.
14017         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
14018         case the summary uses non-ascii.  Adjust to new calling convention of
14019         package-tar-file-info.
14021 2013-06-21  Leo Liu  <sdl.web@gmail.com>
14023         * comint.el (comint-redirect-results-list-from-process):
14024         Fix random delay.  (Bug#14681)
14026 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
14028         * profiler.el (profiler-format-number): Use log, not log10.
14030 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
14032         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
14034 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14036         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
14037         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
14038         yet available.
14039         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
14040         (AUTOGENEL): ... here.
14041         * emacs-lisp/cl-macs.el (cl--sublis): New function.
14042         (cl--defsubst-expand): Use it.
14044 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
14046         * subr.el (log10): Move here from C code, and declare as obsolete.
14047         All uses of (log10 X) replaced with (log X 10).
14049 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
14051         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
14052         Declare with `defvar-local'.
14053         (tabulated-list-use-header-line, tabulated-list-entries)
14054         (tabulated-list-padding, tabulated-list-printer)
14055         (tabulated-list-sort-key): Declare with `defvar-local'.
14056         (tabulated-list-init-header, tabulated-list-print-fake-header):
14057         Use `setq-local'.
14059 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
14061         * arc-mode.el (archive-mode): Add `archive-write-file' to
14062         `write-contents-functions' also for remote files.  (Bug#14652)
14064 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
14066         * cus-edit.el (custom-commands): Fix typos.
14067         (custom-display): Fix tooltip text.
14068         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
14069         Fix typos in docstrings.
14070         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
14071         (custom-unlispify-menu-entry, custom-magic-value-create)
14072         (custom-add-see-also, custom-group-value-create): Use ?\s.
14073         (custom-guess-type, customize-apropos, editable-field)
14074         (custom-face-value-create): Use `string-match-p'.
14075         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
14077         * custom.el (custom-load-symbol): Use `string-match-p'.
14079         * ansi-color.el: Convert to lexical binding.
14080         (ansi-colors): Fix URL.
14081         (ansi-color-context, ansi-color-context-region): Use defvar-local.
14082         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
14083         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
14085 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14087         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
14089         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
14091 2013-06-19  Tom Tromey  <tromey@redhat.com>
14093         * net/eww.el (eww-top-url): Remove.
14094         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
14095         (eww-render): Set new variables.  Don't set eww-top-url.
14096         (eww-handle-link): Handle "prev", "home", and "contents".
14097         Downcase the rel text.
14098         (eww-top-url): Choose best top URL.
14100 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14102         * net/eww.el: Rewrite to implement form elements "by hand" instead of
14103         relying in widget.el.  Using widget.el leads to too many
14104         user interface inconsistencies.
14105         (eww-self-insert): Implement entering commands in text fields.
14106         (eww-process-text-input): New function to make text input field editing
14107         work.
14108         (eww-submit): Rewrite to use the new-style form methods.
14109         (eww-select-display): Display the correct selected item.
14110         (eww-change-select): Implement changing the select value.
14111         (eww-toggle-checkbox): Implement radio/checkboxes.
14112         (eww-update-field): Fix compilation error.
14113         (eww-tag-textarea): Implement <textarea>.
14115         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
14116         we don't shadow mode-specific bindings.
14118         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
14119         nothing to push.
14121         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
14123 2013-06-19  Glenn Morris  <rgm@gnu.org>
14125         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
14127 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
14129         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
14130         not needed.
14132         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
14134 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14136         * net/browse-url.el (browse-url-browser-function):
14137         `eww-browse-url' has the right calling signature, `eww' does not.
14139 2013-06-19  Glenn Morris  <rgm@gnu.org>
14141         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14142         Only eval autoloaded macros.
14143         (byte-compile-autoload): Only give the macro warning for macros.
14145         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
14146         (ps-underlined-faces): Declare.
14148         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
14149         (speedbar-add-supported-extension): Declare.
14151         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
14152         Don't include a date stamp in the header of the generated file;
14153         it leads to needless differences between output files.
14155 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
14157         * net/secrets.el (secrets-struct-secret-content-type):
14158         Replace check of introspection data by a test call of "CreateItem".
14159         Some servers do not offer introspection.
14161 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14163         * electric.el (electric-pair-mode): Improve interaction with
14164         electric-layout-mode.
14165         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
14166         (electric-pair-syntax): Use text-mode-syntax-table in comments
14167         and strings.
14168         (electric-pair--insert): New function.
14169         (electric-pair-post-self-insert-function): Use it and
14170         electric--after-char-pos.
14172 2013-06-19  Leo Liu  <sdl.web@gmail.com>
14174         * progmodes/octave.el (octave-help): Fix regexp.
14176 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14178         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
14179         (shr-table-horizontal-line): Allow nil as a value, and change the
14180         default.
14181         (shr-insert-table-ruler): Respect the nil value.
14183 2013-06-18  Tom Tromey  <tromey@barimba>
14185         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
14186         New defvars.
14187         (eww-open-file): New defun.
14188         (eww-render): Initialize new variables.
14189         (eww-display-html): Handle "link" and "a".
14190         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
14191         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
14192         (eww-back-url): Rename from eww-previous-url.
14193         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
14194         New defuns.
14196 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
14198         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
14199         Distinguish ternary operator tokens from slash symbol and slash
14200         char literal.
14202 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
14204         Convert symbol prettification into minor mode and global minor mode.
14206         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
14207         `prog-prettify-symbols', and make a local defvar instead of defcustom.
14208         (prettify-symbols--keywords): Rename from
14209         `prog-prettify-symbols-alist' and make a local defvar.
14210         (prettify-symbols--compose-symbol): Rename from
14211         `prog--prettify-font-lock-compose-symbol'.
14212         (prettify-symbols--make-keywords): Rename from
14213         `prog-prettify-font-lock-symbols-keywords' and simplify.
14214         (prog-prettify-install): Remove.
14215         (prettify-symbols-mode): New minor mode, based on
14216         `prog-prettify-install'.
14217         (turn-on-prettify-symbols-mode): New function.
14218         (global-prettify-symbols-mode): New globalized minor mode.
14220         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14221         * progmodes/cfengine.el (cfengine3-mode):
14222         * progmodes/perl-mode.el (perl-mode): Don't call
14223         `prog-prettify-install'; set `prettify-symbols-alist' instead.
14225 2013-06-18  Juri Linkov  <juri@jurta.org>
14227         * files-x.el (modify-file-local-variable-message): New function.
14228         (modify-file-local-variable)
14229         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
14230         and call `modify-file-local-variable-message' when it's non-nil.
14231         (add-file-local-variable, delete-file-local-variable)
14232         (add-file-local-variable-prop-line)
14233         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
14234         and use it.  (Bug#9820)
14236 2013-06-18  Juri Linkov  <juri@jurta.org>
14238         * emulation/vi.el (vi-shell-op):
14239         * emulation/vip.el (vip-execute-com, ex-command):
14240         * emulation/viper-cmd.el (viper-exec-bang):
14241         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
14242         the call of `shell-command-on-region'.  (Bug#14637)
14244         * simple.el (shell-command-on-region): Doc fix.
14246 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14248         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
14249         (bug#14633).
14251 2013-06-18  Glenn Morris  <rgm@gnu.org>
14253         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
14255         * newcomment.el (comment-search-forward, comment-search-backward):
14256         Doc fix.  (Bug#14376)
14258 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
14260         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
14261         (buffer-face-mode-invoke): Doc fix.
14263 2013-06-18  Matthias Meulien  <orontee@gmail.com>
14265         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
14266         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
14268 2013-06-18  Glenn Morris  <rgm@gnu.org>
14270         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
14271         Replace obsolete function generic-make-keywords with its expansion.
14273         * progmodes/python.el (ffap-alist): Declare.
14275         * textmodes/reftex.el (bibtex-mode-map): Declare.
14277 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14279         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
14280         (package-unpack, package-unpack-single): Return the pkg-dir.
14281         (package-download-transaction): Use it to update package-alist.
14283 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14285         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
14286         possible choice.
14288 2013-06-17  Juri Linkov  <juri@jurta.org>
14290         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
14292 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
14294         * emacs-lisp/package.el (package-load-descriptor):
14295         Remove `with-syntax-table' call, `read' doesn't need it.
14296         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
14298 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
14300         * startup.el (command-line): Expand package name returned by
14301         `package--description-file' (bug#14639).
14303 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
14305         * emacs-lisp/package.el (package-load-descriptor): Do not call
14306         `emacs-lisp-mode', just use its syntax table.
14308 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
14310         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
14311         `font-lock-extra-managed-props' if any prettifying keyword is added.
14312         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
14313         (prog-mode): Use `setq-local'.
14315 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14317         * international/characters.el (standard-case-table): Set syntax of ?»
14318         and ?« to punctuation.
14320 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
14322         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
14323         Save relevant match data before calling `syntax-ppss' (bug#14595).
14325 2013-06-15  Juri Linkov  <juri@jurta.org>
14327         * files-x.el (modify-file-local-variable-prop-line): Add local
14328         variables to the end of the existing comment on the first line.
14329         Use `file-auto-mode-skip' to skip interpreter magic line,
14330         and also skip XML declaration.
14332 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14334         * startup.el (package--builtin-versions): New var.
14335         (package-subdirectory-regexp): Remove.
14336         (package--description-file): Hard code its value instead.
14338         * emacs-lisp/package.el: Don't activate packages older than builtin.
14339         (package-obsolete-list): Rename from package-obsolete-alist, and make
14340         it into a simple list of package-desc.
14341         (package-strip-version): Remove.
14342         (package-built-in-p): Use package--builtin-versions.
14343         (package-mark-obsolete): Simplify.
14344         (package-process-define-package): Mark it obsolete if older than the
14345         builtin version.
14346         (package-handle-response): Use line-end-position.
14347         (package-read-archive-contents, package--download-one-archive):
14348         Simplify.
14349         (package--add-to-archive-contents): Skip if older than the builtin or
14350         installed version.
14351         (package-menu-describe-package): Fix last change.
14352         (package-list-unversioned): New var.
14353         (package-menu--generate): Use it.
14355         * emacs-lisp/autoload.el: Manage package--builtin-versions.
14356         (autoload--insert-text, autoload--insert-cookie-text): New functions.
14357         (autoload-builtin-package-versions): New variable.
14358         (autoload-generate-file-autoloads): Use them.
14359         Remove the list of autoloaded functions/macros from the
14360         (autoload...) comments.
14362         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
14364 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
14366         * simple.el (line-move-partial): Don't jump to the next screen
14367         line as soon as it becomes visible.  Instead, continue enlarging
14368         the vscroll until the portion of a tall screen line that's left on
14369         display is about the height of the frame's default font.
14370         (Bug#14567)
14372 2013-06-15  Glenn Morris  <rgm@gnu.org>
14374         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
14375         compilation-error-regexp-alist void, or local while let-bound.
14377         * progmodes/make-mode.el (makefile-mode-syntax-table):
14378         Treat "=" as punctuation.  (Bug#14614)
14380 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
14382         * help-fns.el (describe-variable):
14383         Add extra line for permanent-local variables.
14385 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
14387         * progmodes/scheme.el (scheme-font-lock-keywords-2):
14388         Add export, import, library.  (Bug#9164)
14389         (library): Set indent function.
14391 2013-06-14  Glenn Morris  <rgm@gnu.org>
14393         * term/xterm.el (xterm--query):
14394         Stop after first matching handler.  (Bug#14615)
14396 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
14398         Add support for dired in saveplace.
14399         * dired.el (dired-initial-position-hook): New variable.
14400         (dired-initial-position): Call hook to place cursor position.
14401         * saveplace.el (save-place-to-alist): Add dired position.
14402         (save-place-dired-hook): New function.
14404 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14406         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
14407         through a symbol rather than letrec.
14409         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
14410         (package-desc): Add `dir' field.
14411         (package-desc-full-name): New function.
14412         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
14413         (package-maybe-load-descriptor): Remove.
14414         (package-load-all-descriptors): Just call package-load-descriptor.
14415         (package--disabled-p): New function.
14416         (package-desc-vers, package-desc-doc): Remove aliases.
14417         (package--dir): Remove function.
14418         (package-activate): Check if a package is disabled.
14419         (package-process-define-package): New function, extracted from
14420         define-package.
14421         (define-package): Turn into a place holder.
14422         (package-unpack-single, package-tar-file-info):
14423         Use package--description-file.
14424         (package-compute-transaction): Use package--disabled-p.
14425         (package-download-transaction): Don't call
14426         package-maybe-load-descriptor since they're all loaded anyway.
14427         (package-install): Change argument to be a pkg-desc.
14428         (package-delete): Use a single pkg-desc argument.
14429         (describe-package-1): Use package-desc-dir instead of package--dir.
14430         Use package-desc property instead of package-symbol.
14431         (package-install-button-action): Adjust accordingly.
14432         (package--push): Rewrite.
14433         (package-menu--print-info): Adjust accordingly.  Change the ID format
14434         to be a pkg-desc.
14435         (package-menu-describe-package, package-menu-get-status)
14436         (package-menu--find-upgrades, package-menu-mark-upgrades)
14437         (package-menu-execute, package-menu--name-predicate):
14438         Adjust accordingly.
14439         * startup.el (package--description-file): New function.
14440         (command-line): Use it.
14441         * emacs-lisp/package-x.el (package-upload-buffer-internal):
14442         Use package-desc-version.
14444         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
14445         (byte-compile-preprocess): Use it.
14446         (byte-compile-file-form-defalias): Try a bit harder to use macros we
14447         can't quite recognize.
14448         (byte-compile-add-to-list): Remove.
14449         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
14450         (cconv-closure-convert): Add assertion.
14452         * emacs-lisp/map-ynp.el: Use lexical-binding.
14453         (map-y-or-n-p): Remove unused vars `tail' and `object'.
14454         Factor out some repeated code.
14456 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14458         * subr.el (with-eval-after-load): New macro.
14459         (eval-after-load): Allow form to be a function.
14460         take advantage of lexical-binding.
14461         (do-after-load-evaluation): Use dolist and adjust to new format.
14462         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
14464 2013-06-13  Juri Linkov  <juri@jurta.org>
14466         * replace.el (perform-replace): Display "symbol " and other search
14467         modes from `isearch-message-prefix' in the *Help* buffer.
14469         * isearch.el (isearch-query-replace): Add " symbol" and other
14470         possible search modes from `isearch-message-prefix' to the prompt.
14471         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
14472         when reading a regexp to collect.
14474 2013-06-13  Juri Linkov  <juri@jurta.org>
14476         * isearch.el (word-search-regexp): Match whitespace if the search
14477         string begins or ends in whitespace.  The LAX arg is applied to
14478         both ends of the search string.  Use `regexp-quote' and explicit
14479         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
14480         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
14481         boundaries are replaced with symbol boundaries, and characters
14482         between symbols match non-word non-symbol syntax.  (Bug#14602)
14484 2013-06-13  Juri Linkov  <juri@jurta.org>
14486         * isearch.el (isearch-del-char): Don't exceed the length of
14487         `isearch-string' by the prefix arg.  (Bug#14563)
14489 2013-06-13  Juri Linkov  <juri@jurta.org>
14491         * isearch.el (isearch-yank-word, isearch-yank-line)
14492         (isearch-char-by-name, isearch-quote-char)
14493         (isearch-printing-char, isearch-process-search-char):
14494         Add optional count prefix arg.  (Bug#14563)
14496         * international/isearch-x.el
14497         (isearch-process-search-multibyte-characters):
14498         Add optional count prefix arg.
14500 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14502         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
14503         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
14504         lexical-binding.
14506 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
14508         * subr.el (set-temporary-overlay-map): Add on-exit argument.
14510 2013-06-13  Glenn Morris  <rgm@gnu.org>
14512         * startup.el (tty-handle-args):
14513         Don't just discard "--" and anything after.  (Bug#14608)
14515         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
14517 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
14519         Implement changes in Secret Service API.  Make it backward compatible.
14520         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
14521         (secrets-create-item): Use it.  Prefix properties with interface.
14523 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
14525         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
14526         (term-emulate-terminal): Respect term-suppress-hard-newline.
14528 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
14530         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
14531         Only remove a `thumb-file' overlay.  (Bug#14548)
14533 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
14535         * mail/reporter.el (reporter-submit-bug-report):
14536         Handle missing package-name.  (Bug#14600)
14538 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14540         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
14541         (reftex-citation-prompt, reftex-default-bibliography)
14542         (reftex-bib-or-thebib, reftex-get-bibfile-list)
14543         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
14544         (reftex-bib-sort-author, reftex-bib-sort-year)
14545         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
14546         (reftex-extract-bib-entries-from-thebibliography)
14547         (reftex-get-bibkey-default, reftex-get-bib-names)
14548         (reftex-parse-bibtex-entry, reftex-get-bib-field)
14549         (reftex-format-bib-entry, reftex-parse-bibitem)
14550         (reftex-format-bibitem, reftex-do-citation)
14551         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
14552         (reftex-restrict-bib-matches, reftex-extract-bib-file)
14553         (reftex-insert-bib-matches, reftex-format-citation)
14554         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
14555         (reftex-create-bibtex-file): Add docstrings, mostly by converting
14556         existing comments into docstrings.
14558 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
14560         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
14562 2013-06-12  Andreas Schwab  <schwab@suse.de>
14564         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
14565         for auto-save files.
14567 2013-06-12  Glenn Morris  <rgm@gnu.org>
14569         * ido.el (ido-delete-ignored-files): Remove.
14570         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
14571         Go back to calling ido-ignore-item-p directly.
14573 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
14575         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
14577         * ido.el (ido-delete-ignored-files): New function,
14578         split from ido-make-file-list-1.
14579         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
14580         (ido-make-file-list-1): Use ido-delete-ignored-files.
14582 2013-06-12  Leo Liu  <sdl.web@gmail.com>
14584         * progmodes/octave.el (inferior-octave-startup)
14585         (inferior-octave-completion-table)
14586         (inferior-octave-track-window-width-change)
14587         (octave-eldoc-function-signatures, octave-help)
14588         (octave-find-definition): Use single quoted strings.
14589         (inferior-octave-startup-args): Change default value.
14590         (inferior-octave-startup): Do not hard code "-i" and
14591         "--no-line-editing".
14592         (inferior-octave-resync-dirs): Add optional arg NOERROR.
14593         (inferior-octave-directory-tracker): Use it.
14594         (octave-goto-function-definition): Robustify.
14595         (octave-help): Support highlighting operators in 'See also'.
14596         (octave-find-definition): Find subfunctions only in Octave mode.
14598 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14600         * help-fns.el (help-fns--compiler-macro): If the handler function is
14601         named, then put a link to it.
14602         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
14603         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
14604         (cl-typep): Use it.
14605         (cl-eval-when): Simplify debug spec.
14606         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
14607         compiler-macro function instead of setting `compiler-macro-file'.
14609 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
14611         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
14612         * vc/vc-hooks.el (vc-stay-local): Doc fix.
14614 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14615             Daniel Hackney  <dan@haxney.org>
14617         First part of Daniel Hackney's patch to package.el.
14618         * emacs-lisp/package.el: Use defstruct.
14619         (package-desc): New, main struct.
14620         (package--bi-desc, package--ac-desc): New structs, used to describe the
14621         format in external files.
14622         (package-desc-vers): Replace with package-desc-version accessor.
14623         (package-desc-doc): Replace with package-desc-summary accessor.
14624         (package-activate-1): Remove `package' arg since the pkg-vec now
14625         includes the name.
14626         (define-package): Use package-desc-from-define.
14627         (package-unpack-single): Change file-name arg to be a symbol.
14628         (package--add-to-archive-contents): Use package-desc-create and new
14629         accessor functions to package--ac-desc.
14630         (package-buffer-info, package-tar-file-info): Return a package-desc.
14631         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
14632         arg to be a package-desc.
14633         (package-install-file): Adjust accordingly.  Use \' to match EOS.
14634         (package--from-builtin): New function.
14635         (describe-package-1, package-menu--generate): Use it.
14636         (package--make-autoloads-and-compile): Change name arg to be a symbol.
14637         (package-generate-autoloads): Idem and return the name of the file.
14638         * emacs-lisp/package-x.el (package-upload-buffer-internal):
14639         Change pkg-info arg to be a package-desc.
14640         Use package-make-ac-desc.
14641         (package-upload-file): Use \' to match EOS.
14642         * finder.el (finder-compile-keywords): Use package-make-builtin.
14644 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14646         * vc/vc.el (vc-deduce-fileset): Change error message.
14647         (vc-read-backend): New function.
14648         (vc-next-action): Use it.
14650         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
14652         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
14653         (prolog-font-lock-keywords): Use regexp-opt instead.
14654         Don't manually highlight strings.
14655         (prolog-mode-variables): Simplify comment-start-skip.
14656         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
14658         * emacs-lisp/generic.el (generic--normalise-comments)
14659         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
14660         (generic-mode-set-comments): Use them.
14661         (generic-bracket-support): Use setq-local.
14662         (generic-make-keywords-list): Declare obsolete.
14664 2013-06-11  Glenn Morris  <rgm@gnu.org>
14666         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14667         Prettify after setting font-lock-defaults.  (Bug#14574)
14669 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
14671         * replace.el (query-replace, occur-read-regexp-defaults-function)
14672         (replace-search):
14673         * subr.el (declare-function, number-sequence, local-set-key)
14674         (substitute-key-definition, locate-user-emacs-file)
14675         (with-silent-modifications, split-string, eval-after-load):
14676         Fix typos, remove unneeded backslashes and reflow some docstrings.
14678 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14680         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
14681         default for Elisp files.
14683 2013-06-11  Glenn Morris  <rgm@gnu.org>
14685         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
14686         although define-derived-mode was doing this anyway.  (Bug#14583)
14688 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
14690         * allout.el (allout-encryption-plaintext-sanitization-regexps):
14691         Fix make-variable-buffer-local call to refer to the correct variable.
14693 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
14695         * eshell/em-term.el (eshell-visual-commands)
14696         (eshell-visual-subcommands, eshell-visual-options):
14697         Add summary line to docstrings.  Add cross-references.
14699 2013-06-10  Glenn Morris  <rgm@gnu.org>
14701         * epa.el (epa-read-file-name): New function.  (Bug#14510)
14702         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
14704 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
14706         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
14707         output redirection to be ignored with visual commands.
14709 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
14711         * eshell/em-term.el (eshell-visual-command-p): New function.
14712         (eshell-term-initialize): Move long lambda to separate function
14713         eshell-visual-command-p.
14714         * eshell/em-dirs.el (eshell-dirs-initialize):
14715         * eshell/em-script.el (eshell-script-initialize):
14716         Add missing #' to lambda.
14718 2013-06-08  Leo Liu  <sdl.web@gmail.com>
14720         * progmodes/octave.el (octave-add-log-current-defun): New function.
14721         (octave-mode): Set add-log-current-defun-function.
14722         (octave-goto-function-definition): Do not move point if not found.
14723         (octave-find-definition): Enhance to try subfunctions first.
14725 2013-06-08  Glenn Morris  <rgm@gnu.org>
14727         * emacs-lisp/bytecomp.el (byte-compile-char-before)
14728         (byte-compile-backward-char, byte-compile-backward-word):
14729         Improve previous change, to handle non-explicit nil.
14731 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14733         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
14734         (smie--opener/closer-at-point): New function.
14735         (smie--matching-block-data): Use it.  Don't match from right after an
14736         opener or right before a closer.  Obey smie-blink-matching-inners.
14737         Don't signal a mismatch for repeated inners like "switch..case..case".
14739 2013-06-07  Leo Liu  <sdl.web@gmail.com>
14741         * progmodes/octave.el (octave-mode): Set comment-use-global-state
14742         to t.  (Bug#14303)
14743         (octave-function-header-regexp): Fix.  (Bug#14570)
14744         (octave-help-mode-finish-hook, octave-help-mode-finish):
14745         Remove.  Just use temp-buffer-show-hook.
14747         * newcomment.el (comment-search-backward): Revert last change.
14748         (Bug#14434)
14750         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
14752 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
14754         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
14755         through xargs, to avoid failure due to MS-Windows limitations on
14756         command-line length.
14758 2013-06-06  Glenn Morris  <rgm@gnu.org>
14760         * font-lock.el (lisp-font-lock-keywords-2):
14761         Treat user-error like error.
14763         * emacs-lisp/bytecomp.el (byte-compile-char-before)
14764         (byte-compile-backward-char, byte-compile-backward-word):
14765         Handle explicit nil arguments.  (Bug#14565)
14767 2013-06-05  Alan Mackenzie  <acm@muc.de>
14769         * isearch.el (isearch-allow-prefix): New user option.
14770         (isearch-other-meta-char): Don't exit isearch when a prefix
14771         argument is typed whilst `isearch-allow-prefix' is non-nil.
14772         (Bug#9706)
14774 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14776         * autorevert.el (auto-revert-notify-handler): Use memq.
14777         Hide assertion failure.
14779         * skeleton.el: Use cl-lib.
14780         (skeleton-further-elements): Use defvar-local.
14781         (skeleton-insert): Use cl-progv.
14783 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
14785         * progmodes/prog-mode.el (prog-prettify-symbols)
14786         (prog-prettify-install): Update docstrings.
14788 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14790         * simple.el: Move all the prog-mode code to prog-mode.el.
14791         * progmodes/prog-mode.el: New file.
14792         * loadup.el: Add prog-mode.el.
14794 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
14796         * simple.el (prog-prettify-symbols): Add version.
14797         (prog-prettify-install): Add convenience function to prettify symbols.
14799         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
14800         (perl--augmented-font-lock-keywords-1)
14801         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
14802         variables and use it.
14804         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14805         (cfengine3-mode): Remove unneeded variable and use it.
14807         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14808         (lisp--augmented-font-lock-keywords-1)
14809         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
14810         Remove unneeded variables and use it.
14812 2013-06-05  João Távora  <joaotavora@gmail.com>
14814         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
14815         to point when opening the connection.  (Bug#14380)
14817 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14819         * subr.el (load-history-regexp, load-history-filename-element)
14820         (eval-after-load, after-load-functions, do-after-load-evaluation)
14821         (eval-next-after-load, display-delayed-warnings)
14822         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
14823         definition of save-match-data.
14824         (overriding-local-map): Remove accidental obsolescence declaration.
14826         * emacs-lisp/edebug.el (edebug-result): Move before first use.
14828 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
14830         Generalize symbol prettify support to prog-mode and implement it
14831         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
14832         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
14833         (prog--prettify-font-lock-compose-symbol)
14834         (prog-prettify-font-lock-symbols-keywords): New variables and
14835         functions to support symbol prettification.
14836         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14837         (lisp--augmented-font-lock-keywords-1)
14838         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
14839         (lisp--prettify-symbols-alist): Implement prettify of lambda.
14840         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14841         (cfengine3--prettify-symbols-alist, cfengine3-mode):
14842         Implement prettify of -> => :: strings.
14843         * progmodes/perl-mode.el (perl-prettify-symbols)
14844         (perl--font-lock-compose-symbol)
14845         (perl--font-lock-symbols-keywords): Move to prog-mode.
14846         (perl--prettify-symbols-alist): Prettify -> => :: strings.
14847         (perl-font-lock-keywords-1)
14848         (perl-font-lock-keywords-2): Remove explicit prettify support.
14849         (perl--augmented-font-lock-keywords)
14850         (perl--augmented-font-lock-keywords-1)
14851         (perl--augmented-font-lock-keywords-2, perl-mode):
14852         Implement prettify support.
14854 2013-06-05  Leo Liu  <sdl.web@gmail.com>
14856         Re-implement SMIE matching block highlight using
14857         show-paren-data-function.  (Bug#14395)
14858         * emacs-lisp/smie.el (smie-matching-block-highlight)
14859         (smie--highlight-matching-block-overlay)
14860         (smie--highlight-matching-block-lastpos)
14861         (smie-highlight-matching-block)
14862         (smie-highlight-matching-block-mode): Remove.
14863         (smie--matching-block-data-cache): New variable.
14864         (smie--matching-block-data): New function.
14865         (smie-setup): Use smie--matching-block-data for
14866         show-paren-data-function.
14868         * progmodes/octave.el (octave-mode-menu): Fix.
14869         (octave-find-definition): Skip garbage lines.
14871 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14873         Fix compilation error with simultaneous dynamic+lexical scoping.
14874         Add warning when a defvar appears after the first let-binding.
14875         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
14876         (byte-compile-close-variables): Initialize it.
14877         (byte-compile--declare-var): New function.
14878         (byte-compile-file-form-defvar)
14879         (byte-compile-file-form-define-abbrev-table)
14880         (byte-compile-file-form-custom-declare-variable): Use it.
14881         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
14882         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
14883         (byte-compile-bind): Handle dynamic bindings that shadow
14884         lexical bindings.
14885         (byte-compile-unbind): Make arg non-optional.
14886         (byte-compile-let): Simplify.
14887         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
14888         (cconv--analyse-function, cconv-analyse-form): Populate it.
14889         Protect byte-compile-bound-variables to limit the scope of defvars.
14890         (cconv-analyse-form): Add missing rule for (defvar <foo>).
14891         Remove unneeded rule for `declare'.
14893         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
14894         so as to avoid depending on cl-adjoin at run-time.
14895         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
14897         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
14898         (macroexp--warn-and-return): Use it.
14900 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14902         * subr.el: Convert to lexical binding.
14903         (overriding-local-map): Make obsolete.
14904         (add-to-list): Doc fix.  Add compiler macro.
14905         (read-key): Swap values of local maps.
14907 2013-06-05  Leo Liu  <sdl.web@gmail.com>
14909         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
14911 2013-06-04  Leo Liu  <sdl.web@gmail.com>
14913         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
14914         (compilation-auto-jump): Suppress the "Mark set" message to give
14915         way to exit message.
14917 2013-06-04  Alan Mackenzie  <acm@muc.de>
14919         Remove faulty optimisation from indentation calculation.
14920         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
14921         search limit based on 2000 characters back from indent-point.
14923 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
14925         * eshell/em-term.el (cl-lib): Require `cl-lib'.
14927 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14929         * emacs-lisp/lisp.el: Use lexical-binding.
14930         (lisp--local-variables-1, lisp--local-variables): New functions.
14931         (lisp--local-variables-completion-table): New var.
14932         (lisp-completion-at-point): Use it complete let-bound vars.
14934         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
14935         eagerly (bug#14422).
14937 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
14939         * autorevert.el (auto-revert-notify-enabled)
14940         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14941         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14942         (auto-revert-notify-handler): Handle also gfilenotify.
14944         * subr.el (file-notify-handle-event): New defun.  Replacing ...
14945         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14946         Remove.
14948 2013-06-03  Juri Linkov  <juri@jurta.org>
14950         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14951         `M-s h .'.  (Bug#14427)
14953         * hi-lock.el (highlight-symbol-at-point): New alias for the new
14954         command `hi-lock-face-symbol-at-point'.
14955         (hi-lock-face-symbol-at-point): New command.
14956         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14957         (hi-lock-menu): Add `highlight-symbol-at-point'.
14958         (hi-lock-mode): Doc fix.
14960         * isearch.el (isearch-forward-symbol-at-point): New command.
14961         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14962         (isearch-highlight-regexp): Add a regexp which matches
14963         words/symbols for word/symbol mode.
14965         * subr.el (find-tag-default-bounds): New function with the body
14966         mostly moved from `find-tag-default'.
14967         (find-tag-default): Move most code to `find-tag-default-bounds',
14968         call it and apply `buffer-substring-no-properties' afterwards.
14970 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
14972         * eshell/em-term.el (eshell-term-initialize):
14973         Use `cl-intersection' rather than `intersection'.
14975 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
14977         * vc/log-view.el: Doc fix.
14978         (log-view-mode-map): Copy keymap from `special-mode-map'.
14980 2013-06-02  Eric Ludlam  <zappo@gnu.org>
14982         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14983         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14984         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14985         (eieio-unbound, eieio-default-superclass)
14986         (eieio--define-field-accessors, method-static, method-before)
14987         (method-primary, method-after, method-num-lists)
14988         (method-generic-before, method-generic-primary)
14989         (method-generic-after, method-num-slots)
14990         (eieio-specialized-key-to-generic-key)
14991         (eieio--check-type, class-v, class-p)
14992         (eieio-class-name, define-obsolete-function-alias)
14993         (eieio-class-parents-fast, eieio-class-children-fast)
14994         (same-class-fast-p, class-constructor, generic-p)
14995         (generic-primary-only-p, generic-primary-only-one-p)
14996         (class-option-assoc, class-option, eieio-object-p)
14997         (class-abstract-p, class-method-invocation-order)
14998         (eieio-defclass-autoload-map, eieio-defclass-autoload)
14999         (eieio-class-un-autoload, eieio-defclass)
15000         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
15001         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
15002         (eieio--defgeneric-init-form, eieio-defgeneric-form)
15003         (eieio-defgeneric-reset-generic-form)
15004         (eieio-defgeneric-form-primary-only)
15005         (eieio-defgeneric-reset-generic-form-primary-only)
15006         (eieio-defgeneric-form-primary-only-one)
15007         (eieio-defgeneric-reset-generic-form-primary-only-one)
15008         (eieio-unbind-method-implementations)
15009         (eieio--defmethod, eieio--typep)
15010         (eieio-perform-slot-validation, eieio-validate-slot-value)
15011         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
15012         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
15013         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
15014         (eieio-slot-name-index, eieio-class-slot-name-index)
15015         (eieio-set-defaults, eieio-initarg-to-attribute)
15016         (eieio-attribute-to-initarg, eieio-c3-candidate)
15017         (eieio-c3-merge-lists, eieio-class-precedence-c3)
15018         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
15019         (eieio-class-precedence-list, eieio-generic-call-methodname)
15020         (eieio-generic-call-arglst, eieio-generic-call-key)
15021         (eieio-generic-call-next-method-list)
15022         (eieio-pre-method-execution-functions, eieio-generic-call)
15023         (eieio-generic-call-primary-only, eieiomt-method-list)
15024         (eieiomt-optimizing-obarray, eieiomt-install)
15025         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
15026         (eieio-generic-form, eieio-defmethod, make-obsolete)
15027         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
15028         (defclass): Remove `eval-and-compile' from macro.
15029         (call-next-method, shared-initialize): Instead of using
15030         `scoped-class' variable, use new eieio--scoped-class, and
15031         eieio--with-scoped-class.
15032         (initialize-instance): Rename local variable 'scoped-class' to
15033         'this-class' to remove ambiguitity from old global.
15035         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
15036         eieio.el.
15037         (eieio--scoped-class-stack): New variable.
15038         (eieio--scoped-class): New fcn.
15039         (eieio--with-scoped-class): New scoping macro.
15040         (eieio-defclass): Use pushnew instead of add-to-list.
15041         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
15042         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
15043         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
15044         `scoped-class' variable, use new eieio--scoped-class, and
15045         eieio--with-scoped-class.
15047         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
15049 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
15051         * eshell/esh-ext.el (eshell-external-command): Pass args to
15052         `eshell-find-interpreter'.
15053         (eshell-find-interpreter): Add new second parameter ARGS.
15055         * eshell/em-script.el (eshell-script-initialize): Add second arg
15056         to the function added as MATCH to `eshell-interpreter-alist'.
15058         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
15059         the function added as MATCH to `eshell-interpreter-alist'.
15061         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
15062         (eshell-visual-options): New defcustom.
15063         (eshell-escape-control-x): Adapt docstring.
15064         (eshell-term-initialize): Test `eshell-visual-subcommands' and
15065         `eshell-visual-options' in addition to `eshell-visual-commands'.
15066         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
15068 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15070         * progmodes/python.el (python-indent-block-enders): Add break,
15071         continue and raise keywords.
15073 2013-06-01  Glenn Morris  <rgm@gnu.org>
15075         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
15077         Plain (f)boundp silences compilation warnings since Emacs 22.1.
15078         * progmodes/cc-cmds.el (delete-forward-p):
15079         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
15080         * progmodes/cc-engine.el (buffer-syntactic-context):
15081         * progmodes/cc-fonts.el (face-property-instance):
15082         * progmodes/cc-mode.el (set-keymap-parents):
15083         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
15084         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
15085         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
15086         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
15087         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
15089         * progmodes/cc-vars.el (other): Emacs has this widget since
15090         at least 21.1, so don't (re)define it.
15092         * eshell/em-cmpl.el (eshell-cmpl-initialize):
15093         Replace the obsolete alias pcomplete-arg-quote-list.
15095 2013-06-01  Leo Liu  <sdl.web@gmail.com>
15097         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
15098         punctuation syntax.
15099         (inferior-octave-minimal-columns)
15100         (inferior-octave-last-column-width): New variables.
15101         (inferior-octave-track-window-width-change): New function.
15102         (inferior-octave-mode): Adjust column width so that Octave output,
15103         for example from 'ls', can fit into the window nicely.
15105 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
15107         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
15108         Highlight expansions inside regexp literals.
15110 2013-05-31  Glenn Morris  <rgm@gnu.org>
15112         * obsolete/sym-comp.el (symbol-complete):
15113         Replace obsolete completion-annotate-function.
15115         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
15117 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
15119         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
15120         New function, checks if point is inside a literal that allows
15121         expression expansion.
15122         (ruby-syntax-propertize-expansion): Use it.
15123         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
15124         around the body.
15126 2013-05-30  Juri Linkov  <juri@jurta.org>
15128         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
15129         to "\M-si".
15130         (isearch-invisible): New variable.
15131         (isearch-forward): Doc fix.
15132         (isearch-mode): Set `isearch-invisible'
15133         to the value of `search-invisible'.
15134         (isearch-toggle-case-fold): Doc fix.
15135         (isearch-toggle-invisible): New command.
15136         (isearch-query-replace): Let-bind `search-invisible'
15137         to the value of `isearch-invisible'.
15138         (isearch-search): Use `isearch-invisible' instead of
15139         `search-invisible'.  Let-bind `search-invisible'
15140         to the value of `isearch-invisible'.  (Bug#11378)
15142 2013-05-30  Juri Linkov  <juri@jurta.org>
15144         * replace.el (perform-replace): Avoid `isearch-range-invisible'
15145         call when `query-flag' is nil and `search-invisible' is non-nil.
15146         (Bug#11746)
15148 2013-05-30  Glenn Morris  <rgm@gnu.org>
15150         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
15152         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
15153         (cc-require): Suppress spurious "noruntime" warnings.
15154         (cc-require-when-compile): Use fboundp, for sake of compiler.
15156         * progmodes/cc-mode.el: Move load of cc-vars before that of
15157         cc-langs (which in turn loads cc-vars), to quieten compiler.
15159 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15161         * paren.el: Simplify the code.
15162         (show-paren-mode): Always start the timer.
15163         (show-paren--idle-timer): Rename from show-paren-idle-timer.
15164         (show-paren--overlay, show-paren--overlay-1): Rename from
15165         show-paren-overlay and show-paren-overlay-1, and initialize to an
15166         overlay rather than to nil.
15167         (show-paren-function): Misc cleanup and simplifications.
15169 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15171         * paren.el (show-paren-data-function): New hook.
15172         (show-paren--default): New function, extracted from show-paren-function.
15173         (show-paren-function): Use show-paren-data-function.
15175 2013-05-30  Glenn Morris  <rgm@gnu.org>
15177         * ielm.el (ielm-map, ielm-complete-symbol):
15178         Use completion-at-point rather than obsolete functions.
15179         (inferior-emacs-lisp-mode): Doc fix.
15180         Set completion-at-point-functions, rather than
15181         comint-dynamic-complete-functions.
15183         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
15184         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
15185         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
15187         * image.el (image-animated-p): Tweak definition.
15189         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
15190         (rlogin-process-connection-type): Tweak default.  Add set-after.
15191         (rlogin-host): Doc fix.
15192         (rlogin): Tweak prompt.
15193         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
15195         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
15196         * progmodes/tcl.el (inferior-tcl-mode-map):
15197         Use completion-at-point rather than obsolete alias.
15199         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
15201         * minibuffer.el (read-file-name-completion-ignore-case):
15202         Move before completion--in-region, for eager macro expansion.
15204 2013-05-29  Juri Linkov  <juri@jurta.org>
15206         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
15207         for total count of matching lines.  Add `global-matches' for total
15208         count of matches.  Rename `matches' to `lines' for count of
15209         matching lines.  Add `matches' for count of matches.
15210         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
15211         to `prev-line' for line number of prev match endpt.
15212         Increment `matches' for every match.  Print the number of
15213         matching lines in the header.
15214         (occur-context-lines): Rename `lines' to `curr-line'.
15215         Rename `prev-lines' to `prev-line'.  (Bug#14017)
15217 2013-05-29  Juri Linkov  <juri@jurta.org>
15219         * replace.el (perform-replace): Add `skip-read-only-count',
15220         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
15221         Increment them for corresponding conditions and report the number
15222         of skipped occurrences in the final message.  (Bug#11746)
15223         (query-replace, query-replace-regexp, query-replace-regexp-eval)
15224         (replace-string, replace-regexp): Doc fix.
15226 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15228         * emacs-lisp/trace.el (trace--read-args): Provide a default.
15230         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
15231         prog-mode-map (bug#14504).
15233 2013-05-29  Leo Liu  <sdl.web@gmail.com>
15235         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
15236         (octave-help): Small simplification.
15238         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
15239         off the highlight first.
15241 2013-05-29  Glenn Morris  <rgm@gnu.org>
15243         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
15244         Handle idlwave-last-system-routine-info-cons-cell being nil.
15246         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15247         (idlwave-write-paths): Simplify via with-temp-buffer.
15249         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
15250         * emulation/cua-rect.el: Also load cua-base at run time.
15252         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
15253         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
15254         (cperl-imenu-on-info): Require imenu.
15256 2013-05-28  Alan Mackenzie  <acm@muc.de>
15258         Handle "capitalised keywords" correctly.
15259         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
15261 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
15263         * eshell/em-unix.el: Add -r option to cp.
15265 2013-05-28  Glenn Morris  <rgm@gnu.org>
15267         * vc/vc-arch.el (vc-exec-after): Declare.
15268         (vc-switches): Autoload.
15269         * vc/vc-bzr.el: No need to require vc when compiling.
15270         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
15271         (vc-resynch-buffer, vc-dir-refresh): Declare.
15272         (vc-setup-buffer, vc-switches): Autoload.
15273         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
15274         (vc-resynch-buffer): Declare.
15275         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
15276         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
15277         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
15278         (grep-read-regexp, grep-read-files, grep-expand-template)
15279         (vc-dir-refresh): Declare.
15280         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
15281         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
15282         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
15283         * vc/vc-mtn.el (vc-exec-after): Declare.
15284         (vc-switches): Autoload.
15285         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
15286         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
15287         (vc-file-tree-walk): Declare.
15288         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
15289         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
15290         (vc-tag-precondition, vc-rename-master): Autoload.
15291         * vc/vc-svn.el (vc-exec-after): Declare.
15292         (vc-switches, vc-setup-buffer): Autoload.
15293         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
15294         Autoload.
15295         (vc-resynch-buffer): Declare.
15297         * obsolete/fast-lock.el (byte-compile-warnings):
15298         Don't warn about obsolete features in this obsolete file.
15300         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
15301         Move definition before use.
15303         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
15304         (dun-unix-verbs): Remove dun-zippy.
15305         (dun-zippy): Remove function.
15307         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
15309 2013-05-27  Juri Linkov  <juri@jurta.org>
15311         * replace.el (replace-search): New function with code moved out
15312         from `perform-replace'.
15313         (replace-highlight, replace-dehighlight): Move function definitions
15314         up closer to `replace-search'.  (Bug#11746)
15316 2013-05-27  Juri Linkov  <juri@jurta.org>
15318         * replace.el (perform-replace): Ignore invisible matches.
15319         In addition to checking `query-replace-skip-read-only', also
15320         filter out matches by calling `run-hook-with-args-until-failure'
15321         on `isearch-filter-predicates', and also check `search-invisible'
15322         for t or call `isearch-range-invisible'.
15323         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
15325 2013-05-27  Juri Linkov  <juri@jurta.org>
15327         * isearch.el (isearch-filter-predicates): Rename from
15328         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
15329         (isearch-message-prefix): Display text from the property
15330         `isearch-message-prefix' of the currently active filters.
15331         (isearch-search): Don't compare `isearch-filter-predicate' with
15332         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
15333         on `isearch-filter-predicates'.  Also check `search-invisible' for t
15334         or call `isearch-range-invisible'.
15335         (isearch-filter-visible): Make obsolete.
15336         (isearch-lazy-highlight-search):
15337         Call `run-hook-with-args-until-failure' on
15338         `isearch-filter-predicates' and use `isearch-range-invisible'.
15340         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
15341         `isearch-filter-predicates' instead of `funcall'ing
15342         `isearch-filter-predicate'.
15343         (Info-mode): Set `Info-isearch-filter' to
15344         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
15346         * dired-aux.el (dired-isearch-filter-predicate-orig):
15347         Remove variable.
15348         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
15349         (dired-isearch-filenames-end): Add and remove
15350         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
15351         instead of changing the value of `isearch-filter-predicate'.
15352         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
15353         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
15354         Put property `isearch-message-prefix' to "filename " on
15355         `dired-isearch-filter-filenames'.
15357         * wdired.el (wdired-change-to-wdired-mode):
15358         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
15359         locally instead of changing `isearch-filter-predicate'.
15360         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
15362 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
15364         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
15365         return the commit hash (Bug#14459).  Also set the
15366         `vc-git-detached' property.
15367         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
15368         (vc-git-mode-line-string): Use the same help-echo format whether
15369         in detached mode or not, because we know the actual revision now.
15370         When in detached mode, shorten the revision to 7 chars.
15372 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15374         * emacs-lisp/easy-mmode.el (define-minor-mode):
15375         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
15376         mode hook and provide a docstring.
15378 2013-05-27  Alan Mackenzie  <acm@muc.de>
15380         Remove spurious syntax-table text properties inserted by C-y.
15381         * progmodes/cc-mode.el (c-after-change): Also clear hard
15382         syntax-table property with value nil.
15384 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
15386         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
15387         when reading the events; the buffer layout shall not be changed.
15389 2013-05-27  Leo Liu  <sdl.web@gmail.com>
15391         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
15392         New variable.
15393         (inferior-octave-directory-tracker): Automatically re-sync
15394         default-directory.
15395         (octave-help): Improve handling of 'See also'.
15397 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15399         * doc-view.el: Minor naming convention tweaks.
15400         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
15402         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
15403         even if there's no `display' property yet (bug#14435).
15405 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
15407         * subr.el (unmsys--file-name): Rename from reveal-filename.
15409         * Makefile.in (custom-deps, finder-data, autoloads)
15410         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15411         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15412         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
15414 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15416         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
15417         error-completion on the first 2 args of condition-case (bug#14446).
15418         Don't burp at EOB.
15420 2013-05-25  Leo Liu  <sdl.web@gmail.com>
15422         * comint.el (comint-previous-matching-input): Do not flood the
15423         *Messages* buffer with trivial messages.
15425 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15427         * progmodes/flymake.el (flymake-nop): Don't return a string.
15428         (flymake-set-at): Fix typo.
15430         * simple.el (read--expression): New function, extracted from
15431         eval-expression.  Set completion-at-point-functions (bug#14465).
15432         (eval-expression, eval-minibuffer): Use it.
15434 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
15436         * progmodes/flymake.el (flymake-save-buffer-in-file)
15437         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
15438         (flymake-selected-frame, flymake-log, flymake-ins-after)
15439         (flymake-set-at, flymake-get-buildfile-from-cache)
15440         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
15441         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
15442         Refine the doc string.
15443         (flymake-get-file-name-mode-and-masks): Reformat.
15444         (flymake-get-real-file-name-function): Fix a minor bug.
15446 2013-05-24  Juri Linkov  <juri@jurta.org>
15448         * progmodes/grep.el (grep-mode-font-lock-keywords):
15449         Support =linenumber= format used by git-grep for lines with
15450         function names.  (Bug#13549)
15452 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15454         * progmodes/octave.el (octave-smie-rules): Return nil rather than
15455         0 after a semi-colon; it works better for smie-auto-fill.
15456         (octave--indent-new-comment-line): New function.
15457         (octave-indent-new-comment-line): Use it (indirectly).
15458         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
15459         modify comment-line-break-function.
15461         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
15462         (smie-setup): Use add-function to set it.
15464 2013-05-24  Sam Steingold  <sds@gnu.org>
15466         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
15467         argument (before the `interactive' argument).
15469 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15471         * image-mode.el (image-mode-winprops): Add winprops to
15472         image-mode-winprops-alist before running
15473         image-mode-new-window-functions.
15474         * doc-view.el (doc-view-new-window-function): Don't delay
15475         doc-view-goto-page via timers (bug#14435).
15477 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
15479         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
15480         (doc-view-desktop-save-buffer): New function.
15481         (doc-view-restore-desktop-buffer): New function.
15482         (desktop-buffer-mode-handlers):
15483         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
15484         handler.
15485         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
15486         `desktop-save-buffer' function.
15488 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
15490         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
15491         (tramp-gvfs-file-name-handler): Raise a user error when
15492         `tramp-gvfs-enabled' is nil.
15493         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
15494         Do not raise a user error when loading package.  (Bug#14447)
15496         * net/xesam.el: Move to obsolete/.
15498 2013-05-24  Glenn Morris  <rgm@gnu.org>
15500         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
15502         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
15504         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
15505         (Info-find-node, Man-getpage-in-background): Declare.
15507         * mail/unrmail.el (unrmail):
15508         Replace obsolete detect-coding-with-priority.
15510         * net/socks.el (socks-split-string): Use this rather than split-string.
15511         (socks-nslookup-host): Update for above change.
15512         (dynamic-choice, s5-dynamic-choice-match)
15513         (s5-dynamic-choice-match-inline, s5-widget-value-create):
15514         Comment out unused code.
15516         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
15517         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
15518         (gud-tooltip-echo-area): Make obsolete.
15519         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
15521         * progmodes/js.el (js--optimize-arglist): Declare.
15523         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
15525         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
15526         (ediff-window-C): Declare.
15528         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
15529         Tweak requires to silence compiler.
15531         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
15532         (he-search-string, he-tried-table, he-expand-list)
15533         (he-init-string, he-string-member, he-substitute-string)
15534         (he-reset-string): Declare.
15536         * obsolete/options.el (list-options): Use custom-variable-p,
15537         rather than obsolete alias.
15539 2013-05-23  Sam Steingold  <sds@gnu.org>
15541         * simple.el (shell-command-on-region): Pass the `replace' argument
15542         down to `call-process-region' to comply with the doc as reported on
15543         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
15545 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15547         * emacs-lisp/smie.el (smie-indent-forward-token)
15548         (smie-indent-backward-token): Handle string tokens (bug#14381).
15550 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15552         * ielm.el (ielm-menu): New menu.
15553         (inferior-emacs-lisp-mode): Set comment-start.
15555 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15557         * textmodes/reftex.el (reftex-ref-style-toggle):
15558         Fix deactivate action.
15560         * textmodes/reftex-vars.el (reftex-ref-style-alist):
15561         Add cleveref macros.
15563         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
15564         Accept options for bibliography commands.
15565         * textmodes/reftex-vars.el (reftex-bibliography-commands):
15566         Add addbibresource.  Basic Biblatex support.
15568 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
15570         * net/tramp-gvfs.el (top):
15571         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
15572         when loading package.  (Bug#14447)
15574 2013-05-23  Glenn Morris  <rgm@gnu.org>
15576         * progmodes/js.el: No need to load comint when compiling.
15577         (ring-insert, comint-send-string, comint-send-input)
15578         (comint-last-input-end, ido-chop): Declare.
15580         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
15581         * vc/ediff-mult.el: Adjust requires.
15582         (ediff-directories-internal, ediff-directory-revisions-internal)
15583         (ediff-patch-file-internal): Declare.
15584         * vc/ediff-ptch.el: Adjust requires.
15585         (ediff-use-last-dir, ediff-buffers-internal): Declare.
15586         (ediff-find-file): Autoload.
15587         * vc/ediff-util.el: No need to load ediff when compiling.
15588         (ediff-regions-internal): Declare.
15589         * vc/ediff-wind.el: Adjust requires.
15590         (ediff-compute-toolbar-width): Define when compiling.
15591         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
15592         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
15593         (dired-get-filename, dired-get-marked-files)
15594         (ediff-last-dir-patch, ediff-patch-default-directory)
15595         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
15596         (ediff-patch-buffer-internal): Declare.
15598         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
15599         (ispell-process, ispell-buffer-local-words, lm-summary)
15600         (lm-section-start, lm-section-end): Declare.
15601         (checkdoc-ispell-init): Simplify.
15603         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
15604         (he-string-member, he-reset-string, he-substitute-string): Declare.
15606         * eshell/em-ls.el: Adjust requires.
15607         (eshell-glob-regexp): Declare.
15608         * eshell/em-tramp.el: Adjust requires.
15609         (eshell-parse-command): Autoload.
15610         * eshell/em-xtra.el: Adjust requires.
15611         (eshell-parse-command): Autoload.
15612         * eshell/esh-ext.el: Adjust requires.
15613         (eshell-parse-command, eshell-close-handles): Autoload.
15614         * eshell/esh-io.el: Adjust requires.
15615         (eshell-output-filter): Autoload.
15616         * eshell/esh-util.el: No need to load tramp when compiling.
15617         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
15618         Declare.
15619         (eshell-parse-ange-ls): Require ange-ftp and tramp.
15620         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
15621         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
15622         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
15623         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
15624         * eshell/esh-opt.el, eshell/esh-proc.el:
15625         * eshell/esh-var.el: Adjust requires.
15626         * eshell/eshell.el: Do not require esh-util twice.
15627         (eshell-add-input-to-history): Declare.
15628         (eshell-command): Check history module is active before using it.
15630         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
15632 2013-05-22  Leo Liu  <sdl.web@gmail.com>
15634         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
15636 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
15638         * autorevert.el (auto-revert-notify-add-watch)
15639         (auto-revert-notify-handler): Add `attrib' for the inotify case,
15640         it indicates changes in file modification time.
15642 2013-05-22  Glenn Morris  <rgm@gnu.org>
15644         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
15645         Always delete the autoloaded function from the noruntime and
15646         unresolved functions lists.
15648         * allout.el: No need to load epa, epg, overlay when compiling.
15649         (epg-context-set-passphrase-callback, epg-list-keys)
15650         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
15651         (epg-key-user-id-list): Declare.
15653         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15654         (viper-set-parsing-style-toggling-macro)
15655         (viper-set-emacs-state-searchstyle-macros):
15656         Use called-interactively-p on Emacs.
15657         (viper-looking-back): Make it an obsolete alias.  Update callers.
15658         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
15659         Use looking-back rather than viper-looking-back.
15660         (viper-tmp-insert-at-eob, viper-enlarge-region)
15661         (viper-read-string-with-history, viper-register-to-point)
15662         (viper-append-to-register, viper-change-state-to-vi)
15663         (viper-backward-char-carefully, viper-forward-char-carefully)
15664         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
15665         (viper-change-state-to-emacs): Declare.
15666         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
15667         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
15668         * emulation/viper-mous.el: Do not load viper-cmd.
15669         (viper-backward-char-carefully, viper-forward-char-carefully)
15670         (viper-forward-word, viper-adjust-window): Declare.
15672         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
15674         * progmodes/idlw-help.el (idlwave-help-fontify):
15675         Use called-interactively-p.
15677         * term/w32console.el (w32-get-console-codepage)
15678         (w32-get-console-output-codepage): Declare.
15680         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
15681         Remove unnecessary declarations.
15682         (dframe-message): Doc fix.
15684         * info.el (dframe-select-attached-frame, dframe-current-frame):
15685         Declare.
15687         * speedbar.el (speedbar-message): Make it an obsolete alias.
15688         Update all callers.
15689         (speedbar-with-attached-buffer)
15690         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
15691         (speedbar-with-writable): Use backquote.
15692         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
15693         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
15694         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
15695         rather than speedbar- aliases.
15696         * mail/rmail.el: Load dframe rather than speedbar when compiling.
15697         (speedbar-make-specialized-keymap, speedbar-insert-button)
15698         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
15699         (speedbar-do-function-pointer): Declare.
15700         (rmail-speedbar-button, rmail-speedbar-find-file)
15701         (rmail-speedbar-move-message):
15702         Use dframe-with-attached-buffer rather than speedbar- alias.
15703         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
15704         (dframe-message, speedbar-make-specialized-keymap)
15705         (speedbar-add-expansion-list, speedbar-mode-functions-list)
15706         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
15707         (speedbar-insert-button, dframe-select-attached-frame)
15708         (dframe-maybee-jump-to-attached-frame)
15709         (speedbar-change-initial-expansion-list)
15710         (speedbar-previously-used-expansion-list-name): Declare.
15711         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
15712         Use dframe-message, dframe-with-attached-buffer rather than
15713         speedbar- aliases.
15714         (gud-sentinel): Silence compiler.
15715         * progmodes/vhdl-mode.el (speedbar-refresh)
15716         (speedbar-do-function-pointer, speedbar-add-supported-extension)
15717         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
15718         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
15719         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
15720         (speedbar-file-lists, speedbar-make-tag-line)
15721         (speedbar-line-directory, speedbar-goto-this-file)
15722         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
15723         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
15724         (speedbar-make-button, speedbar-reset-scanners)
15725         (speedbar-files-item-info, speedbar-line-text)
15726         (speedbar-find-file-in-frame, speedbar-set-timer)
15727         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
15728         (speedbar-with-writable): Do not (re)define it.
15729         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
15730         rather than speedbar- alias.
15732 2013-05-21  Leo Liu  <sdl.web@gmail.com>
15734         * progmodes/octave.el (octave-mode-menu): Update and re-organize
15735         menu items.
15736         (octave-mode): Tweak fill-nobreak-predicate.
15737         (inferior-octave-startup): Check process to avoid infinite loop.
15738         (inferior-octave): Pop to buffer first to show abornmal process
15739         exit information.
15741 2013-05-21  Glenn Morris  <rgm@gnu.org>
15743         * printing.el (pr-menu-bar): Define when compiling.
15745 2013-05-21  Leo Liu  <sdl.web@gmail.com>
15747         * progmodes/octave.el (octave-auto-fill): Remove.
15748         (octave-indent-new-comment-line): Improve.
15749         (octave-mode): Use auto fill mode through
15750         comment-line-break-function and fill-nobreak-predicate.
15751         (octave-goto-function-definition): Support DEFUN_DLD.
15752         (octave-beginning-of-defun): Small tweak.
15753         (octave-help): Show parent directory.
15755 2013-05-21  Glenn Morris  <rgm@gnu.org>
15757         * files.el (dired-unmark):
15758         * progmodes/gud.el (gdb-input): Update declarations.
15760         * calculator.el (electric, ehelp): No need to load when compiling.
15761         (Electric-command-loop, electric-describe-mode): Declare.
15763         * doc-view.el (doc-view-current-converter-processes): Move before use.
15765         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15766         Move MODE-set-explicitly definition before use.
15768         * international/mule-diag.el (mule-diag):
15769         Don't use obsolete window-system-version.
15771         * mail/feedmail.el (smtpmail): No need to load when compiling.
15772         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
15774         * mail/mail-utils.el (rfc822): No need to load when compiling.
15775         (rfc822-addresses): Autoload it.
15776         (mail-strip-quoted-names): Trivial simplification.
15778         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
15779         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
15781         * net/snmp-mode.el (tempo): Don't duplicate requires.
15783         * progmodes/prolog.el (info): No need to load when compiling.
15784         (comint): Require before shell requires it.
15785         (Info-goto-node): Autoload it.
15786         (Info-follow-nearest-node): Declare.
15787         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
15789         * textmodes/artist.el (picture-mode-exit): Declare.
15791         * textmodes/reftex-parse.el (reftex-parse-from-file):
15792         Trivial rewrite so the compiler can parse it better.
15794 2013-05-20  Leo Liu  <sdl.web@gmail.com>
15796         * progmodes/octave.el (octave-help-mode-map)
15797         (octave-help-mode-finish-hook): New variables.
15798         (octave-help-mode, octave-help-mode-finish): New functions.
15799         (octave-help): Use octave-help-mode.
15801 2013-05-20  Glenn Morris  <rgm@gnu.org>
15803         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
15805 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
15807         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
15808         start at point, so that expansion starting right after opening
15809         slash in a regexp is recognized.
15810         (ruby-syntax-before-regexp-re): New defvar, extracted from
15811         ruby-syntax-propertize-function.  Since the value of this regexp
15812         is looked up at runtime now, we should be able to turn
15813         `ruby-syntax-methods-before-regexp' into a defcustom later.
15814         (ruby-syntax-propertize-function): Split regexp matching into two
15815         parts, for opening and closing slashes.  That allows us to skip
15816         over string interpolations and support multiline regexps.
15817         Don't call `ruby-syntax-propertize-expansions', instead use another rule
15818         for them, which calls `ruby-syntax-propertize-expansion'.
15819         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
15820         call to `ruby-syntax-propertize-function'.
15821         (ruby-syntax-propertize-expansion): Extracted from
15822         `ruby-syntax-propertize-expansions'.  Handles one expansion.
15823         (ruby-syntax-propertize-percent-literal): Leave point right after
15824         the percent symbol, so that the expression expansion rule can
15825         propertize the contents.
15826         (ruby-syntax-propertize-heredoc): Leave point at bol following the
15827         heredoc openers.
15828         (ruby-syntax-propertize-expansions): Remove.
15830 2013-05-18  Juri Linkov  <juri@jurta.org>
15832         * man.el (Man-default-man-entry): Remove `-' from the end
15833         of the default value.  (Bug#14400)
15835 2013-05-18  Glenn Morris  <rgm@gnu.org>
15837         * comint.el (comint-password-prompt-regexp):
15838         Allow "password for XXX" where XXX contains colons (eg https://...).
15840 2013-05-18  Leo Liu  <sdl.web@gmail.com>
15842         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
15843         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
15844         (octave-source-directories): Don't check process.
15845         (octave-source-directories, octave-find-definition): Doc fix.
15847 2013-05-18  Glenn Morris  <rgm@gnu.org>
15849         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
15850         Remove backspace/delete bindings.  (Bug#14392)
15852         * cus-dep.el (custom-make-dependencies): Sort the output.
15853         (custom-versions-load-alist): Convert comment to doc.
15855 2013-05-17  Leo Liu  <sdl.web@gmail.com>
15857         * newcomment.el (comment-search-backward): Stricter in finding
15858         comment start.  (Bug#14303)
15860         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
15861         (octave-comment-start-skip): Properly anchored.
15863 2013-05-17  Leo Liu  <sdl.web@gmail.com>
15865         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
15866         Clean up when turned off.  (Bug#14395)
15867         (smie--highlight-matching-block-overlay): No longer buffer-local.
15868         (smie-highlight-matching-block): Adjust.
15870 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
15872         Doc string fix for "nanoseconds" (Bug#14406).
15873         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
15874         Fix doc string typo that had "nanoseconds" instead of "microseconds".
15876 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
15878         * calc/calc-units.el (math-extract-units): Preserve powers
15879         of units.
15881 2013-05-17  Leo Liu  <sdl.web@gmail.com>
15883         * subr.el (delete-consecutive-dups): New function.
15884         * ido.el (ido-set-matches-1): Use it.
15885         * progmodes/octave.el (inferior-octave-completion-table): Use it.
15886         * ido.el (ido-remove-consecutive-dups): Remove.
15888 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15890         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15891         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
15892         regexp-opt's `words'.
15894 2013-05-16  Leo Liu  <sdl.web@gmail.com>
15896         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
15897         (smie--highlight-matching-block-overlay)
15898         (smie--highlight-matching-block-lastpos)
15899         (smie--highlight-matching-block-timer): New variables.
15900         (smie-highlight-matching-block): New function.
15901         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
15902         (smie-setup): Conditionally enable smie-blink-matching-open.
15904 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
15906         Sync with upstream verilog-mode r840.
15907         * progmodes/verilog-mode.el (verilog-mode-version)
15908         (verilog-mode-release-date): Update.
15909         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
15910         (verilog-sig-tieoff): Fix string error on
15911         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
15912         (verilog-read-decls): Fix parameters confusing
15913         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
15915 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
15917         * subr.el (reveal-filename): New function.
15919         * loadup.el: Compute Emacs executable versions on MS-Windows,
15920         where executables have the .exe extension.  Add a hard link
15921         emacs-XX.YY.ZZ.exe on MS-Windows.
15923         * Makefile.in (XARGS_LIMIT): New variable.
15924         (custom-deps, finder-data, autoloads)
15925         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15926         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15927         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
15928         (compile-main): Limit xargs according to $(XARGS_LIMIT).
15930 2013-05-16  Leo Liu  <sdl.web@gmail.com>
15932         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
15933         (octave-mode-menu, octave-mode-map): Remove its uses.
15935 2013-05-16  Reto Zimmermann  <reto@gnu.org>
15937         Sync with upstream vhdl mode v3.34.2.
15938         * progmodes/vhdl-mode.el: Use `push' throughout.
15939         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15940         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15941         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
15942         (vhdl-actual-generic-name): New option to derive actual generic name.
15943         (vhdl-port-paste-signals): Replace formal by actual generics.
15944         (vhdl-beautify): New name for old group vhdl-align.  Update users.
15945         (vhdl-beautify-options): New option.
15946         (vhdl-last-input-event): New compat alias.  Use throughout.
15947         (vhdl-goto-line): Replace user level function `goto-line'.
15948         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15949         vhdl-fix-statement-buffer.
15950         (vhdl-create-mode-menu): Add some entries.
15951         (vhdl-align-region-groups): Respect vhdl-beautify-options.
15952         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15953         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15954         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15955         to force statements on one line.
15956         (vhdl-remove-trailing-spaces-region):
15957         New, split from vhdl-remove-trailing-spaces.
15958         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15959         Respect vhdl-beautify-options.
15960         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15961         (vhdl-update-sensitivity-list): Not add with index if exists without.
15962         Not include array index with signal.  Ignore keywords in comments.
15963         (vhdl-get-visible-signals): Regexp tweaks.
15964         (vhdl-template-component-inst): Handle empty library.
15965         (vhdl-template-type): Add template for 'enum' type.
15966         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15967         Use vhdl-replace-string.
15968         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15969         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15970         (vhdl-speedbar-initialize): Update for above name change.
15971         (vhdl-compose-wire-components): Fix in handling of constants.
15972         (vhdl-error-regexp-emacs-alist): New variable.
15973         (vhdl-error-regexp-add-emacs): New function;
15974         adds support for new compile.el (Emacs 22+)
15975         (vhdl-generate-makefile-1): Change target order for single lib. units.
15976         Allow use of absolute file names.
15978 2013-05-16  Leo Liu  <sdl.web@gmail.com>
15980         * simple.el (prog-indent-sexp): Indent enclosing defun.
15982 2013-05-15  Glenn Morris  <rgm@gnu.org>
15984         * cus-start.el (show-trailing-whitespace): Move to editing basics.
15985         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15986         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15987         (whitespace-highlight): Move to whitespace group.
15989         * comint.el (comint-source):
15990         * pcmpl-linux.el (pcmpl-linux):
15991         * shell.el (shell-faces):
15992         * eshell/esh-opt.el (eshell-opt):
15993         * international/ccl.el (ccl): Remove empty custom groups.
15995         * completion.el (dynamic-completion-mode):
15996         * jit-lock.el (jit-lock-debug-mode):
15997         * minibuffer.el (completion-in-region-mode):
15998         * type-break.el (type-break-mode-line-message-mode)
15999         (type-break-query-mode):
16000         * emulation/tpu-edt.el (tpu-edt-mode):
16001         * progmodes/subword.el (global-subword-mode, global-superword-mode):
16002         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16003         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
16005         * term/xterm.el (xterm): Change parent group to terminals.
16007         * master.el (master): Remove empty custom group.
16008         (master-mode): Remove unused :group argument.
16009         * textmodes/refill.el (refill): Remove empty custom group.
16010         (refill-mode): Remove unused :group argument.
16012         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
16014         * cus-dep.el: Provide a feature.
16015         (custom-make-dependencies): Ignore dotfiles (dir-locals).
16016         Don't mistakenly ignore files whose basenames match a basename
16017         from preloaded-file-list (eg cedet/ede/simple.el).
16018         Add a fallback method for getting :group.
16020 2013-05-15  Juri Linkov  <juri@jurta.org>
16022         * isearch.el (isearch-char-by-name): Rename from
16023         `isearch-insert-char-by-name'.  Doc fix.
16024         (isearch-forward): Mention `isearch-char-by-name' in
16025         the docstring.  (Bug#13348)
16027         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
16028         `exit-minibuffer' instead of
16029         `isearch-nonincremental-exit-minibuffer'.
16030         (isearch-edit-string): Remove mention of
16031         `isearch-nonincremental-exit-minibuffer' from docstring.
16032         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
16033         (isearch-forward-exit-minibuffer)
16034         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
16036 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16038         * loadup.el: Just use unversioned DOC.
16040         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
16041         literals as extending to EOB.
16042         (nxml-last-fontify-end): Remove unused variable.
16043         (nxml-after-change1): Use with-silent-modifications.
16044         (nxml-extend-after-change-region): Simplify.
16045         (nxml-extend-after-change-region1): Remove function.
16046         (nxml-after-change1): Don't adjust for dependent regions.
16047         (nxml-fontify-matcher): Simplify.
16048         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
16049         (xmltok-add-dependent): Remove function.
16050         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
16051         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
16052         (xmltok-scan-prolog-after-processing-instruction-open): Treat
16053         unclosed <[[, <?, comment, and other literals as extending to EOB.
16054         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
16055         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
16056         Remove functions.
16057         (rng-do-some-validation-1): Don't mark dependent regions.
16058         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
16059         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
16060         (nxml-clear-dependent-regions): Remove functions.
16061         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
16062         (nxml-ensure-scan-up-to-date):
16063         Don't clear&mark dependent regions.
16065 2013-05-15  Leo Liu  <sdl.web@gmail.com>
16067         * progmodes/octave.el (octave-goto-function-definition):
16068         Improve and fix callers.
16070 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16072         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
16073         the setter (bug#14387).
16075         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
16076         surrounding group (bug#14402).
16078 2013-05-14  Juri Linkov  <juri@jurta.org>
16080         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
16081         (Bug#14390)
16083 2013-05-14  Glenn Morris  <rgm@gnu.org>
16085         * progmodes/f90.el (f90-imenu-generic-expression):
16086         Fix typo in 2013-05-08 change.  (Bug#14402)
16088 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
16090         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
16091         Remove signals for which replies are never received.
16093 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
16095         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
16096         (gdb-handler-alist, gdb-handler-number): Remove variables.
16097         (gdb-handler-list): New variable.
16098         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
16099         (gdb-pending-handler-p, gdb-handle-reply)
16100         (gdb-remove-all-pending-triggers): New functions.
16101         (gdb-discard-unordered-replies): New defcustom.
16102         (gdb-handler): New defstruct.
16103         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
16104         instead of gdb-pending-triggers.  Update docstring.
16105         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
16106         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
16107         (gdb-var-update-handler, def-gdb-auto-update-trigger)
16108         (def-gdb-auto-update-handler, gdb-get-changed-registers)
16109         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
16110         (gdb-frame-handler): Pending triggers are now automatically managed.
16111         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
16112         Remove argument.
16113         (gdb-input): Automatically handles pending triggers.  Update docstring.
16114         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
16115         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
16116         Update comments.
16117         (gdb-done-or-error): Now use gdb-handle-reply.
16119 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
16121         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
16122         gdb-debug-log.
16124 2013-05-14  Glenn Morris  <rgm@gnu.org>
16126         * subr.el (user-emacs-directory-warning): New option.
16127         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
16129 2013-05-14  Leo Liu  <sdl.web@gmail.com>
16131         * progmodes/octave.el (octave-font-lock-keywords): Fix error
16132         during redisplay.
16133         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
16134         (octave-font-lock-texinfo-comment): Fix invalid search bound
16135         error: wrong side of point.
16137 2013-05-14  Glenn Morris  <rgm@gnu.org>
16139         * progmodes/flymake.el (flymake-xml-program): New option.
16140         (flymake-xml-init): Use it.
16142         * term/xterm.el: Provide a feature.
16144         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
16146 2013-05-13  Glenn Morris  <rgm@gnu.org>
16148         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
16149         Add compat aliases as a hack workaround.  (Bug#14384)
16151 2013-05-13  Leo Liu  <sdl.web@gmail.com>
16153         * progmodes/octave.el (octave-indent-comment): Fix indentation for
16154         ###, and %!.
16155         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
16156         C-M-q.
16157         (octave-comment-start-skip): Include %!.
16158         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
16160 2013-05-12  Leo Liu  <sdl.web@gmail.com>
16162         * progmodes/octave.el (inferior-octave-startup): Store the value
16163         of __octave_srcdir__ for octave-source-directories.
16164         (inferior-octave-check-process): New function refactored out of
16165         inferior-octave-send-list-and-digest.
16166         (octave-source-directories)
16167         (octave-find-definition-filename-function): New variables.
16168         (octave-source-directories)
16169         (octave-find-definition-default-filename): New functions.
16170         (octave-find-definition): Improve to find functions implemented in C++.
16172 2013-05-12  Glenn Morris  <rgm@gnu.org>
16174         * calendar/diary-lib.el (diary-outlook-format-1):
16175         Don't include dayname in the output.  (Bug#14349)
16177 2013-05-11  Glenn Morris  <rgm@gnu.org>
16179         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
16181         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
16182         Treat cc-provide like provide.
16184 2013-05-11  Kevin Ryde  <user42@zip.com.au>
16186         * cus-dep.el (custom-make-dependencies):
16187         Use generated-autoload-load-name for the sake of files such
16188         such cedet/semantic/bovine/c.el, where the base file name
16189         is not in load-path.  (Bug#5277)
16191 2013-05-11  Glenn Morris  <rgm@gnu.org>
16193         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
16194         Provide features.
16196 2013-05-11  Leo Liu  <sdl.web@gmail.com>
16198         * progmodes/octave.el (octave-indent-comment): Improve.
16199         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
16200         (octave-eldoc-function-signatures, octave-eldoc-function):
16201         New functions.
16202         (octave-mode, inferior-octave-mode): Add eldoc support.
16204 2013-05-11  Richard Stallman  <rms@gnu.org>
16206         * epa.el (epa-decrypt-file): Take output file name as argument
16207         and read it using `interactive'.
16209 2013-05-11  Leo Liu  <sdl.web@gmail.com>
16211         * progmodes/octave.el (octave-beginning-of-line)
16212         (octave-end-of-line): Check before using up-list because it jumps
16213         out of more syntactic contructs since moving to smie.
16214         (octave-indent-comment): New function.
16215         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
16216         (octave-begin-keywords, octave-end-keywords)
16217         (octave-reserved-words, octave-smie-bnf-table)
16218         (octave-smie-rules): Add new keywords from Octave 3.6.4.
16220 2013-05-11  Glenn Morris  <rgm@gnu.org>
16222         * faces.el (internal-face-x-get-resource):
16223         * frame.el (ns-display-monitor-attributes-list):
16224         * calc/calc-aent.el (math-to-radians-2):
16225         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
16226         Fix declarations.
16228         * calc/calc-menu.el: Make it loadable in isolation.
16230         * net/eudcb-bbdb.el: Make it loadable without bbdb.
16231         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
16232         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
16233         (eudc-bbdb-query-internal): Require 'bbdb.
16235         * lpr.el (lpr-headers-switches):
16236         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
16238         * progmodes/sql.el (sql-login-params): Fix and improve :type.
16240         * emulation/edt-mapper.el: In batch mode, error rather than hang.
16242         * term.el (term-set-escape-char): Make it idempotent.
16244 2013-05-10  Leo Liu  <sdl.web@gmail.com>
16246         * progmodes/octave.el (inferior-octave-completion-table):
16247         No longer a function and all uses changed.  Use cache to speed up
16248         completion due to bug#11906.
16249         (octave-beginning-of-defun): Re-write to be more general.
16251 2013-05-10  Glenn Morris  <rgm@gnu.org>
16253         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
16255 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
16257         * comint.el (comint-redirect-send-command-to-process): Use :around
16258         rather than :override for comint-redirect-filter.
16259         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
16260         Call it instead of comint-redirect-original-filter-function (which
16261         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
16263 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
16265         * frame.el (display-monitor-attributes-list): Add NS case.
16266         (ns-display-monitor-attributes-list): Declare.
16268 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
16270         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
16272 2013-05-09  Glenn Morris  <rgm@gnu.org>
16274         * international/fontset.el (vertical-centering-font-regexp):
16275         Set standard-value.
16277         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
16279         * bookmark.el (bookmark-search-delay):
16280         * cus-start.el (vertical-centering-font-regexp):
16281         * ps-mule.el (ps-mule-font-info-database-default):
16282         * ps-print.el (ps-default-fg, ps-default-bg):
16283         * type-break.el (type-break-good-break-interval):
16284         * whitespace.el (whitespace-indentation-regexp)
16285         (whitespace-space-after-tab-regexp):
16286         * emacs-lisp/testcover.el (testcover-1value-functions)
16287         (testcover-noreturn-functions, testcover-progn-functions)
16288         (testcover-prog1-functions):
16289         * emulation/viper-init.el (viper-emacs-state-cursor-color):
16290         * eshell/em-glob.el (eshell-glob-translate-alist):
16291         * play/tetris.el (tetris-tty-colors):
16292         * progmodes/cpp.el (cpp-face-default-list):
16293         * progmodes/flymake.el (flymake-allowed-file-name-masks):
16294         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
16295         (idlwave-help-browser-generic-args):
16296         * progmodes/make-mode.el (makefile-special-targets-list):
16297         * progmodes/python.el (python-shell-virtualenv-path):
16298         * progmodes/verilog-mode.el (verilog-active-low-regexp)
16299         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
16300         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
16301         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
16302         * textmodes/reftex-vars.el (reftex-format-label-function):
16303         * textmodes/remember.el (remember-diary-file): Fix custom types.
16305         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
16306         Add :version.
16308 2013-05-09  Leo Liu  <sdl.web@gmail.com>
16310         * progmodes/octave.el (inferior-octave-completion-at-point):
16311         Restore file completion.  (Bug#14300)
16312         (inferior-octave-startup): Fix incorrect highlighting for the
16313         first prompt.
16315 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16317         * progmodes/ruby-mode.el: First cut at SMIE support.
16318         (ruby-use-smie): New var.
16319         (ruby-smie-grammar): New constant.
16320         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
16321         (ruby-smie--forward-token, ruby-smie--backward-token)
16322         (ruby-smie-rules): New functions.
16323         (ruby-mode-variables): Setup SMIE if applicable.
16325 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
16327         * simple.el (line-move-visual): Signal beginning/end of buffer
16328         only if vertical-motion moved less than it was requested.  Avoids
16329         silly incorrect error messages when there are display strings with
16330         multiple newlines at EOL.
16332 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16334         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
16335         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
16336         (prolog-char-quote-workaround):
16337         * progmodes/cperl-mode.el (cperl-under-as-char):
16338         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
16339         Mark as obsolete.
16340         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
16341         their declaration.
16342         (vhdl-mode-syntax-table-init): Remove.
16344         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
16345         last change.
16347         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
16348         syntax for "_".
16349         (ld-script-font-lock-keywords):
16350         Change regexps to use things like \_< and \_>.
16352         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
16353         Change all regexps to use things like \_< and \_>.
16355         * progmodes/autoconf.el (autoconf-definition-regexp)
16356         (autoconf-font-lock-keywords, autoconf-current-defun-function):
16357         Handle a _ with symbol syntax.
16358         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
16360         * progmodes/ada-mode.el (ada-mode-abbrev-table):
16361         Consolidate declaration.
16362         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
16363         the declaration.
16364         (ada-create-syntax-table): Remove.
16365         (ada-capitalize-word): Don't mess with the syntax of "_" since it
16366         already has the right syntax nowadays.
16367         (ada-goto-next-word): Don't change the syntax of "_".
16369         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
16370         with-wrapper-hook.
16372 2013-05-08  Sam Steingold  <sds@gnu.org>
16374         * thingatpt.el (thing-at-point): Accept optional second argument
16375         NO-PROPERTIES to strip the text properties from the return value.
16376         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
16377         to `thing-at-point' instead of stripping the properties ourselves.
16378         Also, when `thing-at-point' fails to find a url, prepend "http://"
16379         to the filename at point on the assumption that the user is
16380         pointing at something like gnu.org/gnu.
16382 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
16384         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16385         * faces.el (crm-separator):
16386         Silence byte-compiler.
16388         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
16389         (tool-bar-map): Remove unneeded defvars.
16391 2013-05-08  Leo Liu  <sdl.web@gmail.com>
16393         Re-work a fix for bug#10994 based on Le Wang's patch.
16394         * ido.el (ido-remove-consecutive-dups): New helper.
16395         (ido-completing-read): Use it.
16396         (ido-chop): Revert fix for bug#10994.
16398 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
16400         * cus-edit.el (custom-save-variables):
16401         Pretty-print long values.  (Bug#14187)
16403 2013-05-08  Glenn Morris  <rgm@gnu.org>
16405         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
16406         (m4-mode-syntax-table): Init in the defvar.
16407         (m4-mode-abbrev-table): Let define-derived-mode define it.
16409 2013-05-08  Tom Tromey  <tromey@redhat.com>
16411         * progmodes/m4-mode.el (m4-mode-syntax-table):
16412         Do not treat "_" as word constituent.  (Bug#14167)
16414 2013-05-07  Glenn Morris  <rgm@gnu.org>
16416         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
16417         Remove explicit eshell-isearch-cancel-map.
16419         * progmodes/f90.el (f90-smart-end-names): New option.
16420         (f90-smart-end): Doc fix.
16421         (f90-end-block-optional-name): New constant.
16422         (f90-block-match): Respect f90-smart-end-names.
16424 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16426         * progmodes/octave.el (octave-smie-forward-token): Be more careful
16427         about implicit semi-colons (bug#14218).
16429 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
16431         * frame.el (display-monitor-attributes-list)
16432         (frame-monitor-attributes): New functions.
16434 2013-05-06  Leo Liu  <sdl.web@gmail.com>
16436         * progmodes/octave.el (octave-syntax-propertize-function): Change
16437         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
16438         (octave-font-lock-keywords): Use octave-operator-regexp.
16439         (octave-completion-at-point): Rename from
16440         octave-completion-at-point-function.
16441         (inferior-octave-directory-tracker): Robustify.
16442         (octave-text-functions): Remove and fix its uses.  No such things
16443         any more.
16445 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16447         * emacs-lisp/trace.el (trace--display-buffer): New function.
16448         (trace-make-advice): Use it.
16450 2013-05-06  Juri Linkov  <juri@jurta.org>
16452         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
16453         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
16454         Doc fix.
16455         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
16456         in the help string.  (Bug#12985)
16458 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
16460         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
16462 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16464         * progmodes/perl-mode.el: Add support for here documents.
16465         (perl-syntax-propertize-function): Match here-doc markers.
16466         (perl-syntax-propertize-special-constructs): Find their end.
16467         (perl-imenu-generic-expression): Use [:alnum:].
16469         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
16470         (advice--add-function): Refresh the advice if already present
16471         (bug#14317).
16473 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
16475         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
16477 2013-05-06  Glenn Morris  <rgm@gnu.org>
16479         * w32-fns.el (w32-charset-info-alist): Declare.
16481         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
16482         of its defcustom properties.
16483         (eshell-cmpl-initialize): No need to load pcomplete.
16485         * generic-x.el: No need to require comint when compiling.
16487         * net/eudc-export.el: Make it loadable without bbdb.
16488         (top-level): Use require rather than load-library.
16489         (eudc-create-bbdb-record, eudc-bbdbify-phone)
16490         (eudc-batch-export-records-to-bbdb)
16491         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
16492         Require bbdb.
16494 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16496         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
16497         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
16498         some tweaks, instead.
16500 2013-05-05  Leo Liu  <sdl.web@gmail.com>
16502         * progmodes/octave.el (octave-font-lock-keywords)
16503         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
16504         (inferior-octave-send-list-and-digest): Improve error message.
16505         (octave-mode, inferior-octave-mode): Use setq-local.
16506         (octave-help): Set info-lookup-mode.
16508 2013-05-05  Richard Stallman  <rms@gnu.org>
16510         * vc/compare-w.el (compare-windows-whitespace):
16511         Treat no-break space as whitespace.
16513         * mail/rmailsum.el (rmail-summary-rmail-update):
16514         Detect empty summary and don't change selected message.
16515         (rmail-summary-goto-msg): Likewise.
16517         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
16518         Doc fixes, rename args.
16520 2013-05-05  Alan Mackenzie  <acm@muc.de>
16522         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
16524 2013-05-05  Juri Linkov  <juri@jurta.org>
16526         * info.el (Info-read-subfile): Use (point-min) instead of (point)
16527         to not add the length of the summary segment to the return value.
16528         (Bug#14125)
16530 2013-05-05  Leo Liu  <sdl.web@gmail.com>
16532         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
16533         (inferior-octave-output-filter): Remove.
16534         (octave-send-region, inferior-octave-startup): Fix callers.
16535         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
16536         (octave-binary-file-extensions): New user variable.
16537         (octave-find-definition): Confirm if opening binary files.
16538         (octave-help-file): Use octave-find-definition to get the binary
16539         confirmation.
16540         (octave-help): Adjust for octave-help-file change.
16542 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16544         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
16545         Merge the two entries that handle function definitions.
16546         (pascal--syntax-propertize): New const.
16547         (pascal-mode): Use it.  Use setq-local.
16549 2013-05-04  Glenn Morris  <rgm@gnu.org>
16551         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
16552         (diary-from-outlook): Respect diary-from-outlook-function.
16554 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16556         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
16557         Move the declaration from C.
16558         (read-minibuffer, eval-minibuffer): Move from C.
16559         (completion-setup-function): Avoid minibuffer-completion-contents.
16561 2013-05-03  Leo Liu  <sdl.web@gmail.com>
16563         * progmodes/octave.el (octave-font-lock-keywords): Do not
16564         dehighlight 'end' in comments or strings.
16565         (octave-completing-read, octave-goto-function-definition):
16566         New helpers.
16567         (octave-help-buffer): New user variable.
16568         (octave-help-file, octave-help-function): New button types.
16569         (octave-help): New command and bind it to C-h ;.
16570         (octave-find-definition): New command and bind it to M-.
16571         (user-error): Alias to error if not defined.
16573 2013-05-02  Leo Liu  <sdl.web@gmail.com>
16575         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
16576         for \.  (bug#14332)
16577         (octave-font-lock-keywords): Include [ and {.
16579 2013-05-02  Leo Liu  <sdl.web@gmail.com>
16581         * progmodes/octave.el (inferior-octave-startup-file): Change default.
16582         (inferior-octave): Remove calling comint-mode and return the buffer.
16583         (inferior-octave-startup): Cosmetic changes.
16585 2013-05-02  Leo Liu  <sdl.web@gmail.com>
16587         * progmodes/octave.el (octave-syntax-propertize-function):
16588         Include the case when ' is at line beginning.  (Bug#14336)
16590 2013-05-02  Glenn Morris  <rgm@gnu.org>
16592         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
16593         * desktop.el (vc-dir-mode): Just autoload it here.
16595 2013-05-02  Alan Mackenzie  <acm@muc.de>
16597         Eliminate variable c-standard-font-lock-fontify-region-function.
16598         * progmodes/cc-mode.el
16599         (c-standard-font-lock-fontify-region-function): Remove.
16600         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
16602 2013-05-01  Leo Liu  <sdl.web@gmail.com>
16604         * progmodes/octave.el: Compatible with older emacs-24 releases.
16605         (inferior-octave-has-built-in-variables): Remove.  Built-in
16606         variables were removed from Octave in 2007.
16607         (inferior-octave-startup): Fix uses.
16608         (comint-line-beginning-position): Remove compatibility code for
16609         emacs 21.
16611 2013-05-01  Juri Linkov  <juri@jurta.org>
16613         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
16615 2013-05-01  Juri Linkov  <juri@jurta.org>
16617         * comint.el (comint-previous-matching-input): Don't print message
16618         "History item: %d" when `isearch-mode' is active.
16619         (comint-history-isearch-message): Print message "History item: %d"
16620         when `comint-input-ring-index' is not empty and this function is
16621         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
16623 2013-05-01  Leo Liu  <sdl.web@gmail.com>
16625         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
16626         definitions.  Use completion-at-point to insert keywords.
16627         (octave-abbrev-start): Remove.
16628         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
16630 2013-04-30  Leo Liu  <sdl.web@gmail.com>
16632         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
16633         change.
16635 2013-04-30  Alan Mackenzie  <acm@muc.de>
16637         Handle arbitrarily long C++ member initialisation lists.
16638         * progmodes/cc-engine.el (c-back-over-member-initializers):
16639         new function.
16640         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
16641         (most) member init lists.
16643 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16645         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
16646         variable.
16648 2013-04-30  Leo Liu  <sdl.web@gmail.com>
16650         * progmodes/octave.el (octave-variables): Remove.  No builtin
16651         variables any more.  All converted to functions.
16652         (octave-font-lock-keywords, octave-completion-at-point-function):
16653         Fix uses.
16654         (octave-font-lock-texinfo-comment): New user variable.
16655         (octave-texinfo-font-lock-keywords): New variable for texinfo
16656         comment block.
16657         (octave-function-comment-block): New face.
16658         (octave-font-lock-texinfo-comment): New function.
16659         (octave-mode): Font lock texinfo comment block.
16661 2013-04-29  Leo Liu  <sdl.web@gmail.com>
16663         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
16664         indexing expression.
16665         (octave-continuation-string): Do not use \.
16666         (inferior-octave-complete-impossible): Remove.
16667         (inferior-octave-completion-table)
16668         (inferior-octave-completion-at-point): Remove its uses.
16669         (inferior-octave-startup): completion_matches was introduced to
16670         Octave in 1996 so safe to assume it.
16671         (octave-function-file-comment): Improve to follow how Octave does it.
16672         (octave-update-function-file-comment): Tweak.
16674 2013-04-29  Leo Liu  <sdl.web@gmail.com>
16676         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
16677         (inferior-octave-startup): Remove inferior-octave-startup-hook.
16678         (octave-function-file-comment): Fix typo.
16679         (octave-sync-function-file-names): Use read-char-choice.
16681 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
16683         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
16684         to t for the less important warnings.
16686 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
16688         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
16690 2013-04-27  Glenn Morris  <rgm@gnu.org>
16692         * vc/log-view.el (log-view-current-entry):
16693         Treat "---" separator lines as part of the following rev.  (Bug#14169)
16695 2013-04-27  Juri Linkov  <juri@jurta.org>
16697         * subr.el (read-number): Doc fix about using it by interactive
16698         code letter `n'.  (Bug#14254)
16700 2013-04-27  Juri Linkov  <juri@jurta.org>
16702         * desktop.el (desktop-auto-save-timeout): New option.
16703         (desktop-file-checksum): New variable.
16704         (desktop-save): Add optional arg `auto-save' and don't auto-save
16705         if nothing changed.
16706         (desktop-auto-save-timer): New variable.
16707         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
16708         (after-init-hook): Call `desktop-auto-save-set-timer'.
16709         Suggested by Reuben Thomas <rrt@sc3d.org> in
16710         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
16712 2013-04-27  Leo Liu  <sdl.web@gmail.com>
16714         * progmodes/octave.el (octave-function-file-p)
16715         (octave-skip-comment-forward, octave-function-file-comment)
16716         (octave-update-function-file-comment): New functions.
16717         (octave-mode-map): Bind C-c ; to
16718         octave-update-function-file-comment.
16719         (octave-mode-menu): Add octave-update-function-file-comment.
16720         (octave-mode, inferior-octave-mode): Fix doc-string.
16721         (octave-insert-defun): Conform to Octave's coding convention.
16722         (Bug#14285)
16724         * files.el (basic-save-buffer): Don't let errors in
16725         before-save-hook prevent saving buffer.
16727 2013-04-20  Roland Winkler  <winkler@gnu.org>
16729         * faces.el (read-face-name): Use completing-read if arg multiple
16730         is nil.
16732 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
16734         * ls-lisp.el (ls-lisp-insert-directory): If no files are
16735         displayed, move point to after the totals line.
16736         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
16737         for the details.
16739 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16741         * emacs-lisp/package.el (package-autoload-ensure-default-file):
16742         Add current dir to the load-path.
16743         (package-generate-autoloads): Don't rely on
16744         autoload-ensure-default-file.
16746 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
16748         * textmodes/remember.el (remember-store-in-files): Document that
16749         the file name format is passed to `format-time-string'.
16751 2013-04-26  Leo Liu  <sdl.web@gmail.com>
16753         * progmodes/octave.el (octave-sync-function-file-names): New function.
16754         (octave-mode): Use it in before-save-hook.
16756 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16758         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
16759         (bug#14274).
16761         * progmodes/octave.el (octave-smie-forward-token): Properly skip
16762         \n and comment, even if it's not an implicit ; (bug#14218).
16764 2013-04-26  Glenn Morris  <rgm@gnu.org>
16766         * subr.el (read-number): Once more use `read' rather than
16767         `string-to-number', to trap non-numeric input.  (Bug#14254)
16769 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
16771         * emacs-lisp/syntax.el (syntax-propertize-multiline):
16772         Use `syntax-multiline' text property consistently instead of
16773         `font-lock-multiline'.  (Bug#14237)
16775 2013-04-26  Glenn Morris  <rgm@gnu.org>
16777         * emacs-lisp/shadow.el (list-load-path-shadows):
16778         No longer necessary to check for duplicate simple.el, since
16779         2012-07-07 change to init_lread to not include installation lisp
16780         directories in load-path when running uninstalled.  (Bug#14270)
16782 2013-04-26  Leo Liu  <sdl.web@gmail.com>
16784         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
16785         (octave-mode, inferior-octave-mode): Use setq-local.
16786         (octave-not-in-string-or-comment-p): Rename to
16787         octave-in-string-or-comment-p.
16788         (octave-in-comment-p, octave-in-string-p)
16789         (octave-in-string-or-comment-p): Replace defsubst with defun.
16791 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
16793         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
16795 2013-04-25  Bastien Guerry  <bzg@gnu.org>
16797         * textmodes/remember.el (remember-data-directory)
16798         (remember-directory-file-name-format): Fix custom types.
16800 2013-04-25  Leo Liu  <sdl.web@gmail.com>
16802         * progmodes/octave.el (octave-completion-at-point-function):
16803         Make use of inferior octave process.
16804         (octave-initialize-completions): Remove.
16805         (inferior-octave-completion-table): New function.
16806         (inferior-octave-completion-at-point): Use it.
16807         (octave-completion-alist): Remove.
16809 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16811         * progmodes/opascal.el: Use font-lock and syntax-propertize.
16812         (opascal-mode-syntax-table): New var.
16813         (opascal-literal-kind, opascal-is-literal-end)
16814         (opascal-literal-token-at): Rewrite.
16815         (opascal--literal-start-re, opascal-font-lock-keywords)
16816         (opascal--syntax-propertize): New constants.
16817         (opascal-font-lock-defaults): Adjust.
16818         (opascal-mode): Use them.  Set comment-<foo> variables as well.
16819         (delphi-comment-face, opascal-comment-face, delphi-string-face)
16820         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
16821         (delphi-other-face, opascal-other-face): Remove face variables.
16822         (opascal-save-state): Remove macro.
16823         (opascal-fontifying-progress-step): Remove constant.
16824         (opascal--ignore-changes): Remove var.
16825         (opascal-set-token-property, opascal-parse-next-literal)
16826         (opascal-is-stable-literal, opascal-complete-literal)
16827         (opascal-is-literal-start, opascal-face-of)
16828         (opascal-parse-region, opascal-parse-region-until-stable)
16829         (opascal-fontify-region, opascal-after-change)
16830         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
16831         (opascal-debug-parse-region, opascal-debug-parse-window)
16832         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
16833         (opascal-debug-fontify-buffer): Remove.
16834         (opascal-debug-mode-map): Adjust accordingly.
16836 2013-04-25  Leo Liu  <sdl.web@gmail.com>
16838         Merge octave-mod.el and octave-inf.el into octave.el with some
16839         cleanups.
16840         * progmodes/octave.el: New file renamed from octave-mod.el.
16841         * progmodes/octave-inf.el: Merged into octave.el.
16842         * progmodes/octave-mod.el: Renamed to octave.el.
16844 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
16846         * textmodes/reftex-vars.el
16847         (reftex-label-ignored-macros-and-environments): New defcustom.
16849         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
16851 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16853         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
16854         (smie-indent-keyword): Improve the check to ensure that the next
16855         comment is really on the same line.
16856         (smie-indent-comment): Don't align with a subsequent closer (or eob).
16858         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
16859         semi-colons if the line is not otherwise empty (bug#14218).
16861 2013-04-25  Glenn Morris  <rgm@gnu.org>
16863         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
16865 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16867         * progmodes/opascal.el (opascal-set-token-property): Rename from
16868         opascal-set-text-properties and only set `token' (bug#14134).
16869         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
16870         (opascal-literal-text-properties): Remove.
16871         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
16872         Adjust callers.
16874 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
16876         * textmodes/remember.el (remember-handler-functions): Add an
16877         option for a new handler `remember-store-in-files'.
16878         (remember-data-directory, remember-directory-file-name-format):
16879         New options.
16880         (remember-store-in-files): New function to store remember notes
16881         as separate files within a directory.
16883 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
16885         * progmodes/compile.el (compilation-next-error-function):
16886         Pass "formats" to compilation-find-file (bug#11777).
16888 2013-04-24  Glenn Morris  <rgm@gnu.org>
16890         * vc/vc-bzr.el (vc-bzr-print-log):
16891         * vc/vc-hg.el (vc-hg-print-log):
16892         * vc/vc-svn.el (vc-svn-print-log):
16893         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
16895         * vc/vc-bzr.el (vc-bzr-print-log):
16896         * vc/vc-cvs.el (vc-cvs-print-log):
16897         * vc/vc-git.el (vc-git-print-log):
16898         * vc/vc-hg.el (vc-hg-print-log):
16899         * vc/vc-mtn.el (vc-mtn-print-log):
16900         * vc/vc-rcs.el (vc-rcs-print-log):
16901         * vc/vc-sccs.el (vc-sccs-print-log):
16902         * vc/vc-svn.el (vc-svn-print-log):
16903         * vc/vc.el (vc-print-log-internal): Doc fixes.
16905 2013-04-23  Glenn Morris  <rgm@gnu.org>
16907         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
16908         Remove venerable code attempting to avoid substitute-command-keys.
16910 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
16912         * textmodes/reftex-vars.el (reftex-label-regexps):
16913         Call `reftex-compile-variables' after changes to this variable.
16915 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16917         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
16918         Use lexical-binding.
16919         (jit-lock-force-redisplay): Use markers, check buffer's continued
16920         existence and beware narrowed buffers.
16921         (jit-lock-fontify-now): Adjust call accordingly.
16923 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16925         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
16926         to avoid misleading the user.
16928 2013-04-22  Leo Liu  <sdl.web@gmail.com>
16930         * info-look.el: Prefer latex2e.info.  (Bug#14240)
16932 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
16934         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
16936         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16937         * net/tramp.el (tramp-call-process): ... here.
16938         (tramp-set-completion-function, tramp-parse-putty):
16939         * net/tramp-adb.el (tramp-adb-execute-adb-command):
16940         * net/tramp-gvfs.el (tramp-gvfs-send-command):
16941         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16942         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16943         (tramp-call-local-coding-command): Use `tramp-call-process'
16944         instead of `tramp-compat-call-process'.
16946         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16947         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16948         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16949         (tramp-find-inline-compress): Improve traces.
16950         (tramp-maybe-send-script): Check for Perl binary.
16951         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16953 2013-04-22  Daiki Ueno  <ueno@gnu.org>
16955         * epg.el (epg-context-pinentry-mode): New function.
16956         (epg-context-set-pinentry-mode): New function.
16957         (epg--start): Pass --pinentry-mode option to gpg command.
16959 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
16961         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16962         `comint-dynamic-complete' is obsolete since 24.1, replaced by
16963         `completion-at-point'.  (Bug#13774)
16965         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16966         default key binding for `describe-distribution' has been moved to
16967         `C-h C-o'.  (Bug#13970)
16969 2013-04-21  Glenn Morris  <rgm@gnu.org>
16971         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16972         Add doc strings.
16973         (vc-print-log): Clarify interactive prompt.
16975 2013-04-20  Glenn Morris  <rgm@gnu.org>
16977         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16978         No longer include timestamp etc information.
16980 2013-04-20  Roland Winkler  <winkler@gnu.org>
16982         * faces.el (read-face-name): Bug fix, return just one face if arg
16983         multiple is nil.  (Bug#14209)
16985 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16987         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16988         (remove-function): Autoload.
16990         * comint.el (comint-redirect-original-filter-function): Remove.
16991         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16992         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16993         (vc-cvs-annotate-command):
16994         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16995         * progmodes/prolog.el (prolog-consult-compile):
16996         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16997         Use add/remove-function instead.
16998         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16999         (gud-tooltip-process-output, gud-tooltip-tips):
17000         Use add/remove-function instead.
17001         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
17002         (scheme-interaction-mode, exit-scheme-interaction-mode):
17003         Use add/remove-function instead.
17005         * vc/vc-dispatcher.el: Use lexical-binding.
17006         (vc--process-sentinel): Rename from vc-process-sentinel.
17007         Change last arg to be the code to run.  Don't use vc-previous-sentinel
17008         and vc-sentinel-commands any more.
17009         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
17010         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
17012 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
17014         * progmodes/sh-script.el (sh-imenu-generic-expression):
17015         Handle function names with a single character.  (Bug#14111)
17017 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
17019         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
17020         for subroutines defined in an eval (bug#14182).
17022 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
17024         * bookmark.el (bookmark-completing-read): Improve handling of empty
17025         string (bug#14176).
17027 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17029         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
17031 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17033         New faster Imenu implementation (bug#14058).
17034         * progmodes/python.el (python-imenu-prev-index-position)
17035         (python-imenu-format-item-label-function)
17036         (python-imenu-format-parent-item-label-function)
17037         (python-imenu-format-parent-item-jump-label-function):
17038         New vars.
17039         (python-imenu-format-item-label)
17040         (python-imenu-format-parent-item-label)
17041         (python-imenu-format-parent-item-jump-label)
17042         (python-imenu--put-parent, python-imenu--build-tree)
17043         (python-imenu-create-index, python-imenu-create-flat-index)
17044         (python-util-popn): New functions.
17045         (python-mode): Set imenu-create-index-function to
17046         python-imenu-create-index.
17048 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17050         * winner.el (winner-active-region): Use region-active-p, activate-mark
17051         and deactivate-mark (bug#14225).
17053         * simple.el (deactivate-mark): Don't inline it.
17055 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
17057         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
17059 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
17061         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
17062         file extensions from the archive-mode entry in order to prefer
17063         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
17065 2013-04-18  Leo Liu  <sdl.web@gmail.com>
17067         * bindings.el (help-event-list): Add ?\?.
17069 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17071         * subr.el (with-wrapper-hook): Declare obsolete.
17072         * simple.el (filter-buffer-substring-function): New hook.
17073         (filter-buffer-substring): Use it.
17074         (filter-buffer-substring-functions): Mark obsolete.
17075         * minibuffer.el (completion-in-region-function): New hook.
17076         (completion-in-region): Use it.
17077         (completion-in-region-functions): Mark obsolete.
17078         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
17079         * abbrev.el (abbrev-expand-function): New hook.
17080         (expand-abbrev): Use it.
17081         (abbrev-expand-functions): Mark obsolete.
17082         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
17083         and :filter-return.
17085 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17087         * progmodes/python.el (python-nav--syntactically): Fix cornercases
17088         and do not care about match data.
17090 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17092         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
17093         completion tables when completing error conditions and
17094         `declare' arguments.
17095         (lisp-complete-symbol, field-complete): Mark as obsolete.
17096         (check-parens): Unmatched parens are user errors.
17097         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
17099 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
17101         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
17102         command changed buffer (ie. `flyspell-pre-buffer' is not current
17103         buffer), which prevents making decisions based on invalid value of
17104         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
17105         cause an error when `flyspell-pre-point' was nil after switching
17106         buffers.
17107         (flyspell-post-command-hook): No longer needs to change buffers when
17108         checking pre-word.  While at it remove unnecessary progn.
17110 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
17112         * textmodes/ispell.el (ispell-add-per-file-word-list):
17113         Fix `flyspell-correct-word-before-point' error when accepting
17114         words and `coment-padding' is an integer by using
17115         `comment-normalize-vars' (Bug #14214).
17117 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17119         New defun movement commands.
17120         * progmodes/python.el (python-nav--syntactically)
17121         (python-nav--forward-defun, python-nav-backward-defun)
17122         (python-nav-forward-defun): New functions.
17124 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17126         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
17127         (python-syntax-context): Use named compiler-macro for backwards
17128         compatibility with Emacs 24.x.
17130 2013-04-17  Leo Liu  <sdl.web@gmail.com>
17132         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
17133         octave-hide-process-buffer.
17135 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17137         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
17138         (bug#14216).
17140 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
17142         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
17143         Fix adjustment of offset when receiving incomplete responses from GDB
17144         (bug#14129).
17146 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17148         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
17149         python-mode-abbrev-table.
17150         (python-skeleton-define): Adjust accordingly.
17151         (python-mode-abbrev-table): New table that inherits from it so that
17152         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
17154         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
17155         (abbrev-symbol): Use it.
17156         (abbrev--before-point): Use it since we already handle inheritance.
17158 2013-04-16  Leo Liu  <sdl.web@gmail.com>
17160         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
17161         binding to info-lookup-symbol.
17163 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
17165         * minibuffer.el (completion--twq-all):
17166         * term/ns-win.el (ns-initialize-window-system):
17167         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
17169 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17171         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
17172         global bindings.
17174         * doc-view.el (doc-view-start-process): Handle url-handler directories.
17176 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
17178         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
17179         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
17180         to nil.
17181         (ruby-end-of-defun): Remove the unused arg, change the docstring
17182         to reflect that this function is only used as the value of
17183         `end-of-defun-function'.
17184         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
17185         to reflect an earlier change that beginning/end-of-defun functions
17186         jump between methods in a class definition, as well as top-level
17187         functions.
17189 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17191         * minibuffer.el (minibuffer-complete): Don't just scroll
17192         a *Completions* that's been iconified.
17193         (minibuffer-force-complete): Make sure repetitions do cycle when going
17194         through completion-in-region -> minibuffer-complete.
17196 2013-04-15  Alan Mackenzie  <acm@muc.de>
17198         Correct the placement of c-cpp-delimiters when there're #s not at
17199         col 0.
17201         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
17202         place a submatch around the #.
17203         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
17204         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
17205         on the #, not BOL.
17207 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17209         * emacs-lisp/nadvice.el: Properly test names when adding advice.
17210         (advice--member-p): New arg `name'.
17211         (advice--add-function, advice-member-p): Use it (bug#14202).
17213 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
17215         Reformulate java imenu-generic-expression.
17216         The old expression contained ill formed regexps.
17218         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
17219         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
17220         (cc-imenu-java-method-arg-regexp): New defconsts.
17221         (cc-imenu-java-build-type-args-regex): New defun.
17222         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
17223         handling of spaces in the regexp.
17225 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
17227         * textmodes/ispell.el (ispell-command-loop): Remove
17228         flyspell highlight of a word when ispell accepts it (bug #14178).
17230 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
17232         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
17233         uses code from the previous `ange-ftp-run-real-handler'.
17234         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
17235         only in case that function exist.  This is needed for proper
17236         unloading of Tramp.
17238 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
17240         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
17242         * textmodes/reftex.el (reftex-compile-variables): Use it.
17244 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17246         * files.el (normal-mode): Only use default major-mode if no other mode
17247         was specified.
17249         * emacs-lisp/trace.el (trace-values): New function.
17251         * files.el: Allow : in local variables (bug#14089).
17252         (hack-local-variable-regexp): New var.
17253         (hack-local-variables-prop-line, hack-local-variables): Use it.
17255 2013-04-13  Roland Winkler  <winkler@gnu.org>
17257         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
17258         data before it gets modified by bibtex-beginning-of-entry.
17260 2013-04-13  Roland Winkler  <winkler@gnu.org>
17262         * textmodes/bibtex.el (bibtex-url): Doc fix.
17264 2013-04-13  Roland Winkler  <winkler@gnu.org>
17266         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
17267         does not visit a BibTeX file, exclude it from the list of buffers
17268         returned by bibtex-initialize.
17270 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
17272         * window.el (split-window): Remove interactive form, since as a
17273         command this function is a special case of split-window-below.
17274         Correct doc string.
17276 2013-04-12  Roland Winkler  <winkler@gnu.org>
17278         * faces.el (read-face-name): Do not override value of arg default.
17279         Allow single faces and strings as default values.  Remove those
17280         elements from return value that are not faces.
17281         (describe-face): Simplify.
17282         (face-at-point): New optional args thing and multiple so that this
17283         function can provide the same functionality previously provided by
17284         read-face-name.
17285         (make-face-bold, make-face-unbold, make-face-italic)
17286         (make-face-unitalic, make-face-bold-italic, invert-face)
17287         (modify-face, read-face-and-attribute): Use face-at-point.
17289         * cus-edit.el (customize-face, customize-face-other-window)
17290         * cus-theme.el (custom-theme-add-face)
17291         * face-remap.el (buffer-face-set)
17292         * facemenu.el (facemenu-set-face): Use face-at-point.
17294 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
17296         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
17298 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
17300         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
17301         off leading { and trailing } from field values.
17303 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
17305         * emacs-lisp/timer.el (timer--check): New function.
17306         (timer--time, timer-set-function, timer-event-handler): Use it.
17307         (timer-set-idle-time): Simplify.
17308         (timer--activate): CSE.
17309         (timer-event-handler): Give more info in error message.
17310         (internal-timer-start-idle): New function, moved from C.
17312         * mpc.el (mpc-proc): Add `restart' argument.
17313         (mpc-proc-cmd): Use it.
17314         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
17315         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
17316         less often.
17318 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
17320         * progmodes/sh-script.el: Implement `sh-mode' own
17321         `add-log-current-defun-function' (bug#14112).
17322         (sh-current-defun-name): New function.
17323         (sh-mode): Use the function.
17325 2013-04-09  Bastien Guerry  <bzg@gnu.org>
17327         * simple.el (choose-completion-string): Fix docstring (bug#14163).
17329 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17331         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
17333         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
17334         timer (bug#14156).
17336 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
17338         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
17339         declaration.
17341 2013-04-07  Leo Liu  <sdl.web@gmail.com>
17343         * pcmpl-x.el: New file.
17345 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
17347         Do not set x-display-name until X connection is established.
17348         This is needed to prevent from weird situation described at
17349         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
17350         * frame.el (make-frame): Set x-display-name after call to
17351         window system initialization function, not before.
17352         * term/x-win.el (x-initialize-window-system): Add optional
17353         display argument and use it.
17354         * term/w32-win.el (w32-initialize-window-system):
17355         * term/ns-win.el (ns-initialize-window-system):
17356         * term/pc-win.el (msdos-initialize-window-system):
17357         Add compatible optional display argument.
17359 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
17361         * files.el (normal-backup-enable-predicate): On MS-Windows and
17362         MS-DOS compare truenames of temporary-file-directory and of the
17363         file, so that 8+3 aliases (usually found in $TEMP on Windows)
17364         don't fail comparison by compare-strings.  Also, compare file
17365         names case-insensitively on MS-Windows and MS-DOS.
17367 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17369         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
17370         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
17372 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
17374         * whitespace.el (whitespace-color-on, whitespace-color-off):
17375         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
17377 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
17379         * ispell.el (ispell-set-spellchecker-params):
17380         Really set `ispell-args' for all equivs.
17382 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17384         * ido.el (ido-completions): Use extra elements of ido-decorations
17385         (bug#14143).
17386         (ido-decorations): Update docstring.
17388 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
17390         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17391         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
17392         nil during initialization, in order not to miss changes since the
17393         file was opened.  (Bug#14140)
17395 2013-04-05  Leo Liu  <sdl.web@gmail.com>
17397         * kmacro.el (kmacro-call-macro): Fix bug#14135.
17399 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
17401         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
17403 2013-04-04  Glenn Morris  <rgm@gnu.org>
17405         * electric.el (electric-pair-inhibit-predicate): Add :version.
17407 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17409         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
17410         when a package is required several times (bug#14082).
17412 2013-04-04  Roland Winkler  <winkler@gnu.org>
17414         * faces.el (read-face-name): Behave as promised by the docstring.
17415         Assume that arg default is a list of faces.
17416         (describe-face): Call read-face-name with list of default faces.
17418 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
17420         * bookmark.el: Fix deletion of bookmarks (bug#13972).
17421         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
17422         (bookmark-bmenu-execute-deletions): Only skip first line if it's
17423         the header.
17424         (bookmark-exit-hook-internal): Save even if list is empty.
17426 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
17428         * emacs-lisp/package.el (package-pinned-packages): New var.
17429         (package--add-to-archive-contents): Obey it (bug#14118).
17431 2013-04-03  Alan Mackenzie  <acm@muc.de>
17433         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
17434         Also adapt to the new values of element 7 of a parse state.
17436         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
17437         parameter `not-in-delimiter'.  Handle being inside comment opener.
17438         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
17439         character in case we're typing a '*' after a '/'.
17440         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
17441         instead by passing the parameter to c-state-pp-to-literal.
17443         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
17444         for elt. 7 of a parse state.
17446 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
17448         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
17449         * international/latin1-disp.el, international/mule-util.el:
17450         * language/cyril-util.el, language/european.el, language/ind-util.el:
17451         * language/lao-util.el, language/thai.el, language/tibet-util.el:
17452         * language/tibetan.el, language/viet-util.el:
17453         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
17455 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17457         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
17458         (electric-pair-post-self-insert-function): Use it.
17459         (electric-pair-default-inhibit): New function, extracted from
17460         electric-pair-post-self-insert-function.
17462 2013-03-31  Roland Winkler  <winkler@gnu.org>
17464         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
17466 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17468         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
17470 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
17472         Un-indent after "pass" and "return" statements (Bug#13888)
17473         * progmodes/python.el (python-indent-block-enders): New var.
17474         (python-indent-calculate-indentation): Use it.
17476 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
17478         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
17479         defun.  Defining it as defalias could introduce too eager
17480         byte-compiler optimization.  (Bug#14030)
17482 2013-03-30  Chong Yidong  <cyd@gnu.org>
17484         * iswitchb.el (iswitchb-read-buffer): Fix typo.
17486 2013-03-30  Leo Liu  <sdl.web@gmail.com>
17488         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
17489         (kmacro-execute-from-register): Pass the keyboard macro to
17490         kmacro-call-macro or repeating won't work correctly.
17492 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
17494         * progmodes/subword.el: Back to using `forward-symbol'.
17496         * subr.el (forward-whitespace, forward-symbol)
17497         (forward-same-syntax): Move from thingatpt.el.
17499 2013-03-29  Leo Liu  <sdl.web@gmail.com>
17501         * kmacro.el (kmacro-to-register): New command.
17502         (kmacro-execute-from-register): New function.
17503         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
17505 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17507         * mpc.el: Use defvar-local and setq-local.
17508         (mpc--proc-connect): Connection failures are not bugs.
17509         (mpc-mode-map): `follow-link' only applies to the buffer's content.
17510         (mpc-volume-map): Bind to the up-events.
17512 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
17514         * progmodes/subword.el (superword-mode): Use `forward-sexp'
17515         instead of `forward-symbol'.
17517 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17519         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
17520         (edebug--recursive-edit): Use it.
17521         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
17522         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
17524 2013-03-28  Leo Liu  <sdl.web@gmail.com>
17526         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
17528 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
17530         * facemenu.el (list-colors-callback): New defvar.
17531         (list-colors-redisplay): New function.
17532         (list-colors-display): Install list-colors-redisplay as the
17533         revert-buffer-function.  (Bug#14063)
17535 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17537         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
17538         and suffixes don't overlap (bug#14061).
17540         * case-table.el: Use lexical-binding.
17541         (case-table-get-table): New function.
17542         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
17544 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
17546         * progmodes/subword.el: Add `superword-mode' to do word motion
17547         over symbol_words (parallels and leverages `subword-mode' which
17548         does word motion inside MixedCaseWords).
17550 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
17552         * eshell/em-unix.el: Move su and sudo to...
17553         * eshell/em-tramp.el: ...Eshell tramp module.
17555 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17557         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
17558         Change return value to be a sexp.  Delay `get-buffer' to after
17559         restoring the desktop (bug#13951).
17561 2013-03-26  Leo Liu  <sdl.web@gmail.com>
17563         * register.el: Move semantic tag handling back to
17564         cedet/semantic/senator.el.  (Bug#14052)
17566 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17568         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
17569         into the prompt either (bug#13963).
17571 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17573         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
17574         part of "(error-foo)".
17576 2013-03-24  Juri Linkov  <juri@jurta.org>
17578         * replace.el (list-matching-lines-prefix-face): New defcustom.
17579         (occur-1): Pass `list-matching-lines-prefix-face' to the function
17580         `occur-engine' if `face-differs-from-default-p' returns t.
17581         (occur-engine): Add `,' inside backquote construct to evaluate
17582         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
17583         Pass `prefix-face' to the functions `occur-context-lines' and
17584         `occur-engine-add-prefix'.
17585         (occur-engine-add-prefix, occur-context-lines): Add optional arg
17586         `prefix-face' and propertize the prefix with `prefix-face'.
17587         (Bug#14017)
17589 2013-03-24  Leo Liu  <sdl.web@gmail.com>
17591         * nxml/rng-valid.el (rng-validate-while-idle)
17592         (rng-validate-quick-while-idle): Guard against deleted buffer.
17593         (Bug#13999)
17595         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
17596         is the last entry in kill-buffer-hook.
17598         * files.el (kill-buffer-hook): Doc fix.
17600 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
17602         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
17603         Make it safe-local.
17605         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
17607 2013-03-23  Leo Liu  <sdl.web@gmail.com>
17609         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
17610         Remove.
17612         * nxml/rng-valid.el (rng-validate-mode)
17613         (rng-after-change-function, rng-do-some-validation):
17614         * nxml/rng-maint.el (rng-validate-buffer):
17615         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
17616         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
17617         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
17618         (nxml-extend-after-change-region): Use with-silent-modifications.
17620         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
17621         timer-idle-list.
17623         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
17624         (rng-next-error-1, rng-previous-error-1): Do not let-bind
17625         timer-idle-list.  (Bug#13999)
17627 2013-03-23  Juri Linkov  <juri@jurta.org>
17629         * info.el (info-index-match): New face.
17630         (Info-index, Info-apropos-matches): Add a nested subgroup to the
17631         main pattern and add text properties with the new face to matches
17632         in index entries relative to the beginning of the index entry.
17633         (Bug#14015)
17635 2013-03-21  Eric Ludlam  <zappo@gnu.org>
17637         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
17638         Inhibit read only while inserting objects.
17640 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
17642         * progmodes/cfengine.el: Update docs to mention
17643         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
17644         symbol motion.  Remove "_" from the word syntax.
17646 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
17648         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
17649         syntax for both `cfengine2-mode' and `cfengine3-mode'.
17651 2013-03-20  Juri Linkov  <juri@jurta.org>
17653         * info.el (Info-next-reference-or-link)
17654         (Info-prev-reference-or-link): New functions.
17655         (Info-next-reference, Info-prev-reference): Use them.
17656         (Info-try-follow-nearest-node): Handle footnote navigation.
17657         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
17659 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17661         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
17662         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
17664 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
17666         Suppress unnecessary non-ASCII chatter during build process.
17667         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
17668         (batch-skkdic-convert): Suppress most of the chatter.
17669         It's not needed so much now that machines are faster,
17670         and its non-ASCII component was confusing; see Dmitry Gutov in
17671         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
17673 2013-03-20  Leo Liu  <sdl.web@gmail.com>
17675         * ido.el (ido-chop): Fix bug#10994.
17677 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
17679         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
17680         Remove vars.
17681         (whitespace-color-on, whitespace-color-off):
17682         Use `font-lock-fontify-buffer' (Bug#13817).
17684 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17686         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
17687         remapping in mode-line.
17688         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
17690 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
17692         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
17693         value for `whitespace-line' face (Bug#13875).
17694         (whitespace-font-lock-keywords): Change description.
17695         (whitespace-color-on): Don't save `font-lock-keywords' value, save
17696         the constructed keywords instead.
17697         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
17699 2013-03-19  Leo Liu  <sdl.web@gmail.com>
17701         * progmodes/compile.el (compilation-display-error): New command.
17702         (compilation-mode-map, compilation-minor-mode-map): Bind it to
17703         C-o.  (Bug#13992)
17705 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
17707         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
17709 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
17711         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
17713 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
17715         * net/tramp-compat.el (tramp-compat-user-error): New defun.
17717         * net/tramp-adb.el (tramp-adb-handle-shell-command):
17718         * net/tramp-gvfs.el (top):
17719         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
17720         (tramp-handle-shell-command): Use it.
17721         (tramp-dissect-file-name): Raise an error when hostname is a
17722         method name, and neither method nor user is specified.
17724         * net/trampver.el: Update release number.
17726 2013-03-18  Leo Liu  <sdl.web@gmail.com>
17728         Make sure eldoc can be turned off properly.
17729         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
17730         eldoc-mode.
17731         (eldoc-display-message-p): Revert last change.
17732         (eldoc-display-message-no-interference-p)
17733         (eldoc-print-current-symbol-info): Tweak.
17735 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
17737         * doc-view.el (doc-view-new-window-function): Check the new window
17738         overlay's display property instead the char property of the
17739         buffer's first char.  Use `with-selected-window' instead of
17740         `save-window-excursion' with `select-window'.
17741         (doc-view-document->bitmap): Check the current doc-view overlay's
17742         display property instead the char property of the buffer's first char.
17744 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
17746         Automate the build of ja-dic.el (Bug#13984).
17747         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
17748         from the input, rather than assume that it's been done for us by the
17749         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
17750         the current date into a ja-dic.el comment, as that complicates
17751         regression testing.
17753 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17755         * whitespace.el: Fix double evaluation.
17756         (whitespace-space, whitespace-hspace, whitespace-tab)
17757         (whitespace-newline, whitespace-trailing, whitespace-line)
17758         (whitespace-space-before-tab, whitespace-indentation)
17759         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
17760         obsolete defvars.
17761         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
17762         (whitespace-color-on): Use a single font-lock-add-keywords call.
17763         Fix double-evaluation of face variables.
17765 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
17767         * net/tramp-adb.el (tramp-adb-parse-device-names):
17768         Use `start-process' instead of `call-process'.  Otherwise, the
17769         function might be blocked under MS Windows.  (Bug#13299)
17771 2013-03-17  Leo Liu  <sdl.web@gmail.com>
17773         Extend eldoc to display info in the mode-line.  (Bug#13978)
17774         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
17775         (eldoc-mode-line-string): New variable.
17776         (eldoc-minibuffer-message): New function.
17777         (eldoc-message-function): New variable.
17778         (eldoc-message): Use it.
17779         (eldoc-display-message-p)
17780         (eldoc-display-message-no-interference-p):
17781         Support eldoc-post-insert-mode.
17783         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
17784         (eval-expression): Run it.
17786 2013-03-17  Roland Winkler  <winkler@gnu.org>
17788         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
17789         strings in the list of return values.
17791 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
17793         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
17794         radix before checking for HMS forms.
17796 2013-03-16  Leo Liu  <sdl.web@gmail.com>
17798         * progmodes/scheme.el: Add indentation and font-locking for λ.
17799         (Bug#13975)
17801 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17803         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
17804         token before point (bug#13942).
17806 2013-03-16  Leo Liu  <sdl.web@gmail.com>
17808         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
17810 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
17812         * startup.el (command-line-normalize-file-name): Fix handling of
17813         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
17814         <xfq.free@gmail.com> in
17815         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
17817 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
17819         Sync with Tramp 2.2.7.
17821         * net/trampver.el: Update release number.
17823 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
17825         * doc-view.el: Fix bug#13887.
17826         (doc-view-insert-image): Don't modify overlay associated to
17827         non-live windows, and implement horizontal centering of image in
17828         case it's smaller than the window.
17829         (doc-view-new-window-function): Force redisplay of new windows on
17830         doc-view buffers.
17832 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
17834         * saveplace.el (save-place-alist-to-file): Don't sort
17835         `save-place-alist', just pretty-print it (bug#13882).
17837 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
17839         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17840         Check whether `default-file-name-coding-system' is bound.
17841         It isn't in XEmacs.
17843 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17845         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
17846         backquotes for `obsolete' (bug#13929).
17848         * international/mule.el (find-auto-coding): Include file name in
17849         obsolescence warning (bug#13922).
17851 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
17853         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
17854         for CFEngine 3-specific indentation.
17855         (cfengine3-indent-line): Use it.  Fix up category regex.
17856         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
17858 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17860         * type-break.el (type-break-file-name):
17861         * textmodes/remember.el (remember-data-file):
17862         * strokes.el (strokes-file):
17863         * shadowfile.el (shadow-initialize):
17864         * saveplace.el (save-place-file):
17865         * ps-bdf.el (bdf-cache-file):
17866         * progmodes/idlwave.el (idlwave-config-directory):
17867         * net/quickurl.el (quickurl-url-file):
17868         * international/kkc.el (kkc-init-file-name):
17869         * ido.el (ido-save-directory-list-file):
17870         * emulation/viper.el (viper-custom-file-name):
17871         * emulation/vip.el (vip-startup-file):
17872         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
17873         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
17875 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
17877         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
17878         * language/thai-word.el: Switch to UTF-8.
17880 See ChangeLog.16 for earlier changes.
17882 ;; Local Variables:
17883 ;; coding: utf-8
17884 ;; End:
17886   Copyright (C) 2011-2014 Free Software Foundation, Inc.
17888   This file is part of GNU Emacs.
17890   GNU Emacs is free software: you can redistribute it and/or modify
17891   it under the terms of the GNU General Public License as published by
17892   the Free Software Foundation, either version 3 of the License, or
17893   (at your option) any later version.
17895   GNU Emacs is distributed in the hope that it will be useful,
17896   but WITHOUT ANY WARRANTY; without even the implied warranty of
17897   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17898   GNU General Public License for more details.
17900   You should have received a copy of the GNU General Public License
17901   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.