Complete file name handlers.
[emacs.git] / lisp / ChangeLog
blobe80c34d384283bd6f6c8a3f2de07a6bfd4dd67ca
1 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
3         Complete file name handlers.
5         * net/tramp.el (tramp-handle-set-visited-file-modtime)
6         (tramp-handle-verify-visited-file-modtime)
7         (tramp-handle-file-notify-rm-watch): New functions.
8         (tramp-call-process): Do not bind `default-directory'.
10         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Order
11         alphabetically.
12         [access-file, add-name-to-file, dired-call-process]:
13         [dired-compress-file, file-acl, file-notify-rm-watch]:
14         [file-ownership-preserved-p, file-selinux-context]:
15         [make-directory-internal, make-symbolic-link, set-file-acl]:
16         [set-file-selinux-context, set-visited-file-modtime]:
17         [verify-visited-file-modtime]: Add handler.
18         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
20         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
21         [file-notify-add-watch, file-notify-rm-watch]:
22         [set-file-times, set-visited-file-modtime]:
23         [verify-visited-file-modtime]: Add handler.
24         (with-tramp-gvfs-error-message)
25         (tramp-gvfs-handle-set-visited-file-modtime)
26         (tramp-gvfs-fuse-file-name): Remove.
27         (tramp-gvfs-handle-file-notify-add-watch)
28         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
29         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
31         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Order
32         alphabetically.
33         [file-notify-rm-watch ]: Use default Tramp handler.
34         [executable-find]: Remove private handler.
35         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
36         `default-directory'.
37         (tramp-sh-handle-executable-find)
38         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
39         (tramp-sh-file-gvfs-monitor-dir-process-filter)
40         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
41         Do not use `format' in `tramp-message'.
43         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
44         [file-notify-rm-watch, set-visited-file-modtime]:
45         [verify-visited-file-modtime]: Add handler.
46         (tramp-smb-call-winexe): Do not bind `default-directory'.
48 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
50         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
52 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
54         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
55         use it.
56         (log-view-diff-changeset): Same.
57         (log-view-diff-common): Call backend command `previous-revision'
58         to find out the previous revision, in both cases.  Swap the
59         variables `to' and `fr', so that `fr' usually refers to the
60         earlier revision (Bug#14989).
62 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
64         * ibuf-ext.el (ibuffer-filter-by-filename):
65         Make it work with dired buffers too.
67 2013-07-31  Dmitry Antipov <dmantipov@yandex.ru>
69         * emacs-lisp/re-builder.el (reb-color-display-p):
70         * files.el (save-buffers-kill-terminal):
71         * net/browse-url.el (browse-url):
72         * server.el (server-save-buffers-kill-terminal):
73         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
74         Prefer nil to selected-frame for the first arg of frame-parameter.
76 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
78         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
80 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
82         * minibuffer.el (completion--twq-all): Try and preserve each
83         completion's case choice (bug#14907).
85 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
87         * net/network-stream.el (open-network-stream): Mention the new
88         :nogreeting parameter.
89         (network-stream-open-starttls): Use the :nogreeting parameter
90         (bug#14938).
92         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
94         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
95         more natural than popping.
97         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
98         (shr-urlify): Highlight under mouse.
100 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
102         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
104         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
106         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
107         buffer for output.
109         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
110         point-min==1.  Fix search string.  Fix parentheses missing.
112         * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
113         assume point-min==1.  Fix search string.  Fix parentheses missing.
115         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
117         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
118         buffer for output.
120 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
122         * frame.el (frame-notice-user-settings): Avoid inflooping when the
123         initial frame is minibuffer-less.  (Bug#14841)
125 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
127         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
128         option.
130         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
131         (tramp-maybe-open-connection): Use it.
133 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
135         * desktop.el (desktop--make-frame): Include `minibuffer' in the
136         minimal set of parameters passed when creating a frame, because
137         the minibuffer status of a frame cannot be changed later.
139 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
141         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
142         replace-regexp-in-string and inadvertent omissions in previous change.
143         (todo-filter-items): Ensure only file names are comma-separated in
144         name of filtered items buffer.
146 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
148         * desktop.el: Optionally force offscreen frames back onscreen.
149         (desktop-restoring-reuses-frames): New option.
150         (desktop--compute-pos, desktop--move-onscreen): New functions.
151         (desktop--make-frame): Use desktop--move-onscreen.
153 2013-07-27  Alan Mackenzie  <acm@muc.de>
155         Fontify a Java generic method as a function.
156         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
157         value to t.
159 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
161         * calendar/todo-mode.el: Add command to rename todo files.
162         (todo-rename-file): New command.
163         (todo-key-bindings-t): Add key binding for it.  Change the
164         bindings of todo-filter-regexp-items(-multifile) to use `x'
165         instead of `r', since the latter is better suited to the new
166         renaming command.
168 2013-07-27  Alan Mackenzie  <acm@muc.de>
170         Make Java try-with-resources statement parse properly.
171         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
172         (c-block-stmt-1-2-key): New language constants/variables.
173         * progmodes/cc-engine.el (c-beginning-of-statement-1)
174         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
175         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
176         with c-block-stmet-1-2-key.
178 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
180         * desktop.el (desktop--make-frame): Apply most frame parameters after
181         creating the frame to force (partially or totally) offscreen frames to
182         be restored as such.
184 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
186         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
187         (Bug#14948)
189 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
191         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
192         `base' arg of backtrace-frame.
194 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
196         * simple.el (list-processes): Doc fix.
198 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
200         * desktop.el (desktop--select-frame):
201         Try harder to reuse existing frames.
203 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
205         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
206         (edebug-eval): Use backtrace-eval.
207         (edebug--display, edebug--recursive-edit): Don't let-bind the
208         edebug-outer-* vars that keep track of variables we locally let-bind.
209         (edebug-outside-excursion): Don't restore outside values of locally
210         let-bound vars.
211         (edebug--display): Use user-error.
212         (cl-lexical-debug, cl-debug-env): Remove.
214 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
216         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
217         are restored to be sure that they are visible before deleting any
218         remaining ones.
220 2013-07-26  Matthias Meulien  <orontee@gmail.com>
222         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
223         vc-print-root-log.  (Bug#14948)
225 2013-07-26  Richard Stallman  <rms@gnu.org>
227         Add aliases for encrypting mail.
228         * epa.el (epa-mail-aliases): New option.
229         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
230         Bind inhibit-read-only so read-only text doesn't ruin everything.
231         (epa-mail-default-recipients): New subroutine broken out.
232         Handle epa-mail-aliases.
234 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
236         Add support for lexical variables to the debugger's `e' command.
237         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
238         vars, except for debugger-outer-match-data.
239         (debugger-frame-number): Move check for "on a function call" from
240         callers into it.  Add `skip-base' argument.
241         (debugger-frame, debugger-frame-clear): Simplify accordingly.
242         (debugger-env-macro): Only reset the state stored in non-variables,
243         i.e. current-buffer and match-data.
244         (debugger-eval-expression): Rewrite using backtrace-eval.
245         * subr.el (internal--called-interactively-p--get-frame): Remove.
246         (called-interactively-p):
247         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
248         `base' arg of backtrace-frame instead.
250 2013-07-26  Glenn Morris  <rgm@gnu.org>
252         * align.el (align-regexp): Doc fix.  (Bug#14857)
253         (align-region): Explicit error if subexpression missing/does not match.
255         * simple.el (global-visual-line-mode):
256         Do not duplicate the mode lighter.  (Bug#14858)
258 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
260         * window.el (display-buffer): In display-buffer bind
261         split-window-keep-point to t, bug#14829.
263 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
265         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
266         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
267         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
268         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
269         Change accordingly.
270         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
271         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
273 2013-07-25  Glenn Morris  <rgm@gnu.org>
275         * dired-x.el (dired-mark-extension): Convert comment to doc string.
277 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
279         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
280         parameter to modify-frame-parameters if the value has not changed;
281         this is a workaround for bug#14949.
282         (desktop--make-frame): On cl-delete-if call, check parameter name,
283         not full parameter.
285 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
287         * vc/vc.el (vc-ignore): New function.
289         * vc/vc-svn.el (vc-svn-ignore): New function.
291         * vc/vc-hg.el (vc-hg-ignore): New function.
293         * vc/vc-git.el (vc-git-ignore): New function.
295         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
296         (vc-dir-ignore): New function.
298         * vc/vc-cvs.el (vc-cvs-ignore): New function.
299         (cvs-append-to-ignore): Move here from pcvs.el.
301         * vc/vc-bzr.el (vc-bzr-ignore): New function.
303         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
305 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
307         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
308         (desktop-restore-frames): Warn when deleting an existing frame failed.
310 2013-07-24  Glenn Morris  <rgm@gnu.org>
312         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
314 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
316         * filenotify.el (file-notify-supported-p):
317         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
318         Remove functions.
320         * autorevert.el (auto-revert-use-notify):
321         (auto-revert-notify-add-watch):
322         * net/tramp.el (tramp-file-name-for-operation):
323         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
324         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
325         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
326         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
327         Remove `file-notify-supported-p' entry.
329 2013-07-24  Glenn Morris  <rgm@gnu.org>
331         * printing.el: Replace all uses of deleted ps-windows-system,
332         ps-lp-system, ps-flatten-list with lpr- versions.
334 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
336         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
337         checked with memq (bug#14935).
339         * files.el (revert-buffer-function): Use a non-nil default.
340         (revert-buffer-preserve-modes): Declare var to
341         provide access to the `preserve-modes' argument.
342         (revert-buffer): Let-bind it.
343         (revert-buffer--default): New function, extracted from revert-buffer.
345 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
347         * lpr.el: Signal print errors more prominently.
348         (print-region-function): Don't default to nil.
349         (lpr-print-region): New function, extracted from print-region-1.
350         Check lpr's return value and signal an error in case of problem.
351         (print-region-1): Use it.
352         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
353         versions instead.
354         (ps-printer-name): Default to nil.
355         (ps-printer-name-option): Default to lpr-printer-switch.
356         (ps-print-region-function): Don't default to nil.
357         (ps-postscript-code-directory): Simplify default.
358         (ps-do-despool): Use lpr-print-region to properly check the outcome.
359         (ps-string-list, ps-eval-switch, ps-flatten-list)
360         (ps-flatten-list-1): Remove.
361         (ps-multibyte-buffer): Avoid setq.
362         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
363         (print-region-function, ps-print-region-function): Don't set them here.
365 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
367         * ido.el (ido-fractionp):
368         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
369         (ido-max-file-prompt-width, ido-unc-hosts-cache)
370         (ido-max-directory-size, ido-max-dir-file-cache)
371         (ido-decorations): Doc fix.
373         * ansi-color.el: Fix old URL.
375 2013-07-23  Michael R. Mauger  <michael@mauger.com>
377         * progmodes/sql.el Version 3.3
378         (sql-product-alist): Improve oracle :prompt-cont-regexp.
379         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
380         (sql-interactive-remove-continuation-prompt): Rewrite, use
381         functions above.  Fix continuation prompt and complete output line
382         handling.
383         (sql-redirect-one, sql-execute): Use `read-only-mode' on
384         redirected output buffer.
385         (sql-mode): Restore deleted code (Bug#13591).
387 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
389         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
391 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
393         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
395         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
396         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
397         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
399 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
401         * desktop.el (desktop-clear): Simplify; remove useless checks
402         against invalid buffer names.
403         (desktop-list*): Use cl-list*.
404         (desktop-buffer-info, desktop-create-buffer): Simplify.
406 2013-07-23  Leo Liu  <sdl.web@gmail.com>
408         * bookmark.el (bookmark-make-record): Restore NAME as a default
409         value.  (Bug#14933)
411 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
413         * emacs-lisp/autoload.el (autoload--setup-output): New function,
414         extracted from autoload--insert-text.
415         (autoload--insert-text): Remove.
416         (autoload--print-cookie-text): New function, extracted from
417         autoload--insert-cookie-text.
418         (autoload--insert-cookie-text): Remove.
419         (autoload-generate-file-autoloads): Adjust calls accordingly.
421         * winner.el (winner-hook-installed-p): Remove.
422         (winner-mode): Simplify accordingly.
424         * subr.el (add-to-list): Fix compiler-macro when `append' is
425         not constant.  Don't use `cl-member' for the base case.
427         * progmodes/subword.el: Fix boundary case (bug#13758).
428         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
429         own group.
430         (subword-backward-regexp): Make it a constant.
431         (subword-forward-internal): Don't treat a trailing capital as the
432         beginning of a word.
434 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
436         * emacs-lisp/package.el (package-menu-mode): Don't modify the
437         global value of tabulated-list-revert-hook (bug#14930).
439 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
441         * desktop.el: Require 'cl-lib.
442         (desktop-before-saving-frames-functions): New hook.
443         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
444         for frames being saved.  Rename from desktop--save-minibuffer-frames.
445         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
446         Do not save frames with non-nil `desktop-dont-save' parameter.
447         Filter out deleted frames.
448         (desktop--find-frame): Use cl-find-if.
449         (desktop--select-frame): Use cl-(first|second|third) to access values
450         of desktop-mini.
451         (desktop--make-frame): Use cl-delete-if.
452         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
453         (desktop-restore-frames): Use cl-(first|second|third) to access values
454         of desktop-mini.  Look for visible frame at the end, not while
455         restoring frames.
457         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
458         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
459         Use string-match-p, looking-at-p (bug#14927).
461 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
463         * desktop.el (desktop-saved-frame-states):
464         Rename from desktop--saved-states; all users changed.
465         (desktop-save-frames): Rename from desktop--save-frames.
466         Do not save state to desktop file.
467         (desktop-save): Save desktop-saved-frame-states to desktop file
468         and reset to nil.
469         (desktop-restoring-frames-p): New function.
470         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
471         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
472         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
474         * desktop.el: Correctly restore iconified frames.
475         (desktop--filter-iconified-position): New function.
476         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
478 2013-07-20  Glenn Morris  <rgm@gnu.org>
480         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
481         Let `message' do the formatting.
482         (def-gdb-preempt-display-buffer): Add explicit format.
484         * image-dired.el (image-dired-track-original-file):
485         Use with-current-buffer.
486         (image-dired-track-thumbnail): Use with-current-buffer.
487         Avoid changing point of wrong window.
489         * image-dired.el (image-dired-track-original-file):
490         Avoid changing point of wrong window.  (Bug#14909)
492 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
494         * progmodes/gdb-mi.el (gdb-done-or-error):
495         Guard against "%" in gdb output.  (Bug#14127)
497 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
499         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
500         (Bug#14826)
502         * international/mule.el (coding-system-iso-2022-flags): Fix last
503         change.
505 2013-07-20  Kenichi Handa  <handa@gnu.org>
507         * international/mule.el (coding-system-iso-2022-flags):
508         Add `8-bit-level-4'.  (Bug#8522)
510 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
512         * net/shr.el (shr-mouse-browse-url): New command and keystroke
513         (bug#14815).
515         * net/eww.el (eww-process-text-input): Allow inputting when the
516         point is at the start of the line, as the properties aren't
517         front-sticky.
519         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
520         degenerate widths.
522 2013-07-19  Richard Stallman  <rms@gnu.org>
524         * epa.el (epa-popup-info-window): Doc fix.
526         * subr.el (split-string): New arg TRIM.
528 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
530         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
531         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
533 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
535         * filenotify.el (file-notify--library): Rename from
536         `file-notify-support'.  Do not autoload.  Adapt all uses.
537         (file-notify-supported-p): New defun.
539         * autorevert.el (auto-revert-use-notify):
540         Use `file-notify-supported-p' instead of `file-notify-support'.
541         Adapt docstring.
542         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
544         * net/tramp.el (tramp-file-name-for-operation):
545         Add `file-notify-supported-p'.
547         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
548         New defun.
549         (tramp-sh-file-name-handler-alist): Add it as handler for
550         `file-notify-supported-p '.
552         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
553         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
554         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
555         Add `ignore' as handler for `file-notify-*' functions.
557 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
559         * simple.el (line-move-partial, line-move): Don't start vscroll or
560         scroll-up if the current line is not taller than the window.
561         (Bug#14881)
563 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
565         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
566         highlight question marks in the method names as strings.
567         (ruby-block-beg-keywords): Inline.
568         (ruby-font-lock-keyword-beg-re): Extract from
569         `ruby-font-lock-keywords'.
571 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
573         * frame.el (blink-cursor-blinks): New defcustom.
574         (blink-cursor-blinks-done): New defvar.
575         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
576         (blink-cursor-timer-function): Check if number of blinks has been
577         done on X and NS.
578         (blink-cursor-suspend, blink-cursor-check): New defuns.
580 2013-07-15  Glenn Morris  <rgm@gnu.org>
582         * edmacro.el (edmacro-format-keys): Fix previous change.
584 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
586         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
587         The hack didn't work outside English locales anyway.
589 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
591         * simple.el (define-alternatives): Rename from alternatives-define,
592         per RMS' suggestion.
594 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
596         * desktop.el (desktop-restore-frames): Change default to t.
597         (desktop-restore-in-current-display): Now offer more options.
598         (desktop-restoring-reuses-frames): New customization option.
599         (desktop--saved-states): Doc fix.
600         (desktop-filter-parameters-alist): New variable, renamed and expanded
601         from desktop--excluded-frame-parameters.
602         (desktop--target-display): New variable.
603         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
604         (desktop--filter-tty*, desktop--filter-*-color)
605         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
606         (desktop--filter-save-desktop-parm)
607         (desktop-restore-in-original-display-p): New functions.
608         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
609         (desktop--save-minibuffer-frames): New function, inspired by a similar
610         function from Martin Rudalics.
611         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
612         (desktop--restore-in-this-display-p): Remove.
613         (desktop--find-frame): Rename from desktop--find-frame-in-display
614         and add predicate argument.
615         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
616         (desktop--reuse-list): New variable.
617         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
618         New functions.
619         (desktop--restore-frames): Add support for "minibuffer-special" frames.
621 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
623         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
625 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
627         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
628         Highlight conversion methods on Kernel.
630 2013-07-13  Alan Mackenzie  <acm@muc.de>
632         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
633         and comment it out.  This out-commenting enables certain C++
634         declarations to be parsed correctly.
636 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
638         * international/mule.el (define-coding-system): Doc fix.
640         * simple.el (default-font-height): Don't call font-info if the
641         frame's default font didn't change since the frame was created.
642         (Bug#14838)
644 2013-07-13  Leo Liu  <sdl.web@gmail.com>
646         * ido.el (ido-read-file-name): Guard against non-symbol value.
648 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
650         * progmodes/python.el (python-imenu--build-tree): Fix corner case
651         in nested defuns.
653 2013-07-13  Leo Liu  <sdl.web@gmail.com>
655         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
656         ido-set-matches call.  (Bug#6852)
658 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
660         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
661         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
662         Ruby 2.0.
663         (ruby-font-lock-keywords): Distinguish calls to functions with
664         module-like names from module references.  Highlight character
665         literals.
667 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
669         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
670         (gdb-send): Handle continued commands.  (Bug#14847)
672 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
674         * desktop.el (desktop--v2s): Remove unused local variable.
675         (desktop-save-buffer): Make defvar-local; adjust docstring.
676         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
677         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
679 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
681         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
683 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
685         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
686         (Bug#14842)
688 2013-07-12  Glenn Morris  <rgm@gnu.org>
690         * doc-view.el: Require cl-lib at runtime too.
691         (doc-view-remove-if): Remove.
692         (doc-view-search-next-match, doc-view-search-previous-match):
693         Use cl-remove-if.
695         * edmacro.el: Require cl-lib at runtime too.
696         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
697         (edmacro-mismatch, edmacro-subseq): Remove.
699         * shadowfile.el: Require cl-lib.
700         (shadow-remove-if): Remove.
701         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
702         Use cl-remove-if.
704         * wid-edit.el: Require cl-lib.
705         (widget-choose): Use cl-remove-if.
706         (widget-remove-if): Remove.
708         * progmodes/ebrowse.el: Require cl-lib at runtime too.
709         (ebrowse-delete-if-not): Remove.
710         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
711         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
712         Use cl-delete-if-not.
714 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
716         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
717         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
719 2013-07-12  Leo Liu  <sdl.web@gmail.com>
721         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
723 2013-07-11  Glenn Morris  <rgm@gnu.org>
725         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
726         (edebug-gensym-index, edebug-gensym):
727         Remove reimplementation of cl-gensym.
728         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
730         * thumbs.el: Require cl-lib at run-time too.
731         (thumbs-gensym-counter, thumbs-gensym):
732         Remove reimplementation of cl-gensym.
733         (thumbs-temp-file): Use cl-gensym.
735         * emacs-lisp/ert.el: Require cl-lib at runtime too.
736         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
737         (ert--intersection, ert--set-difference, ert--set-difference-eq)
738         (ert--union, ert--gensym-counter, ert--gensym-counter)
739         (ert--coerce-to-vector, ert--remove*, ert--string-position)
740         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
741         (ert-make-test-unbound, ert--expand-should-1)
742         (ert--expand-should, ert--should-error-handle-error)
743         (should-error, ert--explain-equal-rec)
744         (ert--plist-difference-explanation, ert-select-tests)
745         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
746         Use cl-lib functions rather than reimplementations.
748 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
750         * net/tramp.el (tramp-methods): Extend docstring.
751         (tramp-connection-timeout): New defcustom.
752         (tramp-error-with-buffer): Reset timestamp only when appropriate.
753         (with-tramp-progress-reporter): Simplify.
754         (tramp-process-actions): Improve messages.
756         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
757         * net/tramp-sh.el (tramp-maybe-open-connection):
758         Use `tramp-connection-timeout'.
759         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
760         (Bug#14808)
762 2013-07-11  Leo Liu  <sdl.web@gmail.com>
764         * ido.el (ido-read-file-name): Conform to the requirements of
765         read-file-name.  (Bug#11861)
766         (ido-read-directory-name): Conform to the requirements of
767         read-directory-name.
769 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
771         * subr.el (delay-warning): New function.
773 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
775         * simple.el (default-line-height): New function.
776         (line-move-partial, line-move): Use it instead of computing the
777         line height inline.
778         (line-move-partial): Always compute ROWH.  If the last line is
779         partially-visible, but its text is completely visible, allow
780         cursor to enter such a partially-visible line.
782 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
784         Improve error messages.  (Bug#14808)
786         * net/tramp.el (tramp-current-connection): New defvar, moved from
787         tramp-sh.el.
788         (tramp-message-show-progress-reporter-message): Remove, not
789         needed anymore.
790         (tramp-error-with-buffer): Show message in minibuffer.
791         Discard input before waiting.  Reset connection timestamp.
792         (with-tramp-progress-reporter): Improve messages.
793         (tramp-process-actions): Use progress reporter.  Delete process in
794         case of error.  Improve messages.
796         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
797         Call `tramp-error-with-buffer' with vector and buffer.
798         (tramp-current-connection): Remove.
799         (tramp-maybe-open-connection): The car of
800         `tramp-current-connection' are the first 3 slots of the vector.
802 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
804         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
805         inside continued strings.
807 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
809         Timestamp fixes for undo (Bug#14824).
810         * files.el (clear-visited-file-modtime): Move here from fileio.c.
812 2013-07-10  Leo Liu  <sdl.web@gmail.com>
814         * files.el (require-final-newline): Allow safe local value.
815         (Bug#14834)
817 2013-07-09  Leo Liu  <sdl.web@gmail.com>
819         * ido.el (ido-read-directory-name): Handle fallback.
820         (ido-read-file-name): Update DIR to ido-current-directory.
821         (Bug#1516)
822         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
824 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
826         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
827         "autoload".  Remove "warn lower camel case" section, previously
828         commented out.  Highlight negation char.  Do not highlight the
829         target in singleton method definitions.
831 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
833         * faces.el (tty-setup-hook): Declare the hook.
835         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
836         and detect when a guard/pred depends on local vars (bug#14773).
837         (pcase--u1): Adjust caller.
839 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
841         * simple.el (line-move-partial, line-move): Account for
842         line-spacing.
843         (line-move-partial): Avoid setting vscroll when the last
844         partially-visible line in window is of default height.
846 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
848         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
849         been used a while.
851 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
853         * subr.el (read-quoted-char): Remove unused local variable `char'.
855 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
857         * ediff.el (ediff-version): Version update.
858         (ediff-files-command, ediff3-files-command, ediff-merge-command)
859         (ediff-merge-with-ancestor-command, ediff-directories-command)
860         (ediff-directories3-command, ediff-merge-directories-command)
861         (ediff-merge-directories-with-ancestor-command): New functions.
862         All are command-line interfaces to ediff: to facilitate calling
863         Emacs with the appropriate ediff functions invoked.
865         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
866         (viper-save-kill-buffer): Check if buffer is modified.
868         * viper.el (viper-version): Version update.
869         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
871 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
873         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
874         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
875         (viper-intercept-ESC-key): Simplify.
876         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
877         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
878         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
879         (viper-setup-ESC-to-escape): New functions.
880         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
881         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
883 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
885         * simple.el (default-font-height, window-screen-lines):
886         New functions.
887         (line-move, line-move-partial): Use them instead of
888         frame-char-height and window-text-height.  This makes scrolling
889         text smoother when the buffer's default face uses a font that is
890         different from the frame's default font.
892 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
894         * files.el (write-file): Do not display confirm dialog for NS,
895         it does its own dialog, which can't be cancelled (Bug#14578).
897 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
899         * simple.el (line-move-partial): Adjust the row returned by
900         posn-at-point for the current window-vscroll.  (Bug#14567)
902 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
904         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
905         (tramp-sh-file-inotifywait-process-filter): Handle file names with
906         spaces.
908 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
910         * window.el (window-state-put-stale-windows): New variable.
911         (window--state-put-2): Save list of windows without matching buffer.
912         (window-state-put): Remove "bufferless" windows if possible.
914 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
916         * simple.el (alternatives-define): Remove leftover :group keyword.
917         Tweak docstring.
919 2013-07-06  Leo Liu  <sdl.web@gmail.com>
921         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
922         (ido-enable-virtual-buffers): New variable.
923         (ido-buffer-internal, ido-toggle-virtual-buffers)
924         (ido-make-buffer-list): Use it.
925         (ido-exhibit): Support turning on and off virtual buffers
926         automatically.
928 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
930         * simple.el (alternatives-define): New macro.
932 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
934         * subr.el (read-quoted-char): Use read-key.
935         (sit-for): Let read-event decode tty input (bug#14782).
937 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
939         * calendar/todo-mode.el: Add handling of file deletion, both by
940         mode command and externally.  Fix various related bugs.
941         Clarify Commentary and improve some documentation strings and code.
942         (todo-delete-file): New command.
943         (todo-check-file): New function.
944         (todo-show): Handle external deletion of the file we're trying to
945         show (bug#14688).  Replace called-interactively-p by an optional
946         prefix argument to avoid problematic interaction with catch form
947         when byte compiled (bug#14702).
948         (todo-quit): Handle external deletion of the archive's todo file.
949         Make sure the buffer that was visiting the archive file is still
950         live before trying to bury it.
951         (todo-category-completions): Handle external deletion of any
952         category completion files.
953         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
954         of todo files, in case of external deletion.
955         (todo-add-file): Replace unnecessary setq by let-binding.
956         (todo-find-archive): Check whether there are any archives.
957         Replace unnecessary setq by let-binding.
958         (todo-archive-done-item): Use find-file-noselect to get the
959         archive buffer whether or not the archive already exists.
960         Remove superfluous code.  Use file size instead of buffer-file-name to
961         check if the archive is new; if it is, update list of archives.
962         (todo-default-todo-file): Allow nil to be a valid value for when
963         there are no todo files.
964         (todo-reevaluate-default-file-defcustom): Use corrected definition
965         of todo-default-todo-file.
966         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
967         (todo-delete-category, todo-show-categories-table)
968         (todo-category-number): Clarify comment.
969         (todo-filter-items): Clarify documentation string.
970         (todo-show-current-file, todo-display-as-todo-file)
971         (todo-reset-and-enable-done-separator): Tweak documentation string.
972         (todo-done-separator): Make separator length window-width, since
973         bug#2749 is now fixed.
975 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
977         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
978         Support both "gvfs-monitor-dir" and "inotifywait".
979         (tramp-sh-file-inotifywait-process-filter): Rename from
980         `tramp-sh-file-notify-process-filter'.
981         (tramp-sh-file-gvfs-monitor-dir-process-filter)
982         (tramp-get-remote-gvfs-monitor-dir): New defuns.
984 2013-07-05  Leo Liu  <sdl.web@gmail.com>
986         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
988 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
990         * frame.el (display-pixel-height, display-pixel-width)
991         (display-mm-height, display-mm-width): Mention behavior on
992         multi-monitor setups in docstrings.
993         (w32-display-monitor-attributes-list): Declare function.
994         (display-monitor-attributes-list): Use it.
996 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
998         * filenotify.el: New package.
1000         * autorevert.el (top): Require filenotify.el.
1001         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
1002         instead.
1003         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1004         (auto-revert-notify-handler): Use `file-notify-*' functions.
1006         * subr.el (file-notify-handle-event): Move function to filenotify.el.
1008         * net/tramp.el (tramp-file-name-for-operation):
1009         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
1011         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1012         for `file-notify-add-watch' and `file-notify-rm-watch'.
1013         (tramp-process-sentinel): Improve trace.
1014         (tramp-sh-handle-file-notify-add-watch)
1015         (tramp-sh-file-notify-process-filter)
1016         (tramp-sh-handle-file-notify-rm-watch)
1017         (tramp-get-remote-inotifywait): New defuns.
1019 2013-07-03  Juri Linkov  <juri@jurta.org>
1021         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
1022         call of `occur-read-primary-args' to interactive spec.
1024         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
1025         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
1027 2013-07-03  Matthias Meulien  <orontee@gmail.com>
1029         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
1030         `Buffer-menu-multi-occur'.  Add it to the menu.
1031         (Buffer-menu-mode): Document it in docstring.
1032         (Buffer-menu-multi-occur): New command.  (Bug#14673)
1034 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
1036         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1037         keywords and built-ins.
1039 2013-07-03  Glenn Morris  <rgm@gnu.org>
1041         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
1043         Make info-xref checks case-sensitive by default
1044         * info.el (Info-find-node, Info-find-in-tag-table)
1045         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
1046         Add option for exact case matching of nodes.
1047         * info-xref.el (info-xref): New custom group.
1048         (info-xref-case-fold): New option.
1049         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
1051 2013-07-03  Leo Liu  <sdl.web@gmail.com>
1053         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
1055 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
1057         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
1058         middle of block statement initially, lower the depth.  Remove
1059         FIXME comment, not longer valid.  Remove middle of block statement
1060         detection, no need to do that anymore since we've been using
1061         `ruby-parse-region' here.
1063 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
1065         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
1067 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
1069         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
1071 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
1073         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
1074         (desktop-restore-in-current-display): New customization option.
1075         (desktop--excluded-frame-parameters): Add `font'.
1076         (desktop--save-frames): Rename from desktop--save-windows.
1077         (desktop--restore-in-this-display-p): New function.
1078         (desktop--make-full-frame): Remove unwanted width/height from
1079         full(width|height) frames.
1080         (desktop--restore-frames): Rename from desktop--restore-windows.
1081         Obey desktop-restore-current-display.  Do not delete old frames or
1082         select a new frame unless we were able to restore at least one frame.
1084 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
1086         * files.el (find-file-noselect): Simplify conditional expression.
1088         * remember.el (remember-append-to-file):
1089         Don't mix `find-buffer-visiting' and `get-file-buffer'.
1091         Add `remember-notes' function to store random notes across Emacs
1092         restarts.
1093         * remember.el (remember-data-file): Add :set callback to affect
1094         notes buffer (if any).
1095         (remember-notes): New command.
1096         (remember-notes-buffer-name, bury-remember-notes-on-kill):
1097         New defcustoms for the `remember-notes' function.
1098         (remember-notes-save-and-bury-buffer): New command.
1099         (remember-notes-mode-map): New variable.
1100         (remember-mode): New minor mode.
1101         (remember-notes--kill-buffer-query): New function.
1102         * startup.el (initial-buffer-choice): Add notes to custom type.
1104 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
1106         * bindings.el (right-char, left-char): Don't call sit-for, this is
1107         no longer needed.  Use arithmetic comparison only for numerical
1108         arguments.
1110         * international/mule-cmds.el (select-safe-coding-system):
1111         Handle the case of FROM being a string correctly.  (Bug#14755)
1113 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1115         * net/shr.el (shr-make-table-1): Add a sanity check that allows
1116         progression on degenerate tables.
1117         (shr-rescale-image): ImageMagick animated images currently don't work.
1119 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
1121         Some fixes and improvements for desktop frame restoration.
1122         It is still experimental and disabled by default.
1123         * desktop.el (desktop--save-windows): Put the selected frame at
1124         the head of the list.
1125         (desktop--make-full-frame): New function.
1126         (desktop--restore-windows): Try to re-select the frame that was
1127         selected upon saving.  Do not abort if some frames fail to restore,
1128         just show an error message and continue.  Set up maximized frames
1129         so they have default non-maximized dimensions.
1131 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
1133         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1134         Don't start heredoc inside a string or comment.
1136 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
1138         * bindings.el (visual-order-cursor-movement): New defcustom.
1139         (right-char, left-char): Provide visual-order cursor motion by
1140         calling move-point-visually.  Update the doc strings.
1142 2013-06-28  Kenichi Handa  <handa@gnu.org>
1144         * international/mule.el (define-coding-system): New coding system
1145         properties :inhibit-null-byte-detection,
1146         :inhibit-iso-escape-detection, and :prefer-utf-8.
1147         (set-buffer-file-coding-system): If :charset-list property of
1148         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
1149         appropriate for setting.
1151         * international/mule-cmds.el (select-safe-coding-system):
1152         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
1153         multibyte characters, return utf-8 (or one of its siblings).
1155         * international/mule-conf.el (prefer-utf-8): New coding system.
1156         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
1157         files.
1159 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
1161         * net/shr.el (shr-render-region): New function.
1163         * net/eww.el: Autoload `eww-browse-url'.
1165 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
1167         * emacs-lisp/package-x.el (package-upload-buffer-internal):
1168         Adapt to `package-desc-version' being a list.
1169         Use `package--ac-desc-version' to retrieve version from a package
1170         archive element.
1172 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
1174         New experimental feature to save&restore window and frame setup.
1175         * desktop.el (desktop-save-windows): New defcustom.
1176         (desktop--saved-states): New var.
1177         (desktop--excluded-frame-parameters): New defconst.
1178         (desktop--filter-frame-parms, desktop--find-frame-in-display)
1179         (desktop--restore-windows, desktop--save-windows): New functions.
1180         (desktop-save): Call `desktop--save-windows'.
1181         (desktop-read): Call `desktop--restore-windows'.
1183 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1185         * net/shr.el (add-face-text-property): Remove compat definition.
1187 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
1189         * info.el (Info-try-follow-nearest-node): Move search for footnote
1190         above search for node name to prevent missing a footnote (bug#14717).
1192 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
1194         * obsolete/otodo-mode.el: Add obsolescence info to file header.
1196 2013-06-27  Leo Liu  <sdl.web@gmail.com>
1198         * net/eww.el (eww-read-bookmarks): Check file size.
1200 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1202         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
1203         advice--pending if newdef is nil or an autoload (bug#13820).
1204         (advice-mapc): New function.
1206 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1208         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
1209         probably.
1210         (eww-mode-map): Add a menu bar.
1211         (eww-add-bookmark): New command.
1212         (eww-bookmark-mode): New mode and commands.
1213         (eww-add-bookmark): Remove newlines from the title.
1214         (eww-bookmark-browse): Don't bug out if it's the only window.
1216 2013-06-26  Glenn Morris  <rgm@gnu.org>
1218         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
1219         (hfy-size): Handle ttys.  (Bug#14668)
1221         * info-xref.el: Update for Texinfo 5 change in *note format.
1222         (info-xref-node-re, info-xref-note-re): New constants.
1223         (info-xref-check-buffer): Use info-xref-note-re.
1225 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1227         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
1229         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
1230         nil terminate the loop (bug#14718).
1232 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1234         * net/eww.el: Rework history traversal.  When going forward/back,
1235         put these actions into the history, too, so that they can be
1236         replayed.
1237         (eww-render): Move the history reset to the correct buffer.
1239 2013-06-25  Juri Linkov  <juri@jurta.org>
1241         * files-x.el (modify-dir-local-variable): Change the header comment
1242         in the file with directory local variables.  (Bug#14692)
1244         * files-x.el (read-file-local-variable-value): Add `default'.
1245         (Bug#14710)
1247 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1249         * net/eww.el (eww-make-unique-file-name): Create a unique file
1250         name before saving to entering `y' accidentally asynchronously.
1252 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
1254         * net/eww.el (eww-download): New command and keystroke.
1256 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1258         * net/eww.el (eww-copy-page-url): Change name of command.
1260         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
1261         be more consistent with Info and dired.
1263         * net/eww.el (eww-mode-map): Ditto.
1265 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1267         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
1268         packages from archives.
1269         (package-archive-contents): Change format; include obsolete packages.
1270         (package-desc): Use `dir' to mark builtin packages.
1271         (package--from-builtin): Set the `dir' field to `builtin'.
1272         (generated-autoload-file, version-control): Declare.
1273         (package-compute-transaction): Change first arg and return value to be
1274         lists of package-descs.  Adjust to new package-archive-contents format.
1275         (package--add-to-archive-contents): Adjust to new
1276         package-archive-contents format.
1277         (package-download-transaction): Arg is now a list of package-descs.
1278         (package-install): If `pkg' is a package name, pass it as
1279         a requirement, so it is subject to the usual (e.g. disabled) checks.
1280         (describe-package): Accept package-desc as well.
1281         (describe-package-1): Describe a specific package-desc.  Add links to
1282         other package-descs for the same package name.
1283         (package-menu-describe-package): Pass the actual package-desc.
1284         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
1285         works correctly.
1286         (package-desc-status): New function.
1287         (package-menu--refresh): New function, extracted
1288         from package-menu--generate.
1289         (package-menu--generate): Use it.
1290         (package-delete): Update package-alist.
1291         (package-menu-execute): Don't call package-initialize.
1293         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
1294         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
1295         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
1296         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
1297         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
1298         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
1300 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
1302         * window.el (window--state-get-1): Workaround for bug#14527.
1303         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
1305 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1307         * net/eww.el (eww-back-url): Implement the history by stashing all
1308         the data into a list.
1309         (eww-forward-url): Allow going forward in the history, too.
1311 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1313         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
1314         for values and use read--expression for expressions (bug#14710).
1315         (read-file-local-variable): Avoid setq.
1316         (read-file-local-variable-mode): Use minor-mode-list.
1318 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1320         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
1321         for DOI URLs.
1323 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1325         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
1326         Update imenu-support when dialect changes.
1328 2013-06-25  Leo Liu  <sdl.web@gmail.com>
1330         * ido.el (ido-read-internal): Allow forward slash on windows.
1332 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1334         * net/eww.el (eww): Start of strings is \\`, not ^.
1336 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
1338         * net/shr.el (shr-browse-url): Fix interactive spec.
1340         * net/eww.el (eww): Add a trailing slash to domain names.
1342 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
1344         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
1346 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1348         * net/shr.el (shr-browse-url): Use an external browser if given a
1349         prefix.
1351         * net/eww.el (eww-external-browser): Move to shr.
1353 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
1355         * net/eww.el (eww): Work more correctly for file: URLs.
1356         (eww-detect-charset): Allow quoted charsets.
1357         (eww-yank-page-url): New command and keystroke.
1359 2013-06-24  Daiki Ueno  <ueno@gnu.org>
1361         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
1362         file name of gpg executable.
1363         (epg-context-program): New function.
1364         (epg-context-home-directory): New function.
1365         (epg-context-set-program): New function.
1366         (epg-context-set-home-directory): New function.
1367         (epg--start): Use `epg-context-program' instead of
1368         'epg-gpg-program'.
1369         (epg--list-keys-1): Likewise.
1371 2013-06-24  Leo Liu  <sdl.web@gmail.com>
1373         * ido.el (ido-read-internal): Fix bug#14620.
1375 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
1377         * faces.el (face-documentation): Simplify.
1378         (read-face-attribute, tty-find-type, x-resolve-font-name):
1379         Use `string-match-p'.
1380         (list-faces-display): Use `string-match-p'.  Simplify.
1381         (face-spec-recalc): Check face to avoid face alias loops.
1382         (read-color): Use `string-match-p' and non-capturing parenthesis.
1384 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1386         * net/shr.el (shr-rescale-image): Use the new
1387         :max-width/:max-height functionality.
1389 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
1391         * net/eww.el (eww-search-prefix): New variable.
1392         (eww): Use it.
1393         (eww-external-browser): New variable.
1394         (eww-mode-map): New keystroke.
1395         (eww-browse-with-external-browser): New command.
1397         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
1399 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
1401         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1402         Don't skip aligning the next header field when padding is 0;
1403         otherwise, field width is not respected unless the title is as
1404         wide as the field.
1406 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1408         * emacs-lisp/package.el (package-el-version): Remove.
1409         (package-process-define-package): Fix inf-loop.
1410         (package-install): Allow symbols as arguments again.
1412 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
1414         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
1415         add some more keyword-like methods.
1416         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
1418 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
1420         * bs.el (bs-buffer-show-mark): Make defvar-local.
1421         (bs-mode): Use setq-local.
1423         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
1424         (emacs-lock--try-unlocking): Make defvar-local.
1426 2013-06-22  Glenn Morris  <rgm@gnu.org>
1428         * play/cookie1.el (cookie-apropos): Minor simplification.
1430         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
1432 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
1434         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
1435         `regexp-opt', it breaks the build during dumping.
1437 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
1439         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1440         Highlight keyword-like methods on Kernel and Module with
1441         font-lock-builtin-face.
1442         (auto-mode-alist): Consolidate different entries into one regexp
1443         and add more *file-s.
1445 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
1447         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
1449         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
1450         (diary-entry): Use it in the action of this button type instead of
1451         diary-goto-entry.
1453         * calendar/todo-mode.el: New version.
1454         (todo-add-category): Append new category to end of file and give
1455         it the highest number, instead of putting it at the beginning and
1456         giving it 0.  Incorporate noninteractive functionality.
1457         (todo-forward-category): Adapt to 1-based category numbering.
1458         Allow skipping over archived categories.
1459         (todo-backward-category): Derive from todo-forward-category.
1460         (todo-backward-item, todo-forward-item): Make noninteractive and
1461         delegate interactive part to new commands.  Make sensitive to done items.
1462         (todo-categories): Make value an alist of category names and
1463         vectors of item counts.
1464         (todo-category-beg): Make a defconst.
1465         (todo-category-number): Use 1 instead of 0 as initial value.
1466         (todo-category-select): Make sensitive to overlays, optional item
1467         highlighting and done items.
1468         (todo-delete-item): Make sensitive to overlays and marked and done items.
1469         (todo-edit-item): Make sensitive to overlays and editing of
1470         date/time header optional.  Add format checks.
1471         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
1472         no-op if point is not on an item.  Advertise using todo-edit-quit.
1473         (todo-edit-mode): Make sensitive to new format, font-locking, and
1474         multiple todo files.
1475         (todo-insert-item, todo-insert-item-here): Derive from
1476         todo-basic-insert-item and extend functionality.
1477         (todo-item-end, todo-item-start): Make sensitive to done items.
1478         (todo-item-string): Don't return text properties.  Restore point.
1479         (todo-jump-to-category): Make sensitive to multiple todo files and
1480         todo archives.  Use extended category completion.
1481         (todo-lower-item, todo-raise-item): Rename to *-priority and
1482         derive from todo-set-item-priority.
1483         (todo-mode): Derive from special-mode.  Make sensitive to new
1484         format, font-locking and multiple todo files.  Make read-only.
1485         (todo-mode-map): Don't suppress digit keys, so they can supply
1486         prefix arguments.  Add many new key bindings.
1487         (todo-prefix): Insert as an overlay instead of file text.
1488         Change semantics from diary date expression to purely visual mark.
1489         (todo-print): Rename to todo-print-buffer.  Make buffer display
1490         features printable.  Remove option to restrict number of items
1491         printed.  Add option to print to file.
1492         (todo-print-function): Rename to todo-print-buffer-function.
1493         (todo-quit): Extend to handle exiting new todo modes.
1494         (todo-remove-item): Make sensitive to overlays.
1495         (todo-save): Extend to buffers of filtered items.
1496         (todo-show): Make sensitive to done items, multiple todo files and
1497         new todo modes.  Offer to convert legacy todo file before creating
1498         first new todo file.
1499         (todo-show-priorities): Rename to todo-top-priorities.
1500         Change semantics of value 0.
1501         (todo-top-priorities): Rename to todo-filter-top-priorities,
1502         derive from todo-filter-items and extend functionality.
1503         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
1504         and extend functionality to other types of filtered items.
1505         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
1506         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
1507         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
1508         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
1509         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
1510         (todo-edit-mode-hook, todo-entry-prefix-function)
1511         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
1512         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
1513         (todo-initials, todo-insert-threshold, todo-item-string-start)
1514         (todo-line-string, todo-menu, todo-mode-hook)
1515         (todo-more-important-p, todo-previous-answer, todo-previous-line)
1516         (todo-print-priorities, todo-remove-separator)
1517         (todo-save-top-priorities-too, todo-string-count-lines)
1518         (todo-string-multiline-p, todo-time-string-format)
1519         (todo-tmp-buffer-name): Remove.
1520         (todo-add-file, todo-archive-done-item, todo-choose-archive)
1521         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
1522         (todo-edit-category-diary-inclusion)
1523         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
1524         (todo-edit-file, todo-edit-item-date-day)
1525         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
1526         (todo-edit-item-date-month, todo-edit-item-date-to-today)
1527         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
1528         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
1529         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
1530         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
1531         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
1532         (todo-filter-top-priorities-multifile, todo-find-archive)
1533         (todo-find-filtered-items-file, todo-go-to-source-item)
1534         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
1535         (todo-jump-to-archive-category, todo-lower-category)
1536         (todo-mark-category, todo-marked-item-p, todo-merge-category)
1537         (todo-move-category, todo-move-item, todo-next-button)
1538         (todo-next-item, todo-padded-string, todo-powerset)
1539         (todo-previous-button, todo-previous-item)
1540         (todo-print-buffer-to-file, todo-raise-category)
1541         (todo-rename-category, todo-repair-categories-sexp, todo-search)
1542         (todo-set-category-number, todo-set-item-priority)
1543         (todo-set-top-priorities-in-category)
1544         (todo-set-top-priorities-in-file, todo-show-categories-table)
1545         (todo-sort-categories-alphabetically-or-numerically)
1546         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
1547         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
1548         (todo-toggle-item-header, todo-toggle-item-highlighting)
1549         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
1550         (todo-toggle-view-done-items, todo-toggle-view-done-only)
1551         (todo-unarchive-items, todo-unmark-category): New commands.
1552         (todo-absolute-file-name, todo-add-to-buffer-list)
1553         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
1554         (todo-basic-insert-item, todo-category-completions)
1555         (todo-category-number, todo-category-string-matcher-1)
1556         (todo-category-string-matcher-2, todo-check-filtered-items-file)
1557         (todo-check-format, todo-clear-matches)
1558         (todo-comment-string-matcher, todo-convert-legacy-date-time)
1559         (todo-current-category, todo-date-string-matcher)
1560         (todo-define-insertion-command, todo-diary-expired-matcher)
1561         (todo-diary-goto-entry, todo-diary-item-p)
1562         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
1563         (todo-display-categories, todo-display-sorted, todo-done-item-p)
1564         (todo-done-item-section-p, todo-done-separator)
1565         (todo-done-string-matcher, todo-files, todo-filter-items)
1566         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
1567         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
1568         (todo-insert-category-line, todo-insert-item-from-calendar)
1569         (todo-insert-sort-button, todo-insert-with-overlays)
1570         (todo-insertion-command-name, todo-insertion-key-bindings)
1571         (todo-label-to-key, todo-longest-category-name-length)
1572         (todo-make-categories-list, todo-mode-external-set)
1573         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
1574         (todo-modes-set-3, todo-multiple-filter-files)
1575         (todo-nondiary-marker-matcher, todo-prefix-overlays)
1576         (todo-read-category, todo-read-date, todo-read-dayname)
1577         (todo-read-file-name, todo-read-time)
1578         (todo-reevaluate-category-completions-files-defcustom)
1579         (todo-reevaluate-default-file-defcustom)
1580         (todo-reevaluate-filelist-defcustoms)
1581         (todo-reevaluate-filter-files-defcustom)
1582         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
1583         (todo-reset-done-separator, todo-reset-done-separator-string)
1584         (todo-reset-done-string, todo-reset-global-current-todo-file)
1585         (todo-reset-highlight-item, todo-reset-nondiary-marker)
1586         (todo-reset-prefix, todo-set-categories)
1587         (todo-set-date-from-calendar, todo-set-show-current-file)
1588         (todo-set-top-priorities, todo-short-file-name)
1589         (todo-show-current-file, todo-sort, todo-time-string-matcher)
1590         (todo-total-item-counts, todo-update-buffer-list)
1591         (todo-update-categories-display, todo-update-categories-sexp)
1592         (todo-update-count, todo-validate-name, todo-y-or-n-p):
1593         New functions.
1594         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
1595         New major modes.
1596         (todo-categories, todo-display, todo-edit, todo-faces)
1597         (todo-filtered): New defgroups.
1598         (todo-archived-only, todo-button, todo-category-string, todo-date)
1599         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
1600         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
1601         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
1602         (todo-add-item-if-new-category, todo-always-add-time-string)
1603         (todo-categories-align, todo-categories-archived-label)
1604         (todo-categories-category-label, todo-categories-diary-label)
1605         (todo-categories-done-label, todo-categories-number-separator)
1606         (todo-categories-todo-label, todo-categories-totals-label)
1607         (todo-category-completions-files, todo-completion-ignore-case)
1608         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
1609         (todo-done-separator-string, todo-done-string)
1610         (todo-files-function, todo-filter-done-items, todo-filter-files)
1611         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
1612         (todo-initial-category, todo-initial-file, todo-item-mark)
1613         (todo-legacy-date-time-regexp, todo-mode-line-function)
1614         (todo-nondiary-marker, todo-number-prefix)
1615         (todo-print-buffer-function, todo-show-current-file)
1616         (todo-show-done-only, todo-show-first, todo-show-with-done)
1617         (todo-skip-archived-categories, todo-top-priorities-overrides)
1618         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
1619         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
1620         New defcustoms.
1621         (todo-category-done, todo-date-pattern, todo-date-string-start)
1622         (todo-diary-items-buffer, todo-done-string-start)
1623         (todo-filtered-items-buffer, todo-item-start)
1624         (todo-month-abbrev-array, todo-month-name-array)
1625         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
1626         (todo-top-priorities-buffer): New defconsts.
1627         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
1628         (todo-categories-with-marks, todo-category-string-face)
1629         (todo-comment-face, todo-comment-string, todo-current-todo-file)
1630         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
1631         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
1632         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
1633         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
1634         (todo-font-lock-keywords, todo-global-current-todo-file)
1635         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
1636         (todo-insertion-commands-args)
1637         (todo-insertion-commands-args-genlist)
1638         (todo-insertion-commands-names, todo-insertion-map)
1639         (todo-key-bindings-t, todo-key-bindings-t+a)
1640         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
1641         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
1642         (todo-nondiary-face, todo-print-buffer, todo-time-face)
1643         (todo-visited): New variables.
1645 2013-06-21  Glenn Morris  <rgm@gnu.org>
1647         * play/cookie1.el (cookie-apropos): Add optional display argument.
1648         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
1649         (psychoanalyze-pinhead): Use cookie-doctor.
1651 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
1653         * emacs-lisp/package.el (tar-get-file-descriptor)
1654         (tar--extract): Declare.
1656 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
1658         Extend flymake's warning predicate to be a function (bug#14217).
1659         * progmodes/flymake.el (flymake-warning-predicate): New.
1660         (flymake-parse-line): Use it.
1661         (flymake-warning-re): Make obsolete alias to
1662         `flymake-warning-predicate'.
1664 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1666         * emacs-lisp/package.el (package-alist): Include obsolete packages.
1667         (package-obsolete-list): Remove.
1668         (package-activate): Remove min-version argument.  Add `force' argument.
1669         Adjust to new package-alist format.
1670         (package-mark-obsolete): Remove.
1671         (package-unpack): Force reload of the package's autoloads.
1672         (package-installed-p): Check builtins if the installed package is not
1673         recent enough.
1674         (package-initialize): Don't reset package-obsolete-list.
1675         Don't specify which package version to activate.
1676         (package-process-define-package, describe-package-1)
1677         (package-menu--generate): Adjust to new package-alist format.
1679 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
1681         * allout-widgets.el (allout-widgets-mode-off)
1682         (allout-widgets-mode-on, allout-widgets-pre-command-business)
1683         (allout-widgets-post-command-business)
1684         (allout-widgets-after-copy-or-kill-function)
1685         (allout-widgets-after-undo-function, allout-test-range-overlaps)
1686         (allout-decorate-item-and-context)
1687         (allout-graphics-modification-handler): Fix typos in docstrings.
1688         (allout-get-or-create-parent-widget): Use `looking-at-p'.
1690         * cmuscheme.el (scheme-start-file): Doc fix.
1691         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
1692         (scheme-input-filter): Use `string-match-p'.
1694         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
1696         * dired-x.el: Use Dired consistently in docstrings.
1698         * dired.el: Use Dired consistently in docstrings.
1699         (dired-readin, dired-mode): Use `setq-local'.
1700         (dired-switches-alist): Make defvar-local.
1701         (dired-buffers-for-dir): Use `zerop'.
1702         (dired-safe-switches-p, dired-switches-escape-p)
1703         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
1704         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
1705         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
1706         (dired-goto-next-nontrivial-file): Use `string-match-p'.
1707         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
1708         (dired-toggle-marks, dired-mark-files-containing-regexp)
1709         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
1710         (dired-flag-auto-save-files, dired-flag-backup-files):
1711         Use `looking-at-p'.
1712         (dired-mark-files-regexp, dired-build-subdir-alist):
1713         Use `string-match-p', `looking-at-p'.
1715         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
1716         (direct-print-region-helper): Use `string-match-p'.
1718 2013-06-21  Leo Liu  <sdl.web@gmail.com>
1720         * comint.el (comint-redirect-results-list-from-process):
1721         Fix infinite loop.
1723 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1725         * net/eww.el (eww-update-header-line-format): Quote % characters.
1727 2013-06-21  Glenn Morris  <rgm@gnu.org>
1729         * play/cookie1.el (cookie): New custom group.
1730         (cookie-file): New option.
1731         (cookie-check-file): New function.
1732         (cookie): Make it interactive.  Make start and end messages optional.
1733         Interactively, display the result.  Default to cookie-file.
1734         (cookie-insert): Default to cookie-file.
1735         (cookie-snarf): Make start and end messages optional.
1736         Default to cookie-file.  Use with-temp-buffer.
1737         (cookie-read): Rename from read-cookie.
1738         Make start and end messages optional.  Default to cookie-file.
1739         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
1740         Do not autoload it.
1741         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
1742         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
1744 2013-06-21  Leo Liu  <sdl.web@gmail.com>
1746         * progmodes/octave.el (octave-mode): Backward compatibility fix.
1748 2013-06-21  Glenn Morris  <rgm@gnu.org>
1750         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
1752 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1753             Daniel Hackney  <dan@haxney.org>
1755         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
1756         Consolidate the single-file vs tarball code.
1757         (package-desc-suffix): New function.
1758         (package-desc-full-name): Don't bother inlining it.
1759         (package-load-descriptor): Return the new package-desc.
1760         (package-mark-obsolete): Remove unused arg `package'.
1761         (package-unpack): Make it work for single files as well.
1762         Make it update package-alist.
1763         (package--make-autoloads-and-stuff): Rename from
1764         package--make-autoloads-and-compile.  Don't compile any more.
1765         (package--compile): New function.
1766         (package-generate-description-file): New function, extracted from
1767         package-unpack-single.
1768         (package-unpack-single): Remove.
1769         (package--with-work-buffer): Add indentation and debugging info.
1770         (package-download-single): Remove.
1771         (package-install-from-archive): Rename from package-download-tar, make
1772         it take a pkg-desc, and make it work for single files as well.
1773         (package-download-transaction): Simplify.
1774         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
1775         external tar program.
1776         (package-install-from-buffer): Remove `pkg-desc' argument.
1777         Use package-tar-file-info for tar-mode buffers.
1778         (package-install-file): Simplify accordingly.
1779         (package-archive-base): Change to take a pkg-desc.
1780         * tar-mode.el (tar--check-descriptor): New function, extracted from
1781         tar-get-descriptor.
1782         (tar-get-descriptor): Use it.
1783         (tar-get-file-descriptor): New function.
1784         (tar--extract): New function, extracted from tar-extract.
1785         (tar--extract): Use it.
1786         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
1787         case the summary uses non-ascii.  Adjust to new calling convention of
1788         package-tar-file-info.
1790 2013-06-21  Leo Liu  <sdl.web@gmail.com>
1792         * comint.el (comint-redirect-results-list-from-process):
1793         Fix random delay.  (Bug#14681)
1795 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
1797         * profiler.el (profiler-format-number): Use log, not log10.
1799 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
1801         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
1803 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1805         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
1806         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
1807         yet available.
1808         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
1809         (AUTOGENEL): ... here.
1810         * emacs-lisp/cl-macs.el (cl--sublis): New function.
1811         (cl--defsubst-expand): Use it.
1813 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
1815         * subr.el (log10): Move here from C code, and declare as obsolete.
1816         All uses of (log10 X) replaced with (log X 10).
1818 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
1820         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
1821         Declare with `defvar-local'.
1822         (tabulated-list-use-header-line, tabulated-list-entries)
1823         (tabulated-list-padding, tabulated-list-printer)
1824         (tabulated-list-sort-key): Declare with `defvar-local'.
1825         (tabulated-list-init-header, tabulated-list-print-fake-header):
1826         Use `setq-local'.
1828 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
1830         * arc-mode.el (archive-mode): Add `archive-write-file' to
1831         `write-contents-functions' also for remote files.  (Bug#14652)
1833 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
1835         * cus-edit.el (custom-commands): Fix typos.
1836         (custom-display): Fix tooltip text.
1837         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
1838         Fix typos in docstrings.
1839         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
1840         (custom-unlispify-menu-entry, custom-magic-value-create)
1841         (custom-add-see-also, custom-group-value-create): Use ?\s.
1842         (custom-guess-type, customize-apropos, editable-field)
1843         (custom-face-value-create): Use `string-match-p'.
1844         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
1846         * custom.el (custom-load-symbol): Use `string-match-p'.
1848         * ansi-color.el: Convert to lexical binding.
1849         (ansi-colors): Fix URL.
1850         (ansi-color-context, ansi-color-context-region): Use defvar-local.
1851         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
1852         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
1854 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1856         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
1858         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
1860 2013-06-19  Tom Tromey  <tromey@redhat.com>
1862         * net/eww.el (eww-top-url): Remove.
1863         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
1864         (eww-render): Set new variables.  Don't set eww-top-url.
1865         (eww-handle-link): Handle "prev", "home", and "contents".
1866         Downcase the rel text.
1867         (eww-top-url): Choose best top URL.
1869 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1871         * net/eww.el: Rewrite to implement form elements "by hand" instead of
1872         relying in widget.el.  Using widget.el leads to too many
1873         user interface inconsistencies.
1874         (eww-self-insert): Implement entering commands in text fields.
1875         (eww-process-text-input): New function to make text input field editing
1876         work.
1877         (eww-submit): Rewrite to use the new-style form methods.
1878         (eww-select-display): Display the correct selected item.
1879         (eww-change-select): Implement changing the select value.
1880         (eww-toggle-checkbox): Implement radio/checkboxes.
1881         (eww-update-field): Fix compilation error.
1882         (eww-tag-textarea): Implement <textarea>.
1884         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
1885         we don't shadow mode-specific bindings.
1887         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
1888         nothing to push.
1890         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
1892 2013-06-19  Glenn Morris  <rgm@gnu.org>
1894         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
1896 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
1898         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
1899         not needed.
1901         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
1903 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1905         * net/browse-url.el (browse-url-browser-function):
1906         `eww-browse-url' has the right calling signature, `eww' does not.
1908 2013-06-19  Glenn Morris  <rgm@gnu.org>
1910         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
1911         Only eval autoloaded macros.
1912         (byte-compile-autoload): Only give the macro warning for macros.
1914         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
1915         (ps-underlined-faces): Declare.
1917         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
1918         (speedbar-add-supported-extension): Declare.
1920         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
1921         Don't include a date stamp in the header of the generated file;
1922         it leads to needless differences between output files.
1924 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
1926         * net/secrets.el (secrets-struct-secret-content-type):
1927         Replace check of introspection data by a test call of "CreateItem".
1928         Some servers do not offer introspection.
1930 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1932         * electric.el (electric-pair-mode): Improve interaction with
1933         electric-layout-mode.
1934         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
1935         (electric-pair-syntax): Use text-mode-syntax-table in comments
1936         and strings.
1937         (electric-pair--insert): New function.
1938         (electric-pair-post-self-insert-function): Use it and
1939         electric--after-char-pos.
1941 2013-06-19  Leo Liu  <sdl.web@gmail.com>
1943         * progmodes/octave.el (octave-help): Fix regexp.
1945 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1947         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
1948         (shr-table-horizontal-line): Allow nil as a value, and change the
1949         default.
1950         (shr-insert-table-ruler): Respect the nil value.
1952 2013-06-18  Tom Tromey  <tromey@barimba>
1954         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
1955         New defvars.
1956         (eww-open-file): New defun.
1957         (eww-render): Initialize new variables.
1958         (eww-display-html): Handle "link" and "a".
1959         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
1960         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
1961         (eww-back-url): Rename from eww-previous-url.
1962         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
1963         New defuns.
1965 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
1967         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
1968         Distinguish ternary operator tokens from slash symbol and slash
1969         char literal.
1971 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
1973         Convert symbol prettification into minor mode and global minor mode.
1975         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
1976         `prog-prettify-symbols', and make a local defvar instead of defcustom.
1977         (prettify-symbols--keywords): Rename from
1978         `prog-prettify-symbols-alist' and make a local defvar.
1979         (prettify-symbols--compose-symbol): Rename from
1980         `prog--prettify-font-lock-compose-symbol'.
1981         (prettify-symbols--make-keywords): Rename from
1982         `prog-prettify-font-lock-symbols-keywords' and simplify.
1983         (prog-prettify-install): Remove.
1984         (prettify-symbols-mode): New minor mode, based on
1985         `prog-prettify-install'.
1986         (turn-on-prettify-symbols-mode): New function.
1987         (global-prettify-symbols-mode): New globalized minor mode.
1989         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1990         * progmodes/cfengine.el (cfengine3-mode):
1991         * progmodes/perl-mode.el (perl-mode): Don't call
1992         `prog-prettify-install'; set `prettify-symbols-alist' instead.
1994 2013-06-18  Juri Linkov  <juri@jurta.org>
1996         * files-x.el (modify-file-local-variable-message): New function.
1997         (modify-file-local-variable)
1998         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
1999         and call `modify-file-local-variable-message' when it's non-nil.
2000         (add-file-local-variable, delete-file-local-variable)
2001         (add-file-local-variable-prop-line)
2002         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
2003         and use it.  (Bug#9820)
2005 2013-06-18  Juri Linkov  <juri@jurta.org>
2007         * emulation/vi.el (vi-shell-op):
2008         * emulation/vip.el (vip-execute-com, ex-command):
2009         * emulation/viper-cmd.el (viper-exec-bang):
2010         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
2011         the call of `shell-command-on-region'.  (Bug#14637)
2013         * simple.el (shell-command-on-region): Doc fix.
2015 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2017         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
2018         (bug#14633).
2020 2013-06-18  Glenn Morris  <rgm@gnu.org>
2022         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
2024         * newcomment.el (comment-search-forward, comment-search-backward):
2025         Doc fix.  (Bug#14376)
2027 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
2029         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
2030         (buffer-face-mode-invoke): Doc fix.
2032 2013-06-18  Matthias Meulien  <orontee@gmail.com>
2034         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
2035         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
2037 2013-06-18  Glenn Morris  <rgm@gnu.org>
2039         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
2040         Replace obsolete function generic-make-keywords with its expansion.
2042         * progmodes/python.el (ffap-alist): Declare.
2044         * textmodes/reftex.el (bibtex-mode-map): Declare.
2046 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2048         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
2049         (package-unpack, package-unpack-single): Return the pkg-dir.
2050         (package-download-transaction): Use it to update package-alist.
2052 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2054         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
2055         possible choice.
2057 2013-06-17  Juri Linkov  <juri@jurta.org>
2059         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
2061 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
2063         * emacs-lisp/package.el (package-load-descriptor):
2064         Remove `with-syntax-table' call, `read' doesn't need it.
2065         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
2067 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
2069         * startup.el (command-line): Expand package name returned by
2070         `package--description-file' (bug#14639).
2072 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
2074         * emacs-lisp/package.el (package-load-descriptor): Do not call
2075         `emacs-lisp-mode', just use its syntax table.
2077 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
2079         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
2080         `font-lock-extra-managed-props' if any prettifying keyword is added.
2081         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
2082         (prog-mode): Use `setq-local'.
2084 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2086         * international/characters.el (standard-case-table): Set syntax of ?»
2087         and ?« to punctuation.
2089 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
2091         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
2092         Save relevant match data before calling `syntax-ppss' (bug#14595).
2094 2013-06-15  Juri Linkov  <juri@jurta.org>
2096         * files-x.el (modify-file-local-variable-prop-line): Add local
2097         variables to the end of the existing comment on the first line.
2098         Use `file-auto-mode-skip' to skip interpreter magic line,
2099         and also skip XML declaration.
2101 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2103         * startup.el (package--builtin-versions): New var.
2104         (package-subdirectory-regexp): Remove.
2105         (package--description-file): Hard code its value instead.
2107         * emacs-lisp/package.el: Don't activate packages older than builtin.
2108         (package-obsolete-list): Rename from package-obsolete-alist, and make
2109         it into a simple list of package-desc.
2110         (package-strip-version): Remove.
2111         (package-built-in-p): Use package--builtin-versions.
2112         (package-mark-obsolete): Simplify.
2113         (package-process-define-package): Mark it obsolete if older than the
2114         builtin version.
2115         (package-handle-response): Use line-end-position.
2116         (package-read-archive-contents, package--download-one-archive):
2117         Simplify.
2118         (package--add-to-archive-contents): Skip if older than the builtin or
2119         installed version.
2120         (package-menu-describe-package): Fix last change.
2121         (package-list-unversioned): New var.
2122         (package-menu--generate): Use it.
2124         * emacs-lisp/autoload.el: Manage package--builtin-versions.
2125         (autoload--insert-text, autoload--insert-cookie-text): New functions.
2126         (autoload-builtin-package-versions): New variable.
2127         (autoload-generate-file-autoloads): Use them.
2128         Remove the list of autoloaded functions/macros from the
2129         (autoload...) comments.
2131         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
2133 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
2135         * simple.el (line-move-partial): Don't jump to the next screen
2136         line as soon as it becomes visible.  Instead, continue enlarging
2137         the vscroll until the portion of a tall screen line that's left on
2138         display is about the height of the frame's default font.
2139         (Bug#14567)
2141 2013-06-15  Glenn Morris  <rgm@gnu.org>
2143         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
2144         compilation-error-regexp-alist void, or local while let-bound.
2146         * progmodes/make-mode.el (makefile-mode-syntax-table):
2147         Treat "=" as punctuation.  (Bug#14614)
2149 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
2151         * help-fns.el (describe-variable):
2152         Add extra line for permanent-local variables.
2154 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
2156         * progmodes/scheme.el (scheme-font-lock-keywords-2):
2157         Add export, import, library.  (Bug#9164)
2158         (library): Set indent function.
2160 2013-06-14  Glenn Morris  <rgm@gnu.org>
2162         * term/xterm.el (xterm--query):
2163         Stop after first matching handler.  (Bug#14615)
2165 2013-06-14 Ivan Kanis  <ivan@kanis.fr>
2167         Add support for dired in saveplace.
2168         * dired.el (dired-initial-position-hook): New variable.
2169         (dired-initial-position): Call hook to place cursor position.
2170         * saveplace.el (save-place-to-alist): Add dired position.
2171         (save-place-dired-hook): New function.
2173 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2175         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
2176         through a symbol rather than letrec.
2178         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
2179         (package-desc): Add `dir' field.
2180         (package-desc-full-name): New function.
2181         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
2182         (package-maybe-load-descriptor): Remove.
2183         (package-load-all-descriptors): Just call package-load-descriptor.
2184         (package--disabled-p): New function.
2185         (package-desc-vers, package-desc-doc): Remove aliases.
2186         (package--dir): Remove function.
2187         (package-activate): Check if a package is disabled.
2188         (package-process-define-package): New function, extracted from
2189         define-package.
2190         (define-package): Turn into a place holder.
2191         (package-unpack-single, package-tar-file-info):
2192         Use package--description-file.
2193         (package-compute-transaction): Use package--disabled-p.
2194         (package-download-transaction): Don't call
2195         package-maybe-load-descriptor since they're all loaded anyway.
2196         (package-install): Change argument to be a pkg-desc.
2197         (package-delete): Use a single pkg-desc argument.
2198         (describe-package-1): Use package-desc-dir instead of package--dir.
2199         Use package-desc property instead of package-symbol.
2200         (package-install-button-action): Adjust accordingly.
2201         (package--push): Rewrite.
2202         (package-menu--print-info): Adjust accordingly.  Change the ID format
2203         to be a pkg-desc.
2204         (package-menu-describe-package, package-menu-get-status)
2205         (package-menu--find-upgrades, package-menu-mark-upgrades)
2206         (package-menu-execute, package-menu--name-predicate):
2207         Adjust accordingly.
2208         * startup.el (package--description-file): New function.
2209         (command-line): Use it.
2210         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2211         Use package-desc-version.
2213         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
2214         (byte-compile-preprocess): Use it.
2215         (byte-compile-file-form-defalias): Try a bit harder to use macros we
2216         can't quite recognize.
2217         (byte-compile-add-to-list): Remove.
2218         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
2219         (cconv-closure-convert): Add assertion.
2221         * emacs-lisp/map-ynp.el: Use lexical-binding.
2222         (map-y-or-n-p): Remove unused vars `tail' and `object'.
2223         Factor out some repeated code.
2225 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2227         * subr.el (with-eval-after-load): New macro.
2228         (eval-after-load): Allow form to be a function.
2229         take advantage of lexical-binding.
2230         (do-after-load-evaluation): Use dolist and adjust to new format.
2231         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
2233 2013-06-13  Juri Linkov  <juri@jurta.org>
2235         * replace.el (perform-replace): Display "symbol " and other search
2236         modes from `isearch-message-prefix' in the *Help* buffer.
2238         * isearch.el (isearch-query-replace): Add " symbol" and other
2239         possible search modes from `isearch-message-prefix' to the prompt.
2240         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
2241         when reading a regexp to collect.
2243 2013-06-13  Juri Linkov  <juri@jurta.org>
2245         * isearch.el (word-search-regexp): Match whitespace if the search
2246         string begins or ends in whitespace.  The LAX arg is applied to
2247         both ends of the search string.  Use `regexp-quote' and explicit
2248         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
2249         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
2250         boundaries are replaced with symbol boundaries, and characters
2251         between symbols match non-word non-symbol syntax.  (Bug#14602)
2253 2013-06-13  Juri Linkov  <juri@jurta.org>
2255         * isearch.el (isearch-del-char): Don't exceed the length of
2256         `isearch-string' by the prefix arg.  (Bug#14563)
2258 2013-06-13  Juri Linkov  <juri@jurta.org>
2260         * isearch.el (isearch-yank-word, isearch-yank-line)
2261         (isearch-char-by-name, isearch-quote-char)
2262         (isearch-printing-char, isearch-process-search-char):
2263         Add optional count prefix arg.  (Bug#14563)
2265         * international/isearch-x.el
2266         (isearch-process-search-multibyte-characters):
2267         Add optional count prefix arg.
2269 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2271         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
2272         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
2273         lexical-binding.
2275 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
2277         * subr.el (set-temporary-overlay-map): Add on-exit argument.
2279 2013-06-13  Glenn Morris  <rgm@gnu.org>
2281         * startup.el (tty-handle-args):
2282         Don't just discard "--" and anything after.  (Bug#14608)
2284         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
2286 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
2288         Implement changes in Secret Service API.  Make it backward compatible.
2289         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
2290         (secrets-create-item): Use it.  Prefix properties with interface.
2292 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
2294         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
2295         (term-emulate-terminal): Respect term-suppress-hard-newline.
2297 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
2299         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
2300         Only remove a `thumb-file' overlay.  (Bug#14548)
2302 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
2304         * mail/reporter.el (reporter-submit-bug-report):
2305         Handle missing package-name.  (Bug#14600)
2307 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2309         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
2310         (reftex-citation-prompt, reftex-default-bibliography)
2311         (reftex-bib-or-thebib, reftex-get-bibfile-list)
2312         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2313         (reftex-bib-sort-author, reftex-bib-sort-year)
2314         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
2315         (reftex-extract-bib-entries-from-thebibliography)
2316         (reftex-get-bibkey-default, reftex-get-bib-names)
2317         (reftex-parse-bibtex-entry, reftex-get-bib-field)
2318         (reftex-format-bib-entry, reftex-parse-bibitem)
2319         (reftex-format-bibitem, reftex-do-citation)
2320         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
2321         (reftex-restrict-bib-matches, reftex-extract-bib-file)
2322         (reftex-insert-bib-matches, reftex-format-citation)
2323         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
2324         (reftex-create-bibtex-file): Add docstrings, mostly by converting
2325         existing comments into docstrings.
2327 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
2329         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
2331 2013-06-12  Andreas Schwab  <schwab@suse.de>
2333         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
2334         for auto-save files.
2336 2013-06-12  Glenn Morris  <rgm@gnu.org>
2338         * ido.el (ido-delete-ignored-files): Remove.
2339         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
2340         Go back to calling ido-ignore-item-p directly.
2342 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
2344         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
2346         * ido.el (ido-delete-ignored-files): New function,
2347         split from ido-make-file-list-1.
2348         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
2349         (ido-make-file-list-1): Use ido-delete-ignored-files.
2351 2013-06-12  Leo Liu  <sdl.web@gmail.com>
2353         * progmodes/octave.el (inferior-octave-startup)
2354         (inferior-octave-completion-table)
2355         (inferior-octave-track-window-width-change)
2356         (octave-eldoc-function-signatures, octave-help)
2357         (octave-find-definition): Use single quoted strings.
2358         (inferior-octave-startup-args): Change default value.
2359         (inferior-octave-startup): Do not hard code "-i" and
2360         "--no-line-editing".
2361         (inferior-octave-resync-dirs): Add optional arg NOERROR.
2362         (inferior-octave-directory-tracker): Use it.
2363         (octave-goto-function-definition): Robustify.
2364         (octave-help): Support highlighting operators in 'See also'.
2365         (octave-find-definition): Find subfunctions only in Octave mode.
2367 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2369         * help-fns.el (help-fns--compiler-macro): If the handler function is
2370         named, then put a link to it.
2371         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
2372         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
2373         (cl-typep): Use it.
2374         (cl-eval-when): Simplify debug spec.
2375         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
2376         compiler-macro function instead of setting `compiler-macro-file'.
2378 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
2380         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
2381         * vc/vc-hooks.el (vc-stay-local): Doc fix.
2383 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2384             Daniel Hackney  <dan@haxney.org>
2386         First part of Daniel Hackney's patch to package.el.
2387         * emacs-lisp/package.el: Use defstruct.
2388         (package-desc): New, main struct.
2389         (package--bi-desc, package--ac-desc): New structs, used to describe the
2390         format in external files.
2391         (package-desc-vers): Replace with package-desc-version accessor.
2392         (package-desc-doc): Replace with package-desc-summary accessor.
2393         (package-activate-1): Remove `package' arg since the pkg-vec now
2394         includes the name.
2395         (define-package): Use package-desc-from-define.
2396         (package-unpack-single): Change file-name arg to be a symbol.
2397         (package--add-to-archive-contents): Use package-desc-create and new
2398         accessor functions to package--ac-desc.
2399         (package-buffer-info, package-tar-file-info): Return a package-desc.
2400         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
2401         arg to be a package-desc.
2402         (package-install-file): Adjust accordingly.  Use \' to match EOS.
2403         (package--from-builtin): New function.
2404         (describe-package-1, package-menu--generate): Use it.
2405         (package--make-autoloads-and-compile): Change name arg to be a symbol.
2406         (package-generate-autoloads): Idem and return the name of the file.
2407         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2408         Change pkg-info arg to be a package-desc.
2409         Use package-make-ac-desc.
2410         (package-upload-file): Use \' to match EOS.
2411         * finder.el (finder-compile-keywords): Use package-make-builtin.
2413 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2415         * vc/vc.el (vc-deduce-fileset): Change error message.
2416         (vc-read-backend): New function.
2417         (vc-next-action): Use it.
2419         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
2421         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
2422         (prolog-font-lock-keywords): Use regexp-opt instead.
2423         Don't manually highlight strings.
2424         (prolog-mode-variables): Simplify comment-start-skip.
2425         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
2427         * emacs-lisp/generic.el (generic--normalise-comments)
2428         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
2429         (generic-mode-set-comments): Use them.
2430         (generic-bracket-support): Use setq-local.
2431         (generic-make-keywords-list): Declare obsolete.
2433 2013-06-11  Glenn Morris  <rgm@gnu.org>
2435         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2436         Prettify after setting font-lock-defaults.  (Bug#14574)
2438 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
2440         * replace.el (query-replace, occur-read-regexp-defaults-function)
2441         (replace-search):
2442         * subr.el (declare-function, number-sequence, local-set-key)
2443         (substitute-key-definition, locate-user-emacs-file)
2444         (with-silent-modifications, split-string, eval-after-load):
2445         Fix typos, remove unneeded backslashes and reflow some docstrings.
2447 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2449         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
2450         default for Elisp files.
2452 2013-06-11  Glenn Morris  <rgm@gnu.org>
2454         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
2455         although define-derived-mode was doing this anyway.  (Bug#14583)
2457 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
2459         * allout.el (allout-encryption-plaintext-sanitization-regexps):
2460         Fix make-variable-buffer-local call to refer to the correct variable.
2462 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
2464         * eshell/em-term.el (eshell-visual-commands)
2465         (eshell-visual-subcommands, eshell-visual-options):
2466         Add summary line to docstrings.  Add cross-references.
2468 2013-06-10  Glenn Morris  <rgm@gnu.org>
2470         * epa.el (epa-read-file-name): New function.  (Bug#14510)
2471         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
2473 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
2475         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
2476         output redirection to be ignored with visual commands.
2478 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
2480         * eshell/em-term.el (eshell-visual-command-p): New function.
2481         (eshell-term-initialize): Move long lambda to separate function
2482         eshell-visual-command-p.
2483         * eshell/em-dirs.el (eshell-dirs-initialise):
2484         * eshell/em-script.el (eshell-script-initialize):
2485         Add missing #' to lambda.
2487 2013-06-08  Leo Liu  <sdl.web@gmail.com>
2489         * progmodes/octave.el (octave-add-log-current-defun): New function.
2490         (octave-mode): Set add-log-current-defun-function.
2491         (octave-goto-function-definition): Do not move point if not found.
2492         (octave-find-definition): Enhance to try subfunctions first.
2494 2013-06-08  Glenn Morris  <rgm@gnu.org>
2496         * emacs-lisp/bytecomp.el (byte-compile-char-before)
2497         (byte-compile-backward-char, byte-compile-backward-word):
2498         Improve previous change, to handle non-explicit nil.
2500 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2502         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
2503         (smie--opener/closer-at-point): New function.
2504         (smie--matching-block-data): Use it.  Don't match from right after an
2505         opener or right before a closer.  Obey smie-blink-matching-inners.
2506         Don't signal a mismatch for repeated inners like "switch..case..case".
2508 2013-06-07  Leo Liu  <sdl.web@gmail.com>
2510         * progmodes/octave.el (octave-mode): Set comment-use-global-state
2511         to t.  (Bug#14303)
2512         (octave-function-header-regexp): Fix.  (Bug#14570)
2513         (octave-help-mode-finish-hook, octave-help-mode-finish):
2514         Remove.  Just use temp-buffer-show-hook.
2516         * newcomment.el (comment-search-backward): Revert last change.
2517         (Bug#14434)
2519         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
2521 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
2523         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
2524         through xargs, to avoid failure due to MS-Windows limitations on
2525         command-line length.
2527 2013-06-06  Glenn Morris  <rgm@gnu.org>
2529         * font-lock.el (lisp-font-lock-keywords-2):
2530         Treat user-error like error.
2532         * emacs-lisp/bytecomp.el (byte-compile-char-before)
2533         (byte-compile-backward-char, byte-compile-backward-word):
2534         Handle explicit nil arguments.  (Bug#14565)
2536 2013-06-05  Alan Mackenzie  <acm@muc.de>
2538         * isearch.el (isearch-allow-prefix): New user option.
2539         (isearch-other-meta-char): Don't exit isearch when a prefix
2540         argument is typed whilst `isearch-allow-prefix' is non-nil.
2541         (Bug#9706)
2543 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2545         * autorevert.el (auto-revert-notify-handler): Use memq.
2546         Hide assertion failure.
2548         * skeleton.el: Use cl-lib.
2549         (skeleton-further-elements): Use defvar-local.
2550         (skeleton-insert): Use cl-progv.
2552 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
2554         * progmodes/prog-mode.el (prog-prettify-symbols)
2555         (prog-prettify-install): Update docstrings.
2557 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2559         * simple.el: Move all the prog-mode code to prog-mode.el.
2560         * progmodes/prog-mode.el: New file.
2561         * loadup.el: Add prog-mode.el.
2563 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
2565         * simple.el (prog-prettify-symbols): Add version.
2566         (prog-prettify-install): Add convenience function to prettify symbols.
2568         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
2569         (perl--augmented-font-lock-keywords-1)
2570         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
2571         variables and use it.
2573         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
2574         (cfengine3-mode): Remove unneeded variable and use it.
2576         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
2577         (lisp--augmented-font-lock-keywords-1)
2578         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
2579         Remove unneeded variables and use it.
2581 2013-06-05  João Távora  <joaotavora@gmail.com>
2583         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
2584         to point when opening the connection.  (Bug#14380)
2586 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2588         * subr.el (load-history-regexp, load-history-filename-element)
2589         (eval-after-load, after-load-functions, do-after-load-evaluation)
2590         (eval-next-after-load, display-delayed-warnings)
2591         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
2592         definition of save-match-data.
2593         (overriding-local-map): Remove accidental obsolescence declaration.
2595         * emacs-lisp/edebug.el (edebug-result): Move before first use.
2597 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
2599         Generalize symbol prettify support to prog-mode and implement it
2600         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
2601         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
2602         (prog--prettify-font-lock-compose-symbol)
2603         (prog-prettify-font-lock-symbols-keywords): New variables and
2604         functions to support symbol prettification.
2605         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
2606         (lisp--augmented-font-lock-keywords-1)
2607         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
2608         (lisp--prettify-symbols-alist): Implement prettify of lambda.
2609         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
2610         (cfengine3--prettify-symbols-alist, cfengine3-mode):
2611         Implement prettify of -> => :: strings.
2612         * progmodes/perl-mode.el (perl-prettify-symbols)
2613         (perl--font-lock-compose-symbol)
2614         (perl--font-lock-symbols-keywords): Move to prog-mode.
2615         (perl--prettify-symbols-alist): Prettify -> => :: strings.
2616         (perl-font-lock-keywords-1)
2617         (perl-font-lock-keywords-2): Remove explicit prettify support.
2618         (perl--augmented-font-lock-keywords)
2619         (perl--augmented-font-lock-keywords-1)
2620         (perl--augmented-font-lock-keywords-2, perl-mode):
2621         Implement prettify support.
2623 2013-06-05  Leo Liu  <sdl.web@gmail.com>
2625         Re-implement smie matching block highlight using
2626         show-paren-data-function.  (Bug#14395)
2627         * emacs-lisp/smie.el (smie-matching-block-highlight)
2628         (smie--highlight-matching-block-overlay)
2629         (smie--highlight-matching-block-lastpos)
2630         (smie-highlight-matching-block)
2631         (smie-highlight-matching-block-mode): Remove.
2632         (smie--matching-block-data-cache): New variable.
2633         (smie--matching-block-data): New function.
2634         (smie-setup): Use smie--matching-block-data for
2635         show-paren-data-function.
2637         * progmodes/octave.el (octave-mode-menu): Fix.
2638         (octave-find-definition): Skip garbage lines.
2640 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2642         Fix compilation error with simultaneous dynamic+lexical scoping.
2643         Add warning when a defvar appears after the first let-binding.
2644         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
2645         (byte-compile-close-variables): Initialize it.
2646         (byte-compile--declare-var): New function.
2647         (byte-compile-file-form-defvar)
2648         (byte-compile-file-form-define-abbrev-table)
2649         (byte-compile-file-form-custom-declare-variable): Use it.
2650         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
2651         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
2652         (byte-compile-bind): Handle dynamic bindings that shadow
2653         lexical bindings.
2654         (byte-compile-unbind): Make arg non-optional.
2655         (byte-compile-let): Simplify.
2656         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
2657         (cconv--analyse-function, cconv-analyse-form): Populate it.
2658         Protect byte-compile-bound-variables to limit the scope of defvars.
2659         (cconv-analyse-form): Add missing rule for (defvar <foo>).
2660         Remove unneeded rule for `declare'.
2662         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
2663         so as to avoid depending on cl-adjoin at run-time.
2664         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
2666         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
2667         (macroexp--warn-and-return): Use it.
2669 2013-06-05  Leo Liu  <sdl.web@gmail.com>
2671         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
2673 2013-06-04  Leo Liu  <sdl.web@gmail.com>
2675         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
2676         (compilation-auto-jump): Suppress the "Mark set" message to give
2677         way to exit message.
2679 2013-06-04  Alan Mackenzie  <acm@muc.de>
2681         Remove faulty optimisation from indentation calculation.
2682         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
2683         search limit based on 2000 characters back from indent-point.
2685 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
2687         * eshell/em-term.el (cl-lib): Require `cl-lib'.
2689 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2691         * emacs-lisp/lisp.el: Use lexical-binding.
2692         (lisp--local-variables-1, lisp--local-variables): New functions.
2693         (lisp--local-variables-completion-table): New var.
2694         (lisp-completion-at-point): Use it complete let-bound vars.
2696         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
2697         eagerly (bug#14422).
2699 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
2701         * autorevert.el (auto-revert-notify-enabled)
2702         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2703         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
2704         (auto-revert-notify-handler): Handle also gfilenotify.
2706         * subr.el (file-notify-handle-event): New defun.  Replacing ...
2707         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
2708         Remove.
2710 2013-06-03  Juri Linkov  <juri@jurta.org>
2712         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
2713         `M-s h .'.  (Bug#14427)
2715         * hi-lock.el (highlight-symbol-at-point): New alias for the new
2716         command `hi-lock-face-symbol-at-point'.
2717         (hi-lock-face-symbol-at-point): New command.
2718         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
2719         (hi-lock-menu): Add `highlight-symbol-at-point'.
2720         (hi-lock-mode): Doc fix.
2722         * isearch.el (isearch-forward-symbol-at-point): New command.
2723         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
2724         (isearch-highlight-regexp): Add a regexp which matches
2725         words/symbols for word/symbol mode.
2727         * subr.el (find-tag-default-bounds): New function with the body
2728         mostly moved from `find-tag-default'.
2729         (find-tag-default): Move most code to `find-tag-default-bounds',
2730         call it and apply `buffer-substring-no-properties' afterwards.
2732 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
2734         * eshell/em-term.el (eshell-term-initialize):
2735         Use `cl-intersection' rather than `intersection'.
2737 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
2739         * vc/log-view.el: Doc fix.
2740         (log-view-mode-map): Copy keymap from `special-mode-map'.
2742 2013-06-02  Eric Ludlam  <zappo@gnu.org>
2744         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
2745         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
2746         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
2747         (eieio-unbound, eieio-default-superclass)
2748         (eieio--define-field-accessors, method-static, method-before)
2749         (method-primary, method-after, method-num-lists)
2750         (method-generic-before, method-generic-primary)
2751         (method-generic-after, method-num-slots)
2752         (eieio-specialized-key-to-generic-key)
2753         (eieio--check-type, class-v, class-p)
2754         (eieio-class-name, define-obsolete-function-alias)
2755         (eieio-class-parents-fast, eieio-class-children-fast)
2756         (same-class-fast-p, class-constructor, generic-p)
2757         (generic-primary-only-p, generic-primary-only-one-p)
2758         (class-option-assoc, class-option, eieio-object-p)
2759         (class-abstract-p, class-method-invocation-order)
2760         (eieio-defclass-autoload-map, eieio-defclass-autoload)
2761         (eieio-class-un-autoload, eieio-defclass)
2762         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
2763         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
2764         (eieio--defgeneric-init-form, eieio-defgeneric-form)
2765         (eieio-defgeneric-reset-generic-form)
2766         (eieio-defgeneric-form-primary-only)
2767         (eieio-defgeneric-reset-generic-form-primary-only)
2768         (eieio-defgeneric-form-primary-only-one)
2769         (eieio-defgeneric-reset-generic-form-primary-only-one)
2770         (eieio-unbind-method-implementations)
2771         (eieio--defmethod, eieio--typep)
2772         (eieio-perform-slot-validation, eieio-validate-slot-value)
2773         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
2774         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
2775         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
2776         (eieio-slot-name-index, eieio-class-slot-name-index)
2777         (eieio-set-defaults, eieio-initarg-to-attribute)
2778         (eieio-attribute-to-initarg, eieio-c3-candidate)
2779         (eieio-c3-merge-lists, eieio-class-precedence-c3)
2780         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
2781         (eieio-class-precedence-list, eieio-generic-call-methodname)
2782         (eieio-generic-call-arglst, eieio-generic-call-key)
2783         (eieio-generic-call-next-method-list)
2784         (eieio-pre-method-execution-functions, eieio-generic-call)
2785         (eieio-generic-call-primary-only, eieiomt-method-list)
2786         (eieiomt-optimizing-obarray, eieiomt-install)
2787         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
2788         (eieio-generic-form, eieio-defmethod, make-obsolete)
2789         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
2790         (defclass): Remove `eval-and-compile' from macro.
2791         (call-next-method, shared-initialize): Instead of using
2792         `scoped-class' variable, use new eieio--scoped-class, and
2793         eieio--with-scoped-class.
2794         (initialize-instance): Rename local variable 'scoped-class' to
2795         'this-class' to remove ambiguitity from old global.
2797         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
2798         eieio.el.
2799         (eieio--scoped-class-stack): New variable.
2800         (eieio--scoped-class): New fcn.
2801         (eieio--with-scoped-class): New scoping macro.
2802         (eieio-defclass): Use pushnew instead of add-to-list.
2803         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
2804         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
2805         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
2806         `scoped-class' variable, use new eieio--scoped-class, and
2807         eieio--with-scoped-class.
2809         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
2811 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
2813         * eshell/esh-ext.el (eshell-external-command): Pass args to
2814         `eshell-find-interpreter'.
2815         (eshell-find-interpreter): Add new second parameter ARGS.
2817         * eshell/em-script.el (eshell-script-initialize): Add second arg
2818         to the function added as MATCH to `eshell-interpreter-alist'.
2820         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
2821         the function added as MATCH to `eshell-interpreter-alist'.
2823         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
2824         (eshell-visual-options): New defcustom.
2825         (eshell-escape-control-x): Adapt docstring.
2826         (eshell-term-initialize): Test `eshell-visual-subcommands' and
2827         `eshell-visual-options' in addition to `eshell-visual-commands'.
2828         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
2830 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2832         * progmodes/python.el (python-indent-block-enders): Add break,
2833         continue and raise keywords.
2835 2013-06-01  Glenn Morris  <rgm@gnu.org>
2837         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
2839         Plain (f)boundp silences compilation warnings since Emacs 22.1.
2840         * progmodes/cc-cmds.el (delete-forward-p):
2841         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
2842         * progmodes/cc-engine.el (buffer-syntactic-context):
2843         * progmodes/cc-fonts.el (face-property-instance):
2844         * progmodes/cc-mode.el (set-keymap-parents):
2845         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
2846         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
2847         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
2848         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
2849         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
2851         * progmodes/cc-vars.el (other): Emacs has this widget since
2852         at least 21.1, so don't (re)define it.
2854         * eshell/em-cmpl.el (eshell-cmpl-initialize):
2855         Replace the obsolete alias pcomplete-arg-quote-list.
2857 2013-06-01  Leo Liu  <sdl.web@gmail.com>
2859         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
2860         punctuation syntax.
2861         (inferior-octave-minimal-columns)
2862         (inferior-octave-last-column-width): New variables.
2863         (inferior-octave-track-window-width-change): New function.
2864         (inferior-octave-mode): Adjust column width so that Octave output,
2865         for example from 'ls', can fit into the window nicely.
2867 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
2869         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
2870         Highlight expansions inside regexp literals.
2872 2013-05-31  Glenn Morris  <rgm@gnu.org>
2874         * obsolete/sym-comp.el (symbol-complete):
2875         Replace obsolete completion-annotate-function.
2877         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
2879 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
2881         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
2882         New function, checks if point is inside a literal that allows
2883         expression expansion.
2884         (ruby-syntax-propertize-expansion): Use it.
2885         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
2886         around the body.
2888 2013-05-30  Juri Linkov  <juri@jurta.org>
2890         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
2891         to "\M-si".
2892         (isearch-invisible): New variable.
2893         (isearch-forward): Doc fix.
2894         (isearch-mode): Set `isearch-invisible'
2895         to the value of `search-invisible'.
2896         (isearch-toggle-case-fold): Doc fix.
2897         (isearch-toggle-invisible): New command.
2898         (isearch-query-replace): Let-bind `search-invisible'
2899         to the value of `isearch-invisible'.
2900         (isearch-search): Use `isearch-invisible' instead of
2901         `search-invisible'.  Let-bind `search-invisible'
2902         to the value of `isearch-invisible'.  (Bug#11378)
2904 2013-05-30  Juri Linkov  <juri@jurta.org>
2906         * replace.el (perform-replace): Avoid `isearch-range-invisible'
2907         call when `query-flag' is nil and `search-invisible' is non-nil.
2908         (Bug#11746)
2910 2013-05-30  Glenn Morris  <rgm@gnu.org>
2912         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
2914         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
2915         (cc-require): Suppress spurious "noruntime" warnings.
2916         (cc-require-when-compile): Use fboundp, for sake of compiler.
2918         * progmodes/cc-mode.el: Move load of cc-vars before that of
2919         cc-langs (which in turn loads cc-vars), to quieten compiler.
2921 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2923         * paren.el: Simplify the code.
2924         (show-paren-mode): Always start the timer.
2925         (show-paren--idle-timer): Rename from show-paren-idle-timer.
2926         (show-paren--overlay, show-paren--overlay-1): Rename from
2927         show-paren-overlay and show-paren-overlay-1, and initialize to an
2928         overlay rather than to nil.
2929         (show-paren-function): Misc cleanup and simplifications.
2931 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2933         * paren.el (show-paren-data-function): New hook.
2934         (show-paren--default): New function, extracted from show-paren-function.
2935         (show-paren-function): Use show-paren-data-function.
2937 2013-05-30  Glenn Morris  <rgm@gnu.org>
2939         * ielm.el (ielm-map, ielm-complete-symbol):
2940         Use completion-at-point rather than obsolete functions.
2941         (inferior-emacs-lisp-mode): Doc fix.
2942         Set completion-at-point-functions, rather than
2943         comint-dynamic-complete-functions.
2945         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
2946         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
2947         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
2949         * image.el (image-animated-p): Tweak definition.
2951         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
2952         (rlogin-process-connection-type): Tweak default.  Add set-after.
2953         (rlogin-host): Doc fix.
2954         (rlogin): Tweak prompt.
2955         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
2957         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
2958         * progmodes/tcl.el (inferior-tcl-mode-map):
2959         Use completion-at-point rather than obsolete alias.
2961         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
2963         * minibuffer.el (read-file-name-completion-ignore-case):
2964         Move before completion--in-region, for eager macro expansion.
2966 2013-05-29  Juri Linkov  <juri@jurta.org>
2968         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
2969         for total count of matching lines.  Add `global-matches' for total
2970         count of matches.  Rename `matches' to `lines' for count of
2971         matching lines.  Add `matches' for count of matches.
2972         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
2973         to `prev-line' for line number of prev match endpt.
2974         Increment `matches' for every match.  Print the number of
2975         matching lines in the header.
2976         (occur-context-lines): Rename `lines' to `curr-line'.
2977         Rename `prev-lines' to `prev-line'.  (Bug#14017)
2979 2013-05-29  Juri Linkov  <juri@jurta.org>
2981         * replace.el (perform-replace): Add `skip-read-only-count',
2982         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
2983         Increment them for corresponding conditions and report the number
2984         of skipped occurrences in the final message.  (Bug#11746)
2985         (query-replace, query-replace-regexp, query-replace-regexp-eval)
2986         (replace-string, replace-regexp): Doc fix.
2988 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2990         * emacs-lisp/trace.el (trace--read-args): Provide a default.
2992         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
2993         prog-mode-map (bug#14504).
2995 2013-05-29  Leo Liu  <sdl.web@gmail.com>
2997         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
2998         (octave-help): Small simplification.
3000         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
3001         off the highlight first.
3003 2013-05-29  Glenn Morris  <rgm@gnu.org>
3005         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
3006         Handle idlwave-last-system-routine-info-cons-cell being nil.
3008         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
3009         (idlwave-write-paths): Simplify via with-temp-buffer.
3011         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
3012         * emulation/cua-rect.el: Also load cua-base at run time.
3014         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
3015         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
3016         (cperl-imenu-on-info): Require imenu.
3018 2013-05-28  Alan Mackenzie  <acm@muc.de>
3020         Handle "capitalised keywords" correctly.
3021         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
3023 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
3025         * eshell/em-unix.el: Add -r option to cp.
3027 2013-05-28  Glenn Morris  <rgm@gnu.org>
3029         * vc/vc-arch.el (vc-exec-after): Declare.
3030         (vc-switches): Autoload.
3031         * vc/vc-bzr.el: No need to require vc when compiling.
3032         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
3033         (vc-resynch-buffer, vc-dir-refresh): Declare.
3034         (vc-setup-buffer, vc-switches): Autoload.
3035         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
3036         (vc-resynch-buffer): Declare.
3037         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
3038         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
3039         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
3040         (grep-read-regexp, grep-read-files, grep-expand-template)
3041         (vc-dir-refresh): Declare.
3042         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
3043         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
3044         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
3045         * vc/vc-mtn.el (vc-exec-after): Declare.
3046         (vc-switches): Autoload.
3047         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
3048         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
3049         (vc-file-tree-walk): Declare.
3050         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
3051         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
3052         (vc-tag-precondition, vc-rename-master): Autoload.
3053         * vc/vc-svn.el (vc-exec-after): Declare.
3054         (vc-switches, vc-setup-buffer): Autoload.
3055         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
3056         Autoload.
3057         (vc-resynch-buffer): Declare.
3059         * obsolete/fast-lock.el (byte-compile-warnings):
3060         Don't warn about obsolete features in this obsolete file.
3062         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
3063         Move definition before use.
3065         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
3066         (dun-unix-verbs): Remove dun-zippy.
3067         (dun-zippy): Remove function.
3069         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
3071 2013-05-27  Juri Linkov  <juri@jurta.org>
3073         * replace.el (replace-search): New function with code moved out
3074         from `perform-replace'.
3075         (replace-highlight, replace-dehighlight): Move function definitions
3076         up closer to `replace-search'.  (Bug#11746)
3078 2013-05-27  Juri Linkov  <juri@jurta.org>
3080         * replace.el (perform-replace): Ignore invisible matches.
3081         In addition to checking `query-replace-skip-read-only', also
3082         filter out matches by calling `run-hook-with-args-until-failure'
3083         on `isearch-filter-predicates', and also check `search-invisible'
3084         for t or call `isearch-range-invisible'.
3085         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
3087 2013-05-27  Juri Linkov  <juri@jurta.org>
3089         * isearch.el (isearch-filter-predicates): Rename from
3090         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
3091         (isearch-message-prefix): Display text from the property
3092         `isearch-message-prefix' of the currently active filters.
3093         (isearch-search): Don't compare `isearch-filter-predicate' with
3094         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
3095         on `isearch-filter-predicates'.  Also check `search-invisible' for t
3096         or call `isearch-range-invisible'.
3097         (isearch-filter-visible): Make obsolete.
3098         (isearch-lazy-highlight-search):
3099         Call `run-hook-with-args-until-failure' on
3100         `isearch-filter-predicates' and use `isearch-range-invisible'.
3102         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
3103         `isearch-filter-predicates' instead of `funcall'ing
3104         `isearch-filter-predicate'.
3105         (Info-mode): Set `Info-isearch-filter' to
3106         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
3108         * dired-aux.el (dired-isearch-filter-predicate-orig):
3109         Remove variable.
3110         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
3111         (dired-isearch-filenames-end): Add and remove
3112         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
3113         instead of changing the value of `isearch-filter-predicate'.
3114         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
3115         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
3116         Put property `isearch-message-prefix' to "filename " on
3117         `dired-isearch-filter-filenames'.
3119         * wdired.el (wdired-change-to-wdired-mode):
3120         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
3121         locally instead of changing `isearch-filter-predicate'.
3122         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
3124 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
3126         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
3127         return the commit hash (Bug#14459).  Also set the
3128         `vc-git-detached' property.
3129         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
3130         (vc-git-mode-line-string): Use the same help-echo format whether
3131         in detached mode or not, because we know the actual revision now.
3132         When in detached mode, shorten the revision to 7 chars.
3134 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3136         * emacs-lisp/easy-mmode.el (define-minor-mode):
3137         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
3138         mode hook and provide a docstring.
3140 2013-05-27  Alan Mackenzie  <acm@muc.de>
3142         Remove spurious syntax-table text properties inserted by C-y.
3143         * progmodes/cc-mode.el (c-after-change): Also clear hard
3144         syntax-table property with value nil.
3146 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
3148         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
3149         when reading the events; the buffer layout shall not be changed.
3151 2013-05-27  Leo Liu  <sdl.web@gmail.com>
3153         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
3154         New variable.
3155         (inferior-octave-directory-tracker): Automatically re-sync
3156         default-directory.
3157         (octave-help): Improve handling of 'See also'.
3159 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3161         * doc-view.el: Minor naming convention tweaks.
3162         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
3164         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
3165         even if there's no `display' property yet (bug#14435).
3167 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
3169         * subr.el (unmsys--file-name): Rename from reveal-filename.
3171         * Makefile.in (custom-deps, finder-data, autoloads)
3172         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3173         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3174         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
3176 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3178         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
3179         error-completion on the first 2 args of condition-case (bug#14446).
3180         Don't burp at EOB.
3182 2013-05-25  Leo Liu  <sdl.web@gmail.com>
3184         * comint.el (comint-previous-matching-input): Do not flood the
3185         *Messages* buffer with trivial messages.
3187 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3189         * progmodes/flymake.el (flymake-nop): Don't return a string.
3190         (flymake-set-at): Fix typo.
3192         * simple.el (read--expression): New function, extracted from
3193         eval-expression.  Set completion-at-point-functions (bug#14465).
3194         (eval-expression, eval-minibuffer): Use it.
3196 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
3198         * progmodes/flymake.el (flymake-save-buffer-in-file)
3199         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
3200         (flymake-selected-frame, flymake-log, flymake-ins-after)
3201         (flymake-set-at, flymake-get-buildfile-from-cache)
3202         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
3203         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
3204         Refine the doc string.
3205         (flymake-get-file-name-mode-and-masks): Reformat.
3206         (flymake-get-real-file-name-function): Fix a minor bug.
3208 2013-05-24  Juri Linkov  <juri@jurta.org>
3210         * progmodes/grep.el (grep-mode-font-lock-keywords):
3211         Support =linenumber= format used by git-grep for lines with
3212         function names.  (Bug#13549)
3214 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3216         * progmodes/octave.el (octave-smie-rules): Return nil rather than
3217         0 after a semi-colon; it works better for smie-auto-fill.
3218         (octave--indent-new-comment-line): New function.
3219         (octave-indent-new-comment-line): Use it (indirectly).
3220         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
3221         modify comment-line-break-function.
3223         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
3224         (smie-setup): Use add-function to set it.
3226 2013-05-24  Sam Steingold  <sds@gnu.org>
3228         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
3229         argument (before the `interactive' argument).
3231 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3233         * image-mode.el (image-mode-winprops): Add winprops to
3234         image-mode-winprops-alist before running
3235         image-mode-new-window-functions.
3236         * doc-view.el (doc-view-new-window-function): Don't delay
3237         doc-view-goto-page via timers (bug#14435).
3239 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
3241         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
3242         (doc-view-desktop-save-buffer): New function.
3243         (doc-view-restore-desktop-buffer): New function.
3244         (desktop-buffer-mode-handlers):
3245         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
3246         handler.
3247         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
3248         `desktop-save-buffer' function.
3250 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
3252         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
3253         (tramp-gvfs-file-name-handler): Raise a user error when
3254         `tramp-gvfs-enabled' is nil.
3255         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
3256         Do not raise a user error when loading package.  (Bug#14447)
3258         * net/xesam.el: Move to obsolete/.
3260 2013-05-24  Glenn Morris  <rgm@gnu.org>
3262         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
3264         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
3266         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
3267         (Info-find-node, Man-getpage-in-background): Declare.
3269         * mail/unrmail.el (unrmail):
3270         Replace obsolete detect-coding-with-priority.
3272         * net/socks.el (socks-split-string): Use this rather than split-string.
3273         (socks-nslookup-host): Update for above change.
3274         (dynamic-choice, s5-dynamic-choice-match)
3275         (s5-dynamic-choice-match-inline, s5-widget-value-create):
3276         Comment out unused code.
3278         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
3279         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
3280         (gud-tooltip-echo-area): Make obsolete.
3281         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
3283         * progmodes/js.el (js--optimize-arglist): Declare.
3285         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
3287         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
3288         (ediff-window-C): Declare.
3290         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
3291         Tweak requires to silence compiler.
3293         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
3294         (he-search-string, he-tried-table, he-expand-list)
3295         (he-init-string, he-string-member, he-substitute-string)
3296         (he-reset-string): Declare.
3298         * obsolete/options.el (list-options): Use custom-variable-p,
3299         rather than obsolete alias.
3301 2013-05-23  Sam Steingold  <sds@gnu.org>
3303         * simple.el (shell-command-on-region): Pass the `replace' argument
3304         down to `call-process-region' to comply with the doc as reported on
3305         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
3307 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3309         * emacs-lisp/smie.el (smie-indent-forward-token)
3310         (smie-indent-backward-token): Handle string tokens (bug#14381).
3312 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3314         * ielm.el (ielm-menu): New menu.
3315         (inferior-emacs-lisp-mode): Set comment-start.
3317 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3319         * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
3320         Fix deactivate action.
3322         * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
3323         Add cleveref macros.
3325         * lisp/textmodes/reftex-parse.el
3326         (reftex-locate-bibliography-files): Accept options for
3327         bibliography commands.
3328         * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
3329         Add addbibresource.  Basic Biblatex support.
3331 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
3333         * net/tramp-gvfs.el (top):
3334         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
3335         when loading package.  (Bug#14447)
3337 2013-05-23  Glenn Morris  <rgm@gnu.org>
3339         * progmodes/js.el: No need to load comint when compiling.
3340         (ring-insert, comint-send-string, comint-send-input)
3341         (comint-last-input-end, ido-chop): Declare.
3343         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
3344         * vc/ediff-mult.el: Adjust requires.
3345         (ediff-directories-internal, ediff-directory-revisions-internal)
3346         (ediff-patch-file-internal): Declare.
3347         * vc/ediff-ptch.el: Adjust requires.
3348         (ediff-use-last-dir, ediff-buffers-internal): Declare.
3349         (ediff-find-file): Autoload.
3350         * vc/ediff-util.el: No need to load ediff when compiling.
3351         (ediff-regions-internal): Declare.
3352         * vc/ediff-wind.el: Adjust requires.
3353         (ediff-compute-toolbar-width): Define when compiling.
3354         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
3355         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
3356         (dired-get-filename, dired-get-marked-files)
3357         (ediff-last-dir-patch, ediff-patch-default-directory)
3358         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
3359         (ediff-patch-buffer-internal): Declare.
3361         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
3362         (ispell-process, ispell-buffer-local-words, lm-summary)
3363         (lm-section-start, lm-section-end): Declare.
3364         (checkdoc-ispell-init): Simplify.
3366         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
3367         (he-string-member, he-reset-string, he-substitute-string): Declare.
3369         * eshell/em-ls.el: Adjust requires.
3370         (eshell-glob-regexp): Declare.
3371         * eshell/em-tramp.el: Adjust requires.
3372         (eshell-parse-command): Autoload.
3373         * eshell/em-xtra.el: Adjust requires.
3374         (eshell-parse-command): Autoload.
3375         * eshell/esh-ext.el: Adjust requires.
3376         (eshell-parse-command, eshell-close-handles): Autoload.
3377         * eshell/esh-io.el: Adjust requires.
3378         (eshell-output-filter): Autoload.
3379         * eshell/esh-util.el: No need to load tramp when compiling.
3380         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
3381         Declare.
3382         (eshell-parse-ange-ls): Require ange-ftp and tramp.
3383         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3384         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
3385         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
3386         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
3387         * eshell/esh-opt.el, eshell/esh-proc.el:
3388         * eshell/esh-var.el: Adjust requires.
3389         * eshell/eshell.el: Do not require esh-util twice.
3390         (eshell-add-input-to-history): Declare.
3391         (eshell-command): Check history module is active before using it.
3393         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
3395 2013-05-22  Leo Liu  <sdl.web@gmail.com>
3397         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
3399 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
3401         * autorevert.el (auto-revert-notify-add-watch)
3402         (auto-revert-notify-handler): Add `attrib' for the inotify case,
3403         it indicates changes in file modification time.
3405 2013-05-22  Glenn Morris  <rgm@gnu.org>
3407         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
3408         Always delete the autoloaded function from the noruntime and
3409         unresolved functions lists.
3411         * allout.el: No need to load epa, epg, overlay when compiling.
3412         (epg-context-set-passphrase-callback, epg-list-keys)
3413         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
3414         (epg-key-user-id-list): Declare.
3416         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
3417         (viper-set-parsing-style-toggling-macro)
3418         (viper-set-emacs-state-searchstyle-macros):
3419         Use called-interactively-p on Emacs.
3420         (viper-looking-back): Make it an obsolete alias.  Update callers.
3421         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
3422         Use looking-back rather than viper-looking-back.
3423         (viper-tmp-insert-at-eob, viper-enlarge-region)
3424         (viper-read-string-with-history, viper-register-to-point)
3425         (viper-append-to-register, viper-change-state-to-vi)
3426         (viper-backward-char-carefully, viper-forward-char-carefully)
3427         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
3428         (viper-change-state-to-emacs): Declare.
3429         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
3430         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
3431         * emulation/viper-mous.el: Do not load viper-cmd.
3432         (viper-backward-char-carefully, viper-forward-char-carefully)
3433         (viper-forward-word, viper-adjust-window): Declare.
3435         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
3437         * progmodes/idlw-help.el (idlwave-help-fontify):
3438         Use called-interactively-p.
3440         * term/w32console.el (w32-get-console-codepage)
3441         (w32-get-console-output-codepage): Declare.
3443         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
3444         Remove unnecessary declarations.
3445         (dframe-message): Doc fix.
3447         * info.el (dframe-select-attached-frame, dframe-current-frame):
3448         Declare.
3450         * speedbar.el (speedbar-message): Make it an obsolete alias.
3451         Update all callers.
3452         (speedbar-with-attached-buffer)
3453         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
3454         (speedbar-with-writable): Use backquote.
3455         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
3456         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3457         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
3458         rather than speedbar- aliases.
3459         * mail/rmail.el: Load dframe rather than speedbar when compiling.
3460         (speedbar-make-specialized-keymap, speedbar-insert-button)
3461         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
3462         (speedbar-do-function-pointer): Declare.
3463         (rmail-speedbar-button, rmail-speedbar-find-file)
3464         (rmail-speedbar-move-message):
3465         Use dframe-with-attached-buffer rather than speedbar- alias.
3466         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
3467         (dframe-message, speedbar-make-specialized-keymap)
3468         (speedbar-add-expansion-list, speedbar-mode-functions-list)
3469         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
3470         (speedbar-insert-button, dframe-select-attached-frame)
3471         (dframe-maybee-jump-to-attached-frame)
3472         (speedbar-change-initial-expansion-list)
3473         (speedbar-previously-used-expansion-list-name): Declare.
3474         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
3475         Use dframe-message, dframe-with-attached-buffer rather than
3476         speedbar- aliases.
3477         (gud-sentinel): Silence compiler.
3478         * progmodes/vhdl-mode.el (speedbar-refresh)
3479         (speedbar-do-function-pointer, speedbar-add-supported-extension)
3480         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
3481         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
3482         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
3483         (speedbar-file-lists, speedbar-make-tag-line)
3484         (speedbar-line-directory, speedbar-goto-this-file)
3485         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
3486         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
3487         (speedbar-make-button, speedbar-reset-scanners)
3488         (speedbar-files-item-info, speedbar-line-text)
3489         (speedbar-find-file-in-frame, speedbar-set-timer)
3490         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
3491         (speedbar-with-writable): Do not (re)define it.
3492         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
3493         rather than speedbar- alias.
3495 2013-05-21  Leo Liu  <sdl.web@gmail.com>
3497         * progmodes/octave.el (octave-mode-menu): Update and re-organize
3498         menu items.
3499         (octave-mode): Tweak fill-nobreak-predicate.
3500         (inferior-octave-startup): Check process to avoid infinite loop.
3501         (inferior-octave): Pop to buffer first to show abornmal process
3502         exit information.
3504 2013-05-21  Glenn Morris  <rgm@gnu.org>
3506         * printing.el (pr-menu-bar): Define when compiling.
3508 2013-05-21  Leo Liu  <sdl.web@gmail.com>
3510         * progmodes/octave.el (octave-auto-fill): Remove.
3511         (octave-indent-new-comment-line): Improve.
3512         (octave-mode): Use auto fill mode through
3513         comment-line-break-function and fill-nobreak-predicate.
3514         (octave-goto-function-definition): Support DEFUN_DLD.
3515         (octave-beginning-of-defun): Small tweak.
3516         (octave-help): Show parent directory.
3518 2013-05-21  Glenn Morris  <rgm@gnu.org>
3520         * files.el (dired-unmark):
3521         * progmodes/gud.el (gdb-input): Update declarations.
3523         * calculator.el (electric, ehelp): No need to load when compiling.
3524         (Electric-command-loop, electric-describe-mode): Declare.
3526         * doc-view.el (doc-view-current-converter-processes): Move before use.
3528         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3529         Move MODE-set-explicitly definition before use.
3531         * international/mule-diag.el (mule-diag):
3532         Don't use obsolete window-system-version.
3534         * mail/feedmail.el (smtpmail): No need to load when compiling.
3535         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
3537         * mail/mail-utils.el (rfc822): No need to load when compiling.
3538         (rfc822-addresses): Autoload it.
3539         (mail-strip-quoted-names): Trivial simplification.
3541         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
3542         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
3544         * net/snmp-mode.el (tempo): Don't duplicate requires.
3546         * progmodes/prolog.el (info): No need to load when compiling.
3547         (comint): Require before shell requires it.
3548         (Info-goto-node): Autoload it.
3549         (Info-follow-nearest-node): Declare.
3550         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
3552         * textmodes/artist.el (picture-mode-exit): Declare.
3554         * textmodes/reftex-parse.el (reftex-parse-from-file):
3555         Trivial rewrite so the compiler can parse it better.
3557 2013-05-20  Leo Liu  <sdl.web@gmail.com>
3559         * progmodes/octave.el (octave-help-mode-map)
3560         (octave-help-mode-finish-hook): New variables.
3561         (octave-help-mode, octave-help-mode-finish): New functions.
3562         (octave-help): Use octave-help-mode.
3564 2013-05-20  Glenn Morris  <rgm@gnu.org>
3566         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
3568 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
3570         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
3571         start at point, so that expansion starting right after opening
3572         slash in a regexp is recognized.
3573         (ruby-syntax-before-regexp-re): New defvar, extracted from
3574         ruby-syntax-propertize-function.  Since the value of this regexp
3575         is looked up at runtime now, we should be able to turn
3576         `ruby-syntax-methods-before-regexp' into a defcustom later.
3577         (ruby-syntax-propertize-function): Split regexp matching into two
3578         parts, for opening and closing slashes.  That allows us to skip
3579         over string interpolations and support multiline regexps.
3580         Don't call `ruby-syntax-propertize-expansions', instead use another rule
3581         for them, which calls `ruby-syntax-propertize-expansion'.
3582         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
3583         call to `ruby-syntax-propertize-function'.
3584         (ruby-syntax-propertize-expansion): Extracted from
3585         `ruby-syntax-propertize-expansions'.  Handles one expansion.
3586         (ruby-syntax-propertize-percent-literal): Leave point right after
3587         the percent symbol, so that the expression expansion rule can
3588         propertize the contents.
3589         (ruby-syntax-propertize-heredoc): Leave point at bol following the
3590         heredoc openers.
3591         (ruby-syntax-propertize-expansions): Remove.
3593 2013-05-18  Juri Linkov  <juri@jurta.org>
3595         * man.el (Man-default-man-entry): Remove `-' from the end
3596         of the default value.  (Bug#14400)
3598 2013-05-18  Glenn Morris  <rgm@gnu.org>
3600         * comint.el (comint-password-prompt-regexp):
3601         Allow "password for XXX" where XXX contains colons (eg https://...).
3603 2013-05-18  Leo Liu  <sdl.web@gmail.com>
3605         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
3606         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
3607         (octave-source-directories): Don't check process.
3608         (octave-source-directories, octave-find-definition): Doc fix.
3610 2013-05-18  Glenn Morris  <rgm@gnu.org>
3612         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
3613         Remove backspace/delete bindings.  (Bug#14392)
3615         * cus-dep.el (custom-make-dependencies): Sort the output.
3616         (custom-versions-load-alist): Convert comment to doc.
3618 2013-05-17  Leo Liu  <sdl.web@gmail.com>
3620         * newcomment.el (comment-search-backward): Stricter in finding
3621         comment start.  (Bug#14303)
3623         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
3624         (octave-comment-start-skip): Properly anchored.
3626 2013-05-17  Leo Liu  <sdl.web@gmail.com>
3628         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
3629         Clean up when turned off.  (Bug#14395)
3630         (smie--highlight-matching-block-overlay): No longer buffer-local.
3631         (smie-highlight-matching-block): Adjust.
3633 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
3635         Doc string fix for "nanoseconds" (Bug#14406).
3636         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
3637         Fix doc string typo that had "nanoseconds" instead of "microseconds".
3639 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
3641         * calc/calc-units.el (math-extract-units): Preserve powers
3642         of units.
3644 2013-05-17  Leo Liu  <sdl.web@gmail.com>
3646         * subr.el (delete-consecutive-dups): New function.
3647         * ido.el (ido-set-matches-1): Use it.
3648         * progmodes/octave.el (inferior-octave-completion-table): Use it.
3649         * ido.el (ido-remove-consecutive-dups): Remove.
3651 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3653         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
3654         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
3655         regexp-opt's `words'.
3657 2013-05-16  Leo Liu  <sdl.web@gmail.com>
3659         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
3660         (smie--highlight-matching-block-overlay)
3661         (smie--highlight-matching-block-lastpos)
3662         (smie--highlight-matching-block-timer): New variables.
3663         (smie-highlight-matching-block): New function.
3664         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
3665         (smie-setup): Conditionally enable smie-blink-matching-open.
3667 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
3669         Sync with upstream verilog-mode r840.
3670         * progmodes/verilog-mode.el (verilog-mode-version)
3671         (verilog-mode-release-date): Update.
3672         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
3673         (verilog-sig-tieoff): Fix string error on
3674         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
3675         (verilog-read-decls): Fix parameters confusing
3676         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
3678 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
3680         * subr.el (reveal-filename): New function.
3682         * loadup.el: Compute Emacs executable versions on MS-Windows,
3683         where executables have the .exe extension.  Add a hard link
3684         emacs-XX.YY.ZZ.exe on MS-Windows.
3686         * Makefile.in (XARGS_LIMIT): New variable.
3687         (custom-deps, finder-data, autoloads)
3688         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3689         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3690         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
3691         (compile-main): Limit xargs according to $(XARGS_LIMIT).
3693 2013-05-16  Leo Liu  <sdl.web@gmail.com>
3695         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
3696         (octave-mode-menu, octave-mode-map): Remove its uses.
3698 2013-05-16  Reto Zimmermann  <reto@gnu.org>
3700         Sync with upstream vhdl mode v3.34.2.
3701         * progmodes/vhdl-mode.el: Use `push' throughout.
3702         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
3703         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
3704         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
3705         (vhdl-actual-generic-name): New option to derive actual generic name.
3706         (vhdl-port-paste-signals): Replace formal by actual generics.
3707         (vhdl-beautify): New name for old group vhdl-align.  Update users.
3708         (vhdl-beautify-options): New option.
3709         (vhdl-last-input-event): New compat alias.  Use throughout.
3710         (vhdl-goto-line): Replace user level function `goto-line'.
3711         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
3712         vhdl-fix-statement-buffer.
3713         (vhdl-create-mode-menu): Add some entries.
3714         (vhdl-align-region-groups): Respect vhdl-beautify-options.
3715         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
3716         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
3717         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
3718         to force statements on one line.
3719         (vhdl-remove-trailing-spaces-region):
3720         New, split from vhdl-remove-trailing-spaces.
3721         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
3722         Respect vhdl-beautify-options.
3723         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
3724         (vhdl-update-sensitivity-list): Not add with index if exists without.
3725         Not include array index with signal.  Ignore keywords in comments.
3726         (vhdl-get-visible-signals): Regexp tweaks.
3727         (vhdl-template-component-inst): Handle empty library.
3728         (vhdl-template-type): Add template for 'enum' type.
3729         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
3730         Use vhdl-replace-string.
3731         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
3732         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
3733         (vhdl-speedbar-initialize): Update for above name change.
3734         (vhdl-compose-wire-components): Fix in handling of constants.
3735         (vhdl-error-regexp-emacs-alist): New variable.
3736         (vhdl-error-regexp-add-emacs): New function;
3737         adds support for new compile.el (Emacs 22+)
3738         (vhdl-generate-makefile-1): Change target order for single lib. units.
3739         Allow use of absolute file names.
3741 2013-05-16  Leo Liu  <sdl.web@gmail.com>
3743         * simple.el (prog-indent-sexp): Indent enclosing defun.
3745 2013-05-15  Glenn Morris  <rgm@gnu.org>
3747         * cus-start.el (show-trailing-whitespace): Move to editing basics.
3748         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
3749         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
3750         (whitespace-highlight): Move to whitespace group.
3752         * comint.el (comint-source):
3753         * pcmpl-linux.el (pcmpl-linux):
3754         * shell.el (shell-faces):
3755         * eshell/esh-opt.el (eshell-opt):
3756         * international/ccl.el (ccl): Remove empty custom groups.
3758         * completion.el (dynamic-completion-mode):
3759         * jit-lock.el (jit-lock-debug-mode):
3760         * minibuffer.el (completion-in-region-mode):
3761         * type-break.el (type-break-mode-line-message-mode)
3762         (type-break-query-mode):
3763         * emulation/tpu-edt.el (tpu-edt-mode):
3764         * progmodes/subword.el (global-subword-mode, global-superword-mode):
3765         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3766         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
3768         * term/xterm.el (xterm): Change parent group to terminals.
3770         * master.el (master): Remove empty custom group.
3771         (master-mode): Remove unused :group argument.
3772         * textmodes/refill.el (refill): Remove empty custom group.
3773         (refill-mode): Remove unused :group argument.
3775         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
3777         * cus-dep.el: Provide a feature.
3778         (custom-make-dependencies): Ignore dotfiles (dir-locals).
3779         Don't mistakenly ignore files whose basenames match a basename
3780         from preloaded-file-list (eg cedet/ede/simple.el).
3781         Add a fallback method for getting :group.
3783 2013-05-15  Juri Linkov  <juri@jurta.org>
3785         * isearch.el (isearch-char-by-name): Rename from
3786         `isearch-insert-char-by-name'.  Doc fix.
3787         (isearch-forward): Mention `isearch-char-by-name' in
3788         the docstring.  (Bug#13348)
3790         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
3791         `exit-minibuffer' instead of
3792         `isearch-nonincremental-exit-minibuffer'.
3793         (isearch-edit-string): Remove mention of
3794         `isearch-nonincremental-exit-minibuffer' from docstring.
3795         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
3796         (isearch-forward-exit-minibuffer)
3797         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
3799 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3801         * loadup.el: Just use unversioned DOC.
3803         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
3804         literals as extending to EOB.
3805         (nxml-last-fontify-end): Remove unused variable.
3806         (nxml-after-change1): Use with-silent-modifications.
3807         (nxml-extend-after-change-region): Simplify.
3808         (nxml-extend-after-change-region1): Remove function.
3809         (nxml-after-change1): Don't adjust for dependent regions.
3810         (nxml-fontify-matcher): Simplify.
3811         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
3812         (xmltok-add-dependent): Remove function.
3813         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
3814         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
3815         (xmltok-scan-prolog-after-processing-instruction-open): Treat
3816         unclosed <[[, <?, comment, and other literals as extending to EOB.
3817         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
3818         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
3819         Remove functions.
3820         (rng-do-some-validation-1): Don't mark dependent regions.
3821         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
3822         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
3823         (nxml-clear-dependent-regions): Remove functions.
3824         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
3825         (nxml-ensure-scan-up-to-date):
3826         Don't clear&mark dependent regions.
3828 2013-05-15  Leo Liu  <sdl.web@gmail.com>
3830         * progmodes/octave.el (octave-goto-function-definition):
3831         Improve and fix callers.
3833 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3835         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
3836         the setter (bug#14387).
3838         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
3839         surrounding group (bug#14402).
3841 2013-05-14  Juri Linkov  <juri@jurta.org>
3843         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
3844         (Bug#14390)
3846 2013-05-14  Glenn Morris  <rgm@gnu.org>
3848         * progmodes/f90.el (f90-imenu-generic-expression):
3849         Fix typo in 2013-05-08 change.  (Bug#14402)
3851 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
3853         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
3854         Remove signals for which replies are never received.
3856 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
3858         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
3859         (gdb-handler-alist, gdb-handler-number): Remove variables.
3860         (gdb-handler-list): New variable.
3861         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
3862         (gdb-pending-handler-p, gdb-handle-reply)
3863         (gdb-remove-all-pending-triggers): New functions.
3864         (gdb-discard-unordered-replies): New defcustom.
3865         (gdb-handler): New defstruct.
3866         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
3867         instead of gdb-pending-triggers.  Update docstring.
3868         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
3869         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
3870         (gdb-var-update-handler, def-gdb-auto-update-trigger)
3871         (def-gdb-auto-update-handler, gdb-get-changed-registers)
3872         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
3873         (gdb-frame-handler): Pending triggers are now automatically managed.
3874         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
3875         Remove argument.
3876         (gdb-input): Automatically handles pending triggers.  Update docstring.
3877         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
3878         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
3879         Update comments.
3880         (gdb-done-or-error): Now use gdb-handle-reply.
3882 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
3884         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
3885         gdb-debug-log.
3887 2013-05-14  Glenn Morris  <rgm@gnu.org>
3889         * subr.el (user-emacs-directory-warning): New option.
3890         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
3892 2013-05-14  Leo Liu  <sdl.web@gmail.com>
3894         * progmodes/octave.el (octave-font-lock-keywords): Fix error
3895         during redisplay.
3896         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
3897         (octave-font-lock-texinfo-comment): Fix invalid search bound
3898         error: wrong side of point.
3900 2013-05-14  Glenn Morris  <rgm@gnu.org>
3902         * progmodes/flymake.el (flymake-xml-program): New option.
3903         (flymake-xml-init): Use it.
3905         * term/xterm.el: Provide a feature.
3907         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
3909 2013-05-13  Glenn Morris  <rgm@gnu.org>
3911         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
3912         Add compat aliases as a hack workaround.  (Bug#14384)
3914 2013-05-13  Leo Liu  <sdl.web@gmail.com>
3916         * progmodes/octave.el (octave-indent-comment): Fix indentation for
3917         ###, and %!.
3918         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
3919         C-M-q.
3920         (octave-comment-start-skip): Include %!.
3921         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
3923 2013-05-12  Leo Liu  <sdl.web@gmail.com>
3925         * progmodes/octave.el (inferior-octave-startup): Store the value
3926         of __octave_srcdir__ for octave-source-directories.
3927         (inferior-octave-check-process): New function refactored out of
3928         inferior-octave-send-list-and-digest.
3929         (octave-source-directories)
3930         (octave-find-definition-filename-function): New variables.
3931         (octave-source-directories)
3932         (octave-find-definition-default-filename): New functions.
3933         (octave-find-definition): Improve to find functions implemented in C++.
3935 2013-05-12  Glenn Morris  <rgm@gnu.org>
3937         * calendar/diary-lib.el (diary-outlook-format-1):
3938         Don't include dayname in the output.  (Bug#14349)
3940 2013-05-11  Glenn Morris  <rgm@gnu.org>
3942         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
3944         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
3945         Treat cc-provide like provide.
3947 2013-05-11  Kevin Ryde  <user42@zip.com.au>
3949         * cus-dep.el (custom-make-dependencies):
3950         Use generated-autoload-load-name for the sake of files such
3951         such cedet/semantic/bovine/c.el, where the base file name
3952         is not in load-path.  (Bug#5277)
3954 2013-05-11  Glenn Morris  <rgm@gnu.org>
3956         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
3957         Provide features.
3959 2013-05-11  Leo Liu  <sdl.web@gmail.com>
3961         * progmodes/octave.el (octave-indent-comment): Improve.
3962         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
3963         (octave-eldoc-function-signatures, octave-eldoc-function):
3964         New functions.
3965         (octave-mode, inferior-octave-mode): Add eldoc support.
3967 2013-05-11  Richard Stallman  <rms@gnu.org>
3969         * epa.el (epa-decrypt-file): Take output file name as argument
3970         and read it using `interactive'.
3972 2013-05-11  Leo Liu  <sdl.web@gmail.com>
3974         * progmodes/octave.el (octave-beginning-of-line)
3975         (octave-end-of-line): Check before using up-list because it jumps
3976         out of more syntactic contructs since moving to smie.
3977         (octave-indent-comment): New function.
3978         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
3979         (octave-begin-keywords, octave-end-keywords)
3980         (octave-reserved-words, octave-smie-bnf-table)
3981         (octave-smie-rules): Add new keywords from Octave 3.6.4.
3983 2013-05-11  Glenn Morris  <rgm@gnu.org>
3985         * faces.el (internal-face-x-get-resource):
3986         * frame.el (ns-display-monitor-attributes-list):
3987         * calc/calc-aent.el (math-to-radians-2):
3988         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
3989         Fix declarations.
3991         * calc/calc-menu.el: Make it loadable in isolation.
3993         * net/eudcb-bbdb.el: Make it loadable without bbdb.
3994         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
3995         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
3996         (eudc-bbdb-query-internal): Require 'bbdb.
3998         * lpr.el (lpr-headers-switches):
3999         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
4001         * progmodes/sql.el (sql-login-params): Fix and improve :type.
4003         * emulation/edt-mapper.el: In batch mode, error rather than hang.
4005         * term.el (term-set-escape-char): Make it idempotent.
4007 2013-05-10  Leo Liu  <sdl.web@gmail.com>
4009         * progmodes/octave.el (inferior-octave-completion-table):
4010         No longer a function and all uses changed.  Use cache to speed up
4011         completion due to bug#11906.
4012         (octave-beginning-of-defun): Re-write to be more general.
4014 2013-05-10  Glenn Morris  <rgm@gnu.org>
4016         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
4018 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4020         * comint.el (comint-redirect-send-command-to-process): Use :around
4021         rather than :override for comint-redirect-filter.
4022         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
4023         Call it instead of comint-redirect-original-filter-function (which
4024         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
4026 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
4028         * frame.el (display-monitor-attributes-list): Add NS case.
4029         (ns-display-monitor-attributes-list): Declare.
4031 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
4033         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
4035 2013-05-09  Glenn Morris  <rgm@gnu.org>
4037         * international/fontset.el (vertical-centering-font-regexp):
4038         Set standard-value.
4040         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
4042         * bookmark.el (bookmark-search-delay):
4043         * cus-start.el (vertical-centering-font-regexp):
4044         * ps-mule.el (ps-mule-font-info-database-default):
4045         * ps-print.el (ps-default-fg, ps-default-bg):
4046         * type-break.el (type-break-good-break-interval):
4047         * whitespace.el (whitespace-indentation-regexp)
4048         (whitespace-space-after-tab-regexp):
4049         * emacs-lisp/testcover.el (testcover-1value-functions)
4050         (testcover-noreturn-functions, testcover-progn-functions)
4051         (testcover-prog1-functions):
4052         * emulation/viper-init.el (viper-emacs-state-cursor-color):
4053         * eshell/em-glob.el (eshell-glob-translate-alist):
4054         * play/tetris.el (tetris-tty-colors):
4055         * progmodes/cpp.el (cpp-face-default-list):
4056         * progmodes/flymake.el (flymake-allowed-file-name-masks):
4057         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
4058         (idlwave-help-browser-generic-args):
4059         * progmodes/make-mode.el (makefile-special-targets-list):
4060         * progmodes/python.el (python-shell-virtualenv-path):
4061         * progmodes/verilog-mode.el (verilog-active-low-regexp)
4062         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
4063         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
4064         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
4065         * textmodes/reftex-vars.el (reftex-format-label-function):
4066         * textmodes/remember.el (remember-diary-file): Fix custom types.
4068         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
4069         Add :version.
4071 2013-05-09  Leo Liu  <sdl.web@gmail.com>
4073         * progmodes/octave.el (inferior-octave-completion-at-point):
4074         Restore file completion.  (Bug#14300)
4075         (inferior-octave-startup): Fix incorrect highlighting for the
4076         first prompt.
4078 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4080         * progmodes/ruby-mode.el: First cut at SMIE support.
4081         (ruby-use-smie): New var.
4082         (ruby-smie-grammar): New constant.
4083         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
4084         (ruby-smie--forward-token, ruby-smie--backward-token)
4085         (ruby-smie-rules): New functions.
4086         (ruby-mode-variables): Setup SMIE if applicable.
4088 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
4090         * simple.el (line-move-visual): Signal beginning/end of buffer
4091         only if vertical-motion moved less than it was requested.  Avoids
4092         silly incorrect error messages when there are display strings with
4093         multiple newlines at EOL.
4095 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4097         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
4098         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
4099         (prolog-char-quote-workaround):
4100         * progmodes/cperl-mode.el (cperl-under-as-char):
4101         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
4102         Mark as obsolete.
4103         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
4104         their declaration.
4105         (vhdl-mode-syntax-table-init): Remove.
4107         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
4108         last change.
4110         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
4111         syntax for "_".
4112         (ld-script-font-lock-keywords):
4113         Change regexps to use things like \_< and \_>.
4115         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
4116         Change all regexps to use things like \_< and \_>.
4118         * progmodes/autoconf.el (autoconf-definition-regexp)
4119         (autoconf-font-lock-keywords, autoconf-current-defun-function):
4120         Handle a _ with symbol syntax.
4121         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
4123         * progmodes/ada-mode.el (ada-mode-abbrev-table):
4124         Consolidate declaration.
4125         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
4126         the declaration.
4127         (ada-create-syntax-table): Remove.
4128         (ada-capitalize-word): Don't mess with the syntax of "_" since it
4129         already has the right syntax nowadays.
4130         (ada-goto-next-word): Don't change the syntax of "_".
4132         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
4133         with-wrapper-hook.
4135 2013-05-08  Sam Steingold  <sds@gnu.org>
4137         * thingatpt.el (thing-at-point): Accept optional second argument
4138         NO-PROPERTIES to strip the text properties from the return value.
4139         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
4140         to `thing-at-point' instead of stripping the properties ourselves.
4141         Also, when `thing-at-point' fails to find a url, prepend "http://"
4142         to the filename at point on the assumption that the user is
4143         pointing at something like gnu.org/gnu.
4145 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
4147         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
4148         * faces.el (crm-separator):
4149         Silence byte-compiler.
4151         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
4152         (tool-bar-map): Remove unneeded defvars.
4154 2013-05-08  Leo Liu  <sdl.web@gmail.com>
4156         Re-work a fix for bug#10994 based on Le Wang's patch.
4157         * ido.el (ido-remove-consecutive-dups): New helper.
4158         (ido-completing-read): Use it.
4159         (ido-chop): Revert fix for bug#10994.
4161 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
4163         * cus-edit.el (custom-save-variables):
4164         Pretty-print long values.  (Bug#14187)
4166 2013-05-08  Glenn Morris  <rgm@gnu.org>
4168         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
4169         (m4-mode-syntax-table): Init in the defvar.
4170         (m4-mode-abbrev-table): Let define-derived-mode define it.
4172 2013-05-08  Tom Tromey  <tromey@redhat.com>
4174         * progmodes/m4-mode.el (m4-mode-syntax-table):
4175         Do not treat "_" as word constituent.  (Bug#14167)
4177 2013-05-07  Glenn Morris  <rgm@gnu.org>
4179         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
4180         Remove explicit eshell-isearch-cancel-map.
4182         * progmodes/f90.el (f90-smart-end-names): New option.
4183         (f90-smart-end): Doc fix.
4184         (f90-end-block-optional-name): New constant.
4185         (f90-block-match): Respect f90-smart-end-names.
4187 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4189         * progmodes/octave.el (octave-smie-forward-token): Be more careful
4190         about implicit semi-colons (bug#14218).
4192 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
4194         * frame.el (display-monitor-attributes-list)
4195         (frame-monitor-attributes): New functions.
4197 2013-05-06  Leo Liu  <sdl.web@gmail.com>
4199         * progmodes/octave.el (octave-syntax-propertize-function): Change
4200         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
4201         (octave-font-lock-keywords): Use octave-operator-regexp.
4202         (octave-completion-at-point): Rename from
4203         octave-completion-at-point-function.
4204         (inferior-octave-directory-tracker): Robustify.
4205         (octave-text-functions): Remove and fix its uses.  No such things
4206         any more.
4208 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4210         * emacs-lisp/trace.el (trace--display-buffer): New function.
4211         (trace-make-advice): Use it.
4213 2013-05-06  Juri Linkov  <juri@jurta.org>
4215         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
4216         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
4217         Doc fix.
4218         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
4219         in the help string.  (Bug#12985)
4221 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
4223         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
4225 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4227         * progmodes/perl-mode.el: Add support for here documents.
4228         (perl-syntax-propertize-function): Match here-doc markers.
4229         (perl-syntax-propertize-special-constructs): Find their end.
4230         (perl-imenu-generic-expression): Use [:alnum:].
4232         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
4233         (advice--add-function): Refresh the advice if already present
4234         (bug#14317).
4236 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
4238         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
4240 2013-05-06  Glenn Morris  <rgm@gnu.org>
4242         * w32-fns.el (w32-charset-info-alist): Declare.
4244         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
4245         of its defcustom properties.
4246         (eshell-cmpl-initialize): No need to load pcomplete.
4248         * generic-x.el: No need to require comint when compiling.
4250         * net/eudc-export.el: Make it loadable without bbdb.
4251         (top-level): Use require rather than load-library.
4252         (eudc-create-bbdb-record, eudc-bbdbify-phone)
4253         (eudc-batch-export-records-to-bbdb)
4254         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
4255         Require bbdb.
4257 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4259         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
4260         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
4261         some tweaks, instead.
4263 2013-05-05  Leo Liu  <sdl.web@gmail.com>
4265         * progmodes/octave.el (octave-font-lock-keywords)
4266         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
4267         (inferior-octave-send-list-and-digest): Improve error message.
4268         (octave-mode, inferior-octave-mode): Use setq-local.
4269         (octave-help): Set info-lookup-mode.
4271 2013-05-05  Richard Stallman  <rms@gnu.org>
4273         * vc/compare-w.el (compare-windows-whitespace):
4274         Treat no-break space as whitespace.
4276         * mail/rmailsum.el (rmail-summary-rmail-update):
4277         Detect empty summary and don't change selected message.
4278         (rmail-summary-goto-msg): Likewise.
4280         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
4281         Doc fixes, rename args.
4283 2013-05-05  Alan Mackenzie  <acm@muc.de>
4285         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
4287 2013-05-05  Juri Linkov  <juri@jurta.org>
4289         * info.el (Info-read-subfile): Use (point-min) instead of (point)
4290         to not add the length of the summary segment to the return value.
4291         (Bug#14125)
4293 2013-05-05  Leo Liu  <sdl.web@gmail.com>
4295         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
4296         (inferior-octave-output-filter): Remove.
4297         (octave-send-region, inferior-octave-startup): Fix callers.
4298         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
4299         (octave-binary-file-extensions): New user variable.
4300         (octave-find-definition): Confirm if opening binary files.
4301         (octave-help-file): Use octave-find-definition to get the binary
4302         confirmation.
4303         (octave-help): Adjust for octave-help-file change.
4305 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4307         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
4308         Merge the two entries that handle function definitions.
4309         (pascal--syntax-propertize): New const.
4310         (pascal-mode): Use it.  Use setq-local.
4312 2013-05-04  Glenn Morris  <rgm@gnu.org>
4314         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
4315         (diary-from-outlook): Respect diary-from-outlook-function.
4317 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4319         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
4320         Move the declaration from C.
4321         (read-minibuffer, eval-minibuffer): Move from C.
4322         (completion-setup-function): Avoid minibuffer-completion-contents.
4324 2013-05-03  Leo Liu  <sdl.web@gmail.com>
4326         * progmodes/octave.el (octave-font-lock-keywords): Do not
4327         dehighlight 'end' in comments or strings.
4328         (octave-completing-read, octave-goto-function-definition):
4329         New helpers.
4330         (octave-help-buffer): New user variable.
4331         (octave-help-file, octave-help-function): New button types.
4332         (octave-help): New command and bind it to C-h ;.
4333         (octave-find-definition): New command and bind it to M-.
4334         (user-error): Alias to error if not defined.
4336 2013-05-02  Leo Liu  <sdl.web@gmail.com>
4338         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
4339         for \.  (bug#14332)
4340         (octave-font-lock-keywords): Include [ and {.
4342 2013-05-02  Leo Liu  <sdl.web@gmail.com>
4344         * progmodes/octave.el (inferior-octave-startup-file): Change default.
4345         (inferior-octave): Remove calling comint-mode and return the buffer.
4346         (inferior-octave-startup): Cosmetic changes.
4348 2013-05-02  Leo Liu  <sdl.web@gmail.com>
4350         * progmodes/octave.el (octave-syntax-propertize-function):
4351         Include the case when ' is at line beginning.  (Bug#14336)
4353 2013-05-02  Glenn Morris  <rgm@gnu.org>
4355         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
4356         * desktop.el (vc-dir-mode): Just autoload it here.
4358 2013-05-02  Alan Mackenzie  <acm@muc.de>
4360         Eliminate variable c-standard-font-lock-fontify-region-function.
4361         * progmodes/cc-mode.el
4362         (c-standard-font-lock-fontify-region-function): Remove.
4363         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
4365 2013-05-01  Leo Liu  <sdl.web@gmail.com>
4367         * progmodes/octave.el: Compatible with older emacs-24 releases.
4368         (inferior-octave-has-built-in-variables): Remove.  Built-in
4369         variables were removed from Octave in 2007.
4370         (inferior-octave-startup): Fix uses.
4371         (comint-line-beginning-position): Remove compatibility code for
4372         emacs 21.
4374 2013-05-01  Juri Linkov  <juri@jurta.org>
4376         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
4378 2013-05-01  Juri Linkov  <juri@jurta.org>
4380         * comint.el (comint-previous-matching-input): Don't print message
4381         "History item: %d" when `isearch-mode' is active.
4382         (comint-history-isearch-message): Print message "History item: %d"
4383         when `comint-input-ring-index' is not empty and this function is
4384         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
4386 2013-05-01  Leo Liu  <sdl.web@gmail.com>
4388         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
4389         definitions.  Use completion-at-point to insert keywords.
4390         (octave-abbrev-start): Remove.
4391         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
4393 2013-04-30  Leo Liu  <sdl.web@gmail.com>
4395         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
4396         change.
4398 2013-04-30  Alan Mackenzie  <acm@muc.de>
4400         Handle arbitrarily long C++ member initialisation lists.
4401         * progmodes/cc-engine.el (c-back-over-member-initializers):
4402         new function.
4403         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
4404         (most) member init lists.
4406 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4408         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
4409         variable.
4411 2013-04-30  Leo Liu  <sdl.web@gmail.com>
4413         * progmodes/octave.el (octave-variables): Remove.  No builtin
4414         variables any more.  All converted to functions.
4415         (octave-font-lock-keywords, octave-completion-at-point-function):
4416         Fix uses.
4417         (octave-font-lock-texinfo-comment): New user variable.
4418         (octave-texinfo-font-lock-keywords): New variable for texinfo
4419         comment block.
4420         (octave-function-comment-block): New face.
4421         (octave-font-lock-texinfo-comment): New function.
4422         (octave-mode): Font lock texinfo comment block.
4424 2013-04-29  Leo Liu  <sdl.web@gmail.com>
4426         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
4427         indexing expression.
4428         (octave-continuation-string): Do not use \.
4429         (inferior-octave-complete-impossible): Remove.
4430         (inferior-octave-completion-table)
4431         (inferior-octave-completion-at-point): Remove its uses.
4432         (inferior-octave-startup): completion_matches was introduced to
4433         Octave in 1996 so safe to assume it.
4434         (octave-function-file-comment): Improve to follow how Octave does it.
4435         (octave-update-function-file-comment): Tweak.
4437 2013-04-29  Leo Liu  <sdl.web@gmail.com>
4439         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
4440         (inferior-octave-startup): Remove inferior-octave-startup-hook.
4441         (octave-function-file-comment): Fix typo.
4442         (octave-sync-function-file-names): Use read-char-choice.
4444 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
4446         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
4447         to t for the less important warnings.
4449 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
4451         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
4453 2013-04-27  Glenn Morris  <rgm@gnu.org>
4455         * vc/log-view.el (log-view-current-entry):
4456         Treat "---" separator lines as part of the following rev.  (Bug#14169)
4458 2013-04-27  Juri Linkov  <juri@jurta.org>
4460         * subr.el (read-number): Doc fix about using it by interactive
4461         code letter `n'.  (Bug#14254)
4463 2013-04-27  Juri Linkov  <juri@jurta.org>
4465         * desktop.el (desktop-auto-save-timeout): New option.
4466         (desktop-file-checksum): New variable.
4467         (desktop-save): Add optional arg `auto-save' and don't auto-save
4468         if nothing changed.
4469         (desktop-auto-save-timer): New variable.
4470         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
4471         (after-init-hook): Call `desktop-auto-save-set-timer'.
4472         Suggested by Reuben Thomas <rrt@sc3d.org> in
4473         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
4475 2013-04-27  Leo Liu  <sdl.web@gmail.com>
4477         * progmodes/octave.el (octave-function-file-p)
4478         (octave-skip-comment-forward, octave-function-file-comment)
4479         (octave-update-function-file-comment): New functions.
4480         (octave-mode-map): Bind C-c ; to
4481         octave-update-function-file-comment.
4482         (octave-mode-menu): Add octave-update-function-file-comment.
4483         (octave-mode, inferior-octave-mode): Fix doc-string.
4484         (octave-insert-defun): Conform to Octave's coding convention.
4485         (Bug#14285)
4487         * files.el (basic-save-buffer): Don't let errors in
4488         before-save-hook prevent saving buffer.
4490 2013-04-20  Roland Winkler  <winkler@gnu.org>
4492         * faces.el (read-face-name): Use completing-read if arg multiple
4493         is nil.
4495 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
4497         * ls-lisp.el (ls-lisp-insert-directory): If no files are
4498         displayed, move point to after the totals line.
4499         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
4500         for the details.
4502 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4504         * emacs-lisp/package.el (package-autoload-ensure-default-file):
4505         Add current dir to the load-path.
4506         (package-generate-autoloads): Don't rely on
4507         autoload-ensure-default-file.
4509 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
4511         * textmodes/remember.el (remember-store-in-files): Document that
4512         the file name format is passed to `format-time-string'.
4514 2013-04-26  Leo Liu  <sdl.web@gmail.com>
4516         * progmodes/octave.el (octave-sync-function-file-names): New function.
4517         (octave-mode): Use it in before-save-hook.
4519 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4521         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
4522         (bug#14274).
4524         * progmodes/octave.el (octave-smie-forward-token): Properly skip
4525         \n and comment, even if it's not an implicit ; (bug#14218).
4527 2013-04-26  Glenn Morris  <rgm@gnu.org>
4529         * subr.el (read-number): Once more use `read' rather than
4530         `string-to-number', to trap non-numeric input.  (Bug#14254)
4532 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
4534         * emacs-lisp/syntax.el (syntax-propertize-multiline):
4535         Use `syntax-multiline' text property consistently instead of
4536         `font-lock-multiline'.  (Bug#14237)
4538 2013-04-26  Glenn Morris  <rgm@gnu.org>
4540         * emacs-lisp/shadow.el (list-load-path-shadows):
4541         No longer necessary to check for duplicate simple.el, since
4542         2012-07-07 change to init_lread to not include installation lisp
4543         directories in load-path when running uninstalled.  (Bug#14270)
4545 2013-04-26  Leo Liu  <sdl.web@gmail.com>
4547         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
4548         (octave-mode, inferior-octave-mode): Use setq-local.
4549         (octave-not-in-string-or-comment-p): Rename to
4550         octave-in-string-or-comment-p.
4551         (octave-in-comment-p, octave-in-string-p)
4552         (octave-in-string-or-comment-p): Replace defsubst with defun.
4554 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
4556         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
4558 2013-04-25  Bastien Guerry  <bzg@gnu.org>
4560         * textmodes/remember.el (remember-data-directory)
4561         (remember-directory-file-name-format): Fix custom types.
4563 2013-04-25  Leo Liu  <sdl.web@gmail.com>
4565         * progmodes/octave.el (octave-completion-at-point-function):
4566         Make use of inferior octave process.
4567         (octave-initialize-completions): Remove.
4568         (inferior-octave-completion-table): New function.
4569         (inferior-octave-completion-at-point): Use it.
4570         (octave-completion-alist): Remove.
4572 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4574         * progmodes/opascal.el: Use font-lock and syntax-propertize.
4575         (opascal-mode-syntax-table): New var.
4576         (opascal-literal-kind, opascal-is-literal-end)
4577         (opascal-literal-token-at): Rewrite.
4578         (opascal--literal-start-re, opascal-font-lock-keywords)
4579         (opascal--syntax-propertize): New constants.
4580         (opascal-font-lock-defaults): Adjust.
4581         (opascal-mode): Use them.  Set comment-<foo> variables as well.
4582         (delphi-comment-face, opascal-comment-face, delphi-string-face)
4583         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
4584         (delphi-other-face, opascal-other-face): Remove face variables.
4585         (opascal-save-state): Remove macro.
4586         (opascal-fontifying-progress-step): Remove constant.
4587         (opascal--ignore-changes): Remove var.
4588         (opascal-set-token-property, opascal-parse-next-literal)
4589         (opascal-is-stable-literal, opascal-complete-literal)
4590         (opascal-is-literal-start, opascal-face-of)
4591         (opascal-parse-region, opascal-parse-region-until-stable)
4592         (opascal-fontify-region, opascal-after-change)
4593         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
4594         (opascal-debug-parse-region, opascal-debug-parse-window)
4595         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
4596         (opascal-debug-fontify-buffer): Remove.
4597         (opascal-debug-mode-map): Adjust accordingly.
4599 2013-04-25  Leo Liu  <sdl.web@gmail.com>
4601         Merge octave-mod.el and octave-inf.el into octave.el with some
4602         cleanups.
4603         * progmodes/octave.el: New file renamed from octave-mod.el.
4604         * progmodes/octave-inf.el: Merged into octave.el.
4605         * progmodes/octave-mod.el: Renamed to octave.el.
4607 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
4609         * textmodes/reftex-vars.el
4610         (reftex-label-ignored-macros-and-environments): New defcustom.
4612         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
4614 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4616         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
4617         (smie-indent-keyword): Improve the check to ensure that the next
4618         comment is really on the same line.
4619         (smie-indent-comment): Don't align with a subsequent closer (or eob).
4621         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
4622         semi-colons if the line is not otherwise empty (bug#14218).
4624 2013-04-25  Glenn Morris  <rgm@gnu.org>
4626         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
4628 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4630         * progmodes/opascal.el (opascal-set-token-property): Rename from
4631         opascal-set-text-properties and only set `token' (bug#14134).
4632         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
4633         (opascal-literal-text-properties): Remove.
4634         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
4635         Adjust callers.
4637 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
4639         * textmodes/remember.el (remember-handler-functions): Add an
4640         option for a new handler `remember-store-in-files'.
4641         (remember-data-directory, remember-directory-file-name-format):
4642         New options.
4643         (remember-store-in-files): New function to store remember notes
4644         as separate files within a directory.
4646 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
4648         * progmodes/compile.el (compilation-next-error-function):
4649         Pass "formats" to compilation-find-file (bug#11777).
4651 2013-04-24  Glenn Morris  <rgm@gnu.org>
4653         * vc/vc-bzr.el (vc-bzr-print-log):
4654         * vc/vc-hg.el (vc-hg-print-log):
4655         * vc/vc-svn.el (vc-svn-print-log):
4656         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
4658         * vc/vc-bzr.el (vc-bzr-print-log):
4659         * vc/vc-cvs.el (vc-cvs-print-log):
4660         * vc/vc-git.el (vc-git-print-log):
4661         * vc/vc-hg.el (vc-hg-print-log):
4662         * vc/vc-mtn.el (vc-mtn-print-log):
4663         * vc/vc-rcs.el (vc-rcs-print-log):
4664         * vc/vc-sccs.el (vc-sccs-print-log):
4665         * vc/vc-svn.el (vc-svn-print-log):
4666         * vc/vc.el (vc-print-log-internal): Doc fixes.
4668 2013-04-23  Glenn Morris  <rgm@gnu.org>
4670         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
4671         Remove venerable code attempting to avoid substitute-command-keys.
4673 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
4675         * textmodes/reftex-vars.el (reftex-label-regexps):
4676         Call `reftex-compile-variables' after changes to this variable.
4678 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4680         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
4681         Use lexical-binding.
4682         (jit-lock-force-redisplay): Use markers, check buffer's continued
4683         existence and beware narrowed buffers.
4684         (jit-lock-fontify-now): Adjust call accordingly.
4686 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4688         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
4689         to avoid misleading the user.
4691 2013-04-22  Leo Liu  <sdl.web@gmail.com>
4693         * info-look.el: Prefer latex2e.info.  (Bug#14240)
4695 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
4697         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
4699         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4700         * net/tramp.el (tramp-call-process): ... here.
4701         (tramp-set-completion-function, tramp-parse-putty):
4702         * net/tramp-adb.el (tramp-adb-execute-adb-command):
4703         * net/tramp-gvfs.el (tramp-gvfs-send-command):
4704         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4705         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
4706         (tramp-call-local-coding-command): Use `tramp-call-process'
4707         instead of `tramp-compat-call-process'.
4709         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
4710         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
4711         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
4712         (tramp-find-inline-compress): Improve traces.
4713         (tramp-maybe-send-script): Check for Perl binary.
4714         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
4716 2013-04-22  Daiki Ueno  <ueno@gnu.org>
4718         * epg.el (epg-context-pinentry-mode): New function.
4719         (epg-context-set-pinentry-mode): New function.
4720         (epg--start): Pass --pinentry-mode option to gpg command.
4722 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
4724         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
4725         `comint-dynamic-complete' is obsolete since 24.1, replaced by
4726         `completion-at-point'.  (Bug#13774)
4728         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
4729         default key binding for `describe-distribution' has been moved to
4730         `C-h C-o'.  (Bug#13970)
4732 2013-04-21  Glenn Morris  <rgm@gnu.org>
4734         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
4735         Add doc strings.
4736         (vc-print-log): Clarify interactive prompt.
4738 2013-04-20  Glenn Morris  <rgm@gnu.org>
4740         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
4741         No longer include timestamp etc information.
4743 2013-04-20  Roland Winkler  <winkler@gnu.org>
4745         * faces.el (read-face-name): Bug fix, return just one face if arg
4746         multiple is nil.  (Bug#14209)
4748 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4750         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
4751         (remove-function): Autoload.
4753         * comint.el (comint-redirect-original-filter-function): Remove.
4754         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
4755         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
4756         (vc-cvs-annotate-command):
4757         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
4758         * progmodes/prolog.el (prolog-consult-compile):
4759         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
4760         Use add/remove-function instead.
4761         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
4762         (gud-tooltip-process-output, gud-tooltip-tips):
4763         Use add/remove-function instead.
4764         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
4765         (scheme-interaction-mode, exit-scheme-interaction-mode):
4766         Use add/remove-function instead.
4768         * vc/vc-dispatcher.el: Use lexical-binding.
4769         (vc--process-sentinel): Rename from vc-process-sentinel.
4770         Change last arg to be the code to run.  Don't use vc-previous-sentinel
4771         and vc-sentinel-commands any more.
4772         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
4773         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
4775 2013-04-19 Masatake YAMATO  <yamato@redhat.com>
4777         * progmodes/sh-script.el (sh-imenu-generic-expression):
4778         Handle function names with a single character.   (Bug#14111)
4780 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
4782         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
4783         for subroutines defined in an eval (bug#14182).
4785 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4787         * bookmark.el (bookmark-completing-read): Improve handling of empty
4788         string (bug#14176).
4790 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4792         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
4794 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4796         New faster Imenu implementation (bug#14058).
4797         * progmodes/python.el:
4798         (python-imenu-prev-index-position):
4799         (python-imenu-format-item-label-function)
4800         (python-imenu-format-parent-item-label-function)
4801         (python-imenu-format-parent-item-jump-label-function):
4802         New vars.
4803         (python-imenu-format-item-label)
4804         (python-imenu-format-parent-item-label)
4805         (python-imenu-format-parent-item-jump-label)
4806         (python-imenu--put-parent, python-imenu--build-tree)
4807         (python-imenu-create-index, python-imenu-create-flat-index)
4808         (python-util-popn): New functions.
4809         (python-mode): Set imenu-create-index-function to
4810         python-imenu-create-index.
4812 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4814         * winner.el (winner-active-region): Use region-active-p, activate-mark
4815         and deactivate-mark (bug#14225).
4817         * simple.el (deactivate-mark): Don't inline it.
4819 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
4821         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
4823 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
4825         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
4826         file extensions from the archive-mode entry in order to prefer
4827         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
4829 2013-04-18  Leo Liu  <sdl.web@gmail.com>
4831         * bindings.el (help-event-list): Add ?\?.
4833 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4835         * subr.el (with-wrapper-hook): Declare obsolete.
4836         * simple.el (filter-buffer-substring-function): New hook.
4837         (filter-buffer-substring): Use it.
4838         (filter-buffer-substring-functions): Mark obsolete.
4839         * minibuffer.el (completion-in-region-function): New hook.
4840         (completion-in-region): Use it.
4841         (completion-in-region-functions): Mark obsolete.
4842         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
4843         * abbrev.el (abbrev-expand-function): New hook.
4844         (expand-abbrev): Use it.
4845         (abbrev-expand-functions): Mark obsolete.
4846         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
4847         and :filter-return.
4849 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4851         * progmodes/python.el (python-nav--syntactically): Fix cornercases
4852         and do not care about match data.
4854 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4856         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
4857         completion tables when completing error conditions and
4858         `declare' arguments.
4859         (lisp-complete-symbol, field-complete): Mark as obsolete.
4860         (check-parens): Unmatched parens are user errors.
4861         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
4863 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
4865         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
4866         command changed buffer (ie. `flyspell-pre-buffer' is not current
4867         buffer), which prevents making decisions based on invalid value of
4868         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
4869         cause an error when `flyspell-pre-point' was nil after switching
4870         buffers.
4871         (flyspell-post-command-hook): No longer needs to change buffers when
4872         checking pre-word.  While at it remove unnecessary progn.
4874 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
4876         * textmodes/ispell.el (ispell-add-per-file-word-list):
4877         Fix `flyspell-correct-word-before-point' error when accepting
4878         words and `coment-padding' is an integer by using
4879         `comment-normalize-vars' (Bug #14214).
4881 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4883         New defun movement commands.
4884         * progmodes/python.el (python-nav--syntactically)
4885         (python-nav--forward-defun, python-nav-backward-defun)
4886         (python-nav-forward-defun): New functions.
4888 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4890         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
4891         (python-syntax-context): Use named compiler-macro for backwards
4892         compatibility with Emacs 24.x.
4894 2013-04-17  Leo Liu  <sdl.web@gmail.com>
4896         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
4897         octave-hide-process-buffer.
4899 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4901         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
4902         (bug#14216).
4904 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
4906         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
4907         Fix adjustment of offset when receiving incomplete responses from GDB
4908         (bug#14129).
4910 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4912         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
4913         python-mode-abbrev-table.
4914         (python-skeleton-define): Adjust accordingly.
4915         (python-mode-abbrev-table): New table that inherits from it so that
4916         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
4918         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
4919         (abbrev-symbol): Use it.
4920         (abbrev--before-point): Use it since we already handle inheritance.
4922 2013-04-16  Leo Liu  <sdl.web@gmail.com>
4924         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
4925         binding to info-lookup-symbol.
4927 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
4929         * minibuffer.el (completion--twq-all):
4930         * term/ns-win.el (ns-initialize-window-system):
4931         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
4933 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4935         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
4936         global bindings.
4938         * doc-view.el (doc-view-start-process): Handle url-handler directories.
4940 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
4942         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
4943         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
4944         to nil.
4945         (ruby-end-of-defun): Remove the unused arg, change the docstring
4946         to reflect that this function is only used as the value of
4947         `end-of-defun-function'.
4948         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
4949         to reflect an earlier change that beginning/end-of-defun functions
4950         jump between methods in a class definition, as well as top-level
4951         functions.
4953 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4955         * minibuffer.el (minibuffer-complete): Don't just scroll
4956         a *Completions* that's been iconified.
4957         (minibuffer-force-complete): Make sure repetitions do cycle when going
4958         through completion-in-region -> minibuffer-complete.
4960 2013-04-15  Alan Mackenzie  <acm@muc.de>
4962         Correct the placement of c-cpp-delimiters when there're #s not at
4963         col 0.
4965         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
4966         place a submatch around the #.
4967         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
4968         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
4969         on the #, not BOL.
4971 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4973         * emacs-lisp/nadvice.el: Properly test names when adding advice.
4974         (advice--member-p): New arg `name'.
4975         (advice--add-function, advice-member-p): Use it (bug#14202).
4977 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
4979         Reformulate java imenu-generic-expression.
4980         The old expression contained ill formed regexps.
4982         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
4983         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
4984         (cc-imenu-java-method-arg-regexp): New defconsts.
4985         (cc-imenu-java-build-type-args-regex): New defun.
4986         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
4987         handling of spaces in the regexp.
4989 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4991         * textmodes/ispell.el (ispell-command-loop): Remove
4992         flyspell highlight of a word when ispell accepts it (bug #14178).
4994 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
4996         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
4997         uses code from the previous `ange-ftp-run-real-handler'.
4998         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
4999         only in case that function exist.  This is needed for proper
5000         unloading of Tramp.
5002 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
5004         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
5006         * textmodes/reftex.el (reftex-compile-variables): Use it.
5008 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5010         * files.el (normal-mode): Only use default major-mode if no other mode
5011         was specified.
5013         * emacs-lisp/trace.el (trace-values): New function.
5015         * files.el: Allow : in local variables (bug#14089).
5016         (hack-local-variable-regexp): New var.
5017         (hack-local-variables-prop-line, hack-local-variables): Use it.
5019 2013-04-13  Roland Winkler  <winkler@gnu.org>
5021         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
5022         data before it gets modified by bibtex-beginning-of-entry.
5024 2013-04-13  Roland Winkler  <winkler@gnu.org>
5026         * textmodes/bibtex.el (bibtex-url): Doc fix.
5028 2013-04-13  Roland Winkler  <winkler@gnu.org>
5030         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
5031         does not visit a BibTeX file, exclude it from the list of buffers
5032         returned by bibtex-initialize.
5034 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
5036         * window.el (split-window): Remove interactive form, since as a
5037         command this function is a special case of split-window-below.
5038         Correct doc string.
5040 2013-04-12  Roland Winkler  <winkler@gnu.org>
5042         * faces.el (read-face-name): Do not override value of arg default.
5043         Allow single faces and strings as default values.  Remove those
5044         elements from return value that are not faces.
5045         (describe-face): Simplify.
5046         (face-at-point): New optional args thing and multiple so that this
5047         function can provide the same functionality previously provided by
5048         read-face-name.
5049         (make-face-bold, make-face-unbold, make-face-italic)
5050         (make-face-unitalic, make-face-bold-italic, invert-face)
5051         (modify-face, read-face-and-attribute): Use face-at-point.
5053         * cus-edit.el (customize-face, customize-face-other-window)
5054         * cus-theme.el (custom-theme-add-face)
5055         * face-remap.el (buffer-face-set)
5056         * facemenu.el (facemenu-set-face): Use face-at-point.
5058 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
5060         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
5062 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
5064         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
5065         off leading { and trailing } from field values.
5067 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5069         * emacs-lisp/timer.el (timer--check): New function.
5070         (timer--time, timer-set-function, timer-event-handler): Use it.
5071         (timer-set-idle-time): Simplify.
5072         (timer--activate): CSE.
5073         (timer-event-handler): Give more info in error message.
5074         (internal-timer-start-idle): New function, moved from C.
5076         * mpc.el (mpc-proc): Add `restart' argument.
5077         (mpc-proc-cmd): Use it.
5078         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
5079         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
5080         less often.
5082 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
5084         * progmodes/sh-script.el: Implement `sh-mode' own
5085         `add-log-current-defun-function' (bug#14112).
5086         (sh-current-defun-name): New function.
5087         (sh-mode): Use the function.
5089 2013-04-09  Bastien Guerry  <bzg@gnu.org>
5091         * simple.el (choose-completion-string): Fix docstring (bug#14163).
5093 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5095         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
5097         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
5098         timer (bug#14156).
5100 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
5102         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
5103         declaration.
5105 2013-04-07  Leo Liu  <sdl.web@gmail.com>
5107         * pcmpl-x.el: New file.
5109 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
5111         Do not set x-display-name until X connection is established.
5112         This is needed to prevent from weird situation described at
5113         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
5114         * frame.el (make-frame): Set x-display-name after call to
5115         window system initialization function, not before.
5116         * term/x-win.el (x-initialize-window-system): Add optional
5117         display argument and use it.
5118         * term/w32-win.el (w32-initialize-window-system):
5119         * term/ns-win.el (ns-initialize-window-system):
5120         * term/pc-win.el (msdos-initialize-window-system):
5121         Add compatible optional display argument.
5123 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
5125         * files.el (normal-backup-enable-predicate): On MS-Windows and
5126         MS-DOS compare truenames of temporary-file-directory and of the
5127         file, so that 8+3 aliases (usually found in $TEMP on Windows)
5128         don't fail comparison by compare-strings.  Also, compare file
5129         names case-insensitively on MS-Windows and MS-DOS.
5131 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5133         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
5134         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
5136 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
5138         * whitespace.el (whitespace-color-on, whitespace-color-off):
5139         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
5141 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
5143         * ispell.el (ispell-set-spellchecker-params):
5144         Really set `ispell-args' for all equivs.
5146 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5148         * ido.el (ido-completions): Use extra elements of ido-decorations
5149         (bug#14143).
5150         (ido-decorations): Update docstring.
5152 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
5154         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5155         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
5156         nil during initialization, in order not to miss changes since the
5157         file was opened.  (Bug#14140)
5159 2013-04-05  Leo Liu  <sdl.web@gmail.com>
5161         * kmacro.el (kmacro-call-macro): Fix bug#14135.
5163 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
5165         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
5167 2013-04-04  Glenn Morris  <rgm@gnu.org>
5169         * electric.el (electric-pair-inhibit-predicate): Add :version.
5171 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5173         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
5174         when a package is required several times (bug#14082).
5176 2013-04-04  Roland Winkler  <winkler@gnu.org>
5178         * faces.el (read-face-name): Behave as promised by the docstring.
5179         Assume that arg default is a list of faces.
5180         (describe-face): Call read-face-name with list of default faces.
5182 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5184         * bookmark.el: Fix deletion of bookmarks (bug#13972).
5185         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
5186         (bookmark-bmenu-execute-deletions): Only skip first line if it's
5187         the header.
5188         (bookmark-exit-hook-internal): Save even if list is empty.
5190 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
5192         * emacs-lisp/package.el (package-pinned-packages): New var.
5193         (package--add-to-archive-contents): Obey it (bug#14118).
5195 2013-04-03  Alan Mackenzie  <acm@muc.de>
5197         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
5198         Also adapt to the new values of element 7 of a parse state.
5200         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
5201         parameter `not-in-delimiter'.  Handle being inside comment opener.
5202         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
5203         character in case we're typing a '*' after a '/'.
5204         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
5205         instead by passing the parameter to c-state-pp-to-literal.
5207         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
5208         for elt. 7 of a parse state.
5210 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
5212         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
5213         * international/latin1-disp.el, international/mule-util.el:
5214         * language/cyril-util.el, language/european.el, language/ind-util.el:
5215         * language/lao-util.el, language/thai.el, language/tibet-util.el:
5216         * language/tibetan.el, language/viet-util.el:
5217         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
5219 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5221         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
5222         (electric-pair-post-self-insert-function): Use it.
5223         (electric-pair-default-inhibit): New function, extracted from
5224         electric-pair-post-self-insert-function.
5226 2013-03-31  Roland Winkler  <winkler@gnu.org>
5228         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
5230 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5232         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
5234 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
5236         Un-indent after "pass" and "return" statements (Bug#13888)
5237         * progmodes/python.el (python-indent-block-enders): New var.
5238         (python-indent-calculate-indentation): Use it.
5240 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
5242         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
5243         defun.  Defining it as defalias could introduce too eager
5244         byte-compiler optimization.  (Bug#14030)
5246 2013-03-30  Chong Yidong  <cyd@gnu.org>
5248         * iswitchb.el (iswitchb-read-buffer): Fix typo.
5250 2013-03-30  Leo Liu  <sdl.web@gmail.com>
5252         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
5253         (kmacro-execute-from-register): Pass the keyboard macro to
5254         kmacro-call-macro or repeating won't work correctly.
5256 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
5258         * progmodes/subword.el: Back to using `forward-symbol'.
5260         * subr.el (forward-whitespace, forward-symbol)
5261         (forward-same-syntax): Move from thingatpt.el.
5263 2013-03-29  Leo Liu  <sdl.web@gmail.com>
5265         * kmacro.el (kmacro-to-register): New command.
5266         (kmacro-execute-from-register): New function.
5267         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
5269 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5271         * mpc.el: Use defvar-local and setq-local.
5272         (mpc--proc-connect): Connection failures are not bugs.
5273         (mpc-mode-map): `follow-link' only applies to the buffer's content.
5274         (mpc-volume-map): Bind to the up-events.
5276 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
5278         * progmodes/subword.el (superword-mode): Use `forward-sexp'
5279         instead of `forward-symbol'.
5281 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5283         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
5284         (edebug--recursive-edit): Use it.
5285         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
5286         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
5288 2013-03-28  Leo Liu  <sdl.web@gmail.com>
5290         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
5292 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
5294         * facemenu.el (list-colors-callback): New defvar.
5295         (list-colors-redisplay): New function.
5296         (list-colors-display): Install list-colors-redisplay as the
5297         revert-buffer-function.  (Bug#14063)
5299 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5301         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
5302         and suffixes don't overlap (bug#14061).
5304         * case-table.el: Use lexical-binding.
5305         (case-table-get-table): New function.
5306         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
5308 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
5310         * progmodes/subword.el: Add `superword-mode' to do word motion
5311         over symbol_words (parallels and leverages `subword-mode' which
5312         does word motion inside MixedCaseWords).
5314 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
5316         * eshell/em-unix.el: Move su and sudo to...
5317         * eshell/em-tramp.el: ...Eshell tramp module.
5319 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5321         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
5322         Change return value to be a sexp.  Delay `get-buffer' to after
5323         restoring the desktop (bug#13951).
5325 2013-03-26  Leo Liu  <sdl.web@gmail.com>
5327         * register.el: Move semantic tag handling back to
5328         cedet/semantic/senator.el.  (Bug#14052)
5330 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5332         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
5333         into the prompt either (bug#13963).
5335 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5337         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
5338         part of "(error-foo)".
5340 2013-03-24  Juri Linkov  <juri@jurta.org>
5342         * replace.el (list-matching-lines-prefix-face): New defcustom.
5343         (occur-1): Pass `list-matching-lines-prefix-face' to the function
5344         `occur-engine' if `face-differs-from-default-p' returns t.
5345         (occur-engine): Add `,' inside backquote construct to evaluate
5346         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
5347         Pass `prefix-face' to the functions `occur-context-lines' and
5348         `occur-engine-add-prefix'.
5349         (occur-engine-add-prefix, occur-context-lines): Add optional arg
5350         `prefix-face' and propertize the prefix with `prefix-face'.
5351         (Bug#14017)
5353 2013-03-24  Leo Liu  <sdl.web@gmail.com>
5355         * nxml/rng-valid.el (rng-validate-while-idle)
5356         (rng-validate-quick-while-idle): Guard against deleted buffer.
5357         (Bug#13999)
5359         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
5360         is the last entry in kill-buffer-hook.
5362         * files.el (kill-buffer-hook): Doc fix.
5364 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
5366         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
5367         Make it safe-local.
5369         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
5371 2013-03-23  Leo Liu  <sdl.web@gmail.com>
5373         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
5374         Remove.
5376         * nxml/rng-valid.el (rng-validate-mode)
5377         (rng-after-change-function, rng-do-some-validation):
5378         * nxml/rng-maint.el (rng-validate-buffer):
5379         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
5380         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
5381         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
5382         (nxml-extend-after-change-region): Use with-silent-modifications.
5384         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
5385         timer-idle-list.
5387         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
5388         (rng-next-error-1, rng-previous-error-1): Do not let-bind
5389         timer-idle-list.  (Bug#13999)
5391 2013-03-23  Juri Linkov  <juri@jurta.org>
5393         * info.el (info-index-match): New face.
5394         (Info-index, Info-apropos-matches): Add a nested subgroup to the
5395         main pattern and add text properties with the new face to matches
5396         in index entries relative to the beginning of the index entry.
5397         (Bug#14015)
5399 2013-03-21  Eric Ludlam  <zappo@gnu.org>
5401         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
5402         Inhibit read only while inserting objects.
5404 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
5406         * progmodes/cfengine.el: Update docs to mention
5407         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
5408         symbol motion.  Remove "_" from the word syntax.
5410 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
5412         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
5413         syntax for both `cfengine2-mode' and `cfengine3-mode'.
5415 2013-03-20  Juri Linkov  <juri@jurta.org>
5417         * info.el (Info-next-reference-or-link)
5418         (Info-prev-reference-or-link): New functions.
5419         (Info-next-reference, Info-prev-reference): Use them.
5420         (Info-try-follow-nearest-node): Handle footnote navigation.
5421         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
5423 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5425         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
5426         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
5428 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
5430         Suppress unnecessary non-ASCII chatter during build process.
5431         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
5432         (batch-skkdic-convert): Suppress most of the chatter.
5433         It's not needed so much now that machines are faster,
5434         and its non-ASCII component was confusing; see Dmitry Gutov in
5435         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
5437 2013-03-20  Leo Liu  <sdl.web@gmail.com>
5439         * ido.el (ido-chop): Fix bug#10994.
5441 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
5443         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
5444         Remove vars.
5445         (whitespace-color-on, whitespace-color-off):
5446         Use `font-lock-fontify-buffer' (Bug#13817).
5448 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5450         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
5451         remapping in mode-line.
5452         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
5454 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
5456         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
5457         value for `whitespace-line' face (Bug#13875).
5458         (whitespace-font-lock-keywords): Change description.
5459         (whitespace-color-on): Don't save `font-lock-keywords' value, save
5460         the constructed keywords instead.
5461         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
5463 2013-03-19  Leo Liu  <sdl.web@gmail.com>
5465         * progmodes/compile.el (compilation-display-error): New command.
5466         (compilation-mode-map, compilation-minor-mode-map): Bind it to
5467         C-o.  (Bug#13992)
5469 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
5471         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
5473 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
5475         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
5477 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
5479         * net/tramp-compat.el (tramp-compat-user-error): New defun.
5481         * net/tramp-adb.el (tramp-adb-handle-shell-command):
5482         * net/tramp-gvfs.el (top):
5483         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
5484         (tramp-handle-shell-command): Use it.
5485         (tramp-dissect-file-name): Raise an error when hostname is a
5486         method name, and neither method nor user is specified.
5488         * net/trampver.el: Update release number.
5490 2013-03-18  Leo Liu  <sdl.web@gmail.com>
5492         Make sure eldoc can be turned off properly.
5493         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
5494         eldoc-mode.
5495         (eldoc-display-message-p): Revert last change.
5496         (eldoc-display-message-no-interference-p)
5497         (eldoc-print-current-symbol-info): Tweak.
5499 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
5501         * doc-view.el (doc-view-new-window-function): Check the new window
5502         overlay's display property instead the char property of the
5503         buffer's first char.  Use `with-selected-window' instead of
5504         `save-window-excursion' with `select-window'.
5505         (doc-view-document->bitmap): Check the current doc-view overlay's
5506         display property instead the char property of the buffer's first char.
5508 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
5510         Automate the build of ja-dic.el (Bug#13984).
5511         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
5512         from the input, rather than assume that it's been done for us by the
5513         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
5514         the current date into a ja-dic.el comment, as that complicates
5515         regression testing.
5517 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5519         * whitespace.el: Fix double evaluation.
5520         (whitespace-space, whitespace-hspace, whitespace-tab)
5521         (whitespace-newline, whitespace-trailing, whitespace-line)
5522         (whitespace-space-before-tab, whitespace-indentation)
5523         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
5524         obsolete defvars.
5525         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
5526         (whitespace-color-on): Use a single font-lock-add-keywords call.
5527         Fix double-evaluation of face variables.
5529 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
5531         * net/tramp-adb.el (tramp-adb-parse-device-names):
5532         Use `start-process' instead of `call-process'.  Otherwise, the
5533         function might be blocked under MS Windows.  (Bug#13299)
5535 2013-03-17  Leo Liu  <sdl.web@gmail.com>
5537         Extend eldoc to display info in the mode-line.  (Bug#13978)
5538         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
5539         (eldoc-mode-line-string): New variable.
5540         (eldoc-minibuffer-message): New function.
5541         (eldoc-message-function): New variable.
5542         (eldoc-message): Use it.
5543         (eldoc-display-message-p)
5544         (eldoc-display-message-no-interference-p):
5545         Support eldoc-post-insert-mode.
5547         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
5548         (eval-expression): Run it.
5550 2013-03-17  Roland Winkler  <winkler@gnu.org>
5552         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
5553         strings in the list of return values.
5555 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
5557         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
5558         radix before checking for HMS forms.
5560 2013-03-16  Leo Liu  <sdl.web@gmail.com>
5562         * progmodes/scheme.el: Add indentation and font-locking for λ.
5563         (Bug#13975)
5565 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5567         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
5568         token before point (bug#13942).
5570 2013-03-16  Leo Liu  <sdl.web@gmail.com>
5572         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
5574 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
5576         * startup.el (command-line-normalize-file-name): Fix handling of
5577         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
5578         <xfq.free@gmail.com> in
5579         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
5581 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
5583         Sync with Tramp 2.2.7.
5585         * net/trampver.el: Update release number.
5587 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
5589         * doc-view.el Fix bug#13887.
5590         (doc-view-insert-image): Don't modify overlay associated to
5591         non-live windows, and implement horizontal centering of image in
5592         case it's smaller than the window.
5593         (doc-view-new-window-function): Force redisplay of new windows on
5594         doc-view buffers.
5596 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
5598         * saveplace.el (save-place-alist-to-file): Don't sort
5599         `save-place-alist', just pretty-print it (bug#13882).
5601 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
5603         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5604         Check whether `default-file-name-coding-system' is bound.
5605         It isn't in XEmacs.
5607 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5609         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
5610         backquotes for `obsolete' (bug#13929).
5612         * international/mule.el (find-auto-coding): Include file name in
5613         obsolescence warning (bug#13922).
5615 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
5617         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
5618         for CFEngine 3-specific indentation.
5619         (cfengine3-indent-line): Use it.  Fix up category regex.
5620         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
5622 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5624         * type-break.el (type-break-file-name):
5625         * textmodes/remember.el (remember-data-file):
5626         * strokes.el (strokes-file):
5627         * shadowfile.el (shadow-initialize):
5628         * saveplace.el (save-place-file):
5629         * ps-bdf.el (bdf-cache-file):
5630         * progmodes/idlwave.el (idlwave-config-directory):
5631         * net/quickurl.el (quickurl-url-file):
5632         * international/kkc.el (kkc-init-file-name):
5633         * ido.el (ido-save-directory-list-file):
5634         * emulation/viper.el (viper-custom-file-name):
5635         * emulation/vip.el (vip-startup-file):
5636         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
5637         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
5639 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
5641         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
5642         * language/thai-word.el: Switch to UTF-8.
5644 See ChangeLog.16 for earlier changes.
5646 ;; Local Variables:
5647 ;; coding: utf-8
5648 ;; End:
5650   Copyright (C) 2011-2013 Free Software Foundation, Inc.
5652   This file is part of GNU Emacs.
5654   GNU Emacs is free software: you can redistribute it and/or modify
5655   it under the terms of the GNU General Public License as published by
5656   the Free Software Foundation, either version 3 of the License, or
5657   (at your option) any later version.
5659   GNU Emacs is distributed in the hope that it will be useful,
5660   but WITHOUT ANY WARRANTY; without even the implied warranty of
5661   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
5662   GNU General Public License for more details.
5664   You should have received a copy of the GNU General Public License
5665   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.