* lisp/electric.el (electric-indent-mode-has-been-called): Remove.
[emacs.git] / lisp / ChangeLog
blobe75f2cc3190bd959a0363df510f1c8aacbbcdffa
1 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
4         electric-indent-mode-hook if we obey electric-indent-mode.
5         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
6         decide whether we obey electric-indent-mode.
7         (c-change-set-fl-decl-start, c-extend-after-change-region):
8         Silence warnings.
9         (c-electric-indent-mode-hook): Assume we do want to obey
10         electric-indent-mode.
12         * electric.el (electric-indent-mode-has-been-called): Remove.
13         (electric-indent-mode): Fix accordingly.
15         * files.el (hack-local-variables): Mention file name in warning.
17         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
19 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
21         * binding.el: Add comment describing why C-d binds to `delete-char'.
22         * simple.el (delete-forward-char): Mark as interactive-only.
24 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
26         * icomplete.el (icomplete-completions):
27         Follow-up to 2014-03-01 change.
29         * icomplete.el: Miscellaneous doc fixes.
30         Use Icomplete everywhere instead of icomplete for consistency.
31         (icomplete-max-delay-chars): Fix typo.
32         (icomplete-mode): Use \[].
33         (icomplete-tidy, icomplete-exhibit): Reflow.
34         (icomplete-minibuffer-setup-hook, icomplete-completions):
35         Remove superfluous backlashes.
37         * ido.el: Miscellaneous doc fixes.
38         Use Ido everywhere instead of ido or `ido' for consistency.
39         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
40         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
41         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
42         (ido-separator): Extract obsolescence info from docstring and declare
43         with make-obsolete-variable.
44         (ido-minibuffer-setup-hook): Simplify example.
45         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
46         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
47         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
48         (ido-everywhere): Reflow docstring.
49         (ido-toggle-vc): Doc fix.
50         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
51         of long list of keybindings.
53 2014-03-03  Glenn Morris  <rgm@gnu.org>
55         * frame.el (display-pixel-height, display-pixel-width)
56         (display-mm-dimensions-alist, display-mm-height)
57         (display-mm-width): Doc tweaks.
59 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
61         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
62         case of undo in region.
64 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
66         * window.el (fit-window-to-buffer): Fix argument in window-size
67         call when window is horizontally combined.
69 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
71         * icomplete.el (icomplete-completions): Use string-width.
72         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
74 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
76         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
77         Highlight regexp options.  (Bug#16914)
79 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
81         * window.el (window--max-delta-1): Round down when calculating
82         how many lines/columns we can get from a window.
84 2014-03-01  Glenn Morris  <rgm@gnu.org>
86         * isearch.el (search-invisible): Doc fix.
88         * minibuffer.el (completion-hilit-commonality):
89         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
90         * comint.el (comint-dynamic-list-completions): Doc fix.
91         * comint.el (comint-dynamic-list-completions):
92         * filecache.el (file-cache-minibuffer-complete):
93         * tempo.el (tempo-display-completions):
94         * eshell/em-hist.el (eshell-list-history):
95         Replace use of obsolete argument of display-completion-list.
97 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
99         * icomplete.el (icomplete-completions):
100         Revert back to using "..." when ?… cannot be displayed.
102 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
104         * finder.el (finder-unload-function): New function.
106 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
108         * dframe.el (dframe-detach):
109         * find-dired.el (find-dired, find-name-dired):
110         * finder.el (finder-mode-map, finder-mode-syntax-table)
111         (finder-headmark, finder-select, finder-mouse-select):
112         Fix docstring typos.
114 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
116         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
117         * window.el (with-temp-buffer-window): Revert change from
118         2014-02-21.  Suggested by Thierry Volpiatto.
119         <thierry.volpiatto@gmail.com>.  Fix doc-string based on a
120         suggestion by Nicolas Richard <theonewiththeevillook@yahoo.fr>.
121         * help.el (with-help-window): Fix doc-string.
123 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
125         * net/shr.el (shr-image-animate): New option.
126         (shr-put-image): Respect shr-image-animate.
128 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
130         * net/tramp-adb.el (tramp-adb-parse-device-names):
131         Use `accept-process-output'.
132         (tramp-adb-handle-file-truename): Cache the localname only.
133         (tramp-adb-handle-make-directory)
134         (tramp-adb-handle-delete-directory): Flush file properties correctly.
135         (tramp-adb-handle-set-file-modes): Do not raise an error when file
136         modes cannot be changed.
138         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
139         file properties of symlinks.
141 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
143         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
144         required/optional fields to match development biblatex.  (Bug#16781)
146 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
148         * saveplace.el (toggle-save-place):
149         Fix argument handling.  (Bug#16673)
151 2014-02-28  Glenn Morris  <rgm@gnu.org>
153         * minibuffer.el (completions-first-difference)
154         (completions-common-part, completion-hilit-commonality): Doc fixes.
156 2014-02-28  Karl Berry  <karl@gnu.org>
158         * info.el (Info-mode-map): Add H for describe-mode,
159         to synchronize with standalone Info.
161 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
163         * progmodes/sql.el (sql-interactive-mode):
164         Avoid setting global comint-input-ring-separator.  (Bug#16814)
166 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
168         * net/dbus.el (dbus--init-bus): Declare function.
169         (dbus-path-local, dbus-interface-local): New defconst.
170         (dbus-init-bus): Use them.
171         (dbus-return-values-table): Extend doc.
172         (dbus-handle-bus-disconnect): Extend error message.
174 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
176         * subr.el (y-or-n-p): Fix double space issue in message.
178 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
180         * net/tramp.el (tramp-call-process): Improve trace message.
181         (tramp-handle-insert-file-contents): Trace error case.
183         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
184         <insert-directory>: Use `tramp-handle-insert-directory'.
185         (tramp-adb-handle-insert-directory): Remove function.
186         (tramp-adb-send-command-and-check): New defun, replacing
187         `tramp-adb-command-exit-status'.  Change all callees.
188         (tramp-adb-handle-file-attributes)
189         (tramp-adb-handle-directory-files-and-attributes): Use it.
190         (tramp-adb-ls-output-name-less-p):
191         Use `directory-listing-before-filename-regexp'.
192         (tramp-adb-handle-delete-directory): Flush also file properties of
193         the truename of directory.
194         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
195         (tramp-adb-handle-file-local-copy): Make the local copy readable.
196         (tramp-adb-handle-write-region): Implement APPEND.
197         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
198         properties correctly.
199         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
200         variables.  Check for connected devices only when needed.
202 2014-02-27  Glenn Morris  <rgm@gnu.org>
204         * minibuffer.el (completion-table-dynamic)
205         (completion-table-with-cache): Doc fixes.
207         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
208         (completing-read-multiple): Doc fixes.
210 2014-02-27  Daniel Colascione  <dancol@dancol.org>
212         * minibuffer.el (completion--nth-completion): Fix indentation.
214         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
215         explicit tramp path is empty.
217 2014-02-27  Glenn Morris  <rgm@gnu.org>
219         * emacs-lisp/crm.el (completing-read-multiple):
220         Empower help-enable-auto-load.
222 2014-02-26  Glenn Morris  <rgm@gnu.org>
224         * startup.el (command-line): Don't init the tty in daemon mode.
226         Avoid calling tty-setup-hook twice, eg if a term file
227         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
228         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
229         (tty-create-frame-with-faces): Use it.
230         * startup.el (command-line): Pass run-hook argument
231         to tty-run-terminal-initialization.
233         * dired.el (dired-restore-desktop-buffer): Demote errors;
234         eg in case a glob match fails.  (Bug#16884)
236 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
238         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
239         error from `read-from-string'.  (Bug#16850)
241         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
242         result of `completing-read' in the interactive form.  (Bug#16854)
244 2014-02-25  Glenn Morris  <rgm@gnu.org>
246         * image.el (image-animate, image-animate-timeout):
247         Stop animating images in dead buffers.  (Bug#16878)
249         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
251         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
252         Doc fixes.
253         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
254         * term/sun.el (sun-raw-prefix-hooks):
255         Use tty-setup-hook instead of term-setup-hook.
256         (terminal-init-sun): Construct message from bytecomp plist.
257         * term/wyse50.el (enable-arrow-keys): Doc fix.
259 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
261         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
262         Fix docstring typos.
264 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
266         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
268 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
270         * minibuffer.el (completion--try-word-completion):
271         Fix error when completing M-x commands (bug#16808).
273 2014-02-24  Leo Liu  <sdl.web@gmail.com>
275         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
277 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
279         * apropos.el (apropos-print): Avoid formatting error when
280         apropos-do-all and apropos-compact-layout are both t.
282 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
284         * apropos.el (apropos-property, apropos-all-words-regexp)
285         (apropos-true-hit, apropos-variable, apropos-print):
286         Fix docstring typos, and remove obsolete comment.
288 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
290         * net/tramp-sh.el (tramp-sh-handle-file-truename):
291         Preserve trailing "/".  (Bug#16851)
293 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
295         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
296         after `=>' (bug#16811).
297         (ruby-smie-rules): Handle the inconsistent second element of the
298         list returned by `smie-indent--parent'.
299         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
300         method call.
302 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
304         * elec-pair.el (electric-pair-text-syntax-table)
305         (electric-pair-syntax-info, electric-pair--syntax-ppss)
306         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
307         (electric-pair--looking-at-unterminated-string-p): Doc fix.
308         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
310 2014-02-22  Glenn Morris  <rgm@gnu.org>
312         * imenu.el (imenu--generic-function): Doc fix.
314         * register.el (frame-configuration-to-register): Make obsolete.
316 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
318         * desktop.el (desktop-save-buffer-p): Do not fail when
319         desktop-files-not-to-save is nil.  Return t for true result
320         as the doc says.
322 2014-02-22  Daniel Colascione  <dancol@dancol.org>
324         * net/secrets.el (secrets-create-item,secrets-search-items):
325         Check that attribute values are strings, avoiding the construction
326         of invalid dbus messages.
328 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
330         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
331         defun-declarations-alist.
333 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
335         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
336         (bug#16829).
338 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
340         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
341         (whitespace-newline, whitespace-trailing, whitespace-line)
342         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
343         (whitespace-space-after-tab): Fix typo in docstrings.
345 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
347         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
349         * electric.el (electric-indent-functions-without-reindent):
350         Add `yaml-indent-line'.
352 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
354         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
355         It has done nothing for years; should be removed after the release.
357         * simple.el (choose-completion): Fix docstring typo.
358         (read-quoted-char-radix): Remove unneeded * in docstring.
359         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
360         Don't escape parentheses unnecessarily in docstrings.
362 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
364         Fix handling of window-min-height/-width (Bug#16738).
365         * window.el (window--dump-window, window--dump-frame):
366         New functions.
367         (window--min-size-1): Account for window dividers.
368         When window-resize-pixelwise is nil, delay rounding till after the
369         sum of the window components has been calculated.
370         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
371         nil make sure at least one text line and two text columns remain
372         fully visible.
373         (window-resize): Signal an error when window-resize-apply fails.
374         (window--resize-child-windows): Fix calculation of by how many
375         pixels a window can still be shrunk via window-new-normal.
376         (adjust-window-trailing-edge): Call window--resizable with
377         correct TRAIL argument.
379         (with-temp-buffer-window): Don't evaluate BODY within
380         with-current-buffer (Bug#16816).
382 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
384         * net/tramp.el (tramp-check-cached-permissions):
385         Call `file-attributes' with `suffix' being a symbol but a string.
387 2014-02-21  Daniel Colascione  <dancol@dancol.org>
389         * net/dbus.el (dbus-init-bus-1): Declare new subr.
390         (dbus-init-bus): New function: call into dbus-init-bus-1
391         and installs a handler for the disconnect signal.
392         (dbus-call-method): Rewrite to look for result in cons.
393         (dbus-call-method-handler): Store result in cons.
394         (dbus-check-event): Recognize events with nil sender as valid.
395         (dbus-handle-bus-disconnect): New function.  React to bus
396         disconnection signal by synthesizing dbus error for each
397         pending synchronous or asynchronous call.
398         (dbus-notice-synchronous-call-errors): New function.
399         (dbus-handle-event): Raise errors directly only when `dbus-debug'
400         is true, not all the time.
402 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
404         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
405         Remove obsolescence declarations, these variables do not exist anymore.
407         * savehist.el (savehist-save-minibuffer-history)
408         (savehist-additional-variables, savehist-file, savehist-mode-hook)
409         (savehist-save-hook, savehist-coding-system, savehist-loaded)
410         (savehist-load, savehist-install, savehist-autosave): Fix typos;
411         mostly, refer to "Savehist mode" when talking about the mode,
412         and not the function.
414         * saveplace.el (save-place): Remove redundant info in docstring.
415         (save-place-forget-unreadable-files, toggle-save-place)
416         (save-place-forget-unreadable-files, save-place-dired-hook):
417         Fix typos and remove unneeded backslashes.
419 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
421         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
422         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
424         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
425         <insert-directory>: Use `tramp-handle-insert-directory'.
426         (tramp-gvfs-handle-insert-directory): Remove function.
428         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
429         Call `tramp-handle-insert-directory'.
431 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
433         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
434         before the start of buffer/region (bug#16799).
436 2014-02-20  Glenn Morris  <rgm@gnu.org>
438         * isearch.el (search-invisible): Doc fix.
440 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
442         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
443         (bug#16657).
445 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
447         * frameset.el (frameset-restore): Delay removing an old frame's
448         duplicate id until the new frame has been correctly created.
450 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
452         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
453         (tramp-check-cached-permissions): Call `file-attributes' if the
454         cache is empty.
456         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
457         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
459         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
460         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
461         (tramp-gvfs-maybe-open-connection): Set always connection
462         properties, even if target is mounted already.
464         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
465         Set tramp-autoload cookie.
466         (tramp-get-remote-touch): New defun.
467         (tramp-sh-handle-set-file-times): Use it.
468         (tramp-sh-handle-directory-files-and-attributes):
469         Use `tramp-handle-directory-files-and-attributes' if neither stat
470         nor perl are available on the remote host.
472         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
473         "/".  Write long listing only when "l" belongs to the switches.
475         * net/trampver.el: Update release number.
477 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
479         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
481 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
483         * window.el (window-state-put): Allow WINDOW to refer to an
484         internal window (Bug#16793).
486 2014-02-19  Glenn Morris  <rgm@gnu.org>
488         * textmodes/remember.el: Move provide statement to end.
489         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
490         (remember-notes): Doc fixes.
492 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
494         * delsel.el (delete-char): Restore incorrectly erased property
495         (bug#16795).
497 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
499         * frameset.el (frameset--restore-frame): When a frame is being reused
500         and its root window is not alive, delete all the frame's windows before
501         restoring the window state.  This works around the issue in bug#16793.
503 2014-02-18  Glenn Morris  <rgm@gnu.org>
505         * textmodes/remember.el (remember-data-directory)
506         (remember-directory-file-name-format, remember-store-in-files)
507         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
508         (remember-notes-save-and-bury-buffer)
509         (remember-notes--kill-buffer-query): Doc fixes.
511         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
513 2014-02-17  Alan Mackenzie  <acm@muc.de>
515         Connect electric-indent-mode up with CC Mode.  Bug #15478.
516         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
517         to electric-indent-{,local-}-mode.
518         (c-basic-common-init): Set electric-indent-inhibit.
519         Initialise c-electric-flag from electric-indent-mode.
520         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
521         New hook functions which propagate electric-indent-mode to CC mode.
523         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
524         hit, toggle electric-indent-local-mode.
526         * electric.el (electric-indent-mode-has-been-called):
527         New variable.
529 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
531         * frameset.el (frameset-cfg-id): New function.
532         (frameset--reuse-frame, frameset-restore): Use it.
533         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
535 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
537         * ido.el (ido-file-internal): Remove unused var `d'.
538         Use \` for to match BoS.  Fit within 80n columns.
540 2014-02-17  Daniel Colascione  <dancol@dancol.org>
542         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
543         dbus-call-method check for completion using a busy-wait loop with
544         gradual backoff.
546 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
548         Sync with Tramp 2.2.9.
550         * net/trampver.el: Update release number.
552 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
554         * ido.el (ido-file-internal): Don't add the name of an existing
555         directory twice.  (Bug#16747)
557 2014-02-16  Glenn Morris  <rgm@gnu.org>
559         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
560         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
562 2014-02-15  Michael R. Mauger  <michael@mauger.com>
564         * progmodes/sql.el: Version 3.4
565         (sql-oracle-options): New default value ("-L").
566         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
567         (sql-placeholders-filter): Correct placeholder pattern.
568         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
569         (sql-login-delay): New variable.
570         (sql-product-interactive): Use it.
572 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
574         * frameset.el (frameset--jump-to-register): Check that buffer is live
575         (bug#16749).
577 2014-02-15  Glenn Morris  <rgm@gnu.org>
579         * info.el (info-initialize): Revert 2014-01-10 change.
581 2014-02-14  Glenn Morris  <rgm@gnu.org>
583         * replace.el (map-query-replace-regexp)
584         (read-regexp-defaults-function, read-regexp): Doc fixes.
586         * dired.el (dired-read-regexp):
587         * faces.el (list-faces-display):
588         * misearch.el (multi-isearch-read-matching-buffers)
589         (multi-isearch-read-matching-files):
590         * play/cookie1.el (cookie-apropos):
591         * progmodes/grep.el (grep-read-regexp): Doc fixes.
593         * textmodes/remember.el (remember): Use frameset-to-register
594         rather than frame-configuration-to-register.
596 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
598         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
599         incorrect keybinding.
601 2014-02-13  Daniel Colascione  <dancol@dancol.org>
603         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
604         when adding overlays so that line numbers from compiler match line
605         numbers we use.
607 2014-02-13  Glenn Morris  <rgm@gnu.org>
609         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
611         * jit-lock.el (jit-lock-mode): Doc fix.
613 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
615         * apropos.el (apropos-read-pattern): When the user passes an empty
616         string, give a more helpful error message than "Wrong type
617         argument: stringp, nil".
619 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
621         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
623 2014-02-13  Glenn Morris  <rgm@gnu.org>
625         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
627 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
629         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
630         shift-select commands.
632 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
634         * progmodes/js.el (js-indent-line): Don't widen.
635         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
637 2014-02-12  Glenn Morris  <rgm@gnu.org>
639         * icomplete.el (icomplete): Add info-link to defgroup.
640         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
641         (icomplete-minibuffer-map, icomplete-mode)
642         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
644         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
645         (package-menu-filter): Rename from package-menu-filter-interactive.
646         Doc fix.
648 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
650         * frameset.el (frameset--jump-to-register): Select the required
651         window and buffer before restoring position (bug#16696).
653 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
655         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
657 2014-02-10  Glenn Morris  <rgm@gnu.org>
659         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
661 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
663         * w32-common-fns.el (x-get-selection): Doc fix.
664         * select.el (x-get-selection): Doc fix.  (Bug#15109)
666         * face-remap.el (face-remap-add-relative)
667         (face-remap-remove-relative, face-remap-reset-base)
668         (face-remap-set-base): Call force-mode-line-update to redisplay
669         the current buffer due to potential change in faces.  (Bug#16709)
671 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
673         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
674         script more robustly.
676 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
678         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
680         * simple.el (choose-completion): Doc fix (bug#14160).
682         * subr.el (event-start): Say what a nil EVENT value means.
684         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
685         (bug#14197).
687         * progmodes/grep.el (find-program): Doc fix (bug#14289).
689         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
691         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
693         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
694         predicate function (bug#15455).
696 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
698         * ielm.el (inferior-emacs-lisp-mode): Instead of
699         `comment-use-global-state', set `comment-use-syntax'.
701 2014-02-10  Glenn Morris  <rgm@gnu.org>
703         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
705 2014-02-09  Alan Mackenzie  <acm@muc.de>
707         Fix c-invalidate-state-cache on narrowed buffers.
708         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
709         Widen when setting and clearing the CPP delimiter properties.
711 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
713         * help.el (describe-bindings): Doc fix (bug#9888).
715         * files.el (save-buffer): Use ARG as the parameter name for
716         consistency (bug#10346).
717         (save-buffer): Clarify the 0 argument (bug#10346).
719         * cus-edit.el (customize-apropos): Fix error string.
720         (custom-buffer-create): Doc fix (bug#11122).
721         (custom-sort-items): Doc fix (bug#11121).
723         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
725         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
726         (icomplete-simple-completing-p): Mention the previous variable.
728         * font-lock.el (font-lock-value-in-major-mode): Clarify the
729         meaning of the parameter (bug#12282).
731         * files.el (find-file-noselect): Clarify prompt when changing
732         readedness (bug#13261).
733         (locate-file): Suffixes aren't returned, so don't say that they
734         are (bug#12674).
735         (backup-inhibited): Doc clarification (bug#12525).
737         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
738         before we actually start to delete things (bug#16331).
740         * subr.el (event-start): Doc fix (bug#14228).
741         (event-end): Ditto.
743 2014-02-09  Glenn Morris  <rgm@gnu.org>
745         * emacs-lisp/warnings.el (lwarn):
746         Empower help-enable-auto-load.  (Bug#15940)
748 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
750         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
751         (Bug#16690)
753 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
755         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
756         Insert output at end of buffer.  (Bug#16120)
758 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
760         * simple.el (choose-completion-string-functions): Document new
761         calling convention (bug#14153).
762         (execute-extended-command): Clarify doc string (bug#13373).
764         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
766         * find-dired.el (find-name-dired): Doc fix (bug#14290).
767         (find-grep-dired): Doc fix (bug#14288).
769 2014-02-08  Juri Linkov  <juri@jurta.org>
771         * isearch.el (isearch-quote-char): Check character validity
772         like in `quoted-insert' (bug#16677).
774 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
776         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
778         * isearch.el (isearch-hide-immediately): Doc clarification
779         (bug#14723).
781         * simple.el (line-move): Document utility function used many
782         places in the Emacs sources (bug#14843).
784         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
785         (dired-prev-marked-file): Doc fix (bug#14855).
786         (dired-up-directory): Doc fix (bug#14848).
788         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
790         * files.el (file-relative-name): Doc fix (bug#15159).
792         * fringe.el (fringe-styles): Doc fix (bug#15239).
794         * isearch.el (isearch-filter-predicate): Documentation typo fix
795         (bug#15474).
797         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
799         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
801         * replace.el (replace-match-maybe-edit): Doc clarification
802         (bug#15632).
804         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
806         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
808 2014-02-08  Glenn Morris  <rgm@gnu.org>
810         * help-fns.el (describe-variable):
811         Check {file,dir}-local-variables-alist, and buffer-file-name,
812         in the correct buffer.
814 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
816         * help-fns.el (describe-variable): Fix the case where
817         a value is directory-local with no dir-locals file.  (Bug#16635)
819 2014-02-08  Glenn Morris  <rgm@gnu.org>
821         * abbrev.el (edit-abbrevs-mode):
822         Derive from fundamental-mode.  (Bug#16682)
824 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
826         * simple.el (quoted-insert): Check character validity (bug#16677).
828 2014-02-07  Juri Linkov  <juri@jurta.org>
830         * desktop.el (desktop-read): Claim the lock when the owner is not
831         the current process.  (Bug#16157)
833 2014-02-07  Juri Linkov  <juri@jurta.org>
835         * desktop.el (desktop-buffers-not-to-save): Change default from nil
836         to "\\` ".  (Bug#16651)
838 2014-02-07  Juri Linkov  <juri@jurta.org>
840         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
841         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
842         (desktop-auto-save-cancel-timer): New function with some code from
843         `desktop-auto-save-set-timer'.
844         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
845         Instead of setting `desktop-save-mode' to nil, call
846         `desktop-save-mode' with arg 0.  (Bug#16630)
848 2014-02-07  Glenn Morris  <rgm@gnu.org>
850         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
851         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
852         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
854         * obsolete/iswitchb.el: Move to obsolete/.
855         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
856         since obsolete/ is not scanned for autoloads.
857         * emacs-lisp/authors.el (authors-valid-file-names):
858         Add iswitchb.el.
860         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
861         Disable now non-functional find-file-hook.
863 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
865         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
866         instead of ";" in order to avoid additional prompts.  Let heredoc
867         scripts read from tty.  (Bug#16582)
868         (tramp-send-command): No special handling of heredocs, it isn't
869         necessary anymore.
871 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
873         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
874         with a space (bug#16664).  Limit the symbols considered to the ones
875         that are bound or fbound (bug#16646).
877 2014-02-06  Glenn Morris  <rgm@gnu.org>
879         * epa.el (epa-mail-aliases): Doc fix.
881 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
883         * emacs-lisp/lisp.el (lisp-completion-at-point):
884         Use `completion-table-merge' instead of `completion-table-in-turn'
885         (bug#16604).
887         * minibuffer.el (completion-table-merge): New function.
889 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
891         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
892         (tramp-sh-handle-set-file-acl)
893         (tramp-sh-handle-start-file-process)
894         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
895         (tramp-find-executable, tramp-send-command): Use it.
897 2014-02-05  Glenn Morris  <rgm@gnu.org>
899         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
901 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
903         * progmodes/python.el (python-shell-send-string)
904         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
906 2014-02-04  Anders Lindgren  <andlind@gmail.com>
908         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
909         the names (bug#16620).
911 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
913         * faces.el (window-divider): New default value.  Rewrite doc-string.
914         (window-divider-first-pixel, window-divider-last-pixel): New faces.
916 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
918         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
919         `protected' and `public' can also be called without arguments.
921 2014-02-03  Glenn Morris  <rgm@gnu.org>
923         * register.el (window-configuration-to-register)
924         (frame-configuration-to-register): Unadvertise unused argument.
925         * frameset.el (frameset-to-register): Remove unused argument.
927         * frameset.el (frameset-to-register):
928         * kmacro.el (kmacro-to-register):
929         * register.el (increment-register):
930         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
931         (calc-append-to-register, calc-prepend-to-register):
932         * play/gametree.el (gametree-layout-to-register)
933         (gametree-apply-register-layout):
934         * textmodes/picture.el (picture-clear-rectangle-to-register)
935         (picture-yank-rectangle-from-register):
936         * vc/emerge.el (emerge-combine-versions-register):
937         Use register-read-with-preview to read registers.
939 2014-02-03  João Távora  <joaotavora@gmail.com>
941         * elec-pair.el (electric-pair-backward-delete-char): Don't error
942         when at beginning of (possibly narrowed) buffer.
944 2014-02-02  Daniel Colascione  <dancol@dancol.org>
946         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
947         Also try to display local help from just before point.
949 2014-02-02  Alan Mackenzie  <bug-cc-mode@gnu.org>
951         c-parse-state.  Don't "append-lower-brace-pair" in certain
952         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
953         recognised as a comment.
955         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
956         as well as normal comment starter.
957         (c-parse-state-get-strategy): Extra return possibility
958         'back-and-forward.
959         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
960         return value list to indicate replacement of a brace-pair cons
961         with its car.
962         (c-parse-state-1): With 'back-and-forward, only call
963         c-append-lower-brace-pair-to state-cache when cons-separated.
965 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
967         * term/ns-win.el (ns-suspend-error): New function.
968         (ns-initialize-window-system): Add ns-suspend-error to
969         suspend-hook (Bug#16612).
971 2014-02-02  Daniel Colascione  <dancol@dancol.org>
973         * progmodes/cc-defs.el (c-find-assignment-for-mode):
974         Make loading cc-mode silent.
976 2014-02-02  Daniel Colascione  <dancol@dancol.org>
978         * comint.el (comint-prompt-read-only): Change doc to suggest
979         remap keybinding.
981 2014-02-02  Glenn Morris  <rgm@gnu.org>
983         * register.el (register-read-with-preview, point-to-register)
984         (window-configuration-to-register, frame-configuration-to-register)
985         (jump-to-register, number-to-register, view-register, insert-register)
986         (copy-to-register, append-to-register, prepend-to-register)
987         (copy-rectangle-to-register): Doc fixes.
989 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
991         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
992         * emacs-lisp/find-func.el (find-function-C-source): Idem.
993         * emacs-lisp/nadvice.el (advice--cd*r): New function.
994         * help-fns.el (describe-function-1): Use it.
996 2014-02-02  Glenn Morris  <rgm@gnu.org>
998         * register.el (register-preview-default): New function,
999         split from register-preview.
1000         (register-preview-function): Rename from register-preview-functions,
1001         make it not a hook.
1002         (register-preview): Use register-preview-function.
1003         (register-read-with-preview): Error on non-character event.  (Bug#16595)
1005 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
1007         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1008         `:' before binary operators (bug#16609).  Don't check for `:'
1009         before `[' and `(', or their syntax status.  A percent literal
1010         can't end with either.
1011         (ruby-font-lock-keywords): For built-ins that require arguments,
1012         check that they're followed by something that looks like argument
1013         (bug#16610).
1015 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
1017         * subr.el (butlast): Document what an omitted N means (bug#13437).
1018         (nbutlast): Ditto.
1020 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
1022         * net/shr.el (shr-generic): Make into a defsubst to make the stack
1023         depth shallower (bug#16587).
1024         (shr-tag-svg): Respect `shr-inhibit-images'.
1025         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1027 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
1029         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1030         (ruby-smie-grammar): Make "." right-associative.  Make its priority
1031         lower than the ternary and all binary operators.
1032         (ruby-smie-rules): Indent "(" relative to the first non-"."
1033         parent, or the first "." parent at indentation.
1034         Use `ruby-align-chained-calls' for indentation of "." tokens.
1035         (Bug#16593)
1037 2014-01-31  Juri Linkov  <juri@jurta.org>
1039         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1040         from `make-hash-table'.
1042         * textmodes/ispell.el (ispell-init-process): Change message format
1043         to be consistent with other messages.
1045 2014-01-31  Glenn Morris  <rgm@gnu.org>
1047         * delsel.el (delete-selection-mode): Doc fix.
1049         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1050         (trace-function-background): Doc fixes.
1052         * ido.el (ido-use-virtual-buffers): Doc fix.
1053         Reset :version, since the default value has not changed.
1055         * register.el (register-preview-delay, register-read-with-preview):
1056         Doc fixes.
1058         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1059         do not mess with mail-buffer position (fixes 2009-11-03 change).
1060         * progmodes/cc-mode.el (c-submit-bug-report):
1061         Check auto-fill-mode is bound.  (Bug#16592)
1063 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
1065         * startup.el (fancy-splash-image-file): New function,
1066         split from fancy-splash-head.
1067         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1068         so that we are both using the same image.  (Bug#16574)
1070 2014-01-30  Glenn Morris  <rgm@gnu.org>
1072         * simple.el (eval-expression): Doc fix.
1074         * hexl.el (hexl-mode-hook):
1075         * ielm.el (ielm-mode-hook):
1076         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1077         (lisp-interaction-mode-hook):
1078         * progmodes/cfengine.e (cfengine3-documentation-function):
1079         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1081 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1083         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1084         is a symbol (bug#16584).
1086 2014-01-30  Glenn Morris  <rgm@gnu.org>
1088         * help.el (help-for-help-internal): Add "P" to text.
1090 2014-01-29  Glenn Morris  <rgm@gnu.org>
1092         * simple.el (just-one-space, cycle-spacing): Doc fixes.
1094 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
1096         * window.el (fit-frame-to-buffer): Fix calculations for margins and
1097         height constraints.
1099 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
1101         * progmodes/hideif.el: Extend to full CPP expression syntax.
1102         (hif-token-alist): Add missing tokens.
1103         (hif-token-regexp): Add support for float/octal/hex immediates.
1104         (hif-string-literal-regexp): New const.
1105         (hif-tokenize): Recognize strings and float/octal/hex immediates.
1106         (hif-exprlist): New function.
1107         (hif-parse-if-exp): Use it.
1108         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1109         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1110         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1111         (hif-logxor, hif-comma): New functions.
1113 2014-01-28  Glenn Morris  <rgm@gnu.org>
1115         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1117         * indent.el (tab-stop-list): Doc fix.  Add :version.
1119         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1120         (cvs-append-to-ignore): Add compatibility alias.
1122 2014-01-27  Glenn Morris  <rgm@gnu.org>
1124         * dired.el (dired-hide-details-mode): Don't autoload it,
1125         since it cannot be used outside Dired buffers anyway.
1127         * emulation/cua-base.el (cua-mode): Doc fix.
1129         * dired.el (dired-hide-details-hide-symlink-targets)
1130         (dired-hide-details-hide-information-lines)
1131         (dired-hide-details-mode): Doc fixes.
1133         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1134         * strokes.el (strokes-file): Doc fix.  Bump :version.
1135         (strokes-help): Doc fix.
1136         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1137         * emulation/viper.el (viper): Doc fix for custom group.
1138         (top-level): Remove oh-so-no-longer-relevant text about vip.
1139         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1141         * ido.el (ido-save-directory-list-file):
1142         * saveplace.el (save-place-file):
1143         * calendar/timeclock.el (timeclock-file):
1144         * net/quickurl.el (quickurl-url-file):
1145         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1146         * progmodes/idlwave.el (idlwave-config-directory):
1147         * textmodes/remember.el (remember-data-file):
1148         Bump :version.
1150 2014-01-26  Glenn Morris  <rgm@gnu.org>
1152         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1153         Doc fix.  Make obsolete.
1154         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1156         * sort.el (delete-duplicate-lines): Doc fix.
1158 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1160         * progmodes/ada-mode.el (ada):
1161         * woman.el (woman): Link to info manual and Commentary section.
1163         * progmodes/flymake.el (flymake):
1164         * nxml/nxml-mode.el (nxml):
1165         * net/eww.el (eww):
1166         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1167         * htmlfontify.el (htmlfontify):
1168         * ses.el (ses):
1169         * epa.el (epa):
1170         * ido.el (ido): Link to info manual.
1172 2014-01-25  Leo Liu  <sdl.web@gmail.com>
1174         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1176 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
1178         * net/shr.el (shr-tag-img): Prefer the title over the alt text
1179         (bug#16537).
1181 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
1183         * net/eww.el (eww-download-callback):
1184         Fix reference to eww-download-directory.
1186         * emacs-lisp/bytecomp.el (byte-compile-file):
1187         Remove unused local variable `file-name'.
1189 2014-01-24  Glenn Morris  <rgm@gnu.org>
1191         * woman.el (woman-default-faces, woman-monochrome-faces):
1192         Fix obsolescence specification.
1194         * subr.el (with-demoted-errors): Doc fix.
1196 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1198         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1199         (cl--macroexp-fboundp): New function.
1200         (cl--make-type-test): Use it.
1202 2014-01-23  Glenn Morris  <rgm@gnu.org>
1204         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1205         * simple.el (eval-expression): Doc fixes.
1207 2014-01-22  Glenn Morris  <rgm@gnu.org>
1209         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1211 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1213         * emacs-lisp/package.el: Write files silently.
1214         (package-autoload-ensure-default-file, package--write-file-no-coding)
1215         (package-generate-description-file, package--download-one-archive)
1216         (package-install-from-archive): Tell `write-region' to stay quiet.
1217         (package-menu-mode, package-menu--print-info): Omit the Archive column
1218         if there's only one archive.
1219         (package-all-keywords, package--has-keyword-p): Remove dead code.
1221 2014-01-22  Glenn Morris  <rgm@gnu.org>
1223         * version.el (emacs-bzr-version-bzr): Fix typo.
1225         * version.el (emacs-repository-get-version):
1226         Check either .bzr or .git, but not both.
1227         Make the git case actually use the DIR argument, and return nil
1228         rather than the empty string.
1229         Avoid error if .git exists but the git executable is not found.
1231 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
1233         Fixes in window size functions around Bug#16430 and Bug#16470.
1234         * window.el (window-total-size, window-size): New argument ROUND.
1235         (window--min-delta-1, window-min-delta, window--max-delta-1):
1236         Be more conservative when calculating the numbers of lines or
1237         columns a window can shrink (Bug#16430).
1238         (fit-window-to-buffer): Simplify code.
1239         * term.el (term-window-width): Call window-body-width again.
1241 2014-01-22  Glenn Morris  <rgm@gnu.org>
1243         * image.el (image-format-suffixes): Doc fix.
1245         * international/quail.el (quail-define-package): Doc fix.
1247         * emacs-lisp/authors.el (authors-valid-file-names)
1248         (authors-renamed-files-alist): Additions.
1250         * vc/vc-git.el (vc-git-print-log): Remove --follow;
1251         reverts 2014-01-09 change.  (Bug#16422)
1253         * calc/calc-embed.el (thing-at-point-looking-at):
1254         * emacs-lisp/map-ynp.el (x-popup-dialog):
1255         * obsolete/lmenu.el (x-popup-dialog):
1256         * emacs-lisp/package.el (url-recreate-url):
1257         * mail/mailclient.el (clipboard-kill-ring-save):
1258         * subr.el (x-popup-dialog): Update declaration.
1259         * mail/rmail.el (rmail-mime-message-p):
1260         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1262 2014-01-21  Daniel Colascione  <dancol@dancol.org>
1264         * progmodes/sh-script.el (sh--inside-noncommand-expression):
1265         Correctly detect when we're inside an arithmetic expansion form
1266         containing nested parenthesis.
1267         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1268         to detect cases where we shouldn't expand "<<" to a heredoc
1269         skeleton.
1271 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1273         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1274         (eldoc--message-command-p): New function.
1275         (eldoc-display-message-p): Use it.
1276         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1277         message is not automatically erased for us.
1278         (eldoc-print-current-symbol-info): Erase previous message, if any.
1280 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
1282         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1283         specify it's an interactive function.
1285         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1286         Fix regex used for scanning for citation keys which failed for
1287         citations with optional arguments.
1289 2014-01-21  Leo Liu  <sdl.web@gmail.com>
1291         * simple.el (read--expression): Don't enable eldoc-mode.
1293 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1295         * simple.el (move-beginning-of-line): Make sure we don't move forward
1296         (bug#16497).
1298 2014-01-20  Juri Linkov  <juri@jurta.org>
1300         * saveplace.el (toggle-save-place, save-place-to-alist)
1301         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1302         'dired-mode) before checking for dired-directory.  (Bug#16477)
1304 2014-01-20  Juri Linkov  <juri@jurta.org>
1306         * indent.el (indent-line-to): Use backward-to-indentation
1307         instead of back-to-indentation.  (Bug#16461)
1309 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
1311         Revert some of the CANNOT_DUMP fix (Bug#16494).
1312         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1313         but fixing this can wait until after the next release.
1314         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1316 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
1318         * eshell/esh-mode.el (eshell-password-prompt-regexp):
1319         Use `password-word-equivalents'.
1320         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1321         to t.  (Bug#5664, Bug#13124)
1323 2014-01-19  Alan Mackenzie  <acm@muc.de>
1325         Bind open-paren-in-column-0-is-defun-start to nil at some entry
1326         points.
1327         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1328         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1329         * progmodes/cc-mode.el (c-before-change, c-after-change)
1330         (c-font-lock-fontify-region): Bind it here.
1332 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
1334         * term.el (term-window-width): Call window-text-width instead of
1335         window-width (Bug#16470).
1337 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
1339         * simple.el (password-word-equivalents): Remove duplicates.
1340         Sort, to make this easier next time.
1341         Downcase.  Omit ": " after "jelszó".
1343 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
1345         * term/common-win.el (saved-region-selection): Defvar it.
1346         (x-select-text): Set saved-region-selection (Bug#16382).
1348 2014-01-18  Glenn Morris  <rgm@gnu.org>
1350         * emacs-lisp/authors.el (authors-aliases)
1351         (authors-renamed-files-alist): Add some entries.
1353 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
1355         * net/tramp.el (tramp-password-prompt-regexp):
1356         Use `password-word-equivalents' if available.
1357         (tramp-action-password, tramp-process-one-action)
1358         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
1360 2014-01-17  Chong Yidong  <cyd@gnu.org>
1362         * simple.el (password-word-equivalents): New defcustom.
1363         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
1364         to 24.4.
1365         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1366         to t.  (Bug#13124)
1368 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
1370         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1371         (ruby-align-to-stmt-keywords): Change the default value.
1372         Use `ruby-alignable-keywords' to generate the possible customization
1373         choices.
1374         (ruby-smie-rules): Instead of using a hardcoded list of alignable
1375         keywords, check against the value of `ruby-alignable-keywords'
1376         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1378 2014-01-17  Glenn Morris  <rgm@gnu.org>
1380         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1382         Make M-x authors return zero *Authors Errors* from current logs.
1383         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1384         (authors-ignored-files): Add some entries, remove others.
1385         (authors-ambiguous-files, authors-valid-file-names):
1386         Add some entries.
1387         (authors-renamed-files-alist): Add, remove, and adjust entries.
1388         (authors-renamed-files-regexps): Add some entries.
1389         Remove some very broad ones.  Make some entries `lax'.
1390         (authors-lax-changelogs): New constant.
1391         (authors-disambiguate-file-name): Treat top-level specially.
1392         (authors-lax-changelog-p): New function.
1393         (authors-canonical-file-name): Check file as written against
1394         authors-valid-file-names.  Do not special-case etc/.
1395         Handle `lax' logs and authors-renamed-files-regexps elements.
1397 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
1399         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1400         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
1401         callers.
1403 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1405         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1406         Assume we're already in the proper buffer.
1407         Inspired by Anders Lindgren <andlind@gmail.com>.
1408         (follow-post-command-hook): Call it from the right buffer.
1409         (follow-comint-scroll-to-bottom): Adjust call.
1410         (follow-all-followers): Use get-buffer-window-list.
1412 2014-01-15  Daniel Colascione  <dancol@dancol.org>
1414         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1415         `buffer-file-name' in interactive-form so that we don't leave
1416         pathless file names in `file-name-history'.
1418 2014-01-15  Juri Linkov  <juri@jurta.org>
1420         * indent.el (indent-rigidly): Set deactivate-mark to nil
1421         in transient indentation mode.  (Bug#16438)
1423 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
1425         * emacs-lisp/package.el (package-desc-keywords): New function
1426         (Bug#16222).
1427         (describe-package-1, package-all-keywords)
1428         (package--has-keyword-p): Use it.
1430 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1432         * simple.el (define-alternatives): When creating the
1433         COMMAND-alternatives variable, assign COMMAND as its definition
1434         name so that `describe-variable' can relocate it.
1436 2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)
1438         * font-lock.el (font-lock-keywords): Fix typo in docstring
1439         (bug#16307).
1441 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1443         * ispell.el (ispell-region): Reset `in-comment' for new line
1444         instead of wrongly reset `add-coment' (bug#13577).
1446 2014-01-14  Daiki Ueno  <ueno@gnu.org>
1448         * epa-file.el (epa-file-write-region): Encode the region according
1449         to `buffer-file-format'.  Problem reported at:
1450         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1452 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1454         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1455         so it applies in the right buffer (bug#16410).
1457 2014-01-13  Daniel Colascione  <dancol@dancol.org>
1459         * textmodes/rst.el (rst-define-key): Provide deprecated
1460         keybindings through named functions instead of anonymous ones so
1461         that "??" doesn't appear in describe-mode output.
1463 2014-01-13  Bastien Guerry  <bzg@gnu.org>
1465         * simple.el (define-alternatives): Call the selected command
1466         interactively.  When setting `COMMAND--implementation' for the
1467         first time, tell the user how to chose another implementation.
1468         Enhance the docstring.
1470 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1472         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1473         (log-edit--match-first-line): New function.
1474         (log-edit-font-lock-keywords): Use it.
1475         (log-edit-mode): Make jit-lock-defer-multiline work.
1477 2014-01-13  Bastien Guerry  <bzg@gnu.org>
1479         * rect.el (rectangle-mark-mode): When the region is not active,
1480         display a message saying that the mark as been set and that
1481         rectangle mode is in use.
1482         (rectangle--highlight-for-redisplay): Only put an overlay with a
1483         visible vertical bar when (display-graphic-p) is non-nil.
1484         This partially fixes Bug#16403.
1486 2014-01-13  Juri Linkov  <juri@jurta.org>
1488         * info.el (Info-find-file): Go to DIR before displaying the error
1489         about a nonexistent file if no previous Info file is visited.
1490         Use `user-error' instead of `error' for "Info file %s does not exist".
1491         (Info-find-node-2): In case of a nonexistent node in unwind forms
1492         go to the Top node if there is no previous node to revert to.
1493         (Bug#16405)
1495 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
1497         fit-frame/window-to-buffer code fixes including one for Bug#14096.
1498         * window.el (fit-frame-to-buffer): Fix doc-string.
1499         Respect window-min-height/-width.  Fit pixelwise when
1500         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
1501         when avoiding that frame goes partially off-screen.
1502         (fit-window-to-buffer): Respect window-min-height/-width
1503         (Bug#14096).
1505 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1507         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1508         after an empty line.
1510 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1512         * net/shr.el (shr-render-region): Autoload.
1514 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
1516         * net/eww.el (eww-download-directory): Rename from
1517         `eww-download-path' (Bug#16419).
1519 2014-01-12  Leo Liu  <sdl.web@gmail.com>
1521         * dired-x.el (dired-mode-map): Fix last change.
1523         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1525 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
1527         Spelling fixes.
1528         * emacs-lisp/generic.el (generic--normalize-comments):
1529         Rename from generic--normalise-comments.  All uses changed.
1530         * play/bubbles.el (bubbles--neighborhood-score)
1531         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1532         (bubbles--neighborhood-available)
1533         (bubbles--update-neighborhood-score):
1534         Rename from names with 'neighbourhood'.  All uses changed.
1536 2014-01-12  Leo Liu  <sdl.web@gmail.com>
1538         Re-implement the feature of showing eldoc info after editing.
1539         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1540         (eldoc-edit-message-commands): New function.
1541         (eldoc-print-after-edit): New variable.
1542         (eldoc-pre-command-refresh-echo-area): Emit message only by
1543         eldoc-message-commands.
1544         (eldoc-mode): Restrict eldoc-message-commands to editing commands
1545         if eldoc-print-after-edit is set.  (Bug#16346)
1546         * simple.el (read--expression): Enable eldoc-mode.
1547         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1549 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
1550             Eric S. Raymond  <esr@thyrsus.com>
1552         * version.el (emacs-repository-get-version): Enhance so the
1553         function works correctly in either a Bazaar or Git repo.
1555 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
1557         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1558         Goes with removal of the joke manpages from /etc.
1560 2014-01-10  Kenichi Handa  <handa@gnu.org>
1562         * mail/rmail.el (rmail-get-coding-system):
1563         Check rmail-get-coding-function before "funcall"ing it.
1565 2014-01-10  Glenn Morris  <rgm@gnu.org>
1567         * emacs-lisp/authors.el (authors-fixed-entries):
1568         Update for files that no longer exist.
1570 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
1572         * version.el (emacs-bzr-get-version): Restore compatibilty with
1573         24.3 (Tested).
1575 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
1577         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1578         and Podfile.
1580 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
1582         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1584 2014-01-10  Chong Yidong  <cyd@gnu.org>
1586         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1588 2014-01-10  Anders Lindgren  <andlind@gmail.com>
1590         * follow.el (follow-cache-command-list): Include right-char and
1591         left-char.
1593 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
1595         Spelling fixes.
1596         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1597         * woman.el (woman-mark-horizontal-position):
1598         Rename from woman-mark-horizonal-position.  Use changed.
1600 2014-01-10  Glenn Morris  <rgm@gnu.org>
1602         * info.el (info-initialize): If running uninstalled, ensure our
1603         own info files are always found first, even if INFOPATH is set.
1605         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1607 2014-01-09  David Engster  <deng@randomsample.de>
1609         * emacs-lisp/eieio-custom.el:
1610         * emacs-lisp/eieio-opt.el: Set generated autoload file to
1611         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1612         * emacs-lisp/eieio.el: Regenerate autoloads.
1614 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
1616         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1617         following renames.  (Bug#8756)
1619 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1621         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1622         (bug#16382).
1623         (activate-mark): Add `no-tmm' argument.
1624         (set-mark, push-mark-command): Use it instead of running
1625         activate-mark-hook by hand.
1627 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
1629         In preparation for the move to git, sanitize out some
1630         Bazaar-specific names.
1632         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1634         * version.el (emacs-bzr-version): Name changed to
1635         emacs-repository-version.  Obsolete-variable alias made.
1636         * loadup.el: Follow through on this name change.
1637         * mail/emacsbug.el (report-emacs-bug): Factor out any
1638         assumption about the version control system in use.
1640 2014-01-08  David Engster  <deng@randomsample.de>
1642         * help-fns.el (help-fns-describe-function-functions):
1643         New variable to call functions for augmenting help buffers.
1644         (describe-function-1): Remove explicit calls to
1645         `help-fns--compiler-macro', `help-fns--parent-mode' and
1646         `help-fns--obsolete'.  Put them in above new variable instead, and
1647         call them through `run-hook-with-args'.
1648         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1649         `eieio-describe-class'.  Not meant for interactive use anymore,
1650         but to augment existing help buffers.  Remove optional second
1651         argument.  Create proper button for file location.
1652         Rewrite function to use `insert' instead of `princ' and `prin1' where
1653         possible.
1654         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1655         (eieio-method-def, eieio-class-def): Move further up.
1656         (describe-method, describe-generic, eieio-describe-method):
1657         Remove aliases.
1658         (eieio-help-constructor, eieio-help-generic): Rename from
1659         `eieio-describe-constructor' and `eieio-describe-generic', resp.
1660         Rewrite to use `insert' in the current buffer and use proper help
1661         buttons.
1662         (eieio-help-find-method-definition)
1663         (eieio-help-find-class-definition): Also accept symbols as
1664         arguments.
1665         (eieio-help-mode-augmentation-maybee): Remove.
1666         (eieio-describe-class-sb): Use `describe-function'.
1667         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1668         Add `eieio-help-generic' and `eieio-help-constructor'.
1670 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
1672         Spelling fixes.
1673         * language/china-util.el (hz-ascii-designation):
1674         Rename from hz-ascii-designnation.
1675         (hz-ascii-designation): Rename from hz-ascii-designnation.
1676         All uses changed.
1678 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1680         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1681         package-alist.
1683 2014-01-08  Bastien Guerry  <bzg@gnu.org>
1685         * emacs-lisp/package.el (package-delete):
1686         Correctly delete the package from package-alist.
1688 2014-01-08  Daiki Ueno  <ueno@gnu.org>
1690         * emacs-lisp/package.el (url-recreate-url): Declare.
1691         (url-http-target-url): Declare.
1692         (package-handle-response): Include requested URL in the error message.
1693         (package--check-signature): Don't re-signal errors from
1694         package--with-work-buffer.  Suggested by Stefan Monnier.
1696 2014-01-07  Bastien Guerry  <bzg@gnu.org>
1698         * minibuffer.el (completion--try-word-completion): When both a
1699         hyphen and a space are possible candidates for the character
1700         following a word, display both candidates.  (Bug#15980)
1702 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
1704         * window.el (balance-windows-2): While rounding don't give a
1705         window more than the remainder.  Bug#16351, bug#16383.
1707 2014-01-07  Glenn Morris  <rgm@gnu.org>
1709         * menu-bar.el (menu-bar-help-extra-packages): Remove.
1710         (menu-bar-help-menu): Use view-external-packages instead.
1712 2014-01-07  Bastien Guerry  <bzg@gnu.org>
1714         * emacs-lisp/package.el (package-delete): Also delete the package
1715         name from `package-alist', not its description only.
1717 2014-01-07  Glenn Morris  <rgm@gnu.org>
1719         * help.el (view-external-packages):
1720         * menu-bar.el (menu-bar-help-extra-packages):
1721         Visit efaq.info rather than etc/MORE.STUFF.
1723 2014-01-07  Juri Linkov  <juri@jurta.org>
1725         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1726         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
1728         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1729         that shadows RET.  (Bug#16342)
1731 2014-01-07  Chong Yidong  <cyd@gnu.org>
1733         * isearch.el (isearch-yank-char, isearch-yank-word)
1734         (isearch-yank-line): Doc fix.
1736 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1738         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1739         * emacs-lisp/elint.el (elint-find-builtins):
1740         * emacs-lisp/eldoc.el (eldoc-symbol-function):
1741         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1742         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1743         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1744         * apropos.el (apropos-safe-documentation):
1745         * subr.el (symbol-file): Remove redundant fboundp.
1746         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1748 2014-01-06  Bastien Guerry  <bzg@gnu.org>
1750         * hl-line.el (global-hl-line-overlay): Make a local variable.
1751         (global-hl-line-overlays): New variable to store all overlays.
1752         (global-hl-line-mode): Don't delete overlays from the current
1753         buffer when `global-hl-line-sticky-flag' is non-nil.
1754         (global-hl-line-highlight): Add new overlays to
1755         `global-hl-line-overlays'.
1756         (global-hl-line-unhighlight-all): New function to delete all
1757         overlays when turning off `global-hl-line-mode'.
1758         This fixes Bug#16183.
1760 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1762         * subr.el (set-transient-map): Fix nested case and docstring.
1764 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
1766         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1767         `Texinfo' entry.
1769 2014-01-06  Daniel Colascione  <dancol@dancol.org>
1771         Fix defun navigation in vc log view.
1773         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1774         like `beginning-of-defun'.
1775         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1776         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
1777         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1778         (log-view-extract-comment): Call `log-view-current-entry' directly
1779         instead of relying on broken `log-view-beginning-of-defun' behavior.
1781 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
1783         Spelling fixes.
1784         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1785         * emacs-lisp/debug.el (cancel-debug-on-entry):
1786         * epg.el (epg-error-to-string):
1787         * files.el (recover-file):
1788         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1789         * mail/emacsbug.el (report-emacs-bug-hook):
1790         * mail/sendmail.el (mail-recover):
1791         * ses.el (ses-yank-resize):
1792         * term/ns-win.el (ns-print-buffer):
1793         Spelling fixes in diagnostics, mostly for "canceled" with one L.
1794         * epg.el (epg-key-capability-alist): Rename from misspelled version.
1795         All uses changed.
1796         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1798 2014-01-06  Leo Liu  <sdl.web@gmail.com>
1800         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1801         to avoid shadowing global key.  (Bug#16354)
1803 2014-01-06  Daniel Colascione  <dancol@dancol.org>
1805         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1806         rst-mode.
1808 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
1810         * window.el (balance-windows): Add mising t to fix Bug#16351.
1812 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1814         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1815         (bug#16285).
1816         (shr-insert): If we have a word that's longer than `shr-width',
1817         break after it anyway.  Otherwise we'll do no breaking once we get
1818         such a long word.
1820 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1822         * net/eww.el (eww): Support single/double quote for search.
1823         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1824         (eww-history-quit): Delete and use quit-window.
1825         (eww-history-kill): Delete, because it doesn't work well and
1826         not necessary.
1827         (eww-history-mode-map): Delete some keys and add easy-menu.
1829 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
1831         Fix misspelling of 'chinese' in rx (Bug#16237).
1832         * emacs-lisp/rx.el (rx-categories): Correct spelling of
1833         chinese-two-byte.
1835         Change subword regexps back to vars (Bug#16296).
1836         * progmodes/subword.el (subword-forward-regexp)
1837         (subword-backward-regexp): Change these back to variables.
1839 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1841         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1842         syntax-begin-function (bug#16247).
1844 2014-01-03  Chong Yidong  <cyd@gnu.org>
1846         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1847         (advice--docstring): Delete variable.
1848         (advice--make-1): Leave the docstring empty.
1849         (advice-add): Use function-documentation for advised docstring.
1851         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1852         Ignore function-documentation property when getting documentation.
1853         (ad-activate-advised-definition): Use function-documentation
1854         generate the docstring.
1855         (ad-make-advised-definition): Don't call
1856         ad-make-advised-definition-docstring.
1857         (ad-make-advised-definition-docstring, ad-advised-definition-p):
1858         Delete functions.
1860         * progmodes/sql.el (sql-help): Use function-documentation instead
1861         of dynamic-docstring-function property.  No need to autoload now.
1862         (sql--help-docstring): New variable.
1863         (sql--make-help-docstring): Use it.
1865 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1867         * ielm.el (ielm-tab): Retarget.
1868         (ielm-map): Use ielm-tab for tab.
1869         (ielm-complete-filename): Use comint-filename-completion.
1870         (ielm-complete-symbol): Remove.
1871         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1872         remove ielm-tab from completion-at-point-functions (bug#16224).
1874         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1875         Beware signals raised by predicates (bug#16201).
1877 2014-01-02  Richard Stallman  <rms@gnu.org>
1879         * dired-aux.el (dired-do-print): Handle printer-name.
1881         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1882         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1883         (rmail-epa-decrypt): Turn off mime processing.
1885         * mail/rmail.el (rmail-make-in-reply-to-field):
1886         Add parens in message-id.
1888         * mail/rmail.el (rmail-get-coding-function): Variable.
1889         (rmail-get-coding-system): Use it.
1891 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
1893         * international/mule-conf.el: Unify the charset indian-is13194.
1894         (indian-is13194): Specify unify-map.
1896 2013-12-31  Leo Liu  <sdl.web@gmail.com>
1898         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
1900 2013-12-30  Daniel Colascione  <dancol@dancol.org>
1902         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1903         of printing a useless when we resume from sleep.
1905         * progmodes/sh-script.el
1906         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1907         in indentation code.  (Bug#16233)
1909 2013-12-28  João Távora  <joaotavora@gmail.com>
1911         * elec-pair.el (electric-pair-post-self-insert-function):
1912         Don't open extra newlines at beginning of buffer.  (Bug#16272)
1914 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
1916         * frame.el (window-system-for-display): Don't allow to create a
1917         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
1919 2013-12-28  Glenn Morris  <rgm@gnu.org>
1921         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1922         Update callers.
1924         * apropos.el (apropos-match-face):
1925         * calculator.el (calculator-displayer):
1926         * dabbrev.el (dabbrev-search-these-buffers-only):
1927         * face-remap.el (buffer-face-mode-face):
1928         * simple.el (yank-handled-properties):
1929         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1930         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1931         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1932         (hashcash-double-spend-database):
1933         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1934         (ruby-deep-indent-paren-style):
1935         * textmodes/flyspell.el (flyspell-auto-correct-binding):
1936         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1937         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1938         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1939         Specify custom types.
1941         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1942         * bookmark.el (bookmark-bmenu-use-header-line):
1943         * doc-view.el (doc-view-scale-internally):
1944         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1945         * register.el (register-preview-delay):
1946         * net/shr.el (shr-bullet):
1947         * progmodes/cfengine.el (cfengine-cf-promises)
1948         (cfengine-parameters-indent):
1949         * progmodes/octave.el (inferior-octave-error-regexp-alist):
1950         * textmodes/reftex-vars.el (reftex-label-regexps):
1951         * vc/log-edit.el (log-edit-setup-add-author): Add version.
1953         * net/tls.el (tls-certtool-program): Fix default value.
1955         * desktop.el (desktop-restore-in-current-display):
1956         * newcomment.el (comment-empty-lines):
1957         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1958         (idlwave-pad-keyword):
1959         * progmodes/tcl.el (tcl-tab-always-indent):
1960         * textmodes/reftex-vars.el (reftex-index-default-tag):
1961         * elec-pair.el (electric-pair-skip-whitespace):
1962         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1964         * emacs-lisp/authors.el (authors-ignored-files)
1965         (authors-valid-file-names, authors-renamed-files-alist): Additions.
1967 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
1969         * shell.el (shell-dynamic-complete-command): Doc fix.
1970         (shell--command-completion-data): Shell completion now matches
1971         executable filenames from the current buffer's directory, on
1972         systems in which this behavior is the default (windows-nt, ms-dos).
1974 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
1976         * net/shr.el (shr-insert): Don't infloop if the width is zero.
1978 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1980         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1981         (bug#16251).
1983         * electric.el: Move all electric-pair-* to elec-pair.el.
1984         * elec-pair.el: New file, split from electric.el.
1986 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
1988         * net/shr.el (shr-find-fill-point): Don't try to fill if the
1989         indentation level is larger than the width, because that will
1990         infloop.
1991         (shr-insert): Fill repeatedly long texts, so that Japanese is
1992         formatted correctly (bug#16263).
1993         (shr-find-fill-point): Off by one error in comparison with the
1994         indentation.
1996 2013-12-26  João Távora  <joaotavora@gmail.com>
1998         * electric.el (electric-pair-mode): More flexible engine for skip-
1999         and inhibit predicates, new options for pairing-related functionality.
2000         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2001         if that keeps or improves their balance in buffers.
2002         (electric-pair-delete-adjacent-pairs): Delete the pair when
2003         backspacing over adjacent matched delimiters.
2004         (electric-pair-open-extra-newline): Open extra newline when
2005         inserting newlines between adjacent matched delimiters.
2006         (electric--sort-post-self-insertion-hook):
2007         Sort post-self-insert-hook according to priority values when
2008         minor-modes are activated.
2009         * simple.el (newline-and-indent): Call newline with interactive
2010         set to t.
2011         (blink-paren-post-self-insert-function): Set priority to 100.
2012         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2013         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2014         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
2015         electric-pair-open-newline-between-pairs to nil.
2017 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2019         * progmodes/python.el: Use lexical-binding.
2020         (python-nav-beginning-of-defun): Stop searching ASAP.
2022 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
2024         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2025         Fix interactive spec.  Doc fix.  (Bug#15754)
2027 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
2029         * emacs-lisp/byte-run.el (eval-when-compile):
2030         * progmodes/cc-defs.el (cc-eval-when-compile):
2031         Fix edebug spec (bug#16184).
2033 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
2035         * net/shr.el (shr-visit-file): Remove debugging function.
2036         (shr-insert): Don't infloop if we can't find a good place to break
2037         the line (bug#16256).
2039 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2041         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2042         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
2043         python-nav-lisp-forward-sexp-safe.
2044         (python-nav--forward-sexp): New argument SAFE allows switching
2045         forward sexp movement behavior for parens.
2046         (python-nav-forward-sexp): Throw errors on unterminated parens
2047         (Bug#16191).
2048         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2049         (python-nav-backward-sexp-safe): New functions.
2050         (python-shell-buffer-substring):
2051         Use `python-nav-forward-sexp-safe'.
2053 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
2055         * net/shr.el (shr-find-fill-point): Don't break lines before a
2056         quotation mark.
2057         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2058         (shr-find-fill-point): Remove the special checks for the quotation
2059         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2061 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
2063         * net/eww.el (eww-form-textarea): Use a different face for
2064         textareas than text input since they have different keymaps
2065         (bug#16142).
2067 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2069         * progmodes/python.el (python-nav-beginning-of-statement):
2070         Speed up (Bug#15295).
2072 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
2074         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2075         the window configuration.
2077 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
2079         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2080         we run on MS-Windows or MS-DOS.
2082 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
2084         * window.el (balance-windows-area): Call window-size instead of
2085         window-height and window-width.  Bug#16241.
2087 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
2089         * net/eww.el (eww-bookmark-quit): Remove.
2090         (eww-bookmark-browse): Restore the window configuration when you
2091         choose a bookmark (bug#16144).
2093 2013-12-24  Daniel Colascione  <dancol@dancol.org>
2095         * icomplete.el: Remove redundant :group arguments to `defcustom'
2096         throughout.
2097         (icomplete-show-matches-on-no-input): New customizable variable.
2098         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2099         we have something to show.
2100         (icomplete-exhibit): Compute completions even if we have no user input.
2102 2013-12-23  Daniel Colascione  <dancol@dancol.org>
2104         * icomplete.el: Move `provide' to end of file.
2106 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
2108         * net/gnutls.el (gnutls-verify-error): Add version tag.
2110 2013-12-23  Chong Yidong  <cyd@gnu.org>
2112         * subr.el (set-transient-map): Rename from
2113         set-temporary-overlay-map.  Doc fix.
2115         * face-remap.el (text-scale-adjust):
2116         * indent.el (indent-rigidly):
2117         * kmacro.el (kmacro-call-macro):
2118         * minibuffer.el (minibuffer-force-complete):
2119         * repeat.el (repeat):
2120         * simple.el (universal-argument--mode):
2121         * calendar/todo-mode.el (todo-insert-item--next-param):
2122         * progmodes/f90.el (f90-abbrev-start): Callers changed.
2124         * indent.el (indent-rigidly): Use substitute-command-keys.
2126 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
2128         * net/eww.el (eww-tag-select): Add text-property to jump to next
2129         select field.
2130         (eww): Add non-supported ftp error.
2132 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
2134         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2135         comments.  Handle electric indent after typing `?' and `!'.
2137 2013-12-22  Chong Yidong  <cyd@gnu.org>
2139         * faces.el (face-spec-recalc): If the theme specs are not
2140         applicable to a frame, fall back on the defface spec.
2141         This prevents themes from obliterating faces on low-color terminals.
2143 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
2145         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2146         after `{'.  We need it after block openers, and it doesn't seem
2147         to hurt after hash openers.
2149 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
2151         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2152         extracted from `ruby-smie-rules'.
2153         (ruby--electric-indent-chars): New variable.
2154         (ruby--electric-indent-p): New function.
2155         (ruby-mode): Use `electric-indent-functions' instead of
2156         `electric-indent-chars'.
2158 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
2160         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2161         docstring.
2162         (ruby-smie-rules): Indent plus one level after `=>'.
2164 2013-12-21  Richard Stallman  <rms@gnu.org>
2166         * simple.el (newline): Doc fix.
2168 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
2170         * net/eww.el (eww-list-histories, eww-list-histories)
2171         (eww-history-browse, eww-history-quit, eww-history-kill)
2172         (eww-history-mode-map, eww-history-mode): New command and
2173         functions to list browser histories.
2174         (eww-form-text): Support text form with disabled
2175         and readonly attributes.
2176         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2178 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2180         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2181         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2182         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2183         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2184         Use `user-error'.
2185         (eww-bookmark-mode-map): Add menu.
2186         (eww-render, eww-mode): Use `setq-local'.
2187         (eww-tool-bar-map): New variable.
2188         (eww-mode): Set `tool-bar-map'.
2189         (eww-view-source): Check for `html-mode' with `fboundp'.
2191 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2193         * net/shr.el (shr--extract-best-source): Don't bug out on audio
2194         elements with text inside.  Also remove debugging.
2196 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
2198         * cus-start.el (all): Add ns-use-srgb-colorspace.
2200 2013-12-21  Chong Yidong  <cyd@gnu.org>
2202         * custom.el (custom-theme-recalc-face): Do nothing if the face is
2203         undefined.  Thus, theme settings for undefined faces do not take
2204         effect until the faces are defined with defface, the same as with
2205         theme variables.
2207         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2208         (face-spec-reset-face): Don't assign extra properties in temacs.
2209         (face-spec-recalc): Apply X resources too.
2211 2013-12-21  Chong Yidong  <cyd@gnu.org>
2213         * faces.el (face-spec-set):
2214         * cus-face.el (custom-theme-set-faces, custom-set-faces):
2215         * custom.el (defface): Doc fixes (Bug#16203).
2217         * indent.el (indent-rigidly-map): Add docstring, and move commands
2218         into named functions.
2219         (indent-rigidly-left, indent-rigidly-right)
2220         (indent-rigidly-left-to-tab-stop)
2221         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
2222         indentation direction based on bidi direction, and accumulate
2223         sequential commands in a single undo boundary.
2224         (indent-rigidly--pop-undo): New utility function.
2226 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
2228         * faces.el (read-face-name): Require crm.el when using crm-separator.
2230 2013-12-20  Daniel Colascione  <dancol@dancol.org>
2232         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2233         so that we don't reflow comments into the shebang line.
2235 2013-12-20  Juri Linkov  <juri@jurta.org>
2237         * saveplace.el (save-place-to-alist): Add `dired-filename' as
2238         a position when `dired-directory' is non-nil.  Check integer
2239         positions with `integerp'.
2240         (toggle-save-place, save-places-to-alist): Add check for
2241         `dired-directory'.
2242         (save-place-find-file-hook): Check integer positions with
2243         `integerp'.
2244         (save-place-dired-hook): Use `dired-goto-file' when
2245         `dired-filename' is found in the assoc list.  Check integer
2246         positions with `integerp'.
2247         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2249         * dired.el (dired-initial-position-hook): Rename back from
2250         `dired-initial-point-hook'.
2251         (dired-initial-position): Rename `dired-initial-point-hook' to
2252         `dired-initial-position-hook'.
2253         (dired-file-name-at-point): Doc fix.  (Bug#15329)
2255 2013-12-20  Juri Linkov  <juri@jurta.org>
2257         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2258         (read-regexp-suggestions): New function.
2259         (read-regexp): Use `read-regexp-defaults-function' to get default values.
2260         Use `read-regexp-suggestions'.  Add non-empty default to history
2261         for empty input.
2262         (occur-read-regexp-defaults-function): Remove function.
2263         (occur-read-primary-args): Use `regexp-history-last' instead of
2264         `occur-read-regexp-defaults-function'.
2266         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2267         (hi-lock-line-face-buffer, hi-lock-face-buffer)
2268         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2269         `hi-lock-read-regexp-defaults-function'.  Doc fix.
2270         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2271         with `find-tag-default-as-symbol-regexp'.  Doc fix.
2272         (hi-lock-read-regexp-defaults): Remove function.
2273         (hi-lock-regexp-okay): Add check for null.
2275         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2276         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
2278         * subr.el (find-tag-default-as-symbol-regexp): New function.
2279         (find-tag-default-as-regexp): Move symbol regexp formatting to
2280         `find-tag-default-as-symbol-regexp'.
2282 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
2284         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2285         (Bug#14179)
2287 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
2289         * calendar/todo-mode.el: New implementation of item insertion
2290         commands and key bindings.
2291         (todo-key-prompt): New face.
2292         (todo-insert-item): New command.
2293         (todo-insert-item--parameters): New defconst, replacing defvar
2294         todo-insertion-commands-args-genlist.
2295         (todo-insert-item--param-key-alist): New defconst, replacing
2296         defvar todo-insertion-commands-arg-key-list.
2297         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2298         (todo-insert-item--argsleft, todo-insert-item--apply-args)
2299         (todo-insert-item--next-param): New functions.
2300         (todo-insert-item--args, todo-insert-item--argleft)
2301         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2302         New variables.
2303         (todo-key-bindings-t): Change binding of "i" from
2304         todo-insertion-map to todo-insert-item.
2305         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2306         (todo-insertion-command-name, todo-insertion-commands-names)
2307         (todo-define-insertion-command, todo-insertion-commands)
2308         (todo-insertion-key-bindings, todo-insertion-map): Remove.
2310 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
2312         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2313         (todo-toggle-item-highlighting): Use eval-and-compile instead of
2314         eval-when-compile.
2315         (todo-move-category): Allow choosing a non-existing todo file to
2316         move the category to, and create that file.
2317         (todo-default-priority): New user option.
2318         (todo-set-item-priority): Use it.
2319         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2320         (desktop-restore-file-buffer): Declare.
2321         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2322         (todo-modes-set-2): Locally set desktop-save-buffer to
2323         todo-desktop-save-buffer.
2324         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2325         (auto-mode-alist): Add autoload cookie.
2327 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
2329         * emacs-lisp/subr-x.el: Renamed from helpers.el.
2330         helpers.el was a poor choice of name.
2331         (string-remove-prefix): New function.
2332         (string-remove-suffix): New function.
2334 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
2336         Fix assignment for new window total sizes.
2337         * window.el (window--pixel-to-size): Remove function.
2338         (window--pixel-to-total-1, window--pixel-to-total):
2339         Fix calculation of new total sizes.
2341 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
2343         * comint.el (comint-output-filter): Fix rear-nonsticky property
2344         placement (Bug#16010).
2346 2013-12-20  Chong Yidong  <cyd@gnu.org>
2348         * faces.el (read-color): Minor fix for completion function.
2350 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
2352         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2353         New option.  (Bug#16182)
2354         (ruby-smie--indent-to-stmt-p): Use it.
2355         (ruby-smie-rules): Revert the logic in the handling of `when'.
2356         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2357         (ruby-deep-arglist, ruby-deep-indent-paren)
2358         (ruby-deep-indent-paren-style): Update docstrings to note that the
2359         vars don't have any effect with SMIE.
2361 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
2363         * calc/calc.el (calc-enter, calc-pop): Use the variable
2364         `calc-context-sensitive-enter'.
2366 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2368         * net/shr.el (shr-insert): Protect against infloops in degenerate
2369         tables.
2371 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2373         * progmodes/octave.el (octave): Add link to manual and octave
2374         homepage.
2375         (octave-mode-menu): Link to octave-mode manual.
2377 2013-12-20  Leo Liu  <sdl.web@gmail.com>
2379         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2380         insertion using skeleton-end-newline.  (Bug#16138)
2382 2013-12-20  Juri Linkov  <juri@jurta.org>
2384         * replace.el (occur-engine): Use `add-face-text-property'
2385         to add the face property to matches and titles.  (Bug#14645)
2387         * hi-lock.el (hi-green): Use lighter color "light green" closer to
2388         the palette of other hi-lock colors.
2389         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2391 2013-12-19  Juri Linkov  <juri@jurta.org>
2393         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2394         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
2395         (minibuffer-history-symbol): Move variable declaration closer to
2396         its usage.
2398         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2399         (Bug#14785)
2401 2013-12-19  Juri Linkov  <juri@jurta.org>
2403         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2404         New function.
2405         (log-edit-hook): Add it to :options.  (Bug#16170)
2407 2013-12-19  Juri Linkov  <juri@jurta.org>
2409         * simple.el (eval-expression-print-format): Don't check for
2410         command names and the last command.  Always display additional
2411         formats of the integer result in the echo area, and insert them
2412         to the current buffer only with a zero prefix arg.
2413         Display character when char-displayable-p is non-nil.
2414         (eval-expression): With a zero prefix arg, set `print-length' and
2415         `print-level' to nil, and insert the integer values from
2416         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
2418         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2419         `eval-last-sexp-arg-internal'.  Doc fix.
2420         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2421         `eval-last-sexp-print-value'.  Doc fix.
2422         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2423         Set `print-length' and `print-level' to nil when arg is zero.
2424         (eval-last-sexp): Doc fix.
2425         (eval-defun-2): Print the integer values from
2426         `eval-expression-print-format' at the end.
2428         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2429         values from `eval-expression-print-format' at the end.
2431         * ielm.el (ielm-eval-input): Print the integer
2432         values from `eval-expression-print-format' at the end.
2434 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
2436         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2437         2013-12-11T19:01:44Z!tzz@lifelogs.com.
2439 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2441         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
2442         (hl-line-highlight, global-hl-line-highlight): Use it.
2443         (hl-line-overlay): Use defvar-local.
2445 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
2447         * term/ns-win.el: Require dnd.
2448         (global-map): Remove drag items.
2449         (ns-insert-text, ns-set-foreground-at-mouse)
2450         (ns-set-background-at-mouse):
2451         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2452         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2453         New functions.
2455 2013-12-19  Glenn Morris  <rgm@gnu.org>
2457         * emacs-lisp/ert.el (ert-select-tests):
2458         Fix string/symbol mixup.  (Bug#16121)
2460 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
2462         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2463         keywords to their parent.
2465 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
2467         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2468         first arg to be a string (fixed dead code), or an operator symbol.
2469         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2470         operator symbols.
2471         (ruby-smie-rules): Remove parent token check in the `.' clause, it
2472         did nothing.  Don't respond to `(:after ".")', it will be called
2473         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
2474         change anything.  Only return indentation for binary operators
2475         when they are hanging.  De-dent opening paren when its parent is
2476         `.', otherwise it looks bad when the dot is not at bol or eol
2477         (bug#16182).
2479 2013-12-19  Juri Linkov  <juri@jurta.org>
2481         * replace.el (query-replace-read-args): Split a non-negative arg
2482         and a negative arg into separate elements.
2483         (query-replace, query-replace-regexp, replace-string)
2484         (replace-regexp): Add arg `backward'.  Doc fix.
2485         (replace-match-maybe-edit): When new arg `backward' is non-nil,
2486         move point to the beginning of the match.
2487         (replace-search, replace-highlight): Use new arg `backward'
2488         to set the value of `isearch-forward'.
2489         (perform-replace): Add arg `backward' and use it to perform
2490         replacement backward.  (Bug#14979)
2492         * isearch.el (isearch-query-replace): Use a negative prefix arg
2493         to call `perform-replace' with a non-nil arg `backward'.
2495 2013-12-18  Juri Linkov  <juri@jurta.org>
2497         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2498         to the default list.  Move `log-edit-show-files' to the end.
2499         Add more available functions to options.
2500         (log-edit): Move default specific settings to
2501         `log-edit-insert-message-template'.  Don't move point.
2502         (log-edit-insert-message-template): New function.
2503         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2504         (Bug#16170)
2506 2013-12-18  Juri Linkov  <juri@jurta.org>
2508         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2509         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
2511 2013-12-18  Leo Liu  <sdl.web@gmail.com>
2513         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2514         (Bug#16186)
2516 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
2518         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2519         formats for displaying file sizes when the -s switch is given.
2520         Instead, compute a separate format for displaying the size in
2521         blocks, which is displayed in addition to the "regular" size.
2522         When -h is given in addition to -s, produce size in blocks in
2523         human-readable form as well.  (Bug#16179)
2525 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
2527         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2528         Reference tables with ~\ref{...} instead of only \ref{...}.
2530 2013-12-18  Chong Yidong  <cyd@gnu.org>
2532         * cus-edit.el (custom-magic-alist): Fix "themed" description
2533         (Bug#14348).
2535         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2536         is non-nil, do not create a new entry in the symbol's theme-value
2537         or theme-face property; update theme-settings only (Bug#14664).
2538         (custom-available-themes): Doc fix.
2540         * cus-theme.el (custom-new-theme-mode-map): Add bindings
2541         (Bug#15674).
2543         * replace.el (occur-engine): Avoid infloop (Bug#7593).
2545 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
2547         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2548         (Bug#13914).
2550 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
2552         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2554 2013-12-18  Glenn Morris  <rgm@gnu.org>
2556         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2557         * cus-start.el (load-prefer-newer): New option.
2559 2013-12-18  Le Wang  <l26wang@gmail.com>
2561         * comint.el (comint-previous-matching-input-from-input):
2562         Retain point (Bug#13404).
2564 2013-12-18  Chong Yidong  <cyd@gnu.org>
2566         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2568 2013-12-18  Glenn Morris  <rgm@gnu.org>
2570         * mail/emacsbug.el (report-emacs-bug):
2571         Only mention enable-multibyte-characters if non-standard.
2573 2013-12-17  Juri Linkov  <juri@jurta.org>
2575         * arc-mode.el (archive-extract-by-file): Check if directory exists
2576         before deletion to not show irrelevant errors if it doesn't exist.
2578 2013-12-17  Juri Linkov  <juri@jurta.org>
2580         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2581         (Bug#14751)
2583         * net/eww.el (browse-web): Add alias to `eww'.
2584         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2585         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
2587         * net/browse-url.el (browse-url-browser-function): Move `eww'
2588         closer to similar functions.
2590         * startup.el (fancy-startup-screen, fancy-about-screen):
2591         Set browse-url-browser-function to eww-browse-url locally.
2592         (Bug#14751)
2594 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2596         * window.el (window--pixel-to-total): Remove unused `mini' var.
2597         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2598         (split-window): Remove unused `new' var.
2599         (window--display-buffer): Remove unused `frame' and `delta' vars.
2600         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2601         and display-width'.
2603 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
2605         * dired.el (dired-mark-pop-up):
2606         * register.el (register-preview): Don't bind
2607         split-height-threshold here since it's now done in
2608         display-buffer-below-selected.
2610 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
2612         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2613         xterm-rgb-convert-to-16bit.
2614         (rxvt-register-default-colors): Standardize with
2615         xterm-register-default-colors (Bug#14078).
2617 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
2619         * simple.el (kill-region): Pass mark first, then point, so that
2620         kill-append works right (Bug#12819).
2621         (copy-region-as-kill, kill-ring-save): Likewise.
2623 2013-12-17  Leo Liu  <sdl.web@gmail.com>
2625         * net/rcirc.el (rcirc-add-face):
2626         * eshell/em-prompt.el (eshell-emit-prompt):
2627         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2628         (Bug#16167)
2630 2013-12-17  Chong Yidong  <cyd@gnu.org>
2632         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2633         Suggested by Xue Fuqiao.
2635 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
2637         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2639 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2641         * net/shr.el (shr-insert-document): Remove unused var
2642         `shr-preliminary-table-render'.
2643         (shr-rescale-image): Remove unused arg `force'.
2644         (shr-put-image): Update calls accordingly.
2645         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2647 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
2649         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2650         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2651         :close-all, to see which indentation method to use (Bug#16116).
2652         (smie-rules-function): Document the method :close-all.
2654 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2656         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2658         * net/eww.el (eww-display-html): If we can't find the anchor we're
2659         looking for, then go to point-min.
2661 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
2663         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2664         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2665         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2666         Expand dir too, in case it's relative.
2668 2013-12-16  Juri Linkov  <juri@jurta.org>
2670         * desktop.el (desktop-auto-save-timeout): Change default to
2671         `auto-save-timeout'.  Doc fix.
2672         (desktop-save): Skip the timestamp in desktop-saved-frameset
2673         when checking for auto-save changes.
2674         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2675         `desktop-auto-save' is called repeatedly by the idle timer.
2676         (desktop-auto-save-set-timer): Replace `run-with-timer' with
2677         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
2678         (Bug#15331)
2680 2013-12-16  Juri Linkov  <juri@jurta.org>
2682         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2683         (Bug#16035)
2684         (isearch-pre-command-hook): Check `this-command' for symbolp.
2686 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2688         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2690 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
2692         * progmodes/cfengine.el (cfengine3--current-word): Remove.
2693         (cfengine3--current-function): Bring in the current-function
2694         functionality from `cfengine3--current-word'.
2695         (cfengine3-completion-function): Bring in the
2696         bounds-of-current-word functionality from
2697         `cfengine3--current-word'.
2699 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
2701         * window.el (display-buffer-below-selected):
2702         Bind split-height-threshold to 0 as suggested by Juri Linkov.
2704 2013-12-16  Leo Liu  <sdl.web@gmail.com>
2706         * progmodes/compile.el (compile-goto-error): Do not push-mark.
2707         Remove NOMSG arg and all uses changed.
2709 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2711         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2712         (cua--deactivate-rectangle): Don't deactivate the mark.
2713         (cua-set-rectangle-mark): Don't set mark-active since
2714         cua--activate-rectangle already does it for us.
2715         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2716         non-rectangular region.
2718         * emulation/cua-base.el (cua-repeat-replace-region):
2719         Use with-current-buffer.
2721         * net/gnutls.el: Use cl-lib.
2722         (gnutls-negotiate): `mapcan' -> cl-mapcan.
2724 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
2726         * emacs-lisp/package.el (package-built-in-p): Support both
2727         built-in and the package.el converted package descriptions.
2728         (package-show-package-list): Allow keywords.
2729         (package-keyword-button-action): Use it instead of
2730         `finder-list-matches'.
2731         (package-menu-filter-interactive): Interactive filtering (by
2732         keyword) function.
2733         (package-menu--generate): Support keywords and change keymappings
2734         and headers when they are given.
2735         (package--has-keyword-p): Helper function.
2736         (package-menu--refresh): Use it.
2737         (package--mapc): Helper function.
2738         (package-all-keywords): Use it.
2739         (package-menu-mode-map): Set up menu items and keybindings to
2740         provide a filtering UI.
2742 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
2744         * net/gnutls.el (gnutls-verify-error): New defcustom to control
2745         the behavior when a certificate fails validation.  Defaults to
2746         old behavior: never abort, just warn.
2747         (gnutls-negotiate): Use it.
2749 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
2751         * window.el (display-buffer-below-selected): Never split window
2752         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
2754 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
2756         * emacs-lisp/package.el (package--prepare-dependencies): New function.
2757         (package-buffer-info): Use it (bug#15108).
2759 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2761         * icomplete.el (icomplete-completions): Make sure the prefix is already
2762         displayed elsewhere before hiding it (bug#16219).
2764 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
2766         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2767         open-paren tokens when preceded by a open-paren, too.
2768         (ruby-smie-rules): Handle virtual indentation after open-paren
2769         tokens specially.  If there is code between it and eol, return the
2770         column where is starts (Bug#16118).
2772 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
2774         * progmodes/cfengine.el: Fix `add-hook' doc.
2775         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2776         (cfengine3--current-word): Fix parameters.
2777         (cfengine3-make-syntax-cache): Simplify further.
2778         (cfengine3-completion-function, cfengine3--current-function):
2779         Use `assq' for symbols.
2780         (cfengine3--current-function): Fix `cfengine3--current-word' call.
2782 2013-12-13  Glenn Morris  <rgm@gnu.org>
2784         * loadup.el (load-path): Warn if site-load or site-init changes it.
2785         No more need to reset it when bootstrapping.
2787 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
2789         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2790         locations for cf-promises.
2791         (cfengine-mode-syntax-functions-regex): New caching variable.
2792         (cfengine3-fallback-syntax): Fallback syntax for cases where
2793         cf-promises doesn't run.
2794         (cfengine3--current-word): Reimplement using
2795         `cfengine-mode-syntax-functions-regex'.
2796         (cfengine3-completion-function, cfengine3--current-function):
2797         Use `cfengine3-make-syntax-cache' directly.
2798         (cfengine3-clear-syntax-cache): New function.
2799         (cfengine3-make-syntax-cache): Simplify and create
2800         `cfengine-mode-syntax-functions-regex' on demand.
2801         (cfengine3-format-function-docstring): Don't call
2802         `cfengine3-make-syntax-cache' explicitly.
2804 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
2806         Fix windmove-find-other-window broken after pixelwise resizing
2807         (Bug#16017).
2808         * windmove.el (windmove-other-window-loc): Revert change from
2809         2013-12-04.
2810         (windmove-find-other-window): Call window-in-direction.
2811         * window.el (window-in-direction): New arguments SIGN, WRAP and
2812         MINI to emulate original windmove-find-other-window behavior.
2814 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
2816         * simple.el (blink-matching--overlay): New variable.
2817         (blink-matching-open): Instead of moving point, highlight the
2818         matching paren with an overlay
2819         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2821         * faces.el (paren-showing-faces, show-paren-match)
2822         (show-paren-mismatch): Move from paren.el.
2824 2013-12-13  Leo Liu  <sdl.web@gmail.com>
2826         * indent.el (indent-region): Disable progress reporter in
2827         minibuffer.  (Bug#16108)
2829         * bindings.el (visual-order-cursor-movement): Fix version.
2831 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2833         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2834         Also match after beginning of line.
2835         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2836         files.  Thanks to Russell Sim.  (Bug#15378)
2838 2013-12-13  Juri Linkov  <juri@jurta.org>
2840         * simple.el <Keypad support>: Remove key bindings duplicated
2841         with bindings.el.  (Bug#14397)
2843 2013-12-13  Juri Linkov  <juri@jurta.org>
2845         * comint.el (comint-mode-map): Replace `delete-char' with
2846         `delete-forward-char'.  (Bug#16109)
2848 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2850         * progmodes/python.el (python-indent-calculate-indentation):
2851         Fix de-denters cornercase.  (Bug#15731)
2853 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2855         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2856         (advice--make): Pay attention to `depth'.
2857         (advice--make-1): Don't autoload commands eagerly.
2858         * emacs-lisp/elp.el (elp-instrument-function):
2859         * emacs-lisp/trace.el (trace-function-internal):
2860         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2862         * iswitchb.el (iswitchb-mode): Don't belittle ido.
2864 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
2866         * term/w32-win.el (w32-handle-dropped-file):
2867         * startup.el (normal-top-level):
2868         * net/browse-url.el (browse-url-file-url):
2869         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2870         decode file names using 'utf-8' rather than
2871         file-name-coding-system.
2873 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2875         * progmodes/python.el (python-indent-context)
2876         (python-indent-calculate-indentation): Fix auto-identation
2877         behavior for comment blocks.  (Bug#15916)
2879 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2881         * progmodes/python.el (python-indent-calculate-indentation):
2882         When determining indentation, don't treat "return", "pass", etc., as
2883         operators when they are just string constituents.  (Bug#15812)
2885 2013-12-12  Juri Linkov  <juri@jurta.org>
2887         * uniquify.el (uniquify-buffer-name-style): Change default to
2888         `post-forward-angle-brackets'.
2890         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2891         `uniquify'.  Change default to `post-forward-angle-brackets'.
2893 2013-12-11  Glenn Morris  <rgm@gnu.org>
2895         * emacs-lisp/package.el (finder-list-matches):
2896         Autoload rather than falsely declaring.
2898 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
2900         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2901         (eww-mode-map): Use them.
2903 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
2905         * window.el (display-buffer-in-side-window): Fix doc-string
2906         (Bug#16115).
2908 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
2910         * vc/vc-git.el: Silence byte-compiler warnings.
2911         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2912         (log-edit-set-header): Declare.
2914 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
2916         * Makefile.in (custom-deps, finder-data): Run output file names
2917         through unmsys--file-name.  (Bug#16099)
2919 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2921         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2922         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2924         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2925         instead of deleting the selection "by hand" (bug#16098).
2926         Rely on insert-for-yank to yank rectangles.
2927         (cua-highlight-region-shift-only): Mark obsolete.
2928         (cua-mode): Don't enable/disable transient-mark-mode,
2929         shift-select-mode (cua-mode works both with and without them), and
2930         pc-selection-mode (obsolete).
2931         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2932         (cua--deactivate-rectangle): Deactivate it.
2934         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2935         (delete-selection-helper): Make sure yank starts at the top of the
2936         deleted region.
2937         (minibuffer-keyboard-quit): Use region-active-p.
2939         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2941         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2942         to `delete' (bug#16109).
2944 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2946         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2947         info manual and show keybindings and set `:group' keyword.
2949 2013-12-11  Juri Linkov  <juri@jurta.org>
2951         * delsel.el (delete-active-region): Let-bind `this-command'
2952         to prevent `kill-region' from changing its original value.
2953         (delete-selection-helper): Handle `overwrite-mode' for the type
2954         `kill' exactly the same way as for the type `t'.
2955         (insert-char, quoted-insert, reindent-then-newline-and-indent):
2956         Support more commands.  (Bug#13312)
2958 2013-12-11  Juri Linkov  <juri@jurta.org>
2960         * bindings.el: Map kp keys to non-kp keys systematically
2961         with basic modifiers control, meta and shift.  (Bug#14397)
2963 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
2965         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2966         "Close browser" menu items.  Fix wrong function of "List
2967         bookmarks".
2969 2013-12-11  Juri Linkov  <juri@jurta.org>
2971         * misearch.el (multi-isearch-buffers): Set the value of
2972         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
2973         arg of isearch-forward to t.
2974         (multi-isearch-buffers-regexp): Set the value of
2975         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
2976         arg of isearch-forward-regexp to t.
2977         (multi-isearch-files): Set the value of
2978         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
2979         arg of isearch-forward to t.
2980         (multi-isearch-files-regexp): Set the value of
2981         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
2982         arg of isearch-forward-regexp to t.  (Bug#16035)
2984         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2985         arg of isearch-forward to t.
2986         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2987         arg of isearch-forward-regexp to t.
2988         (dired-isearch-filter-filenames): Remove unnecessary check for
2989         `dired-isearch-filenames'.
2991         * comint.el (comint-history-isearch-backward):
2992         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2993         (comint-history-isearch-backward-regexp):
2994         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2996 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
2998         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2999         unmsys--file-name.  (Bug#16099)
3001 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
3003         * emacs-lisp/package.el (package-keyword-button-action):
3004         Remove finder.el require dependency.
3006 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
3008         * emacs-lisp/package.el: Require finder.el.
3009         (describe-package-1): Add keyword buttons.
3010         (package-make-button): New convenience function.
3011         (package-keyword-button-action): Keyword button action using
3012         `finder-list-matches'.
3014 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
3016         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3017         last commit.
3019 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
3021         * autorevert.el (auto-revert-notify-add-watch): Do not handle
3022         symlinked files.
3024 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
3026         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3027         after the end of a percent literal.
3029 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
3031         * progmodes/ruby-mode.el (ruby-forward-string): Document.
3032         Handle caret-delimited strings (Bug#16079).
3034 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
3036         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3037         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3038         `ruby-parse-partial' (Bug#16078).
3040 2013-12-09  Leo Liu  <sdl.web@gmail.com>
3042         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
3044 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
3046         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3047         (js-switch-indent-offset): New option.
3048         (js--proper-indentation): Use it.  And handle the case when
3049         "default" is actually a key in an object literal.
3050         (js--same-line): New function.
3051         (js--multi-line-declaration-indentation): Use it.
3052         (js--indent-in-array-comp, js--array-comp-indentation):
3053         New functions.
3054         (js--proper-indentation): Use them, to handle array comprehension
3055         continuations.
3057 2013-12-08  Leo Liu  <sdl.web@gmail.com>
3059         * progmodes/flymake.el (flymake-highlight-line): Re-write.
3060         (flymake-make-overlay): Remove arg MOUSE-FACE.
3061         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3063 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3065         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3066         New function.
3067         (redisplay-highlight-region-function): Use it.
3069         * emulation/cua-base.el (cua--explicit-region-start)
3070         (cua--last-region-shifted): Remove.
3071         (cua--deactivate): Use deactivate-mark.
3072         (cua--pre-command-handler-1): Don't handle shift-selection.
3073         (cua--post-command-handler-1): Don't change transient-mark-mode.
3074         (cua--select-keymaps): Use region-active-p rather than
3075         cua--explicit-region-start or cua--last-region-shifted.
3076         (cua-mode): Enable shift-select-mode.
3078 2013-12-08  Leo Liu  <sdl.web@gmail.com>
3080         * progmodes/flymake.el (flymake-popup-current-error-menu):
3081         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
3082         (flymake-posn-at-point-as-event, flymake-popup-menu)
3083         (flymake-make-emacs-menu): Remove.  (Bug#16077)
3085 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3087         * rect.el (rectangle-mark-mode): Activate mark even if
3088         transient-mark-mode is off (bug#16066).
3089         (rectangle--highlight-for-redisplay): Fix boundary condition when point
3090         is > mark and at bolp.
3092         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3093         (region-extract-function): Use it.
3094         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3095         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3096         Delete functions.
3097         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3098         kill-ring-save, kill-region, delete-char, delete-forward-char.
3099         Ignore self-insert-iso.
3101         * emulation/cua-gmrk.el (cua--init-global-mark):
3102         Ignore `self-insert-iso'.
3104         * emulation/cua-base.el (cua--prefix-copy-handler)
3105         (cua--prefix-cut-handler): Rely on region-extract-function rather than
3106         checking cua--rectangle.
3107         (cua-delete-region): Use region-extract-function.
3108         (cua-replace-region): Delete function.
3109         (cua-copy-region, cua-cut-region): Obey region-extract-function.
3110         (cua--pre-command-handler-1): Don't do the delete-selection thing.
3111         (cua--self-insert-char-p): Ignore `self-insert-iso'.
3112         (cua--init-keymaps): Don't remap delete-selection commands.
3113         (cua-mode): Use delete-selection-mode instead of rolling our own
3114         (bug#16085).
3116         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3117         Obey region-extract-function.
3119         Make registers and delete-selection-mode work on rectangles.
3120         * register.el (describe-register-1): Don't modify the register's value.
3121         (copy-to-register): Obey region-extract-function.
3122         * delsel.el (delete-active-region): Obey region-extract-function.
3124 2013-12-08  Leo Liu  <sdl.web@gmail.com>
3126         * progmodes/flymake.el (flymake, flymake-error-bitmap)
3127         (flymake-warning-bitmap, flymake-fringe-indicator-position)
3128         (flymake-compilation-prevents-syntax-check)
3129         (flymake-start-syntax-check-on-newline)
3130         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3131         (flymake-start-syntax-check-on-find-file, flymake-log-level)
3132         (flymake-xml-program, flymake-master-file-dirs)
3133         (flymake-master-file-count-limit)
3134         (flymake-allowed-file-name-masks): Relocate.
3135         (flymake-makehash, flymake-float-time)
3136         (flymake-replace-regexp-in-string, flymake-split-string)
3137         (flymake-get-temp-dir): Remove.
3138         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3139         (flymake-current-row, flymake-selected-frame)
3140         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3141         related functions.  (Bug#16077)
3143 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
3145         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3147 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
3149         * help-fns.el (describe-function-1): Use new advice-* functions
3150         rather than old ad-* functions.  Fix function type description and
3151         source links for advised functions and subrs.
3153 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3155         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3157 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
3159         * progmodes/compile.el (compilation-start):
3160         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3162         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3163         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
3165 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
3167         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3168         Touch up the last change.
3170 2013-12-06  Leo Liu  <sdl.web@gmail.com>
3172         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3173         (inferior-octave-startup): Always use "octave> " for prompt.
3174         (octave-goto-function-definition)
3175         (octave-sync-function-file-names)
3176         (octave-find-definition-default-filename): Remove redundant backquotes.
3178 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
3180         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3181         syntax for `?'.
3182         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3183         where appropriate already.
3184         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3185         end of method names (Bug#15874).
3187 2013-12-06  Juri Linkov  <juri@jurta.org>
3189         * isearch.el (isearch--saved-overriding-local-map):
3190         New internal variable.
3191         (isearch-mode): Set it to the initial value of
3192         `overriding-terminal-local-map'.
3193         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3194         with `isearch--saved-overriding-local-map'.  (Bug#16035)
3196 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
3198         * progmodes/octave.el (inferior-octave-completion-table):
3199         Turn back into function, use `completion-table-with-cache'
3200         (Bug#11906).  Update all references.
3202         * minibuffer.el (completion-table-with-cache): New function.
3204 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
3206         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3208 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
3210         * net/eww.el (eww-current-source): New variable to store page
3211         source.
3212         (eww-display-html, eww-mode, eww-save-history)
3213         (eww-restore-history): Use it.
3214         (eww-view-source): New command to view page source.
3215         Opportunistically uses `html-mode' to highlight the buffer.
3216         (eww-mode-map): Install it.
3218 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
3220         * net/dbus.el (dbus-unregister-service)
3221         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3222         Fix docstring.
3223         (dbus-unregister-service): Skip :serial entries in
3224         `dbus-registered-objects-table'.
3225         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3227 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
3229         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3230         around keywords with extra `split-string' argument.
3232 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
3234         * windmove.el (windmove-other-window-loc): Handle navigation
3235         between windows (excluding the minibuffer window - Bug#16017).
3237 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
3239         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3240         in D-Bus type syntax.
3241         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3242         preserve unibyte strings.  (Bug#16048)
3244 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3246         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3247         Call force-mode-line-update is the proper buffer (bug#16042).
3249 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
3251         * vc/log-edit.el (log-edit-add-new-comment): Rename to
3252         `log-edit-remember-comment', make argument optional.  Adjust all
3253         callers.
3254         (log-edit-mode): Add `log-edit-remember-comment' to
3255         `kill-buffer-hook' locally.
3256         (log-edit-kill-buffer): Don't remember comment explicitly since
3257         the buffer is killed anyway.
3259 2013-12-04  Juri Linkov  <juri@jurta.org>
3261         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3262         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
3264 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
3266         * notifications.el (notifications-close-notification): Call the
3267         D-Bus method with ID being a `:uint32'.  (Bug#16030)
3269 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
3271         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3273 2013-12-03  Juri Linkov  <juri@jurta.org>
3275         * progmodes/compile.el (compilation-start): Rename window alist
3276         entry `no-display-ok' to `allow-no-window'.
3278         * simple.el (shell-command): Add window alist entry
3279         `allow-no-window' to `display-buffer'.
3280         (async-shell-command): Doc fix.
3282         * window.el (display-buffer-no-window): New action function.
3283         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
3285 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
3287         * vc/log-edit.el (log-edit-set-header): Extract from
3288         `log-edit-toggle-header'.
3289         (log-edit-extract-headers): Separate the summary, when extracted
3290         from header, from the rest of the message with an empty line.
3292         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3293         line, if present, to the Summary header.
3295 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3297         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3298         in current-buffer (bug#16029).
3300 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
3302         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3303         (debugger-mode-map): Bind it.
3304         (debugger--backtrace-base): New function.
3305         (debugger-eval-expression): Use it.
3306         (debugger-frame-number): Skip local vars when present.
3307         (debugger--locals-visible-p, debugger--insert-locals)
3308         (debugger--show-locals, debugger--hide-locals): New functions.
3310 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
3312         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3313         "LC_ALL".
3314         (tramp-get-remote-locale): New defun.
3315         (tramp-open-connection-setup-interactive-shell): Use it.
3317 2013-12-02  Leo Liu  <sdl.web@gmail.com>
3319         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
3321         * progmodes/sh-script.el (sh-shell-process):
3322         * progmodes/octave.el (inferior-octave-process-live-p):
3323         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3324         (gdb-inferior-io-sentinel):
3325         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3327 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
3329         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3330         `save-selected-window' to `log-edit-hide-buf'.  This makes
3331         `log-edit-show-files' idempotent.
3332         (log-edit-show-files): Mark the new window as dedicated.
3334 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
3336         * vc/log-edit.el (log-edit-mode-map): Add binding for
3337         `log-edit-kill-biffer'.
3338         (log-edit-hide-buf): Add a FIXME comment.
3339         (log-edit-add-new-comment): New function, extracted from
3340         `log-edit-done'.
3341         (log-edit-done, log-edit-add-to-changelog): Use it.
3342         (log-edit-kill-buffer): New command.
3344 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3346         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3347         instead of killing the buffer.
3349 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3351         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3353 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3355         * net/eww.el (eww-form-checkbox-selected-symbol)
3356         (eww-form-checkbox-symbol): New customizable variable.
3357         (eww-form-checkbox, eww-toggle-checkbox):
3358         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3360         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3361         (shr--get-media-pref, shr--extract-best-source): New function.
3362         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3363         no :src tag was specified.
3365         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3366         (eww-render): Handle `eww-use-external-browser-for-content-type'.
3367         Use \\` to match beginning of string instead of ^.
3368         (eww-browse-with-external-browser): Provide optional URL parameter.
3369         (eww-render): Set `eww-current-title' back to "".
3371         * net/shr.el (shr-tag-video): Display content for video if no
3372         poster is available.
3373         (shr-tag-audio): Add support for <audio> tag.
3375         * net/eww.el (eww-text-input-types): New const.
3376         (eww-process-text-input): Treat input types in
3377         `eww-text-input-types' as text.
3379         * net/shr.el (shr-tag-table): Fix comment typo.
3381 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3383         * net/eww.el (eww-follow-link): New command to avoid reloading
3384         pages when we follow #target links (bug#15243).
3385         (eww-quit): Special mode buffers shouldn't query before exiting.
3387 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
3389         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3390         forms.
3392 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3394         * net/eww.el (eww-restore-history): Update the window title after
3395         moving in the history.
3396         (eww-current-dom): New variable used to save the current DOM.
3398 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
3400         * vc/log-edit.el (log-edit-mode-map): Add binding for
3401         `log-edit-beginning-of-line'.
3402         (log-edit-setup-add-author): New user option.
3403         (log-edit-beginning-of-line): New command.
3404         (log-edit): Move major mode call above the contents setup so that
3405         the local variable values are already applied.
3406         (log-edit): Only insert "Author: " when
3407         `log-edit-setup-add-author' is non-nil.
3408         (log-edit): When SETUP is non-nil, position point after ": "
3409         instead of point-min.
3411 2013-12-01  Glenn Morris  <rgm@gnu.org>
3413         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3415 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
3417         * startup.el (fancy-splash-frame): On MS-Windows, trigger
3418         redisplay to make sure the initial frame gets a chance to become
3419         visible.  (Bug#16014)
3421 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
3423         Support resizing frames and windows pixelwise.
3424         * cus-start.el (frame-resize-pixelwise)
3425         (window-resize-pixelwise): New entries.
3426         * emacs-lisp/debug.el (debug): Use window-total-height instead
3427         of window-total-size.
3428         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3429         * help.el (describe-bindings-internal): Use help-buffer as
3430         argument for with-help-window.
3431         (temp-buffer-max-width): New option.
3432         (resize-temp-buffer-window, help-window-setup)
3433         (with-help-window): Rewrite.
3434         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
3435         dragging dividers.
3436         * window.el (frame-char-size, window-min-pixel-height)
3437         (window-safe-min-pixel-height, window-safe-min-pixel-width)
3438         (window-min-pixel-width, window-safe-min-pixel-size)
3439         (window-combination-p, window-safe-min-size)
3440         (window-resizable-p, window--size-to-pixel)
3441         (window--pixel-to-size, window--resize-apply-p): New functions.
3442         (window-safe-min-height): Fix doc-string.
3443         (window-size, window-min-size, window--min-size-1)
3444         (window-sizable, window-sizable-p, window--min-delta-1)
3445         (window-min-delta, window--max-delta-1, window-max-delta)
3446         (window--resizable, window--resizable-p, window-resizable)
3447         (window-full-height-p, window-full-width-p, window-at-side-p)
3448         (window--in-direction-2, window-in-direction)
3449         (window--resize-reset-1, window--resize-mini-window)
3450         (window-resize, window-resize-no-error)
3451         (window--resize-child-windows-normal)
3452         (window--resize-child-windows, window--resize-siblings)
3453         (window--resize-this-window, window--resize-root-window)
3454         (window--resize-root-window-vertically)
3455         (adjust-window-trailing-edge, enlarge-window, shrink-window)
3456         (maximize-window, minimize-window, delete-window)
3457         (quit-restore-window, window-split-min-size, split-window)
3458         (balance-windows-2, balance-windows)
3459         (balance-windows-area-adjust, balance-windows-area)
3460         (window--state-get-1, window-state-get, window--state-put-1)
3461         (window--state-put-2, window-state-put)
3462         (display-buffer-record-window, window--display-buffer):
3463         Make functions handle pixelwise sizing of windows.
3464         (display-buffer--action-function-custom-type)
3465         (display-buffer-fallback-action):
3466         Add display-buffer-in-previous-window.
3467         (display-buffer-use-some-window): Resize window to height it had
3468         before.
3469         (fit-window-to-buffer-horizontally): New option.
3470         (fit-frame-to-buffer): Describe new values.
3471         (fit-frame-to-buffer-bottom-margin): Replace with
3472         fit-frame-to-buffer-margins.
3473         (window--sanitize-margin): New function.
3474         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3475         using window-text-pixel-size.
3477 2013-11-30  Glenn Morris  <rgm@gnu.org>
3479         * emacs-lisp/bytecomp.el (byte-compile-form):
3480         Make the `interactive-only' warning like the `obsolete' one.
3481         * comint.el (comint-run):
3482         * files.el (insert-file-literally, insert-file):
3483         * replace.el (replace-string, replace-regexp):
3484         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3485         (goto-line, insert-buffer, next-line, previous-line):
3486         Tweak `interactive-only' spec.
3488         Stop keeping (most) generated cedet grammar files in the repository.
3489         * Makefile.in (semantic): New.
3490         (compile-main): Depend on semantic.
3492 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3494         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3495         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3497         * uniquify.el (uniquify-buffer-name-style): Change default.
3499         * loadup.el: Preload "uniquify".
3501         * time.el (display-time-update): Update all mode lines (bug#15999).
3503         * electric.el (electric-indent-mode): Enable by default.
3504         * loadup.el: Preload "electric".
3506 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
3508         * emacs-lisp/helpers.el (string-empty-p): New function.
3509         (string-blank-p): New function.
3511 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
3513         * imenu.el (imenu--index-alist): Add missing dot to the docstring
3514         (Bug#14029).
3516 2013-11-29  Andreas Politz  <politza@fh-trier.de>
3517         * imenu.el (imenu--subalist-p): Don't error on non-conses and
3518         allow non-lambda lists as functions.
3519         (imenu--in-alist): Don't recurse into non-subalists.
3520         (imenu): Don't pass function itself as an argument (Bug#14029).
3522 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3524         * progmodes/python.el (python-mode-map): Remove binding for ":".
3525         (python-indent-electric-colon): Remove command.
3526         (python-indent-post-self-insert-function): Integrate the previous code
3527         of python-indent-electric-colon.  Make it conditional on
3528         electric-indent-mode.
3529         (python-mode): Add ?: to electric-indent-chars.
3530         Move python-indent-post-self-insert-function to the end of
3531         post-self-insert-hook.
3533 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3535         * doc-view.el (doc-view-goto-page): Update mode-line.
3537         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3539 2013-11-27  Glenn Morris  <rgm@gnu.org>
3541         * international/charprop.el, international/uni-bidi.el:
3542         * international/uni-category.el, international/uni-combining.el:
3543         * international/uni-comment.el, international/uni-decimal.el:
3544         * international/uni-decomposition.el, international/uni-digit.el:
3545         * international/uni-lowercase.el, international/uni-mirrored.el:
3546         * international/uni-name.el, international/uni-numeric.el:
3547         * international/uni-old-name.el, international/uni-titlecase.el:
3548         * international/uni-uppercase.el:
3549         Remove generated files from VCS repository.
3551 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
3553         * filenotify.el (file-notify-add-watch): Don't special-case
3554         w32notify when computing the directory to watch.
3556 2013-11-27  Glenn Morris  <rgm@gnu.org>
3558         Make bootstrap without generated uni-*.el files possible again.
3559         * loadup.el: Update command-line-args checking for unidata-gen.
3560         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3561         * composite.el, international/characters.el:
3562         Handle unicode tables being undefined.
3564         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3565         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3566         (compile-main): Depend on leim rule.
3567         (leim): New rule.
3568         * loadup.el: Move leim-list.el to leim/ subdirectory.
3569         * startup.el (normal-top-level): No more leim directory.
3570         * international/ja-dic-cnv.el (skkdic-convert):
3571         Disable version-control and autoloads in output files.
3572         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3573         Disable version-control and autoloads in output files.
3574         * leim/quail: Move here from ../leim.
3575         * leim/quail/hangul.el (hangul-input-method-activate):
3576         Add autoload cookie.
3577         (generated-autoload-load-name): Set file-local value.
3578         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3579         (generated-autoload-load-name): Set file-local value.
3581 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
3583         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3584         (eww-add-bookmark): Ask confirmation when add to bookmarks.
3585         (eww-quit): Ask confirmation before quitting eww.
3587 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
3589         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3590         reading output from Diff on MS-Windows and MS-DOS.
3592 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
3594         * emacs-lisp/helpers.el (string-reverse): New function.
3596 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
3598         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3599         names on MS Windows, like "/[::1]:".
3601         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3602         SWITCHES.
3604 2013-11-26  Glenn Morris  <rgm@gnu.org>
3606         * progmodes/python.el (python-indent-guess-indent-offset):
3607         Avoid corner-case error.  (Bug#15975)
3609         Preload leim-list.el.  (Bug#4789)
3610         * loadup.el: Load leim-list.el when found.
3611         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3613 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
3615         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3617         * emacs-lisp/helpers.el (string-join): New function.
3619 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
3621         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3622         Mark as obsolete and replace it with a symbol property.
3623         (byte-compile-form): Use new 'interactive-only property.
3624         * comint.el, files.el, replace.el, simple.el:
3625         Apply new 'interactive-only properly.
3627 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
3629         * window.el (display-buffer-at-bottom): Make sure that
3630         split-window-sensibly creates the new window on bottom
3631         (Bug#15961).
3633 2013-11-23  David Kastrup  <dak@gnu.org>
3635         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3636         on the conflict markers when available.
3637         (smerge--get-marker): New function.
3638         (smerge-end-re, smerge-base-re): Add subgroup.
3640 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3642         * frame.el (handle-focus-in, handle-focus-out): Add missing
3643         interactive spec.
3645 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
3647         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3648         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3650 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3652         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
3653         (gomoku--last-pos): New var.
3654         (gomoku--intangible-chars): New const.
3655         (gomoku--intangible): New function.
3656         (gomoku-mode): Use it.  Derive from special-mode.
3657         (gomoku-move-up): Adjust line count.
3658         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3659         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3660         Simplify accordingly.
3662         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3663         Remove blink-cursor code.
3664         (blink-cursor-timer-function, blink-cursor-suspend):
3665         Don't special-case GUIs.
3666         (blink-cursor-mode): Use focus-in/out-hook.
3668 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
3670         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3671         work when annotation is invisible (Bug#13886).
3673 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
3675         * json.el (json-alist-p): Only return non-nil if the alist has
3676         simple keys (Bug#13518).
3678 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
3680         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3681         when control-statement is the first statement in a buffer (Bug#15956).
3683 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
3685         * imenu.el (imenu-generic-skip-comments-and-strings):
3686         New option (Bug#15560).
3687         (imenu--generic-function): Use it.
3689 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
3691         * minibuffer.el (completion--in-region-1): Scroll the correct window.
3692         (Bug#13898)
3694 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
3696         * emacs-lisp/helpers.el: Add some string helpers.
3697         (string-trim-left): Removes leading whitespace.
3698         (string-trim-right): Removes trailing whitespace.
3699         (string-trim): Removes leading and trailing whitespace.
3701         * subr.el (string-suffix-p): New function.
3703 2013-11-23  Glenn Morris  <rgm@gnu.org>
3705         * progmodes/python.el (python-shell-send-file):
3706         Add option to delete file when done.  (Bug#15647)
3707         (python-shell-send-string, python-shell-send-region): Use it.
3709 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
3711         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3712         to set buffer-read-only to t, never to nil.  (Bug#15938)
3714         * textmodes/tex-mode.el (latex-noindent-environments):
3715         Add safe-local-variable property.  (Bug#15936)
3717 2013-11-23  Glenn Morris  <rgm@gnu.org>
3719         * textmodes/enriched.el (enriched-mode): Doc fix.
3720         * emacs-lisp/authors.el (authors-renamed-files-alist):
3721         Add enriched.doc -> enriched.txt.
3723         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3725 2013-11-22  Leo Liu  <sdl.web@gmail.com>
3727         * progmodes/octave.el (inferior-octave-startup): Spit out error
3728         message.
3730 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
3732         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3733         Improve docstring.
3734         Add :version.
3735         (ruby-encoding-magic-comment-style): Add :version.
3737 2013-11-22  Leo Liu  <sdl.web@gmail.com>
3739         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3740         (Bug#15076)
3741         (octave-help-mode): Adapt to change to help-mode-finish to use
3742         derived-mode-p on 2013-09-17.
3743         (inferior-octave-prompt): Also match octave-gui.
3744         (octave-kill-process): Don't ask twice.  (Bug#10564)
3746 2013-11-22  Leo Liu  <sdl.web@gmail.com>
3748         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3749         (inferior-octave-startup, inferior-octave-check-process)
3750         (inferior-octave-track-window-width-change)
3751         (octave-completion-at-point, octave-eldoc-function): Use it.
3752         (octave-kill-process): Provide confirmation.  (Bug#10564)
3754 2013-11-21  Leo Liu  <sdl.web@gmail.com>
3756         * progmodes/octave.el (octave-mode, inferior-octave-mode):
3757         Fix obsolete variable comment-use-global-state.
3759 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3761         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3762         Add `octave-source-file'.
3763         (octave-source-file): New function.  (Bug#15935)
3765 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
3767         * net/eww.el (eww-local-regex): New variable.
3768         (eww): Use it to detect localhost and similar.
3770 2013-11-21  Leo Liu  <sdl.web@gmail.com>
3772         Add completion for command `ag'.
3773         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3774         (pcomplete/ag): New function.
3775         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
3777 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3779         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3780         (bug#14646).
3781         (make-obsolete): Remove interactive spec.
3783 2013-11-21  Glenn Morris  <rgm@gnu.org>
3785         * startup.el (command-line-1): Use path-separator with -L.
3787 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
3789         * emacs-lisp/package.el (describe-package-1): Add package archive
3790         to shown fields.
3792 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
3794         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3795         Change default to "# encoding: %s" to differentiate it from the
3796         default Ruby encoding comment template.
3798 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
3800         * ses.el (ses-mode): Doc fix.  (Bug#14748)
3802 2013-11-20  Leo Liu  <sdl.web@gmail.com>
3804         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
3806 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
3808         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3809         when rebase or bisect are in progress.
3811 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
3813         * filenotify.el (file-notify-add-watch): Doc fix.
3815 2013-11-19  Leo Liu  <sdl.web@gmail.com>
3817         * obsolete/rcompile.el: Mark obsolete.
3819         * progmodes/compile.el (compilation-start)
3820         (compilation-goto-locus, compilation-find-file):
3821         Pass no-display-ok and handle nil value from display-buffer.
3822         (Bug#13594)
3824         * window.el (display-buffer-alist, display-buffer): Document the
3825         new parameter no-display-ok.  Return either a window or nil
3826         but never a non-window value.
3828 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3830         * electric.el (electric-indent-mode-map): Remove.
3831         (electric-indent-mode): Change the global-map instead (bug#15915).
3833         * textmodes/text-mode.el (paragraph-indent-minor-mode):
3834         Use add-function.
3836 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3838         * emacs-lisp/nadvice.el (remove-function): Align with
3839         add-function's behavior.
3841         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3842         (gdb--string-regexp): New constant.
3843         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3844         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3845         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3846         submatch 1.
3847         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3848         Adjust use accordingly.
3849         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3851 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
3853         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3854         interpolation curlies (Bug#15914).
3856 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
3858         * calc/calc.el (calc-context-sensitive-enter): New variable.
3859         (calc-enter): Use `calc-context-sensitive-enter'.
3861 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
3863         * progmodes/cfengine.el: Version bump.
3864         (cfengine-cf-promises): New defcustom to locate cf-promises.
3865         (cfengine3-vartypes): Add new "data" type.
3866         (cfengine3--current-word): New function to get current name-like
3867         word or its bounds.
3868         (cfengine3--current-function): New function to look up a CFEngine
3869         function's definition.
3870         (cfengine3-format-function-docstring): New function.
3871         (cfengine3-make-syntax-cache): New function.
3872         (cfengine3-documentation-function): New function: ElDoc glue.
3873         (cfengine3-completion-function): New function: completion glue.
3874         (cfengine3-mode): Set `compile-command',
3875         `eldoc-documentation-function', and add to
3876         `completion-at-point-functions'.
3878 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
3880         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3881         `tramp-current-connection'.
3883 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
3885         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3886         nil/self/true/false with "end of symbol".
3888 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
3890         * subr.el (version-regexp-alist): Fix a typo.
3892 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
3894         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3895         "en_US.utf8" and "LC_CTYPE" to "".
3896         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3897         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3899 2013-11-15  Leo Liu  <sdl.web@gmail.com>
3901         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
3903 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3905         * progmodes/gud.el (ctl-x-map):
3906         Remove C-x SPC binding.  (Bug#12342)
3907         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3909 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
3911         * subr.el (version-regexp-alist):
3912         Recognize hg, svn and darcs versions as snapshot versions.
3914         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3915         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3916         (ruby--encoding-comment-required-p): Extract from
3917         `ruby-mode-set-encoding'.
3918         (ruby-mode-set-encoding): Add the ability to always insert an
3919         utf-8 encoding comment.  Fix and simplify coding comment update
3920         logic.
3922 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
3924         * net/tramp-gvfs.el (top): Run init code only when
3925         `tramp-gvfs-enabled' is not nil.
3926         (tramp-gvfs-enabled): Check also :system bus.
3928 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3930         Sync with upstream verilog-mode revision 78e66ba.
3931         * progmodes/verilog-mode.el (verilog-end-of-defun)
3932         (verilog-type-completion, verilog-get-list): Remove unused funcs.
3933         (verilog-get-end-of-defun): Remove unused argument.
3934         (verilog-comment-depth): Remove unused local `e'.
3935         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3936         Don't pass arg to verilog-get-end-of-defun.
3938 2013-11-14  Glenn Morris  <rgm@gnu.org>
3940         * obsolete/assoc.el (aget): Prefix dynamic variable.
3942         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3944 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3946         * widget.el, hfy-cmap.el: Remove bogus package version number.
3948 2013-11-13  Glenn Morris  <rgm@gnu.org>
3950         * replace.el (replace-eval-replacement):
3951         Try to give more helpful error message.  (Bug#15836)
3953         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3954         (archive-7z-update): Avoid custom type mismatches.
3956         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3958 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
3960         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3961         address can be empty.
3963         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3964         Accept nil SWITCHES.
3965         (tramp-gvfs-handle-write-region): Implement APPEND.
3967 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
3969         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3970         binary "|" operator and closing block args delimiter.
3971         Remove FIXME comment referring to Ruby 1.8-only syntax.
3972         (ruby-smie--implicit-semi-p): Not after "|" operator.
3973         (ruby-smie--closing-pipe-p): New function.
3974         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3975         (ruby-smie-rules): Indent after "|".
3977 2013-11-12  Glenn Morris  <rgm@gnu.org>
3979         * ps-print.el (ps-face-attribute-list):
3980         Handle anonymous faces.  (Bug#15827)
3982 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
3984         * window.el (display-buffer-other-frame): Fix doc-string.
3985         (Bug#15868)
3987 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3989         * subr.el (force-mode-line-update): Delete, move to buffer.c.
3991 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
3993         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3994         (tramp-sh-handle-file-local-copy): Don't write a message when
3995         saving temporary files.
3997         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3998         both directories are remote.
3999         (tramp-smb-handle-directory-files): Do not return double entries.
4000         Do not expand full file names.
4001         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4002         (tramp-smb-handle-write-region): Implement APPEND.
4003         (tramp-smb-get-stat-capability): Fix a stupid bug.
4005 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4007         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4009 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
4011         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4012         throwing error over malformed let/let* (bug#15814).
4014 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4016         * iswitchb.el (iswitchb-mode): Mark obsolete.
4018 2013-11-11  Glenn Morris  <rgm@gnu.org>
4020         * international/uni-bidi.el, international/uni-category.el:
4021         * international/uni-name.el, international/uni-numeric.el:
4022         Regenerate for Unicode 6.3.0.
4024 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
4026         * net/tramp.el (tramp-methods):
4027         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4028         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4030 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
4032         * progmodes/sh-script.el (sh-font-lock-keywords-var):
4033         Force highlighting text after Summary keyword in doc face for rpm.
4035 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
4037         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4038         available and the word has no wildcards, append one to the grep pattern.
4039         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4040         (ispell-complete-word): Call `ispell-lookup-words' with the value
4041         independent of `ispell-look-p'.
4043 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
4045         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4046         Not after "||".
4047         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4048         their parent.
4050 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4052         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
4053         (ruby-font-lock-keywords): Use backquote.
4055 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
4057         * progmodes/ruby-mode.el (ruby-smie--forward-token)
4058         (ruby-smie--backward-token): Only consider full-string matches.
4060 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
4062         * faces.el (describe-face): Add distant-foreground.
4064 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
4066         * progmodes/ruby-mode.el: Improve encoding comment handling.
4067         (ruby-encoding-magic-comment-style): New option.
4068         (ruby-custom-encoding-magic-comment-template): New option.
4069         (ruby--insert-coding-comment, ruby--detect-encoding):
4070         New functions extracted from `ruby-mode-set-encoding'.
4071         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4072         to control the style of the auto-inserted encoding comment.
4074 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
4076         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4077         Use `smie-backward-sexp' with token argument.
4079 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
4081         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4082         Remove instrumentation code.
4084 2013-11-08  Glenn Morris  <rgm@gnu.org>
4086         * progmodes/autoconf.el (autoconf-mode):
4087         Tweak comment-start-skip.  (Bug#15822)
4089 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4091         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4092         at bobp (bug#15826).
4093         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4095 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
4097         * man.el (Man-start-calling): New macro, extracted from
4098         Man-getpage-in-background.
4099         (Man-getpage-in-background): Use it.
4100         (Man-update-manpage): New command.
4101         (Man-mode-map): Bind it.
4103 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
4105         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4106         of "and", "or", "&&" and "||".
4107         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4108         argument.  Prohibit opening curly brace because it could only be a
4109         block opener in that position.
4110         (ruby-smie--forward-token, ruby-smie--backward-token):
4111         Separate "|" from "&" or "*" going after it.  That can happen in block
4112         arguments.
4113         (ruby-smie--indent-to-stmt): New function, seeks the end of
4114         previous statement or beginning of buffer.
4115         (ruby-smie-rules): Use it.
4116         (ruby-smie-rules): Check if there's a ":" before a curly block
4117         opener candidate; if there is, it's a hash.
4119 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4121         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4122         (cl--block-wrapper): Fix last accidental change.
4124 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
4126         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4127         Instrument, in order to hunt failure on hydra.
4129 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
4131         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4132         malformed bindings form (bug#15814).
4134 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
4136         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4137         "." compared to " @ ".  This incidentally fixes some indentation
4138         examples with "do".
4139         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4140         (ruby-smie-grammar): New tokens: "and" and "or".
4141         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4142         Exclude "and" and "or".  Remove "do" in order to work around token
4143         priorities.
4144         (ruby-smie-rules): Add all infix tokens.  Handle the case of
4145         beginning-of-buffer.
4147 2013-11-06  Glenn Morris  <rgm@gnu.org>
4149         * Makefile.in (setwins_almost, setwins_for_subdirs):
4150         Avoid accidental matches.
4152 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4154         * menu-bar.el (popup-menu): Use key-binding.
4156 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
4158         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4159         menus, support also the menus produced by minor modes.
4160         (Bug#15817)
4162 2013-11-06  Leo Liu  <sdl.web@gmail.com>
4164         * thingatpt.el (thing-at-point-looking-at): Add optional arg
4165         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
4167 2013-11-06  Glenn Morris  <rgm@gnu.org>
4169         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4170         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4171         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4173 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4175         * electric.el (electric-indent-just-newline): New command.
4176         (electric-indent-mode-map): New keymap.
4177         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4178         Re-add :group which weren't redundant.
4180         * electric.el (electric-indent-local-mode): New minor mode.
4181         (electric-indent-functions-without-reindent): New var.
4182         (electric-indent-post-self-insert-function): Use it.
4183         * emacs-lisp/gv.el (buffer-local-value): Add setter.
4185 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
4187         * international/quail.el (quail-help): Be more explicit about the
4188         meaning of the labels shown on the keys.  (Bug#15800)
4190         * startup.el (normal-top-level): Load the subdirs.el files before
4191         setting the locale environment.  (Bug#15805)
4193 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4195         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4196         via arguments so as to get the right ones (bug#15418).
4198         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4200 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
4202         Fix problems found while writing a test suite.
4204         * net/tramp-compat.el (tramp-compat-load): New defun.
4205         * net/tramp.el (tramp-handle-load): Use it.
4207         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4208         "(numberp ok-if-already-exists)" correctly.
4210 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
4212         * international/characters.el (glyphless-char-display-control):
4213         Add usage note.
4215 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
4217         * progmodes/python.el (python-mode):
4218         * progmodes/scheme.el (scheme-mode):
4219         * progmodes/prolog.el (prolog-mode):
4220         * progmodes/ruby-mode.el (ruby-mode):
4221         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4222         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4224 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4226         * rect.el (rectangle--highlight-for-redisplay):
4227         * emacs-lisp/smie.el (smie--next-indent-change):
4228         Use buffer-chars-modified-tick.
4230         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4232         * electric.el (electric-indent-post-self-insert-function):
4233         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4235 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
4237         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4239 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
4241         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4242         (bug#15786).
4244 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4246         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
4248         * progmodes/python.el: Fix up last change.
4249         (python-shell--save-temp-file): New function.
4250         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
4251         `string' comes from the current buffer.
4252         (python-shell-send-string-no-output): Remove `msg' arg.
4253         (python--use-fake-loc): New var.
4254         (python-shell-buffer-substring): Obey it.  Try to compensate for the
4255         extra coding line added by python-shell--save-temp-file.
4256         (python-shell-send-region): Use python-shell--save-temp-file and
4257         python-shell-send-file directly.  Add `nomain' argument.
4258         (python-shell-send-buffer): Use python-shell-send-region.
4259         (python-electric-pair-string-delimiter): New function.
4260         (python-mode): Use it.
4262 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
4264         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4265         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4266         environment and decoding all of the default-directory's to here
4267         from command-line.
4268         (command-line): Decode also argv[0].
4270         * loadup.el: Error out if default-directory is a multibyte string
4271         when we are dumping.
4273         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
4275 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
4277         * emacs-lisp/package.el (package-menu-mode)
4278         (package-menu--print-info, package-menu--archive-predicate):
4279         Add Archive column to package list.
4281 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
4283         Fix problems found while writing a test suite.
4285         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4286         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4287         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4288         to nil when running original file name handler.  Otherwise,
4289         there are problems with constructs like "$$FOO".
4291         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4292         for `localname'.
4294 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
4296         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4298         * subr.el (version<, version<=, version=):
4299         Update docstrings with information for snapshot versions.
4301         * helpers.el: New library for misc helper functions.
4302         (hash-table-keys): New function returning a list of hash keys.
4303         (hash-table-values): New function returning a list of hash values.
4305 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
4307         * progmodes/ruby-mode.el (ruby-smie--forward-token)
4308         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4310 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
4312         * textmodes/fill.el (fill-single-char-nobreak-p): New function
4313         checking whether point is after a 1-letter word.
4315 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
4317         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4318         Don't infloop when expanding region over `multiline' syntax-type that
4319         begins a line (bug#15778).
4321 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4323         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4324         Make it into a proper minor mode.
4325         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4326         (rectangle-mark-mode-map): New keymap.
4327         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4329 2013-11-04  Glenn Morris  <rgm@gnu.org>
4331         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4333 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4335         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4336         (ruby-smie-rules): Use smie-rule-parent instead.
4338         * emacs-lisp/smie.el (smie-rule-parent): Always call
4339         smie-indent-virtual rather than only for hanging tokens.
4340         (smie--next-indent-change): New helper command.
4342 2013-11-03  Glenn Morris  <rgm@gnu.org>
4344         * Makefile.in (abs_srcdir): Remove.
4345         (emacs): Unset EMACSLOADPATH.
4347 2013-11-02  Glenn Morris  <rgm@gnu.org>
4349         * Makefile.in (EMACS): Use a relative filename.
4350         (abs_top_builddir): Remove.
4351         (custom-deps, finder-data, autoloads): Use --chdir.
4353         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4355         Use relative filenames in TAGS files.
4356         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4357         (lisptagsfiles4, TAGS): Use relative file names.
4358         (TAGS-LISP): Remove.
4359         (maintainer-clean): No more TAGS-LISP file.
4361         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4362         (lisptagsfiles4): Use absolute filenames again.
4363         (TAGS, TAGS-LISP): Not everything needs to run in one line.
4364         Remove all *loaddefs files, not just the first.  Remove esh-groups.
4365         (maintainer-clean): Delete TAGS, TAGS-LISP.
4367 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
4369         * emacs-lisp/package.el (package-version-join):
4370         Recognize snapshot versions.
4372 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
4374         * subr.el (version-regexp-alist): Add support for snapshot versions.
4376 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
4378         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4379         New function, replacement for `smie-rule-parent' for when we want to
4380         skip over our direct parent if it's an assignment token..
4381         (ruby-smie-rules): Use it.
4383 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
4385         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4386         unconditionally.  Remove now unnecessary forward declarations.
4387         Remove XEmacs-specific setup.
4388         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4389         (ruby-font-lock-syntactic-keywords)
4390         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4391         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4392         (ruby-here-doc-end-syntax): Remove.
4393         (ruby-mode): Don't check whether `syntax-propertize-rules' is
4394         defined as function.
4396 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
4398         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4400 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
4402         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4403         table and abbrev table, `define-derived-mode' does that for us
4404         anyway.
4406 2013-11-01  Glenn Morris  <rgm@gnu.org>
4408         * Makefile.in: Remove manual mh-e dependencies (writing .elc
4409         files is atomic for some time, so no parallel compilation issues).
4411 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
4413         * faces.el (face-x-resources): Add :distant-foreground.
4414         (region): Use :distant-foreground for gtk and ns.
4416 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
4418         Allow multiple bibliographies when BibLaTeX is used rather than
4419         BibTeX.
4420         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4421         (reftex-locate-bibliography-files): Us it.
4423 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
4425         * image.el (image-type-header-regexps): Fix the 'pbm' part to
4426         allow comments in pbm files.
4428         * term/w32-win.el (dynamic-library-alist): Support newer versions
4429         of libjpeg starting with v7: look only for the DLL from the
4430         version against which Emacs was built.
4431         Support versions of libpng beyond 1.4.x.
4432         Support libtiff v4.x.
4434 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
4436         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4437         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4438         Add property :safe.
4439         (ruby-deep-arglist): Add property :type.
4441 2013-10-31  Glenn Morris  <rgm@gnu.org>
4443         * Makefile.in (custom-deps, finder-data): No need to setq the target
4444         variables, we are in the right directory and the defaults work fine.
4446 2013-10-30  Glenn Morris  <rgm@gnu.org>
4448         * Makefile.in (autoloads): Do not use abs_lisp.
4450         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4451         `newline' does not respect `standard-output', so use `princ'.
4453 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
4455         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
4456         * buff-menu.el (Buffer-menu--unmark): New function.
4457         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4459 2013-10-30  Glenn Morris  <rgm@gnu.org>
4461         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4463         * emacs-lisp/package.el (lm-homepage): Declare.
4465         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4466         Fix doc typos.
4468         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4470         * Makefile.in (finder-data, autoloads, update-subdirs)
4471         (compile-main, compile-clean, compile-always, bootstrap-clean):
4472         Check return value of cd.
4473         (compile-calc): Remove.
4475 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4477         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4479         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4480         (byte-compile-and-folded): New function.
4481         (=, <, >, <=, >=): Use it.
4483         * dos-w32.el (minibuffer-history-case-insensitive-variables)
4484         (path-separator, null-device, buffer-file-coding-system)
4485         (lpr-headers-switches): Check system-type before modifying them.
4486         (find-buffer-file-type-coding-system): Mark obsolete.
4487         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4488         find-file-not-found-set-buffer-file-coding-system.
4489         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
4490         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4491         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
4492         (w32-direct-print-region-helper, w32-direct-print-region-function)
4493         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4494         * startup.el (normal-top-level-add-subdirs-to-load-path):
4495         * ps-print.el (ps-print-region-function):
4496         * lpr.el (print-region-function): Use new name.
4498         * subr.el (custom-declare-variable-early): Remove function.
4499         (custom-declare-variable-list): Remove var.
4500         (error, user-error): Remove `while' loop.
4501         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4502         (user-emacs-directory-warning, locate-user-emacs-file):
4503         Move to files.el.
4504         * simple.el (read-quoted-char-radix, read-quoted-char):
4505         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4506         Move from subr.el.
4507         * custom.el (custom-declare-variable-list): Don't process
4508         custom-declare-variable-list.
4510         * progmodes/python.el (python-shell-get-buffer): New function.
4511         (python-shell-get-process): Use it.
4512         (python-shell-send-string): Always use utf-8 and add a cookie to tell
4513         Python which encoding was used.  Don't split-string since we only care
4514         about the first line.  Return the temp-file, if applicable.
4515         (python-shell-send-region): Tell compile.el how to turn locations in
4516         the temp-file into locations in the source buffer.
4518 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4520         * subr.el (undefined): Add missing behavior from the C code for
4521         unbound keys.
4523         * rect.el: Use lexical-binding.  Add new rectangular region support.
4524         (rectangle-mark): New command.
4525         (rectangle--region): New var.
4526         (deactivate-mark-hook): Reset rectangle--region.
4527         (rectangle--extract-region, rectangle--insert-for-yank)
4528         (rectangle--highlight-for-redisplay)
4529         (rectangle--unhighlight-for-redisplay): New functions.
4530         (region-extract-function, redisplay-unhighlight-region-function)
4531         (redisplay-highlight-region-function): Use them to handle
4532         rectangular region.
4533         * simple.el (region-extract-function): New var.
4534         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4535         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4536         (kill-region): Replace obsolete `yank-handler' arg with `region'.
4537         (copy-region-as-kill, kill-ring-save): Add `region' argument.
4538         (redisplay-unhighlight-region-function)
4539         (redisplay-highlight-region-function): New vars.
4540         (redisplay--update-region-highlight): New function.
4541         (pre-redisplay-function): Use it.
4542         (exchange-point-and-mark): Don't deactivate the mark before
4543         reactivate-it anyway.
4544         * comint.el (comint-kill-region): Remove yank-handler argument.
4545         * delsel.el (delete-backward-char, backward-delete-char-untabify)
4546         (delete-char): Remove property, since it's now part of their
4547         default behavior.
4548         (self-insert-iso): Remove property since this command doesn't exist.
4550         * emacs-lisp/package.el (package--download-one-archive)
4551         (describe-package-1): Don't query the user about final newline.
4553 2013-10-29  Daniel Colascione  <dancol@dancol.org>
4555         * net/tramp.el (tramp-methods): Document new functionality.
4556         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4557         tramp-hostname-checker if method provides one instead of scanning
4558         argument list for "%h" to decide hostname acceptability.
4560 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
4562         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4563         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4564         Handle COPY-CONTENTS.  (Bug#15737)
4566 2013-10-28  Daiki Ueno  <ueno@gnu.org>
4568         * epa-file.el
4569         (epa-file-cache-passphrase-for-symmetric-encryption):
4570         Document that this option has no effect with GnuPG 2.0 (bug#15552).
4572 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
4574         * image.el (defimage, image-load-path): Doc fixes.
4576 2013-10-27  Alan Mackenzie  <acm@muc.de>
4578         Indent statements in macros following "##" correctly.
4579         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4580         Modify the "#" arm of a cond form to handle "#" and "##" operators.
4582 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
4584         * linum.el (linum-update-window): Fix boundary test (bug#13446).
4586 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
4588         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4589         after `=' is probably a new expression.
4591 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4593         * man.el (man-imenu-title): New option.
4594         (Man-mode-map): Add menu.  (Bug#15722)
4595         (Man-mode): Add imenu to menu.
4597 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
4599         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4600         specific in what the first arg can be: a non-keyword word,
4601         string/regexp/percent literal opener, opening paren, or unary
4602         operator followed directly by word.
4604 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4606         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4607         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4608         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4609         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4610         Remove vars, they do not apply any more.
4611         (prolog-mode-abbrev-table): Remove redundant declaration.
4612         (prolog-upper-case-string, prolog-lower-case-string): Remove.
4613         (prolog-use-smie): Remove.
4614         (prolog-smie-rules): Add indentation rule for the if-then-else layout
4615         supported by prolog-electric-if-then-else-flag.
4616         (prolog-mode-variables, prolog-menu): Use setq-local.
4617         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4618         Remove binding to `Backspace' since this key doesn't exist anyway.
4619         Remove bindings for electric self-inserting keys.
4620         (prog-mode): Assume it's defined.
4621         (prolog-post-self-insert): New function.
4622         (prolog-mode): Use it.
4623         (prolog-indent-line, prolog-indent-level)
4624         (prolog-find-indent-of-matching-paren)
4625         (prolog-indentation-level-of-line, prolog-goto-comment-column)
4626         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4627         (prolog-goto-next-paren, prolog-in-string-or-comment)
4628         (prolog-tokenize, prolog-inside-mline-comment)
4629         (prolog-find-start-of-mline-comment): Remove functions.
4630         (prolog-find-unmatched-paren, prolog-clause-end)
4631         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4632         (prolog-electric--if-then-else): Rename from
4633         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4634         (prolog-tokenize-searchkey): Remove const.
4635         (prolog-clause-info): Use forward-sexp.
4636         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4637         (prolog-electric-if-then-else): Remove commands.
4638         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4639         for use in post-self-insert-hook.
4640         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4641         for use in post-self-insert-hook.
4642         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4643         for use in post-self-insert-hook.
4644         (prolog-electric--underscore): Rename from prolog-electric--underscore;
4645         adapt it for use in post-self-insert-hook.
4647 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
4649         * emacs-lisp/ert.el (ert-run-tests-interactively):
4650         Use `completing-read'.  (Bug#9756)
4652 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
4654         * simple.el (line-move): Call line-move-1 instead of
4655         line-move-visual when the current window hscroll is zero, but
4656         temporary-goal-column indicates we will need to hscroll as result
4657         of the movement.  (Bug#15712)
4659 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
4661         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4662         capitalization.  Use :visible instead of :active.
4663         Fix `ruby-indent-exp' reference.  Add menu items for the generic
4664         commands that are used with SMIE.
4665         (ruby-do-end-to-brace): Insert space after `{'.
4667 2013-10-25  John Anthony  <john@jo.hnanthony.com>
4669         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
4671         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
4673 2013-10-25  Glenn Morris  <rgm@gnu.org>
4675         * vc/vc.el (vc-print-log): Don't use a working revision unless
4676         one was explicitly specified.  (Bug#15322)
4678 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4680         * subr.el (add-to-list): Preserve return value in compiler-macro
4681         (bug#15692).
4683 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4685         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4686         result.  Ask user to retry using '-all' flag.  (Bug#15701)
4688 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4690         * emacs-lisp/smie.el: New smie-config system.
4691         (smie-config): New defcustom.
4692         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4693         (smie-config-guess, smie-config-save): New commands.
4694         (smie-config--mode-local, smie-config--buffer-local)
4695         (smie-config--trace, smie-config--modefuns): New vars.
4696         (smie-config--advice, smie-config--mode-hook)
4697         (smie-config--setter, smie-config-local, smie-config--get-trace)
4698         (smie-config--guess-value, smie-config--guess): New functions.
4699         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4700         text properties.  Treat "string fence" syntax like string syntax.
4702         * progmodes/sh-script.el (sh-use-smie): Change default.
4703         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4704         (sh-var-value): Simplify by CSE.
4705         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4706         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4707         is used.
4708         (sh-guess-basic-offset): Use cl-incf.
4709         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4711 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
4713         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4714         (bug#15699).
4716 2013-10-24  Glenn Morris  <rgm@gnu.org>
4718         * Makefile.in (abs_top_srcdir): Remove.
4719         (update-subdirs): Use relative path to update-subdirs.
4721 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
4723         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4724         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4725         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4726         Call unmsys--file-name before expand-file-name, not after it.
4728 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
4730         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4731         (ert-test-skipped): New error.
4732         (ert-skip, ert-stats-skipped): New defuns.
4733         (ert--skip-unless): New macro.
4734         (ert-test-skipped): New struct.
4735         (ert--run-test-debugger, ert-test-result-type-p)
4736         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4737         (ert--stats-set-test-and-result, ert-char-for-test-result)
4738         (ert-string-for-test-result, ert-run-tests-batch)
4739         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4740         Handle skipped tests.  (Bug#9803)
4742 2013-10-24  Glenn Morris  <rgm@gnu.org>
4744         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4746         * Makefile.in (abs_top_srcdir): New, set by configure.
4747         (update-subdirs): Correct build-aux location.
4749 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
4751         * vc/vc.el (vc-print-root-log): Always set `default-directory'
4752         value, whether we could auto-deduce `backend', or not.
4754         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4755         with parameters" example.  Simplify the "is it block or is it
4756         hash" check, but also make it more thorough.
4758 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
4760         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
4762 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4764         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4765         { if it is hanging.
4767         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4768         :before ";".
4770 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
4772         * progmodes/compile.el (compilation-directory-matcher)
4773         (compilation-page-delimiter):
4774         Support GNU Make-4.0 directory quoting.  (Bug#15678)
4776 2013-10-23  Leo Liu  <sdl.web@gmail.com>
4778         * ido.el (ido-tidy): Handle read-only text.
4780 2013-10-23  Glenn Morris  <rgm@gnu.org>
4782         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4783         (emacs, compile, compile-always):
4784         Quote entities that might contain whitespace.
4785         (custom-deps, finder-data, autoloads): Use abs_lisp.
4786         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4787         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4788         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4790 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
4792         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4793         Use `following-char'.
4795 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4797         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4798         * progmodes/ruby-mode.el (ruby-smie-rules):
4799         Remove corresponding workaround.  Fix indentation rule of ";" so it
4800         also applies when ";" is the parent.
4802 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
4804         * frame.el (display-screens, display-pixel-height)
4805         (display-pixel-width, display-mm-width, display-backing-store)
4806         (display-save-under, display-planes, display-color-cells)
4807         (display-visual-class, display-monitor-attributes-list):
4808         Mention the optional ‘display’ argument in doc strings.
4810 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
4812         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4813         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
4815 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
4817         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4818         TODO.  Add "." after " @ ".
4819         (ruby-smie--at-dot-call): New function.  Checks if point at method
4820         call with explicit target.
4821         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4822         to the method name tokens when it precedes them.
4823         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4824         (ruby-smie-rules): Add rule for indentation before and after "."
4825         token.
4827 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4829         * textmodes/remember.el (remember-diary-extract-entries):
4830         Avoid add-to-list.
4832         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4833         an instruction.
4835 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
4837         * progmodes/ruby-mode.el (ruby-smie-grammar):
4838         Add (almost) all infix operators.
4839         (ruby-smie--implicit-semi-p): Add new operator chars.
4841         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4842         `smie-down-list'.
4843         (ruby-smie--args-separator-p): Check that there's no newline
4844         between method call and its arguments.
4846 2013-10-20  Alan Mackenzie  <acm@muc.de>
4848         Allow comma separated lists after Java "implements".
4850         * progmodes/cc-engine.el (c-backward-over-enum-header):
4851         Parse commas.
4852         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4853         from a "disallowed" list in enum fontification.
4855 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
4857         * startup.el (default-frame-background-mode): Remove unused defvar.
4859         * progmodes/verilog-mode.el (verilog-mode): Don't set
4860         comment-indent-function globally.
4862 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
4864         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4865         Move Info menu item creation to ns-win.el.
4867         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4868         in menu bar.
4870         * menu-bar.el: Move GNUstep specific menus...
4872         * term/ns-win.el (ns-initialize-window-system): ... to here.
4874 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4876         * simple.el (newline): Only run post-self-insert-hook when
4877         called interactively.
4879 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
4881         * icomplete.el (icomplete-with-completion-tables): Add :version.
4883 2013-10-19  Alan Mackenzie  <acm@muc.de>
4885         Fix fontification bugs with constructors and const.
4887         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4888         CASE 2) Remove the check for the absence of a suffix construct
4889         after a function declaration with only types (no identifiers) in
4890         the parentheses.  Also, accept a function declaration with just a
4891         type inside the parentheses, if this type can be positively
4892         recognised as such, or if a prefix keyword like "explicit" nails
4893         down the construct as a declaration.
4895 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
4897         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4898         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
4899         the problem whereby selecting a menu item that leads to a
4900         minibuffer prompt moves the cursor out of the minibuffer window,
4901         making it hard to type at the prompt.  Suggested by Stefan Monnier
4902         <monnier@iro.umontreal.ca>.
4904 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
4906         * menu-bar.el: Don't make Services menu.
4908 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4910         * ffap.el: Handle "/usr/include/c++/<version>" directories.
4911         (ffap-alist): Use ffap-c++-mode for c++-mode.
4912         (ffap-c++-path): New variable.
4913         (ffap-c++-mode): New function.
4915 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
4917         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
4919 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
4921         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4922         introduced on 2013-09-08, which results in an infinite loop
4923         requesting a password.
4925 2013-10-18  Glenn Morris  <rgm@gnu.org>
4927         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4929 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
4931         Sync with upstream verilog-mode revision 1a6ecec7.
4932         * progmodes/verilog-mode.el (verilog-mode-version): Update.
4933         (verilog-mode-release-date): Remove.
4934         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4935         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4936         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4937         (verilog-auto-tieoff-ignore-regexp)
4938         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4939         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4940         (verilog-signals-with, verilog-dir-cache-preserving)
4941         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4942         Doc fixes.
4943         (verilog-case-fold): New option, to control case folding in
4944         regexp searches, bug597.
4945         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4946         (verilog-string-match-fold, verilog-in-paren-count)
4947         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4948         (verilog-at-close-struct-p): New functions.
4949         (verilog-beg-block-re-ordered, verilog-extended-case-re)
4950         (verilog-forward-sexp, verilog-set-auto-endcomments)
4951         (verilog-leap-to-case-head): Handle "unique0" case.
4952         (verilog-in-constraint-re): New constant.
4953         (verilog-keywords, verilog-type-font-keywords):
4954         Add some SystemVerilog 1800-2012 keywords.
4955         (verilog-label-be): Remove unimplemented argument, bug669.
4956         (verilog-batch-execute-func): When batch expanding clear
4957         create-lockfiles to prevent spurious user locks when a file ends
4958         up not changing.
4959         (verilog-calculate-indent, verilog-calc-1)
4960         (verilog-at-close-constraint-p, verilog-at-constraint-p)
4961         (verilog-do-indent): Fix indentation of nested constraints
4962         and structures.
4963         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4964         (verilog-auto-inst-param): Use verilog-string-match-fold.
4965         (verilog-read-inst-module-matcher):
4966         Fix AUTOINST on gate primitives with #1.
4967         (verilog-read-decls): Fix double-declaring user-defined typed signals.
4968         Reads all user-defined typed variables.
4969         (verilog-read-defines): Fix reading definitions inside comments, bug647.
4970         (verilog-signals-matching-regexp)
4971         (verilog-signals-not-matching-regexp, verilog-auto):
4972         Respect verilog-case-fold.
4973         (verilog-diff-report): Fix line count.
4974         (verilog-auto-assign-modport): Remove unused local `modi'.
4975         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4976         better handle multidimensional arrays.
4977         Fix packed array ports misadding bit index in AUTOINST, bug637.
4978         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4979         to not double-declare existing outputs and inputs, respectively.
4980         (verilog-template-map): Bind U to verilog-sk-uvm-component.
4981         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4982         (verilog-sk-uvm-component): New skeleton.
4983         (verilog-submit-bug-report): Add verilog-case-fold,
4984         remove verilog-mode-release-date.
4986 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
4988         * subr.el (sit-for): Call (input-pending-p t) so as to behave
4989         as before.
4991 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
4993         * textmodes/remember.el (remember): Set buffer-offer-save in
4994         remember buffers (bug#13566).
4996 2013-10-18  Daniel Colascione  <dancol@dancol.org>
4998         When evaluating forms in ielm, direct standard output to ielm
4999         buffer.  Add new ielm-return-for-effect command.  Remove trailing
5000         whitespace throughout.
5002         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5003         (ielm-return-for-effect): New command.
5004         (ielm-send-input): Accept optional `for-effect' parameter.
5005         (ielm-eval-input): Accept optional `for-effect' parameter.
5006         Bind `standard-output' to stream we create using
5007         `ielm-standard-output-impl'.  Suppress printing result when
5008         `for-effect'.
5009         (ielm-standard-output-impl): New function.
5010         (inferior-emacs-lisp-mode): Explain new features in documentation.
5012 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
5014         Code cleanup.
5016         * net/tramp.el (tramp-debug-message): Do not check for connection
5017         buffer.
5018         (tramp-message): Use "vector" connection property.
5020         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5021         (tramp-equal-remote, tramp-eshell-directory-change)
5022         * net/tramp-adb.el (tramp-adb-handle-copy-file)
5023         (tramp-adb-handle-rename-file)
5024         * net/tramp-cmds.el (tramp-list-remote-buffers)
5025         (tramp-cleanup-connection, tramp-cleanup-this-connection)
5026         * net/tramp-compat.el (tramp-compat-process-running-p)
5027         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5028         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5029         (tramp-gvfs-handle-rename-file)
5030         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5031         (tramp-set-file-uid-gid)
5032         * net/tramp-smb.el (tramp-smb-handle-copy-file)
5033         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5034         of `file-remote-p'.
5036         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5037         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5038         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5039         (tramp-gw-open-network-stream): Suppress unrelated traces.
5041         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5042         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5043         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5044         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5045         connection property.
5047         * net/tramp-cache.el (top): Suppress traces when reading
5048         persistency file.
5050         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5051         Refactor common code.  Improve debug message.
5052         (tramp-maybe-open-connection)
5053         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5054         connection buffer too early.
5056         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5057         from `tramp-smb-actions-with-acl'.
5058         (tramp-smb-actions-set-acl): New defconst.
5059         (tramp-smb-handle-copy-directory)
5060         (tramp-smb-action-get-acl): New defun, renamed from
5061         `tramp-smb-action-with-acl'.
5062         (tramp-smb-action-set-acl): New defun.
5063         (tramp-smb-handle-set-file-acl): Rewrite.
5065 2013-10-17  Glenn Morris  <rgm@gnu.org>
5067         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
5069 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5071         * skeleton.el (skeleton-newline): Remove.
5072         (skeleton-internal-1): Use (insert "\n") instead.
5074         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5075         let-bindings.
5077         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5078         forward-sexp-function while we redo its job (bug#15613).
5080 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
5082         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5083         represented by lists.
5085 2013-10-16  Glenn Morris  <rgm@gnu.org>
5087         * tmm.el (tmm--history): New dynamic variable.
5088         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
5090 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
5092         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5093         (tramp-smb-errors): Add error messages.
5094         (tramp-smb-actions-with-acl): New defconst.
5095         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5096         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5097         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5098         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5099         (tramp-smb-get-stat-capability): Fix tests.
5101 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
5103         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5104         (bug#15580).
5106 2013-10-16  Glenn Morris  <rgm@gnu.org>
5108         * ansi-color.el (ansi-color-drop-regexp):
5109         Add 1J, 1K, 2K.  (Bug#15617)
5111         * files.el (hack-local-variables--warned-lexical): New.
5112         (hack-local-variables):
5113         Warn about misplaced lexical-binding.  (Bug#15616)
5115         * net/eww.el (eww-render): Always set eww-current-url,
5116         and update header line.  (Bug#15622)
5117         (eww-display-html): ... Rather than just doing it here.
5119 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
5121         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5122         menu navigations commands.
5124 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
5126         * progmodes/subword.el (subword-capitalize): Be careful when
5127         the search for [[:alpha:]] fails (bug#15580).
5129 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
5131         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5132         to commands that scroll the menu.
5134 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
5136         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5137         Handle methods ending with `?' and `!'.
5139 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
5141         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5142         `japanese-cp932' to `cp932' to fix the problem where saving a
5143         source file written in Shift_JIS twice would end up having
5144         `coding: japanese-cp932' which Ruby could not recognize.
5145         (ruby-mode-set-encoding): Add support for encodings mapped to nil
5146         in `ruby-encoding-map'.
5147         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5148         doesn't need to be explicitly declared in magic comment.
5149         (ruby-encoding-map): Add type declaration for better customize UI.
5151 2013-10-13  Glenn Morris  <rgm@gnu.org>
5153         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5154         Occur buffers are read-only.  http://bugs.debian.org/720775
5156         * emacs-lisp/authors.el (authors-fixed-entries):
5157         Comment out old alpha stuff.
5159 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
5161         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5162         to `after-save-hook' instead of `before-save-hook'.
5163         (ruby-mode-set-encoding): Use the value of coding system used to
5164         write the file.  Call `basic-save-buffer-1' after modifying the
5165         buffer.
5167 2013-10-13  Alan Mackenzie  <acm@muc.de>
5169         Fix indentation/fontification of Java enum with
5170         "implements"/generic.
5172         * progmodes/cc-engine.el (c-backward-over-enum-header):
5173         Extracted from the three other places and enhanced to handle generics.
5174         (c-inside-bracelist-p): Uses new function above.
5175         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5176         function above.
5177         (c-font-lock-enum-tail): Uses new function above.
5179 2013-10-13  Kenichi Handa  <handa@gnu.org>
5181         * international/mule-cmds.el (select-safe-coding-system): Remove a
5182         superfluous condition in chekcing whether a coding system is safe
5183         or not.
5185 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
5187         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
5189 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
5191         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
5193 2013-10-13  Glenn Morris  <rgm@gnu.org>
5195         * menu-bar.el (menu-bar-update-buffers):
5196         Unify Buffers menu prompt string.  (Bug#15576)
5198         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
5200         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5201         Add some entries.
5202         (authors-fixed-entries): Use accented form of name.
5204 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5206         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5207         method calls (bug#15594).
5208         (ruby-smie--args-separator-p): New function.
5209         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5210         recognize paren-free method calls.
5212         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5213         internals of universal-argument.
5215 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
5217         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5218         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5219         dropped menu on second mouse click on the menu bar.
5221 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5223         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5224         (explicit-shell-file-name): Declare.
5225         (sh--vars-before-point, sh--cmd-completion-table): New functions.
5226         (sh-completion-at-point-function): New function.
5227         (sh-mode): Use it.
5228         (sh-smie--keyword-p): Remove unused argument.
5229         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5230         vars.
5231         (sh-set-shell): Always setup SMIE, even if we use the
5232         old indentation code.
5234 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
5236         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5237         cases of ? and =.
5238         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
5239         predicate would return nil are almost non-existent.
5240         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5242         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5243         cache also after commands that modify the buffer but don't move
5244         point.
5246 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5248         * env.el (substitute-env-in-file-name): New function.
5249         (substitute-env-vars): Extend the meaning of the optional arg.
5251 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
5253         * term/w32-win.el (dynamic-library-alist): Define separate lists
5254         of GIF DLLs for versions before and after 5.0.0 of giflib.
5255         (Bug#15531)
5257 2013-10-10  João Távora  <joaotavora@gmail.com>
5259         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5260         not locked, use last revision and current source as
5261         defaults.  (Bug#15569)
5263 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
5265         * menu-bar.el (menu-bar-open): Don't use popup-menu if
5266         menu-bar is hidden.
5268 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
5270         * window.el (pop-to-buffer-same-window): Fix doc-string.
5271         (Bug#15492)
5273 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5275         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5277 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
5279         * calendar/icalendar.el (icalendar-import-file):
5280         Fix interactive spec.  (Bug#15482)
5282 2013-10-10  Glenn Morris  <rgm@gnu.org>
5284         * desktop.el (desktop-save): Default to saving in .emacs.d,
5285         since PWD is no longer in desktop-path by default.  (Bug#15319)
5287         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5288         now that text mode has a menu with the same entry.
5289         (menu-bar-text-mode-auto-fill): Remove now unused func.
5290         * textmodes/text-mode.el (text-mode-map):
5291         Use auto-fill help text from menu-bar.el.
5293 2013-10-10  John Anthony  <john@jo.hnanthony.com>
5295         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
5297 2013-10-09  Juri Linkov  <juri@jurta.org>
5299         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5300         instead of this-command-keys.  Add universal-argument-more and
5301         universal-argument-minus to the list of prefix commands.  (Bug#15568)
5303 2013-10-09  Glenn Morris  <rgm@gnu.org>
5305         * vc/vc-svn.el (vc-svn-create-repo):
5306         Expand paths in file://... url.  (Bug#15446)
5308         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5309         Add some entries.
5310         (authors): Remove unused local variables.
5312 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5314         * profiler.el: Create a more coherent calltree from partial backtraces.
5315         (profiler-format): Hide the tail with `invisible' so that C-s can still
5316         find the hidden elements.
5317         (profiler-calltree-depth): Don't recurse so enthusiastically.
5318         (profiler-function-equal): New hash-table-test.
5319         (profiler-calltree-build-unified): New function.
5320         (profiler-calltree-build): Use it.
5321         (profiler-report-make-name-part): Indent the calltree less.
5322         (profiler-report-mode): Add visibility specs for profiler-format.
5323         (profiler-report-expand-entry, profiler-report-toggle-entry):
5324         Expand the whole subtree when provided with a prefix arg.
5326 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
5328         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5329         iuwu-mod token.
5330         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5331         hanging iuwu-mod token.
5332         (ruby-smie--forward-token): Do not include a dot after a token in
5333         that token.
5334         (ruby-smie--backward-token): Likewise.
5336 2013-10-08  Juri Linkov  <juri@jurta.org>
5338         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5339         to isearch-other-control-char.
5340         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5341         and isearch-post-command-hook to post-command-hook.
5342         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5343         and isearch-post-command-hook from post-command-hook.
5344         (isearch-unread-key-sequence)
5345         (isearch-reread-key-sequence-naturally)
5346         (isearch-lookup-scroll-key, isearch-other-control-char)
5347         (isearch-other-meta-char): Remove functions.
5348         (isearch-pre-command-hook, isearch-post-command-hook):
5349         New functions based on isearch-other-meta-char rewritten
5350         relying on the new behavior of overriding-terminal-local-map
5351         that does not replace the local keymaps any more.  (Bug#15200)
5353 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
5355         Support menus on text-mode terminals.
5356         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5357         functionality.
5359         * tooltip.el (tooltip-mode): Don't error out on TTYs.
5361         * menu-bar.el (popup-menu, popup-menu-normalize-position):
5362         Move here from mouse.el.
5363         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5364         and arrow keys.
5365         (tty-menu-navigation-map): New map for TTY menu navigation.
5367         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5369         * frame.el (display-mouse-p): Report text-mode mouse as available
5370         on w32.
5371         (display-popup-menus-p): Report availability if mouse is
5372         available; don't condition on window-system.
5374         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5375         (tty-menu-selected-face): New faces.
5377 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5379         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5380         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5381         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5382         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5383         New constants.
5384         (lisp-mode-variables): New `elisp' argument.
5385         (emacs-lisp-mode): Use it.
5386         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5387         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5389         * indent.el: Use lexical-binding.
5390         (indent-region): Add progress reporter.
5391         (tab-stop-list): Make it implicitly extend to infinity by repeating the
5392         last step.
5393         (indent--next-tab-stop): New function to implement this behavior.
5394         (tab-to-tab-stop, move-to-tab-stop): Use it.
5396 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
5398         * indent.el (indent-rigidly--current-indentation): New function.
5399         (indent-rigidly-map): New var.
5400         (indent-rigidly): Use it to provide interactive mode (bug#8196).
5402 2013-10-08  Bastien Guerry  <bzg@gnu.org>
5404         * register.el (insert-register): Fix 2013-10-07 change.
5406 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5408         * progmodes/perl-mode.el: Use lexical-binding.
5409         Remove redundant :group args.
5410         (perl-nochange): Change default to be closer to other major modes's
5411         standard behavior.
5412         (perl-indent-line): Don't consider text on current line as a
5413         valid beginning of function from which to indent.
5415         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5416         with more than one argument (bug#15538).
5418         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5420         * vc/pcvs.el: Use lexical-binding.
5421         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5422         environment of `eval'.
5423         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5424         than a list of expressions.  Adjust callers.
5425         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5427 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
5429         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5430         case of the dot in a chained method call being on the following line.
5432 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5434         * electric.el (electric-indent-inhibit): New var.
5435         (electric-indent-post-self-insert-function): Use it.
5436         * progmodes/python.el (python-mode): Set it.
5438         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5439         open braces.
5441         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5443         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5444         (css-mode): Use electric-indent-chars.
5446         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5447         (font-lock-beg, font-lock-end): Move before first use.
5448         (nxml-mode): Use syntax-propertize-function.
5449         (nxml-after-change, nxml-after-change1): Adjust accordingly.
5450         (nxml-extend-after-change-region): Remove.
5451         * nxml/xmltok.el: Use lexical-binding.
5452         (xmltok-save): Use `declare'.
5453         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5454         * nxml/nxml-util.el: Use lexical-binding.
5455         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5456         Use `declare'.
5457         * nxml/nxml-ns.el: Use lexical-binding.
5458         (nxml-ns-save): Use `declare'.
5459         (nxml-ns-prefixes-for): Avoid add-to-list.
5460         * nxml/rng-match.el: Use lexical-binding.
5461         (rng--ipattern): Use cl-defstruct.
5462         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5463         (rng-cons-group-after, rng-subst-group-after)
5464         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5465         Use closures instead of `(lambda...).
5467 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
5469         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5470         of BEG and END.
5472         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5473         Use `tramp-handle-insert-file-contents'.
5474         (tramp-gvfs-handle-insert-file-contents): Remove function.
5476         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5477         Use `save-restriction' in order to keep markers.
5479         * net/trampver.el: Update release number.
5481 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5483         * progmodes/compile.el (compilation-parse-errors):
5484         Use compilation--put-prop.
5485         (compilation--ensure-parse): Check compilation-multiline.
5487         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5489         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5490         lexical-binding.
5492         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5494         * progmodes/ruby-mode.el: Fix recently added tests.
5495         (ruby-smie-grammar): Add - and +.
5496         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5497         (ruby-smie--backward-id): New functions.
5498         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5499         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
5500         any more.
5502 2013-10-07  Leo Liu  <sdl.web@gmail.com>
5504         * register.el (register-preview-delay)
5505         (register-preview-functions): New variables.
5506         (register-read-with-preview, register-preview)
5507         (register-describe-oneline): New functions.
5508         (point-to-register, window-configuration-to-register)
5509         (frame-configuration-to-register, jump-to-register)
5510         (number-to-register, view-register, insert-register)
5511         (copy-to-register, append-to-register, prepend-to-register)
5512         (copy-rectangle-to-register): Use register-read-with-preview to
5513         read register.  (Bug#15525)
5515 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
5517         * net/network-stream.el (network-stream-open-starttls): Don't add
5518         --insecure if it's already present, because that gnutls-cli
5519         rejects getting that parameter twice.
5521 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
5523         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5524         keyword, too.
5526 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
5528         * newcomment.el (comment-use-global-state): Change default value
5529         to t, mark obsolete (Bug#15251).
5530         (comment-beginning): In addition to `comment-to-syntax', check the
5531         value of `comment-use-global-state'.
5533 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5535         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5536         (ruby-comment-column): Follow the global default, by default.
5537         (ruby-smie-grammar): Add assignment syntax.
5538         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5539         open-paren, a comma, or a \.
5540         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5541         and line continuations.
5542         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5543         followed by implicit semi-colons.  Add rule for string concatenation
5544         and for indentation at BOB.
5545         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5547         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5548         calling next-sexp, since next-token may have skipped chars which
5549         next-sexp doesn't know should be skipped!
5551 2013-10-05  Leo Liu  <sdl.web@gmail.com>
5553         * progmodes/octave.el (octave-send-region):
5554         Call compilation-forget-errors.
5556 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
5558         * vc/vc-svn.el (vc-svn-find-admin-dir):
5559         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5560         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5561         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5562         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5564 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5566         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5568 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5570         * subr.el (read-passwd): Hide chars even when called within a context
5571         where after-change-functions is disabled (bug#15501).
5572         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5573         until we removed ourself from overriding-terminal-local-map.
5575 2013-10-04  Leo Liu  <sdl.web@gmail.com>
5577         * progmodes/octave.el (inferior-octave-mode):
5578         Call compilation-forget-errors.
5580 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
5582         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5584 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
5586         * net/secrets.el (secrets-create-collection): Add optional
5587         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
5588         dbus-call-method argument.  (Bug#15516)
5590 2013-10-04  Leo Liu  <sdl.web@gmail.com>
5592         * progmodes/octave.el (inferior-octave-error-regexp-alist)
5593         (inferior-octave-compilation-font-lock-keywords): New variables.
5594         (compilation-error-regexp-alist)
5595         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5596         (inferior-octave-mode): Use compilation-shell-minor-mode.
5598 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
5600         * minibuffer.el (completion--replace): Be careful that `end' might be
5601         a marker.
5603 2013-10-03  Daiki Ueno  <ueno@gnu.org>
5605         Add support for package signature checking.
5606         * emacs-lisp/package.el (url-http-file-exists-p)
5607         (epg-make-context, epg-context-set-home-directory)
5608         (epg-verify-string, epg-context-result-for)
5609         (epg-signature-status, epg-signature-to-string)
5610         (epg-check-configuration, epg-configuration)
5611         (epg-import-keys-from-file): Declare.
5612         (package-check-signature): New user option.
5613         (package-unsigned-archives): New user option.
5614         (package-desc): Add `signed' field.
5615         (package-load-descriptor): Set `signed' field if .signed file exists.
5616         (package--archive-file-exists-p): New function.
5617         (package--check-signature): New function.
5618         (package-install-from-archive): Check package signature.
5619         (package--download-one-archive): Check archive signature.
5620         (package-delete): Remove .signed file.
5621         (package-import-keyring): New command.
5622         (package-refresh-contents): Import default keyring.
5623         (package-desc-status): Add "unsigned" status.
5624         (describe-package-1, package-menu--print-info)
5625         (package-menu-mark-delete, package-menu--find-upgrades)
5626         (package-menu--status-predicate): Support "unsigned" status.
5628 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5630         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5631         the new compilation scheme using the new byte-codes.
5633         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5634         (byte-pophandler): New byte codes.
5635         (byte-goto-ops): Adjust accordingly.
5636         (byte-compile--use-old-handlers): New var.
5637         (byte-compile-catch): Use new byte codes depending on
5638         byte-compile--use-old-handlers.
5639         (byte-compile-condition-case--old): Rename from
5640         byte-compile-condition-case.
5641         (byte-compile-condition-case--new): New function.
5642         (byte-compile-condition-case): New function that dispatches depending
5643         on byte-compile--use-old-handlers.
5644         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5645         when we can.
5647         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5648         Optimize under `condition-case' and `catch' if
5649         byte-compile--use-old-handlers is nil.
5650         (disassemble-offset): Handle new bytecodes.
5652 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5654         * subr.el (error): Use `declare'.
5655         (decode-char, encode-char): Use advertised-calling-convention instead
5656         of the docstring to discourage use of the `restriction' arg.
5658 2013-10-03  Daiki Ueno  <ueno@gnu.org>
5660         * epg.el (epg-verify-file): Add a comment saying that it does not
5661         notify verification error as a return value nor a signal.
5662         (epg-verify-string): Ditto.
5664 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
5666         * progmodes/compile.el (compilation-start): Try globbing the arg to
5667         `cd' (bug#15417).
5669 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
5671         Sync with Tramp 2.2.8.
5673         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5674         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5675         * net/trampver.el: Update release number.
5677 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
5679         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5680         and default-process-coding-system for darwin only.
5682 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5684         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5686 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
5688         * vc/vc-git.el (vc-git-grep): Disable pager.
5690 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
5692         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5693         Use :url instead of :homepage, as per
5694         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5696         * newcomment.el (comment-beginning): When `comment-use-syntax' is
5697         non-nil, use `syntax-ppss' (Bug#15251).
5699 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5701         * progmodes/octave.el (inferior-octave-startup-file):
5702         Prefer ~/.emacs.d/init_octave.m.
5704 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
5706         * emacs-lisp/package.el (package-desc-from-define):
5707         Accept additional arguments as plist, convert them to an alist and store
5708         them in the `extras' slot.
5709         (package-generate-description-file): Convert extras alist back to
5710         plist and append to the `define-package' form arguments.
5711         (package--alist-to-plist): New function.
5712         (package--ac-desc): Add `extras' slot.
5713         (package--add-to-archive-contents): Check if the archive-contents
5714         vector is long enough, and if it is, pass its `extras' slot value
5715         to `package-desc-create'.
5716         (package-buffer-info): Call `lm-homepage', pass the returned value
5717         to `package-desc-from-define'.
5718         (describe-package-1): Render the homepage button (Bug#13291).
5720         * emacs-lisp/package-x.el (package-upload-buffer-internal):
5721         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5723 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
5725         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5726         and default-process-coding-system to utf-8-unix (Bug#15402).
5728 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
5730         * subr.el (looking-back): Do not recommend using looking-back.
5732 2013-09-28  Alan Mackenzie  <acm@muc.de>
5734         Fix indentation/fontification of Java enum with "implements".
5736         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5737         regexp which matches "implements", etc., in Java.
5738         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5739         specifier clauses coming after "enum".
5740         * progmodes/cc-fonts.el (c-font-lock-declarations)
5741         (c-font-lock-enum-tail): Check for extra specifier clauses coming
5742         after "enum".
5744 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
5746         * faces.el (region): Change ns_selection_color to
5747         ns_selection_fg_color, add ns_selection_bg_color.
5749 2013-09-28  Leo Liu  <sdl.web@gmail.com>
5751         * progmodes/octave.el (inferior-octave-completion-table)
5752         (inferior-octave-completion-at-point): Minor tweaks.
5754         * textmodes/ispell.el (ispell-lookup-words): Rename from
5755         lookup-words.  (Bug#15460)
5756         (lookup-words): Obsolete.
5757         (ispell-complete-word, ispell-command-loop): All uses changed.
5759 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5761         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5762         (octave-mode-menu): Add octave-send-buffer.
5763         (octave-send-buffer): New function.
5765 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5767         * progmodes/octave.el (octave-mode-map): Add key binding for
5768         octave-lookfor.
5769         (octave-mode-menu): Add octave-lookfor.
5770         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5771         octave-lookfor.
5772         (octave-lookfor): New function.
5774 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5776         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
5777         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5778         its convention.
5779         (cl--loop-set-iterator-function): New function.
5780         (cl-loop): Adjust accordingly, so as not to use cl-subst.
5781         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5782         Bind `it' with `let' instead of substituting it with `cl-subst'.
5783         (cl--unused-var-p): New function.
5784         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5785         Eliminate some unused variable warnings (bug#15326).
5787 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
5789         * doc-view.el (doc-view-scale-reset): Rename from
5790         `doc-view-reset-zoom-level'.
5791         (doc-view-scale-adjust): New command.
5792         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5793         `doc-view-scale-adjust'.
5795 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
5797         * doc-view.el (doc-view-reset-zoom-level): New command.
5798         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5799         zoom commands (bug#15466).
5801 2013-09-26  Kenichi Handa  <handa@gnu.org>
5803         * international/quail.el (quail-help): Make it not a command.
5805 2013-09-26  Leo Liu  <sdl.web@gmail.com>
5807         * minibuffer.el (completion-all-sorted-completions): Make args
5808         optional as they are.
5810 2013-09-25  Daniel Colascione  <dancol@dancol.org>
5812         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5813         specs are and that they're not evaluated.
5815 2013-09-24  Sam Steingold  <sds@gnu.org>
5817         * midnight.el (clean-buffer-list-kill-regexps)
5818         (clean-buffer-list-kill-buffer-names): Update for the new Man
5819         buffer naming which includes the object name.
5821 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5823         * eshell/esh-cmd.el (eshell--sep-terms): New var.
5824         (eshell-parse-command, eshell-parse-pipeline): Use it since
5825         eshell-separate-commands requires a dynamic scoped var.
5826         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5828 2013-09-23  Leo Liu  <sdl.web@gmail.com>
5830         * autoinsert.el (auto-insert-alist): Make the value of
5831         lexical-binding match its file setting.
5833 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
5835         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5837         * autoarg.el (autoarg-kp-digit-argument):
5838         * electric.el (Electric-command-loop):
5839         * kmacro.el (kmacro-step-edit-insert):
5840         Do not set universal-argument-num-events.
5842 2013-09-22  Leo Liu  <sdl.web@gmail.com>
5844         * files.el (interpreter-mode-alist): Add octave.
5846 2013-09-21  Alan Mackenzie  <acm@muc.de>
5848         C++: fontify identifier in declaration following "public:" correctly.
5849         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5850         to match "public", etc.
5851         (c-decl-prefix-re): Add ":" into the C++ value.
5852         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5853         bit.  Add a check for a ":" preceded by "public", etc.
5855 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
5857         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5858         recognized by GDB 7.5 and later.
5860 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
5862         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5864 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5866         * subr.el (internal--call-interactively): New const.
5867         (called-interactively-p): Use it (bug#3984).
5869 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
5871         * vc/pcvs.el (cvs-mode-ignore):
5872         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5873         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5875 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5877         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
5878         (eshell-ls-orig-insert-directory): Remove.
5879         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
5880         (eshell-ls-use-in-dired): Use advice-add/remove.
5881         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5882         Add `orig-fun' arg for use in :around advice.
5883         Make it check (redundantly) eshell-ls-use-in-dired.
5885 2013-09-19  Glenn Morris  <rgm@gnu.org>
5887         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5889         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5891         * emacs-lisp/eieio.el (class-parent): Undo previous change.
5893 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
5895         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5896         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5897         (tramp-get-remote-python): New defuns.
5898         (tramp-get-remote-uid-with-perl)
5899         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
5900         contributed by yary <not.com@gmail.com> (tiny change).
5901         (tramp-get-remote-uid-with-python)
5902         (tramp-get-remote-gid-with-python): New defuns.  Python code
5903         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5904         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5906 2013-09-19  Glenn Morris  <rgm@gnu.org>
5908         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5910         * eshell/em-unix.el (eshell-remove-entries):
5911         Rename argument to avoid name-clash with global `top-level'.
5913         * eshell/esh-proc.el (eshell-kill-process-function):
5914         Remove eshell-reset-after-proc from eshell-kill-hook if present.
5915         (eshell-reset-after-proc): Remove unused arg `proc'.
5917         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5918         (directory-files-and-attributes): Mark unused arg.
5920         * eshell/em-unix.el (eshell-remove-entries):
5921         Remove unused arg `path'.  Update callers.
5923         * eshell/em-hist.el (eshell-hist-parse-arguments):
5924         Remove unused arg `silent'.  Update callers.
5926         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5927         Fix (f)boundp mix-up.
5929         * eshell/em-smart.el (eshell-smart-scroll-window)
5930         (eshell-disable-after-change):
5931         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5933 2013-09-18  Alan Mackenzie  <acm@muc.de>
5935         Fix fontification of type when followed by "const".
5936         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5937         "known" types from fontification.
5939 2013-09-18  Glenn Morris  <rgm@gnu.org>
5941         * emacs-lisp/chart.el (x-display-color-cells): Declare.
5942         (chart-face-list): Drop Emacsen without display-color-p.
5944         * net/eww.el (libxml-parse-html-region): Declare.
5945         (eww-display-html): Explicit error if no libxml2 support.
5947         * doc-view.el (doc-view-mode): Silence --without-x compilation.
5949         * image.el (image-type-from-buffer, image-multi-frame-p):
5950         Remove --without-x warning/error.
5952         * mouse.el (mouse-yank-primary):
5953         * term.el (term-mouse-paste):
5954         Reorder to silence --without-x compilation.
5956         * mpc.el (doc-view-mode): Silence --without-x compilation.
5958         * mail/rmailmm.el (rmail-mime-set-bulk-data):
5959         Silence --without-x compilation.
5961         * progmodes/gud.el (gud-find-file, gud-mode):
5962         Silence --without-x compilation.
5963         (tooltip-mode): Declare.
5965         * wdired.el (dired-backup-overwrite): Remove declaration.
5966         (wdired-mode-map): Add doc string.
5968         * custom.el (x-get-resource): Declare.
5970         * eshell/em-glob.el (ange-cache):
5971         * eshell/em-unix.el (ange-cache): Declare.
5973         * faces.el (x-display-list, x-open-connection, x-get-resource):
5974         Declare.
5976         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5977         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5978         Declare.
5980         * frame.el (x-display-grayscale-p, x-display-name): Declare.
5982         * net/gnutls.el (gnutls-log-level): Declare.
5984         * net/shr.el (image-size, image-animate): Declare.
5986         * simple.el (font-info): Declare.
5988         * subr.el (x-popup-dialog): Declare.
5990         * term/common-win.el (x-select-enable-primary)
5991         (x-last-selected-text-primary, x-last-selected-text-clipboard):
5992         Declare.
5994         * term/ns-win.el (x-handle-args): Declare.
5996         * term/x-win.el (x-select-enable-clipboard): Declare.
5998         * term/w32-win.el (create-default-fontset): Declare.
6000         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6001         Declare.
6003         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6004         (fit-frame-to-buffer): Explicit error if --without-x.
6005         (mouse-autoselect-window-select): Silence compiler.
6007         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6009         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6010         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6011         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6012         * eshell/esh-util.el (eshell-sublist):
6013         Remove unused local variables.
6015         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6017         * textmodes/two-column.el: Make 2C-split work for --without-x.
6018         (scroll-bar-columns): Autoload.
6019         (top-level): Require fringe when compiling.
6021 2013-09-18  Leo Liu  <sdl.web@gmail.com>
6023         * subr.el (add-hook): Robustify to handle closure as well.
6025 2013-09-17  Glenn Morris  <rgm@gnu.org>
6027         * simple.el (messages-buffer-mode-map): Unbind "g".
6029 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6031         * help-mode.el (help-mode-finish): Use derived-mode-p.
6032         Remove obsolete highlighting.
6034         * play/life.el (life-mode): Use define-derived-mode.  Derive from
6035         special-mode.
6036         (life): Let-bind inhibit-read-only.
6037         (life-setup): Avoid `setq'.  Use `life-mode'.
6039         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6040         which should not be needed any more.
6041         (package-menu-refresh, package-menu-describe-package): Use user-error.
6043         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6044         (eshell-post-rewrite-command-hook): Make obsolete.
6045         (eshell-parse-command): Simplify.
6046         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6047         (eshell--cmd): Declare.
6048         (eshell-parse-pipeline): Remove unused var `final-p'.
6049         Pass a dynvar to eshell-post-rewrite-command-hook.
6050         Implement the new eshell-post-rewrite-command-function.
6051         (eshell-invoke-directly): Remove unused arg `input'.
6052         * eshell/esh-io.el (eshell-io-initialize):
6053         Use eshell-post-rewrite-command-function (bug#15399).
6054         (eshell--apply-redirections): Rename from eshell-apply-redirections;
6055         adjust to new calling convention.
6056         (eshell-create-handles): Rename args to avoid clashing with dynvar
6057         `standard-output'.
6059 2013-09-17  Glenn Morris  <rgm@gnu.org>
6061         * simple.el (messages-buffer-mode): New major mode.
6062         (messages-buffer): New function.
6063         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6064         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6065         (ert-run-test): Use `messages-buffer' function.
6066         (ert--force-message-log-buffer-truncation): Ignore read-only.
6067         * help.el (view-echo-area-messages): Use `messages-buffer' function.
6068         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6070 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6072         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6074         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6076 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6078         * icomplete.el (icomplete-in-buffer): New var.
6079         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6080         vars and replace them with functions.
6081         (icomplete-minibuffer-setup): Adjust accordingly.
6082         (icomplete--completion-table, icomplete--completion-predicate)
6083         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6084         New functions.
6085         (icomplete-forward-completions, icomplete-backward-completions)
6086         (icomplete-simple-completing-p, icomplete-exhibit)
6087         (icomplete-completions): Use them.
6088         (icomplete--in-region-buffer): New var.
6089         (icomplete--in-region-setup): New function.
6090         (icomplete-mode): Use it.
6092         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6093         (bug#15379).
6094         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6095         return args and options.
6096         (eshell-eval-using-options): Use the new return value of
6097         eshell--do-opts to set the options's vars in their scope.
6098         (eshell--set-option): Rename from eshell-set-option.
6099         Add arg `opt-vals'.
6100         (eshell--process-option): Rename from eshell-process-option.
6101         Add arg `opt-vals'.
6102         (eshell--process-args): Use an `opt-vals' alist to store the options's
6103         values during their processing and return them additionally to the
6104         remaining args.
6106 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
6108         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6109         continuation character an operator, as far as indentation is
6110         concerned (Bug#15369).
6112 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
6114         * window.el (window--state-put-2): Don't process buffer state
6115         when buffer doesn't exist any more (Bug#15382).
6117 2013-09-15  Glenn Morris  <rgm@gnu.org>
6119         * eshell/em-unix.el (eshell/rm):
6120         Make -f ignore missing files.  (Bug#15373)
6122         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
6123         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6124         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6126 2013-09-14  Glenn Morris  <rgm@gnu.org>
6128         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6130 2013-09-13  Glenn Morris  <rgm@gnu.org>
6132         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6133         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
6135 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
6137         * frame.el (x-focus-frame): Mark as declared in frame.c.
6139 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6141         * ls-lisp.el: Use advice-add.
6142         (original-insert-directory): Remove.
6143         (ls-lisp--insert-directory): Rename from insert-directory; add
6144         `orig-fun' argument.
6145         (insert-directory): Advise.
6147 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
6149         * term.el (term-emulate-terminal): Decode the command string
6150         before passing it to term-command-hook.  (Bug#15337)
6152 2013-09-13  Glenn Morris  <rgm@gnu.org>
6154         * eshell/esh-util.el (ange-cache): Move declaration earlier.
6156         * eshell/esh-ext.el (eshell-search-path): Declare.
6158         * eshell/em-prompt.el (eshell/pwd): Autoload it.
6159         Otherwise an error occurs if eshell-dirs module not loaded.
6161         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6163 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
6165         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6166         `tramp-check-proper-host'.  Check for a valid method name.
6168         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6169         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6170         * net/tramp-sh.el (tramp-maybe-open-connection):
6171         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6173         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6174         also for hash values.
6176 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6178         * term/ns-win.el (parameters): Don't declare as dynamic.
6179         (before-make-frame-hook): Don't add ineffective function.
6181         * eshell/*.el: Use lexical-binding (bug#15231).
6183 2013-09-12  Kenichi Handa  <handa@gnu.org>
6185         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6187 2013-09-12  Glenn Morris  <rgm@gnu.org>
6189         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6190         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6192         * subr.el (do-after-load-evaluation): Also give compiler warnings
6193         when obsolete files are used (except by obsolete files).
6195         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6196         in the status output, assume `filename' is the first.  (Bug#15322)
6198         * vc/vc.el (vc-deduce-fileset): Doc fix.
6200         * calc/calc-help.el (Info-goto-node):
6201         * progmodes/cperl-mode.el (Info-find-node):
6202         * vc/ediff.el (Info-goto-node): Update declarations.
6204         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6206         * vc/vc-bzr.el (vc-compilation-mode): Declare.
6207         (vc-bzr-pull): Require vc-dispatcher.
6208         * vc/vc-git.el (vc-compilation-mode): Declare.
6209         (vc-git-pull): Require vc-dispatcher.
6211         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6213         * progmodes/octave.el (help-button-action): Declare.
6215         * shell.el (shell-directory-tracker): Output error as a message
6216         rather than just returning it as a string.
6217         (shell-process-pushd): Remove useless use of message.
6219         * dframe.el (dframe-timer-fn):
6220         * files.el (dir-locals-read-from-file):
6221         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6222         (mpc-format):
6223         * reveal.el (reveal-post-command):
6224         * saveplace.el (load-save-place-alist-from-file):
6225         * shell.el (shell-resync-dirs):
6226         * w32-common-fns.el (x-get-selection-value):
6227         * emacs-lisp/copyright.el (copyright-find-copyright):
6228         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6229         * emulation/tpu-edt.el (tpu-copy-keyfile):
6230         * play/bubbles.el (bubbles--mark-neighbourhood):
6231         * progmodes/executable.el
6232         (executable-make-buffer-file-executable-if-script-p):
6233         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6235 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6237         Cleanup Eshell to rely less on dynamic scoping.
6238         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6239         last-value, and ext-command here.  Bind `args' closer to `body'.
6240         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6241         (eshell--args): Declare new dynamic var.
6242         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
6243         last-value, and ext-command.  Pass `args' to `body'.
6244         (eshell-process-args): Bind eshell--args.
6245         (eshell-set-option): Use eshell--args.
6246         * eshell/eshell.el (eshell): Use derived-mode-p.
6247         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6248         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6249         (eshell-glob-function): Declare.
6250         * eshell/esh-util.el: Require cl-lib.
6251         (eshell-read-hosts-file): Avoid add-to-list.
6252         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6253         `err'.
6254         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6255         Declare.
6256         (eshell/diff): Remove unused var `err'.
6257         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6258         `killflag'.
6259         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6260         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6261         first use.
6262         * eshell/em-glob.el (eshell-glob-matches, message-shown):
6263         Move declaration before first use.
6264         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6265         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6266         rely on cl-return.
6268 2013-09-12  Glenn Morris  <rgm@gnu.org>
6270         * term/ns-win.el (global-map): Remove binding for ispell-next,
6271         deleted 1999-05-29.  (Bug#15357)
6273 2013-09-11  Glenn Morris  <rgm@gnu.org>
6275         * echistory.el (electric-command-history): Remove call to deleted func.
6277         * play/landmark.el (landmark-mode): Fix typos.
6279         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6280         Check cvs-sort-ignore-file is bound.
6282         * savehist.el: No need for cl when compiling on Emacs.
6284 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6286         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6287         (bug#15338).
6288         (eshell-self-insert-command, eshell-send-invisible):
6289         Remove unused argument.
6290         (eshell-handle-control-codes): Remove unused var `orig'.
6291         Avoid delete-backward-char.
6293         * files.el (set-auto-mode): Simplify a bit further.
6295 2013-09-11  Glenn Morris  <rgm@gnu.org>
6297         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6298         (set-auto-mode): Don't regexp-quote elements.
6299         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6300         * progmodes/cc-mode.el (interpreter-mode-alist):
6301         * progmodes/ruby-mode.el (interpreter-mode-alist):
6302         Revert previous change.
6304 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6306         * play/snake.el (snake-mode):
6307         * play/mpuz.el (mpuz-mode):
6308         * play/landmark.el (lm-mode):
6309         * play/blackbox.el (blackbox-mode):
6310         * play/5x5.el (5x5-mode):
6311         * obsolete/options.el (Edit-options-mode):
6312         * net/quickurl.el (quickurl-list-mode):
6313         * net/newst-treeview.el (newsticker-treeview-mode):
6314         * mail/rmailsum.el (rmail-summary-mode):
6315         * mail/mspools.el (mspools-mode):
6316         * locate.el (locate-mode):
6317         * ibuffer.el (ibuffer-mode):
6318         * emulation/ws-mode.el (wordstar-mode):
6319         * emacs-lisp/debug.el (debugger-mode):
6320         * array.el (array-mode):
6321         * net/eudc.el (eudc-mode): Use define-derived-mode.
6322         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6323         Move initialization into declaration.
6324         (mairix-searches-mode): Use define-derived-mode.
6325         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6326         (eudc-edit-hotlist): Use dolist.
6327         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6328         (Man-mode): Use define-derived-mode.
6329         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6330         (Info-edit-mode): Use define-derived-mode.
6331         (Info-cease-edit): Use Info-mode.
6332         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6333         into declaration.
6334         (eshell-mode): Use define-derived-mode.
6335         * chistory.el (command-history-mode-map): Rename from
6336         command-history-map.
6337         (command-history-mode): Use define-derived-mode.
6338         (Command-history-setup): Remove function.
6339         * calc/calc.el (calc-trail-mode-map): New var.
6340         (calc-trail-mode): Use define-derived-mode.
6341         (calc-trail-buffer): Set calc-main-buffer manually.
6342         * bookmark.el (bookmark-insert-annotation): New function.
6343         (bookmark-edit-annotation): Use it.
6344         (bookmark-edit-annotation-mode): Make it a proper major mode.
6345         (bookmark-send-edited-annotation): Use derived-mode-p.
6346         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6347         closer to its ideal place.  Use \' to match EOS.
6349         * profiler.el (profiler-calltree-find): Use function-equal.
6351 2013-09-10  Glenn Morris  <rgm@gnu.org>
6353         * files.el (interpreter-mode-alist): Convert to regexps.
6354         (set-auto-mode): Adapt for this.  (Bug#15306)
6355         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6356         Comment out unused variable.
6357         * progmodes/cc-mode.el (interpreter-mode-alist):
6358         * progmodes/python.el (interpreter-mode-alist):
6359         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6360         * progmodes/sh-script.el (sh-set-shell):
6361         No longer use interpreter-mode-alist to get list of shells.
6363         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6365 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6367         * simple.el: Use set-temporary-overlay-map for universal-argument.
6368         (universal-argument-map): Don't use default-bindings (bug#15317).
6369         Bind switch-frame explicitly.  Replace universal-argument-minus with
6370         a conditional binding.
6371         (universal-argument-num-events, saved-overriding-map): Remove.
6372         (restore-overriding-map): Remove.
6373         (universal-argument--mode): Rename from save&set-overriding-map,
6374         and rewrite.
6375         (universal-argument, universal-argument-more, negative-argument)
6376         (digit-argument): Adjust accordingly.
6377         (universal-argument-minus): Remove.
6378         (universal-argument-other-key): Remove.
6380         * subr.el (with-demoted-errors): Add `format' argument.
6382 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
6384         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
6385         `tramp-cleanup-connection'.
6387         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6388         parameters KEEP-DEBUG and KEEP-PASSWORD.
6390         * net/tramp.el (tramp-file-name-handler):
6391         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6392         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6393         (tramp-maybe-open-connection):
6394         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6395         Use `tramp-cleanup-connection'.
6397         * net/tramp-sh.el (tramp-maybe-open-connection):
6398         Catch 'uname-changed inside the progress reporter.
6400 2013-09-10  Glenn Morris  <rgm@gnu.org>
6402         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
6404         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6405         returns "alternate access method" in mode (eg "-rw-r--r--.").
6407 2013-09-08  Glenn Morris  <rgm@gnu.org>
6409         * saveplace.el (load-save-place-alist-from-file):
6410         Demote errors.  (Bug#15305)
6412 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
6414         Improve compatibility with older Emacsen, and XEmacs.
6416         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6417         only if it is bound.  It isn't for XEmacs.
6418         (with-tramp-progress-reporter): Do not let-bind `result'.
6419         This yields to scoping errors in XEmacs.
6420         (tramp-handle-make-auto-save-file-name): New function, moved from
6421         tramp-sh.el.
6423         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6424         for `make-auto-save-file-name'.
6425         (tramp-adb--gnu-switches-to-ash):
6426         Use `tramp-compat-replace-regexp-in-string'.
6428         * net/tramp-cache.el (tramp-cache-print): Call
6429         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
6431         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6432         bound.  It isn't for XEmacs.
6434         * net/tramp-compat.el (tramp-compat-copy-file):
6435         Catch `wrong-number-of-arguments' error.
6436         (tramp-compat-replace-regexp-in-string): New defun.
6438         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6439         for `make-auto-save-file-name'.
6440         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6441         `copy-file'.
6442         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6443         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6444         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6446         * net/tramp-gw.el (tramp-gw-open-network-stream):
6447         Use `tramp-compat-replace-regexp-in-string'.
6449         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6450         Call `tramp-handle-make-auto-save-file-name'.
6451         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6452         (tramp-sh-file-gvfs-monitor-dir-process-filter)
6453         (tramp-sh-file-inotifywait-process-filter):
6454         Use `tramp-compat-replace-regexp-in-string'.
6455         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6457         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6458         for `make-auto-save-file-name'.
6459         (tramp-smb-handle-copy-directory):
6460         Call `tramp-compat-replace-regexp-in-string'.
6461         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6462         (tramp-smb-handle-copy-file): Improve error message.
6463         (tramp-smb-handle-rename-file): Rename directly only in case
6464         `newname' does not exist yet.  This is a restriction of smbclient.
6465         (tramp-smb-maybe-open-connection): Rerun the function only when
6466         `auth-sources' is non-nil.
6468 2013-09-08  Kenichi Handa  <handa@gnu.org>
6470         * international/characters.el: Set category "^" (Combining) for
6471         more characters.
6473 2013-09-07  Alan Mackenzie  <acm@muc.de>
6475         Correctly fontify Java class constructors.
6476         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6477         in Java Mode.
6478         (c-recognize-typeless-decls): Set the Java value to t.
6479         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6480         While handling a "(", add a check for, effectively, Java, and handle a
6481         "typeless" declaration there.
6483 2013-09-07  Roland Winkler  <winkler@gnu.org>
6485         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6486         field subtitle for entry type book.
6488 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6490         * minibuffer.el: Make minibuffer-complete call completion-in-region
6491         rather than other way around.
6492         (completion--some, completion-pcm--find-all-completions):
6493         Don't delay signals when debugging.
6494         (minibuffer-completion-contents): Beware fields within the
6495         minibuffer contents.
6496         (completion-all-sorted-completions): Use defvar-local.
6497         (completion--do-completion, completion--cache-all-sorted-completions)
6498         (completion-all-sorted-completions, minibuffer-force-complete):
6499         Add args `beg' and `end'.
6500         (completion--in-region-1): New fun, extracted from minibuffer-complete.
6501         (minibuffer-complete): Use completion-in-region.
6502         (completion-complete-and-exit): New fun, extracted from
6503         minibuffer-complete-and-exit.
6504         (minibuffer-complete-and-exit): Use it.
6505         (completion--complete-and-exit): Rename from
6506         minibuffer--complete-and-exit.
6507         (completion-in-region--single-word): New function, extracted from
6508         minibuffer-complete-word.
6509         (minibuffer-complete-word): Use it.
6510         (display-completion-list): Make `common-substring' argument obsolete.
6511         (completion--in-region): Call completion--in-region-1 instead of
6512         minibuffer-complete.
6513         (completion-help-at-point): Pass boundaries to
6514         minibuffer-completion-help as args rather than via an overlay.
6515         (completion-pcm--string->pattern): Use `any-delim'.
6516         (completion-pcm--optimize-pattern): New function.
6517         (completion-pcm--pattern->regex): Handle `any-delim'.
6518         * icomplete.el (icomplete-forward-completions)
6519         (icomplete-backward-completions, icomplete-completions):
6520         Adjust calls to completion-all-sorted-completions and
6521         completion--cache-all-sorted-completions.
6522         (icomplete-with-completion-tables): Default to t.
6523         * emacs-lisp/crm.el (crm--current-element): Rename from
6524         crm--select-current-element.  Don't put an overlay but return the
6525         boundaries instead.
6526         (crm--completion-command): Take two new args to bind to the boundaries.
6527         (crm-completion-help): Adjust accordingly.
6528         (crm-complete): Use completion-in-region.
6529         (crm-complete-word): Use completion-in-region--single-word.
6530         (crm-complete-and-exit): Use completion-complete-and-exit.
6532 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6534         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6535         than dynamically.
6537 2013-09-06  Juri Linkov  <juri@jurta.org>
6539         * info.el (Info-display-images-node): When image file doesn't exist
6540         display text version of the image if it's provided in the Info file.
6541         Otherwise, display the location of missing image from SRC attribute.
6542         Add help-echo text property from ALT attribute.  (Bug#15279)
6544 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6546         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6547         (edit-abbrevs-mode): Use define-derived-mode.
6549         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6550         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6551         that it's defined.
6552         (epa-key-list-mode, epa-key-mode, epa-info-mode):
6553         Use define-derived-mode.
6555         * epg.el (epg-start-encrypt): Minor CSE simplification.
6557 2013-09-06  William Xu  <william.xwl@gmail.com>
6559         * arc-mode.el: Add support for 7za (bug#15264).
6560         (archive-7z-program): New var.
6561         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6562         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6563         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6565 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
6567         Remove URL syntax.
6569         * net/tramp.el (tramp-syntax, tramp-prefix-format)
6570         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6571         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6572         (tramp-postfix-host-format, tramp-file-name-regexp)
6573         (tramp-completion-file-name-regexp)
6574         (tramp-completion-dissect-file-name)
6575         (tramp-handle-substitute-in-file-name): Remove 'url case.
6576         (tramp-file-name-regexp-url)
6577         (tramp-completion-file-name-regexp-url): Remove constants.
6579 2013-09-06  Glenn Morris  <rgm@gnu.org>
6581         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
6583 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
6585         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6586         keywords" below "here-doc beginnings" (Bug#15270).
6588 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6590         * subr.el (pop): Use `car-safe'.
6591         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6592         to detect unused `pop' return value.
6594         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6595         var `block-regexp'.
6596         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6597         (python-fill-string): Remove unused var `marker'.
6598         (python-skeleton-add-menu-items): Remove unused var `items'.
6600         * international/mule-cmds.el: Require CL.
6601         (find-coding-systems-for-charsets): Avoid add-to-list.
6602         (sanitize-coding-system-list): New function, extracted from
6603         select-safe-coding-system-interactively.
6604         (select-safe-coding-system-interactively): Use it.
6605         (read-input-method-name): Accept symbols for `default'.
6607         * emacs-lisp/advice.el (defadvice): Add indent rule.
6609 2013-09-05  Daniel Hackney  <dan@haxney.org>
6611         * dired-x.el:
6612         * net/ange-ftp.el:
6613         * net/browse-url.el:
6614         * net/dbus.el:
6615         * net/eudc.el:
6616         * net/eudcb-ldap.el:
6617         * net/eww.el:
6618         * net/imap.el:
6619         * printing.el:
6620         * vc/ediff-diff.el:
6621         * vc/ediff-init.el:
6622         * vc/ediff-merg.el:
6623         * vc/ediff-mult.el:
6624         * vc/ediff-util.el:
6625         * vc/ediff-wind.el:
6626         * vc/ediff.el:
6627         * vc/emerge.el:
6628         * vc/pcvs.el:
6629         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6630         byte compiler.  Remove some unused let-bound variables.
6632 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6634         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6635         a "ref-cell", since it gets better optimized (bug#14883).
6637 2013-09-05  Glenn Morris  <rgm@gnu.org>
6639         * progmodes/cc-awk.el (c-forward-sws): Declare.
6641 2013-09-04  Glenn Morris  <rgm@gnu.org>
6643         * generic-x.el [rul-generic-mode]: Require cc-mode.
6644         (c++-mode-syntax-table): Declare.
6645         (rul-generic-mode-syntax-table): Init in the defvar.
6647 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6649         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6650         (vc-do-command, vc-set-async-update):
6651         * vc/vc-mtn.el (vc-mtn-dir-status):
6652         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6653         (vc-hg-pull, vc-hg-merge-branch):
6654         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6655         (vc-git-merge-branch):
6656         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6657         (vc-cvs-dir-status-files):
6658         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6659         (vc-bzr-dir-status-files):
6660         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6661         * vc/vc-annotate.el: Use lexical-binding.
6662         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6663         (vc-sentinel-movepoint): Declare.
6664         (vc-annotate): Don't use `goto-line'.
6665         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6666         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6667         (vc-sentinel-movepoint): Declare.
6668         * vc/vc-svn.el: Use lexical-binding.
6669         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6670         * vc/vc-sccs.el:
6671         * vc/vc-rcs.el: Use lexical-binding.
6673         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6674         `deleted'.  Don't drop errors silently.
6676         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6678 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
6680         * vc/vc.el (vc-ignore): Rewrite.
6681         (vc-default-ignore): New function.
6682         (vc-default-ignore-completion-table): Use find-ignore-file.
6684         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6685         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6686         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6687         Remove.  Most code moved to vc.el.
6689 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6691         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6692         * net/tramp-smb.el (tramp-smb-get-file-entries):
6693         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6694         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6696         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6697         Update call to it.
6698         (eww-change-select): Remove unused var `properties'.
6699         (eww-make-unique-file-name): Remove unused var `base'.
6701         * finder.el (finder-compile-keywords): Don't mess with windows.
6703         * calculator.el (calculator-funcall): Fix typo in last change.
6705         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6707         * emacs-lisp/package.el (package-activate-1): Don't let a missing
6708         <pkg>-autoloads.el file stop us.
6710         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6711         warnings, and factor out common code.
6713 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
6715         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6716         two-character operators and whether the character preceding them
6717         changes their meaning (Bug#15208).
6719 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6721         Format code sent to Python shell for robustness.
6722         * progmodes/python.el (python-shell-buffer-substring):
6723         New function.
6724         (python-shell-send-region, python-shell-send-buffer): Use it.
6726 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
6728         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6729         * net/tramp.el (tramp-user-error): ... here.
6730         (tramp-find-method, tramp-check-proper-host)
6731         (tramp-dissect-file-name, tramp-debug-message)
6732         (tramp-handle-shell-command):
6733         * net/tramp-adb.el (tramp-adb-handle-shell-command):
6734         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6736         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6738 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
6740         * avoid.el (mouse-avoidance-point-position)
6741         (mouse-avoidance-too-close-p): Handle case where posn-at-point
6742         returns nil.
6744 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6746         * progmodes/python.el (python-shell-completion-get-completions):
6747         Drop use of deleted `comint-last-prompt-overlay'.
6748         (python-nav-if-name-main): New command.
6750 2013-09-01  Glenn Morris  <rgm@gnu.org>
6752         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6753         Avoid leading space in $wins.  Otherwise the sed command used by
6754         eg compile-main ends up containing "/*.el".  (Bug#15170)
6756         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
6758 2013-08-30  Glenn Morris  <rgm@gnu.org>
6760         * emacs-lisp/bytecomp.el (byte-recompile-directory):
6761         Fix is-this-a-directory logic.  (Bug#15220)
6763 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6765         * textmodes/css-mode.el: Use SMIE.
6766         (css-smie-grammar): New var.
6767         (css-smie--forward-token, css-smie--backward-token)
6768         (css-smie-rules): New functions.
6769         (css-mode): Use them.
6770         (css-navigation-syntax-table): Remove var.
6771         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6772         (css-indent-calculate, css-indent-line): Remove functions.
6774         Misc changes to reduce use of `(lambda...); and other cleanups.
6775         * cus-edit.el: Use lexical-binding.
6776         (customize-push-and-save, customize-apropos)
6777         (custom-buffer-create-internal): Use closures.
6778         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6779         * progmodes/ada-xref.el: Use setq.
6780         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6781         * dframe.el: Use lexical-binding.
6782         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
6783         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6784         * descr-text.el: Use lexical-binding.
6785         (describe-text-widget, describe-text-sexp, describe-property-list):
6786         Use closures.
6787         * comint.el (comint-history-isearch-push-state): Use a closure.
6788         * calculator.el: Use lexical-binding.
6789         (calculator-number-to-string): Make it work with lexical-binding.
6790         (calculator-funcall): Same and use cl-letf.
6792         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6793         (lisp--company-doc-string, lisp--company-location): New functions.
6794         (lisp-completion-at-point): Use them to improve Company support.
6796         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6797         params of lambda expressions.
6798         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6799         (ruby-smie--opening-pipe-p): New function.
6800         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6801         symbols and matched |...| for formal params.
6802         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6803         from being treated as hanging.  Handle "rescue".
6805 2013-08-29  Glenn Morris  <rgm@gnu.org>
6807         * progmodes/cc-engine.el (c-pull-open-brace):
6808         Move definition before use.
6810 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6812         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6813         are immutable.  Don't use `unsafe' any more.
6814         (cl--defsubst-expand): Don't substitute at the same time as keeping
6815         a residual unused let-binding.  Don't use `unsafe' any more.
6817 2013-08-29  Glenn Morris  <rgm@gnu.org>
6819         * calendar/cal-china.el (calendar-chinese-year-cache):
6820         Recenter on 2015.
6822         * nxml/nxml-util.el (nxml-debug-clear-inside):
6823         Use cl-loop rather than loop.
6825         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6827         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6829 2013-08-28  Glenn Morris  <rgm@gnu.org>
6831         * progmodes/antlr-mode.el: No need to require cc-mode twice.
6833         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6835         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6837 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6839         * simple.el (repeat-complex-command--called-interactively-skip):
6840         New function.
6841         (repeat-complex-command): Use it (bug#14136).
6843         * progmodes/cc-mode.el: Minor cleanup of var declarations.
6844         (c-define-abbrev-table): Add `doc' argument.
6845         (c-mode-abbrev-table, c++-mode-abbrev-table)
6846         (objc-mode-abbrev-table, java-mode-abbrev-table)
6847         (idl-mode-abbrev-table, pike-mode-abbrev-table)
6848         (awk-mode-abbrev-table): Use it.
6849         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6850         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6851         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6852         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6853         Move initialization into the declaration; and remove any
6854         autoload cookie.
6856         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6857         and dynamic let binding.
6859         * vc/smerge-mode.el: Remove redundant :group args.
6861         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6862         to load-path.
6864 2013-08-28  Juri Linkov  <juri@jurta.org>
6866         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6867         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6868         (isearch-other-meta-char): Handle an undefined shifted printing
6869         character by downshifting it.  (Bug#15200)
6871 2013-08-28  Juri Linkov  <juri@jurta.org>
6873         * isearch.el (isearch-search): Change regexp error message for
6874         non-regexp searches.  (Bug#15166)
6876 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
6878         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6879         for portability to hosts where /bin/sh has problems.
6881 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6883         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6885 2013-08-27  Juri Linkov  <juri@jurta.org>
6887         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6888         in the keyboard macro.  (Bug#15126)
6890 2013-08-27  Juri Linkov  <juri@jurta.org>
6892         * isearch.el (isearch-quote-char): Comment out converting unibyte
6893         to multibyte, thus syncing with its `quoted-insert' counterpart.
6894         (Bug#15166)
6896 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
6898         * window.el (display-buffer-use-some-window): Add missing
6899         argument in call of get-largest-window (Bug#15185).
6900         Reported by Stephen Leake.
6902 2013-08-27  Glenn Morris  <rgm@gnu.org>
6904         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6906 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6908         * progmodes/python.el (python-font-lock-keywords): Don't return nil
6909         from a matcher-function unless there's no more matches (bug#15161).
6911 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
6913         * minibuffer.el: Revert change from 2013-08-20.
6915         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6916         with text property `tramp-default', if appropriate.
6917         (tramp-check-proper-host): New defun.
6918         (tramp-dissect-file-name): Do not check hostname.  Revert change
6919         of 2013-03-18.
6920         (tramp-backtrace): Make VEC-OR-PROC optional.
6922         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6923         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6924         * net/tramp-sh.el (tramp-maybe-open-connection):
6925         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6926         Apply `tramp-check-proper-host'.
6928 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
6930         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6931         lambda expression in order to have `describe-variable' display it.
6933 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
6935         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6936         BUF can be optional.  (Bug#15186)
6938 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
6940         * progmodes/flymake.el (flymake-get-real-file-name-function):
6941         Fix broken customization.  (Bug#15184)
6943 2013-08-25  Alan Mackenzie  <acm@muc.de>
6945         Improve indentation of bracelists defined by macros (without "=").
6947         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6948         expansion begins with "{", regard it as bracelist when it doesn't
6949         contain a ";".
6951         Parse C++ inher-intro when there's a template split over 2 lines.
6953         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6954         rigorously the search for "class" etc. followed by ":".
6956         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6957         random languages a regexp which never matches rather than nil.
6959         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6961         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6962         (c-awk-regexp-one-line-possibly-open-char-list-re)
6963         (c-awk-one-line-possibly-open-regexp-re)
6964         (c-awk-one-line-non-syn-ws*-re): Remove.
6965         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6966         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6967         (c-awk-space*-unclosed-regexp-/-re): New constants.
6968         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6969         aren't regexp delimiters.
6971         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6972         handling for a rare situation in AWK Mode involving unterminated
6973         strings/regexps.
6975 2013-08-23  Glenn Morris  <rgm@gnu.org>
6977         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6979         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6981         * files.el (create-file-buffer): If the result would begin with
6982         spaces, prepend a "|" instead of removing them.  (Bug#15162)
6984 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6986         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6987         text-properties (bug#15155).
6989         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6990         exist any more.
6991         (calc-keypad-redraw): Remove unused var `pad'.
6992         (calc-keypad-press): Remove unused var `menu'.
6994 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
6996         * window.el (display-buffer-pop-up-frame):
6997         Call pop-up-frame-function with BUFFER current so `make-frame' will
6998         use it as the new frame's buffer (Bug#15133).
7000 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7002         * calendar/timeclock.el: Minor cleanups.
7003         (timeclock-ask-before-exiting, timeclock-use-display-time):
7004         Use `symbol'.
7005         (timeclock-modeline-display): Define as alias before the
7006         actual definition.
7007         (timeclock-mode-line-display): Use define-minor-mode.
7008         (timeclock-day-list-template): Make it a function, add an argument.
7009         (timeclock-day-list-required, timeclock-day-list-length)
7010         (timeclock-day-list-debt, timeclock-day-list-span)
7011         (timeclock-day-list-break): Adjust calls accordingly.
7013 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7015         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7016         Use read--expression so that completion works again.
7018 2013-08-21  Sam Steingold  <sds@gnu.org>
7020         Add rudimentary inferior shell interaction
7021         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7022         (sh-set-shell): Reset it.
7023         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7024         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7026 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7028         * align.el: Use lexical-binding.
7029         (align-region): Simplify accordingly.
7031 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
7033         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7035         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7036         `non-essential' up.
7038 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
7040         * net/tramp.el:
7041         * net/tramp-adb.el:
7042         * net/tramp-cmds.el:
7043         * net/tramp-ftp.el:
7044         * net/tramp-gvfs.el:
7045         * net/tramp-gw.el:
7046         * net/tramp-sh.el: Don't wrap external variable declarations by
7047         `eval-when-compile'.
7049 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7051         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7052         now that Emacs supports ImageMagick animations.
7054 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
7056         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7057         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7059 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
7061         * window.el (mouse-autoselect-window-select): Do autoselect when
7062         mouse pointer is on margin.
7064 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
7066         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
7068 2013-08-16  Glenn Morris  <rgm@gnu.org>
7070         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7071         Handle "Remote Directory" response of some clients.  (Bug#15058)
7073         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7074         Tweak warning.  (Bug#14926)
7076         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7077         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
7079         * image-mode.el (image-mode-map): Add menu items to reverse,
7080         increase, decrease, reset animation speed.
7081         (image--set-speed, image-increase-speed, image-decrease-speed)
7082         (image-reverse-speed, image-reset-speed): New functions.
7083         (image-mode-map): Add bindings for speed commands.
7085         * image.el (image-animate-get-speed, image-animate-set-speed):
7086         New functions.
7087         (image-animate-timeout): Respect image :speed property.
7089 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7091         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7092         previous line (bug#15101).
7093         (debugger-eval-expression, debugger-record-expression):
7094         Use read--expression (bug#15102).
7096 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
7098         Remove byte compiler warnings, visible when compiling with
7099         `byte-compile-force-lexical-warnings' set to t.
7101         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7102         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7103         (tramp-handle-unhandled-file-name-directory)
7104         (tramp-handle-file-notify-add-watch, tramp-action-login)
7105         (tramp-action-succeed, tramp-action-permission-denied)
7106         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7107         arguments with "_".
7109         * net/tramp-adb.el (tramp-adb-parse-device-names)
7110         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7111         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7112         (tramp-adb-handle-file-truename): Remove unused arguments.
7114         * net/tramp-cache.el (tramp-flush-directory-property)
7115         (tramp-flush-connection-property, tramp-list-connections)
7116         (tramp-parse-connection-properties): Prefix unused arguments with "_".
7118         * net/tramp-compat.el (tramp-compat-make-temp-file):
7119         Rename FILENAME to F.
7121         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7122         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7123         (tramp-zeroconf-parse-workstation-device-names)
7124         (tramp-zeroconf-parse-webdav-device-names)
7125         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7127         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7128         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7130         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7131         arguments.
7132         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7133         (tramp-sh-handle-insert-file-contents-literally)
7134         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7135         with "_".
7136         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7137         Remove unused variables.
7139         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7140         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7141         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7143         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7144         Make them a defconst.
7145         (tramp-uuencode-region): Remove unused variable.
7147 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
7149         * frameset.el (frameset--prop-setter): New function.
7150         (frameset-prop): Add gv-setter declaration.
7151         (frameset-filter-minibuffer): Deal with the case that the minibuffer
7152         parameter was already set in FILTERED.  Doc fix.
7153         (frameset--record-minibuffer-relationships): Allow saving a
7154         minibufferless frame without its corresponding minibuffer frame.
7155         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7156         frame, if the frame id matches.
7157         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7158         frames before orphaned ones.
7159         (frameset-restore): Warn about orphaned windows, instead of error out.
7161 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
7163         * window.el (window-make-atom): Don't overwrite parameter
7164         already present.
7165         (display-buffer-in-atom-window): Handle special case where we
7166         split an already atomic window.
7167         (window--major-non-side-window, display-buffer-in-side-window)
7168         (window--side-check): Ignore minibuffer window when walking
7169         window tree.
7170         (window-deletable-p): Return 'frame only if no other frame uses
7171         our minibuffer window.
7172         (record-window-buffer): Run buffer-list-update-hook.
7173         (split-window): Make sure window--check-frame won't destroy an
7174         existing atomic window in case the new window gets nested
7175         inside.
7176         (display-buffer-at-bottom): Ignore minibuffer window when
7177         walking window tree.  Don't split a side window.
7178         (pop-to-buffer): Don't set-buffer here, the select-window call
7179         should do that.
7180         (mouse-autoselect-window-select): Autoselect only if we are in the
7181         text portion of the window.
7183 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7185         * net/shr.el (shr-parse-image-data): New function to grab both the
7186         data itself and the Content-Type.
7187         (shr-put-image): Use it.
7189         * net/eww.el (eww-display-image): Ditto.
7191         * image.el (image-content-type-suffixes): New variable.
7193 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7195         * progmodes/python.el (python-imenu--build-tree)
7196         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7198 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
7200         * simple.el (backward-word): Mention the optional argument.
7202 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7204         * frameset.el (frameset--make): Rename constructor from make-frameset.
7205         (frameset-p, frameset-valid-p): Don't autoload.
7206         (frameset-valid-p): Use normal accessors.
7208 2013-08-13  Glenn Morris  <rgm@gnu.org>
7210         * progmodes/compile.el (compile-command): Tweak example in doc.
7211         * obsolete/scribe.el (scribe-mode):
7212         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
7214         * mail/feedmail.el (feedmail-confirm-outgoing)
7215         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7217         * cus-start.el (truncate-partial-width-windows): Fix type.
7219         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7221         * net/shr.el (shr-table-horizontal-line): Fix custom type.
7223 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7225         * emacs-lisp/timer.el (timer--time-setter): New function.
7226         (timer--time): Use it as gv-setter.
7228         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7229         setter is not a symbol.
7231 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
7233         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7234         if sending fails.  This makes debugging easier.
7236 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
7238         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7239         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7240         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7242 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
7244         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7246 2013-08-12  Glenn Morris  <rgm@gnu.org>
7248         * format.el (format-annotate-function):
7249         Handle read-only text properties in the source.  (Bug#14887)
7251 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7253         * net/eww.el (eww-display-html): Ignore coding system errors.
7254         One web site uses "utf-8lias" as the coding system.
7256 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
7258         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7260 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
7262         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7263         (tutorial--detailed-help): Remove unused local variables.
7264         (tutorial--save-tutorial-to): Use ignore-errors.
7265         (help-with-tutorial): Use looking-at-p.
7267         * view.el (view-buffer-other-window, view-buffer-other-frame):
7268         Mark unused arguments.
7270         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7271         (woman-select-symbol-fonts, woman, woman-find-file)
7272         (woman-insert-file-contents, woman-non-underline-faces):
7273         Use string-match-p.
7274         (woman1-unquote): Move declaration.
7276         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7277         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
7278         argument.  Remove unused local variable.
7279         (xml-parse-elem-type): Use string-match-p.
7280         (xml-substitute-numeric-entities): Use ignore-errors.
7282         * calculator.el (calculator): Mark unused argument.
7283         (calculator-paste, calculator-quit, calculator-integer-p):
7284         Use ignore-errors.
7285         (calculator-string-to-number, calculator-decimal, calculator-exp)
7286         (calculator-op-or-exp): Use string-match-p.
7288         * dired.el (dired-buffer-more-recently-used-p): Declare.
7289         (dired-insert-set-properties, dired-insert-old-subdirs):
7290         Use ignore-errors.
7292         * dired-aux.el (dired-compress): Use ignore-errors.
7293         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7294         (dired-do-async-shell-command, dired-do-shell-command)
7295         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7296         (dired-insert-subdir-validate): Use string-match-p.
7297         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7298         (dired-add-entry): Use string-match-p, looking-at-p.
7299         (dired-insert-subdir-newpos): Remove unused local variable.
7301         * filenotify.el (file-notify-callback): Remove unused local variable.
7303         * filesets.el (filesets-error): Mark unused argument.
7304         (filesets-which-command-p, filesets-filter-dir-names)
7305         (filesets-directory-files, filesets-get-external-viewer)
7306         (filesets-ingroup-get-data): Use string-match-p.
7308         * find-file.el (ff-other-file-name, ff-other-file-name)
7309         (ff-find-the-other-file, ff-cc-hh-converter):
7310         Remove unused local variables.
7311         (ff-get-file-name): Use string-match-p.
7312         (ff-all-dirs-under): Use ignore-errors.
7314         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7315         (follow-select-if-visible): Remove unused local variable.
7317         * forms.el (read-file-filter): Move declaration.
7318         (forms--make-format, forms--make-parser, forms-insert-record):
7319         Quote function with #'.
7320         (forms--update): Use string-match-p.  Quote function with #'.
7322         * help-mode.el (help-dir-local-var-def): Mark unused argument.
7323         (help-make-xrefs): Use looking-at-p.
7324         (help-xref-on-pp): Use looking-at-p, ignore-errors.
7326         * ibuffer.el (ibuffer-ext-visible-p): Declare.
7327         (ibuffer-confirm-operation-on): Use string-match-p.
7329         * msb.el (msb-item-handler, msb-dired-item-handler):
7330         Mark unused arguments.
7332         * ses.el (ses-decode-cell-symbol)
7333         (ses-kill-override): Remove unused local variable.
7334         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7335         (ses-load): Use ignore-errors, looking-at-p.
7336         (ses-jump-safe): Use ignore-errors.
7337         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7339         * tabify.el (untabify, tabify): Mark unused arguments.
7341         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7342         Mark unused argument.
7343         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7344         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7346         * emacs-lisp/timer.el (timer--time): Define setter with
7347         gv-define-setter to avoid deprecation warning.
7349         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7350         (*record-cmpl-statistics-p*): Remove (was commented out).
7351         (cmpl-statistics-block): Remove (body was commented out).
7352         All callers changed.
7353         (add-completions-from-buffer, load-completions-from-file):
7354         Remove unused variables.
7356 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
7358         * filecache.el (file-cache-delete-file-list):
7359         Print message only when told so.
7360         (file-cache-files-matching): Use #' in mapconcat argument.
7362         * ffap.el (ffap-url-at-point): Fix reference to variable
7363         thing-at-point-default-mail-uri-scheme.
7365 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7367         * subr.el (define-error): New function.
7368         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7369         error-file-not-found and define with define-error.
7370         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7371         and define with define-error.
7372         * userlock.el (file-locked, file-supersession):
7373         * simple.el (mark-inactive):
7374         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7375         * progmodes/ada-mode.el (ada-mode-errors):
7376         * play/life.el (life-extinct):
7377         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7378         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7379         * nxml/rng-util.el (rng-error):
7380         * nxml/rng-uri.el (rng-uri-error):
7381         * nxml/rng-match.el (rng-compile-error):
7382         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7383         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7384         * nxml/nxml-rap.el (nxml-scan-error):
7385         * nxml/nxml-outln.el (nxml-outline-error):
7386         * net/soap-client.el (soap-error):
7387         * net/gnutls.el (gnutls-error):
7388         * net/ange-ftp.el (ftp-error):
7389         * mpc.el (mpc-proc-error):
7390         * json.el (json-error, json-readtable-error, json-unknown-keyword)
7391         (json-number-format, json-string-escape, json-string-format)
7392         (json-key-format, json-object-format):
7393         * jka-compr.el (compression-error):
7394         * international/quail.el (quail-error):
7395         * international/kkc.el (kkc-error):
7396         * emacs-lisp/ert.el (ert-test-failed):
7397         * calc/calc.el (calc-error, inexact-result, math-overflow)
7398         (math-underflow):
7399         * bookmark.el (bookmark-error-no-filename):
7400         * epg.el (epg-error): Define with define-error.
7402         * time.el (display-time-event-handler)
7403         (display-time-next-load-average): Don't call sit-for since it seems
7404         unnecessary (bug#15045).
7406         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7407         Use #' instead of ' to quote functions.
7408         (checkdoc-output-mode): Use setq-local.
7409         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7410         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7411         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7412         (checkdoc-ispell, checkdoc-ispell-current-buffer)
7413         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7414         (checkdoc-ispell-message-text, checkdoc-ispell-start)
7415         (checkdoc-ispell-continue, checkdoc-ispell-comments)
7416         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7418         * ido.el (ido-completion-help): Fix up compiler warning.
7420 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
7422         * frameset.el (frameset-p): Add autoload cookie.
7423         (frameset--jump-to-register): New function, based on code moved from
7424         register.el.
7425         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
7427         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7428         (frameset-restore, frameset-save, frameset-session-filter-alist):
7429         Remove declarations.
7430         (register-alist): Doc fix.
7431         (frameset-to-register): Move to frameset.el.
7432         (jump-to-register, describe-register-1): Remove frameset-specific code.
7434 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
7436         * allout-widgets.el (allout-widgets-pre-command-business)
7437         (allout-widgets-post-command-business)
7438         (allout-widgets-after-change-handler)
7439         (allout-decorate-item-and-context, allout-set-boundary-marker)
7440         (allout-body-modification-handler)
7441         (allout-graphics-modification-handler): Mark ignored arguments.
7442         (allout-widgets-post-command-business)
7443         (allout-widgets-exposure-change-processor)
7444         (allout-widgets-exposure-undo-processor)
7445         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7446         (allout-parse-item-at-point, allout-decorate-item-guides)
7447         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7448         * allout.el (epa-passphrase-callback-function): Declare.
7449         (allout-overlay-insert-in-front-handler)
7450         (allout-overlay-interior-modification-handler)
7451         (allout-isearch-end-handler, allout-chart-siblings)
7452         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7453         (allout-yank-processing, allout-process-exposed)
7454         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7455         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7456         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7457         (lisp-indent-defform): Mark ignored arguments.
7458         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
7459         (calculate-lisp-indent): Remove unused variables.
7460         * international/characters.el (indian-2-column, arabic-2-column)
7461         (tibetan): Mark ignored arguments.
7462         (use-cjk-char-width-table): Mark ignored arguments.
7463         Remove unused variables.
7464         * international/fontset.el (build-default-fontset-data)
7465         (x-compose-font-name, create-fontset-from-fontset-spec):
7466         Mark ignored arguments.
7467         (fontset-plain-name): Remove unused variables.
7468         * international/mule.el (charset-id, charset-bytes, generic-char-p)
7469         (keyboard-coding-system): Mark ignored arguments.
7470         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
7471         * help.el (resize-temp-buffer-window):
7472         * window.el (display-buffer-in-major-side-window)
7473         (display-buffer-in-side-window, display-buffer-in-previous-window):
7474         Remove unused variables.
7475         * isearch.el (isearch-forward-symbol):
7476         * version.el (emacs-bzr-version-bzr):
7477         * international/mule-cmds.el (current-language-environment):
7478         * term/common-win.el (x-handle-iconic, x-handle-geometry)
7479         (x-handle-display):
7480         * term/pc-win.el (x-list-fonts, x-display-planes)
7481         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7482         (x-server-version, x-display-screens, x-display-mm-height)
7483         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7484         (x-selection-owner-p, x-own-selection-internal)
7485         (x-disown-selection-internal, x-get-selection-internal)
7486         (msdos-initialize-window-system):
7487         * term/tty-colors.el (tty-color-alist, tty-color-clear):
7488         * term/x-win.el (x-handle-no-bitmap-icon):
7489         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7490         (vc-default-find-file-hook, vc-default-extra-menu):
7491         Mark ignored arguments.
7493 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7495         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7496         break-condition in the context of the debugged code (bug#12685).
7498 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
7500         * comint.el:
7501         Do not use an overlay to highlight the last prompt.  (Bug#14744)
7502         (comint-mode): Make comint-last-prompt buffer local.
7503         (comint-last-prompt): New variable.
7504         (comint-last-prompt-overlay): Remove.  Superseded by
7505         comint-last-prompt.
7506         (comint-snapshot-last-prompt, comint-output-filter):
7507         Use comint-last-prompt.
7509 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
7511         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
7512         (frameset-save): Check validity of the resulting frameset.
7514 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
7516         * ido.el (ido-record-command): Add doc string.
7518 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
7520         * frameset.el (frameset): Do not disable creation of the default
7521         frameset-p predicate.  Doc fix.
7522         (frameset-valid-p): New function, copied from the old predicate-p.
7523         Add additional checks.
7524         (frameset-restore): Check with frameset-valid-p.
7525         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7526         (frameset-name, frameset-description, frameset-properties)
7527         (frameset-states): Add docstring.
7528         (frameset-session-filter-alist, frameset-persistent-filter-alist)
7529         (frameset-filter-alist): Doc fixes.
7531 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
7533         * frameset.el (frameset-p, frameset-prop): Doc fixes.
7535 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7537         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7538         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7539         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7540         (byte-compile-normal-call): Remove obsolescence check.
7542 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
7544         * frameset.el (frameset-restore): Doc fix.
7546         * register.el (frameset-frame-id, frameset-frame-with-id)
7547         (frameset-p, frameset-restore, frameset-save): Declare.
7548         (register-alist): Document framesets.
7549         (frameset-session-filter-alist): Declare.
7550         (frameset-to-register): New function.
7551         (jump-to-register): Implement jumping to framesets.  Doc fix.
7552         (describe-register-1): Describe framesets.
7554         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7556 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
7558         * desktop.el (desktop-save-frameset): Use new frameset-save args.
7559         Use lexical-binding.
7561         * frameset.el (frameset): Use type vector, not list (incompatible
7562         change).  Do not declare a new constructor, use the default one.
7563         Upgrade suggested properties `app', `name' and `desc' to slots `app',
7564         `name' and `description', respectively, and add read-only slot
7565         `timestamp'.  Doc fixes.
7566         (frameset-copy, frameset-persistent-filter-alist)
7567         (frameset-filter-alist, frameset-switch-to-gui-p)
7568         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7569         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7570         (frameset-filter-iconified, frameset-keep-original-display-p):
7571         Doc fixes.
7572         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7573         Rename from frameset-filter-(save|restore)-param.  All callers changed.
7574         Doc fix.
7575         (frameset-p): Adapt to change to vector and be more thorough.
7576         Change arg name to OBJECT.  Doc fix.
7577         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
7578         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7579         All callers changed.
7580         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7581         All callers changed.
7582         (frameset--record-minibuffer-relationships): Rename from
7583         frameset--process-minibuffer-frames.  All callers changed.
7584         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7585         Use new default constructor (again).  Doc fix.
7586         (frameset--find-frame-if): Rename from `frameset--find-frame'.
7587         All callers changed.
7588         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7589         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7590         Doc fix.
7591         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7592         PARAMETERS and WINDOW-STATE, respectively.
7593         (frameset-restore): Add new keyword argument PREDICATE.
7594         Reset frameset--target-display to nil.  Doc fix.
7596 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7598         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7599         (bat-mode): Use it.
7600         (bat-mode-syntax-table): Mark \n as end-of-comment.
7601         (bat-font-lock-keywords): Remove comment rule.
7603         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
7604         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
7606         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7607         (byte-compile-callargs-warn): Use `push'.
7608         (byte-compile-arglist-warn): Ignore higher-order "calls".
7609         (byte-compile-file-form-autoload): Use `pcase'.
7610         (byte-compile-function-form): If quoting a symbol, check that it exists.
7612 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
7614         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7615         and add a few popular commands found in batch files.
7616         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7617         (dos-mode): Doc fixes.
7619 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7621         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7622         (dos-mode): Use setq-local.  Add space after "rem".
7623         (dos-mode-syntax-table): Don't use "w" for symbol chars.
7624         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7626 2013-08-07  Arni Magnusson  <arnima@hafro.is>
7628         * progmodes/dos.el: New file.
7629         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7630         dos-mode.
7632 2013-08-06  Glenn Morris  <rgm@gnu.org>
7634         * calendar/calendar.el: Add new faces, and day-header-array.
7635         (calendar-weekday-header, calendar-weekend-header)
7636         (calendar-month-header): New faces.
7637         (calendar-day-header-construct): New function.
7638         (calendar-day-header-width): Also :set calendar-day-header-array.
7639         (calendar-american-month-header, calendar-european-month-header)
7640         (calendar-iso-month-header): Use calendar- faces.
7641         (calendar-generate-month):
7642         Use calendar-day-header-array for day headers; apply faces to them.
7643         (calendar-mode): Check calendar-font-lock-keywords non-nil.
7644         (calendar-abbrev-construct): Add optional maxlen argument.
7645         (calendar-day-name-array): Doc fix.
7646         (calendar-day-name-array, calendar-abbrev-length)
7647         (calendar-day-abbrev-array):
7648         Also :set calendar-day-header-array, and maybe redraw.
7649         (calendar-day-header-array): New option.  (Bug#15007)
7650         (calendar-font-lock-keywords): Set to nil and make obsolete.
7651         (calendar-day-name): Add option to use header array.
7653 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7655         * net/shr.el (shr-render-td): Remove debugging.
7656         (shr-render-td): Make width computation consistent by defaulting
7657         all zero-width columns to 10 characters.  This may not be optimal,
7658         but it's at least consistent.
7659         (shr-make-table-1): Redo last change to fix the real problem in
7660         colspan handling.
7662 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
7664         * files.el (cache-long-line-scans):
7665         Make obsolete alias to `cache-long-scans'.
7667 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
7669         * frameset.el (frameset, frameset-filter-alist)
7670         (frameset-filter-params, frameset-save, frameset--reuse-frame)
7671         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7672         (frameset-compute-pos): Rename from frameset--compute-pos,
7673         and add docstring.
7674         (frameset-move-onscreen): Use frameset-compute-pos.
7675         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7677         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7678         Fix typos in docstrings.
7680 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
7682         * frame.el (get-other-frame): Tiny cleanup.
7684 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
7686         * vc/vc.el (vc-default-ignore-completion-table):
7687         Silence byte-compiler warning.
7689         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7690         slot, which can indeed be nil.
7691         (frameset-live-filter-alist, frameset-persistent-filter-alist):
7692         Move entry for `left' from persistent to live filter alist.
7693         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7694         Doc fixes.
7695         (frameset-filter-params): When restoring a frame, copy items added to
7696         `filtered', to avoid unwittingly modifying the original parameters.
7697         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
7698         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7700         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7701         to use looking-at-p instead of looking-at.  (Bug#15028)
7703 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7705         Revert introduction of isearch-filter-predicates (bug#14714).
7706         Rely on add-function instead.
7707         * isearch.el (isearch-filter-predicates): Rename it back to
7708         isearch-filter-predicate.
7709         (isearch-message-prefix): Use advice-function-mapc and advice
7710         properties to get the isearch-message-prefix.
7711         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7712         instead of run-hook-with-args-until-failure.
7713         (isearch-filter-visible): Not obsolete any more.
7714         * loadup.el: Preload nadvice.
7715         * replace.el (perform-replace): Revert to funcall
7716         instead of run-hook-with-args-until-failure.
7717         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7718         * dired-aux.el (dired-isearch-filenames-mode): Rename from
7719         dired-isearch-filenames-toggle; make it into a proper minor mode.
7720         Use add/remove-function.
7721         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7722         Call the minor-mode rather than add/remove-hook.
7723         (dired-isearch-filter-filenames):
7724         Remove isearch-message-prefix property.
7725         * info.el (Info--search-loop): New function, extracted from Info-search.
7726         Funcall isearch-filter-predicate instead of
7727         run-hook-with-args-until-failure isearch-filter-predicates.
7728         (Info-search): Use it.
7729         (Info-mode): Use isearch-filter-predicate instead of
7730         isearch-filter-predicates.
7732 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
7734         Do not call to `selected-window' where it is assumed by default.
7735         Affected functions are `window-minibuffer-p', `window-dedicated-p',
7736         `window-hscroll', `window-width', `window-height', `window-buffer',
7737         `window-frame', `window-start', `window-point', `next-window'
7738         and `window-display-table'.
7739         * abbrev.el (abbrev--default-expand):
7740         * bs.el (bs--show-with-configuration):
7741         * buff-menu.el (Buffer-menu-mouse-select):
7742         * calc/calc.el (calc):
7743         * calendar/calendar.el (calendar-generate-window):
7744         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7745         (diary-make-entry):
7746         * comint.el (send-invisible, comint-dynamic-complete-filename)
7747         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7748         * completion.el (complete):
7749         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7750         * disp-table.el (describe-current-display-table):
7751         * doc-view.el (doc-view-insert-image):
7752         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7753         * ehelp.el (with-electric-help):
7754         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7755         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7756         * emacs-lisp/helper.el (Helper-help-scroller):
7757         * emulation/cua-base.el (cua--post-command-handler-1):
7758         * eshell/esh-mode.el (eshell-output-filter):
7759         * ffap.el (ffap-gnus-wrapper):
7760         * help-macro.el (make-help-screen):
7761         * hilit-chg.el (highlight-compare-buffers):
7762         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7763         * hl-line.el (global-hl-line-highlight):
7764         * icomplete.el (icomplete-simple-completing-p):
7765         * isearch.el (isearch-done):
7766         * jit-lock.el (jit-lock-stealth-fontify):
7767         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7768         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7769         * mpc.el (mpc-tagbrowser, mpc):
7770         * net/rcirc.el (rcirc-any-buffer):
7771         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7772         * play/landmark.el (landmark-max-width, landmark-max-height):
7773         * play/zone.el (zone):
7774         * progmodes/compile.el (compilation-goto-locus):
7775         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7776         * progmodes/etags.el (find-tag-other-window):
7777         * progmodes/fortran.el (fortran-column-ruler):
7778         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7779         * progmodes/verilog-mode.el (verilog-point-text):
7780         * reposition.el (reposition-window):
7781         * rot13.el (toggle-rot13-mode):
7782         * server.el (server-switch-buffer):
7783         * shell.el (shell-dynamic-complete-command)
7784         (shell-dynamic-complete-environment-variable):
7785         * simple.el (insert-buffer, set-selective-display)
7786         (delete-completion-window):
7787         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7788         (speedbar-recenter):
7789         * startup.el (fancy-splash-head):
7790         * textmodes/ispell.el (ispell-command-loop):
7791         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7792         * tutorial.el (help-with-tutorial):
7793         * vc/add-log.el (add-change-log-entry):
7794         * vc/compare-w.el (compare-windows):
7795         * vc/ediff-help.el (ediff-indent-help-message):
7796         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7797         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7798         (ediff-setup-control-frame):
7799         * vc/emerge.el (emerge-position-region):
7800         * vc/pcvs-util.el (cvs-bury-buffer):
7801         * window.el (walk-windows, mouse-autoselect-window-select):
7802         * winner.el (winner-set-conf, winner-undo): Related users changed.
7804 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
7806         * frameset.el (frameset--set-id): Doc fix.
7807         (frameset-frame-id, frameset-frame-id-equal-p)
7808         (frameset-locate-frame-id): New functions.
7809         (frameset--process-minibuffer-frames, frameset--reuse-frame)
7810         (frameset-restore): Use them.
7812 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
7814         Do not call to `selected-frame' where it is assumed by default.
7815         Affected functions are `raise-frame', `redraw-frame',
7816         `frame-first-window', `frame-terminal' and `delete-frame'.
7817         * calendar/appt.el (appt-disp-window):
7818         * epg.el (epg-wait-for-completion):
7819         * follow.el (follow-delete-other-windows-and-split)
7820         (follow-avoid-tail-recenter):
7821         * international/mule.el (set-terminal-coding-system):
7822         * mail/rmail.el (rmail-mail-return):
7823         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7824         * progmodes/f90.el (f90-add-imenu-menu):
7825         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7826         * server.el (server-switch-buffer):
7827         * simple.el (delete-completion-window):
7828         * talk.el (talk):
7829         * term/xterm.el (terminal-init-xterm-modify-other-keys)
7830         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7831         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7832         * vc/ediff.el (ediff-documentation): Related users changed.
7833         * frame.el (selected-terminal): Remove the leftover.
7835 2013-08-05  Glenn Morris  <rgm@gnu.org>
7837         * calendar/calendar.el (calendar-generate-month):
7838         Fix for calendar-column-width != 1 + calendar-day-digit-width.
7839         (calendar-generate-month, calendar-font-lock-keywords):
7840         Fix for calendar-day-header-width > length of any day name.
7842 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
7844         * desktop.el (desktop-clear): Use new name of sort predicate.
7846         * frameset.el (frameset): Add docstring.  Move :version property to its
7847         own `version' slot.
7848         (frameset-copy): Rename from copy-frameset.
7849         (frameset-p): Check more thoroughly.
7850         (frameset-prop): Do not check for :version, which is no longer a prop.
7851         (frameset-live-filter-alist, frameset-persistent-filter-alist):
7852         Use new :never value instead of t.
7853         (frameset-filter-alist): Expand and clarify docstring.
7854         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7855         (frameset-filter-minibuffer, frameset-filter-save-param)
7856         (frameset-filter-restore-param, frameset-filter-iconified):
7857         Add pointer to docstring of frameset-filter-alist.
7858         (frameset-filter-params): Rename filter values to be more meaningful:
7859         :never instead of t, and reverse the meanings of :save and :restore.
7860         (frameset--process-minibuffer-frames): Clarify error message.
7861         (frameset-save): Avoid unnecessary and confusing call to framep.
7862         Use new BOA constructor for framesets.
7863         (frameset--reuse-list): Doc fix.
7864         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
7865         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7866         (frameset-minibufferless-first-p): Doc fix.
7867         Rename from frameset-sort-frames-for-deletion.
7868         (frameset-restore): Doc fixes.  Use new function names.
7869         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7871 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
7873         * desktop.el (desktop-restore-forces-onscreen)
7874         (desktop-restore-reuses-frames): Document :keyword constant values.
7875         (desktop-filter-parameters-alist): Remove, now identical to
7876         frameset-filter-alist.
7877         (desktop--filter-tty*): Remove, moved to frameset.el.
7878         (desktop-save-frameset, desktop-restore-frameset):
7879         Do not pass :filters argument.
7881         * frameset.el (frameset-live-filter-alist)
7882         (frameset-persistent-filter-alist): New variables.
7883         (frameset-filter-alist): Use them.  Add autoload cookie.
7884         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7885         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7886         `frameset--id' (it's supposed to be internal to frameset.el).
7887         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
7888         (frameset--initial-params): New function.
7889         (frameset--get-frame): Use it.  Doc fix.
7890         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7891         Accept :all, not 'all.
7892         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7893         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
7894         with fbound symbols.  Fix frame id matching, and remove matching ids if
7895         the frame being restored is deleted.  Obey :delete.
7897 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7899         * subr.el (macrop): New function.
7900         (text-clone--maintaining): New var.
7901         (text-clone--maintain): Rename from text-clone-maintain.  Use it
7902         instead of inhibit-modification-hooks.
7904         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7905         a proxy, so as handle autoloads and redefinitions of the target.
7906         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7908         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7909         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
7910         (pcase--mutually-exclusive-p): New function.
7911         (pcase--split-consp): Use it.
7912         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
7913         mutually exclusive with the current predicate.
7915         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7916         (edebug-macrop): Remove.  Use `macrop' instead.
7917         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
7918         (ad-macro-p):
7919         * eshell/esh-cmd.el (eshell-macrop):
7920         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
7922 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7924         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7925         (advice-mapc): New function, using it.
7926         (advice-function-member-p): New function.
7927         (advice--normalize): Store the cdr in advice--saved-rewrite since
7928         that's the part that will be changed.
7929         (advice--symbol-function): New function.
7930         (advice-remove): Handle removal before the function is defined.
7931         Adjust to new advice--saved-rewrite.
7932         (advice-member-p): Use advice-function-member-p and
7933         advice--symbol-function.
7935 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
7937         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7938         (frameset-filter-minibuffer): Doc fix.
7939         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
7940         (frameset--set-id, frameset--process-minibuffer-frames)
7941         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7942         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7944         * desktop.el (desktop-clear): Only delete frames when called
7945         interactively and desktop-restore-frames is non-nil.  Doc fix.
7946         (desktop-read): Set desktop-saved-frameset to nil.
7948 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
7950         * vc/vc.el (vc-ignore): Rewrite.
7951         (vc-default-ignore-completion-table, vc--read-lines)
7952         (vc--add-line, vc--remove-regexp): New functions.
7954         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7955         (vc-svn-ignore-completion-table): New function.
7957         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7958         (vc-hg-ignore-completion-table)
7959         (vc-hg-find-ignore-file): New functions.
7961         * vc/vc-git.el (vc-git-ignore): Rewrite.
7962         (vc-git-ignore-completion-table)
7963         (vc-git-find-ignore-file): New functions.
7965         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7967         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7968         (vc-bzr-ignore-completion-table)
7969         (vc-bzr-find-ignore-file): New functions.
7971 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
7973         * frameset.el (frameset-prop): New function and setter.
7974         (frameset-save): Do not modify frame list passed by the caller.
7976 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7978         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7980 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7982         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7983         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7985         * custom.el (custom-initialize-default, custom-initialize-set)
7986         (custom-initialize-reset, custom-initialize-changed): Affect the
7987         toplevel-default-value (bug#6275, bug#14586).
7988         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7989         for bug#6275.
7991 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
7993         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7994         Add cl-def* expressions.
7996         * frameset.el (frameset-filter-params): Fix order of arguments.
7998 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
8000         Move code related to saving frames to frameset.el.
8001         * desktop.el: Require frameset.
8002         (desktop-restore-frames): Doc fix.
8003         (desktop-restore-reuses-frames): Rename from
8004         desktop-restoring-reuses-frames.
8005         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8006         (desktop-clear): Clear frames too.
8007         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8008         (desktop--filter-tty*, desktop-save, desktop-read):
8009         Use frameset functions.
8010         (desktop-before-saving-frames-functions, desktop--filter-*-color)
8011         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8012         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8013         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8014         (desktop--process-minibuffer-frames, desktop-save-frames)
8015         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8016         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8017         (desktop--sort-states, desktop-restoring-frames-p)
8018         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
8019         (desktop-restoring-frameset-p, desktop-restore-frameset)
8020         (desktop--check-dont-save, desktop-save-frameset): New functions.
8021         (desktop--app-id): New constant.
8022         (desktop-first-buffer, desktop-buffer-ok-count)
8023         (desktop-buffer-fail-count): Move before first use.
8024         * frameset.el: New file.
8026 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8028         * files.el: Use lexical-binding.
8029         (dir-locals-read-from-file): Remove unused `err' variable.
8030         (hack-dir-local-variables--warned-coding): New var.
8031         (hack-dir-local-variables): Use it to avoid repeated warnings.
8032         (make-backup-file-name--default-function): New function.
8033         (make-backup-file-name-function): Use it as default.
8034         (buffer-stale--default-function): New function.
8035         (buffer-stale-function): Use it as default.
8036         (revert-buffer-insert-file-contents--default-function): New function.
8037         (revert-buffer-insert-file-contents-function): Use it as default.
8038         (insert-directory): Avoid add-to-list.
8040         * autorevert.el (auto-revert-handler): Simplify.
8041         Use buffer-stale--default-function.
8043 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
8045         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8047         * whitespace.el (whitespace-ensure-local-variables): New function.
8048         (whitespace-cleanup-region): Call it.
8049         (whitespace-turn-on): Call it.
8051 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
8053         Complete file name handlers.
8055         * net/tramp.el (tramp-handle-set-visited-file-modtime)
8056         (tramp-handle-verify-visited-file-modtime)
8057         (tramp-handle-file-notify-rm-watch): New functions.
8058         (tramp-call-process): Do not bind `default-directory'.
8060         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8061         Order alphabetically.
8062         <access-file, add-name-to-file, dired-call-process>:
8063         <dired-compress-file, file-acl, file-notify-rm-watch>:
8064         <file-ownership-preserved-p, file-selinux-context>:
8065         <make-directory-internal, make-symbolic-link, set-file-acl>:
8066         <set-file-selinux-context, set-visited-file-modtime>:
8067         <verify-visited-file-modtime>: Add handler.
8068         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8070         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8071         <file-notify-add-watch, file-notify-rm-watch>:
8072         <set-file-times, set-visited-file-modtime>:
8073         <verify-visited-file-modtime>: Add handler.
8074         (with-tramp-gvfs-error-message)
8075         (tramp-gvfs-handle-set-visited-file-modtime)
8076         (tramp-gvfs-fuse-file-name): Remove.
8077         (tramp-gvfs-handle-file-notify-add-watch)
8078         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8079         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8081         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8082         Order alphabetically.
8083         <file-notify-rm-watch>: Use default Tramp handler.
8084         <executable-find>: Remove private handler.
8085         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8086         `default-directory'.
8087         (tramp-sh-handle-executable-find)
8088         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8089         (tramp-sh-file-gvfs-monitor-dir-process-filter)
8090         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8091         Do not use `format' in `tramp-message'.
8093         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8094         <file-notify-rm-watch, set-visited-file-modtime>:
8095         <verify-visited-file-modtime>: Add handler.
8096         (tramp-smb-call-winexe): Do not bind `default-directory'.
8098 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
8100         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8102 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
8104         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8105         use it.
8106         (log-view-diff-changeset): Same.
8107         (log-view-diff-common): Call backend command `previous-revision'
8108         to find out the previous revision, in both cases.  Swap the
8109         variables `to' and `fr', so that `fr' usually refers to the
8110         earlier revision (Bug#14989).
8112 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
8114         * ibuf-ext.el (ibuffer-filter-by-filename):
8115         Make it work with dired buffers too.
8117 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
8119         * emacs-lisp/re-builder.el (reb-color-display-p):
8120         * files.el (save-buffers-kill-terminal):
8121         * net/browse-url.el (browse-url):
8122         * server.el (server-save-buffers-kill-terminal):
8123         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8124         Prefer nil to selected-frame for the first arg of frame-parameter.
8126 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
8128         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8130 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
8132         * minibuffer.el (completion--twq-all): Try and preserve each
8133         completion's case choice (bug#14907).
8135 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8137         * net/network-stream.el (open-network-stream): Mention the new
8138         :nogreeting parameter.
8139         (network-stream-open-starttls): Use the :nogreeting parameter
8140         (bug#14938).
8142         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8144         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8145         more natural than popping.
8147         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8148         (shr-urlify): Highlight under mouse.
8150 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
8152         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8154         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8156         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
8157         buffer for output.
8159         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
8160         point-min==1.  Fix search string.  Fix parentheses missing.
8162         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
8163         assume point-min==1.  Fix search string.  Fix parentheses missing.
8165         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8167         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
8168         buffer for output.
8170 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
8172         * frame.el (frame-notice-user-settings): Avoid inflooping when the
8173         initial frame is minibuffer-less.  (Bug#14841)
8175 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
8177         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8178         option.
8180         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8181         (tramp-maybe-open-connection): Use it.
8183 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
8185         * desktop.el (desktop--make-frame): Include `minibuffer' in the
8186         minimal set of parameters passed when creating a frame, because
8187         the minibuffer status of a frame cannot be changed later.
8189 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
8191         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8192         replace-regexp-in-string and inadvertent omissions in previous change.
8193         (todo-filter-items): Ensure only file names are comma-separated in
8194         name of filtered items buffer.
8196 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
8198         * desktop.el: Optionally force offscreen frames back onscreen.
8199         (desktop-restoring-reuses-frames): New option.
8200         (desktop--compute-pos, desktop--move-onscreen): New functions.
8201         (desktop--make-frame): Use desktop--move-onscreen.
8203 2013-07-27  Alan Mackenzie  <acm@muc.de>
8205         Fontify a Java generic method as a function.
8206         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8207         value to t.
8209 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
8211         * calendar/todo-mode.el: Add command to rename todo files.
8212         (todo-rename-file): New command.
8213         (todo-key-bindings-t): Add key binding for it.  Change the
8214         bindings of todo-filter-regexp-items(-multifile) to use `x'
8215         instead of `r', since the latter is better suited to the new
8216         renaming command.
8218 2013-07-27  Alan Mackenzie  <acm@muc.de>
8220         Make Java try-with-resources statement parse properly.
8221         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8222         (c-block-stmt-1-2-key): New language constants/variables.
8223         * progmodes/cc-engine.el (c-beginning-of-statement-1)
8224         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8225         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8226         with c-block-stmt-1-2-key.
8228 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
8230         * desktop.el (desktop--make-frame): Apply most frame parameters after
8231         creating the frame to force (partially or totally) offscreen frames to
8232         be restored as such.
8234 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
8236         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8237         (Bug#14948)
8239 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8241         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8242         `base' arg of backtrace-frame.
8244 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
8246         * simple.el (list-processes): Doc fix.
8248 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
8250         * desktop.el (desktop--select-frame):
8251         Try harder to reuse existing frames.
8253 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8255         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8256         (edebug-eval): Use backtrace-eval.
8257         (edebug--display, edebug--recursive-edit): Don't let-bind the
8258         edebug-outer-* vars that keep track of variables we locally let-bind.
8259         (edebug-outside-excursion): Don't restore outside values of locally
8260         let-bound vars.
8261         (edebug--display): Use user-error.
8262         (cl-lexical-debug, cl-debug-env): Remove.
8264 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
8266         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8267         are restored to be sure that they are visible before deleting any
8268         remaining ones.
8270 2013-07-26  Matthias Meulien  <orontee@gmail.com>
8272         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8273         vc-print-root-log.  (Bug#14948)
8275 2013-07-26  Richard Stallman  <rms@gnu.org>
8277         Add aliases for encrypting mail.
8278         * epa.el (epa-mail-aliases): New option.
8279         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8280         Bind inhibit-read-only so read-only text doesn't ruin everything.
8281         (epa-mail-default-recipients): New subroutine broken out.
8282         Handle epa-mail-aliases.
8284 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8286         Add support for lexical variables to the debugger's `e' command.
8287         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8288         vars, except for debugger-outer-match-data.
8289         (debugger-frame-number): Move check for "on a function call" from
8290         callers into it.  Add `skip-base' argument.
8291         (debugger-frame, debugger-frame-clear): Simplify accordingly.
8292         (debugger-env-macro): Only reset the state stored in non-variables,
8293         i.e. current-buffer and match-data.
8294         (debugger-eval-expression): Rewrite using backtrace-eval.
8295         * subr.el (internal--called-interactively-p--get-frame): Remove.
8296         (called-interactively-p):
8297         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8298         `base' arg of backtrace-frame instead.
8300 2013-07-26  Glenn Morris  <rgm@gnu.org>
8302         * align.el (align-regexp): Doc fix.  (Bug#14857)
8303         (align-region): Explicit error if subexpression missing/does not match.
8305         * simple.el (global-visual-line-mode):
8306         Do not duplicate the mode lighter.  (Bug#14858)
8308 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
8310         * window.el (display-buffer): In display-buffer bind
8311         split-window-keep-point to t, bug#14829.
8313 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
8315         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8316         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8317         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8318         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8319         Change accordingly.
8320         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8321         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8323 2013-07-25  Glenn Morris  <rgm@gnu.org>
8325         * dired-x.el (dired-mark-extension): Convert comment to doc string.
8327 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
8329         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8330         parameter to modify-frame-parameters if the value has not changed;
8331         this is a workaround for bug#14949.
8332         (desktop--make-frame): On cl-delete-if call, check parameter name,
8333         not full parameter.
8335 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
8337         * vc/vc.el (vc-ignore): New function.
8339         * vc/vc-svn.el (vc-svn-ignore): New function.
8341         * vc/vc-hg.el (vc-hg-ignore): New function.
8343         * vc/vc-git.el (vc-git-ignore): New function.
8345         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8346         (vc-dir-ignore): New function.
8348         * vc/vc-cvs.el (vc-cvs-ignore): New function.
8349         (cvs-append-to-ignore): Move here from pcvs.el.
8351         * vc/vc-bzr.el (vc-bzr-ignore): New function.
8353         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8355 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
8357         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8358         (desktop-restore-frames): Warn when deleting an existing frame failed.
8360 2013-07-24  Glenn Morris  <rgm@gnu.org>
8362         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
8364 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
8366         * filenotify.el (file-notify-supported-p):
8367         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8368         Remove functions.
8370         * autorevert.el (auto-revert-use-notify)
8371         (auto-revert-notify-add-watch):
8372         * net/tramp.el (tramp-file-name-for-operation):
8373         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8374         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8375         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8376         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8377         Remove `file-notify-supported-p' entry.
8379 2013-07-24  Glenn Morris  <rgm@gnu.org>
8381         * printing.el: Replace all uses of deleted ps-windows-system,
8382         ps-lp-system, ps-flatten-list with lpr- versions.
8384 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8386         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8387         checked with memq (bug#14935).
8389         * files.el (revert-buffer-function): Use a non-nil default.
8390         (revert-buffer-preserve-modes): Declare var to
8391         provide access to the `preserve-modes' argument.
8392         (revert-buffer): Let-bind it.
8393         (revert-buffer--default): New function, extracted from revert-buffer.
8395 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8397         * lpr.el: Signal print errors more prominently.
8398         (print-region-function): Don't default to nil.
8399         (lpr-print-region): New function, extracted from print-region-1.
8400         Check lpr's return value and signal an error in case of problem.
8401         (print-region-1): Use it.
8402         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
8403         versions instead.
8404         (ps-printer-name): Default to nil.
8405         (ps-printer-name-option): Default to lpr-printer-switch.
8406         (ps-print-region-function): Don't default to nil.
8407         (ps-postscript-code-directory): Simplify default.
8408         (ps-do-despool): Use lpr-print-region to properly check the outcome.
8409         (ps-string-list, ps-eval-switch, ps-flatten-list)
8410         (ps-flatten-list-1): Remove.
8411         (ps-multibyte-buffer): Avoid setq.
8412         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8413         (print-region-function, ps-print-region-function): Don't set them here.
8415 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
8417         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8418         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8419         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
8420         (ido-decorations): Doc fix.
8422         * ansi-color.el: Fix old URL.
8424 2013-07-23  Michael R. Mauger  <michael@mauger.com>
8426         * progmodes/sql.el: Version 3.3
8427         (sql-product-alist): Improve oracle :prompt-cont-regexp.
8428         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8429         (sql-interactive-remove-continuation-prompt): Rewrite, use
8430         functions above.  Fix continuation prompt and complete output line
8431         handling.
8432         (sql-redirect-one, sql-execute): Use `read-only-mode' on
8433         redirected output buffer.
8434         (sql-mode): Restore deleted code (Bug#13591).
8436 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
8438         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8440 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
8442         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8444         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8445         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8446         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8448 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
8450         * desktop.el (desktop-clear): Simplify; remove useless checks
8451         against invalid buffer names.
8452         (desktop-list*): Use cl-list*.
8453         (desktop-buffer-info, desktop-create-buffer): Simplify.
8455 2013-07-23  Leo Liu  <sdl.web@gmail.com>
8457         * bookmark.el (bookmark-make-record): Restore NAME as a default
8458         value.  (Bug#14933)
8460 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8462         * emacs-lisp/autoload.el (autoload--setup-output): New function,
8463         extracted from autoload--insert-text.
8464         (autoload--insert-text): Remove.
8465         (autoload--print-cookie-text): New function, extracted from
8466         autoload--insert-cookie-text.
8467         (autoload--insert-cookie-text): Remove.
8468         (autoload-generate-file-autoloads): Adjust calls accordingly.
8470         * winner.el (winner-hook-installed-p): Remove.
8471         (winner-mode): Simplify accordingly.
8473         * subr.el (add-to-list): Fix compiler-macro when `append' is
8474         not constant.  Don't use `cl-member' for the base case.
8476         * progmodes/subword.el: Fix boundary case (bug#13758).
8477         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
8478         own group.
8479         (subword-backward-regexp): Make it a constant.
8480         (subword-forward-internal): Don't treat a trailing capital as the
8481         beginning of a word.
8483 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
8485         * emacs-lisp/package.el (package-menu-mode): Don't modify the
8486         global value of tabulated-list-revert-hook (bug#14930).
8488 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
8490         * desktop.el: Require 'cl-lib.
8491         (desktop-before-saving-frames-functions): New hook.
8492         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8493         for frames being saved.  Rename from desktop--save-minibuffer-frames.
8494         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8495         Do not save frames with non-nil `desktop-dont-save' parameter.
8496         Filter out deleted frames.
8497         (desktop--find-frame): Use cl-find-if.
8498         (desktop--select-frame): Use cl-(first|second|third) to access values
8499         of desktop-mini.
8500         (desktop--make-frame): Use cl-delete-if.
8501         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8502         (desktop-restore-frames): Use cl-(first|second|third) to access values
8503         of desktop-mini.  Look for visible frame at the end, not while
8504         restoring frames.
8506         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8507         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8508         Use string-match-p, looking-at-p (bug#14927).
8510 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
8512         * desktop.el (desktop-saved-frame-states):
8513         Rename from desktop--saved-states; all users changed.
8514         (desktop-save-frames): Rename from desktop--save-frames.
8515         Do not save state to desktop file.
8516         (desktop-save): Save desktop-saved-frame-states to desktop file
8517         and reset to nil.
8518         (desktop-restoring-frames-p): New function.
8519         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
8520         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
8521         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
8523         * desktop.el: Correctly restore iconified frames.
8524         (desktop--filter-iconified-position): New function.
8525         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8527 2013-07-20  Glenn Morris  <rgm@gnu.org>
8529         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8530         Let `message' do the formatting.
8531         (def-gdb-preempt-display-buffer): Add explicit format.
8533         * image-dired.el (image-dired-track-original-file):
8534         Use with-current-buffer.
8535         (image-dired-track-thumbnail): Use with-current-buffer.
8536         Avoid changing point of wrong window.
8538         * image-dired.el (image-dired-track-original-file):
8539         Avoid changing point of wrong window.  (Bug#14909)
8541 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
8543         * progmodes/gdb-mi.el (gdb-done-or-error):
8544         Guard against "%" in gdb output.  (Bug#14127)
8546 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
8548         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8549         (Bug#14826)
8551         * international/mule.el (coding-system-iso-2022-flags): Fix last
8552         change.
8554 2013-07-20  Kenichi Handa  <handa@gnu.org>
8556         * international/mule.el (coding-system-iso-2022-flags):
8557         Add `8-bit-level-4'.  (Bug#8522)
8559 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8561         * net/shr.el (shr-mouse-browse-url): New command and keystroke
8562         (bug#14815).
8564         * net/eww.el (eww-process-text-input): Allow inputting when the
8565         point is at the start of the line, as the properties aren't
8566         front-sticky.
8568         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8569         degenerate widths.
8571 2013-07-19  Richard Stallman  <rms@gnu.org>
8573         * epa.el (epa-popup-info-window): Doc fix.
8575         * subr.el (split-string): New arg TRIM.
8577 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
8579         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8580         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8582 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
8584         * filenotify.el (file-notify--library): Rename from
8585         `file-notify-support'.  Do not autoload.  Adapt all uses.
8586         (file-notify-supported-p): New defun.
8588         * autorevert.el (auto-revert-use-notify):
8589         Use `file-notify-supported-p' instead of `file-notify-support'.
8590         Adapt docstring.
8591         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8593         * net/tramp.el (tramp-file-name-for-operation):
8594         Add `file-notify-supported-p'.
8596         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8597         New defun.
8598         (tramp-sh-file-name-handler-alist): Add it as handler for
8599         `file-notify-supported-p '.
8601         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8602         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8603         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8604         Add `ignore' as handler for `file-notify-*' functions.
8606 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
8608         * simple.el (line-move-partial, line-move): Don't start vscroll or
8609         scroll-up if the current line is not taller than the window.
8610         (Bug#14881)
8612 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
8614         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8615         highlight question marks in the method names as strings.
8616         (ruby-block-beg-keywords): Inline.
8617         (ruby-font-lock-keyword-beg-re): Extract from
8618         `ruby-font-lock-keywords'.
8620 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
8622         * frame.el (blink-cursor-blinks): New defcustom.
8623         (blink-cursor-blinks-done): New defvar.
8624         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8625         (blink-cursor-timer-function): Check if number of blinks has been
8626         done on X and NS.
8627         (blink-cursor-suspend, blink-cursor-check): New defuns.
8629 2013-07-15  Glenn Morris  <rgm@gnu.org>
8631         * edmacro.el (edmacro-format-keys): Fix previous change.
8633 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
8635         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8636         The hack didn't work outside English locales anyway.
8638 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
8640         * simple.el (define-alternatives): Rename from alternatives-define,
8641         per RMS' suggestion.
8643 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
8645         * desktop.el (desktop-restore-frames): Change default to t.
8646         (desktop-restore-in-current-display): Now offer more options.
8647         (desktop-restoring-reuses-frames): New customization option.
8648         (desktop--saved-states): Doc fix.
8649         (desktop-filter-parameters-alist): New variable, renamed and expanded
8650         from desktop--excluded-frame-parameters.
8651         (desktop--target-display): New variable.
8652         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8653         (desktop--filter-tty*, desktop--filter-*-color)
8654         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8655         (desktop--filter-save-desktop-parm)
8656         (desktop-restore-in-original-display-p): New functions.
8657         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8658         (desktop--save-minibuffer-frames): New function, inspired by a similar
8659         function from Martin Rudalics.
8660         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8661         (desktop--restore-in-this-display-p): Remove.
8662         (desktop--find-frame): Rename from desktop--find-frame-in-display
8663         and add predicate argument.
8664         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8665         (desktop--reuse-list): New variable.
8666         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8667         New functions.
8668         (desktop--restore-frames): Add support for "minibuffer-special" frames.
8670 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
8672         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8674 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
8676         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8677         Highlight conversion methods on Kernel.
8679 2013-07-13  Alan Mackenzie  <acm@muc.de>
8681         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8682         and comment it out.  This out-commenting enables certain C++
8683         declarations to be parsed correctly.
8685 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
8687         * international/mule.el (define-coding-system): Doc fix.
8689         * simple.el (default-font-height): Don't call font-info if the
8690         frame's default font didn't change since the frame was created.
8691         (Bug#14838)
8693 2013-07-13  Leo Liu  <sdl.web@gmail.com>
8695         * ido.el (ido-read-file-name): Guard against non-symbol value.
8697 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8699         * progmodes/python.el (python-imenu--build-tree): Fix corner case
8700         in nested defuns.
8702 2013-07-13  Leo Liu  <sdl.web@gmail.com>
8704         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8705         ido-set-matches call.  (Bug#6852)
8707 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
8709         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
8710         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8711         Ruby 2.0.
8712         (ruby-font-lock-keywords): Distinguish calls to functions with
8713         module-like names from module references.  Highlight character
8714         literals.
8716 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
8718         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8719         (gdb-send): Handle continued commands.  (Bug#14847)
8721 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
8723         * desktop.el (desktop--v2s): Remove unused local variable.
8724         (desktop-save-buffer): Make defvar-local; adjust docstring.
8725         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8726         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8728 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
8730         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8732 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
8734         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8735         (Bug#14842)
8737 2013-07-12  Glenn Morris  <rgm@gnu.org>
8739         * doc-view.el: Require cl-lib at runtime too.
8740         (doc-view-remove-if): Remove.
8741         (doc-view-search-next-match, doc-view-search-previous-match):
8742         Use cl-remove-if.
8744         * edmacro.el: Require cl-lib at runtime too.
8745         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8746         (edmacro-mismatch, edmacro-subseq): Remove.
8748         * shadowfile.el: Require cl-lib.
8749         (shadow-remove-if): Remove.
8750         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8751         Use cl-remove-if.
8753         * wid-edit.el: Require cl-lib.
8754         (widget-choose): Use cl-remove-if.
8755         (widget-remove-if): Remove.
8757         * progmodes/ebrowse.el: Require cl-lib at runtime too.
8758         (ebrowse-delete-if-not): Remove.
8759         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8760         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8761         Use cl-delete-if-not.
8763 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
8765         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8766         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8768 2013-07-12  Leo Liu  <sdl.web@gmail.com>
8770         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
8772 2013-07-11  Glenn Morris  <rgm@gnu.org>
8774         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8775         (edebug-gensym-index, edebug-gensym):
8776         Remove reimplementation of cl-gensym.
8777         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8779         * thumbs.el: Require cl-lib at run-time too.
8780         (thumbs-gensym-counter, thumbs-gensym):
8781         Remove reimplementation of cl-gensym.
8782         (thumbs-temp-file): Use cl-gensym.
8784         * emacs-lisp/ert.el: Require cl-lib at runtime too.
8785         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8786         (ert--intersection, ert--set-difference, ert--set-difference-eq)
8787         (ert--union, ert--gensym-counter, ert--gensym-counter)
8788         (ert--coerce-to-vector, ert--remove*, ert--string-position)
8789         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8790         (ert-make-test-unbound, ert--expand-should-1)
8791         (ert--expand-should, ert--should-error-handle-error)
8792         (should-error, ert--explain-equal-rec)
8793         (ert--plist-difference-explanation, ert-select-tests)
8794         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8795         Use cl-lib functions rather than reimplementations.
8797 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
8799         * net/tramp.el (tramp-methods): Extend docstring.
8800         (tramp-connection-timeout): New defcustom.
8801         (tramp-error-with-buffer): Reset timestamp only when appropriate.
8802         (with-tramp-progress-reporter): Simplify.
8803         (tramp-process-actions): Improve messages.
8805         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8806         * net/tramp-sh.el (tramp-maybe-open-connection):
8807         Use `tramp-connection-timeout'.
8808         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
8809         (Bug#14808)
8811 2013-07-11  Leo Liu  <sdl.web@gmail.com>
8813         * ido.el (ido-read-file-name): Conform to the requirements of
8814         read-file-name.  (Bug#11861)
8815         (ido-read-directory-name): Conform to the requirements of
8816         read-directory-name.
8818 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
8820         * subr.el (delay-warning): New function.
8822 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
8824         * simple.el (default-line-height): New function.
8825         (line-move-partial, line-move): Use it instead of computing the
8826         line height inline.
8827         (line-move-partial): Always compute ROWH.  If the last line is
8828         partially-visible, but its text is completely visible, allow
8829         cursor to enter such a partially-visible line.
8831 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
8833         Improve error messages.  (Bug#14808)
8835         * net/tramp.el (tramp-current-connection): New defvar, moved from
8836         tramp-sh.el.
8837         (tramp-message-show-progress-reporter-message): Remove, not
8838         needed anymore.
8839         (tramp-error-with-buffer): Show message in minibuffer.
8840         Discard input before waiting.  Reset connection timestamp.
8841         (with-tramp-progress-reporter): Improve messages.
8842         (tramp-process-actions): Use progress reporter.  Delete process in
8843         case of error.  Improve messages.
8845         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8846         Call `tramp-error-with-buffer' with vector and buffer.
8847         (tramp-current-connection): Remove.
8848         (tramp-maybe-open-connection): The car of
8849         `tramp-current-connection' are the first 3 slots of the vector.
8851 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
8853         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8854         inside continued strings.
8856 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
8858         Timestamp fixes for undo (Bug#14824).
8859         * files.el (clear-visited-file-modtime): Move here from fileio.c.
8861 2013-07-10  Leo Liu  <sdl.web@gmail.com>
8863         * files.el (require-final-newline): Allow safe local value.
8864         (Bug#14834)
8866 2013-07-09  Leo Liu  <sdl.web@gmail.com>
8868         * ido.el (ido-read-directory-name): Handle fallback.
8869         (ido-read-file-name): Update DIR to ido-current-directory.
8870         (Bug#1516)
8871         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
8873 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
8875         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8876         "autoload".  Remove "warn lower camel case" section, previously
8877         commented out.  Highlight negation char.  Do not highlight the
8878         target in singleton method definitions.
8880 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8882         * faces.el (tty-setup-hook): Declare the hook.
8884         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8885         and detect when a guard/pred depends on local vars (bug#14773).
8886         (pcase--u1): Adjust caller.
8888 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
8890         * simple.el (line-move-partial, line-move): Account for
8891         line-spacing.
8892         (line-move-partial): Avoid setting vscroll when the last
8893         partially-visible line in window is of default height.
8895 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8897         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8898         been used a while.
8900 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
8902         * subr.el (read-quoted-char): Remove unused local variable `char'.
8904 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
8906         * ediff.el (ediff-version): Version update.
8907         (ediff-files-command, ediff3-files-command, ediff-merge-command)
8908         (ediff-merge-with-ancestor-command, ediff-directories-command)
8909         (ediff-directories3-command, ediff-merge-directories-command)
8910         (ediff-merge-directories-with-ancestor-command): New functions.
8911         All are command-line interfaces to ediff: to facilitate calling
8912         Emacs with the appropriate ediff functions invoked.
8914         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8915         (viper-save-kill-buffer): Check if buffer is modified.
8917         * viper.el (viper-version): Version update.
8918         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8920 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8922         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8923         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8924         (viper-intercept-ESC-key): Simplify.
8925         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8926         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8927         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8928         (viper-setup-ESC-to-escape): New functions.
8929         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8930         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
8932 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
8934         * simple.el (default-font-height, window-screen-lines):
8935         New functions.
8936         (line-move, line-move-partial): Use them instead of
8937         frame-char-height and window-text-height.  This makes scrolling
8938         text smoother when the buffer's default face uses a font that is
8939         different from the frame's default font.
8941 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
8943         * files.el (write-file): Do not display confirm dialog for NS,
8944         it does its own dialog, which can't be canceled (Bug#14578).
8946 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
8948         * simple.el (line-move-partial): Adjust the row returned by
8949         posn-at-point for the current window-vscroll.  (Bug#14567)
8951 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
8953         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
8954         (tramp-sh-file-inotifywait-process-filter): Handle file names with
8955         spaces.
8957 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
8959         * window.el (window-state-put-stale-windows): New variable.
8960         (window--state-put-2): Save list of windows without matching buffer.
8961         (window-state-put): Remove "bufferless" windows if possible.
8963 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
8965         * simple.el (alternatives-define): Remove leftover :group keyword.
8966         Tweak docstring.
8968 2013-07-06  Leo Liu  <sdl.web@gmail.com>
8970         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8971         (ido-enable-virtual-buffers): New variable.
8972         (ido-buffer-internal, ido-toggle-virtual-buffers)
8973         (ido-make-buffer-list): Use it.
8974         (ido-exhibit): Support turning on and off virtual buffers
8975         automatically.
8977 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
8979         * simple.el (alternatives-define): New macro.
8981 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8983         * subr.el (read-quoted-char): Use read-key.
8984         (sit-for): Let read-event decode tty input (bug#14782).
8986 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
8988         * calendar/todo-mode.el: Add handling of file deletion, both by
8989         mode command and externally.  Fix various related bugs.
8990         Clarify Commentary and improve some documentation strings and code.
8991         (todo-delete-file): New command.
8992         (todo-check-file): New function.
8993         (todo-show): Handle external deletion of the file we're trying to
8994         show (bug#14688).  Replace called-interactively-p by an optional
8995         prefix argument to avoid problematic interaction with catch form
8996         when byte compiled (bug#14702).
8997         (todo-quit): Handle external deletion of the archive's todo file.
8998         Make sure the buffer that was visiting the archive file is still
8999         live before trying to bury it.
9000         (todo-category-completions): Handle external deletion of any
9001         category completion files.
9002         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9003         of todo files, in case of external deletion.
9004         (todo-add-file): Replace unnecessary setq by let-binding.
9005         (todo-find-archive): Check whether there are any archives.
9006         Replace unnecessary setq by let-binding.
9007         (todo-archive-done-item): Use find-file-noselect to get the
9008         archive buffer whether or not the archive already exists.
9009         Remove superfluous code.  Use file size instead of buffer-file-name to
9010         check if the archive is new; if it is, update list of archives.
9011         (todo-default-todo-file): Allow nil to be a valid value for when
9012         there are no todo files.
9013         (todo-reevaluate-default-file-defcustom): Use corrected definition
9014         of todo-default-todo-file.
9015         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9016         (todo-delete-category, todo-show-categories-table)
9017         (todo-category-number): Clarify comment.
9018         (todo-filter-items): Clarify documentation string.
9019         (todo-show-current-file, todo-display-as-todo-file)
9020         (todo-reset-and-enable-done-separator): Tweak documentation string.
9021         (todo-done-separator): Make separator length window-width, since
9022         bug#2749 is now fixed.
9024 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
9026         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9027         Support both "gvfs-monitor-dir" and "inotifywait".
9028         (tramp-sh-file-inotifywait-process-filter): Rename from
9029         `tramp-sh-file-notify-process-filter'.
9030         (tramp-sh-file-gvfs-monitor-dir-process-filter)
9031         (tramp-get-remote-gvfs-monitor-dir): New defuns.
9033 2013-07-05  Leo Liu  <sdl.web@gmail.com>
9035         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9037 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
9039         * frame.el (display-pixel-height, display-pixel-width)
9040         (display-mm-height, display-mm-width): Mention behavior on
9041         multi-monitor setups in docstrings.
9042         (w32-display-monitor-attributes-list): Declare function.
9043         (display-monitor-attributes-list): Use it.
9045 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
9047         * filenotify.el: New package.
9049         * autorevert.el (top): Require filenotify.el.
9050         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
9051         instead.
9052         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9053         (auto-revert-notify-handler): Use `file-notify-*' functions.
9055         * subr.el (file-notify-handle-event): Move function to filenotify.el.
9057         * net/tramp.el (tramp-file-name-for-operation):
9058         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9060         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9061         for `file-notify-add-watch' and `file-notify-rm-watch'.
9062         (tramp-process-sentinel): Improve trace.
9063         (tramp-sh-handle-file-notify-add-watch)
9064         (tramp-sh-file-notify-process-filter)
9065         (tramp-sh-handle-file-notify-rm-watch)
9066         (tramp-get-remote-inotifywait): New defuns.
9068 2013-07-03  Juri Linkov  <juri@jurta.org>
9070         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9071         call of `occur-read-primary-args' to interactive spec.
9073         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9074         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
9076 2013-07-03  Matthias Meulien  <orontee@gmail.com>
9078         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9079         `Buffer-menu-multi-occur'.  Add it to the menu.
9080         (Buffer-menu-mode): Document it in docstring.
9081         (Buffer-menu-multi-occur): New command.  (Bug#14673)
9083 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
9085         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9086         keywords and built-ins.
9088 2013-07-03  Glenn Morris  <rgm@gnu.org>
9090         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
9092         Make info-xref checks case-sensitive by default
9093         * info.el (Info-find-node, Info-find-in-tag-table)
9094         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9095         Add option for exact case matching of nodes.
9096         * info-xref.el (info-xref): New custom group.
9097         (info-xref-case-fold): New option.
9098         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9100 2013-07-03  Leo Liu  <sdl.web@gmail.com>
9102         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9104 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
9106         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9107         middle of block statement initially, lower the depth.  Remove
9108         FIXME comment, not longer valid.  Remove middle of block statement
9109         detection, no need to do that anymore since we've been using
9110         `ruby-parse-region' here.
9112 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
9114         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9116 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
9118         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9120 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
9122         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9123         (desktop-restore-in-current-display): New customization option.
9124         (desktop--excluded-frame-parameters): Add `font'.
9125         (desktop--save-frames): Rename from desktop--save-windows.
9126         (desktop--restore-in-this-display-p): New function.
9127         (desktop--make-full-frame): Remove unwanted width/height from
9128         full(width|height) frames.
9129         (desktop--restore-frames): Rename from desktop--restore-windows.
9130         Obey desktop-restore-current-display.  Do not delete old frames or
9131         select a new frame unless we were able to restore at least one frame.
9133 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
9135         * files.el (find-file-noselect): Simplify conditional expression.
9137         * textmodes/remember.el (remember-append-to-file):
9138         Don't mix `find-buffer-visiting' and `get-file-buffer'.
9140         Add `remember-notes' function to store random notes across Emacs
9141         restarts.
9142         * textmodes/remember.el (remember-data-file): Add :set callback to
9143         affect notes buffer (if any).
9144         (remember-notes): New command.
9145         (remember-notes-buffer-name, bury-remember-notes-on-kill):
9146         New defcustoms for the `remember-notes' function.
9147         (remember-notes-save-and-bury-buffer): New command.
9148         (remember-notes-mode-map): New variable.
9149         (remember-mode): New minor mode.
9150         (remember-notes--kill-buffer-query): New function.
9151         * startup.el (initial-buffer-choice): Add notes to custom type.
9153 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
9155         * bindings.el (right-char, left-char): Don't call sit-for, this is
9156         no longer needed.  Use arithmetic comparison only for numerical
9157         arguments.
9159         * international/mule-cmds.el (select-safe-coding-system):
9160         Handle the case of FROM being a string correctly.  (Bug#14755)
9162 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9164         * net/shr.el (shr-make-table-1): Add a sanity check that allows
9165         progression on degenerate tables.
9166         (shr-rescale-image): ImageMagick animated images currently don't work.
9168 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
9170         Some fixes and improvements for desktop frame restoration.
9171         It is still experimental and disabled by default.
9172         * desktop.el (desktop--save-windows): Put the selected frame at
9173         the head of the list.
9174         (desktop--make-full-frame): New function.
9175         (desktop--restore-windows): Try to re-select the frame that was
9176         selected upon saving.  Do not abort if some frames fail to restore,
9177         just show an error message and continue.  Set up maximized frames
9178         so they have default non-maximized dimensions.
9180 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
9182         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9183         Don't start heredoc inside a string or comment.
9185 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
9187         * bindings.el (visual-order-cursor-movement): New defcustom.
9188         (right-char, left-char): Provide visual-order cursor motion by
9189         calling move-point-visually.  Update the doc strings.
9191 2013-06-28  Kenichi Handa  <handa@gnu.org>
9193         * international/mule.el (define-coding-system): New coding system
9194         properties :inhibit-null-byte-detection,
9195         :inhibit-iso-escape-detection, and :prefer-utf-8.
9196         (set-buffer-file-coding-system): If :charset-list property of
9197         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9198         appropriate for setting.
9200         * international/mule-cmds.el (select-safe-coding-system):
9201         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9202         multibyte characters, return utf-8 (or one of its siblings).
9204         * international/mule-conf.el (prefer-utf-8): New coding system.
9205         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9206         files.
9208 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
9210         * net/shr.el (shr-render-region): New function.
9212         * net/eww.el: Autoload `eww-browse-url'.
9214 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
9216         * emacs-lisp/package-x.el (package-upload-buffer-internal):
9217         Adapt to `package-desc-version' being a list.
9218         Use `package--ac-desc-version' to retrieve version from a package
9219         archive element.
9221 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
9223         New experimental feature to save&restore window and frame setup.
9224         * desktop.el (desktop-save-windows): New defcustom.
9225         (desktop--saved-states): New var.
9226         (desktop--excluded-frame-parameters): New defconst.
9227         (desktop--filter-frame-parms, desktop--find-frame-in-display)
9228         (desktop--restore-windows, desktop--save-windows): New functions.
9229         (desktop-save): Call `desktop--save-windows'.
9230         (desktop-read): Call `desktop--restore-windows'.
9232 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9234         * net/shr.el (add-face-text-property): Remove compat definition.
9236 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
9238         * info.el (Info-try-follow-nearest-node): Move search for footnote
9239         above search for node name to prevent missing a footnote (bug#14717).
9241 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
9243         * obsolete/otodo-mode.el: Add obsolescence info to file header.
9245 2013-06-27  Leo Liu  <sdl.web@gmail.com>
9247         * net/eww.el (eww-read-bookmarks): Check file size.
9249 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9251         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9252         advice--pending if newdef is nil or an autoload (bug#13820).
9253         (advice-mapc): New function.
9255 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9257         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9258         probably.
9259         (eww-mode-map): Add a menu bar.
9260         (eww-add-bookmark): New command.
9261         (eww-bookmark-mode): New mode and commands.
9262         (eww-add-bookmark): Remove newlines from the title.
9263         (eww-bookmark-browse): Don't bug out if it's the only window.
9265 2013-06-26  Glenn Morris  <rgm@gnu.org>
9267         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9268         (hfy-size): Handle ttys.  (Bug#14668)
9270         * info-xref.el: Update for Texinfo 5 change in *note format.
9271         (info-xref-node-re, info-xref-note-re): New constants.
9272         (info-xref-check-buffer): Use info-xref-note-re.
9274 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9276         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9278         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9279         nil terminate the loop (bug#14718).
9281 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9283         * net/eww.el: Rework history traversal.  When going forward/back,
9284         put these actions into the history, too, so that they can be
9285         replayed.
9286         (eww-render): Move the history reset to the correct buffer.
9288 2013-06-25  Juri Linkov  <juri@jurta.org>
9290         * files-x.el (modify-dir-local-variable): Change the header comment
9291         in the file with directory local variables.  (Bug#14692)
9293         * files-x.el (read-file-local-variable-value): Add `default'.
9294         (Bug#14710)
9296 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9298         * net/eww.el (eww-make-unique-file-name): Create a unique file
9299         name before saving to entering `y' accidentally asynchronously.
9301 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
9303         * net/eww.el (eww-download): New command and keystroke.
9305 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9307         * net/eww.el (eww-copy-page-url): Change name of command.
9309         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9310         be more consistent with Info and dired.
9312         * net/eww.el (eww-mode-map): Ditto.
9314 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9316         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
9317         packages from archives.
9318         (package-archive-contents): Change format; include obsolete packages.
9319         (package-desc): Use `dir' to mark builtin packages.
9320         (package--from-builtin): Set the `dir' field to `builtin'.
9321         (generated-autoload-file, version-control): Declare.
9322         (package-compute-transaction): Change first arg and return value to be
9323         lists of package-descs.  Adjust to new package-archive-contents format.
9324         (package--add-to-archive-contents): Adjust to new
9325         package-archive-contents format.
9326         (package-download-transaction): Arg is now a list of package-descs.
9327         (package-install): If `pkg' is a package name, pass it as
9328         a requirement, so it is subject to the usual (e.g. disabled) checks.
9329         (describe-package): Accept package-desc as well.
9330         (describe-package-1): Describe a specific package-desc.  Add links to
9331         other package-descs for the same package name.
9332         (package-menu-describe-package): Pass the actual package-desc.
9333         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9334         works correctly.
9335         (package-desc-status): New function.
9336         (package-menu--refresh): New function, extracted
9337         from package-menu--generate.
9338         (package-menu--generate): Use it.
9339         (package-delete): Update package-alist.
9340         (package-menu-execute): Don't call package-initialize.
9342         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9343         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9344         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9345         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9346         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9347         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9349 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
9351         * window.el (window--state-get-1): Workaround for bug#14527.
9352         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9354 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9356         * net/eww.el (eww-back-url): Implement the history by stashing all
9357         the data into a list.
9358         (eww-forward-url): Allow going forward in the history, too.
9360 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9362         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9363         for values and use read--expression for expressions (bug#14710).
9364         (read-file-local-variable): Avoid setq.
9365         (read-file-local-variable-mode): Use minor-mode-list.
9367 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9369         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9370         for DOI URLs.
9372 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9374         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9375         Update imenu-support when dialect changes.
9377 2013-06-25  Leo Liu  <sdl.web@gmail.com>
9379         * ido.el (ido-read-internal): Allow forward slash on windows.
9381 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9383         * net/eww.el (eww): Start of strings is \\`, not ^.
9385 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
9387         * net/shr.el (shr-browse-url): Fix interactive spec.
9389         * net/eww.el (eww): Add a trailing slash to domain names.
9391 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
9393         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9395 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9397         * net/shr.el (shr-browse-url): Use an external browser if given a
9398         prefix.
9400         * net/eww.el (eww-external-browser): Move to shr.
9402 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
9404         * net/eww.el (eww): Work more correctly for file: URLs.
9405         (eww-detect-charset): Allow quoted charsets.
9406         (eww-yank-page-url): New command and keystroke.
9408 2013-06-24  Daiki Ueno  <ueno@gnu.org>
9410         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9411         file name of gpg executable.
9412         (epg-context-program): New function.
9413         (epg-context-home-directory): New function.
9414         (epg-context-set-program): New function.
9415         (epg-context-set-home-directory): New function.
9416         (epg--start): Use `epg-context-program' instead of
9417         'epg-gpg-program'.
9418         (epg--list-keys-1): Likewise.
9420 2013-06-24  Leo Liu  <sdl.web@gmail.com>
9422         * ido.el (ido-read-internal): Fix bug#14620.
9424 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
9426         * faces.el (face-documentation): Simplify.
9427         (read-face-attribute, tty-find-type, x-resolve-font-name):
9428         Use `string-match-p'.
9429         (list-faces-display): Use `string-match-p'.  Simplify.
9430         (face-spec-recalc): Check face to avoid face alias loops.
9431         (read-color): Use `string-match-p' and non-capturing parenthesis.
9433 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9435         * net/shr.el (shr-rescale-image): Use the new
9436         :max-width/:max-height functionality.
9438 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
9440         * net/eww.el (eww-search-prefix): New variable.
9441         (eww): Use it.
9442         (eww-external-browser): New variable.
9443         (eww-mode-map): New keystroke.
9444         (eww-browse-with-external-browser): New command.
9446         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9448 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
9450         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9451         Don't skip aligning the next header field when padding is 0;
9452         otherwise, field width is not respected unless the title is as
9453         wide as the field.
9455 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9457         * emacs-lisp/package.el (package-el-version): Remove.
9458         (package-process-define-package): Fix inf-loop.
9459         (package-install): Allow symbols as arguments again.
9461 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
9463         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9464         add some more keyword-like methods.
9465         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9467 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
9469         * bs.el (bs-buffer-show-mark): Make defvar-local.
9470         (bs-mode): Use setq-local.
9472         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9473         (emacs-lock--try-unlocking): Make defvar-local.
9475 2013-06-22  Glenn Morris  <rgm@gnu.org>
9477         * play/cookie1.el (cookie-apropos): Minor simplification.
9479         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9481 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
9483         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9484         `regexp-opt', it breaks the build during dumping.
9486 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
9488         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9489         Highlight keyword-like methods on Kernel and Module with
9490         font-lock-builtin-face.
9491         (auto-mode-alist): Consolidate different entries into one regexp
9492         and add more *file-s.
9494 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
9496         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9498         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9499         (diary-entry): Use it in the action of this button type instead of
9500         diary-goto-entry.
9502         * calendar/todo-mode.el: New version.
9503         (todo-add-category): Append new category to end of file and give
9504         it the highest number, instead of putting it at the beginning and
9505         giving it 0.  Incorporate noninteractive functionality.
9506         (todo-forward-category): Adapt to 1-based category numbering.
9507         Allow skipping over archived categories.
9508         (todo-backward-category): Derive from todo-forward-category.
9509         (todo-backward-item, todo-forward-item): Make noninteractive and
9510         delegate interactive part to new commands.  Make sensitive to done items.
9511         (todo-categories): Make value an alist of category names and
9512         vectors of item counts.
9513         (todo-category-beg): Make a defconst.
9514         (todo-category-number): Use 1 instead of 0 as initial value.
9515         (todo-category-select): Make sensitive to overlays, optional item
9516         highlighting and done items.
9517         (todo-delete-item): Make sensitive to overlays and marked and done items.
9518         (todo-edit-item): Make sensitive to overlays and editing of
9519         date/time header optional.  Add format checks.
9520         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
9521         no-op if point is not on an item.  Advertise using todo-edit-quit.
9522         (todo-edit-mode): Make sensitive to new format, font-locking, and
9523         multiple todo files.
9524         (todo-insert-item, todo-insert-item-here): Derive from
9525         todo-basic-insert-item and extend functionality.
9526         (todo-item-end, todo-item-start): Make sensitive to done items.
9527         (todo-item-string): Don't return text properties.  Restore point.
9528         (todo-jump-to-category): Make sensitive to multiple todo files and
9529         todo archives.  Use extended category completion.
9530         (todo-lower-item, todo-raise-item): Rename to *-priority and
9531         derive from todo-set-item-priority.
9532         (todo-mode): Derive from special-mode.  Make sensitive to new
9533         format, font-locking and multiple todo files.  Make read-only.
9534         (todo-mode-map): Don't suppress digit keys, so they can supply
9535         prefix arguments.  Add many new key bindings.
9536         (todo-prefix): Insert as an overlay instead of file text.
9537         Change semantics from diary date expression to purely visual mark.
9538         (todo-print): Rename to todo-print-buffer.  Make buffer display
9539         features printable.  Remove option to restrict number of items
9540         printed.  Add option to print to file.
9541         (todo-print-function): Rename to todo-print-buffer-function.
9542         (todo-quit): Extend to handle exiting new todo modes.
9543         (todo-remove-item): Make sensitive to overlays.
9544         (todo-save): Extend to buffers of filtered items.
9545         (todo-show): Make sensitive to done items, multiple todo files and
9546         new todo modes.  Offer to convert legacy todo file before creating
9547         first new todo file.
9548         (todo-show-priorities): Rename to todo-top-priorities.
9549         Change semantics of value 0.
9550         (todo-top-priorities): Rename to todo-filter-top-priorities,
9551         derive from todo-filter-items and extend functionality.
9552         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9553         and extend functionality to other types of filtered items.
9554         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9555         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9556         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9557         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9558         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9559         (todo-edit-mode-hook, todo-entry-prefix-function)
9560         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9561         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9562         (todo-initials, todo-insert-threshold, todo-item-string-start)
9563         (todo-line-string, todo-menu, todo-mode-hook)
9564         (todo-more-important-p, todo-previous-answer, todo-previous-line)
9565         (todo-print-priorities, todo-remove-separator)
9566         (todo-save-top-priorities-too, todo-string-count-lines)
9567         (todo-string-multiline-p, todo-time-string-format)
9568         (todo-tmp-buffer-name): Remove.
9569         (todo-add-file, todo-archive-done-item, todo-choose-archive)
9570         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9571         (todo-edit-category-diary-inclusion)
9572         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9573         (todo-edit-file, todo-edit-item-date-day)
9574         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9575         (todo-edit-item-date-month, todo-edit-item-date-to-today)
9576         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9577         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9578         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9579         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9580         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9581         (todo-filter-top-priorities-multifile, todo-find-archive)
9582         (todo-find-filtered-items-file, todo-go-to-source-item)
9583         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9584         (todo-jump-to-archive-category, todo-lower-category)
9585         (todo-mark-category, todo-marked-item-p, todo-merge-category)
9586         (todo-move-category, todo-move-item, todo-next-button)
9587         (todo-next-item, todo-padded-string, todo-powerset)
9588         (todo-previous-button, todo-previous-item)
9589         (todo-print-buffer-to-file, todo-raise-category)
9590         (todo-rename-category, todo-repair-categories-sexp, todo-search)
9591         (todo-set-category-number, todo-set-item-priority)
9592         (todo-set-top-priorities-in-category)
9593         (todo-set-top-priorities-in-file, todo-show-categories-table)
9594         (todo-sort-categories-alphabetically-or-numerically)
9595         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9596         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9597         (todo-toggle-item-header, todo-toggle-item-highlighting)
9598         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9599         (todo-toggle-view-done-items, todo-toggle-view-done-only)
9600         (todo-unarchive-items, todo-unmark-category): New commands.
9601         (todo-absolute-file-name, todo-add-to-buffer-list)
9602         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9603         (todo-basic-insert-item, todo-category-completions)
9604         (todo-category-number, todo-category-string-matcher-1)
9605         (todo-category-string-matcher-2, todo-check-filtered-items-file)
9606         (todo-check-format, todo-clear-matches)
9607         (todo-comment-string-matcher, todo-convert-legacy-date-time)
9608         (todo-current-category, todo-date-string-matcher)
9609         (todo-define-insertion-command, todo-diary-expired-matcher)
9610         (todo-diary-goto-entry, todo-diary-item-p)
9611         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9612         (todo-display-categories, todo-display-sorted, todo-done-item-p)
9613         (todo-done-item-section-p, todo-done-separator)
9614         (todo-done-string-matcher, todo-files, todo-filter-items)
9615         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9616         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9617         (todo-insert-category-line, todo-insert-item-from-calendar)
9618         (todo-insert-sort-button, todo-insert-with-overlays)
9619         (todo-insertion-command-name, todo-insertion-key-bindings)
9620         (todo-label-to-key, todo-longest-category-name-length)
9621         (todo-make-categories-list, todo-mode-external-set)
9622         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9623         (todo-modes-set-3, todo-multiple-filter-files)
9624         (todo-nondiary-marker-matcher, todo-prefix-overlays)
9625         (todo-read-category, todo-read-date, todo-read-dayname)
9626         (todo-read-file-name, todo-read-time)
9627         (todo-reevaluate-category-completions-files-defcustom)
9628         (todo-reevaluate-default-file-defcustom)
9629         (todo-reevaluate-filelist-defcustoms)
9630         (todo-reevaluate-filter-files-defcustom)
9631         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9632         (todo-reset-done-separator, todo-reset-done-separator-string)
9633         (todo-reset-done-string, todo-reset-global-current-todo-file)
9634         (todo-reset-highlight-item, todo-reset-nondiary-marker)
9635         (todo-reset-prefix, todo-set-categories)
9636         (todo-set-date-from-calendar, todo-set-show-current-file)
9637         (todo-set-top-priorities, todo-short-file-name)
9638         (todo-show-current-file, todo-sort, todo-time-string-matcher)
9639         (todo-total-item-counts, todo-update-buffer-list)
9640         (todo-update-categories-display, todo-update-categories-sexp)
9641         (todo-update-count, todo-validate-name, todo-y-or-n-p):
9642         New functions.
9643         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9644         New major modes.
9645         (todo-categories, todo-display, todo-edit, todo-faces)
9646         (todo-filtered): New defgroups.
9647         (todo-archived-only, todo-button, todo-category-string, todo-date)
9648         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9649         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9650         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9651         (todo-add-item-if-new-category, todo-always-add-time-string)
9652         (todo-categories-align, todo-categories-archived-label)
9653         (todo-categories-category-label, todo-categories-diary-label)
9654         (todo-categories-done-label, todo-categories-number-separator)
9655         (todo-categories-todo-label, todo-categories-totals-label)
9656         (todo-category-completions-files, todo-completion-ignore-case)
9657         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9658         (todo-done-separator-string, todo-done-string)
9659         (todo-files-function, todo-filter-done-items, todo-filter-files)
9660         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9661         (todo-initial-category, todo-initial-file, todo-item-mark)
9662         (todo-legacy-date-time-regexp, todo-mode-line-function)
9663         (todo-nondiary-marker, todo-number-prefix)
9664         (todo-print-buffer-function, todo-show-current-file)
9665         (todo-show-done-only, todo-show-first, todo-show-with-done)
9666         (todo-skip-archived-categories, todo-top-priorities-overrides)
9667         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9668         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9669         New defcustoms.
9670         (todo-category-done, todo-date-pattern, todo-date-string-start)
9671         (todo-diary-items-buffer, todo-done-string-start)
9672         (todo-filtered-items-buffer, todo-item-start)
9673         (todo-month-abbrev-array, todo-month-name-array)
9674         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9675         (todo-top-priorities-buffer): New defconsts.
9676         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9677         (todo-categories-with-marks, todo-category-string-face)
9678         (todo-comment-face, todo-comment-string, todo-current-todo-file)
9679         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9680         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9681         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9682         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9683         (todo-font-lock-keywords, todo-global-current-todo-file)
9684         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9685         (todo-insertion-commands-args)
9686         (todo-insertion-commands-args-genlist)
9687         (todo-insertion-commands-names, todo-insertion-map)
9688         (todo-key-bindings-t, todo-key-bindings-t+a)
9689         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9690         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9691         (todo-nondiary-face, todo-print-buffer, todo-time-face)
9692         (todo-visited): New variables.
9694 2013-06-21  Glenn Morris  <rgm@gnu.org>
9696         * play/cookie1.el (cookie-apropos): Add optional display argument.
9697         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9698         (psychoanalyze-pinhead): Use cookie-doctor.
9700 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
9702         * emacs-lisp/package.el (tar-get-file-descriptor)
9703         (tar--extract): Declare.
9705 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
9707         Extend flymake's warning predicate to be a function (bug#14217).
9708         * progmodes/flymake.el (flymake-warning-predicate): New.
9709         (flymake-parse-line): Use it.
9710         (flymake-warning-re): Make obsolete alias to
9711         `flymake-warning-predicate'.
9713 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9715         * emacs-lisp/package.el (package-alist): Include obsolete packages.
9716         (package-obsolete-list): Remove.
9717         (package-activate): Remove min-version argument.  Add `force' argument.
9718         Adjust to new package-alist format.
9719         (package-mark-obsolete): Remove.
9720         (package-unpack): Force reload of the package's autoloads.
9721         (package-installed-p): Check builtins if the installed package is not
9722         recent enough.
9723         (package-initialize): Don't reset package-obsolete-list.
9724         Don't specify which package version to activate.
9725         (package-process-define-package, describe-package-1)
9726         (package-menu--generate): Adjust to new package-alist format.
9728 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
9730         * allout-widgets.el (allout-widgets-mode-off)
9731         (allout-widgets-mode-on, allout-widgets-pre-command-business)
9732         (allout-widgets-post-command-business)
9733         (allout-widgets-after-copy-or-kill-function)
9734         (allout-widgets-after-undo-function, allout-test-range-overlaps)
9735         (allout-decorate-item-and-context)
9736         (allout-graphics-modification-handler): Fix typos in docstrings.
9737         (allout-get-or-create-parent-widget): Use `looking-at-p'.
9739         * cmuscheme.el (scheme-start-file): Doc fix.
9740         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9741         (scheme-input-filter): Use `string-match-p'.
9743         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9745         * dired-x.el: Use Dired consistently in docstrings.
9747         * dired.el: Use Dired consistently in docstrings.
9748         (dired-readin, dired-mode): Use `setq-local'.
9749         (dired-switches-alist): Make defvar-local.
9750         (dired-buffers-for-dir): Use `zerop'.
9751         (dired-safe-switches-p, dired-switches-escape-p)
9752         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9753         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9754         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
9755         (dired-goto-next-nontrivial-file): Use `string-match-p'.
9756         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9757         (dired-toggle-marks, dired-mark-files-containing-regexp)
9758         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9759         (dired-flag-auto-save-files, dired-flag-backup-files):
9760         Use `looking-at-p'.
9761         (dired-mark-files-regexp, dired-build-subdir-alist):
9762         Use `string-match-p', `looking-at-p'.
9764         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9765         (direct-print-region-helper): Use `string-match-p'.
9767 2013-06-21  Leo Liu  <sdl.web@gmail.com>
9769         * comint.el (comint-redirect-results-list-from-process):
9770         Fix infinite loop.
9772 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9774         * net/eww.el (eww-update-header-line-format): Quote % characters.
9776 2013-06-21  Glenn Morris  <rgm@gnu.org>
9778         * play/cookie1.el (cookie): New custom group.
9779         (cookie-file): New option.
9780         (cookie-check-file): New function.
9781         (cookie): Make it interactive.  Make start and end messages optional.
9782         Interactively, display the result.  Default to cookie-file.
9783         (cookie-insert): Default to cookie-file.
9784         (cookie-snarf): Make start and end messages optional.
9785         Default to cookie-file.  Use with-temp-buffer.
9786         (cookie-read): Rename from read-cookie.
9787         Make start and end messages optional.  Default to cookie-file.
9788         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
9789         Do not autoload it.
9790         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9791         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9793 2013-06-21  Leo Liu  <sdl.web@gmail.com>
9795         * progmodes/octave.el (octave-mode): Backward compatibility fix.
9797 2013-06-21  Glenn Morris  <rgm@gnu.org>
9799         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9801 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9802             Daniel Hackney  <dan@haxney.org>
9804         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9805         Consolidate the single-file vs tarball code.
9806         (package-desc-suffix): New function.
9807         (package-desc-full-name): Don't bother inlining it.
9808         (package-load-descriptor): Return the new package-desc.
9809         (package-mark-obsolete): Remove unused arg `package'.
9810         (package-unpack): Make it work for single files as well.
9811         Make it update package-alist.
9812         (package--make-autoloads-and-stuff): Rename from
9813         package--make-autoloads-and-compile.  Don't compile any more.
9814         (package--compile): New function.
9815         (package-generate-description-file): New function, extracted from
9816         package-unpack-single.
9817         (package-unpack-single): Remove.
9818         (package--with-work-buffer): Add indentation and debugging info.
9819         (package-download-single): Remove.
9820         (package-install-from-archive): Rename from package-download-tar, make
9821         it take a pkg-desc, and make it work for single files as well.
9822         (package-download-transaction): Simplify.
9823         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
9824         external tar program.
9825         (package-install-from-buffer): Remove `pkg-desc' argument.
9826         Use package-tar-file-info for tar-mode buffers.
9827         (package-install-file): Simplify accordingly.
9828         (package-archive-base): Change to take a pkg-desc.
9829         * tar-mode.el (tar--check-descriptor): New function, extracted from
9830         tar-get-descriptor.
9831         (tar-get-descriptor): Use it.
9832         (tar-get-file-descriptor): New function.
9833         (tar--extract): New function, extracted from tar-extract.
9834         (tar--extract): Use it.
9835         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9836         case the summary uses non-ascii.  Adjust to new calling convention of
9837         package-tar-file-info.
9839 2013-06-21  Leo Liu  <sdl.web@gmail.com>
9841         * comint.el (comint-redirect-results-list-from-process):
9842         Fix random delay.  (Bug#14681)
9844 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
9846         * profiler.el (profiler-format-number): Use log, not log10.
9848 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
9850         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9852 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9854         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9855         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9856         yet available.
9857         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9858         (AUTOGENEL): ... here.
9859         * emacs-lisp/cl-macs.el (cl--sublis): New function.
9860         (cl--defsubst-expand): Use it.
9862 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
9864         * subr.el (log10): Move here from C code, and declare as obsolete.
9865         All uses of (log10 X) replaced with (log X 10).
9867 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
9869         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9870         Declare with `defvar-local'.
9871         (tabulated-list-use-header-line, tabulated-list-entries)
9872         (tabulated-list-padding, tabulated-list-printer)
9873         (tabulated-list-sort-key): Declare with `defvar-local'.
9874         (tabulated-list-init-header, tabulated-list-print-fake-header):
9875         Use `setq-local'.
9877 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
9879         * arc-mode.el (archive-mode): Add `archive-write-file' to
9880         `write-contents-functions' also for remote files.  (Bug#14652)
9882 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
9884         * cus-edit.el (custom-commands): Fix typos.
9885         (custom-display): Fix tooltip text.
9886         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9887         Fix typos in docstrings.
9888         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9889         (custom-unlispify-menu-entry, custom-magic-value-create)
9890         (custom-add-see-also, custom-group-value-create): Use ?\s.
9891         (custom-guess-type, customize-apropos, editable-field)
9892         (custom-face-value-create): Use `string-match-p'.
9893         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9895         * custom.el (custom-load-symbol): Use `string-match-p'.
9897         * ansi-color.el: Convert to lexical binding.
9898         (ansi-colors): Fix URL.
9899         (ansi-color-context, ansi-color-context-region): Use defvar-local.
9900         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9901         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9903 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9905         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9907         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9909 2013-06-19  Tom Tromey  <tromey@redhat.com>
9911         * net/eww.el (eww-top-url): Remove.
9912         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9913         (eww-render): Set new variables.  Don't set eww-top-url.
9914         (eww-handle-link): Handle "prev", "home", and "contents".
9915         Downcase the rel text.
9916         (eww-top-url): Choose best top URL.
9918 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9920         * net/eww.el: Rewrite to implement form elements "by hand" instead of
9921         relying in widget.el.  Using widget.el leads to too many
9922         user interface inconsistencies.
9923         (eww-self-insert): Implement entering commands in text fields.
9924         (eww-process-text-input): New function to make text input field editing
9925         work.
9926         (eww-submit): Rewrite to use the new-style form methods.
9927         (eww-select-display): Display the correct selected item.
9928         (eww-change-select): Implement changing the select value.
9929         (eww-toggle-checkbox): Implement radio/checkboxes.
9930         (eww-update-field): Fix compilation error.
9931         (eww-tag-textarea): Implement <textarea>.
9933         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9934         we don't shadow mode-specific bindings.
9936         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9937         nothing to push.
9939         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9941 2013-06-19  Glenn Morris  <rgm@gnu.org>
9943         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9945 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
9947         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9948         not needed.
9950         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9952 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9954         * net/browse-url.el (browse-url-browser-function):
9955         `eww-browse-url' has the right calling signature, `eww' does not.
9957 2013-06-19  Glenn Morris  <rgm@gnu.org>
9959         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9960         Only eval autoloaded macros.
9961         (byte-compile-autoload): Only give the macro warning for macros.
9963         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9964         (ps-underlined-faces): Declare.
9966         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9967         (speedbar-add-supported-extension): Declare.
9969         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9970         Don't include a date stamp in the header of the generated file;
9971         it leads to needless differences between output files.
9973 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
9975         * net/secrets.el (secrets-struct-secret-content-type):
9976         Replace check of introspection data by a test call of "CreateItem".
9977         Some servers do not offer introspection.
9979 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9981         * electric.el (electric-pair-mode): Improve interaction with
9982         electric-layout-mode.
9983         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9984         (electric-pair-syntax): Use text-mode-syntax-table in comments
9985         and strings.
9986         (electric-pair--insert): New function.
9987         (electric-pair-post-self-insert-function): Use it and
9988         electric--after-char-pos.
9990 2013-06-19  Leo Liu  <sdl.web@gmail.com>
9992         * progmodes/octave.el (octave-help): Fix regexp.
9994 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9996         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9997         (shr-table-horizontal-line): Allow nil as a value, and change the
9998         default.
9999         (shr-insert-table-ruler): Respect the nil value.
10001 2013-06-18  Tom Tromey  <tromey@barimba>
10003         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10004         New defvars.
10005         (eww-open-file): New defun.
10006         (eww-render): Initialize new variables.
10007         (eww-display-html): Handle "link" and "a".
10008         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10009         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
10010         (eww-back-url): Rename from eww-previous-url.
10011         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10012         New defuns.
10014 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
10016         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10017         Distinguish ternary operator tokens from slash symbol and slash
10018         char literal.
10020 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
10022         Convert symbol prettification into minor mode and global minor mode.
10024         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10025         `prog-prettify-symbols', and make a local defvar instead of defcustom.
10026         (prettify-symbols--keywords): Rename from
10027         `prog-prettify-symbols-alist' and make a local defvar.
10028         (prettify-symbols--compose-symbol): Rename from
10029         `prog--prettify-font-lock-compose-symbol'.
10030         (prettify-symbols--make-keywords): Rename from
10031         `prog-prettify-font-lock-symbols-keywords' and simplify.
10032         (prog-prettify-install): Remove.
10033         (prettify-symbols-mode): New minor mode, based on
10034         `prog-prettify-install'.
10035         (turn-on-prettify-symbols-mode): New function.
10036         (global-prettify-symbols-mode): New globalized minor mode.
10038         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10039         * progmodes/cfengine.el (cfengine3-mode):
10040         * progmodes/perl-mode.el (perl-mode): Don't call
10041         `prog-prettify-install'; set `prettify-symbols-alist' instead.
10043 2013-06-18  Juri Linkov  <juri@jurta.org>
10045         * files-x.el (modify-file-local-variable-message): New function.
10046         (modify-file-local-variable)
10047         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10048         and call `modify-file-local-variable-message' when it's non-nil.
10049         (add-file-local-variable, delete-file-local-variable)
10050         (add-file-local-variable-prop-line)
10051         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10052         and use it.  (Bug#9820)
10054 2013-06-18  Juri Linkov  <juri@jurta.org>
10056         * emulation/vi.el (vi-shell-op):
10057         * emulation/vip.el (vip-execute-com, ex-command):
10058         * emulation/viper-cmd.el (viper-exec-bang):
10059         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10060         the call of `shell-command-on-region'.  (Bug#14637)
10062         * simple.el (shell-command-on-region): Doc fix.
10064 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10066         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10067         (bug#14633).
10069 2013-06-18  Glenn Morris  <rgm@gnu.org>
10071         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10073         * newcomment.el (comment-search-forward, comment-search-backward):
10074         Doc fix.  (Bug#14376)
10076 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
10078         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10079         (buffer-face-mode-invoke): Doc fix.
10081 2013-06-18  Matthias Meulien  <orontee@gmail.com>
10083         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10084         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10086 2013-06-18  Glenn Morris  <rgm@gnu.org>
10088         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10089         Replace obsolete function generic-make-keywords with its expansion.
10091         * progmodes/python.el (ffap-alist): Declare.
10093         * textmodes/reftex.el (bibtex-mode-map): Declare.
10095 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10097         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10098         (package-unpack, package-unpack-single): Return the pkg-dir.
10099         (package-download-transaction): Use it to update package-alist.
10101 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10103         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10104         possible choice.
10106 2013-06-17  Juri Linkov  <juri@jurta.org>
10108         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10110 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
10112         * emacs-lisp/package.el (package-load-descriptor):
10113         Remove `with-syntax-table' call, `read' doesn't need it.
10114         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10116 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
10118         * startup.el (command-line): Expand package name returned by
10119         `package--description-file' (bug#14639).
10121 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
10123         * emacs-lisp/package.el (package-load-descriptor): Do not call
10124         `emacs-lisp-mode', just use its syntax table.
10126 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
10128         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10129         `font-lock-extra-managed-props' if any prettifying keyword is added.
10130         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10131         (prog-mode): Use `setq-local'.
10133 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10135         * international/characters.el (standard-case-table): Set syntax of ?»
10136         and ?« to punctuation.
10138 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
10140         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10141         Save relevant match data before calling `syntax-ppss' (bug#14595).
10143 2013-06-15  Juri Linkov  <juri@jurta.org>
10145         * files-x.el (modify-file-local-variable-prop-line): Add local
10146         variables to the end of the existing comment on the first line.
10147         Use `file-auto-mode-skip' to skip interpreter magic line,
10148         and also skip XML declaration.
10150 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10152         * startup.el (package--builtin-versions): New var.
10153         (package-subdirectory-regexp): Remove.
10154         (package--description-file): Hard code its value instead.
10156         * emacs-lisp/package.el: Don't activate packages older than builtin.
10157         (package-obsolete-list): Rename from package-obsolete-alist, and make
10158         it into a simple list of package-desc.
10159         (package-strip-version): Remove.
10160         (package-built-in-p): Use package--builtin-versions.
10161         (package-mark-obsolete): Simplify.
10162         (package-process-define-package): Mark it obsolete if older than the
10163         builtin version.
10164         (package-handle-response): Use line-end-position.
10165         (package-read-archive-contents, package--download-one-archive):
10166         Simplify.
10167         (package--add-to-archive-contents): Skip if older than the builtin or
10168         installed version.
10169         (package-menu-describe-package): Fix last change.
10170         (package-list-unversioned): New var.
10171         (package-menu--generate): Use it.
10173         * emacs-lisp/autoload.el: Manage package--builtin-versions.
10174         (autoload--insert-text, autoload--insert-cookie-text): New functions.
10175         (autoload-builtin-package-versions): New variable.
10176         (autoload-generate-file-autoloads): Use them.
10177         Remove the list of autoloaded functions/macros from the
10178         (autoload...) comments.
10180         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10182 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
10184         * simple.el (line-move-partial): Don't jump to the next screen
10185         line as soon as it becomes visible.  Instead, continue enlarging
10186         the vscroll until the portion of a tall screen line that's left on
10187         display is about the height of the frame's default font.
10188         (Bug#14567)
10190 2013-06-15  Glenn Morris  <rgm@gnu.org>
10192         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10193         compilation-error-regexp-alist void, or local while let-bound.
10195         * progmodes/make-mode.el (makefile-mode-syntax-table):
10196         Treat "=" as punctuation.  (Bug#14614)
10198 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
10200         * help-fns.el (describe-variable):
10201         Add extra line for permanent-local variables.
10203 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
10205         * progmodes/scheme.el (scheme-font-lock-keywords-2):
10206         Add export, import, library.  (Bug#9164)
10207         (library): Set indent function.
10209 2013-06-14  Glenn Morris  <rgm@gnu.org>
10211         * term/xterm.el (xterm--query):
10212         Stop after first matching handler.  (Bug#14615)
10214 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
10216         Add support for dired in saveplace.
10217         * dired.el (dired-initial-position-hook): New variable.
10218         (dired-initial-position): Call hook to place cursor position.
10219         * saveplace.el (save-place-to-alist): Add dired position.
10220         (save-place-dired-hook): New function.
10222 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10224         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10225         through a symbol rather than letrec.
10227         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
10228         (package-desc): Add `dir' field.
10229         (package-desc-full-name): New function.
10230         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
10231         (package-maybe-load-descriptor): Remove.
10232         (package-load-all-descriptors): Just call package-load-descriptor.
10233         (package--disabled-p): New function.
10234         (package-desc-vers, package-desc-doc): Remove aliases.
10235         (package--dir): Remove function.
10236         (package-activate): Check if a package is disabled.
10237         (package-process-define-package): New function, extracted from
10238         define-package.
10239         (define-package): Turn into a place holder.
10240         (package-unpack-single, package-tar-file-info):
10241         Use package--description-file.
10242         (package-compute-transaction): Use package--disabled-p.
10243         (package-download-transaction): Don't call
10244         package-maybe-load-descriptor since they're all loaded anyway.
10245         (package-install): Change argument to be a pkg-desc.
10246         (package-delete): Use a single pkg-desc argument.
10247         (describe-package-1): Use package-desc-dir instead of package--dir.
10248         Use package-desc property instead of package-symbol.
10249         (package-install-button-action): Adjust accordingly.
10250         (package--push): Rewrite.
10251         (package-menu--print-info): Adjust accordingly.  Change the ID format
10252         to be a pkg-desc.
10253         (package-menu-describe-package, package-menu-get-status)
10254         (package-menu--find-upgrades, package-menu-mark-upgrades)
10255         (package-menu-execute, package-menu--name-predicate):
10256         Adjust accordingly.
10257         * startup.el (package--description-file): New function.
10258         (command-line): Use it.
10259         * emacs-lisp/package-x.el (package-upload-buffer-internal):
10260         Use package-desc-version.
10262         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10263         (byte-compile-preprocess): Use it.
10264         (byte-compile-file-form-defalias): Try a bit harder to use macros we
10265         can't quite recognize.
10266         (byte-compile-add-to-list): Remove.
10267         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10268         (cconv-closure-convert): Add assertion.
10270         * emacs-lisp/map-ynp.el: Use lexical-binding.
10271         (map-y-or-n-p): Remove unused vars `tail' and `object'.
10272         Factor out some repeated code.
10274 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10276         * subr.el (with-eval-after-load): New macro.
10277         (eval-after-load): Allow form to be a function.
10278         take advantage of lexical-binding.
10279         (do-after-load-evaluation): Use dolist and adjust to new format.
10280         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10282 2013-06-13  Juri Linkov  <juri@jurta.org>
10284         * replace.el (perform-replace): Display "symbol " and other search
10285         modes from `isearch-message-prefix' in the *Help* buffer.
10287         * isearch.el (isearch-query-replace): Add " symbol" and other
10288         possible search modes from `isearch-message-prefix' to the prompt.
10289         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10290         when reading a regexp to collect.
10292 2013-06-13  Juri Linkov  <juri@jurta.org>
10294         * isearch.el (word-search-regexp): Match whitespace if the search
10295         string begins or ends in whitespace.  The LAX arg is applied to
10296         both ends of the search string.  Use `regexp-quote' and explicit
10297         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
10298         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10299         boundaries are replaced with symbol boundaries, and characters
10300         between symbols match non-word non-symbol syntax.  (Bug#14602)
10302 2013-06-13  Juri Linkov  <juri@jurta.org>
10304         * isearch.el (isearch-del-char): Don't exceed the length of
10305         `isearch-string' by the prefix arg.  (Bug#14563)
10307 2013-06-13  Juri Linkov  <juri@jurta.org>
10309         * isearch.el (isearch-yank-word, isearch-yank-line)
10310         (isearch-char-by-name, isearch-quote-char)
10311         (isearch-printing-char, isearch-process-search-char):
10312         Add optional count prefix arg.  (Bug#14563)
10314         * international/isearch-x.el
10315         (isearch-process-search-multibyte-characters):
10316         Add optional count prefix arg.
10318 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10320         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10321         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10322         lexical-binding.
10324 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
10326         * subr.el (set-temporary-overlay-map): Add on-exit argument.
10328 2013-06-13  Glenn Morris  <rgm@gnu.org>
10330         * startup.el (tty-handle-args):
10331         Don't just discard "--" and anything after.  (Bug#14608)
10333         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10335 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
10337         Implement changes in Secret Service API.  Make it backward compatible.
10338         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10339         (secrets-create-item): Use it.  Prefix properties with interface.
10341 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
10343         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
10344         (term-emulate-terminal): Respect term-suppress-hard-newline.
10346 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
10348         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10349         Only remove a `thumb-file' overlay.  (Bug#14548)
10351 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
10353         * mail/reporter.el (reporter-submit-bug-report):
10354         Handle missing package-name.  (Bug#14600)
10356 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10358         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10359         (reftex-citation-prompt, reftex-default-bibliography)
10360         (reftex-bib-or-thebib, reftex-get-bibfile-list)
10361         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10362         (reftex-bib-sort-author, reftex-bib-sort-year)
10363         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10364         (reftex-extract-bib-entries-from-thebibliography)
10365         (reftex-get-bibkey-default, reftex-get-bib-names)
10366         (reftex-parse-bibtex-entry, reftex-get-bib-field)
10367         (reftex-format-bib-entry, reftex-parse-bibitem)
10368         (reftex-format-bibitem, reftex-do-citation)
10369         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10370         (reftex-restrict-bib-matches, reftex-extract-bib-file)
10371         (reftex-insert-bib-matches, reftex-format-citation)
10372         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10373         (reftex-create-bibtex-file): Add docstrings, mostly by converting
10374         existing comments into docstrings.
10376 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
10378         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10380 2013-06-12  Andreas Schwab  <schwab@suse.de>
10382         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10383         for auto-save files.
10385 2013-06-12  Glenn Morris  <rgm@gnu.org>
10387         * ido.el (ido-delete-ignored-files): Remove.
10388         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10389         Go back to calling ido-ignore-item-p directly.
10391 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
10393         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10395         * ido.el (ido-delete-ignored-files): New function,
10396         split from ido-make-file-list-1.
10397         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
10398         (ido-make-file-list-1): Use ido-delete-ignored-files.
10400 2013-06-12  Leo Liu  <sdl.web@gmail.com>
10402         * progmodes/octave.el (inferior-octave-startup)
10403         (inferior-octave-completion-table)
10404         (inferior-octave-track-window-width-change)
10405         (octave-eldoc-function-signatures, octave-help)
10406         (octave-find-definition): Use single quoted strings.
10407         (inferior-octave-startup-args): Change default value.
10408         (inferior-octave-startup): Do not hard code "-i" and
10409         "--no-line-editing".
10410         (inferior-octave-resync-dirs): Add optional arg NOERROR.
10411         (inferior-octave-directory-tracker): Use it.
10412         (octave-goto-function-definition): Robustify.
10413         (octave-help): Support highlighting operators in 'See also'.
10414         (octave-find-definition): Find subfunctions only in Octave mode.
10416 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10418         * help-fns.el (help-fns--compiler-macro): If the handler function is
10419         named, then put a link to it.
10420         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10421         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10422         (cl-typep): Use it.
10423         (cl-eval-when): Simplify debug spec.
10424         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
10425         compiler-macro function instead of setting `compiler-macro-file'.
10427 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
10429         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10430         * vc/vc-hooks.el (vc-stay-local): Doc fix.
10432 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10433             Daniel Hackney  <dan@haxney.org>
10435         First part of Daniel Hackney's patch to package.el.
10436         * emacs-lisp/package.el: Use defstruct.
10437         (package-desc): New, main struct.
10438         (package--bi-desc, package--ac-desc): New structs, used to describe the
10439         format in external files.
10440         (package-desc-vers): Replace with package-desc-version accessor.
10441         (package-desc-doc): Replace with package-desc-summary accessor.
10442         (package-activate-1): Remove `package' arg since the pkg-vec now
10443         includes the name.
10444         (define-package): Use package-desc-from-define.
10445         (package-unpack-single): Change file-name arg to be a symbol.
10446         (package--add-to-archive-contents): Use package-desc-create and new
10447         accessor functions to package--ac-desc.
10448         (package-buffer-info, package-tar-file-info): Return a package-desc.
10449         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
10450         arg to be a package-desc.
10451         (package-install-file): Adjust accordingly.  Use \' to match EOS.
10452         (package--from-builtin): New function.
10453         (describe-package-1, package-menu--generate): Use it.
10454         (package--make-autoloads-and-compile): Change name arg to be a symbol.
10455         (package-generate-autoloads): Idem and return the name of the file.
10456         * emacs-lisp/package-x.el (package-upload-buffer-internal):
10457         Change pkg-info arg to be a package-desc.
10458         Use package-make-ac-desc.
10459         (package-upload-file): Use \' to match EOS.
10460         * finder.el (finder-compile-keywords): Use package-make-builtin.
10462 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10464         * vc/vc.el (vc-deduce-fileset): Change error message.
10465         (vc-read-backend): New function.
10466         (vc-next-action): Use it.
10468         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10470         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10471         (prolog-font-lock-keywords): Use regexp-opt instead.
10472         Don't manually highlight strings.
10473         (prolog-mode-variables): Simplify comment-start-skip.
10474         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
10476         * emacs-lisp/generic.el (generic--normalise-comments)
10477         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10478         (generic-mode-set-comments): Use them.
10479         (generic-bracket-support): Use setq-local.
10480         (generic-make-keywords-list): Declare obsolete.
10482 2013-06-11  Glenn Morris  <rgm@gnu.org>
10484         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10485         Prettify after setting font-lock-defaults.  (Bug#14574)
10487 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
10489         * replace.el (query-replace, occur-read-regexp-defaults-function)
10490         (replace-search):
10491         * subr.el (declare-function, number-sequence, local-set-key)
10492         (substitute-key-definition, locate-user-emacs-file)
10493         (with-silent-modifications, split-string, eval-after-load):
10494         Fix typos, remove unneeded backslashes and reflow some docstrings.
10496 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10498         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10499         default for Elisp files.
10501 2013-06-11  Glenn Morris  <rgm@gnu.org>
10503         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10504         although define-derived-mode was doing this anyway.  (Bug#14583)
10506 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
10508         * allout.el (allout-encryption-plaintext-sanitization-regexps):
10509         Fix make-variable-buffer-local call to refer to the correct variable.
10511 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
10513         * eshell/em-term.el (eshell-visual-commands)
10514         (eshell-visual-subcommands, eshell-visual-options):
10515         Add summary line to docstrings.  Add cross-references.
10517 2013-06-10  Glenn Morris  <rgm@gnu.org>
10519         * epa.el (epa-read-file-name): New function.  (Bug#14510)
10520         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
10522 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
10524         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10525         output redirection to be ignored with visual commands.
10527 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
10529         * eshell/em-term.el (eshell-visual-command-p): New function.
10530         (eshell-term-initialize): Move long lambda to separate function
10531         eshell-visual-command-p.
10532         * eshell/em-dirs.el (eshell-dirs-initialise):
10533         * eshell/em-script.el (eshell-script-initialize):
10534         Add missing #' to lambda.
10536 2013-06-08  Leo Liu  <sdl.web@gmail.com>
10538         * progmodes/octave.el (octave-add-log-current-defun): New function.
10539         (octave-mode): Set add-log-current-defun-function.
10540         (octave-goto-function-definition): Do not move point if not found.
10541         (octave-find-definition): Enhance to try subfunctions first.
10543 2013-06-08  Glenn Morris  <rgm@gnu.org>
10545         * emacs-lisp/bytecomp.el (byte-compile-char-before)
10546         (byte-compile-backward-char, byte-compile-backward-word):
10547         Improve previous change, to handle non-explicit nil.
10549 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10551         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10552         (smie--opener/closer-at-point): New function.
10553         (smie--matching-block-data): Use it.  Don't match from right after an
10554         opener or right before a closer.  Obey smie-blink-matching-inners.
10555         Don't signal a mismatch for repeated inners like "switch..case..case".
10557 2013-06-07  Leo Liu  <sdl.web@gmail.com>
10559         * progmodes/octave.el (octave-mode): Set comment-use-global-state
10560         to t.  (Bug#14303)
10561         (octave-function-header-regexp): Fix.  (Bug#14570)
10562         (octave-help-mode-finish-hook, octave-help-mode-finish):
10563         Remove.  Just use temp-buffer-show-hook.
10565         * newcomment.el (comment-search-backward): Revert last change.
10566         (Bug#14434)
10568         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10570 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
10572         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10573         through xargs, to avoid failure due to MS-Windows limitations on
10574         command-line length.
10576 2013-06-06  Glenn Morris  <rgm@gnu.org>
10578         * font-lock.el (lisp-font-lock-keywords-2):
10579         Treat user-error like error.
10581         * emacs-lisp/bytecomp.el (byte-compile-char-before)
10582         (byte-compile-backward-char, byte-compile-backward-word):
10583         Handle explicit nil arguments.  (Bug#14565)
10585 2013-06-05  Alan Mackenzie  <acm@muc.de>
10587         * isearch.el (isearch-allow-prefix): New user option.
10588         (isearch-other-meta-char): Don't exit isearch when a prefix
10589         argument is typed whilst `isearch-allow-prefix' is non-nil.
10590         (Bug#9706)
10592 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10594         * autorevert.el (auto-revert-notify-handler): Use memq.
10595         Hide assertion failure.
10597         * skeleton.el: Use cl-lib.
10598         (skeleton-further-elements): Use defvar-local.
10599         (skeleton-insert): Use cl-progv.
10601 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
10603         * progmodes/prog-mode.el (prog-prettify-symbols)
10604         (prog-prettify-install): Update docstrings.
10606 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10608         * simple.el: Move all the prog-mode code to prog-mode.el.
10609         * progmodes/prog-mode.el: New file.
10610         * loadup.el: Add prog-mode.el.
10612 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
10614         * simple.el (prog-prettify-symbols): Add version.
10615         (prog-prettify-install): Add convenience function to prettify symbols.
10617         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10618         (perl--augmented-font-lock-keywords-1)
10619         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10620         variables and use it.
10622         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10623         (cfengine3-mode): Remove unneeded variable and use it.
10625         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10626         (lisp--augmented-font-lock-keywords-1)
10627         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10628         Remove unneeded variables and use it.
10630 2013-06-05  João Távora  <joaotavora@gmail.com>
10632         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10633         to point when opening the connection.  (Bug#14380)
10635 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10637         * subr.el (load-history-regexp, load-history-filename-element)
10638         (eval-after-load, after-load-functions, do-after-load-evaluation)
10639         (eval-next-after-load, display-delayed-warnings)
10640         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10641         definition of save-match-data.
10642         (overriding-local-map): Remove accidental obsolescence declaration.
10644         * emacs-lisp/edebug.el (edebug-result): Move before first use.
10646 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
10648         Generalize symbol prettify support to prog-mode and implement it
10649         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10650         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10651         (prog--prettify-font-lock-compose-symbol)
10652         (prog-prettify-font-lock-symbols-keywords): New variables and
10653         functions to support symbol prettification.
10654         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10655         (lisp--augmented-font-lock-keywords-1)
10656         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10657         (lisp--prettify-symbols-alist): Implement prettify of lambda.
10658         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10659         (cfengine3--prettify-symbols-alist, cfengine3-mode):
10660         Implement prettify of -> => :: strings.
10661         * progmodes/perl-mode.el (perl-prettify-symbols)
10662         (perl--font-lock-compose-symbol)
10663         (perl--font-lock-symbols-keywords): Move to prog-mode.
10664         (perl--prettify-symbols-alist): Prettify -> => :: strings.
10665         (perl-font-lock-keywords-1)
10666         (perl-font-lock-keywords-2): Remove explicit prettify support.
10667         (perl--augmented-font-lock-keywords)
10668         (perl--augmented-font-lock-keywords-1)
10669         (perl--augmented-font-lock-keywords-2, perl-mode):
10670         Implement prettify support.
10672 2013-06-05  Leo Liu  <sdl.web@gmail.com>
10674         Re-implement smie matching block highlight using
10675         show-paren-data-function.  (Bug#14395)
10676         * emacs-lisp/smie.el (smie-matching-block-highlight)
10677         (smie--highlight-matching-block-overlay)
10678         (smie--highlight-matching-block-lastpos)
10679         (smie-highlight-matching-block)
10680         (smie-highlight-matching-block-mode): Remove.
10681         (smie--matching-block-data-cache): New variable.
10682         (smie--matching-block-data): New function.
10683         (smie-setup): Use smie--matching-block-data for
10684         show-paren-data-function.
10686         * progmodes/octave.el (octave-mode-menu): Fix.
10687         (octave-find-definition): Skip garbage lines.
10689 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10691         Fix compilation error with simultaneous dynamic+lexical scoping.
10692         Add warning when a defvar appears after the first let-binding.
10693         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10694         (byte-compile-close-variables): Initialize it.
10695         (byte-compile--declare-var): New function.
10696         (byte-compile-file-form-defvar)
10697         (byte-compile-file-form-define-abbrev-table)
10698         (byte-compile-file-form-custom-declare-variable): Use it.
10699         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
10700         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10701         (byte-compile-bind): Handle dynamic bindings that shadow
10702         lexical bindings.
10703         (byte-compile-unbind): Make arg non-optional.
10704         (byte-compile-let): Simplify.
10705         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10706         (cconv--analyse-function, cconv-analyse-form): Populate it.
10707         Protect byte-compile-bound-variables to limit the scope of defvars.
10708         (cconv-analyse-form): Add missing rule for (defvar <foo>).
10709         Remove unneeded rule for `declare'.
10711         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10712         so as to avoid depending on cl-adjoin at run-time.
10713         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10715         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10716         (macroexp--warn-and-return): Use it.
10718 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10720         * subr.el: Convert to lexical binding.
10721         (overriding-local-map): Make obsolete.
10722         (add-to-list): Doc fix.  Add compiler macro.
10723         (read-key): Swap values of local maps.
10725 2013-06-05  Leo Liu  <sdl.web@gmail.com>
10727         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10729 2013-06-04  Leo Liu  <sdl.web@gmail.com>
10731         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10732         (compilation-auto-jump): Suppress the "Mark set" message to give
10733         way to exit message.
10735 2013-06-04  Alan Mackenzie  <acm@muc.de>
10737         Remove faulty optimisation from indentation calculation.
10738         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10739         search limit based on 2000 characters back from indent-point.
10741 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
10743         * eshell/em-term.el (cl-lib): Require `cl-lib'.
10745 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10747         * emacs-lisp/lisp.el: Use lexical-binding.
10748         (lisp--local-variables-1, lisp--local-variables): New functions.
10749         (lisp--local-variables-completion-table): New var.
10750         (lisp-completion-at-point): Use it complete let-bound vars.
10752         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10753         eagerly (bug#14422).
10755 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
10757         * autorevert.el (auto-revert-notify-enabled)
10758         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10759         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10760         (auto-revert-notify-handler): Handle also gfilenotify.
10762         * subr.el (file-notify-handle-event): New defun.  Replacing ...
10763         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10764         Remove.
10766 2013-06-03  Juri Linkov  <juri@jurta.org>
10768         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10769         `M-s h .'.  (Bug#14427)
10771         * hi-lock.el (highlight-symbol-at-point): New alias for the new
10772         command `hi-lock-face-symbol-at-point'.
10773         (hi-lock-face-symbol-at-point): New command.
10774         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10775         (hi-lock-menu): Add `highlight-symbol-at-point'.
10776         (hi-lock-mode): Doc fix.
10778         * isearch.el (isearch-forward-symbol-at-point): New command.
10779         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10780         (isearch-highlight-regexp): Add a regexp which matches
10781         words/symbols for word/symbol mode.
10783         * subr.el (find-tag-default-bounds): New function with the body
10784         mostly moved from `find-tag-default'.
10785         (find-tag-default): Move most code to `find-tag-default-bounds',
10786         call it and apply `buffer-substring-no-properties' afterwards.
10788 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
10790         * eshell/em-term.el (eshell-term-initialize):
10791         Use `cl-intersection' rather than `intersection'.
10793 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
10795         * vc/log-view.el: Doc fix.
10796         (log-view-mode-map): Copy keymap from `special-mode-map'.
10798 2013-06-02  Eric Ludlam  <zappo@gnu.org>
10800         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10801         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10802         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10803         (eieio-unbound, eieio-default-superclass)
10804         (eieio--define-field-accessors, method-static, method-before)
10805         (method-primary, method-after, method-num-lists)
10806         (method-generic-before, method-generic-primary)
10807         (method-generic-after, method-num-slots)
10808         (eieio-specialized-key-to-generic-key)
10809         (eieio--check-type, class-v, class-p)
10810         (eieio-class-name, define-obsolete-function-alias)
10811         (eieio-class-parents-fast, eieio-class-children-fast)
10812         (same-class-fast-p, class-constructor, generic-p)
10813         (generic-primary-only-p, generic-primary-only-one-p)
10814         (class-option-assoc, class-option, eieio-object-p)
10815         (class-abstract-p, class-method-invocation-order)
10816         (eieio-defclass-autoload-map, eieio-defclass-autoload)
10817         (eieio-class-un-autoload, eieio-defclass)
10818         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10819         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10820         (eieio--defgeneric-init-form, eieio-defgeneric-form)
10821         (eieio-defgeneric-reset-generic-form)
10822         (eieio-defgeneric-form-primary-only)
10823         (eieio-defgeneric-reset-generic-form-primary-only)
10824         (eieio-defgeneric-form-primary-only-one)
10825         (eieio-defgeneric-reset-generic-form-primary-only-one)
10826         (eieio-unbind-method-implementations)
10827         (eieio--defmethod, eieio--typep)
10828         (eieio-perform-slot-validation, eieio-validate-slot-value)
10829         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10830         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10831         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10832         (eieio-slot-name-index, eieio-class-slot-name-index)
10833         (eieio-set-defaults, eieio-initarg-to-attribute)
10834         (eieio-attribute-to-initarg, eieio-c3-candidate)
10835         (eieio-c3-merge-lists, eieio-class-precedence-c3)
10836         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10837         (eieio-class-precedence-list, eieio-generic-call-methodname)
10838         (eieio-generic-call-arglst, eieio-generic-call-key)
10839         (eieio-generic-call-next-method-list)
10840         (eieio-pre-method-execution-functions, eieio-generic-call)
10841         (eieio-generic-call-primary-only, eieiomt-method-list)
10842         (eieiomt-optimizing-obarray, eieiomt-install)
10843         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10844         (eieio-generic-form, eieio-defmethod, make-obsolete)
10845         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10846         (defclass): Remove `eval-and-compile' from macro.
10847         (call-next-method, shared-initialize): Instead of using
10848         `scoped-class' variable, use new eieio--scoped-class, and
10849         eieio--with-scoped-class.
10850         (initialize-instance): Rename local variable 'scoped-class' to
10851         'this-class' to remove ambiguitity from old global.
10853         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
10854         eieio.el.
10855         (eieio--scoped-class-stack): New variable.
10856         (eieio--scoped-class): New fcn.
10857         (eieio--with-scoped-class): New scoping macro.
10858         (eieio-defclass): Use pushnew instead of add-to-list.
10859         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10860         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10861         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10862         `scoped-class' variable, use new eieio--scoped-class, and
10863         eieio--with-scoped-class.
10865         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10867 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
10869         * eshell/esh-ext.el (eshell-external-command): Pass args to
10870         `eshell-find-interpreter'.
10871         (eshell-find-interpreter): Add new second parameter ARGS.
10873         * eshell/em-script.el (eshell-script-initialize): Add second arg
10874         to the function added as MATCH to `eshell-interpreter-alist'.
10876         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10877         the function added as MATCH to `eshell-interpreter-alist'.
10879         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10880         (eshell-visual-options): New defcustom.
10881         (eshell-escape-control-x): Adapt docstring.
10882         (eshell-term-initialize): Test `eshell-visual-subcommands' and
10883         `eshell-visual-options' in addition to `eshell-visual-commands'.
10884         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10886 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10888         * progmodes/python.el (python-indent-block-enders): Add break,
10889         continue and raise keywords.
10891 2013-06-01  Glenn Morris  <rgm@gnu.org>
10893         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10895         Plain (f)boundp silences compilation warnings since Emacs 22.1.
10896         * progmodes/cc-cmds.el (delete-forward-p):
10897         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10898         * progmodes/cc-engine.el (buffer-syntactic-context):
10899         * progmodes/cc-fonts.el (face-property-instance):
10900         * progmodes/cc-mode.el (set-keymap-parents):
10901         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10902         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10903         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10904         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10905         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10907         * progmodes/cc-vars.el (other): Emacs has this widget since
10908         at least 21.1, so don't (re)define it.
10910         * eshell/em-cmpl.el (eshell-cmpl-initialize):
10911         Replace the obsolete alias pcomplete-arg-quote-list.
10913 2013-06-01  Leo Liu  <sdl.web@gmail.com>
10915         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10916         punctuation syntax.
10917         (inferior-octave-minimal-columns)
10918         (inferior-octave-last-column-width): New variables.
10919         (inferior-octave-track-window-width-change): New function.
10920         (inferior-octave-mode): Adjust column width so that Octave output,
10921         for example from 'ls', can fit into the window nicely.
10923 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
10925         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10926         Highlight expansions inside regexp literals.
10928 2013-05-31  Glenn Morris  <rgm@gnu.org>
10930         * obsolete/sym-comp.el (symbol-complete):
10931         Replace obsolete completion-annotate-function.
10933         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10935 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
10937         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10938         New function, checks if point is inside a literal that allows
10939         expression expansion.
10940         (ruby-syntax-propertize-expansion): Use it.
10941         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10942         around the body.
10944 2013-05-30  Juri Linkov  <juri@jurta.org>
10946         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10947         to "\M-si".
10948         (isearch-invisible): New variable.
10949         (isearch-forward): Doc fix.
10950         (isearch-mode): Set `isearch-invisible'
10951         to the value of `search-invisible'.
10952         (isearch-toggle-case-fold): Doc fix.
10953         (isearch-toggle-invisible): New command.
10954         (isearch-query-replace): Let-bind `search-invisible'
10955         to the value of `isearch-invisible'.
10956         (isearch-search): Use `isearch-invisible' instead of
10957         `search-invisible'.  Let-bind `search-invisible'
10958         to the value of `isearch-invisible'.  (Bug#11378)
10960 2013-05-30  Juri Linkov  <juri@jurta.org>
10962         * replace.el (perform-replace): Avoid `isearch-range-invisible'
10963         call when `query-flag' is nil and `search-invisible' is non-nil.
10964         (Bug#11746)
10966 2013-05-30  Glenn Morris  <rgm@gnu.org>
10968         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10970         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10971         (cc-require): Suppress spurious "noruntime" warnings.
10972         (cc-require-when-compile): Use fboundp, for sake of compiler.
10974         * progmodes/cc-mode.el: Move load of cc-vars before that of
10975         cc-langs (which in turn loads cc-vars), to quieten compiler.
10977 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10979         * paren.el: Simplify the code.
10980         (show-paren-mode): Always start the timer.
10981         (show-paren--idle-timer): Rename from show-paren-idle-timer.
10982         (show-paren--overlay, show-paren--overlay-1): Rename from
10983         show-paren-overlay and show-paren-overlay-1, and initialize to an
10984         overlay rather than to nil.
10985         (show-paren-function): Misc cleanup and simplifications.
10987 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10989         * paren.el (show-paren-data-function): New hook.
10990         (show-paren--default): New function, extracted from show-paren-function.
10991         (show-paren-function): Use show-paren-data-function.
10993 2013-05-30  Glenn Morris  <rgm@gnu.org>
10995         * ielm.el (ielm-map, ielm-complete-symbol):
10996         Use completion-at-point rather than obsolete functions.
10997         (inferior-emacs-lisp-mode): Doc fix.
10998         Set completion-at-point-functions, rather than
10999         comint-dynamic-complete-functions.
11001         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11002         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11003         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11005         * image.el (image-animated-p): Tweak definition.
11007         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11008         (rlogin-process-connection-type): Tweak default.  Add set-after.
11009         (rlogin-host): Doc fix.
11010         (rlogin): Tweak prompt.
11011         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11013         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11014         * progmodes/tcl.el (inferior-tcl-mode-map):
11015         Use completion-at-point rather than obsolete alias.
11017         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11019         * minibuffer.el (read-file-name-completion-ignore-case):
11020         Move before completion--in-region, for eager macro expansion.
11022 2013-05-29  Juri Linkov  <juri@jurta.org>
11024         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11025         for total count of matching lines.  Add `global-matches' for total
11026         count of matches.  Rename `matches' to `lines' for count of
11027         matching lines.  Add `matches' for count of matches.
11028         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
11029         to `prev-line' for line number of prev match endpt.
11030         Increment `matches' for every match.  Print the number of
11031         matching lines in the header.
11032         (occur-context-lines): Rename `lines' to `curr-line'.
11033         Rename `prev-lines' to `prev-line'.  (Bug#14017)
11035 2013-05-29  Juri Linkov  <juri@jurta.org>
11037         * replace.el (perform-replace): Add `skip-read-only-count',
11038         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11039         Increment them for corresponding conditions and report the number
11040         of skipped occurrences in the final message.  (Bug#11746)
11041         (query-replace, query-replace-regexp, query-replace-regexp-eval)
11042         (replace-string, replace-regexp): Doc fix.
11044 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11046         * emacs-lisp/trace.el (trace--read-args): Provide a default.
11048         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11049         prog-mode-map (bug#14504).
11051 2013-05-29  Leo Liu  <sdl.web@gmail.com>
11053         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11054         (octave-help): Small simplification.
11056         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11057         off the highlight first.
11059 2013-05-29  Glenn Morris  <rgm@gnu.org>
11061         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11062         Handle idlwave-last-system-routine-info-cons-cell being nil.
11064         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11065         (idlwave-write-paths): Simplify via with-temp-buffer.
11067         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11068         * emulation/cua-rect.el: Also load cua-base at run time.
11070         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11071         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11072         (cperl-imenu-on-info): Require imenu.
11074 2013-05-28  Alan Mackenzie  <acm@muc.de>
11076         Handle "capitalised keywords" correctly.
11077         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11079 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
11081         * eshell/em-unix.el: Add -r option to cp.
11083 2013-05-28  Glenn Morris  <rgm@gnu.org>
11085         * vc/vc-arch.el (vc-exec-after): Declare.
11086         (vc-switches): Autoload.
11087         * vc/vc-bzr.el: No need to require vc when compiling.
11088         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11089         (vc-resynch-buffer, vc-dir-refresh): Declare.
11090         (vc-setup-buffer, vc-switches): Autoload.
11091         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11092         (vc-resynch-buffer): Declare.
11093         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11094         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11095         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11096         (grep-read-regexp, grep-read-files, grep-expand-template)
11097         (vc-dir-refresh): Declare.
11098         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11099         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11100         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11101         * vc/vc-mtn.el (vc-exec-after): Declare.
11102         (vc-switches): Autoload.
11103         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11104         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11105         (vc-file-tree-walk): Declare.
11106         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11107         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11108         (vc-tag-precondition, vc-rename-master): Autoload.
11109         * vc/vc-svn.el (vc-exec-after): Declare.
11110         (vc-switches, vc-setup-buffer): Autoload.
11111         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11112         Autoload.
11113         (vc-resynch-buffer): Declare.
11115         * obsolete/fast-lock.el (byte-compile-warnings):
11116         Don't warn about obsolete features in this obsolete file.
11118         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11119         Move definition before use.
11121         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11122         (dun-unix-verbs): Remove dun-zippy.
11123         (dun-zippy): Remove function.
11125         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11127 2013-05-27  Juri Linkov  <juri@jurta.org>
11129         * replace.el (replace-search): New function with code moved out
11130         from `perform-replace'.
11131         (replace-highlight, replace-dehighlight): Move function definitions
11132         up closer to `replace-search'.  (Bug#11746)
11134 2013-05-27  Juri Linkov  <juri@jurta.org>
11136         * replace.el (perform-replace): Ignore invisible matches.
11137         In addition to checking `query-replace-skip-read-only', also
11138         filter out matches by calling `run-hook-with-args-until-failure'
11139         on `isearch-filter-predicates', and also check `search-invisible'
11140         for t or call `isearch-range-invisible'.
11141         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
11143 2013-05-27  Juri Linkov  <juri@jurta.org>
11145         * isearch.el (isearch-filter-predicates): Rename from
11146         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
11147         (isearch-message-prefix): Display text from the property
11148         `isearch-message-prefix' of the currently active filters.
11149         (isearch-search): Don't compare `isearch-filter-predicate' with
11150         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
11151         on `isearch-filter-predicates'.  Also check `search-invisible' for t
11152         or call `isearch-range-invisible'.
11153         (isearch-filter-visible): Make obsolete.
11154         (isearch-lazy-highlight-search):
11155         Call `run-hook-with-args-until-failure' on
11156         `isearch-filter-predicates' and use `isearch-range-invisible'.
11158         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11159         `isearch-filter-predicates' instead of `funcall'ing
11160         `isearch-filter-predicate'.
11161         (Info-mode): Set `Info-isearch-filter' to
11162         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11164         * dired-aux.el (dired-isearch-filter-predicate-orig):
11165         Remove variable.
11166         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11167         (dired-isearch-filenames-end): Add and remove
11168         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11169         instead of changing the value of `isearch-filter-predicate'.
11170         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11171         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11172         Put property `isearch-message-prefix' to "filename " on
11173         `dired-isearch-filter-filenames'.
11175         * wdired.el (wdired-change-to-wdired-mode):
11176         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11177         locally instead of changing `isearch-filter-predicate'.
11178         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11180 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
11182         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11183         return the commit hash (Bug#14459).  Also set the
11184         `vc-git-detached' property.
11185         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11186         (vc-git-mode-line-string): Use the same help-echo format whether
11187         in detached mode or not, because we know the actual revision now.
11188         When in detached mode, shorten the revision to 7 chars.
11190 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11192         * emacs-lisp/easy-mmode.el (define-minor-mode):
11193         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11194         mode hook and provide a docstring.
11196 2013-05-27  Alan Mackenzie  <acm@muc.de>
11198         Remove spurious syntax-table text properties inserted by C-y.
11199         * progmodes/cc-mode.el (c-after-change): Also clear hard
11200         syntax-table property with value nil.
11202 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
11204         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11205         when reading the events; the buffer layout shall not be changed.
11207 2013-05-27  Leo Liu  <sdl.web@gmail.com>
11209         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11210         New variable.
11211         (inferior-octave-directory-tracker): Automatically re-sync
11212         default-directory.
11213         (octave-help): Improve handling of 'See also'.
11215 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11217         * doc-view.el: Minor naming convention tweaks.
11218         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11220         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11221         even if there's no `display' property yet (bug#14435).
11223 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
11225         * subr.el (unmsys--file-name): Rename from reveal-filename.
11227         * Makefile.in (custom-deps, finder-data, autoloads)
11228         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11229         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11230         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11232 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11234         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11235         error-completion on the first 2 args of condition-case (bug#14446).
11236         Don't burp at EOB.
11238 2013-05-25  Leo Liu  <sdl.web@gmail.com>
11240         * comint.el (comint-previous-matching-input): Do not flood the
11241         *Messages* buffer with trivial messages.
11243 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11245         * progmodes/flymake.el (flymake-nop): Don't return a string.
11246         (flymake-set-at): Fix typo.
11248         * simple.el (read--expression): New function, extracted from
11249         eval-expression.  Set completion-at-point-functions (bug#14465).
11250         (eval-expression, eval-minibuffer): Use it.
11252 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
11254         * progmodes/flymake.el (flymake-save-buffer-in-file)
11255         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11256         (flymake-selected-frame, flymake-log, flymake-ins-after)
11257         (flymake-set-at, flymake-get-buildfile-from-cache)
11258         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11259         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11260         Refine the doc string.
11261         (flymake-get-file-name-mode-and-masks): Reformat.
11262         (flymake-get-real-file-name-function): Fix a minor bug.
11264 2013-05-24  Juri Linkov  <juri@jurta.org>
11266         * progmodes/grep.el (grep-mode-font-lock-keywords):
11267         Support =linenumber= format used by git-grep for lines with
11268         function names.  (Bug#13549)
11270 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11272         * progmodes/octave.el (octave-smie-rules): Return nil rather than
11273         0 after a semi-colon; it works better for smie-auto-fill.
11274         (octave--indent-new-comment-line): New function.
11275         (octave-indent-new-comment-line): Use it (indirectly).
11276         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
11277         modify comment-line-break-function.
11279         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11280         (smie-setup): Use add-function to set it.
11282 2013-05-24  Sam Steingold  <sds@gnu.org>
11284         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11285         argument (before the `interactive' argument).
11287 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11289         * image-mode.el (image-mode-winprops): Add winprops to
11290         image-mode-winprops-alist before running
11291         image-mode-new-window-functions.
11292         * doc-view.el (doc-view-new-window-function): Don't delay
11293         doc-view-goto-page via timers (bug#14435).
11295 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
11297         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
11298         (doc-view-desktop-save-buffer): New function.
11299         (doc-view-restore-desktop-buffer): New function.
11300         (desktop-buffer-mode-handlers):
11301         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11302         handler.
11303         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11304         `desktop-save-buffer' function.
11306 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
11308         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11309         (tramp-gvfs-file-name-handler): Raise a user error when
11310         `tramp-gvfs-enabled' is nil.
11311         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11312         Do not raise a user error when loading package.  (Bug#14447)
11314         * net/xesam.el: Move to obsolete/.
11316 2013-05-24  Glenn Morris  <rgm@gnu.org>
11318         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11320         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11322         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11323         (Info-find-node, Man-getpage-in-background): Declare.
11325         * mail/unrmail.el (unrmail):
11326         Replace obsolete detect-coding-with-priority.
11328         * net/socks.el (socks-split-string): Use this rather than split-string.
11329         (socks-nslookup-host): Update for above change.
11330         (dynamic-choice, s5-dynamic-choice-match)
11331         (s5-dynamic-choice-match-inline, s5-widget-value-create):
11332         Comment out unused code.
11334         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11335         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11336         (gud-tooltip-echo-area): Make obsolete.
11337         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11339         * progmodes/js.el (js--optimize-arglist): Declare.
11341         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11343         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11344         (ediff-window-C): Declare.
11346         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11347         Tweak requires to silence compiler.
11349         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11350         (he-search-string, he-tried-table, he-expand-list)
11351         (he-init-string, he-string-member, he-substitute-string)
11352         (he-reset-string): Declare.
11354         * obsolete/options.el (list-options): Use custom-variable-p,
11355         rather than obsolete alias.
11357 2013-05-23  Sam Steingold  <sds@gnu.org>
11359         * simple.el (shell-command-on-region): Pass the `replace' argument
11360         down to `call-process-region' to comply with the doc as reported on
11361         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11363 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11365         * emacs-lisp/smie.el (smie-indent-forward-token)
11366         (smie-indent-backward-token): Handle string tokens (bug#14381).
11368 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11370         * ielm.el (ielm-menu): New menu.
11371         (inferior-emacs-lisp-mode): Set comment-start.
11373 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11375         * textmodes/reftex.el (reftex-ref-style-toggle):
11376         Fix deactivate action.
11378         * textmodes/reftex-vars.el (reftex-ref-style-alist):
11379         Add cleveref macros.
11381         * textmodes/reftex-parse.el
11382         (reftex-locate-bibliography-files): Accept options for
11383         bibliography commands.
11384         * textmodes/reftex-vars.el (reftex-bibliography-commands):
11385         Add addbibresource.  Basic Biblatex support.
11387 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
11389         * net/tramp-gvfs.el (top):
11390         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11391         when loading package.  (Bug#14447)
11393 2013-05-23  Glenn Morris  <rgm@gnu.org>
11395         * progmodes/js.el: No need to load comint when compiling.
11396         (ring-insert, comint-send-string, comint-send-input)
11397         (comint-last-input-end, ido-chop): Declare.
11399         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11400         * vc/ediff-mult.el: Adjust requires.
11401         (ediff-directories-internal, ediff-directory-revisions-internal)
11402         (ediff-patch-file-internal): Declare.
11403         * vc/ediff-ptch.el: Adjust requires.
11404         (ediff-use-last-dir, ediff-buffers-internal): Declare.
11405         (ediff-find-file): Autoload.
11406         * vc/ediff-util.el: No need to load ediff when compiling.
11407         (ediff-regions-internal): Declare.
11408         * vc/ediff-wind.el: Adjust requires.
11409         (ediff-compute-toolbar-width): Define when compiling.
11410         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11411         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11412         (dired-get-filename, dired-get-marked-files)
11413         (ediff-last-dir-patch, ediff-patch-default-directory)
11414         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11415         (ediff-patch-buffer-internal): Declare.
11417         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11418         (ispell-process, ispell-buffer-local-words, lm-summary)
11419         (lm-section-start, lm-section-end): Declare.
11420         (checkdoc-ispell-init): Simplify.
11422         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11423         (he-string-member, he-reset-string, he-substitute-string): Declare.
11425         * eshell/em-ls.el: Adjust requires.
11426         (eshell-glob-regexp): Declare.
11427         * eshell/em-tramp.el: Adjust requires.
11428         (eshell-parse-command): Autoload.
11429         * eshell/em-xtra.el: Adjust requires.
11430         (eshell-parse-command): Autoload.
11431         * eshell/esh-ext.el: Adjust requires.
11432         (eshell-parse-command, eshell-close-handles): Autoload.
11433         * eshell/esh-io.el: Adjust requires.
11434         (eshell-output-filter): Autoload.
11435         * eshell/esh-util.el: No need to load tramp when compiling.
11436         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11437         Declare.
11438         (eshell-parse-ange-ls): Require ange-ftp and tramp.
11439         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11440         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11441         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11442         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11443         * eshell/esh-opt.el, eshell/esh-proc.el:
11444         * eshell/esh-var.el: Adjust requires.
11445         * eshell/eshell.el: Do not require esh-util twice.
11446         (eshell-add-input-to-history): Declare.
11447         (eshell-command): Check history module is active before using it.
11449         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11451 2013-05-22  Leo Liu  <sdl.web@gmail.com>
11453         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11455 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
11457         * autorevert.el (auto-revert-notify-add-watch)
11458         (auto-revert-notify-handler): Add `attrib' for the inotify case,
11459         it indicates changes in file modification time.
11461 2013-05-22  Glenn Morris  <rgm@gnu.org>
11463         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11464         Always delete the autoloaded function from the noruntime and
11465         unresolved functions lists.
11467         * allout.el: No need to load epa, epg, overlay when compiling.
11468         (epg-context-set-passphrase-callback, epg-list-keys)
11469         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11470         (epg-key-user-id-list): Declare.
11472         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11473         (viper-set-parsing-style-toggling-macro)
11474         (viper-set-emacs-state-searchstyle-macros):
11475         Use called-interactively-p on Emacs.
11476         (viper-looking-back): Make it an obsolete alias.  Update callers.
11477         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11478         Use looking-back rather than viper-looking-back.
11479         (viper-tmp-insert-at-eob, viper-enlarge-region)
11480         (viper-read-string-with-history, viper-register-to-point)
11481         (viper-append-to-register, viper-change-state-to-vi)
11482         (viper-backward-char-carefully, viper-forward-char-carefully)
11483         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11484         (viper-change-state-to-emacs): Declare.
11485         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11486         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11487         * emulation/viper-mous.el: Do not load viper-cmd.
11488         (viper-backward-char-carefully, viper-forward-char-carefully)
11489         (viper-forward-word, viper-adjust-window): Declare.
11491         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11493         * progmodes/idlw-help.el (idlwave-help-fontify):
11494         Use called-interactively-p.
11496         * term/w32console.el (w32-get-console-codepage)
11497         (w32-get-console-output-codepage): Declare.
11499         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11500         Remove unnecessary declarations.
11501         (dframe-message): Doc fix.
11503         * info.el (dframe-select-attached-frame, dframe-current-frame):
11504         Declare.
11506         * speedbar.el (speedbar-message): Make it an obsolete alias.
11507         Update all callers.
11508         (speedbar-with-attached-buffer)
11509         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11510         (speedbar-with-writable): Use backquote.
11511         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11512         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11513         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11514         rather than speedbar- aliases.
11515         * mail/rmail.el: Load dframe rather than speedbar when compiling.
11516         (speedbar-make-specialized-keymap, speedbar-insert-button)
11517         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11518         (speedbar-do-function-pointer): Declare.
11519         (rmail-speedbar-button, rmail-speedbar-find-file)
11520         (rmail-speedbar-move-message):
11521         Use dframe-with-attached-buffer rather than speedbar- alias.
11522         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11523         (dframe-message, speedbar-make-specialized-keymap)
11524         (speedbar-add-expansion-list, speedbar-mode-functions-list)
11525         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11526         (speedbar-insert-button, dframe-select-attached-frame)
11527         (dframe-maybee-jump-to-attached-frame)
11528         (speedbar-change-initial-expansion-list)
11529         (speedbar-previously-used-expansion-list-name): Declare.
11530         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11531         Use dframe-message, dframe-with-attached-buffer rather than
11532         speedbar- aliases.
11533         (gud-sentinel): Silence compiler.
11534         * progmodes/vhdl-mode.el (speedbar-refresh)
11535         (speedbar-do-function-pointer, speedbar-add-supported-extension)
11536         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11537         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11538         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11539         (speedbar-file-lists, speedbar-make-tag-line)
11540         (speedbar-line-directory, speedbar-goto-this-file)
11541         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11542         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11543         (speedbar-make-button, speedbar-reset-scanners)
11544         (speedbar-files-item-info, speedbar-line-text)
11545         (speedbar-find-file-in-frame, speedbar-set-timer)
11546         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11547         (speedbar-with-writable): Do not (re)define it.
11548         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11549         rather than speedbar- alias.
11551 2013-05-21  Leo Liu  <sdl.web@gmail.com>
11553         * progmodes/octave.el (octave-mode-menu): Update and re-organize
11554         menu items.
11555         (octave-mode): Tweak fill-nobreak-predicate.
11556         (inferior-octave-startup): Check process to avoid infinite loop.
11557         (inferior-octave): Pop to buffer first to show abornmal process
11558         exit information.
11560 2013-05-21  Glenn Morris  <rgm@gnu.org>
11562         * printing.el (pr-menu-bar): Define when compiling.
11564 2013-05-21  Leo Liu  <sdl.web@gmail.com>
11566         * progmodes/octave.el (octave-auto-fill): Remove.
11567         (octave-indent-new-comment-line): Improve.
11568         (octave-mode): Use auto fill mode through
11569         comment-line-break-function and fill-nobreak-predicate.
11570         (octave-goto-function-definition): Support DEFUN_DLD.
11571         (octave-beginning-of-defun): Small tweak.
11572         (octave-help): Show parent directory.
11574 2013-05-21  Glenn Morris  <rgm@gnu.org>
11576         * files.el (dired-unmark):
11577         * progmodes/gud.el (gdb-input): Update declarations.
11579         * calculator.el (electric, ehelp): No need to load when compiling.
11580         (Electric-command-loop, electric-describe-mode): Declare.
11582         * doc-view.el (doc-view-current-converter-processes): Move before use.
11584         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11585         Move MODE-set-explicitly definition before use.
11587         * international/mule-diag.el (mule-diag):
11588         Don't use obsolete window-system-version.
11590         * mail/feedmail.el (smtpmail): No need to load when compiling.
11591         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11593         * mail/mail-utils.el (rfc822): No need to load when compiling.
11594         (rfc822-addresses): Autoload it.
11595         (mail-strip-quoted-names): Trivial simplification.
11597         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11598         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11600         * net/snmp-mode.el (tempo): Don't duplicate requires.
11602         * progmodes/prolog.el (info): No need to load when compiling.
11603         (comint): Require before shell requires it.
11604         (Info-goto-node): Autoload it.
11605         (Info-follow-nearest-node): Declare.
11606         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11608         * textmodes/artist.el (picture-mode-exit): Declare.
11610         * textmodes/reftex-parse.el (reftex-parse-from-file):
11611         Trivial rewrite so the compiler can parse it better.
11613 2013-05-20  Leo Liu  <sdl.web@gmail.com>
11615         * progmodes/octave.el (octave-help-mode-map)
11616         (octave-help-mode-finish-hook): New variables.
11617         (octave-help-mode, octave-help-mode-finish): New functions.
11618         (octave-help): Use octave-help-mode.
11620 2013-05-20  Glenn Morris  <rgm@gnu.org>
11622         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
11624 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
11626         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11627         start at point, so that expansion starting right after opening
11628         slash in a regexp is recognized.
11629         (ruby-syntax-before-regexp-re): New defvar, extracted from
11630         ruby-syntax-propertize-function.  Since the value of this regexp
11631         is looked up at runtime now, we should be able to turn
11632         `ruby-syntax-methods-before-regexp' into a defcustom later.
11633         (ruby-syntax-propertize-function): Split regexp matching into two
11634         parts, for opening and closing slashes.  That allows us to skip
11635         over string interpolations and support multiline regexps.
11636         Don't call `ruby-syntax-propertize-expansions', instead use another rule
11637         for them, which calls `ruby-syntax-propertize-expansion'.
11638         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11639         call to `ruby-syntax-propertize-function'.
11640         (ruby-syntax-propertize-expansion): Extracted from
11641         `ruby-syntax-propertize-expansions'.  Handles one expansion.
11642         (ruby-syntax-propertize-percent-literal): Leave point right after
11643         the percent symbol, so that the expression expansion rule can
11644         propertize the contents.
11645         (ruby-syntax-propertize-heredoc): Leave point at bol following the
11646         heredoc openers.
11647         (ruby-syntax-propertize-expansions): Remove.
11649 2013-05-18  Juri Linkov  <juri@jurta.org>
11651         * man.el (Man-default-man-entry): Remove `-' from the end
11652         of the default value.  (Bug#14400)
11654 2013-05-18  Glenn Morris  <rgm@gnu.org>
11656         * comint.el (comint-password-prompt-regexp):
11657         Allow "password for XXX" where XXX contains colons (eg https://...).
11659 2013-05-18  Leo Liu  <sdl.web@gmail.com>
11661         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11662         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
11663         (octave-source-directories): Don't check process.
11664         (octave-source-directories, octave-find-definition): Doc fix.
11666 2013-05-18  Glenn Morris  <rgm@gnu.org>
11668         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11669         Remove backspace/delete bindings.  (Bug#14392)
11671         * cus-dep.el (custom-make-dependencies): Sort the output.
11672         (custom-versions-load-alist): Convert comment to doc.
11674 2013-05-17  Leo Liu  <sdl.web@gmail.com>
11676         * newcomment.el (comment-search-backward): Stricter in finding
11677         comment start.  (Bug#14303)
11679         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11680         (octave-comment-start-skip): Properly anchored.
11682 2013-05-17  Leo Liu  <sdl.web@gmail.com>
11684         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11685         Clean up when turned off.  (Bug#14395)
11686         (smie--highlight-matching-block-overlay): No longer buffer-local.
11687         (smie-highlight-matching-block): Adjust.
11689 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
11691         Doc string fix for "nanoseconds" (Bug#14406).
11692         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11693         Fix doc string typo that had "nanoseconds" instead of "microseconds".
11695 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
11697         * calc/calc-units.el (math-extract-units): Preserve powers
11698         of units.
11700 2013-05-17  Leo Liu  <sdl.web@gmail.com>
11702         * subr.el (delete-consecutive-dups): New function.
11703         * ido.el (ido-set-matches-1): Use it.
11704         * progmodes/octave.el (inferior-octave-completion-table): Use it.
11705         * ido.el (ido-remove-consecutive-dups): Remove.
11707 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11709         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11710         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11711         regexp-opt's `words'.
11713 2013-05-16  Leo Liu  <sdl.web@gmail.com>
11715         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11716         (smie--highlight-matching-block-overlay)
11717         (smie--highlight-matching-block-lastpos)
11718         (smie--highlight-matching-block-timer): New variables.
11719         (smie-highlight-matching-block): New function.
11720         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
11721         (smie-setup): Conditionally enable smie-blink-matching-open.
11723 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
11725         Sync with upstream verilog-mode r840.
11726         * progmodes/verilog-mode.el (verilog-mode-version)
11727         (verilog-mode-release-date): Update.
11728         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11729         (verilog-sig-tieoff): Fix string error on
11730         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
11731         (verilog-read-decls): Fix parameters confusing
11732         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
11734 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
11736         * subr.el (reveal-filename): New function.
11738         * loadup.el: Compute Emacs executable versions on MS-Windows,
11739         where executables have the .exe extension.  Add a hard link
11740         emacs-XX.YY.ZZ.exe on MS-Windows.
11742         * Makefile.in (XARGS_LIMIT): New variable.
11743         (custom-deps, finder-data, autoloads)
11744         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11745         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11746         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11747         (compile-main): Limit xargs according to $(XARGS_LIMIT).
11749 2013-05-16  Leo Liu  <sdl.web@gmail.com>
11751         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11752         (octave-mode-menu, octave-mode-map): Remove its uses.
11754 2013-05-16  Reto Zimmermann  <reto@gnu.org>
11756         Sync with upstream vhdl mode v3.34.2.
11757         * progmodes/vhdl-mode.el: Use `push' throughout.
11758         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11759         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11760         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
11761         (vhdl-actual-generic-name): New option to derive actual generic name.
11762         (vhdl-port-paste-signals): Replace formal by actual generics.
11763         (vhdl-beautify): New name for old group vhdl-align.  Update users.
11764         (vhdl-beautify-options): New option.
11765         (vhdl-last-input-event): New compat alias.  Use throughout.
11766         (vhdl-goto-line): Replace user level function `goto-line'.
11767         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11768         vhdl-fix-statement-buffer.
11769         (vhdl-create-mode-menu): Add some entries.
11770         (vhdl-align-region-groups): Respect vhdl-beautify-options.
11771         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11772         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11773         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11774         to force statements on one line.
11775         (vhdl-remove-trailing-spaces-region):
11776         New, split from vhdl-remove-trailing-spaces.
11777         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11778         Respect vhdl-beautify-options.
11779         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11780         (vhdl-update-sensitivity-list): Not add with index if exists without.
11781         Not include array index with signal.  Ignore keywords in comments.
11782         (vhdl-get-visible-signals): Regexp tweaks.
11783         (vhdl-template-component-inst): Handle empty library.
11784         (vhdl-template-type): Add template for 'enum' type.
11785         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11786         Use vhdl-replace-string.
11787         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11788         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11789         (vhdl-speedbar-initialize): Update for above name change.
11790         (vhdl-compose-wire-components): Fix in handling of constants.
11791         (vhdl-error-regexp-emacs-alist): New variable.
11792         (vhdl-error-regexp-add-emacs): New function;
11793         adds support for new compile.el (Emacs 22+)
11794         (vhdl-generate-makefile-1): Change target order for single lib. units.
11795         Allow use of absolute file names.
11797 2013-05-16  Leo Liu  <sdl.web@gmail.com>
11799         * simple.el (prog-indent-sexp): Indent enclosing defun.
11801 2013-05-15  Glenn Morris  <rgm@gnu.org>
11803         * cus-start.el (show-trailing-whitespace): Move to editing basics.
11804         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11805         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11806         (whitespace-highlight): Move to whitespace group.
11808         * comint.el (comint-source):
11809         * pcmpl-linux.el (pcmpl-linux):
11810         * shell.el (shell-faces):
11811         * eshell/esh-opt.el (eshell-opt):
11812         * international/ccl.el (ccl): Remove empty custom groups.
11814         * completion.el (dynamic-completion-mode):
11815         * jit-lock.el (jit-lock-debug-mode):
11816         * minibuffer.el (completion-in-region-mode):
11817         * type-break.el (type-break-mode-line-message-mode)
11818         (type-break-query-mode):
11819         * emulation/tpu-edt.el (tpu-edt-mode):
11820         * progmodes/subword.el (global-subword-mode, global-superword-mode):
11821         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11822         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11824         * term/xterm.el (xterm): Change parent group to terminals.
11826         * master.el (master): Remove empty custom group.
11827         (master-mode): Remove unused :group argument.
11828         * textmodes/refill.el (refill): Remove empty custom group.
11829         (refill-mode): Remove unused :group argument.
11831         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11833         * cus-dep.el: Provide a feature.
11834         (custom-make-dependencies): Ignore dotfiles (dir-locals).
11835         Don't mistakenly ignore files whose basenames match a basename
11836         from preloaded-file-list (eg cedet/ede/simple.el).
11837         Add a fallback method for getting :group.
11839 2013-05-15  Juri Linkov  <juri@jurta.org>
11841         * isearch.el (isearch-char-by-name): Rename from
11842         `isearch-insert-char-by-name'.  Doc fix.
11843         (isearch-forward): Mention `isearch-char-by-name' in
11844         the docstring.  (Bug#13348)
11846         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11847         `exit-minibuffer' instead of
11848         `isearch-nonincremental-exit-minibuffer'.
11849         (isearch-edit-string): Remove mention of
11850         `isearch-nonincremental-exit-minibuffer' from docstring.
11851         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11852         (isearch-forward-exit-minibuffer)
11853         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
11855 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11857         * loadup.el: Just use unversioned DOC.
11859         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11860         literals as extending to EOB.
11861         (nxml-last-fontify-end): Remove unused variable.
11862         (nxml-after-change1): Use with-silent-modifications.
11863         (nxml-extend-after-change-region): Simplify.
11864         (nxml-extend-after-change-region1): Remove function.
11865         (nxml-after-change1): Don't adjust for dependent regions.
11866         (nxml-fontify-matcher): Simplify.
11867         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11868         (xmltok-add-dependent): Remove function.
11869         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11870         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11871         (xmltok-scan-prolog-after-processing-instruction-open): Treat
11872         unclosed <[[, <?, comment, and other literals as extending to EOB.
11873         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11874         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11875         Remove functions.
11876         (rng-do-some-validation-1): Don't mark dependent regions.
11877         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11878         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11879         (nxml-clear-dependent-regions): Remove functions.
11880         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11881         (nxml-ensure-scan-up-to-date):
11882         Don't clear&mark dependent regions.
11884 2013-05-15  Leo Liu  <sdl.web@gmail.com>
11886         * progmodes/octave.el (octave-goto-function-definition):
11887         Improve and fix callers.
11889 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11891         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11892         the setter (bug#14387).
11894         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11895         surrounding group (bug#14402).
11897 2013-05-14  Juri Linkov  <juri@jurta.org>
11899         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11900         (Bug#14390)
11902 2013-05-14  Glenn Morris  <rgm@gnu.org>
11904         * progmodes/f90.el (f90-imenu-generic-expression):
11905         Fix typo in 2013-05-08 change.  (Bug#14402)
11907 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
11909         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11910         Remove signals for which replies are never received.
11912 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
11914         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11915         (gdb-handler-alist, gdb-handler-number): Remove variables.
11916         (gdb-handler-list): New variable.
11917         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11918         (gdb-pending-handler-p, gdb-handle-reply)
11919         (gdb-remove-all-pending-triggers): New functions.
11920         (gdb-discard-unordered-replies): New defcustom.
11921         (gdb-handler): New defstruct.
11922         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
11923         instead of gdb-pending-triggers.  Update docstring.
11924         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
11925         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11926         (gdb-var-update-handler, def-gdb-auto-update-trigger)
11927         (def-gdb-auto-update-handler, gdb-get-changed-registers)
11928         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11929         (gdb-frame-handler): Pending triggers are now automatically managed.
11930         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11931         Remove argument.
11932         (gdb-input): Automatically handles pending triggers.  Update docstring.
11933         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11934         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11935         Update comments.
11936         (gdb-done-or-error): Now use gdb-handle-reply.
11938 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
11940         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11941         gdb-debug-log.
11943 2013-05-14  Glenn Morris  <rgm@gnu.org>
11945         * subr.el (user-emacs-directory-warning): New option.
11946         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
11948 2013-05-14  Leo Liu  <sdl.web@gmail.com>
11950         * progmodes/octave.el (octave-font-lock-keywords): Fix error
11951         during redisplay.
11952         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11953         (octave-font-lock-texinfo-comment): Fix invalid search bound
11954         error: wrong side of point.
11956 2013-05-14  Glenn Morris  <rgm@gnu.org>
11958         * progmodes/flymake.el (flymake-xml-program): New option.
11959         (flymake-xml-init): Use it.
11961         * term/xterm.el: Provide a feature.
11963         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
11965 2013-05-13  Glenn Morris  <rgm@gnu.org>
11967         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11968         Add compat aliases as a hack workaround.  (Bug#14384)
11970 2013-05-13  Leo Liu  <sdl.web@gmail.com>
11972         * progmodes/octave.el (octave-indent-comment): Fix indentation for
11973         ###, and %!.
11974         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11975         C-M-q.
11976         (octave-comment-start-skip): Include %!.
11977         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11979 2013-05-12  Leo Liu  <sdl.web@gmail.com>
11981         * progmodes/octave.el (inferior-octave-startup): Store the value
11982         of __octave_srcdir__ for octave-source-directories.
11983         (inferior-octave-check-process): New function refactored out of
11984         inferior-octave-send-list-and-digest.
11985         (octave-source-directories)
11986         (octave-find-definition-filename-function): New variables.
11987         (octave-source-directories)
11988         (octave-find-definition-default-filename): New functions.
11989         (octave-find-definition): Improve to find functions implemented in C++.
11991 2013-05-12  Glenn Morris  <rgm@gnu.org>
11993         * calendar/diary-lib.el (diary-outlook-format-1):
11994         Don't include dayname in the output.  (Bug#14349)
11996 2013-05-11  Glenn Morris  <rgm@gnu.org>
11998         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12000         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12001         Treat cc-provide like provide.
12003 2013-05-11  Kevin Ryde  <user42@zip.com.au>
12005         * cus-dep.el (custom-make-dependencies):
12006         Use generated-autoload-load-name for the sake of files such
12007         such cedet/semantic/bovine/c.el, where the base file name
12008         is not in load-path.  (Bug#5277)
12010 2013-05-11  Glenn Morris  <rgm@gnu.org>
12012         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12013         Provide features.
12015 2013-05-11  Leo Liu  <sdl.web@gmail.com>
12017         * progmodes/octave.el (octave-indent-comment): Improve.
12018         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12019         (octave-eldoc-function-signatures, octave-eldoc-function):
12020         New functions.
12021         (octave-mode, inferior-octave-mode): Add eldoc support.
12023 2013-05-11  Richard Stallman  <rms@gnu.org>
12025         * epa.el (epa-decrypt-file): Take output file name as argument
12026         and read it using `interactive'.
12028 2013-05-11  Leo Liu  <sdl.web@gmail.com>
12030         * progmodes/octave.el (octave-beginning-of-line)
12031         (octave-end-of-line): Check before using up-list because it jumps
12032         out of more syntactic contructs since moving to smie.
12033         (octave-indent-comment): New function.
12034         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
12035         (octave-begin-keywords, octave-end-keywords)
12036         (octave-reserved-words, octave-smie-bnf-table)
12037         (octave-smie-rules): Add new keywords from Octave 3.6.4.
12039 2013-05-11  Glenn Morris  <rgm@gnu.org>
12041         * faces.el (internal-face-x-get-resource):
12042         * frame.el (ns-display-monitor-attributes-list):
12043         * calc/calc-aent.el (math-to-radians-2):
12044         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12045         Fix declarations.
12047         * calc/calc-menu.el: Make it loadable in isolation.
12049         * net/eudcb-bbdb.el: Make it loadable without bbdb.
12050         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12051         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12052         (eudc-bbdb-query-internal): Require 'bbdb.
12054         * lpr.el (lpr-headers-switches):
12055         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12057         * progmodes/sql.el (sql-login-params): Fix and improve :type.
12059         * emulation/edt-mapper.el: In batch mode, error rather than hang.
12061         * term.el (term-set-escape-char): Make it idempotent.
12063 2013-05-10  Leo Liu  <sdl.web@gmail.com>
12065         * progmodes/octave.el (inferior-octave-completion-table):
12066         No longer a function and all uses changed.  Use cache to speed up
12067         completion due to bug#11906.
12068         (octave-beginning-of-defun): Re-write to be more general.
12070 2013-05-10  Glenn Morris  <rgm@gnu.org>
12072         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12074 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
12076         * comint.el (comint-redirect-send-command-to-process): Use :around
12077         rather than :override for comint-redirect-filter.
12078         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12079         Call it instead of comint-redirect-original-filter-function (which
12080         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
12082 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
12084         * frame.el (display-monitor-attributes-list): Add NS case.
12085         (ns-display-monitor-attributes-list): Declare.
12087 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
12089         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
12091 2013-05-09  Glenn Morris  <rgm@gnu.org>
12093         * international/fontset.el (vertical-centering-font-regexp):
12094         Set standard-value.
12096         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12098         * bookmark.el (bookmark-search-delay):
12099         * cus-start.el (vertical-centering-font-regexp):
12100         * ps-mule.el (ps-mule-font-info-database-default):
12101         * ps-print.el (ps-default-fg, ps-default-bg):
12102         * type-break.el (type-break-good-break-interval):
12103         * whitespace.el (whitespace-indentation-regexp)
12104         (whitespace-space-after-tab-regexp):
12105         * emacs-lisp/testcover.el (testcover-1value-functions)
12106         (testcover-noreturn-functions, testcover-progn-functions)
12107         (testcover-prog1-functions):
12108         * emulation/viper-init.el (viper-emacs-state-cursor-color):
12109         * eshell/em-glob.el (eshell-glob-translate-alist):
12110         * play/tetris.el (tetris-tty-colors):
12111         * progmodes/cpp.el (cpp-face-default-list):
12112         * progmodes/flymake.el (flymake-allowed-file-name-masks):
12113         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12114         (idlwave-help-browser-generic-args):
12115         * progmodes/make-mode.el (makefile-special-targets-list):
12116         * progmodes/python.el (python-shell-virtualenv-path):
12117         * progmodes/verilog-mode.el (verilog-active-low-regexp)
12118         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12119         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12120         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12121         * textmodes/reftex-vars.el (reftex-format-label-function):
12122         * textmodes/remember.el (remember-diary-file): Fix custom types.
12124         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12125         Add :version.
12127 2013-05-09  Leo Liu  <sdl.web@gmail.com>
12129         * progmodes/octave.el (inferior-octave-completion-at-point):
12130         Restore file completion.  (Bug#14300)
12131         (inferior-octave-startup): Fix incorrect highlighting for the
12132         first prompt.
12134 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12136         * progmodes/ruby-mode.el: First cut at SMIE support.
12137         (ruby-use-smie): New var.
12138         (ruby-smie-grammar): New constant.
12139         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12140         (ruby-smie--forward-token, ruby-smie--backward-token)
12141         (ruby-smie-rules): New functions.
12142         (ruby-mode-variables): Setup SMIE if applicable.
12144 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
12146         * simple.el (line-move-visual): Signal beginning/end of buffer
12147         only if vertical-motion moved less than it was requested.  Avoids
12148         silly incorrect error messages when there are display strings with
12149         multiple newlines at EOL.
12151 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12153         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12154         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12155         (prolog-char-quote-workaround):
12156         * progmodes/cperl-mode.el (cperl-under-as-char):
12157         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12158         Mark as obsolete.
12159         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12160         their declaration.
12161         (vhdl-mode-syntax-table-init): Remove.
12163         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12164         last change.
12166         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12167         syntax for "_".
12168         (ld-script-font-lock-keywords):
12169         Change regexps to use things like \_< and \_>.
12171         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12172         Change all regexps to use things like \_< and \_>.
12174         * progmodes/autoconf.el (autoconf-definition-regexp)
12175         (autoconf-font-lock-keywords, autoconf-current-defun-function):
12176         Handle a _ with symbol syntax.
12177         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12179         * progmodes/ada-mode.el (ada-mode-abbrev-table):
12180         Consolidate declaration.
12181         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12182         the declaration.
12183         (ada-create-syntax-table): Remove.
12184         (ada-capitalize-word): Don't mess with the syntax of "_" since it
12185         already has the right syntax nowadays.
12186         (ada-goto-next-word): Don't change the syntax of "_".
12188         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12189         with-wrapper-hook.
12191 2013-05-08  Sam Steingold  <sds@gnu.org>
12193         * thingatpt.el (thing-at-point): Accept optional second argument
12194         NO-PROPERTIES to strip the text properties from the return value.
12195         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12196         to `thing-at-point' instead of stripping the properties ourselves.
12197         Also, when `thing-at-point' fails to find a url, prepend "http://"
12198         to the filename at point on the assumption that the user is
12199         pointing at something like gnu.org/gnu.
12201 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
12203         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12204         * faces.el (crm-separator):
12205         Silence byte-compiler.
12207         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12208         (tool-bar-map): Remove unneeded defvars.
12210 2013-05-08  Leo Liu  <sdl.web@gmail.com>
12212         Re-work a fix for bug#10994 based on Le Wang's patch.
12213         * ido.el (ido-remove-consecutive-dups): New helper.
12214         (ido-completing-read): Use it.
12215         (ido-chop): Revert fix for bug#10994.
12217 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
12219         * cus-edit.el (custom-save-variables):
12220         Pretty-print long values.  (Bug#14187)
12222 2013-05-08  Glenn Morris  <rgm@gnu.org>
12224         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12225         (m4-mode-syntax-table): Init in the defvar.
12226         (m4-mode-abbrev-table): Let define-derived-mode define it.
12228 2013-05-08  Tom Tromey  <tromey@redhat.com>
12230         * progmodes/m4-mode.el (m4-mode-syntax-table):
12231         Do not treat "_" as word constituent.  (Bug#14167)
12233 2013-05-07  Glenn Morris  <rgm@gnu.org>
12235         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12236         Remove explicit eshell-isearch-cancel-map.
12238         * progmodes/f90.el (f90-smart-end-names): New option.
12239         (f90-smart-end): Doc fix.
12240         (f90-end-block-optional-name): New constant.
12241         (f90-block-match): Respect f90-smart-end-names.
12243 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12245         * progmodes/octave.el (octave-smie-forward-token): Be more careful
12246         about implicit semi-colons (bug#14218).
12248 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12250         * frame.el (display-monitor-attributes-list)
12251         (frame-monitor-attributes): New functions.
12253 2013-05-06  Leo Liu  <sdl.web@gmail.com>
12255         * progmodes/octave.el (octave-syntax-propertize-function): Change
12256         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
12257         (octave-font-lock-keywords): Use octave-operator-regexp.
12258         (octave-completion-at-point): Rename from
12259         octave-completion-at-point-function.
12260         (inferior-octave-directory-tracker): Robustify.
12261         (octave-text-functions): Remove and fix its uses.  No such things
12262         any more.
12264 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12266         * emacs-lisp/trace.el (trace--display-buffer): New function.
12267         (trace-make-advice): Use it.
12269 2013-05-06  Juri Linkov  <juri@jurta.org>
12271         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
12272         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12273         Doc fix.
12274         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12275         in the help string.  (Bug#12985)
12277 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
12279         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
12281 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12283         * progmodes/perl-mode.el: Add support for here documents.
12284         (perl-syntax-propertize-function): Match here-doc markers.
12285         (perl-syntax-propertize-special-constructs): Find their end.
12286         (perl-imenu-generic-expression): Use [:alnum:].
12288         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12289         (advice--add-function): Refresh the advice if already present
12290         (bug#14317).
12292 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
12294         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
12296 2013-05-06  Glenn Morris  <rgm@gnu.org>
12298         * w32-fns.el (w32-charset-info-alist): Declare.
12300         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12301         of its defcustom properties.
12302         (eshell-cmpl-initialize): No need to load pcomplete.
12304         * generic-x.el: No need to require comint when compiling.
12306         * net/eudc-export.el: Make it loadable without bbdb.
12307         (top-level): Use require rather than load-library.
12308         (eudc-create-bbdb-record, eudc-bbdbify-phone)
12309         (eudc-batch-export-records-to-bbdb)
12310         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12311         Require bbdb.
12313 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12315         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12316         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12317         some tweaks, instead.
12319 2013-05-05  Leo Liu  <sdl.web@gmail.com>
12321         * progmodes/octave.el (octave-font-lock-keywords)
12322         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12323         (inferior-octave-send-list-and-digest): Improve error message.
12324         (octave-mode, inferior-octave-mode): Use setq-local.
12325         (octave-help): Set info-lookup-mode.
12327 2013-05-05  Richard Stallman  <rms@gnu.org>
12329         * vc/compare-w.el (compare-windows-whitespace):
12330         Treat no-break space as whitespace.
12332         * mail/rmailsum.el (rmail-summary-rmail-update):
12333         Detect empty summary and don't change selected message.
12334         (rmail-summary-goto-msg): Likewise.
12336         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12337         Doc fixes, rename args.
12339 2013-05-05  Alan Mackenzie  <acm@muc.de>
12341         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12343 2013-05-05  Juri Linkov  <juri@jurta.org>
12345         * info.el (Info-read-subfile): Use (point-min) instead of (point)
12346         to not add the length of the summary segment to the return value.
12347         (Bug#14125)
12349 2013-05-05  Leo Liu  <sdl.web@gmail.com>
12351         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12352         (inferior-octave-output-filter): Remove.
12353         (octave-send-region, inferior-octave-startup): Fix callers.
12354         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12355         (octave-binary-file-extensions): New user variable.
12356         (octave-find-definition): Confirm if opening binary files.
12357         (octave-help-file): Use octave-find-definition to get the binary
12358         confirmation.
12359         (octave-help): Adjust for octave-help-file change.
12361 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12363         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12364         Merge the two entries that handle function definitions.
12365         (pascal--syntax-propertize): New const.
12366         (pascal-mode): Use it.  Use setq-local.
12368 2013-05-04  Glenn Morris  <rgm@gnu.org>
12370         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12371         (diary-from-outlook): Respect diary-from-outlook-function.
12373 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12375         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12376         Move the declaration from C.
12377         (read-minibuffer, eval-minibuffer): Move from C.
12378         (completion-setup-function): Avoid minibuffer-completion-contents.
12380 2013-05-03  Leo Liu  <sdl.web@gmail.com>
12382         * progmodes/octave.el (octave-font-lock-keywords): Do not
12383         dehighlight 'end' in comments or strings.
12384         (octave-completing-read, octave-goto-function-definition):
12385         New helpers.
12386         (octave-help-buffer): New user variable.
12387         (octave-help-file, octave-help-function): New button types.
12388         (octave-help): New command and bind it to C-h ;.
12389         (octave-find-definition): New command and bind it to M-.
12390         (user-error): Alias to error if not defined.
12392 2013-05-02  Leo Liu  <sdl.web@gmail.com>
12394         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12395         for \.  (bug#14332)
12396         (octave-font-lock-keywords): Include [ and {.
12398 2013-05-02  Leo Liu  <sdl.web@gmail.com>
12400         * progmodes/octave.el (inferior-octave-startup-file): Change default.
12401         (inferior-octave): Remove calling comint-mode and return the buffer.
12402         (inferior-octave-startup): Cosmetic changes.
12404 2013-05-02  Leo Liu  <sdl.web@gmail.com>
12406         * progmodes/octave.el (octave-syntax-propertize-function):
12407         Include the case when ' is at line beginning.  (Bug#14336)
12409 2013-05-02  Glenn Morris  <rgm@gnu.org>
12411         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12412         * desktop.el (vc-dir-mode): Just autoload it here.
12414 2013-05-02  Alan Mackenzie  <acm@muc.de>
12416         Eliminate variable c-standard-font-lock-fontify-region-function.
12417         * progmodes/cc-mode.el
12418         (c-standard-font-lock-fontify-region-function): Remove.
12419         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12421 2013-05-01  Leo Liu  <sdl.web@gmail.com>
12423         * progmodes/octave.el: Compatible with older emacs-24 releases.
12424         (inferior-octave-has-built-in-variables): Remove.  Built-in
12425         variables were removed from Octave in 2007.
12426         (inferior-octave-startup): Fix uses.
12427         (comint-line-beginning-position): Remove compatibility code for
12428         emacs 21.
12430 2013-05-01  Juri Linkov  <juri@jurta.org>
12432         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
12434 2013-05-01  Juri Linkov  <juri@jurta.org>
12436         * comint.el (comint-previous-matching-input): Don't print message
12437         "History item: %d" when `isearch-mode' is active.
12438         (comint-history-isearch-message): Print message "History item: %d"
12439         when `comint-input-ring-index' is not empty and this function is
12440         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
12442 2013-05-01  Leo Liu  <sdl.web@gmail.com>
12444         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12445         definitions.  Use completion-at-point to insert keywords.
12446         (octave-abbrev-start): Remove.
12447         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12449 2013-04-30  Leo Liu  <sdl.web@gmail.com>
12451         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12452         change.
12454 2013-04-30  Alan Mackenzie  <acm@muc.de>
12456         Handle arbitrarily long C++ member initialisation lists.
12457         * progmodes/cc-engine.el (c-back-over-member-initializers):
12458         new function.
12459         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12460         (most) member init lists.
12462 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12464         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12465         variable.
12467 2013-04-30  Leo Liu  <sdl.web@gmail.com>
12469         * progmodes/octave.el (octave-variables): Remove.  No builtin
12470         variables any more.  All converted to functions.
12471         (octave-font-lock-keywords, octave-completion-at-point-function):
12472         Fix uses.
12473         (octave-font-lock-texinfo-comment): New user variable.
12474         (octave-texinfo-font-lock-keywords): New variable for texinfo
12475         comment block.
12476         (octave-function-comment-block): New face.
12477         (octave-font-lock-texinfo-comment): New function.
12478         (octave-mode): Font lock texinfo comment block.
12480 2013-04-29  Leo Liu  <sdl.web@gmail.com>
12482         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12483         indexing expression.
12484         (octave-continuation-string): Do not use \.
12485         (inferior-octave-complete-impossible): Remove.
12486         (inferior-octave-completion-table)
12487         (inferior-octave-completion-at-point): Remove its uses.
12488         (inferior-octave-startup): completion_matches was introduced to
12489         Octave in 1996 so safe to assume it.
12490         (octave-function-file-comment): Improve to follow how Octave does it.
12491         (octave-update-function-file-comment): Tweak.
12493 2013-04-29  Leo Liu  <sdl.web@gmail.com>
12495         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12496         (inferior-octave-startup): Remove inferior-octave-startup-hook.
12497         (octave-function-file-comment): Fix typo.
12498         (octave-sync-function-file-names): Use read-char-choice.
12500 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
12502         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12503         to t for the less important warnings.
12505 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
12507         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
12509 2013-04-27  Glenn Morris  <rgm@gnu.org>
12511         * vc/log-view.el (log-view-current-entry):
12512         Treat "---" separator lines as part of the following rev.  (Bug#14169)
12514 2013-04-27  Juri Linkov  <juri@jurta.org>
12516         * subr.el (read-number): Doc fix about using it by interactive
12517         code letter `n'.  (Bug#14254)
12519 2013-04-27  Juri Linkov  <juri@jurta.org>
12521         * desktop.el (desktop-auto-save-timeout): New option.
12522         (desktop-file-checksum): New variable.
12523         (desktop-save): Add optional arg `auto-save' and don't auto-save
12524         if nothing changed.
12525         (desktop-auto-save-timer): New variable.
12526         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12527         (after-init-hook): Call `desktop-auto-save-set-timer'.
12528         Suggested by Reuben Thomas <rrt@sc3d.org> in
12529         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12531 2013-04-27  Leo Liu  <sdl.web@gmail.com>
12533         * progmodes/octave.el (octave-function-file-p)
12534         (octave-skip-comment-forward, octave-function-file-comment)
12535         (octave-update-function-file-comment): New functions.
12536         (octave-mode-map): Bind C-c ; to
12537         octave-update-function-file-comment.
12538         (octave-mode-menu): Add octave-update-function-file-comment.
12539         (octave-mode, inferior-octave-mode): Fix doc-string.
12540         (octave-insert-defun): Conform to Octave's coding convention.
12541         (Bug#14285)
12543         * files.el (basic-save-buffer): Don't let errors in
12544         before-save-hook prevent saving buffer.
12546 2013-04-20  Roland Winkler  <winkler@gnu.org>
12548         * faces.el (read-face-name): Use completing-read if arg multiple
12549         is nil.
12551 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
12553         * ls-lisp.el (ls-lisp-insert-directory): If no files are
12554         displayed, move point to after the totals line.
12555         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12556         for the details.
12558 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12560         * emacs-lisp/package.el (package-autoload-ensure-default-file):
12561         Add current dir to the load-path.
12562         (package-generate-autoloads): Don't rely on
12563         autoload-ensure-default-file.
12565 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
12567         * textmodes/remember.el (remember-store-in-files): Document that
12568         the file name format is passed to `format-time-string'.
12570 2013-04-26  Leo Liu  <sdl.web@gmail.com>
12572         * progmodes/octave.el (octave-sync-function-file-names): New function.
12573         (octave-mode): Use it in before-save-hook.
12575 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12577         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12578         (bug#14274).
12580         * progmodes/octave.el (octave-smie-forward-token): Properly skip
12581         \n and comment, even if it's not an implicit ; (bug#14218).
12583 2013-04-26  Glenn Morris  <rgm@gnu.org>
12585         * subr.el (read-number): Once more use `read' rather than
12586         `string-to-number', to trap non-numeric input.  (Bug#14254)
12588 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
12590         * emacs-lisp/syntax.el (syntax-propertize-multiline):
12591         Use `syntax-multiline' text property consistently instead of
12592         `font-lock-multiline'.  (Bug#14237)
12594 2013-04-26  Glenn Morris  <rgm@gnu.org>
12596         * emacs-lisp/shadow.el (list-load-path-shadows):
12597         No longer necessary to check for duplicate simple.el, since
12598         2012-07-07 change to init_lread to not include installation lisp
12599         directories in load-path when running uninstalled.  (Bug#14270)
12601 2013-04-26  Leo Liu  <sdl.web@gmail.com>
12603         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12604         (octave-mode, inferior-octave-mode): Use setq-local.
12605         (octave-not-in-string-or-comment-p): Rename to
12606         octave-in-string-or-comment-p.
12607         (octave-in-comment-p, octave-in-string-p)
12608         (octave-in-string-or-comment-p): Replace defsubst with defun.
12610 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
12612         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12614 2013-04-25  Bastien Guerry  <bzg@gnu.org>
12616         * textmodes/remember.el (remember-data-directory)
12617         (remember-directory-file-name-format): Fix custom types.
12619 2013-04-25  Leo Liu  <sdl.web@gmail.com>
12621         * progmodes/octave.el (octave-completion-at-point-function):
12622         Make use of inferior octave process.
12623         (octave-initialize-completions): Remove.
12624         (inferior-octave-completion-table): New function.
12625         (inferior-octave-completion-at-point): Use it.
12626         (octave-completion-alist): Remove.
12628 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12630         * progmodes/opascal.el: Use font-lock and syntax-propertize.
12631         (opascal-mode-syntax-table): New var.
12632         (opascal-literal-kind, opascal-is-literal-end)
12633         (opascal-literal-token-at): Rewrite.
12634         (opascal--literal-start-re, opascal-font-lock-keywords)
12635         (opascal--syntax-propertize): New constants.
12636         (opascal-font-lock-defaults): Adjust.
12637         (opascal-mode): Use them.  Set comment-<foo> variables as well.
12638         (delphi-comment-face, opascal-comment-face, delphi-string-face)
12639         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12640         (delphi-other-face, opascal-other-face): Remove face variables.
12641         (opascal-save-state): Remove macro.
12642         (opascal-fontifying-progress-step): Remove constant.
12643         (opascal--ignore-changes): Remove var.
12644         (opascal-set-token-property, opascal-parse-next-literal)
12645         (opascal-is-stable-literal, opascal-complete-literal)
12646         (opascal-is-literal-start, opascal-face-of)
12647         (opascal-parse-region, opascal-parse-region-until-stable)
12648         (opascal-fontify-region, opascal-after-change)
12649         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12650         (opascal-debug-parse-region, opascal-debug-parse-window)
12651         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12652         (opascal-debug-fontify-buffer): Remove.
12653         (opascal-debug-mode-map): Adjust accordingly.
12655 2013-04-25  Leo Liu  <sdl.web@gmail.com>
12657         Merge octave-mod.el and octave-inf.el into octave.el with some
12658         cleanups.
12659         * progmodes/octave.el: New file renamed from octave-mod.el.
12660         * progmodes/octave-inf.el: Merged into octave.el.
12661         * progmodes/octave-mod.el: Renamed to octave.el.
12663 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
12665         * textmodes/reftex-vars.el
12666         (reftex-label-ignored-macros-and-environments): New defcustom.
12668         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12670 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12672         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12673         (smie-indent-keyword): Improve the check to ensure that the next
12674         comment is really on the same line.
12675         (smie-indent-comment): Don't align with a subsequent closer (or eob).
12677         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12678         semi-colons if the line is not otherwise empty (bug#14218).
12680 2013-04-25  Glenn Morris  <rgm@gnu.org>
12682         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12684 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12686         * progmodes/opascal.el (opascal-set-token-property): Rename from
12687         opascal-set-text-properties and only set `token' (bug#14134).
12688         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12689         (opascal-literal-text-properties): Remove.
12690         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12691         Adjust callers.
12693 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
12695         * textmodes/remember.el (remember-handler-functions): Add an
12696         option for a new handler `remember-store-in-files'.
12697         (remember-data-directory, remember-directory-file-name-format):
12698         New options.
12699         (remember-store-in-files): New function to store remember notes
12700         as separate files within a directory.
12702 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
12704         * progmodes/compile.el (compilation-next-error-function):
12705         Pass "formats" to compilation-find-file (bug#11777).
12707 2013-04-24  Glenn Morris  <rgm@gnu.org>
12709         * vc/vc-bzr.el (vc-bzr-print-log):
12710         * vc/vc-hg.el (vc-hg-print-log):
12711         * vc/vc-svn.el (vc-svn-print-log):
12712         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
12714         * vc/vc-bzr.el (vc-bzr-print-log):
12715         * vc/vc-cvs.el (vc-cvs-print-log):
12716         * vc/vc-git.el (vc-git-print-log):
12717         * vc/vc-hg.el (vc-hg-print-log):
12718         * vc/vc-mtn.el (vc-mtn-print-log):
12719         * vc/vc-rcs.el (vc-rcs-print-log):
12720         * vc/vc-sccs.el (vc-sccs-print-log):
12721         * vc/vc-svn.el (vc-svn-print-log):
12722         * vc/vc.el (vc-print-log-internal): Doc fixes.
12724 2013-04-23  Glenn Morris  <rgm@gnu.org>
12726         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12727         Remove venerable code attempting to avoid substitute-command-keys.
12729 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
12731         * textmodes/reftex-vars.el (reftex-label-regexps):
12732         Call `reftex-compile-variables' after changes to this variable.
12734 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12736         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12737         Use lexical-binding.
12738         (jit-lock-force-redisplay): Use markers, check buffer's continued
12739         existence and beware narrowed buffers.
12740         (jit-lock-fontify-now): Adjust call accordingly.
12742 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12744         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12745         to avoid misleading the user.
12747 2013-04-22  Leo Liu  <sdl.web@gmail.com>
12749         * info-look.el: Prefer latex2e.info.  (Bug#14240)
12751 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
12753         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
12755         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12756         * net/tramp.el (tramp-call-process): ... here.
12757         (tramp-set-completion-function, tramp-parse-putty):
12758         * net/tramp-adb.el (tramp-adb-execute-adb-command):
12759         * net/tramp-gvfs.el (tramp-gvfs-send-command):
12760         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12761         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12762         (tramp-call-local-coding-command): Use `tramp-call-process'
12763         instead of `tramp-compat-call-process'.
12765         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12766         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12767         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
12768         (tramp-find-inline-compress): Improve traces.
12769         (tramp-maybe-send-script): Check for Perl binary.
12770         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12772 2013-04-22  Daiki Ueno  <ueno@gnu.org>
12774         * epg.el (epg-context-pinentry-mode): New function.
12775         (epg-context-set-pinentry-mode): New function.
12776         (epg--start): Pass --pinentry-mode option to gpg command.
12778 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
12780         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12781         `comint-dynamic-complete' is obsolete since 24.1, replaced by
12782         `completion-at-point'.  (Bug#13774)
12784         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12785         default key binding for `describe-distribution' has been moved to
12786         `C-h C-o'.  (Bug#13970)
12788 2013-04-21  Glenn Morris  <rgm@gnu.org>
12790         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12791         Add doc strings.
12792         (vc-print-log): Clarify interactive prompt.
12794 2013-04-20  Glenn Morris  <rgm@gnu.org>
12796         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12797         No longer include timestamp etc information.
12799 2013-04-20  Roland Winkler  <winkler@gnu.org>
12801         * faces.el (read-face-name): Bug fix, return just one face if arg
12802         multiple is nil.  (Bug#14209)
12804 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12806         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12807         (remove-function): Autoload.
12809         * comint.el (comint-redirect-original-filter-function): Remove.
12810         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12811         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12812         (vc-cvs-annotate-command):
12813         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12814         * progmodes/prolog.el (prolog-consult-compile):
12815         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12816         Use add/remove-function instead.
12817         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12818         (gud-tooltip-process-output, gud-tooltip-tips):
12819         Use add/remove-function instead.
12820         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12821         (scheme-interaction-mode, exit-scheme-interaction-mode):
12822         Use add/remove-function instead.
12824         * vc/vc-dispatcher.el: Use lexical-binding.
12825         (vc--process-sentinel): Rename from vc-process-sentinel.
12826         Change last arg to be the code to run.  Don't use vc-previous-sentinel
12827         and vc-sentinel-commands any more.
12828         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
12829         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12831 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
12833         * progmodes/sh-script.el (sh-imenu-generic-expression):
12834         Handle function names with a single character.   (Bug#14111)
12836 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
12838         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12839         for subroutines defined in an eval (bug#14182).
12841 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12843         * bookmark.el (bookmark-completing-read): Improve handling of empty
12844         string (bug#14176).
12846 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12848         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12850 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12852         New faster Imenu implementation (bug#14058).
12853         * progmodes/python.el:
12854         (python-imenu-prev-index-position):
12855         (python-imenu-format-item-label-function)
12856         (python-imenu-format-parent-item-label-function)
12857         (python-imenu-format-parent-item-jump-label-function):
12858         New vars.
12859         (python-imenu-format-item-label)
12860         (python-imenu-format-parent-item-label)
12861         (python-imenu-format-parent-item-jump-label)
12862         (python-imenu--put-parent, python-imenu--build-tree)
12863         (python-imenu-create-index, python-imenu-create-flat-index)
12864         (python-util-popn): New functions.
12865         (python-mode): Set imenu-create-index-function to
12866         python-imenu-create-index.
12868 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12870         * winner.el (winner-active-region): Use region-active-p, activate-mark
12871         and deactivate-mark (bug#14225).
12873         * simple.el (deactivate-mark): Don't inline it.
12875 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
12877         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12879 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
12881         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12882         file extensions from the archive-mode entry in order to prefer
12883         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12885 2013-04-18  Leo Liu  <sdl.web@gmail.com>
12887         * bindings.el (help-event-list): Add ?\?.
12889 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12891         * subr.el (with-wrapper-hook): Declare obsolete.
12892         * simple.el (filter-buffer-substring-function): New hook.
12893         (filter-buffer-substring): Use it.
12894         (filter-buffer-substring-functions): Mark obsolete.
12895         * minibuffer.el (completion-in-region-function): New hook.
12896         (completion-in-region): Use it.
12897         (completion-in-region-functions): Mark obsolete.
12898         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12899         * abbrev.el (abbrev-expand-function): New hook.
12900         (expand-abbrev): Use it.
12901         (abbrev-expand-functions): Mark obsolete.
12902         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12903         and :filter-return.
12905 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12907         * progmodes/python.el (python-nav--syntactically): Fix cornercases
12908         and do not care about match data.
12910 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12912         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12913         completion tables when completing error conditions and
12914         `declare' arguments.
12915         (lisp-complete-symbol, field-complete): Mark as obsolete.
12916         (check-parens): Unmatched parens are user errors.
12917         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12919 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
12921         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12922         command changed buffer (ie. `flyspell-pre-buffer' is not current
12923         buffer), which prevents making decisions based on invalid value of
12924         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
12925         cause an error when `flyspell-pre-point' was nil after switching
12926         buffers.
12927         (flyspell-post-command-hook): No longer needs to change buffers when
12928         checking pre-word.  While at it remove unnecessary progn.
12930 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
12932         * textmodes/ispell.el (ispell-add-per-file-word-list):
12933         Fix `flyspell-correct-word-before-point' error when accepting
12934         words and `coment-padding' is an integer by using
12935         `comment-normalize-vars' (Bug #14214).
12937 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12939         New defun movement commands.
12940         * progmodes/python.el (python-nav--syntactically)
12941         (python-nav--forward-defun, python-nav-backward-defun)
12942         (python-nav-forward-defun): New functions.
12944 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12946         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12947         (python-syntax-context): Use named compiler-macro for backwards
12948         compatibility with Emacs 24.x.
12950 2013-04-17  Leo Liu  <sdl.web@gmail.com>
12952         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12953         octave-hide-process-buffer.
12955 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12957         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12958         (bug#14216).
12960 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
12962         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12963         Fix adjustment of offset when receiving incomplete responses from GDB
12964         (bug#14129).
12966 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12968         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12969         python-mode-abbrev-table.
12970         (python-skeleton-define): Adjust accordingly.
12971         (python-mode-abbrev-table): New table that inherits from it so that
12972         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12974         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12975         (abbrev-symbol): Use it.
12976         (abbrev--before-point): Use it since we already handle inheritance.
12978 2013-04-16  Leo Liu  <sdl.web@gmail.com>
12980         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12981         binding to info-lookup-symbol.
12983 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
12985         * minibuffer.el (completion--twq-all):
12986         * term/ns-win.el (ns-initialize-window-system):
12987         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12989 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12991         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12992         global bindings.
12994         * doc-view.el (doc-view-start-process): Handle url-handler directories.
12996 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
12998         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12999         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13000         to nil.
13001         (ruby-end-of-defun): Remove the unused arg, change the docstring
13002         to reflect that this function is only used as the value of
13003         `end-of-defun-function'.
13004         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13005         to reflect an earlier change that beginning/end-of-defun functions
13006         jump between methods in a class definition, as well as top-level
13007         functions.
13009 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13011         * minibuffer.el (minibuffer-complete): Don't just scroll
13012         a *Completions* that's been iconified.
13013         (minibuffer-force-complete): Make sure repetitions do cycle when going
13014         through completion-in-region -> minibuffer-complete.
13016 2013-04-15  Alan Mackenzie  <acm@muc.de>
13018         Correct the placement of c-cpp-delimiters when there're #s not at
13019         col 0.
13021         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13022         place a submatch around the #.
13023         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13024         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
13025         on the #, not BOL.
13027 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13029         * emacs-lisp/nadvice.el: Properly test names when adding advice.
13030         (advice--member-p): New arg `name'.
13031         (advice--add-function, advice-member-p): Use it (bug#14202).
13033 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
13035         Reformulate java imenu-generic-expression.
13036         The old expression contained ill formed regexps.
13038         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13039         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13040         (cc-imenu-java-method-arg-regexp): New defconsts.
13041         (cc-imenu-java-build-type-args-regex): New defun.
13042         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13043         handling of spaces in the regexp.
13045 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
13047         * textmodes/ispell.el (ispell-command-loop): Remove
13048         flyspell highlight of a word when ispell accepts it (bug #14178).
13050 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
13052         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13053         uses code from the previous `ange-ftp-run-real-handler'.
13054         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13055         only in case that function exist.  This is needed for proper
13056         unloading of Tramp.
13058 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
13060         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13062         * textmodes/reftex.el (reftex-compile-variables): Use it.
13064 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13066         * files.el (normal-mode): Only use default major-mode if no other mode
13067         was specified.
13069         * emacs-lisp/trace.el (trace-values): New function.
13071         * files.el: Allow : in local variables (bug#14089).
13072         (hack-local-variable-regexp): New var.
13073         (hack-local-variables-prop-line, hack-local-variables): Use it.
13075 2013-04-13  Roland Winkler  <winkler@gnu.org>
13077         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
13078         data before it gets modified by bibtex-beginning-of-entry.
13080 2013-04-13  Roland Winkler  <winkler@gnu.org>
13082         * textmodes/bibtex.el (bibtex-url): Doc fix.
13084 2013-04-13  Roland Winkler  <winkler@gnu.org>
13086         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13087         does not visit a BibTeX file, exclude it from the list of buffers
13088         returned by bibtex-initialize.
13090 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
13092         * window.el (split-window): Remove interactive form, since as a
13093         command this function is a special case of split-window-below.
13094         Correct doc string.
13096 2013-04-12  Roland Winkler  <winkler@gnu.org>
13098         * faces.el (read-face-name): Do not override value of arg default.
13099         Allow single faces and strings as default values.  Remove those
13100         elements from return value that are not faces.
13101         (describe-face): Simplify.
13102         (face-at-point): New optional args thing and multiple so that this
13103         function can provide the same functionality previously provided by
13104         read-face-name.
13105         (make-face-bold, make-face-unbold, make-face-italic)
13106         (make-face-unitalic, make-face-bold-italic, invert-face)
13107         (modify-face, read-face-and-attribute): Use face-at-point.
13109         * cus-edit.el (customize-face, customize-face-other-window)
13110         * cus-theme.el (custom-theme-add-face)
13111         * face-remap.el (buffer-face-set)
13112         * facemenu.el (facemenu-set-face): Use face-at-point.
13114 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
13116         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13118 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
13120         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13121         off leading { and trailing } from field values.
13123 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13125         * emacs-lisp/timer.el (timer--check): New function.
13126         (timer--time, timer-set-function, timer-event-handler): Use it.
13127         (timer-set-idle-time): Simplify.
13128         (timer--activate): CSE.
13129         (timer-event-handler): Give more info in error message.
13130         (internal-timer-start-idle): New function, moved from C.
13132         * mpc.el (mpc-proc): Add `restart' argument.
13133         (mpc-proc-cmd): Use it.
13134         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13135         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13136         less often.
13138 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
13140         * progmodes/sh-script.el: Implement `sh-mode' own
13141         `add-log-current-defun-function' (bug#14112).
13142         (sh-current-defun-name): New function.
13143         (sh-mode): Use the function.
13145 2013-04-09  Bastien Guerry  <bzg@gnu.org>
13147         * simple.el (choose-completion-string): Fix docstring (bug#14163).
13149 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13151         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13153         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13154         timer (bug#14156).
13156 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
13158         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13159         declaration.
13161 2013-04-07  Leo Liu  <sdl.web@gmail.com>
13163         * pcmpl-x.el: New file.
13165 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
13167         Do not set x-display-name until X connection is established.
13168         This is needed to prevent from weird situation described at
13169         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13170         * frame.el (make-frame): Set x-display-name after call to
13171         window system initialization function, not before.
13172         * term/x-win.el (x-initialize-window-system): Add optional
13173         display argument and use it.
13174         * term/w32-win.el (w32-initialize-window-system):
13175         * term/ns-win.el (ns-initialize-window-system):
13176         * term/pc-win.el (msdos-initialize-window-system):
13177         Add compatible optional display argument.
13179 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
13181         * files.el (normal-backup-enable-predicate): On MS-Windows and
13182         MS-DOS compare truenames of temporary-file-directory and of the
13183         file, so that 8+3 aliases (usually found in $TEMP on Windows)
13184         don't fail comparison by compare-strings.  Also, compare file
13185         names case-insensitively on MS-Windows and MS-DOS.
13187 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13189         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13190         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13192 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
13194         * whitespace.el (whitespace-color-on, whitespace-color-off):
13195         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13197 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
13199         * ispell.el (ispell-set-spellchecker-params):
13200         Really set `ispell-args' for all equivs.
13202 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13204         * ido.el (ido-completions): Use extra elements of ido-decorations
13205         (bug#14143).
13206         (ido-decorations): Update docstring.
13208 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
13210         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13211         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13212         nil during initialization, in order not to miss changes since the
13213         file was opened.  (Bug#14140)
13215 2013-04-05  Leo Liu  <sdl.web@gmail.com>
13217         * kmacro.el (kmacro-call-macro): Fix bug#14135.
13219 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
13221         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13223 2013-04-04  Glenn Morris  <rgm@gnu.org>
13225         * electric.el (electric-pair-inhibit-predicate): Add :version.
13227 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13229         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13230         when a package is required several times (bug#14082).
13232 2013-04-04  Roland Winkler  <winkler@gnu.org>
13234         * faces.el (read-face-name): Behave as promised by the docstring.
13235         Assume that arg default is a list of faces.
13236         (describe-face): Call read-face-name with list of default faces.
13238 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13240         * bookmark.el: Fix deletion of bookmarks (bug#13972).
13241         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13242         (bookmark-bmenu-execute-deletions): Only skip first line if it's
13243         the header.
13244         (bookmark-exit-hook-internal): Save even if list is empty.
13246 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
13248         * emacs-lisp/package.el (package-pinned-packages): New var.
13249         (package--add-to-archive-contents): Obey it (bug#14118).
13251 2013-04-03  Alan Mackenzie  <acm@muc.de>
13253         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13254         Also adapt to the new values of element 7 of a parse state.
13256         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13257         parameter `not-in-delimiter'.  Handle being inside comment opener.
13258         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13259         character in case we're typing a '*' after a '/'.
13260         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13261         instead by passing the parameter to c-state-pp-to-literal.
13263         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13264         for elt. 7 of a parse state.
13266 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
13268         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13269         * international/latin1-disp.el, international/mule-util.el:
13270         * language/cyril-util.el, language/european.el, language/ind-util.el:
13271         * language/lao-util.el, language/thai.el, language/tibet-util.el:
13272         * language/tibetan.el, language/viet-util.el:
13273         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13275 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13277         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13278         (electric-pair-post-self-insert-function): Use it.
13279         (electric-pair-default-inhibit): New function, extracted from
13280         electric-pair-post-self-insert-function.
13282 2013-03-31  Roland Winkler  <winkler@gnu.org>
13284         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13286 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13288         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13290 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
13292         Un-indent after "pass" and "return" statements (Bug#13888)
13293         * progmodes/python.el (python-indent-block-enders): New var.
13294         (python-indent-calculate-indentation): Use it.
13296 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
13298         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13299         defun.  Defining it as defalias could introduce too eager
13300         byte-compiler optimization.  (Bug#14030)
13302 2013-03-30  Chong Yidong  <cyd@gnu.org>
13304         * iswitchb.el (iswitchb-read-buffer): Fix typo.
13306 2013-03-30  Leo Liu  <sdl.web@gmail.com>
13308         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13309         (kmacro-execute-from-register): Pass the keyboard macro to
13310         kmacro-call-macro or repeating won't work correctly.
13312 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
13314         * progmodes/subword.el: Back to using `forward-symbol'.
13316         * subr.el (forward-whitespace, forward-symbol)
13317         (forward-same-syntax): Move from thingatpt.el.
13319 2013-03-29  Leo Liu  <sdl.web@gmail.com>
13321         * kmacro.el (kmacro-to-register): New command.
13322         (kmacro-execute-from-register): New function.
13323         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
13325 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13327         * mpc.el: Use defvar-local and setq-local.
13328         (mpc--proc-connect): Connection failures are not bugs.
13329         (mpc-mode-map): `follow-link' only applies to the buffer's content.
13330         (mpc-volume-map): Bind to the up-events.
13332 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
13334         * progmodes/subword.el (superword-mode): Use `forward-sexp'
13335         instead of `forward-symbol'.
13337 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13339         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13340         (edebug--recursive-edit): Use it.
13341         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13342         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13344 2013-03-28  Leo Liu  <sdl.web@gmail.com>
13346         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
13348 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
13350         * facemenu.el (list-colors-callback): New defvar.
13351         (list-colors-redisplay): New function.
13352         (list-colors-display): Install list-colors-redisplay as the
13353         revert-buffer-function.  (Bug#14063)
13355 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13357         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13358         and suffixes don't overlap (bug#14061).
13360         * case-table.el: Use lexical-binding.
13361         (case-table-get-table): New function.
13362         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
13364 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
13366         * progmodes/subword.el: Add `superword-mode' to do word motion
13367         over symbol_words (parallels and leverages `subword-mode' which
13368         does word motion inside MixedCaseWords).
13370 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
13372         * eshell/em-unix.el: Move su and sudo to...
13373         * eshell/em-tramp.el: ...Eshell tramp module.
13375 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13377         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13378         Change return value to be a sexp.  Delay `get-buffer' to after
13379         restoring the desktop (bug#13951).
13381 2013-03-26  Leo Liu  <sdl.web@gmail.com>
13383         * register.el: Move semantic tag handling back to
13384         cedet/semantic/senator.el.  (Bug#14052)
13386 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13388         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13389         into the prompt either (bug#13963).
13391 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13393         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13394         part of "(error-foo)".
13396 2013-03-24  Juri Linkov  <juri@jurta.org>
13398         * replace.el (list-matching-lines-prefix-face): New defcustom.
13399         (occur-1): Pass `list-matching-lines-prefix-face' to the function
13400         `occur-engine' if `face-differs-from-default-p' returns t.
13401         (occur-engine): Add `,' inside backquote construct to evaluate
13402         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
13403         Pass `prefix-face' to the functions `occur-context-lines' and
13404         `occur-engine-add-prefix'.
13405         (occur-engine-add-prefix, occur-context-lines): Add optional arg
13406         `prefix-face' and propertize the prefix with `prefix-face'.
13407         (Bug#14017)
13409 2013-03-24  Leo Liu  <sdl.web@gmail.com>
13411         * nxml/rng-valid.el (rng-validate-while-idle)
13412         (rng-validate-quick-while-idle): Guard against deleted buffer.
13413         (Bug#13999)
13415         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13416         is the last entry in kill-buffer-hook.
13418         * files.el (kill-buffer-hook): Doc fix.
13420 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
13422         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13423         Make it safe-local.
13425         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13427 2013-03-23  Leo Liu  <sdl.web@gmail.com>
13429         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13430         Remove.
13432         * nxml/rng-valid.el (rng-validate-mode)
13433         (rng-after-change-function, rng-do-some-validation):
13434         * nxml/rng-maint.el (rng-validate-buffer):
13435         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13436         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13437         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13438         (nxml-extend-after-change-region): Use with-silent-modifications.
13440         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13441         timer-idle-list.
13443         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13444         (rng-next-error-1, rng-previous-error-1): Do not let-bind
13445         timer-idle-list.  (Bug#13999)
13447 2013-03-23  Juri Linkov  <juri@jurta.org>
13449         * info.el (info-index-match): New face.
13450         (Info-index, Info-apropos-matches): Add a nested subgroup to the
13451         main pattern and add text properties with the new face to matches
13452         in index entries relative to the beginning of the index entry.
13453         (Bug#14015)
13455 2013-03-21  Eric Ludlam  <zappo@gnu.org>
13457         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13458         Inhibit read only while inserting objects.
13460 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
13462         * progmodes/cfengine.el: Update docs to mention
13463         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
13464         symbol motion.  Remove "_" from the word syntax.
13466 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
13468         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13469         syntax for both `cfengine2-mode' and `cfengine3-mode'.
13471 2013-03-20  Juri Linkov  <juri@jurta.org>
13473         * info.el (Info-next-reference-or-link)
13474         (Info-prev-reference-or-link): New functions.
13475         (Info-next-reference, Info-prev-reference): Use them.
13476         (Info-try-follow-nearest-node): Handle footnote navigation.
13477         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
13479 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13481         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13482         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13484 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
13486         Suppress unnecessary non-ASCII chatter during build process.
13487         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13488         (batch-skkdic-convert): Suppress most of the chatter.
13489         It's not needed so much now that machines are faster,
13490         and its non-ASCII component was confusing; see Dmitry Gutov in
13491         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13493 2013-03-20  Leo Liu  <sdl.web@gmail.com>
13495         * ido.el (ido-chop): Fix bug#10994.
13497 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
13499         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13500         Remove vars.
13501         (whitespace-color-on, whitespace-color-off):
13502         Use `font-lock-fontify-buffer' (Bug#13817).
13504 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13506         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13507         remapping in mode-line.
13508         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13510 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
13512         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13513         value for `whitespace-line' face (Bug#13875).
13514         (whitespace-font-lock-keywords): Change description.
13515         (whitespace-color-on): Don't save `font-lock-keywords' value, save
13516         the constructed keywords instead.
13517         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13519 2013-03-19  Leo Liu  <sdl.web@gmail.com>
13521         * progmodes/compile.el (compilation-display-error): New command.
13522         (compilation-mode-map, compilation-minor-mode-map): Bind it to
13523         C-o.  (Bug#13992)
13525 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
13527         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13529 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
13531         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13533 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
13535         * net/tramp-compat.el (tramp-compat-user-error): New defun.
13537         * net/tramp-adb.el (tramp-adb-handle-shell-command):
13538         * net/tramp-gvfs.el (top):
13539         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13540         (tramp-handle-shell-command): Use it.
13541         (tramp-dissect-file-name): Raise an error when hostname is a
13542         method name, and neither method nor user is specified.
13544         * net/trampver.el: Update release number.
13546 2013-03-18  Leo Liu  <sdl.web@gmail.com>
13548         Make sure eldoc can be turned off properly.
13549         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13550         eldoc-mode.
13551         (eldoc-display-message-p): Revert last change.
13552         (eldoc-display-message-no-interference-p)
13553         (eldoc-print-current-symbol-info): Tweak.
13555 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
13557         * doc-view.el (doc-view-new-window-function): Check the new window
13558         overlay's display property instead the char property of the
13559         buffer's first char.  Use `with-selected-window' instead of
13560         `save-window-excursion' with `select-window'.
13561         (doc-view-document->bitmap): Check the current doc-view overlay's
13562         display property instead the char property of the buffer's first char.
13564 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
13566         Automate the build of ja-dic.el (Bug#13984).
13567         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13568         from the input, rather than assume that it's been done for us by the
13569         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
13570         the current date into a ja-dic.el comment, as that complicates
13571         regression testing.
13573 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13575         * whitespace.el: Fix double evaluation.
13576         (whitespace-space, whitespace-hspace, whitespace-tab)
13577         (whitespace-newline, whitespace-trailing, whitespace-line)
13578         (whitespace-space-before-tab, whitespace-indentation)
13579         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13580         obsolete defvars.
13581         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13582         (whitespace-color-on): Use a single font-lock-add-keywords call.
13583         Fix double-evaluation of face variables.
13585 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
13587         * net/tramp-adb.el (tramp-adb-parse-device-names):
13588         Use `start-process' instead of `call-process'.  Otherwise, the
13589         function might be blocked under MS Windows.  (Bug#13299)
13591 2013-03-17  Leo Liu  <sdl.web@gmail.com>
13593         Extend eldoc to display info in the mode-line.  (Bug#13978)
13594         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13595         (eldoc-mode-line-string): New variable.
13596         (eldoc-minibuffer-message): New function.
13597         (eldoc-message-function): New variable.
13598         (eldoc-message): Use it.
13599         (eldoc-display-message-p)
13600         (eldoc-display-message-no-interference-p):
13601         Support eldoc-post-insert-mode.
13603         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13604         (eval-expression): Run it.
13606 2013-03-17  Roland Winkler  <winkler@gnu.org>
13608         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13609         strings in the list of return values.
13611 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
13613         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13614         radix before checking for HMS forms.
13616 2013-03-16  Leo Liu  <sdl.web@gmail.com>
13618         * progmodes/scheme.el: Add indentation and font-locking for λ.
13619         (Bug#13975)
13621 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13623         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13624         token before point (bug#13942).
13626 2013-03-16  Leo Liu  <sdl.web@gmail.com>
13628         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
13630 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
13632         * startup.el (command-line-normalize-file-name): Fix handling of
13633         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
13634         <xfq.free@gmail.com> in
13635         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13637 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
13639         Sync with Tramp 2.2.7.
13641         * net/trampver.el: Update release number.
13643 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
13645         * doc-view.el: Fix bug#13887.
13646         (doc-view-insert-image): Don't modify overlay associated to
13647         non-live windows, and implement horizontal centering of image in
13648         case it's smaller than the window.
13649         (doc-view-new-window-function): Force redisplay of new windows on
13650         doc-view buffers.
13652 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
13654         * saveplace.el (save-place-alist-to-file): Don't sort
13655         `save-place-alist', just pretty-print it (bug#13882).
13657 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
13659         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13660         Check whether `default-file-name-coding-system' is bound.
13661         It isn't in XEmacs.
13663 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13665         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13666         backquotes for `obsolete' (bug#13929).
13668         * international/mule.el (find-auto-coding): Include file name in
13669         obsolescence warning (bug#13922).
13671 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
13673         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13674         for CFEngine 3-specific indentation.
13675         (cfengine3-indent-line): Use it.  Fix up category regex.
13676         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13678 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13680         * type-break.el (type-break-file-name):
13681         * textmodes/remember.el (remember-data-file):
13682         * strokes.el (strokes-file):
13683         * shadowfile.el (shadow-initialize):
13684         * saveplace.el (save-place-file):
13685         * ps-bdf.el (bdf-cache-file):
13686         * progmodes/idlwave.el (idlwave-config-directory):
13687         * net/quickurl.el (quickurl-url-file):
13688         * international/kkc.el (kkc-init-file-name):
13689         * ido.el (ido-save-directory-list-file):
13690         * emulation/viper.el (viper-custom-file-name):
13691         * emulation/vip.el (vip-startup-file):
13692         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13693         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13695 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
13697         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13698         * language/thai-word.el: Switch to UTF-8.
13700 See ChangeLog.16 for earlier changes.
13702 ;; Local Variables:
13703 ;; coding: utf-8
13704 ;; End:
13706   Copyright (C) 2011-2014 Free Software Foundation, Inc.
13708   This file is part of GNU Emacs.
13710   GNU Emacs is free software: you can redistribute it and/or modify
13711   it under the terms of the GNU General Public License as published by
13712   the Free Software Foundation, either version 3 of the License, or
13713   (at your option) any later version.
13715   GNU Emacs is distributed in the hope that it will be useful,
13716   but WITHOUT ANY WARRANTY; without even the implied warranty of
13717   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13718   GNU General Public License for more details.
13720   You should have received a copy of the GNU General Public License
13721   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.