Merge branch 'emacs-24' of git.sv.gnu.org:/srv/git/emacs into emacs-24
[emacs.git] / lisp / ChangeLog
blobed08c9fbdbb42328aa637192d7856a5dba3cf3af
1 2014-12-19  Michael Albinus  <michael.albinus@gmx.de>
3         * net/tramp-sh.el (tramp-send-command-and-read): New optional
4         arg MARKER.
5         (tramp-get-remote-path): Use it.
7 2014-12-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9         * subr.el (redisplay-dont-pause): Mark as obsolete.
11 2014-12-17  Michael Albinus  <michael.albinus@gmx.de>
13         * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
14         (tramp-accept-process-output): Use nil as argument for
15         `accept-process-output', when there is a gateway prepended.
17         * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
18         wrong debug buffer.
19         (tramp-gw-open-connection): Set process coding system 'binary.
20         (tramp-gw-open-network-stream): Handle HTTP error 403.
22         * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
23         wrong debug buffer.
24         (tramp-maybe-open-connection): Set connection property "gateway".
26 2014-12-15  Stefan Monnier  <monnier@iro.umontreal.ca>
28         * subr.el (sit-for): Tweak docstring (bug#19381).
30 2014-12-15  Dmitry Gutov  <dgutov@yandex.ru>
32         * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
33         stage to after `diff-index' (bug#19386).
35 2014-12-14  João Távora  <joaotavora@gmail.com>
37         * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
38         `electric-pair-mode' (bug#19356).
40 2014-12-12  Michael Albinus  <michael.albinus@gmx.de>
42         * simple.el (password-word-equivalents): Add "passcode", used for
43         numeric secrets like PINs or RSA tokens.
45 2014-12-10  Michael Albinus  <michael.albinus@gmx.de>
47         * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
48         order to determine `tramp-own-remote-path'.
50 2014-12-09  Fabián Ezequiel Gallina  <fgallina@gnu.org>
52         * progmodes/python.el (python-shell-parse-command):
53         Quote `python-shell-interpreter`.  (Bug#19289)
55 2014-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
57         * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
58         of the whole pipe when indenting an opening keyword after a |.
59         Generalize this treatment to opening keywords like "while" (bug#18031).
61 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
63         * simple.el (newline): Place the hook buffer-locally,
64         to make sure it's first.
66         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
67         Fix handling of symbols with different syntax at beginning/end or with
68         symbol rather than word syntax.
70 2014-11-30  Eli Zaretskii  <eliz@gnu.org>
72         * simple.el (line-move): If noninteractive, call line-move-1, not
73         forward-line, since the former is compatible with line-move-visual
74         both in terms of the column to which it moves and the return
75         value.  (Bug#19211)
77 2014-11-27  Stephen Berman  <stephen.berman@gmx.net>
78             Stefan Monnier  <monnier@iro.umontreal.ca>
80         * outline.el (outline-move-subtree-down): Make sure we can move
81         forward to find the end of the subtree and the insertion point
82         (bug#19102).
84 2014-11-27  Leonard Randall  <leonard.a.randall@gmail.com>
86         * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
87         for comment lines non-greedy and stopping at newlines to fix stack
88         overflows with large files. [Backport]
90 2014-11-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
92         * progmodes/python.el (python-shell-completion-setup-code):
93         Use __builtin__ module (or builtins in Python 3) and catch all errors
94         when importing readline and rlcompleter.
96 2014-11-26  Stephen Berman  <stephen.berman@gmx.net>
98         * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
99         (todo-revert-buffer): New function.
100         (todo-modes-set-1): Use it as the buffer-local value of
101         revert-buffer-function.
103 2014-11-26  Stephen Berman  <stephen.berman@gmx.net>
105         * calendar/todo-mode.el (todo-mode): If called interactively, just
106         display a message saying to call todo-show to enter Todo mode
107         (Bug#19112).
109 2014-11-24  Dmitry Gutov  <dgutov@yandex.ru>
111         * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
112         (Bug#18579)
114         * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
115         files.  (Bug#18579)
117 2014-11-23  Michael Albinus  <michael.albinus@gmx.de>
119         * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
120         remote `buffer-file-name'.
122 2014-11-23  Leo Liu  <sdl.web@gmail.com>
124         * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
126 2014-11-22  Fabián Ezequiel Gallina  <fgallina@gnu.org>
128         Set PYTHONUNBUFFERED on shell startup.
130         * progmodes/python.el (python-shell-unbuffered): New var.
131         (python-shell-calculate-process-environment): Use it.
133 2014-11-22  Michael Albinus  <michael.albinus@gmx.de>
135         * net/tramp.el (tramp-action-password): Clean password on subsequent
136         attempts even if there was no wrong password indication.  (Bug#19047)
138         * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
139         fallback.
140         (tramp-open-connection-setup-interactive-shell): No need to check
141         for nil as `tramp-get-remote-locale' return value.
143 2014-11-21  Eli Zaretskii  <eliz@gnu.org>
145         * vc/vc-git.el (vc-git-command, vc-git--call):
146         Bind coding-system-for-read and coding-system-for-write to
147         vc-git-commits-coding-system.
148         (vc-git-previous-revision): Use "~1" instead of "^", since the
149         latter is a special character for MS-Windows system shells.
151 2014-11-20  Michael Albinus  <michael.albinus@gmx.de>
153         Improve XEmacs compatibility.
155         * net/tramp.el (tramp-autoload-file-name-handler):
156         Wrap `temporary-file-directory' by `symbol-value', it doesn't
157         exist in XEmacs.
158         (tramp-read-passwd): Don't use `with-timeout-suspend' and
159         `with-timeout-unsuspend' if they don't exist, like in XEmacs.
160         (tramp-time-less-p, tramp-time-subtract): Remove functions.
161         (tramp-handle-file-newer-than-file-p, tramp-time-diff):
162         * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
163         * net/tramp-cache.el (tramp-get-file-property):
164         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
165         Use `time-less-p' and `time-subtract, respectively.
167         * net/tramp-adb.el (top): Do not require time-date.el.
169         * net/tramp-compat.el (top): Require time-date.el for XEmacs.
171         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
172         Check, whether `utf-8' is a valid coding system.
174 2014-11-19  Eli Zaretskii  <eliz@gnu.org>
176         * vc/vc.el (vc-retrieve-tag): Doc fix.
178 2014-11-17  Eli Zaretskii  <eliz@gnu.org>
180         * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
181         Don't assume --long is the default for "bzr log", always specify
182         it explicitly, in case the user defined an alias for 'log' that
183         uses some other format.
185 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
187         * progmodes/python.el (python-eldoc--get-doc-at-point):
188         Strip shell output before returning.  (bug#18794)
190 2014-11-16  Dmitry Gutov  <dgutov@yandex.ru>
192         Fix indentation before `!=' and after `+='.  Originally reported
193         in https://github.com/mooz/js2-mode/issues/174.
194         * progmodes/js.el (js--indent-operator-re): Make assignments and
195         (in)equality operator a separate case.
196         (js--continued-expression-p): Escape the second `+' in the regexp.
198 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
200         * window.el (handle-select-window): Deactivate shift-region (bug#19003).
202 2014-11-15  Andreas Schwab  <schwab@linux-m68k.org>
204         * version.el (emacs-repository-get-version): Use git rev-parse
205         instead of git log.
207 2014-11-15  Fabián Ezequiel Gallina  <fgallina@gnu.org>
209         * progmodes/python.el (python-indent-calculate-levels):
210         Fix indentation behavior multiline dedenter statement.  (Bug#18432)
212 2014-11-15  Fabián Ezequiel Gallina  <fgallina@gnu.org>
214         * progmodes/python.el (python-indent-region):
215         Use python-indent-line and skip special cases.  (Bug#18843)
217 2014-11-15  Michael Albinus  <michael.albinus@gmx.de>
219         * vc/vc-hg.el (vc-hg-state): Disable pager.  (Bug#18940)
221 2014-11-15  Peder O. Klingenberg  <peder@klingenberg.no>
223         * mail/emacsbug.el (report-emacs-bug): Make a better guess at
224           envelope-from when reporting through sendmail (bug#19054).
226 2014-11-14  Ivan Andrus  <darthandrus@gmail.com>
228         * progmodes/python.el (python-ffap-module-path):
229         Use `derived-mode-p' instead of equality test on `major-mode'.
231 2014-11-13  Ulrich Müller  <ulm@gentoo.org>
233         * version.el (emacs-repository-get-version): Call `git log'
234         command with proper format argument (bug#19049).
236 2014-11-10  Glenn Morris  <rgm@gnu.org>
238         * startup.el (command-line): Handle nil elements in load-path.
240 2014-11-08  Glenn Morris  <rgm@gnu.org>
242         * emacs-lisp/bytecomp.el (byte-compile-report-error):
243         Allow the argument to be a string.  Due to the vague doc,
244         it was already being used this way.
246 2014-11-07  Michael Albinus  <michael.albinus@gmx.de>
248         * net/tramp.el (tramp-check-cached-permissions): Include hop in
249         the constructed Tramp file name.  (Bug#18943)
251 2014-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
253         * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
254         (bug#18952).
255         (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
256         * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
258 2014-11-07  Michael Albinus  <michael.albinus@gmx.de>
260         * files.el (file-name-non-special): Wrap the call of
261         `insert-file-contents' by `unwind-protect', in order to set the
262         buffer's file name anyway.  (Bug#18891)
264 2014-11-07  Daiki Ueno  <ueno@gnu.org>
266         * epg.el (epg--list-keys-1): Ignore fields after the 15th field
267         (bug#18979).  Reported by Hideki Saito.
269 2014-10-18  Alan Mackenzie  <acm@muc.de>
271         Check that a "macro" found near point-min isn't a ## operator.
272         Fixes bug #18749.  Backported from trunk, 2014-11-05.
273         * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
274         (c-beginning-of-macro): Use the above new function.
276 2014-11-05  Alan Mackenzie  <acm@muc.de>
278         Fix wrong bound to c-font-lock-declarators.  Fixes bug #18948.
279         * progmodes/cc-fonts.el (c-font-lock-declarations):
280         Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
281         the buffer is sometimes narrowed to less than "limit" (e.g., in
282         the presence of macros).
284 2014-11-05  Michael Albinus  <michael.albinus@gmx.de>
286         * net/tramp.el (tramp-error-with-buffer): Show connection buffer
287         only when message appeared in minibuffer.  (Bug#18891)
289         * net/tramp-adb.el (tramp-adb-handle-file-attributes):
290         * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
291         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
292         case of errors.
294 2014-11-04  Eli Zaretskii  <eliz@gnu.org>
296         * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
297         returned by load-average.
299 2014-11-04  Michael Albinus  <michael.albinus@gmx.de>
301         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
302         a local copy; setting `inhibit-file-name-handlers' proper might be
303         more performant.  (Bug#18751)
305 2014-11-04  Glenn Morris  <rgm@gnu.org>
307         * mail/emacsbug.el (report-emacs-bug): No longer include
308         recent-keys in the report.  (Bug#18900)
310 2014-11-03  Michael Albinus  <michael.albinus@gmx.de>
312         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
313         local copy of FILENAME, when it is remote.  (Bug#18751)
315 2014-11-02  Michael Albinus  <michael.albinus@gmx.de>
317         * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
318         an error when the command fails; the return code must indicate.
319         (tramp-adb-send-command-and-check): Fix docstring.
321 2014-11-01  Michael Albinus  <michael.albinus@gmx.de>
323         * net/tramp-cache.el (tramp-get-file-property)
324         (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
325         and `tramp-cache-set-count-*' are bound.  Otherwise, there might
326         be compiler warnings.
328         * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
329         Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
331 2014-11-01  Eli Zaretskii  <eliz@gnu.org>
333         * progmodes/compile.el (compilation-mode): Turn off deferred
334         fontifications locally.  (Bug#18856)
336 2014-11-01  Wolfgang Jenkner  <wjenkner@inode.at>
338         * net/tramp-sh.el (tramp-send-command): Fix the case where the
339         remote-echo connection property is non-nil (bug#18858).
341 2014-11-01  Michael Albinus  <michael.albinus@gmx.de>
343         Backport Tramp changes from trunk.
345         * net/tramp.el (tramp-methods): Tweak docstring.
346         (tramp-file-name-handler): Apply `cons' where appropriate.
347         (tramp-handle-file-accessible-directory-p): Check for
348         `file-readable-p' instead of `file-executable-p'.
349         (tramp-handle-shell-command): Use `display-buffer'.  (Bug#18326)
350         (tramp-handle-unhandled-file-name-directory): Return "/".
351         (tramp-check-cached-permissions):
352         Use `tramp-compat-file-attributes'.
353         (tramp-call-process): Add new argument VEC.  Adapt callees in all
354         tramp*.el files.
356         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
357         (tramp-adb-handle-write-region): Improve messages.
358         (tramp-adb-maybe-open-connection): Don't set
359         `tramp-current-*' variables.
361         * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
362         Suppress debug messages.
364         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
365         (tramp-ftp-file-name-handler):
367         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
368         (tramp-gvfs-methods-mounttracker)
369         (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
370         during initialization.  (Bug#18774)
371         (tramp-gvfs-handle-delete-file): Flush file properties, not
372         directory properties.
373         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
374         reading "unix::mode".
375         (tramp-gvfs-handle-file-name-all-completions):
376         Use "-h" option for "gvfs-ls".
377         (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
378         `user' and `localname' could be nil.
379         (tramp-gvfs-send-command): Simplify traces.
381         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
382         (vc-git-program, vc-hg-program): Declare.
383         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
384         (tramp-methods) <nc>: Add new method.
385         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
386         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
387         `tramp-login-args'.
388         (tramp-default-user-alist): Add "nc".
389         (top): Remove completion function for "sftp".  Add completion
390         functions for "nc" and "psftp".
391         (tramp-sh-handle-set-visited-file-modtime):
392         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
393         (tramp-do-copy-or-rename-file-out-of-band):
394         Use cached "remote-copy-args" value, if available.  (Bug#18199)
395         Tweak docstring.  Implement support for "nc" method.
396         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
397         (tramp-remote-coding-commands, tramp-call-local-coding-command):
398         Tweak docstring.
399         (tramp-sh-handle-start-file-process): Expand `default-directory'.
400         (tramp-sh-handle-write-region): Tweak error message.
401         (tramp-sh-handle-vc-registered): Remove backends when the remote
402         binary does not exist.
403         (tramp-open-connection-setup-interactive-shell):
404         Prefer utf-8 coding.  (Bug#17859)
405         (tramp-find-inline-encoding): Do not raise an error.
406         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
407         the "nc" case.  Quote result also locally.
408         (tramp-get-remote-id): Check also for "gid".
409         (tramp-get-remote-python):
411         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
412         (tramp-smb-handle-set-file-acl): Use `start-process'.
413         (tramp-smb-handle-insert-directory): Use progress reporter.
414         (tramp-smb-handle-rename-file): Flush also file properties of
415         FILENAME.
417         * net/trampver.el: Update release number.
419 2014-11-01  Reuben Thomas  <rrt@sc3d.org>
421         * net/tramp.el (tramp-handle-file-symlink-p):
422         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
423         about VMS, which we no longer support.
425 2014-11-01  Stefan Monnier  <monnier@iro.umontreal.ca>
427         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
428         the global vc-handled-backends (bug#18535).
430 2014-11-01  Jérémy Compostella  <jeremy.compostella@intel.com>
431             Michael Albinus  <michael.albinus@gmx.de>
433         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
434         Reduce the amount of set environment variable commands.
436 2014-11-01  Paul Eggert  <eggert@cs.ucla.edu>
438         * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
439         current-time.
441 2014-11-01  Emilio C. Lopes  <eclig@gmx.net>
443         * net/tramp-sh.el (tramp-get-remote-python): Also search for
444         executables named "python2" or "python3".
445         (tramp-get-remote-uid-with-python): Use parentheses around
446         arguments to `print' to make it compatible with Python 3.
447         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
449 2014-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
451         * simple.el (newline): Add assertions to try and help catch bug#18913.
453         * emulation/cua-base.el (cua-delete-region): Use delete-active-region
454         (bug#18886).
455         (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
457 2014-10-31  Eli Zaretskii  <eliz@gnu.org>
459         * Makefile.in (repo-update): Fix a typo and slightly reword
460         commentary.
462 2014-10-31  Eric S. Raymond  <esr@thyrsus.com>
464         * Makefile.in: Change some production names so they're neutral
465         about the repository type.
467 2014-10-30  Kim F. Storm  <storm@cua.dk>
469         Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
470         * delsel.el (delete-selection-save-to-register)
471         (delsel--replace-text-or-position): New vars.
472         (delete-active-region): Use them.
473         (delete-selection-repeat-replace-region): New command, moved from
474         cua-base.el.
475         * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
476         (cua-repeat-replace-region): Move command to delsel.el.
477         (cua--init-keymaps): Update binding accordingly.
478         (cua-mode): Set delete-selection-save-to-register.
480 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
482         * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
483         (c-lang-defconst):
484         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
486 2014-10-29  Eli Zaretskii  <eliz@gnu.org>
488         * progmodes/compile.el (compilation-start):
489         If compilation-scroll-output is non-nil, don't force window-start of
490         the compilation buffer to be at beginning of buffer.  (Bug#18874)
492 2014-10-23  Tassilo Horn  <tsdh@gnu.org>
494         * doc-view.el (doc-view-open-text): View the document's plain text
495         in the current buffer instead of a new one.
496         (doc-view-toggle-display): Handle the case where the current
497         buffer contains the plain text contents of the document.
498         (doc-view-initiate-display): Don't switch to fallback mode if the
499         user wants to view the doc's plain text.  [Backport]
501 2014-10-23  Eli Zaretskii  <eliz@gnu.org>
503         * startup.el (fancy-about-text): Read the entire tutorial, not
504         just its first 256 bytes.  (Bug#18760)
506 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
508         * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
509         * emacs-lisp/cl-extra.el: Add missing provide.
511 2014-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
513         * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
514         all args are copyable (bug#18767).
515         (=, <, >, <=, >=): Re-enable the optimization.
517 2014-10-20  Santiago Payà i Miralta  <santiagopim@gmail.com>
519         * vc/vc-hg.el (vc-hg-log-graph): New var.
520         (vc-hg-print-log): Use it.
521         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
522         graph output (bug#17515).
524 2014-10-20  Juri Linkov  <juri@jurta.org>
526         * vc/diff-mode.el (diff-refine-changed): Rename from
527         `diff-refine-change' for consistency with `diff-changed'.
528         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
530         * vc/smerge-mode.el (smerge-refined-changed): Rename from
531         `smerge-refined-change'.
532         (smerge-refined-change): Add obsolete face alias.
534 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
536         * subr.el (call-process-shell-command, process-file-shell-command):
537         Make the `args' obsolete (bug#18409).
538         (start-process-shell-command, start-file-process-shell-command):
539         Use `declare'.
541 2014-10-20  Juanma Barranquero  <lekktu@gmail.com>
543         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
545 2014-10-20  Glenn Morris  <rgm@gnu.org>
547         * dired.el (dired-read-regexp): Make obsolete.
548         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
549         (dired-flag-files-regexp):
550         * dired-aux.el (dired-mark-read-regexp):
551         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
553 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
555         * progmodes/python.el (inferior-python-mode): Use add-hook.
557         * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
559 2014-10-20  Glenn Morris  <rgm@gnu.org>
561         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
562         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
563         * emulation/ws-mode.el: Move to obsolete/.  [Backport]
565 2014-10-20  Glenn Morris  <rgm@gnu.org>
567         * cus-start.el (history-length): Bump :version.  [Backport]
569 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
571         * obsolete/cc-compat.el: Make obsolete (bug#18561).
573         * epg-config.el (epg-gpg-program): Don't use absolute names by default.
575         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
576         case (bug#18767).
578 2014-10-20  Glenn Morris  <rgm@gnu.org>
580         * Version 24.4 released.
582 2014-10-15  Alan Mackenzie  <acm@muc.de>
584         * cus-edit.el (custom-command-apply): Specify the return value in
585         the doc string.
586         (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
587         custom-command-apply has returned non-nil.
589 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
591         * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
592         Backported (bug#18688).
594 2014-10-14  Eli Zaretskii  <eliz@gnu.org>
596         * emacs-lisp/tabulated-list.el (tabulated-list-mode):
597         Force bidi-paragraph-direction to 'left-to-right'.  This fixes
598         buffer-menu display when the first buffer happens to start with
599         R2L letter.
601 2014-10-13  Glenn Morris  <rgm@gnu.org>
603         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
604         (authors-obsolete-files-regexps): Additions.
605         (authors-no-scan-regexps): New constant.
606         (authors-no-scan-file-p): New function.
607         (authors): Respect authors-no-scan-file-p.
609 2014-10-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
611         Fix import completion.  (Bug#18582)
612         * progmodes/python.el (python-shell-completion-get-completions):
613         Fix import case regexp.
615 2014-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
617         * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
618         (bug#18622).  Reported by Arni Magnusson <arnima@hafro.is>.
619         * progmodes/prolog.el (prolog-electric--underscore): Same.
621 2014-10-09  Glenn Morris  <rgm@gnu.org>
623         * frame.el (display-monitor-attributes-list): Doc tweaks.
625 2014-10-08  Eli Zaretskii  <eliz@gnu.org>
627         * faces.el (display-grayscale-p): Mention in the doc string that
628         the argument can be either a display name or a frame.
630         * frame.el (display-pixel-height, display-pixel-width)
631         (display-mm-height, display-mm-width, display-backing-store)
632         (display-save-under, display-planes, display-color-cells)
633         (display-visual-class, display-monitor-attributes-list)
634         (display-screens): Mention in the doc string that the argument can
635         be either a display name or a frame.  Improve the docs of the
636         monitor attributes.  (Bug#18636)
638 2014-10-06  Martin Rudalics  <rudalics@gmx.at>
640         * term.el (term-window-width): Subtract 1 from the width when
641         any fringe has zero width, not just the right fringe.  (Bug#18601)
643 2014-10-05  Leo Liu  <sdl.web@gmail.com>
645         * imenu.el (imenu-default-goto-function): Fix typo.
647 2014-10-04  Glenn Morris  <rgm@gnu.org>
649         * frame.el (frame-monitor-attributes)
650         (display-monitor-attributes-list): Doc fixes.
652 2014-10-03  Dmitry Gutov  <dgutov@yandex.ru>
654         * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
655         (vc-svn-ignore): Use it.  (Bug#18619)
657 2014-10-03  Martin Rudalics  <rudalics@gmx.at>
659         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
660         In doc-string mention need to set `frame-resize-pixelwise'.
662 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
664         * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
665         similarly to Rogers's 2010-06-16 change for the remote case
666         (bug#18605).
668 2014-10-01  Glenn Morris  <rgm@gnu.org>
670         * emacs-lisp/package.el (package-import-keyring):
671         Create gnupg directory private.  (Bug#17625#155)
673 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
675         * progmodes/python.el (python-shell-completion-get-completions):
676         Use python-shell--prompt-calculated-input-regexp from the
677         process buffer (bug#18582).
678         Don't assume that `line' comes from the process buffer.
680 2014-09-30  Leonardo Nobrega  <leonobr@gmail.com>  (tiny change)
682         * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
683         (bug#18462).
685 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
687         * emacs-lisp/package.el (package-check-signature): Default to nil if
688         GPG is not available.
689         (package-refresh-contents): Don't mess with the keyring if we won't
690         check the signatures anyway.
692 2014-09-18  Kan-Ru Chen  <kanru@kanru.info>
694         * window.el (fit-window-to-buffer): When counting buffer width,
695         count the whole visible buffer.  Correctly convert the body-height
696         to pixel size for window-text-pixel-size (Bug#18498).
698 2014-09-14  Glenn Morris  <rgm@gnu.org>
700         * image.el (image-multi-frame-p): Fix thinko - do not force
701         a delay if none was specified.  (Bug#18334)
703 2014-09-12  Kan-Ru Chen  <kanru@kanru.info>
705         * window.el (fit-window-to-buffer): Doc fix.
707 2014-09-10  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
709         * desktop.el (desktop-create-buffer): Check that buffers are still live
710         before burying them (bug#18373).
712 2014-09-09  Glenn Morris  <rgm@gnu.org>
714         * calendar/diary-lib.el (diary-list-entries):
715         Restore 24.3 display behavior.  (Bug#18381)
717 2014-09-09  Eli Zaretskii  <eliz@gnu.org>
719         * mouse.el (mouse-drag-line): On text-mode frames, count the mode
720         line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
721         discrepancy between window-pixel-edges and mouse events, and
722         avoids moving mode line up when the mouse click is on the modeline
723         and no drag is attempted.
725 2014-09-08  Glenn Morris  <rgm@gnu.org>
727         * calendar/calendar.el (calendar-basic-setup):
728         Avoid clobbering calendar with diary.  (Bug#18381)
730 2014-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
732         * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
734 2014-09-04  Lars Ljung  <lars@matholka.se>  (tiny change)
736         * isearch.el (isearch-yank-word-or-char): Obey superword-mode
737         as well (bug#18400).
739 2014-09-04  Eli Zaretskii  <eliz@gnu.org>
741         * subr.el (posn-actual-col-row): Doc fix.  (Bug#18385)
743 2014-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
745         * emacs-lisp/package.el (package-generate-description-file):
746         Properly quote the arguments (bug#18332).  Change second arg.
747         (package--alist-to-plist-args): Rename from package--alist-to-plist and
748         quote the elements.
749         (package--make-autoloads-and-stuff): Fix the test for pre-existence of
750         the *-pkg.el file.  Adjust to new calling convention of
751         package-generate-description-file.
753         * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
754         (gud-gdb-completions): Remove obsolete workaround.
756 2014-09-02  Eli Zaretskii  <eliz@gnu.org>
758         * subr.el (posn-col-row): Revert the change from commit
759         2010-11-13T21:07:58Z!eliz@gnu.org, which
760         was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
761         monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
762         introduced an off-by-one error in the reported row when there is a
763         header line.  (Bug#18384)
765 2014-09-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
767         * progmodes/python.el (python-indent-post-self-insert-function):
768         Avoid electric colon at beginning-of-defun.  (Bug#18228)
770 2014-09-01  Glenn Morris  <rgm@gnu.org>
772         * tutorial.el (tutorial--display-changes):
773         Fix 2014-07-29 change.  (Bug#18382)
775 2014-08-29  Ken Brown  <kbrown@cornell.edu>
777         * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
778         the Cygwin-w32 build.  (Bug#18347)
780 2014-08-28  Glenn Morris  <rgm@gnu.org>
782         * tar-mode.el (tar--extract, tar-extract):
783         Avoid permanently disabling undo in extracted buffers.  (Bug#18344)
785 2014-08-27  Michael Albinus  <michael.albinus@gmx.de>
787         * emacs-lisp/authors.el (authors-aliases): Addition.
789         * net/tramp-adb.el: Spell author name correctly.
791 2014-08-27  João Távora  <joaotavora@gmail.com>
793         * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
794         use url-expand-file-name.  (Bug#18310)
796 2014-08-25  Glenn Morris  <rgm@gnu.org>
798         * emulation/cua-rect.el (cua--highlight-rectangle):
799         Avoid error at point-min.  (Bug#18309)
801 2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
803         * progmodes/python.el (python-shell-prompt-detect): Remove redundant
804         executable-find (bug#18244).
806         * simple.el (self-insert-uses-region-functions): Defvar.
808 2014-08-13  Leo Liu  <sdl.web@gmail.com>
810         * speedbar.el (speedbar-generic-list-tag-p): Allow special
811         elements from imenu.
813 2014-08-11  Glenn Morris  <rgm@gnu.org>
815         * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
817         * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
818         chose coding system for writing before backing up, since it causes
819         a more serious problem than the one it solves.  (Closes Bug#18141,
820         reopens Bug#13522.)
822 2014-08-10  Martin Rudalics  <rudalics@gmx.at>
824         * window.el (window-total-size): Make doc-string more
825         self-contained.
827 2014-08-09  Martin Rudalics  <rudalics@gmx.at>
829         * window.el (display-buffer-below-selected): Restore original
830         behavior if buffer is already displayed in the window below the
831         selected one (Bug#18181).
833 2014-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
835         * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
836         event (bug#18212).
838 2014-08-08  Eli Zaretskii  <eliz@gnu.org>
840         * info.el (info): Doc fix.
842 2014-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
844         * info.el (Info-mode-map): Override a global down-mouse-2 binding
845         (bug#18212).
847 2014-08-05  Eli Zaretskii  <eliz@gnu.org>
849         * simple.el (default-line-height): A floating-point value of
850         line-spacing means a fraction of the default frame font's height,
851         not of the font currently used by the 'default' face.
852         Truncate the pixel value, like the display engine does.
853         (window-screen-lines): Use window-inside-pixel-edges for
854         determining the window height in pixels.  (Bug#18195)
856 2014-07-29  Eli Zaretskii  <eliz@gnu.org>
858         * tutorial.el (tutorial--display-changes): Accept punctuation
859         characters before the key binding.  (Bug#18146)
861 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
863         * doc-view.el (doc-view-open-text): Don't require that the
864         document is saved in a file (e.g., email attachment).
866 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
868         * window.el (window--pixel-to-total): Use FRAME's root window, not
869         that of the selected frame.  (Bug#18112, Bug#16674)
871 2014-07-27  Andreas Schwab  <schwab@linux-m68k.org>
873         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
874         (Bug#18117)
876 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
878         * progmodes/python.el (inferior-python-mode): Doc fix.
880 2014-07-25  Stephen Berman  <stephen.berman@gmx.net>
882         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
883         not a character, ignore it instead of raising an error.
885 2014-07-25  Stephen Berman  <stephen.berman@gmx.net>
887         * calendar/todo-mode.el: Fix handling of marked items and make
888         minor code improvements.
889         (todo-edit-item): If there are marked items, ensure user can only
890         invoke editing commands that work with marked items.
891         (todo-edit-item--text): When there are marked items, make it a
892         noop if invoked with point not on an item; otherwise, ensure it
893         applies only to item at point.
894         (todo-item-undone): If there are marked not-done items, return
895         point to its original position before signaling user error.
896         (todo--user-error-if-marked-done-item): New function.
897         (todo-edit-item--header, todo-edit-item--diary-inclusion)
898         (todo-item-done): Use it.
900 2014-07-25  Glenn Morris  <rgm@gnu.org>
902         * files.el (toggle-read-only): Re-add basic doc-string.
903         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
905         * progmodes/prolog.el (prolog-mode-keybindings-edit):
906         Replace missing `switch-to-prolog' with `run-prolog'.
907         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
909 2014-07-22  Stephen Berman  <stephen.berman@gmx.net>
911         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
912         of file-wide setting when changing category-wide setting.
914 2014-07-21  Glenn Morris  <rgm@gnu.org>
916         * progmodes/hideif.el (hide-ifdef-mode-submap):
917         Also substitute read-only-mode.
918         * bindings.el (mode-line-toggle-read-only):
919         * bs.el (bs-toggle-readonly):
920         * buff-menu.el (Buffer-menu-toggle-read-only):
921         * dired.el (dired-toggle-read-only):
922         * files.el (view-read-only, find-file-read-only)
923         (find-file-read-only-other-window)
924         (find-file-read-only-other-frame):
925         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
926         Doc fixes re toggle-read-only.
928 2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
930         * progmodes/python.el: Add comment about pipe buffering and
931         solutions for missing/delayed output in inferior Python shells.
932         (Bug#17304)
934 2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
936         * progmodes/python.el (python-mode): Don't set
937         mode-require-final-newline.  (Bug#17990)
939 2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
941         Make python.el work with IPython automatically.  (Bug#15510)
942         * progmodes/python.el:
943         (python-shell-completion-setup-code): New value supporting iPython.
944         (python-shell-completion-string-code): New value supporting iPython.
945         (python-shell-completion-get-completions): Use them.
946         (python-shell-completion-module-string-code): Make obsolete.
947         (python-shell-prompt-input-regexps)
948         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
949         (python-shell-output-filter): Fix comment typo.
951 2014-07-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
953         Fix Python shell prompts detection for remote hosts.
954         * progmodes/python.el (python-shell-prompt-detect):
955         Replace call-process with process-file and make it more robust.
957 2014-07-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
959         Autodetect Python shell prompts.  (Bug#17370)
960         * progmodes/python.el:
961         (python-shell-interpreter-interactive-arg)
962         (python-shell-prompt-detect-enabled)
963         (python-shell-prompt-detect-failure-warning)
964         (python-shell-prompt-input-regexps)
965         (python-shell-prompt-output-regexps): New vars.
966         (python-shell-prompt-calculated-input-regexp)
967         (python-shell-prompt-calculated-output-regexp): New vars.
968         (python-shell-get-process-name)
969         (python-shell-internal-get-process-name)
970         (python-shell-output-filter)
971         (python-shell-completion-get-completions): Use them.
972         (python-shell-prompt-detect)
973         (python-shell-prompt-validate-regexps): New functions.
974         (python-shell-prompt-set-calculated-regexps): New function.
975         (inferior-python-mode): Use it.  Also honor overridden
976         python-shell-interpreter and python-shell-interpreter-args.
977         (python-shell-make-comint): Honor overridden
978         python-shell-interpreter and python-shell-interpreter-args.
979         (python-shell-get-or-create-process): Make it testable by allowing
980         to call run-python non-interactively.
981         (python-util-valid-regexp-p): New function.
982         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
983         (python-shell-prompt-output-regexp)
984         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
986 2014-07-16  Glenn Morris  <rgm@gnu.org>
988         * desktop.el (after-init-hook): Disable startup frame restoration
989         in non-graphical situations.  (Bug#17693)
991 2014-07-14  Glenn Morris  <rgm@gnu.org>
993         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
994         if it was "empty", or used for a different set of files.  (Bug#17884)
996 2014-07-13  Eli Zaretskii  <eliz@gnu.org>
998         * bindings.el (mode-line-remote): If default-directory is not a
999         string, don't call file-remote-p on it; instead state in the
1000         help-echo that it is nil.  (Bug#17986)
1002 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
1004         Fix bug: C-x v v discarded existing log message (Bug#17884).
1005         * vc/vc-dispatcher.el (vc-log-edit):
1006         Don't clobber an already-existing log message.
1008 2014-07-10  Glenn Morris  <rgm@gnu.org>
1010         * vc/log-edit.el (log-edit-changelog-entries):
1011         Check for a visited-but-never-saved ChangeLog.
1013 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1015         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1016         a non-existing file (bug#17970).
1018         * faces.el (face-name): Undo last change.
1019         (x-resolve-font-name): Don't call face-name (bug#17956).
1021 2014-07-09  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1023         Fix dedenters and electric colon handling. (Bug#15163)
1025         * progmodes/python.el
1026         (python-rx-constituents): Add dedenter and block-ender.
1027         (python-indent-dedenters, python-indent-block-enders): Delete.
1028         (python-indent-context): Return new case for dedenter-statement.
1029         (python-indent-calculate-indentation): Handle new case.
1030         (python-indent-calculate-levels): Fix levels calculation for
1031         dedenter statements.
1032         (python-indent-post-self-insert-function): Fix colon handling.
1033         (python-info-dedenter-opening-block-message): New function.
1034         (python-indent-line): Use it.
1035         (python-info-closing-block)
1036         (python-info-closing-block-message): Remove.
1037         (python-info-dedenter-opening-block-position)
1038         (python-info-dedenter-opening-block-positions)
1039         (python-info-dedenter-statement-p): New functions.
1041 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1043         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1044         the middle of a line (bug#17896).
1046 2014-07-08  Juri Linkov  <juri@jurta.org>
1048         * startup.el (command-line): Append displaying the warning about
1049         the errors in the init file to the end of `after-init-hook'.
1050         (Bug#17927)
1052 2014-07-08  Juri Linkov  <juri@jurta.org>
1054         * faces.el (face-name): Return input arg `face' as is
1055         when it's not a symbol.
1056         (x-resolve-font-name): Don't check if the face is a symbol.
1057         (Bug#17956)
1059 2014-07-08  Juri Linkov  <juri@jurta.org>
1061         * facemenu.el (list-colors-print): In help-echo format use %.2f
1062         instead of %d because now HSV values are floating-point components
1063         between 0.0 and 1.0.
1065 2014-07-06  Glenn Morris  <rgm@gnu.org>
1067         * emulation/cua-rect.el (cua--activate-rectangle):
1068         Avoid setting cua--rectangle to nil.  (Bug#17877)
1070 2014-07-06  Stephen Berman  <stephen.berman@gmx.net>
1072         * calendar/todo-mode.el: Fix wrong-type-argument error when
1073         marking multiple consecutive items.
1074         (todo-toggle-mark-item): Don't try to mark the empty lines at the
1075         end of the todo and done items sections.  Note in doc string that
1076         items marked by passing a numeric prefix argument can include the
1077         last todo and first done items.
1078         (todo-mark-category): Don't try to mark the empty line between the
1079         todo and done items sections.
1081 2014-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1083         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1084         proper Lisp quoting (bug#17934).
1086         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1087         require-final-newline since prog-mode already took care of it (bug#17947).
1089 2014-07-04  Stephen Berman  <stephen.berman@gmx.net>
1091         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
1092         refer to the Todo mode Info manual.  Update the comment on
1093         requiring cl-lib.
1094         (todo-find-filtered-items-file): Add todo-prefix overlays.
1095         (todo-filter-items): Reorder a let-bound variable to avoid a
1096         wrong-type-argument error on canceling the file choice dialog.
1098 2014-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1100         * progmodes/octave.el (inferior-octave-mode):
1101         Set comint-input-ring-size to a number (bug#17912).
1103 2014-07-03  Juri Linkov  <juri@jurta.org>
1105         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1106         and `isearch-mode' associated with nil.  (Bug#17849)
1108 2014-07-02  Juri Linkov  <juri@jurta.org>
1110         * desktop.el (desktop-save): Rename arg `auto-save' to
1111         `only-if-changed'.  Doc fix.  (Bug#17873)
1113 2014-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1115         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1116         Use insert-for-yank (bug#17271).
1118 2014-07-02  Leo Liu  <sdl.web@gmail.com>
1120         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1121         Support lexical-binding.
1123 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1125         * vc/log-edit.el (log-edit-goto-eoh): New function.
1126         (log-edit--match-first-line): Use it (bug#17861).
1128 2014-07-01  Glenn Morris  <rgm@gnu.org>
1130         * vc/log-edit.el (log-edit-hook): Add missing :version.
1132 2014-07-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1134         * progmodes/python.el (python-indent-post-self-insert-function):
1135         Enhancements to electric indentation behavior inside
1136         parens. (Bug#17658)
1138 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1140         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1141         buffer-invisibility-spec (bug#17867).
1143 2014-06-29  Andreas Schwab  <schwab@linux-m68k.org>
1145         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1146         pass "-a".
1148 2014-06-29  Glenn Morris  <rgm@gnu.org>
1150         * cus-edit.el (help):
1151         * finder.el (finder-known-keywords):
1152         * help.el (help-for-help-internal):
1153         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1154         (ediff-redraw-registry-buffer):
1155         * vc/ediff-ptch.el (ediff-patch-file-internal):
1156         Doc fixes re "online" help.  (Bug#17803)
1158         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1159         (idlwave-mode): Doc URL update.
1161 2014-06-27  Stephen Berman  <stephen.berman@gmx.net>
1163         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1164         account for file-wide setting of todo-top-priorities-overrides.
1165         Make code a bit cleaner.
1167 2014-06-27  Leo Liu  <sdl.web@gmail.com>
1169         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
1171 2014-06-27  Glenn Morris  <rgm@gnu.org>
1173         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
1175 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
1177         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1178         category-wide setting of todo-top-priorities-overrides, check for
1179         a file-wide setting and fontify accordingly.
1181 2014-06-26  Glenn Morris  <rgm@gnu.org>
1183         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
1185 2014-06-26  Daiki Ueno  <ueno@gnu.org>
1187         * emacs-lisp/package.el (package--check-signature):
1188         If package-check-signature is allow-unsigned, don't signal error when
1189         we can't verify signature because of missing public key
1190         (backport for bug#17625).
1192 2014-06-26  Glenn Morris  <rgm@gnu.org>
1194         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1195         Remove outdated declaration.
1197         * emacs-lisp/authors.el (authors-valid-file-names)
1198         (authors-renamed-files-alist): Additions.
1200 2014-06-25  Leo Liu  <sdl.web@gmail.com>
1202         * textmodes/picture.el (picture-set-tab-stops):
1203         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1204         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1206         * progmodes/asm-mode.el (asm-calculate-indentation):
1207         Use indent-next-tab-stop.
1209         * indent.el (indent-accumulate-tab-stops): New function.
1211 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1213         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1214         (package-desc-status): Obey it.
1216 2014-06-25  Stephen Berman  <stephen.berman@gmx.net>
1218         * calendar/todo-mode.el: Fix two bugs.
1219         (todo-insert-item--basic): If user cancels item insertion to
1220         another category before setting priority, show original category
1221         whether it is in the same or a different file.
1222         (todo-set-item-priority): After selecting category, instead of
1223         moving point to top, which extends an active region, restore it.
1225 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1227         * help-fns.el (describe-function-1): Check file-name is a string before
1228         calling help-fns--autoloaded-p (bug#17564).
1230 2014-06-24  Juri Linkov  <juri@jurta.org>
1232         * desktop.el (desktop-auto-save-enable)
1233         (desktop-auto-save-disable): New functions.
1234         (desktop-save-mode, desktop-auto-save-timeout): Use them.
1235         (desktop-read): Disable the autosave before loading the desktop,
1236         and enable afterwards.  (Bug#17351)
1238 2014-06-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1240         Fix some indentation problem with \; and pipes (bug#17842).
1241         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1242         (sh-smie--default-forward-token, sh-smie--default-backward-token):
1243         New functions.
1244         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1245         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1246         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1248 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
1250         * international/fontset.el (script-representative-chars):
1251         Add representative characters for scripts added in Unicode 7.0.
1252         (otf-script-alist): Synchronize with the latest registry of OTF
1253         script tags.
1255         * international/characters.el (char-script-table): Update for
1256         scripts added and codepoint ranges changed in Unicode 7.0.
1258 2014-06-23  Leo Liu  <sdl.web@gmail.com>
1260         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1261         tab-stop-list to nil.  (Bug#16381)
1263         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1264         (indent-rigidly-left-to-tab-stop)
1265         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1266         (move-to-tab-stop): Change callers.
1268 2014-06-22  Eli Zaretskii  <eliz@gnu.org>
1270         * skeleton.el (skeleton-insert): Yet another fix of the doc string
1271         wrt behavior of \n as the first/last element of a skeleton.
1273 2014-06-22  Michael Albinus  <michael.albinus@gmx.de>
1275         * net/tramp-adb.el (tramp-adb-handle-process-file):
1276         * net/tramp-sh.el (tramp-sh-handle-process-file):
1277         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1278         the output buffer when DISPLAY is non-nil.  (Bug#17815)
1280 2014-06-21  Glenn Morris  <rgm@gnu.org>
1282         * play/landmark.el (landmark-move-down, landmark-move-up):
1283         Fix 2007-10-20 change - preserve horizontal position.
1285 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1287         Fix completion retrieval parsing (bug#17209).
1288         * progmodes/python.el (python-mode):
1289         (python-util-strip-string): New function.
1290         (python-shell-completion-get-completions): Use it.
1292 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1294         * skeleton.el (skeleton-insert): Fix last change.
1296 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1298         Enhancements for outline integration (bug#17796).
1299         * progmodes/python.el (python-mode): Properly set
1300         outline-heading-end-regexp so that comments after colons for
1301         defuns are supported.
1303 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1305         * skeleton.el (skeleton-insert): Doc fix.
1307 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1309         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1310         (smie-config-guess): Use smie-config-local so the rules are obeyed
1311         (bug#17818).
1313         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1314         since it's already done inside the loop (bug#17819).
1316 2014-06-20  Martin Rudalics  <rudalics@gmx.at>
1318         * mouse.el (mouse-drag-line): Re-remove code initially removed
1319         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1320         (Bug#17819).
1322 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1324         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1325         align with the surrounding parent (bug#17721).
1327 2014-06-20  Eli Zaretskii  <eliz@gnu.org>
1329         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1330         locally to nil.
1331         (texinfo-insert-block, texinfo-insert-@end)
1332         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1333         local setting of skeleton-end-newline by adding an explicit \n to
1334         the skeletons where appropriate.  (Bug#17801)
1336 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1338         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1339         (smie-indent--hanging-p): Use it.
1340         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1342 2014-06-20  Leo Liu  <sdl.web@gmail.com>
1344         * simple.el (read-quoted-char): Don't let help chars pop up help
1345         buffer.  (Bug#16617)
1347 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1349         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1350         for | (bug#17621).
1352 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1354         * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1355         (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1356         burping.
1358 2014-06-18  Eli Zaretskii  <eliz@gnu.org>
1360         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1361         and later.  (Bug#17790)
1363 2014-06-18  Juri Linkov  <juri@jurta.org>
1365         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1366         to `soft'.  (Bug#17554)
1368 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1370         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1371         (bug#17737).
1373 2014-06-16  Dmitry Gutov  <dgutov@yandex.ru>
1375         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1376         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
1378 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
1380         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1381         `unread-command-events'.
1383 2014-06-14  Glenn Morris  <rgm@gnu.org>
1385         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
1386         Replace delete-duplicates and mapcan by cl- versions throughout.
1387         And cl-macroexpand-all by macroexpand-all.
1388         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1390 2014-06-14  Eli Zaretskii  <eliz@gnu.org>
1392         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
1394 2014-06-14  Juri Linkov  <juri@jurta.org>
1396         * bindings.el: Put `ascii-character' property on keypad keys
1397         mapped to characters.  (Bug#17759)
1399 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1401         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1402         bumping forward into a closing paren (bug#17761).
1404         * term/xterm.el (xterm--version-handler): Work around for OSX
1405         Terminal.app (bug#17607).
1407 2014-06-08  Glenn Morris  <rgm@gnu.org>
1409         * startup.el (initial-buffer-choice): Doc fix.
1410         Reset :version (adding an option does not merit a :version bump).
1412         * bookmark.el (bookmark-load):
1413         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1415 2014-06-06  Juri Linkov  <juri@jurta.org>
1417         * desktop.el: Activate auto-saving on window configuration changes.
1418         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1419         `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1420         (desktop-auto-save-set-timer): Change REPEAT arg of
1421         `run-with-idle-timer' from t to nil.
1422         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1424 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
1426         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1427         vc-hg-command (bug#17570).
1429 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1431         * international/mule-cmds.el (ucs-names): Add special entry for BEL
1432         (bug#17702).
1434 2014-06-06  Glenn Morris  <rgm@gnu.org>
1436         * startup.el (window-setup-hook): Doc fix.
1438 2014-06-05  Glenn Morris  <rgm@gnu.org>
1440         * emacs-lisp/package.el (package-check-signature)
1441         (package-unsigned-archives): Doc fixes.
1443 2014-06-03  Martin Rudalics  <rudalics@gmx.at>
1445         * window.el (display-buffer-use-some-window): Don't make window
1446         used smaller than it was before (Bug#17671).
1448 2014-06-03  Eli Zaretskii  <eliz@gnu.org>
1450         * menu-bar.el (menu-bar-open): Fix last change: use the PC
1451         'redisplay' instead of '(sit-for 0)'.
1453 2014-06-03  Michael Albinus  <michael.albinus@gmx.de>
1455         * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1456         regexp.  (Bug#17653)
1458 2014-06-03  Glenn Morris  <rgm@gnu.org>
1460         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1462 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
1464         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1466 2014-06-01  Eli Zaretskii  <eliz@gnu.org>
1468         * simple.el (keyboard-quit): Force update of mode lines, to remove
1469         the "Def" indicator, if we were defining a macro.  (Bug#17615)
1471 2014-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1473         * minibuffer.el (minibuffer-force-complete-and-exit):
1474         Obey minibuffer-default (bug#17545).
1476         * progmodes/js.el (js-indent-line): Don't mix columns and chars
1477         (bug#17619).
1479 2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1481         * subr.el (set-transient-map): Don't wait for some "nested"
1482         transient-map to finish if we're only supposed to be active for
1483         the next command (bug#17642).
1485 2014-05-31  Leo Liu  <sdl.web@gmail.com>
1487         * emacs-lisp/gv.el (window-buffer, window-display-table)
1488         (window-dedicated-p, window-hscroll, window-point, window-start):
1489         Fix gv-expander.  (Bug#17630)
1491 2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1493         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1494         clicks (bug#17633).
1496         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1497         for the single comma, since ", " is *very* common in normal French text
1498         (bug#17643).
1500 2014-05-30  Glenn Morris  <rgm@gnu.org>
1502         * emacs-lisp/package.el (package-check-signature)
1503         (package-unsigned-archives): Fix :version.
1505 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1507         * subr.el (sit-for): Don't run input-methods (bug#15614).
1509 2014-05-28  Glenn Morris  <rgm@gnu.org>
1511         * cus-start.el: Fix some :version numbers.
1513 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1515         * simple.el (deactivate-mark): Set mark-active to nil even if
1516         deactivation is done via setting transient-mark-mode to nil,
1517         since one is buffer-local and the other is global.
1519         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1520         there can't be more than 2 arguments (bug#17584).
1522 2014-05-27  Glenn Morris  <rgm@gnu.org>
1524         * simple.el (filter-buffer-substring-functions)
1525         (filter-buffer-substring-function, buffer-substring-filters)
1526         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1528         * minibuffer.el (completion-in-region-functions, completion-in-region)
1529         (completion--in-region): Doc fixes.
1531         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1532         (expand-abbrev, abbrev--default-expand): Doc fixes.
1534 2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
1536         Include sources used to create macuvs.h.
1537         * international/README: Refer to the Unicode Terms of Use rather
1538         than copying it bodily here, as that simplifies maintenance.
1540 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
1542         * cus-face.el (custom-face-attributes): Add :distant-foreground.
1544 2014-05-25  Martin Rudalics  <rudalics@gmx.at>
1546         * window.el (window--dump-frame): Remove interactive
1547         specification.
1549 2014-05-23  Glenn Morris  <rgm@gnu.org>
1551         * hippie-exp.el (he-line-search-regexp):
1552         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
1554 2014-05-23  Stephen Berman  <stephen.berman@gmx.net>
1556         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1557         to avoid errors when trying to create or visit a file foo.todo
1558         located outside to todo-directory, and to allow having such files
1559         without them being tied to Todo mode (bug#17482).
1560         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1561         (todo-archive-done-item, todo-find-filtered-items-file)
1562         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1563         (todo-category-completions, todo-read-category): When visiting a
1564         Todo file, make sure we're in the right mode and the buffer local
1565         variables are set.
1566         (todo-make-categories-list, todo-reset-nondiary-marker)
1567         (todo-reset-done-string, todo-reset-comment-string):
1568         After processing all Todo files, kill the buffers of those files that
1569         weren't being visited before the processing.
1570         (todo-display-as-todo-file, todo-add-to-buffer-list)
1571         (todo-visit-files-commands): Comment out.
1572         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1573         (auto-mode-alist): Remove add-to-list calls making Todo file
1574         extensions unrestrictedly tied to Todo modes.
1576 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1578         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1579         (advice-function-member-p): Tell it to check both names and functions
1580         (bug#17531).
1581         (advice--add-function): Adjust call accordingly.
1583 2014-05-23  Stephen Berman  <stephen.berman@gmx.net>
1585         * calendar/todo-mode.el: Miscellaneous bug fixes.
1586         (todo-delete-file): When deleting an archive but not its todo
1587         file, make sure to update the todo file's category sexp.
1588         (todo-move-category): Keep the moved category's name unless the
1589         file moved to already has a category with that name.  If the
1590         numerically last category of the source file was moved, make the
1591         first category current to avoid selecting a nonexisting category.
1592         (todo-merge-category): Fix implementation to make merging to a
1593         category in another file work as documented.  Eliminate now
1594         insufficient and unnecessary renaming of archive category, correct
1595         document string accordingly, and clarify it.  If the numerically
1596         last category of the source file was merged, make the first
1597         category current to avoid selecting a nonexisting category.
1598         (todo-archive-done-item): When there are marked items and point
1599         happens to be on an unmarked item, ignore the latter.  Don't leave
1600         point below last item after archiving marked items.
1601         (todo-unarchive-items): Fix logic to ensure unarchiving an item
1602         from an archive with only one category deletes the archive only
1603         when the category is empty after unarchiving.  Make sure the todo
1604         file's category sexp is updated.
1605         (todo-read-file-name): Allow an existing file name even when it is
1606         not required (todo-move-category needs this to work as documented).
1607         (todo-add-file): Call todo-validate-name to reject the name of an
1608         existing todo file (needed due to fix in todo-read-file-name).
1609         (todo-reset-nondiary-marker): Also reset in filtered items files.
1610         (todo-reset-done-string, todo-reset-comment-string): Also reset in
1611         regexp filtered items files.
1612         (todo-reset-highlight-item): Also reset in filtered items files.
1613         Fix incorrect variable reference in document string.
1615 2014-05-22  Glenn Morris  <rgm@gnu.org>
1617         * window.el (window--dump-frame): Avoid error in --without-x builds.
1619 2014-05-21  Glenn Morris  <rgm@gnu.org>
1621         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1623 2014-05-21  Eli Zaretskii  <eliz@gnu.org>
1625         * frame.el (set-frame-font): Doc fix.
1627         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
1629 2014-05-21  Dmitry Gutov  <dgutov@yandex.ru>
1631         * emacs-lisp/package.el (package--download-one-archive):
1632         Use `write-region' instead of `save-buffer' to avoid running various
1633         hooks.  (Bug#17155)
1634         (describe-package-1): Same.  Insert newline at the end of the
1635         buffer if appropriate.
1637 2014-05-20  Juri Linkov  <juri@jurta.org>
1639         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1640         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1641         Add more modifiers: meta, control, shift, hyper, super, alt.
1642         (Bug#17439)
1644         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1645         to allow changing its value with `set-variable'.
1647 2014-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1649         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1650         #; comments.
1651         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1652         New functions.
1653         (scheme-mode-variables): Set syntax-propertize-function instead of
1654         font-lock-syntactic-face-function.
1655         (scheme-font-lock-syntactic-face-function): Delete.
1657         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1659 2014-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1661         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1662         (bug#17392).
1664 2014-05-17  Michael Albinus  <michael.albinus@gmx.de>
1666         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1667         for a temporary file name.
1669 2014-05-17  Eli Zaretskii  <eliz@gnu.org>
1671         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
1673 2014-05-16  Michael Albinus  <michael.albinus@gmx.de>
1675         * net/dbus.el (dbus-init-bus, dbus-call-method)
1676         (dbus-call-method-asynchronously, dbus-send-signal)
1677         (dbus-method-return-internal, dbus-method-error-internal):
1678         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
1680 2014-05-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1682         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1683         methods which do not have a doc string.  (Bug#17490)
1685 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
1686             Stefan Monnier  <monnier@iro.umontreal.ca>
1688         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1689         suffix (bug#15419).
1691 2014-05-14  Glenn Morris  <rgm@gnu.org>
1693         * vc/emerge.el (emerge-temp-file-prefix):
1694         Make pointless option obsolete.
1695         (emerge-temp-file-mode): Make non-functional option obsolete.
1697 2014-05-13  Michael Albinus  <michael.albinus@gmx.de>
1699         * net/browse-url.el (browse-url):
1700         Use `unhandled-file-name-directory' when setting `default-directory',
1701         in order to circumvent stalled remote connections.  (Bug#17425)
1703 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1705         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1706         into autoloading just because of a silly indirection.
1708 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
1710         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
1712 2014-05-11  Glenn Morris  <rgm@gnu.org>
1714         * emacs-lisp/find-gc.el: Move to ../admin.
1716 2014-05-10  Glenn Morris  <rgm@gnu.org>
1718         * printing.el (pr-version):
1719         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1721         * net/browse-url.el (browse-url-mosaic):
1722         Create /tmp/Mosaic.PID as a private file.
1724 2014-05-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1726         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1727         (advice--member-p): If name is given, only compare the name.
1728         (advice--remove-function): Don't stop at the first match.
1729         (advice--normalize-place): New function.
1730         (add-function, remove-function): Use it.
1731         (advice--add-function): Pass the name, if any, to
1732         advice--remove-function.
1734 2014-05-09  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
1736         * electric.el (electric-indent-post-self-insert-function): Don't use
1737         `pos' after modifying the buffer (bug#17449).
1739 2014-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1741         * subr.el (function-put): Add function.
1743 2014-05-09  Stephen Berman  <stephen.berman@gmx.net>
1745         * calendar/todo-mode.el (todo-insert-item-from-calendar):
1746         Correct argument list to conform to todo-insert-item--basic.
1748 2014-05-09  Glenn Morris  <rgm@gnu.org>
1750         * files.el (cd-absolute): Test if directory is accessible
1751         rather than executable.  (Bug#17330)
1753         * progmodes/compile.el (recompile):
1754         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
1756 2014-05-08  Juri Linkov  <juri@jurta.org>
1758         * dired.el (dired-check-switches, dired-switches-recursive-p):
1759         New functions.  (Bug#17218)
1760         (dired-switches-escape-p, dired-move-to-end-of-filename):
1761         Use `dired-check-switches'.
1762         (dired-insert-old-subdirs, dired-build-subdir-alist)
1763         (dired-sort-R-check): Use `dired-switches-recursive-p'.
1765 2014-05-08  Glenn Morris  <rgm@gnu.org>
1767         * net/browse-url.el (browse-url-mosaic):
1768         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
1769         This is CVE-2014-3423.
1771 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1773         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1774         (xterm-mouse--read-event-sequence-1000): Return nil if something
1775         looks fishy.
1776         (xterm-mouse-event): Propagate it.
1777         (xterm-mouse-translate-1): Handle it.
1779 2014-05-07  Stephen Berman  <stephen.berman@gmx.net>
1781         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1782         four slots of the parameter list are filled, make sure to pass it
1783         to the argument list of todo-insert-item--basic.
1785 2014-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1787         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1788         Add optional `seen' argument to detect and break infinite loops.
1790 2014-05-06  Eli Zaretskii  <eliz@gnu.org>
1792         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1793         (trace-unsafe, trace-use-tree): Make parentheses style be
1794         according to Emacs style.
1796 2014-05-06  Michael Albinus  <michael.albinus@gmx.de>
1798         * net/tramp-sh.el (tramp-remote-process-environment):
1799         Remove HISTFILE and HISTSIZE; it's too late to set them here.
1800         Add :version entry.
1801         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1802         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
1803         extra "PSx=..." commands.
1804         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1805         (Bug#17295)
1807         (tramp-uudecode): Replace the hard-coded temporary file name by a
1808         format specifier.
1809         (tramp-remote-coding-commands): Enhance docstring.
1810         (tramp-find-inline-encoding): Replace "%t" by a temporary file
1811         name.  (Bug#17415)
1812         This is CVE-2014-3424.
1814 2014-05-06  Glenn Morris  <rgm@gnu.org>
1816         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1817         (find-gc-source-files): Update some names.
1818         (trace-call-tree): Simplify and update.
1819         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
1820         This is CVE-2014-3422.
1822 2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1824         * minibuffer.el (completion--try-word-completion): Revert fix for
1825         Bug#15980 (bug#17375).
1827         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1828         Always store button numbers in the same way in xterm-mouse-last;
1829         Don't burp is xterm-mouse-last is not set as expected.
1830         Never return negative indices.
1832 2014-05-05  Dmitry Gutov  <dgutov@yandex.ru>
1834         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1835         Backtrack one char if the global/char-literal var matcher hits
1836         inside a string.  The next char could be the beginning of an
1837         expression expansion.
1839 2014-05-05  Glenn Morris  <rgm@gnu.org>
1841         * help-fns.el (describe-function-1): Test for an autoload before a
1842         macro, since `macrop' works on autoloads.  (Bug#17410)
1844 2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1846         * electric.el (electric-indent-functions-without-reindent): Add yaml.
1848         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1849         Make sure the new point we return is within the new string (bug#17239).
1851 2014-05-03  Eli Zaretskii  <eliz@gnu.org>
1853         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1855 2014-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1857         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1858         Use nil rather than `default' for the "default" appearance (bug#17388).
1859         * vc/ediff-util.el (ediff-inferior-compare-regions)
1860         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1861         a misleading `default' value when it's really a boolean.
1862         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1863         overlay is not visible.
1865 2014-05-02  Stephen Berman  <stephen.berman@gmx.net>
1867         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1868         (todo-menu): Uncomment and update.
1870 2014-05-02  Stephen Berman  <stephen.berman@gmx.net>
1872         * calendar/todo-mode.el: Reimplement item editing to have the same
1873         basic user interface as item insertion, and make small UI and
1874         larger internal improvements to the latter.
1875         (todo-insert-item): Add reference to the Todo mode user manual to
1876         the documentation string.
1877         (todo-insert-item--basic): Rename from todo-basic-insert-item and
1878         adjust all callers.  Change signature to combine diary and
1879         nonmarking arguments.  Incorporate functionality of deleted item
1880         copying command and add error checking.  Remove detailed
1881         descriptions of the arguments from the documentation string, since
1882         this is treated in the Todo mode user manual.
1883         (todo-copy-item, todo-edit-multiline-item)
1884         (todo-edit-done-item-comment, todo-edit-item-header)
1885         (todo-edit-item-time, todo-edit-item-date-from-calendar)
1886         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1887         (todo-edit-item-date-year, todo-edit-item-date-month)
1888         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1889         Remove.
1890         (todo-edit-item): Reimplement as wrapper command for
1891         todo-edit-item--next-key and make it distinguish done and not done
1892         todo items.
1893         (todo-edit-item--text): New function, replacing old command
1894         todo-edit-item and incorporating deleted commands
1895         todo-edit-multiline-item and todo-edit-done-item-comment.
1896         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1897         Use only numeric value of prefix argument.  Remove detailed
1898         descriptions of the arguments from the documentation string, since
1899         this is treated in the Todo mode user manual.
1900         (todo-edit-item--diary-inclusion): New function, replacing old
1901         command todo-edit-item-diary-inclusion and incorporating and fixing
1902         functionality of deleted command todo-edit-item-diary-nonmarking,
1903         making sure to remove todo-nondiary-marker when adding
1904         diary-nonmarking-symbol.
1905         (todo-edit-category-diary-inclusion): Make sure to delete
1906         diary-nonmarking-symbol when adding todo-nondiary-marker.
1907         (todo-edit-category-diary-nonmarking): Fix indentation.
1908         (todo-insert-item--parameters): Group diary and nonmarking
1909         parameters together.
1910         (todo-insert-item--apply-args): Adjust to signature of
1911         todo-insert-item--basic and incorporate copy parameter.
1912         Make small code improvements.
1913         (todo-insert-item--next-param): Improve prompt and adjust it to
1914         new parameter grouping.  Remove obsolete code.
1915         (todo-edit-item--param-key-alist)
1916         (todo-edit-item--date-param-key-alist)
1917         (todo-edit-done-item--param-key-alist): New defconsts.
1918         (todo-edit-item--prompt): New variable.
1919         (todo-edit-item--next-key): New function.
1920         (todo-key-bindings-t): Bind "e" to todo-edit-item.
1921         Remove bindings of deleted commands.
1923 2014-05-02  Leo Liu  <sdl.web@gmail.com>
1925         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1927 2014-05-01  Glenn Morris  <rgm@gnu.org>
1929         * allout-widgets.el (allout-widgets-tally)
1930         (allout-decorate-item-guides):
1931         * menu-bar.el (menu-bar-positive-p):
1932         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1933         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1934         * progmodes/js.el (js--inside-param-list-p)
1935         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1936         * progmodes/prolog.el (region-exists-p):
1937         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1938         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1939         Doc fixes (replace `iff').
1941 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1943         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1945 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
1947         * dired.el (dired-initial-position-hook, dired-initial-position):
1948         Doc string fixes.
1950 2014-04-29  Glenn Morris  <rgm@gnu.org>
1952         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
1954 2014-04-27  Matthias Dahl  <matthias.dahl@binary-island.eu>
1956         * faces.el (face-spec-recalc): Apply X resources only after the
1957         defface spec has been applied. Thus, X resources are no longer
1958         overridden by the defface spec which also fixes issues on win32 where
1959         the toolbar coloring was wrong because it is set through X resources
1960         and was (wrongfully) overridden.  (Bug#16694)
1962 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1964         * textmodes/rst.el (electric-pair-pairs): Declare.
1965         (rst-mode): Set it (bug#17131).
1967 2014-04-27  Juri Linkov  <juri@jurta.org>
1969         * desktop.el (desktop-value-to-string): Let-bind `print-length'
1970         and `print-level' to nil.  (Bug#17351)
1972 2014-04-25  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1974         * battery.el (battery-update): Handle the case where battery
1975         status is "N/A" (bug#17319).
1977 2014-04-24  Eli Zaretskii  <eliz@gnu.org>
1979         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1980         Use equal-including-properties to compare help-echo strings (bug#17331).
1982 2014-04-24  Leo Liu  <sdl.web@gmail.com>
1984         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1985         Fix syntax for @.  (Bug#17325)
1987 2014-04-24  Daniel Colascione  <dancol@dancol.org>
1989         * emacs-lisp/cl.el (gv): Require gv early to break eager
1990         macro-expansion cycles.
1992 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1994         * simple.el (region-active-p): Check there's a mark (bug#17324).
1996         * simple.el (completion-list-mode-map): Use choose-completion for the
1997         mouse binding as well (bug#17302).
1998         (completion-list-mode, completion-setup-function): Adjust docstring and
1999         echo area message accordingly.
2000         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2001         calling convention of choose-completion.
2002         * comint.el (comint-dynamic-list-completions):
2003         * term.el (term-dynamic-list-completions): Accept choose-completion.
2005         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2006         &, |, +, - and * can't be a division (bug#17317).
2008 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2010         * term/xterm.el (xterm--version-handler): Don't use modern xterm
2011         features on gnome-terminal (bug#16988).
2013 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
2015         * dired.el (dired-insert-set-properties): Do not consider
2016         subdirectory headings and empty lines to be information that
2017         `dired-hide-details-mode' should hide.  (Bug#17228)
2019 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
2021         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2022         Remove test messages.
2023         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2024         and `target' twice.
2026 2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2028         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2029         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2031         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2033 2014-04-21  Michael Albinus  <michael.albinus@gmx.de>
2035         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2036         Set "IFS=" when using read builtin, in order to preserve spaces in
2037         the file name.  Add test messages for hunting a bug on hydra.
2038         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
2040 2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2042         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2043         Don't prettify a word within a symbol.
2045 2014-04-20  Michael Albinus  <michael.albinus@gmx.de>
2047         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2048         possible.
2050 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2052         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2053         assignments such as "case=hello" (bug#17297).
2055 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
2057         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2058         Do not autoload.
2059         (tramp-file-name-handler, tramp-completion-file-name-handler):
2060         Revert patch from 2014-04-10, it isn't necessary anymore.
2061         (tramp-autoload-file-name-handler)
2062         (tramp-register-autoload-file-name-handlers): New defuns.
2063         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2064         (tramp-register-file-name-handlers): Remove also
2065         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2066         Do not autoload its invocation, but eval it after loading of 'tramp.
2068         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2070         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2072 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2074         * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2075         was done (bug#17264).
2076         * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2077         comment to EOB.
2079         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2080         here-documents (bug#17262).
2082 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
2084         * term/pc-win.el (x-list-fonts, x-get-selection-value):
2085         Provide doc strings, as required by snarf-documentation.
2087 2014-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2089         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2090         arg of overlays-at.  Use `invisible-p'.
2092         * obsolete/lucid.el (extent-at):
2093         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2094         overlays-at.
2095         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2097 2014-04-14  João Távora  <joaotavora@gmail.com>
2099         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2100         links.  (Bug#17217).
2102 2014-04-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2104         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2105         Use mapc to loop over a vector.  (Bug#17257).
2107 2014-04-13  Michael Albinus  <michael.albinus@gmx.de>
2109         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2110         patch, there are new problems with file names containing spaces.
2111         Get rid of backticks.  (Bug#17238)
2113 2014-04-13  João Távora  <joaotavora@gmail.com>
2115         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2116         possible bug.
2118 2014-04-13  Eli Zaretskii  <eliz@gnu.org>
2120         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2121         (blink-cursor-mode): Mention customization variables and the
2122         effect of 'blink-cursor-blinks'.
2124 2014-04-12  Barry O'Reilly  <gundaetiapo@gmail.com>
2126         * simple.el (undo): Prevent insertion of identity mapping into
2127         undo-equiv-table so as undo-only does not inf loop in the presence
2128         of consecutive nils in undo list.
2130 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
2132         * faces.el (make-face): Deprecate optional argument as it is no
2133         longer needed/used since the conditional X resources handling
2134         has been pushed down to make-face-x-resource-internal itself.
2135         (make-empty-face): Don't pass optional argument to make-face.
2137 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
2139         * international/characters.el <standard-case-table>: Add entries
2140         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
2141         Set category of Coptic characters be 'g' (Greek).
2143 2014-04-12  Leo Liu  <sdl.web@gmail.com>
2145         * progmodes/octave.el (completion-table-with-cache): Define if not
2146         available.
2147         (octave-goto-function-definition)
2148         (octave-sync-function-file-names)
2149         (octave-find-definition-default-filename): Backquote upattern for
2150         compatibility.
2152 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
2154         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2155         name twice due to backticks.  (Bug#17238)
2157 2014-04-11  Glenn Morris  <rgm@gnu.org>
2159         * term/w32-win.el (x-win-suspend-error):
2160         * term/x-win.el (x-win-suspend-error): Sync docs.
2162 2014-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2164         Ediff's overlay priorities cause more trouble than they solve.
2165         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2166         (ediff-highest-priority): Remove function (bug#17234).
2167         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2168         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2169         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2170         overlay priorities.
2172 2014-04-10  Feng Li  <fengli@gmail.com>  (tiny change)
2174         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2175         entry; use symbol boundaries to avoid mis-matches.
2177 2014-04-10  Michael Albinus  <michael.albinus@gmx.de>
2179         * net/tramp.el (tramp-file-name-handler)
2180         (tramp-completion-file-name-handler): Avoid recursive loading.
2182         * net/tramp-sh.el (tramp-make-copy-program-file-name):
2183         Quote result also locally.
2185 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
2187         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2188         Module methods.  (Bug#17216)
2190 2014-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2192         * help.el (describe-bindings): Fix buffer handling (bug#17210).
2193         (describe-bindings-internal): Mark obsolete.
2195 2014-04-07  João Távora  <joaotavora@gmail.com>
2197         * elec-pair.el:
2198         (electric-pair--syntax-ppss): When inside comments parse from
2199         comment beginning.
2200         (electric-pair--balance-info): Fix typo in comment.
2201         (electric-pair--in-unterminated-string-p): Delete.
2202         (electric-pair--unbalanced-strings-p): New function.
2203         (electric-pair-string-bound-function): New var.
2204         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2205         according to `electric-pair--in-unterminated-string-p'
2207 2014-04-07  João Távora  <joaotavora@gmail.com>
2209         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2210         Inhibit quote pairing if point-max is inside an unterminated string.
2211         (electric-pair--looking-at-unterminated-string-p): Delete.
2212         (electric-pair--in-unterminated-string-p): New function.
2214 2014-04-07  Glenn Morris  <rgm@gnu.org>
2216         * shell.el (shell-directory-tracker):
2217         Go back to just ignoring failures.  (Bug#17159)
2219 2014-04-06  João Távora  <joaotavora@gmail.com>
2221         Fix `electric-pair-delete-adjacent-pairs' in modes binding
2222         backspace. (bug#16981)
2223         * elec-pair.el (electric-pair-backward-delete-char): Delete.
2224         (electric-pair-backward-delete-char-untabify): Delete.
2225         (electric-pair-mode-map): Bind backspace to a menu item filtering
2226         a new `electric-pair-delete-pair' command.
2227         (electric-pair-delete-pair): New command.
2229 2014-04-06  João Távora  <joaotavora@gmail.com>
2231         * progmodes/python.el (python-electric-pair-string-delimiter):
2232         Fix triple-quoting electricity.  (Bug#17192)
2234 2014-04-06  João Távora  <joaotavora@gmail.com>
2236         * elec-pair.el (electric-pair-post-self-insert-function):
2237         Don't skip whitespace when `electric-pair-text-pairs' and
2238         `electric-pair-pairs' were used. syntax to
2239         electric-pair--skip-whitespace.  (Bug#17183)
2241 2014-04-06  Eli Zaretskii  <eliz@gnu.org>
2243         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2244         "<F>".  (Bug#17199)
2246 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2248         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2249         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2251 2014-04-05  Glenn Morris  <rgm@gnu.org>
2253         * help.el (view-lossage): Doc tweak.
2255 2014-04-05  Matthias Dahl  <matthias.dahl@binary-island.eu>
2257         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2258         only when inhibit-x-resources is nil, and do that earlier in the
2259         function.  Doc fix.  (Bug#16694)
2260         (face-spec-choose): Accept additional optional argument, whose
2261         value is returned if no matching attributes are found.
2262         (face-spec-recalc): Use the new optional argument when calling
2263         face-spec-choose.  (Bug#16378)
2264         (make-face-x-resource-internal): Do nothing when
2265         inhibit-x-resources is non-nil.  Don't touch the default face if
2266         reversed video is given--as was done in previous versions of Emacs.
2267         (face-set-after-frame-default): Don't call
2268         make-face-x-resource-internal here.  (Bug#16434)
2270 2014-04-04  Tassilo Horn  <tsdh@gnu.org>
2272         * doc-view.el (doc-view-bookmark-jump):
2273         Use `bookmark-after-jump-hook' to jump to the right page after the
2274         buffer is shown in a window.  (bug#16090)
2276 2014-04-04  Eli Zaretskii  <eliz@gnu.org>
2278         * international/characters.el (mirroring): Fix last change:
2279         instead of loading uni-mirrored.el explicitly, do that implicitly
2280         by creating the 'mirroring' uniprop table.  This avoids announcing
2281         the loading of uni-mirrored.el.
2283 2014-04-04  Glenn Morris  <rgm@gnu.org>
2285         * files.el (buffer-stale--default-function)
2286         (buffer-stale-function, revert-buffer--default):
2287         * autorevert.el (auto-revert-buffers): Doc tweaks.
2289 2014-04-03  Eli Zaretskii  <eliz@gnu.org>
2291         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
2293 2014-04-03  Glenn Morris  <rgm@gnu.org>
2295         * files.el (make-backup-file-name-function)
2296         (make-backup-file-name, make-backup-file-name--default-function)
2297         (make-backup-file-name-1, find-backup-file-name)
2298         (revert-buffer-function, revert-buffer-insert-file-contents-function)
2299         (buffer-stale--default-function, buffer-stale-function)
2300         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2301         (revert-buffer, revert-buffer--default)
2302         (revert-buffer-insert-file-contents--default-function):
2303         Doc fixes related to defaults no longer being nil.
2304         (make-backup-file-name-function): Bump :version.
2305         Restore nil as a valid but deprecated custom type.
2307 2014-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2309         * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2310         used as a variable (bug#17174).
2312 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2314         * progmodes/perl-mode.el (perl-indent-new-calculate):
2315         Handle forward-sexp failure (bug#16985).
2316         (perl-syntax-propertize-function): Add "foreach" and "for" statement
2317         modifiers introducing expressions (bug#17116).
2319 2014-04-02  Glenn Morris  <rgm@gnu.org>
2321         * menu-bar.el (menu-bar-file-menu):
2322         * vc/ediff.el (ediff-current-file):
2323         Update for revert-buffer-function no longer being nil by default.
2325         * simple.el (command-execute): Respect nil disabled-command-function.
2327 2014-04-01  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2329         * simple.el (command-execute): Do not execute the command when it
2330         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
2332 2014-03-29  Juri Linkov  <juri@jurta.org>
2334         * dired-aux.el (dired-compress-file): Don't use string-match-p
2335         because its match data is used afterwards.
2337 2014-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2339         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2340         0 like nil.
2342 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
2344         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2345         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
2347         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2348         Don't propertize `?' or `!' as symbol constituent when after
2349         colon.  (Bug#17097)
2351 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
2353         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2354         which is no longer needed and causes trouble in GTK builds (bug#17046).
2356         * emacs-lisp/package-x.el (package--archive-contents-from-url):
2357         Use url-insert-file-contents; package-handle-response no longer exists.
2359 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
2361         * emacs-lisp/package.el: Fix bug#16733 (again).
2362         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2363         (url-http-target-url): Remove unused declarations.
2364         (package-handle-response): Remove.
2365         (package--with-work-buffer): Use url-insert-file-contents and simplify.
2366         (package--download-one-archive): Use current-buffer instead of
2367         dynamic binding of `buffer'.
2368         (describe-package-1): Do not decode readme-string.
2370 2014-03-25  Barry O'Reilly  <gundaetiapo@gmail.com>
2372         * simple.el (primitive-undo): Correction to 2014-03-24 change.
2374 2014-03-25  Michael Albinus  <michael.albinus@gmx.de>
2376         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2378         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2379         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
2380         `remote-file-name-inhibit-cache' to nil in the second pass.
2381         (tramp-find-executable): Do not call "which" on SunOS.
2382         (tramp-send-command-and-check): Fix docstring.
2383         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2384         check whether source directory has set the sticky bit.
2386 2014-03-24  Barry O'Reilly  <gundaetiapo@gmail.com>
2388         * simple.el (primitive-undo): Only process marker adjustments
2389         validated against their corresponding (TEXT . POS).  Issue warning
2390         for lone marker adjustments in undo history.  (Bug#16818)
2391         (undo-make-selective-list): Add marker adjustments to selective
2392         undo list based on whether their corresponding (TEXT . POS) is in
2393         the region.  Remove variable adjusted-markers, which was unused
2394         and only non nil during undo-make-selective-list.
2395         (undo-elt-in-region): Return nil when passed a marker adjustment
2396         and explain in function doc.
2398 2014-03-24  Dmitry Gutov  <dgutov@yandex.ru>
2400         * emacs-lisp/package.el (package--add-to-archive-contents):
2401         Include already installed and built-in packages in
2402         `package-archive-contents'.
2403         (package-install): Don't include already installed packages in the
2404         options during interactive invocation.  (Bug#16762)
2406 2014-03-24  Daniel Colascione  <dancol@dancol.org>
2408         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2409         instead of cl-loop search function.
2411 2014-03-24  Juanma Barranquero  <lekktu@gmail.com>
2413         * frameset.el (frameset--initial-params): Fix typo in parameter name.
2415 2014-03-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2417         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2419 2014-03-24  Dmitry Gutov  <dgutov@yandex.ru>
2421         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2422         Match special global variables without curlies, too.
2423         (ruby-font-lock-keywords): Simplify the matcher for special global
2424         variables.  Don't require a non-word character after the variable.
2425         (Bug#17057)
2427 2014-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2429         * simple.el (redisplay-highlight-region-function): Increase priority of
2430         overlay to make sure boundaries are visible (bug#15899).
2432 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
2434         * frameset.el (frameset-restore): Compare display strings with equal.
2436         * frame.el (make-frame): Don't quote display name in error message,
2437         it is already a string.
2439 2014-03-23  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2441         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2442         the password.
2444 2014-03-23  Dmitry Gutov  <dgutov@yandex.ru>
2446         * emacs-lisp/package.el (package-show-package-list): If the buffer
2447         is already displayed in another window, switch to that window.
2449 2014-03-21  Daniel Colascione  <dancol@dancol.org>
2451         * mail/emacsbug.el (report-emacs-bug): Include memory usage
2452         information in bug reports.
2454 2014-03-23  Daniel Colascione  <dancol@dancol.org>
2456         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2457         list to look for keyword arguments instead of `memq', fixing
2458         (Bug#3647) --- unfortunately, only for freshly-compiled code.
2459         Please make bootstrap.
2461 2014-03-23  Richard Stallman  <rms@gnu.org>
2463         * battery.el (battery-linux-sysfs): Search for each field
2464         from the beginning of the buffer.
2466 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
2468         * emacs-lisp/package.el (package-desc): Use the contents of the
2469         quoted form, not its cdr.  (Bug#16873)
2471 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
2473         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2474         benefit of doc.c; change parameter profile to match the X function.
2476 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
2478         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2479         and `tramp-copy-env'.
2481         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2482         (tramp-maybe-open-connection): Handle `tramp-login-env'.
2484 2014-03-21  Glenn Morris  <rgm@gnu.org>
2486         * electric.el (electric-indent-post-self-insert-function): Add doc.
2488 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
2490         * emacs-lisp/package.el (package-compute-transaction):
2491         Use `version-list-<=' to compare the requirement version against
2492         the version of package already to be installed.  Update the error
2493         message.  (Bug#16826)
2495         * progmodes/ruby-mode.el (ruby-smie-rules):
2496         Add indentation rule for ` @ '.  (Bug#17050)
2498 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
2500         * align.el (align-regexp): Remove superfluous backslash.
2502         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2503         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2504         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2505         Fix docstring typos.
2506         (ffap-next): Use C-u in docstring.
2507         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2508         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2509         Remove superfluous backslashes.
2510         (ffap-string-at-point): Reflow docstring.
2512         * server.el (server-host): Reflow docstring.
2513         (server-unload-function): Fix docstring typo.
2514         (server-eval-at): Remove superfluous backslash.
2516         * skeleton.el (skeleton-insert): Remove superfluous backslash.
2517         (skeleton-insert): Doc fix.
2518         (skeleton-insert): Reflow docstring.
2520         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2521         (tty-color-approximate, tty-color-by-index, tty-color-values)
2522         (tty-color-desc): Remove superfluous backslashes.
2524 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2526         * electric.el (electric-newline-and-maybe-indent): New command.
2527         Bind it globally to C-j.
2528         (electric-indent-mode): Don't mess with the global map any more.
2529         Don't drop the post-self-insert-hook is some buffer is still using it
2530         (bug#16770).
2532         * bindings.el (global-map): Remove C-j binding.
2534         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2535         the docstring of functions advised before dumping (bug#16993).
2537 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
2539         * ps-print.el (ps-generate-postscript-with-faces):
2540         Explicitly deactivate the mark (bug#16866).
2541         * simple.el (deactivate-mark): Update region highlight.
2543 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
2545         * emacs-lisp/package.el (describe-package-1):
2546         Decode commentary (bug#16733).
2548 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
2550         * custom.el (defcustom): Doc fix: recommend avoiding destructive
2551         modification of the value argument of :set (bug#16755).
2553 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2555         * simple.el (newline-and-indent): Do autofill (bug#17031).
2557 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
2559         * newcomment.el (comment-normalize-vars): Only add escaping check
2560         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
2561         (comment-beginning): Use `narrow-to-region' instead of moving back
2562         one character.
2563         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2564         (comment-start-skip): Update the docstring.
2566 2014-03-18  Richard Stallman  <rms@gnu.org>
2568         * dired.el (dired-display-file): Force use of other window.
2570 2014-03-18  Daniel Colascione  <dancol@dancol.org>
2572         * startup.el (tty-handle-args): Remove debug message from 2007.
2574 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2576         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2577         (advice--make-interactive-form): Use it to avoid (auto)loading function.
2578         (advice--make-1, advice-add, advice-remove):
2579         Remove braindead :advice-pending hack.
2581 2014-03-17  Glenn Morris  <rgm@gnu.org>
2583         * calendar/calendar.el (calendar-generate-month): Apply weekend
2584         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
2586 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
2588         * net/tramp.el (tramp-action-out-of-band): Read pending output.
2589         (tramp-call-process): Trace also DESTINATION.
2591         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2592         Quote file names when they are local.  Remove superfluous trace.
2594 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
2596         * newcomment.el (comment-beginning): If `comment-start-skip'
2597         doesn't match, move back one char and try again.  (Bug#16971)
2599         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2600         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2601         Set `comment-start-skip' to a simpler value that doesn't try to
2602         check if the semicolon is escaped (this is handled by
2603         `syntax-ppss' now).  (Bug#16971)
2605         * progmodes/scheme.el (scheme-mode-variables): Same.
2607 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
2609         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2610         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2611         current (Bug#16816, Bug#17007).
2612         (with-current-buffer-window): New macro doing the same as
2613         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2614         * help.el (help-print-return-message): Warn in doc-string to not
2615         use this in `with-help-window'.
2616         (describe-bindings-internal): Call `describe-buffer-bindings'
2617         from within help buffer.  See Juanma's scenario in (Bug#16816).
2618         (with-help-window): Update doc-string.
2619         * dired.el (dired-mark-pop-up):
2620         * files.el (save-buffers-kill-emacs):
2621         * register.el (register-preview): Use `with-current-buffer-window'
2622         instead of `with-temp-buffer-window'.
2624 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
2626         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2627         Implement inserting into current buffer, documented in their docstrings.
2628         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2629         (rst-section-tree-point, rst-forward-section, rst-indent)
2630         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2631         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2632         (rst-font-lock-handle-adornment-pre-match-form)
2633         (rst-repeat-last-character): Reflow docstrings.
2634         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2635         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2636         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2637         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2638         Fix docstring typos.
2639         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2640         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2641         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2643 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
2645         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2646         for compatibility with other ports.
2647         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
2648         from the -xrm command line argument, but in the Nextstep port its value
2649         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2651         * progmodes/python.el (defconst, python-syntax-count-quotes)
2652         (python-indent-region, python-indent-shift-right)
2653         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2654         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2655         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2656         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2657         (inferior-python-mode, python-shell-make-comint, run-python-internal)
2658         (python-shell-buffer-substring, python-shell-send-buffer)
2659         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2660         (python-completion-complete-at-point, python-fill-docstring-style)
2661         (python-eldoc-function, python-imenu-format-item-label)
2662         (python-imenu-format-parent-item-label)
2663         (python-imenu-format-parent-item-jump-label)
2664         (python-imenu--build-tree, python-imenu-create-index)
2665         (python-imenu-create-flat-index): Fix docstring typos.
2666         (python-indent-context, python-shell-prompt-regexp, run-python):
2667         Remove superfluous backslashes.
2668         (python-indent-line, python-nav-beginning-of-defun)
2669         (python-shell-get-buffer, python-shell-get-process)
2670         (python-info-current-defun, python-info-current-line-comment-p)
2671         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2672         (python-indent-post-self-insert-function, python-shell-send-file)
2673         (python-shell-completion-get-completions)
2674         (python-shell-completion-complete-or-indent)
2675         (python-eldoc--get-doc-at-point): Reflow docstrings.
2677 2014-03-14  Glenn Morris  <rgm@gnu.org>
2679         * emacs-lisp/package.el (package-menu-mode-map):
2680         Replace use of obsolete function alias.  Tweak menu item text.
2682         * info.el (Info-finder-find-node):
2683         Ignore the `emacs' metapackage.  (Bug#10813)
2685         * finder.el (finder-list-matches): Include unversioned packages
2686         in the result of a keyword search.
2688         * finder.el (finder--builtins-descriptions): New constant.
2689         (finder-compile-keywords): Use finder--builtins-descriptions.
2691 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
2693         * simple.el (blink-matching-paren): Describe the new value,
2694         `jump', enabling the old behavior.
2695         (blink-matching-open): Use that value.  (Bug#17008)
2697 2014-03-14  Glenn Morris  <rgm@gnu.org>
2699         * finder.el (finder-no-scan-regexp): Add leim-list.
2700         (finder-compile-keywords):
2701         Don't skip files with same basename.  (Bug#14010)
2702         * Makefile.in (setwins_finder): New, excluding leim.
2703         (finder-data): Use setwins_finder.
2705         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2706         (help-function-arglist, help-make-usage): Move from here...
2707         * help.el (help-split-fundoc, help-add-fundoc-usage)
2708         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
2709         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2711 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
2713         * net/socks.el (socks, socks-override-functions)
2714         (socks-find-services-entry):
2715         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2716         (hif-find-ifdef-block):
2717         * progmodes/modula2.el (m2-indent): Fix docstring typos.
2719         * net/tls.el (tls-program): Reflow docstring.
2721         * progmodes/pascal.el (pascal-mode-abbrev-table)
2722         (pascal-imenu-generic-expression, pascal-auto-endcomments)
2723         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2724         (pascal-outline-mode): Fix docstring typos.
2725         (pascal-mode): Let define-derived-mode document mode hook.
2726         (pascal-uncomment-area): Reflow.
2727         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2729         * progmodes/opascal.el (opascal-compound-block-indent)
2730         (opascal-case-label-indent): Fix docstring typos.
2731         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2733 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
2735         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2736         Fontify multiple adjacent negation chars.  (Bug#17004)
2738 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
2740         * emacs-lisp/package.el (package--prepare-dependencies):
2741         Accept requirements without explicit version (bug#14941).
2743 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
2745         * register.el (register-separator, copy-to-register): Doc fixes.
2746         (register-preview-default): Remove unnecessary call to concat.
2748         * frameset.el (frameset-restore): When checking for a visible frame,
2749         use the action map instead of calling visible-frame-list.
2751 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
2753         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2755 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
2757         * window.el (fit-frame-to-buffer): Get maximum width from
2758         display's width instead of height.
2760 2014-03-12  Glenn Morris  <rgm@gnu.org>
2762         * desktop.el (desktop-restore-frames)
2763         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2764         (desktop-restore-reuses-frames): Doc tweaks.
2766         * electric.el (electric-indent-mode): Doc fix.
2768 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
2770         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2771         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2772         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2773         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2774         (cvs-dired-use-hook): Fix docstring typos.
2775         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2776         Doc fixes.
2778         * vc/pcvs-defs.el (cvs-auto-remove-handled)
2779         (cvs-auto-remove-directories, cvs-default-ignore-marks)
2780         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2781         (cvs-execute-single-dir): Fix docstring typos.
2783         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2784         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2786         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2788         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2789         Fix docstring typos.
2791 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
2793         * frameset.el (frameset--jump-to-register): Add autoload; it could be
2794         called from jump-to-register after unloading the frameset package.
2796 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2798         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2799         (bug#16975).  Deactivate the mark before setting it to nil.
2800         (activate-mark): Do nothing if region is already active.
2802 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
2804         * frameset.el (frameset--target-display): Remove definition; declare.
2805         (frameset-save, frameset-restore): Let-bind frameset--target-display.
2807 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2809         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2810         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2811         when the advice is pending.
2812         (advice-remove): Remove this marker when not needed any more.
2814 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
2816         * frameset.el: Separate options for reusing frames and cleaning up.
2817         (frameset--reuse-list): Remove definition; declare.
2818         (frameset--action-map): Declare.
2819         (frameset--find-frame-if): Doc fix.
2820         (frameset--restore-frame): Cache frame action.
2821         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2822         how to clean up the frame list after restoring.  Remove cleaning
2823         options from REUSE-FRAMES.  Change all keyword values to symbols.
2824         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2826         * desktop.el (desktop-restore-forces-onscreen)
2827         (desktop-restore-reuses-frames): Use non-keyword values.
2828         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2830 2014-03-10  Glenn Morris  <rgm@gnu.org>
2832         * files.el (find-file): Doc fix: update info node name.
2834         * emacs-lisp/advice.el (ad-add-advice, defadvice):
2835         Doc fix: remove references to deleted info nodes.
2837 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
2839         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2840         Do not add `nil' to the environment, when there's no remote `locale'.
2841         (tramp-find-inline-encoding): Check, that the remote host has
2842         installed perl, before sending scripts.
2844 2014-03-10  Leo Liu  <sdl.web@gmail.com>
2846         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2847         Clear eldoc-last-message.  (Bug#16920)
2849 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2851         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2852         (bug#14430).
2854 2014-03-09  Juri Linkov  <juri@jurta.org>
2856         * ansi-color.el (ansi-color-names-vector): Copy default colors
2857         from `xterm-standard-colors' that look well on the default white
2858         background (and also on the black background) to avoid illegible
2859         color combinations like yellow-on-white and white-on-white.
2860         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2862 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
2864         * frameset.el (frameset-restore): When no frame is visible, do not
2865         generate a list of frames, just make visible the selected one.
2867 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
2869         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2870         it only contains the repository root.  (Bug#16897)
2872 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
2874         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2875         only when `remote-file-name-inhibit-cache' is nil.
2876         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
2878 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
2880         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2881         Fix doc-strings.
2882         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
2883         fit-frame-to-buffer variable.  Fix doc-string.
2884         (fit-window-to-buffer): Set ONLY argument in call of
2885         fit-frame-to-buffer.  Fix doc-string.
2887 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
2889         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2890         (tramp-action-password): Clear password cache if needed.
2891         (tramp-read-passwd): Do not clear password cache.
2893         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2894         cache unless it is the first password request.
2896 2014-03-06  Glenn Morris  <rgm@gnu.org>
2898         * simple.el (newline): Doc tweak.
2900         * emacs-lisp/shadow.el (load-path-shadows-find):
2901         Ignore dir-locals.  (Bug#12357)
2903 2014-03-05  Glenn Morris  <rgm@gnu.org>
2905         * files.el (interpreter-mode-alist):
2906         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
2908 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
2910         * frameset.el (frameset--initial-params): Filter out null entries.
2912 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
2914         * window.el (window-min-height, window-min-width):
2915         Rewrite doc-strings.
2916         (window-body-size): Add PIXELWISE argument to make it consistent
2917         with its callees.
2919 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
2921         * finder.el (finder-mode-map, finder-mode-syntax-table):
2922         Revert part of 2014-02-28 change.
2924 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
2926         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2927         (eww-setup-buffer): Clear next/prev/etc more reliably.
2928         (eww-textarea-map): [tab] doesn't work on tty.
2929         Reported by Mario Lang.
2931         * net/shr.el (shr-map): Ditto.
2933 2014-03-04  Glenn Morris  <rgm@gnu.org>
2935         * minibuffer.el (completion-hilit-commonality):
2936         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2938 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
2940         * hilit-chg.el (hilit-chg-unload-function): New function.
2941         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2942         (hilit-chg-map-changes): Prefer cardinal number to digit.
2943         (hilit-chg-display-changes): Reflow docstring.
2944         (highlight-changes-rotate-faces): Remove superfluous backslash.
2946 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
2948         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2949         `tramp-send-command-and-check'.
2951 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
2953         * hexl.el (hexl-address-region, hexl-ascii-region)
2954         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2955         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2956         (hexl-forward-word, hexl-previous-line, hexl-next-line):
2957         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2958         (hexl-mode): Doc fix.
2959         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2960         (hexl-mode-ruler): Fix typos in docstrings.
2962         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2963         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2964         Remove superfluous backslashes.
2965         (strokes-last-stroke, strokes-global-map, strokes-mode):
2966         Reflow docstrings.
2967         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2968         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2969         (strokes-distance-squared, strokes-global-set-stroke)
2970         (strokes-global-set-stroke-string): Doc fixes.
2971         (strokes-help): Fix typos; reflow docstring.
2973 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
2975         * window.el (window-in-direction): Fix doc-string.
2977 2014-03-04  Glenn Morris  <rgm@gnu.org>
2979         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2980         Explicit error if no grammar.
2981         (smie-config-save): Doc fix.  Fix quote typo.
2983 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2985         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2986         electric-indent-mode-hook if we obey electric-indent-mode.
2987         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2988         decide whether we obey electric-indent-mode.
2989         (c-change-set-fl-decl-start, c-extend-after-change-region):
2990         Silence warnings.
2991         (c-electric-indent-mode-hook): Assume we do want to obey
2992         electric-indent-mode.
2994         * electric.el (electric-indent-mode-has-been-called): Remove.
2995         (electric-indent-mode): Fix accordingly.
2997         * files.el (hack-local-variables): Mention file name in warning.
2999         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3001 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
3003         * bindings.el: Add comment describing why C-d binds to `delete-char'.
3004         * simple.el (delete-forward-char): Mark as interactive-only.
3006 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
3008         * icomplete.el (icomplete-completions):
3009         Follow-up to 2014-03-01 change.
3011         * icomplete.el: Miscellaneous doc fixes.
3012         Use Icomplete everywhere instead of icomplete for consistency.
3013         (icomplete-max-delay-chars): Fix typo.
3014         (icomplete-mode): Use \[].
3015         (icomplete-tidy, icomplete-exhibit): Reflow.
3016         (icomplete-minibuffer-setup-hook, icomplete-completions):
3017         Remove superfluous backlashes.
3019         * ido.el: Miscellaneous doc fixes.
3020         Use Ido everywhere instead of ido or `ido' for consistency.
3021         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3022         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3023         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3024         (ido-separator): Extract obsolescence info from docstring and declare
3025         with make-obsolete-variable.
3026         (ido-minibuffer-setup-hook): Simplify example.
3027         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3028         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3029         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3030         (ido-everywhere): Reflow docstring.
3031         (ido-toggle-vc): Doc fix.
3032         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3033         of long list of keybindings.
3035 2014-03-03  Glenn Morris  <rgm@gnu.org>
3037         * frame.el (display-pixel-height, display-pixel-width)
3038         (display-mm-dimensions-alist, display-mm-height)
3039         (display-mm-width): Doc tweaks.
3041 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
3043         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3044         case of undo in region.
3046 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
3048         * window.el (fit-window-to-buffer): Fix argument in window-size
3049         call when window is horizontally combined.
3051 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
3053         * icomplete.el (icomplete-completions): Use string-width.
3054         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3056 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
3058         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3059         Highlight regexp options.  (Bug#16914)
3061 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
3063         * window.el (window--max-delta-1): Round down when calculating
3064         how many lines/columns we can get from a window.
3066 2014-03-01  Glenn Morris  <rgm@gnu.org>
3068         * isearch.el (search-invisible): Doc fix.
3070         * minibuffer.el (completion-hilit-commonality):
3071         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
3072         * comint.el (comint-dynamic-list-completions): Doc fix.
3073         * comint.el (comint-dynamic-list-completions):
3074         * filecache.el (file-cache-minibuffer-complete):
3075         * tempo.el (tempo-display-completions):
3076         * eshell/em-hist.el (eshell-list-history):
3077         Replace use of obsolete argument of display-completion-list.
3079 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
3081         * icomplete.el (icomplete-completions):
3082         Revert back to using "..." when ?… cannot be displayed.
3084 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
3086         * finder.el (finder-unload-function): New function.
3088 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
3090         * dframe.el (dframe-detach):
3091         * find-dired.el (find-dired, find-name-dired):
3092         * finder.el (finder-mode-map, finder-mode-syntax-table)
3093         (finder-headmark, finder-select, finder-mouse-select):
3094         Fix docstring typos.
3096 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
3098         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3099         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3100         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3101         Fix doc-string based on a suggestion by Nicolas Richard
3102         <theonewiththeevillook@yahoo.fr>.
3103         * help.el (with-help-window): Fix doc-string.
3105 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
3107         * net/shr.el (shr-image-animate): New option.
3108         (shr-put-image): Respect shr-image-animate.
3110 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
3112         * net/tramp-adb.el (tramp-adb-parse-device-names):
3113         Use `accept-process-output'.
3114         (tramp-adb-handle-file-truename): Cache the localname only.
3115         (tramp-adb-handle-make-directory)
3116         (tramp-adb-handle-delete-directory): Flush file properties correctly.
3117         (tramp-adb-handle-set-file-modes): Do not raise an error when file
3118         modes cannot be changed.
3120         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3121         file properties of symlinks.
3123 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
3125         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3126         required/optional fields to match development biblatex.  (Bug#16781)
3128 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
3130         * saveplace.el (toggle-save-place):
3131         Fix argument handling.  (Bug#16673)
3133 2014-02-28  Glenn Morris  <rgm@gnu.org>
3135         * minibuffer.el (completions-first-difference)
3136         (completions-common-part, completion-hilit-commonality): Doc fixes.
3138 2014-02-28  Karl Berry  <karl@gnu.org>
3140         * info.el (Info-mode-map): Add H for describe-mode,
3141         to synchronize with standalone Info.
3143 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
3145         * progmodes/sql.el (sql-interactive-mode):
3146         Avoid setting global comint-input-ring-separator.  (Bug#16814)
3148 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
3150         * net/dbus.el (dbus--init-bus): Declare function.
3151         (dbus-path-local, dbus-interface-local): New defconst.
3152         (dbus-init-bus): Use them.
3153         (dbus-return-values-table): Extend doc.
3154         (dbus-handle-bus-disconnect): Extend error message.
3156 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
3158         * subr.el (y-or-n-p): Fix double space issue in message.
3160 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
3162         * net/tramp.el (tramp-call-process): Improve trace message.
3163         (tramp-handle-insert-file-contents): Trace error case.
3165         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3166         <insert-directory>: Use `tramp-handle-insert-directory'.
3167         (tramp-adb-handle-insert-directory): Remove function.
3168         (tramp-adb-send-command-and-check): New defun, replacing
3169         `tramp-adb-command-exit-status'.  Change all callees.
3170         (tramp-adb-handle-file-attributes)
3171         (tramp-adb-handle-directory-files-and-attributes): Use it.
3172         (tramp-adb-ls-output-name-less-p):
3173         Use `directory-listing-before-filename-regexp'.
3174         (tramp-adb-handle-delete-directory): Flush also file properties of
3175         the truename of directory.
3176         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3177         (tramp-adb-handle-file-local-copy): Make the local copy readable.
3178         (tramp-adb-handle-write-region): Implement APPEND.
3179         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
3180         properties correctly.
3181         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3182         variables.  Check for connected devices only when needed.
3184 2014-02-27  Glenn Morris  <rgm@gnu.org>
3186         * minibuffer.el (completion-table-dynamic)
3187         (completion-table-with-cache): Doc fixes.
3189         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3190         (completing-read-multiple): Doc fixes.
3192 2014-02-27  Daniel Colascione  <dancol@dancol.org>
3194         * minibuffer.el (completion--nth-completion): Fix indentation.
3196         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3197         explicit tramp path is empty.
3199 2014-02-27  Glenn Morris  <rgm@gnu.org>
3201         * emacs-lisp/crm.el (completing-read-multiple):
3202         Empower help-enable-auto-load.
3204 2014-02-26  Glenn Morris  <rgm@gnu.org>
3206         * startup.el (command-line): Don't init the tty in daemon mode.
3208         Avoid calling tty-setup-hook twice, eg if a term file
3209         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
3210         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3211         (tty-create-frame-with-faces): Use it.
3212         * startup.el (command-line): Pass run-hook argument
3213         to tty-run-terminal-initialization.
3215         * dired.el (dired-restore-desktop-buffer): Demote errors;
3216         eg in case a glob match fails.  (Bug#16884)
3218 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
3220         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3221         error from `read-from-string'.  (Bug#16850)
3223         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3224         result of `completing-read' in the interactive form.  (Bug#16854)
3226 2014-02-25  Glenn Morris  <rgm@gnu.org>
3228         * image.el (image-animate, image-animate-timeout):
3229         Stop animating images in dead buffers.  (Bug#16878)
3231         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
3233         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3234         Doc fixes.
3235         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
3236         * term/sun.el (sun-raw-prefix-hooks):
3237         Use tty-setup-hook instead of term-setup-hook.
3238         (terminal-init-sun): Construct message from bytecomp plist.
3239         * term/wyse50.el (enable-arrow-keys): Doc fix.
3241 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
3243         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3244         Fix docstring typos.
3246 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
3248         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3250 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3252         * minibuffer.el (completion--try-word-completion):
3253         Fix error when completing M-x commands (bug#16808).
3255 2014-02-24  Leo Liu  <sdl.web@gmail.com>
3257         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3259 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
3261         * apropos.el (apropos-print): Avoid formatting error when
3262         apropos-do-all and apropos-compact-layout are both t.
3264 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
3266         * apropos.el (apropos-property, apropos-all-words-regexp)
3267         (apropos-true-hit, apropos-variable, apropos-print):
3268         Fix docstring typos, and remove obsolete comment.
3270 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
3272         * net/tramp-sh.el (tramp-sh-handle-file-truename):
3273         Preserve trailing "/".  (Bug#16851)
3275 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
3277         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3278         after `=>' (bug#16811).
3279         (ruby-smie-rules): Handle the inconsistent second element of the
3280         list returned by `smie-indent--parent'.
3281         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3282         method call.
3284 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
3286         * elec-pair.el (electric-pair-text-syntax-table)
3287         (electric-pair-syntax-info, electric-pair--syntax-ppss)
3288         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3289         (electric-pair--looking-at-unterminated-string-p): Doc fix.
3290         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
3292 2014-02-22  Glenn Morris  <rgm@gnu.org>
3294         * imenu.el (imenu--generic-function): Doc fix.
3296         * register.el (frame-configuration-to-register): Make obsolete.
3298 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
3300         * desktop.el (desktop-save-buffer-p): Do not fail when
3301         desktop-files-not-to-save is nil.  Return t for true result
3302         as the doc says.
3304 2014-02-22  Daniel Colascione  <dancol@dancol.org>
3306         * net/secrets.el (secrets-create-item, secrets-search-items):
3307         Check that attribute values are strings, avoiding the construction
3308         of invalid dbus messages.
3310 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
3312         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3313         defun-declarations-alist.
3315 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3317         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3318         (bug#16829).
3320 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
3322         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3323         (whitespace-newline, whitespace-trailing, whitespace-line)
3324         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3325         (whitespace-space-after-tab): Fix typo in docstrings.
3327 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
3329         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3331         * electric.el (electric-indent-functions-without-reindent):
3332         Add `yaml-indent-line'.
3334 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
3336         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3337         It has done nothing for years; should be removed after the release.
3339         * simple.el (choose-completion): Fix docstring typo.
3340         (read-quoted-char-radix): Remove unneeded * in docstring.
3341         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3342         Don't escape parentheses unnecessarily in docstrings.
3344 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
3346         Fix handling of window-min-height/-width (Bug#16738).
3347         * window.el (window--dump-window, window--dump-frame):
3348         New functions.
3349         (window--min-size-1): Account for window dividers.
3350         When window-resize-pixelwise is nil, delay rounding till after the
3351         sum of the window components has been calculated.
3352         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3353         nil make sure at least one text line and two text columns remain
3354         fully visible.
3355         (window-resize): Signal an error when window-resize-apply fails.
3356         (window--resize-child-windows): Fix calculation of by how many
3357         pixels a window can still be shrunk via window-new-normal.
3358         (adjust-window-trailing-edge): Call window--resizable with
3359         correct TRAIL argument.
3361         (with-temp-buffer-window): Don't evaluate BODY within
3362         with-current-buffer (Bug#16816).
3364 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
3366         * net/tramp.el (tramp-check-cached-permissions):
3367         Call `file-attributes' with `suffix' being a symbol but a string.
3369 2014-02-21  Daniel Colascione  <dancol@dancol.org>
3371         * net/dbus.el (dbus-init-bus-1): Declare new subr.
3372         (dbus-init-bus): New function: call into dbus-init-bus-1
3373         and installs a handler for the disconnect signal.
3374         (dbus-call-method): Rewrite to look for result in cons.
3375         (dbus-call-method-handler): Store result in cons.
3376         (dbus-check-event): Recognize events with nil sender as valid.
3377         (dbus-handle-bus-disconnect): New function.  React to bus
3378         disconnection signal by synthesizing dbus error for each
3379         pending synchronous or asynchronous call.
3380         (dbus-notice-synchronous-call-errors): New function.
3381         (dbus-handle-event): Raise errors directly only when `dbus-debug'
3382         is true, not all the time.
3384 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
3386         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3387         Remove obsolescence declarations, these variables do not exist anymore.
3389         * savehist.el (savehist-save-minibuffer-history)
3390         (savehist-additional-variables, savehist-file, savehist-mode-hook)
3391         (savehist-save-hook, savehist-coding-system, savehist-loaded)
3392         (savehist-load, savehist-install, savehist-autosave): Fix typos;
3393         mostly, refer to "Savehist mode" when talking about the mode,
3394         and not the function.
3396         * saveplace.el (save-place): Remove redundant info in docstring.
3397         (save-place-forget-unreadable-files, toggle-save-place)
3398         (save-place-forget-unreadable-files, save-place-dired-hook):
3399         Fix typos and remove unneeded backslashes.
3401 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
3403         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3404         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3406         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3407         <insert-directory>: Use `tramp-handle-insert-directory'.
3408         (tramp-gvfs-handle-insert-directory): Remove function.
3410         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3411         Call `tramp-handle-insert-directory'.
3413 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
3415         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3416         before the start of buffer/region (bug#16799).
3418 2014-02-20  Glenn Morris  <rgm@gnu.org>
3420         * isearch.el (search-invisible): Doc fix.
3422 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
3424         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3425         (bug#16657).
3427 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
3429         * frameset.el (frameset-restore): Delay removing an old frame's
3430         duplicate id until the new frame has been correctly created.
3432 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
3434         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3435         (tramp-check-cached-permissions): Call `file-attributes' if the
3436         cache is empty.
3438         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3439         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3441         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3442         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3443         (tramp-gvfs-maybe-open-connection): Set always connection
3444         properties, even if target is mounted already.
3446         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3447         Set tramp-autoload cookie.
3448         (tramp-get-remote-touch): New defun.
3449         (tramp-sh-handle-set-file-times): Use it.
3450         (tramp-sh-handle-directory-files-and-attributes):
3451         Use `tramp-handle-directory-files-and-attributes' if neither stat
3452         nor perl are available on the remote host.
3454         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3455         "/".  Write long listing only when "l" belongs to the switches.
3457         * net/trampver.el: Update release number.
3459 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
3461         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3463 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
3465         * window.el (window-state-put): Allow WINDOW to refer to an
3466         internal window (Bug#16793).
3468 2014-02-19  Glenn Morris  <rgm@gnu.org>
3470         * textmodes/remember.el: Move provide statement to end.
3471         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3472         (remember-notes): Doc fixes.
3474 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3476         * delsel.el (delete-char): Restore incorrectly erased property
3477         (bug#16795).
3479 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
3481         * frameset.el (frameset--restore-frame): When a frame is being reused
3482         and its root window is not alive, delete all the frame's windows before
3483         restoring the window state.  This works around the issue in bug#16793.
3485 2014-02-18  Glenn Morris  <rgm@gnu.org>
3487         * textmodes/remember.el (remember-data-directory)
3488         (remember-directory-file-name-format, remember-store-in-files)
3489         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3490         (remember-notes-save-and-bury-buffer)
3491         (remember-notes--kill-buffer-query): Doc fixes.
3493         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3495 2014-02-17  Alan Mackenzie  <acm@muc.de>
3497         Connect electric-indent-mode up with CC Mode.  Bug #15478.
3498         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3499         to electric-indent-{,local-}-mode.
3500         (c-basic-common-init): Set electric-indent-inhibit.
3501         Initialise c-electric-flag from electric-indent-mode.
3502         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3503         New hook functions which propagate electric-indent-mode to CC mode.
3505         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3506         hit, toggle electric-indent-local-mode.
3508         * electric.el (electric-indent-mode-has-been-called):
3509         New variable.
3511 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
3513         * frameset.el (frameset-cfg-id): New function.
3514         (frameset--reuse-frame, frameset-restore): Use it.
3515         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3517 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3519         * ido.el (ido-file-internal): Remove unused var `d'.
3520         Use \` for to match BoS.  Fit within 80n columns.
3522 2014-02-17  Daniel Colascione  <dancol@dancol.org>
3524         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3525         dbus-call-method check for completion using a busy-wait loop with
3526         gradual backoff.
3528 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
3530         Sync with Tramp 2.2.9.
3532         * net/trampver.el: Update release number.
3534 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
3536         * ido.el (ido-file-internal): Don't add the name of an existing
3537         directory twice.  (Bug#16747)
3539 2014-02-16  Glenn Morris  <rgm@gnu.org>
3541         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3542         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
3544 2014-02-15  Michael R. Mauger  <michael@mauger.com>
3546         * progmodes/sql.el: Version 3.4
3547         (sql-oracle-options): New default value ("-L").
3548         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3549         (sql-placeholders-filter): Correct placeholder pattern.
3550         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
3551         (sql-login-delay): New variable.
3552         (sql-product-interactive): Use it.
3554 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
3556         * frameset.el (frameset--jump-to-register): Check that buffer is live
3557         (bug#16749).
3559 2014-02-15  Glenn Morris  <rgm@gnu.org>
3561         * info.el (info-initialize): Revert 2014-01-10 change.
3563 2014-02-14  Glenn Morris  <rgm@gnu.org>
3565         * replace.el (map-query-replace-regexp)
3566         (read-regexp-defaults-function, read-regexp): Doc fixes.
3568         * dired.el (dired-read-regexp):
3569         * faces.el (list-faces-display):
3570         * misearch.el (multi-isearch-read-matching-buffers)
3571         (multi-isearch-read-matching-files):
3572         * play/cookie1.el (cookie-apropos):
3573         * progmodes/grep.el (grep-read-regexp): Doc fixes.
3575         * textmodes/remember.el (remember): Use frameset-to-register
3576         rather than frame-configuration-to-register.
3578 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
3580         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3581         incorrect keybinding.
3583 2014-02-13  Daniel Colascione  <dancol@dancol.org>
3585         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3586         when adding overlays so that line numbers from compiler match line
3587         numbers we use.
3589 2014-02-13  Glenn Morris  <rgm@gnu.org>
3591         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
3593         * jit-lock.el (jit-lock-mode): Doc fix.
3595 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
3597         * apropos.el (apropos-read-pattern): When the user passes an empty
3598         string, give a more helpful error message than "Wrong type
3599         argument: stringp, nil".
3601 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3603         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3605 2014-02-13  Glenn Morris  <rgm@gnu.org>
3607         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3609 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3611         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3612         shift-select commands.
3614 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
3616         * progmodes/js.el (js-indent-line): Don't widen.
3617         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3619 2014-02-12  Glenn Morris  <rgm@gnu.org>
3621         * icomplete.el (icomplete): Add info-link to defgroup.
3622         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3623         (icomplete-minibuffer-map, icomplete-mode)
3624         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3626         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3627         (package-menu-filter): Rename from package-menu-filter-interactive.
3628         Doc fix.
3630 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
3632         * frameset.el (frameset--jump-to-register): Select the required
3633         window and buffer before restoring position (bug#16696).
3635 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
3637         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3639 2014-02-10  Glenn Morris  <rgm@gnu.org>
3641         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
3643 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
3645         * w32-common-fns.el (x-get-selection): Doc fix.
3646         * select.el (x-get-selection): Doc fix.  (Bug#15109)
3648         * face-remap.el (face-remap-add-relative)
3649         (face-remap-remove-relative, face-remap-reset-base)
3650         (face-remap-set-base): Call force-mode-line-update to redisplay
3651         the current buffer due to potential change in faces.  (Bug#16709)
3653 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
3655         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3656         script more robustly.
3658 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
3660         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3662         * simple.el (choose-completion): Doc fix (bug#14160).
3664         * subr.el (event-start): Say what a nil EVENT value means.
3666         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3667         (bug#14197).
3669         * progmodes/grep.el (find-program): Doc fix (bug#14289).
3671         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3673         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3675         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3676         predicate function (bug#15455).
3678 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
3680         * ielm.el (inferior-emacs-lisp-mode): Instead of
3681         `comment-use-global-state', set `comment-use-syntax'.
3683 2014-02-10  Glenn Morris  <rgm@gnu.org>
3685         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3687 2014-02-09  Alan Mackenzie  <acm@muc.de>
3689         Fix c-invalidate-state-cache on narrowed buffers.
3690         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3691         Widen when setting and clearing the CPP delimiter properties.
3693 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
3695         * help.el (describe-bindings): Doc fix (bug#9888).
3697         * files.el (save-buffer): Use ARG as the parameter name for
3698         consistency (bug#10346).
3699         (save-buffer): Clarify the 0 argument (bug#10346).
3701         * cus-edit.el (customize-apropos): Fix error string.
3702         (custom-buffer-create): Doc fix (bug#11122).
3703         (custom-sort-items): Doc fix (bug#11121).
3705         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3707         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3708         (icomplete-simple-completing-p): Mention the previous variable.
3710         * font-lock.el (font-lock-value-in-major-mode): Clarify the
3711         meaning of the parameter (bug#12282).
3713         * files.el (find-file-noselect): Clarify prompt when changing
3714         readedness (bug#13261).
3715         (locate-file): Suffixes aren't returned, so don't say that they
3716         are (bug#12674).
3717         (backup-inhibited): Doc clarification (bug#12525).
3719         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3720         before we actually start to delete things (bug#16331).
3722         * subr.el (event-start): Doc fix (bug#14228).
3723         (event-end): Ditto.
3725 2014-02-09  Glenn Morris  <rgm@gnu.org>
3727         * emacs-lisp/warnings.el (lwarn):
3728         Empower help-enable-auto-load.  (Bug#15940)
3730 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
3732         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3733         (Bug#16690)
3735 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
3737         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3738         Insert output at end of buffer.  (Bug#16120)
3740 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
3742         * simple.el (choose-completion-string-functions): Document new
3743         calling convention (bug#14153).
3744         (execute-extended-command): Clarify doc string (bug#13373).
3746         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3748         * find-dired.el (find-name-dired): Doc fix (bug#14290).
3749         (find-grep-dired): Doc fix (bug#14288).
3751 2014-02-08  Juri Linkov  <juri@jurta.org>
3753         * isearch.el (isearch-quote-char): Check character validity
3754         like in `quoted-insert' (bug#16677).
3756 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
3758         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3760         * isearch.el (isearch-hide-immediately): Doc clarification
3761         (bug#14723).
3763         * simple.el (line-move): Document utility function used many
3764         places in the Emacs sources (bug#14843).
3766         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3767         (dired-prev-marked-file): Doc fix (bug#14855).
3768         (dired-up-directory): Doc fix (bug#14848).
3770         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3772         * files.el (file-relative-name): Doc fix (bug#15159).
3774         * fringe.el (fringe-styles): Doc fix (bug#15239).
3776         * isearch.el (isearch-filter-predicate): Documentation typo fix
3777         (bug#15474).
3779         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3781         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3783         * replace.el (replace-match-maybe-edit): Doc clarification
3784         (bug#15632).
3786         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3788         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3790 2014-02-08  Glenn Morris  <rgm@gnu.org>
3792         * help-fns.el (describe-variable):
3793         Check {file,dir}-local-variables-alist, and buffer-file-name,
3794         in the correct buffer.
3796 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
3798         * help-fns.el (describe-variable): Fix the case where
3799         a value is directory-local with no dir-locals file.  (Bug#16635)
3801 2014-02-08  Glenn Morris  <rgm@gnu.org>
3803         * abbrev.el (edit-abbrevs-mode):
3804         Derive from fundamental-mode.  (Bug#16682)
3806 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
3808         * simple.el (quoted-insert): Check character validity (bug#16677).
3810 2014-02-07  Juri Linkov  <juri@jurta.org>
3812         * desktop.el (desktop-read): Claim the lock when the owner is not
3813         the current process.  (Bug#16157)
3815 2014-02-07  Juri Linkov  <juri@jurta.org>
3817         * desktop.el (desktop-buffers-not-to-save): Change default from nil
3818         to "\\` ".  (Bug#16651)
3820 2014-02-07  Juri Linkov  <juri@jurta.org>
3822         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3823         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3824         (desktop-auto-save-cancel-timer): New function with some code from
3825         `desktop-auto-save-set-timer'.
3826         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3827         Instead of setting `desktop-save-mode' to nil, call
3828         `desktop-save-mode' with arg 0.  (Bug#16630)
3830 2014-02-07  Glenn Morris  <rgm@gnu.org>
3832         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3833         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3834         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3836         * obsolete/iswitchb.el: Move to obsolete/.
3837         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3838         since obsolete/ is not scanned for autoloads.
3839         * emacs-lisp/authors.el (authors-valid-file-names):
3840         Add iswitchb.el.
3842         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3843         Disable now non-functional find-file-hook.
3845 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
3847         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3848         instead of ";" in order to avoid additional prompts.  Let heredoc
3849         scripts read from tty.  (Bug#16582)
3850         (tramp-send-command): No special handling of heredocs, it isn't
3851         necessary anymore.
3853 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3855         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3856         with a space (bug#16664).  Limit the symbols considered to the ones
3857         that are bound or fbound (bug#16646).
3859 2014-02-06  Glenn Morris  <rgm@gnu.org>
3861         * epa.el (epa-mail-aliases): Doc fix.
3863 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
3865         * emacs-lisp/lisp.el (lisp-completion-at-point):
3866         Use `completion-table-merge' instead of `completion-table-in-turn'
3867         (bug#16604).
3869         * minibuffer.el (completion-table-merge): New function.
3871 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
3873         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3874         (tramp-sh-handle-set-file-acl)
3875         (tramp-sh-handle-start-file-process)
3876         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3877         (tramp-find-executable, tramp-send-command): Use it.
3879 2014-02-05  Glenn Morris  <rgm@gnu.org>
3881         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
3883 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3885         * progmodes/python.el (python-shell-send-string)
3886         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3888 2014-02-04  Anders Lindgren  <andlind@gmail.com>
3890         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3891         the names (bug#16620).
3893 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
3895         * faces.el (window-divider): New default value.  Rewrite doc-string.
3896         (window-divider-first-pixel, window-divider-last-pixel): New faces.
3898 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
3900         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3901         `protected' and `public' can also be called without arguments.
3903 2014-02-03  Glenn Morris  <rgm@gnu.org>
3905         * register.el (window-configuration-to-register)
3906         (frame-configuration-to-register): Unadvertise unused argument.
3907         * frameset.el (frameset-to-register): Remove unused argument.
3909         * frameset.el (frameset-to-register):
3910         * kmacro.el (kmacro-to-register):
3911         * register.el (increment-register):
3912         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3913         (calc-append-to-register, calc-prepend-to-register):
3914         * play/gametree.el (gametree-layout-to-register)
3915         (gametree-apply-register-layout):
3916         * textmodes/picture.el (picture-clear-rectangle-to-register)
3917         (picture-yank-rectangle-from-register):
3918         * vc/emerge.el (emerge-combine-versions-register):
3919         Use register-read-with-preview to read registers.
3921 2014-02-03  João Távora  <joaotavora@gmail.com>
3923         * elec-pair.el (electric-pair-backward-delete-char): Don't error
3924         when at beginning of (possibly narrowed) buffer.
3926 2014-02-02  Daniel Colascione  <dancol@dancol.org>
3928         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3929         Also try to display local help from just before point.
3931 2014-02-02  Alan Mackenzie  <bug-cc-mode@gnu.org>
3933         c-parse-state.  Don't "append-lower-brace-pair" in certain
3934         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
3935         recognised as a comment.
3937         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3938         as well as normal comment starter.
3939         (c-parse-state-get-strategy): Extra return possibility
3940         'back-and-forward.
3941         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3942         return value list to indicate replacement of a brace-pair cons
3943         with its car.
3944         (c-parse-state-1): With 'back-and-forward, only call
3945         c-append-lower-brace-pair-to state-cache when cons-separated.
3947 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
3949         * term/ns-win.el (ns-suspend-error): New function.
3950         (ns-initialize-window-system): Add ns-suspend-error to
3951         suspend-hook (Bug#16612).
3953 2014-02-02  Daniel Colascione  <dancol@dancol.org>
3955         * progmodes/cc-defs.el (c-find-assignment-for-mode):
3956         Make loading cc-mode silent.
3958 2014-02-02  Daniel Colascione  <dancol@dancol.org>
3960         * comint.el (comint-prompt-read-only): Change doc to suggest
3961         remap keybinding.
3963 2014-02-02  Glenn Morris  <rgm@gnu.org>
3965         * register.el (register-read-with-preview, point-to-register)
3966         (window-configuration-to-register, frame-configuration-to-register)
3967         (jump-to-register, number-to-register, view-register, insert-register)
3968         (copy-to-register, append-to-register, prepend-to-register)
3969         (copy-rectangle-to-register): Doc fixes.
3971 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3973         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3974         * emacs-lisp/find-func.el (find-function-C-source): Idem.
3975         * emacs-lisp/nadvice.el (advice--cd*r): New function.
3976         * help-fns.el (describe-function-1): Use it.
3978 2014-02-02  Glenn Morris  <rgm@gnu.org>
3980         * register.el (register-preview-default): New function,
3981         split from register-preview.
3982         (register-preview-function): Rename from register-preview-functions,
3983         make it not a hook.
3984         (register-preview): Use register-preview-function.
3985         (register-read-with-preview): Error on non-character event.  (Bug#16595)
3987 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
3989         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3990         `:' before binary operators (bug#16609).  Don't check for `:'
3991         before `[' and `(', or their syntax status.  A percent literal
3992         can't end with either.
3993         (ruby-font-lock-keywords): For built-ins that require arguments,
3994         check that they're followed by something that looks like argument
3995         (bug#16610).
3997 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
3999         * subr.el (butlast): Document what an omitted N means (bug#13437).
4000         (nbutlast): Ditto.
4002 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
4004         * net/shr.el (shr-generic): Make into a defsubst to make the stack
4005         depth shallower (bug#16587).
4006         (shr-tag-svg): Respect `shr-inhibit-images'.
4007         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4009 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
4011         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4012         (ruby-smie-grammar): Make "." right-associative.  Make its priority
4013         lower than the ternary and all binary operators.
4014         (ruby-smie-rules): Indent "(" relative to the first non-"."
4015         parent, or the first "." parent at indentation.
4016         Use `ruby-align-chained-calls' for indentation of "." tokens.
4017         (Bug#16593)
4019 2014-01-31  Juri Linkov  <juri@jurta.org>
4021         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4022         from `make-hash-table'.
4024         * textmodes/ispell.el (ispell-init-process): Change message format
4025         to be consistent with other messages.
4027 2014-01-31  Glenn Morris  <rgm@gnu.org>
4029         * delsel.el (delete-selection-mode): Doc fix.
4031         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4032         (trace-function-background): Doc fixes.
4034         * ido.el (ido-use-virtual-buffers): Doc fix.
4035         Reset :version, since the default value has not changed.
4037         * register.el (register-preview-delay, register-read-with-preview):
4038         Doc fixes.
4040         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4041         do not mess with mail-buffer position (fixes 2009-11-03 change).
4042         * progmodes/cc-mode.el (c-submit-bug-report):
4043         Check auto-fill-mode is bound.  (Bug#16592)
4045 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
4047         * startup.el (fancy-splash-image-file): New function,
4048         split from fancy-splash-head.
4049         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4050         so that we are both using the same image.  (Bug#16574)
4052 2014-01-30  Glenn Morris  <rgm@gnu.org>
4054         * simple.el (eval-expression): Doc fix.
4056         * hexl.el (hexl-mode-hook):
4057         * ielm.el (ielm-mode-hook):
4058         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4059         (lisp-interaction-mode-hook):
4060         * progmodes/cfengine.el (cfengine3-documentation-function):
4061         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4063 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4065         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4066         is a symbol (bug#16584).
4068 2014-01-30  Glenn Morris  <rgm@gnu.org>
4070         * help.el (help-for-help-internal): Add "P" to text.
4072 2014-01-29  Glenn Morris  <rgm@gnu.org>
4074         * simple.el (just-one-space, cycle-spacing): Doc fixes.
4076 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
4078         * window.el (fit-frame-to-buffer): Fix calculations for margins and
4079         height constraints.
4081 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
4083         * progmodes/hideif.el: Extend to full CPP expression syntax.
4084         (hif-token-alist): Add missing tokens.
4085         (hif-token-regexp): Add support for float/octal/hex immediates.
4086         (hif-string-literal-regexp): New const.
4087         (hif-tokenize): Recognize strings and float/octal/hex immediates.
4088         (hif-exprlist): New function.
4089         (hif-parse-if-exp): Use it.
4090         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4091         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4092         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4093         (hif-logxor, hif-comma): New functions.
4095 2014-01-28  Glenn Morris  <rgm@gnu.org>
4097         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4099         * indent.el (tab-stop-list): Doc fix.  Add :version.
4101         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4102         (cvs-append-to-ignore): Add compatibility alias.
4104 2014-01-27  Glenn Morris  <rgm@gnu.org>
4106         * dired.el (dired-hide-details-mode): Don't autoload it,
4107         since it cannot be used outside Dired buffers anyway.
4109         * emulation/cua-base.el (cua-mode): Doc fix.
4111         * dired.el (dired-hide-details-hide-symlink-targets)
4112         (dired-hide-details-hide-information-lines)
4113         (dired-hide-details-mode): Doc fixes.
4115         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4116         * strokes.el (strokes-file): Doc fix.  Bump :version.
4117         (strokes-help): Doc fix.
4118         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4119         * emulation/viper.el (viper): Doc fix for custom group.
4120         (top-level): Remove oh-so-no-longer-relevant text about vip.
4121         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4123         * ido.el (ido-save-directory-list-file):
4124         * saveplace.el (save-place-file):
4125         * calendar/timeclock.el (timeclock-file):
4126         * net/quickurl.el (quickurl-url-file):
4127         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4128         * progmodes/idlwave.el (idlwave-config-directory):
4129         * textmodes/remember.el (remember-data-file):
4130         Bump :version.
4132 2014-01-26  Glenn Morris  <rgm@gnu.org>
4134         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4135         Doc fix.  Make obsolete.
4136         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4138         * sort.el (delete-duplicate-lines): Doc fix.
4140 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4142         * progmodes/ada-mode.el (ada):
4143         * woman.el (woman): Link to info manual and Commentary section.
4145         * progmodes/flymake.el (flymake):
4146         * nxml/nxml-mode.el (nxml):
4147         * net/eww.el (eww):
4148         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4149         * htmlfontify.el (htmlfontify):
4150         * ses.el (ses):
4151         * epa.el (epa):
4152         * ido.el (ido): Link to info manual.
4154 2014-01-25  Leo Liu  <sdl.web@gmail.com>
4156         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4158 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
4160         * net/shr.el (shr-tag-img): Prefer the title over the alt text
4161         (bug#16537).
4163 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
4165         * net/eww.el (eww-download-callback):
4166         Fix reference to eww-download-directory.
4168         * emacs-lisp/bytecomp.el (byte-compile-file):
4169         Remove unused local variable `file-name'.
4171 2014-01-24  Glenn Morris  <rgm@gnu.org>
4173         * woman.el (woman-default-faces, woman-monochrome-faces):
4174         Fix obsolescence specification.
4176         * subr.el (with-demoted-errors): Doc fix.
4178 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4180         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4181         (cl--macroexp-fboundp): New function.
4182         (cl--make-type-test): Use it.
4184 2014-01-23  Glenn Morris  <rgm@gnu.org>
4186         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4187         * simple.el (eval-expression): Doc fixes.
4189 2014-01-22  Glenn Morris  <rgm@gnu.org>
4191         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4193 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4195         * emacs-lisp/package.el: Write files silently.
4196         (package-autoload-ensure-default-file, package--write-file-no-coding)
4197         (package-generate-description-file, package--download-one-archive)
4198         (package-install-from-archive): Tell `write-region' to stay quiet.
4199         (package-menu-mode, package-menu--print-info): Omit the Archive column
4200         if there's only one archive.
4201         (package-all-keywords, package--has-keyword-p): Remove dead code.
4203 2014-01-22  Glenn Morris  <rgm@gnu.org>
4205         * version.el (emacs-bzr-version-bzr): Fix typo.
4207         * version.el (emacs-repository-get-version):
4208         Check either .bzr or .git, but not both.
4209         Make the git case actually use the DIR argument, and return nil
4210         rather than the empty string.
4211         Avoid error if .git exists but the git executable is not found.
4213 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
4215         Fixes in window size functions around Bug#16430 and Bug#16470.
4216         * window.el (window-total-size, window-size): New argument ROUND.
4217         (window--min-delta-1, window-min-delta, window--max-delta-1):
4218         Be more conservative when calculating the numbers of lines or
4219         columns a window can shrink (Bug#16430).
4220         (fit-window-to-buffer): Simplify code.
4221         * term.el (term-window-width): Call window-body-width again.
4223 2014-01-22  Glenn Morris  <rgm@gnu.org>
4225         * image.el (image-format-suffixes): Doc fix.
4227         * international/quail.el (quail-define-package): Doc fix.
4229         * emacs-lisp/authors.el (authors-valid-file-names)
4230         (authors-renamed-files-alist): Additions.
4232         * vc/vc-git.el (vc-git-print-log): Remove --follow;
4233         reverts 2014-01-09 change.  (Bug#16422)
4235         * calc/calc-embed.el (thing-at-point-looking-at):
4236         * emacs-lisp/map-ynp.el (x-popup-dialog):
4237         * obsolete/lmenu.el (x-popup-dialog):
4238         * emacs-lisp/package.el (url-recreate-url):
4239         * mail/mailclient.el (clipboard-kill-ring-save):
4240         * subr.el (x-popup-dialog): Update declaration.
4241         * mail/rmail.el (rmail-mime-message-p):
4242         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4244 2014-01-21  Daniel Colascione  <dancol@dancol.org>
4246         * progmodes/sh-script.el (sh--inside-noncommand-expression):
4247         Correctly detect when we're inside an arithmetic expansion form
4248         containing nested parenthesis.
4249         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4250         to detect cases where we shouldn't expand "<<" to a heredoc
4251         skeleton.
4253 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4255         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4256         (eldoc--message-command-p): New function.
4257         (eldoc-display-message-p): Use it.
4258         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4259         message is not automatically erased for us.
4260         (eldoc-print-current-symbol-info): Erase previous message, if any.
4262 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
4264         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4265         specify it's an interactive function.
4267         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4268         Fix regex used for scanning for citation keys which failed for
4269         citations with optional arguments.
4271 2014-01-21  Leo Liu  <sdl.web@gmail.com>
4273         * simple.el (read--expression): Don't enable eldoc-mode.
4275 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4277         * simple.el (move-beginning-of-line): Make sure we don't move forward
4278         (bug#16497).
4280 2014-01-20  Juri Linkov  <juri@jurta.org>
4282         * saveplace.el (toggle-save-place, save-place-to-alist)
4283         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4284         'dired-mode) before checking for dired-directory.  (Bug#16477)
4286 2014-01-20  Juri Linkov  <juri@jurta.org>
4288         * indent.el (indent-line-to): Use backward-to-indentation
4289         instead of back-to-indentation.  (Bug#16461)
4291 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
4293         Revert some of the CANNOT_DUMP fix (Bug#16494).
4294         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4295         but fixing this can wait until after the next release.
4296         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4298 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
4300         * eshell/esh-mode.el (eshell-password-prompt-regexp):
4301         Use `password-word-equivalents'.
4302         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4303         to t.  (Bug#5664, Bug#13124)
4305 2014-01-19  Alan Mackenzie  <acm@muc.de>
4307         Bind open-paren-in-column-0-is-defun-start to nil at some entry
4308         points.
4309         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4310         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4311         * progmodes/cc-mode.el (c-before-change, c-after-change)
4312         (c-font-lock-fontify-region): Bind it here.
4314 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
4316         * term.el (term-window-width): Call window-text-width instead of
4317         window-width (Bug#16470).
4319 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
4321         * simple.el (password-word-equivalents): Remove duplicates.
4322         Sort, to make this easier next time.
4323         Downcase.  Omit ": " after "jelszó".
4325 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
4327         * term/common-win.el (saved-region-selection): Defvar it.
4328         (x-select-text): Set saved-region-selection (Bug#16382).
4330 2014-01-18  Glenn Morris  <rgm@gnu.org>
4332         * emacs-lisp/authors.el (authors-aliases)
4333         (authors-renamed-files-alist): Add some entries.
4335 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
4337         * net/tramp.el (tramp-password-prompt-regexp):
4338         Use `password-word-equivalents' if available.
4339         (tramp-action-password, tramp-process-one-action)
4340         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
4342 2014-01-17  Chong Yidong  <cyd@gnu.org>
4344         * simple.el (password-word-equivalents): New defcustom.
4345         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
4346         to 24.4.
4347         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4348         to t.  (Bug#13124)
4350 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
4352         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4353         (ruby-align-to-stmt-keywords): Change the default value.
4354         Use `ruby-alignable-keywords' to generate the possible customization
4355         choices.
4356         (ruby-smie-rules): Instead of using a hardcoded list of alignable
4357         keywords, check against the value of `ruby-alignable-keywords'
4358         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4360 2014-01-17  Glenn Morris  <rgm@gnu.org>
4362         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4364         Make M-x authors return zero *Authors Errors* from current logs.
4365         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4366         (authors-ignored-files): Add some entries, remove others.
4367         (authors-ambiguous-files, authors-valid-file-names):
4368         Add some entries.
4369         (authors-renamed-files-alist): Add, remove, and adjust entries.
4370         (authors-renamed-files-regexps): Add some entries.
4371         Remove some very broad ones.  Make some entries `lax'.
4372         (authors-lax-changelogs): New constant.
4373         (authors-disambiguate-file-name): Treat top-level specially.
4374         (authors-lax-changelog-p): New function.
4375         (authors-canonical-file-name): Check file as written against
4376         authors-valid-file-names.  Do not special-case etc/.
4377         Handle `lax' logs and authors-renamed-files-regexps elements.
4379 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
4381         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4382         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
4383         callers.
4385 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4387         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4388         Assume we're already in the proper buffer.
4389         Inspired by Anders Lindgren <andlind@gmail.com>.
4390         (follow-post-command-hook): Call it from the right buffer.
4391         (follow-comint-scroll-to-bottom): Adjust call.
4392         (follow-all-followers): Use get-buffer-window-list.
4394 2014-01-15  Daniel Colascione  <dancol@dancol.org>
4396         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4397         `buffer-file-name' in interactive-form so that we don't leave
4398         pathless file names in `file-name-history'.
4400 2014-01-15  Juri Linkov  <juri@jurta.org>
4402         * indent.el (indent-rigidly): Set deactivate-mark to nil
4403         in transient indentation mode.  (Bug#16438)
4405 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
4407         * emacs-lisp/package.el (package-desc-keywords): New function
4408         (Bug#16222).
4409         (describe-package-1, package-all-keywords)
4410         (package--has-keyword-p): Use it.
4412 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4414         * simple.el (define-alternatives): When creating the
4415         COMMAND-alternatives variable, assign COMMAND as its definition
4416         name so that `describe-variable' can relocate it.
4418 2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)
4420         * font-lock.el (font-lock-keywords): Fix typo in docstring
4421         (bug#16307).
4423 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4425         * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4426         line instead of wrongly reset `add-coment' (bug#13577).
4428 2014-01-14  Daiki Ueno  <ueno@gnu.org>
4430         * epa-file.el (epa-file-write-region): Encode the region according
4431         to `buffer-file-format'.  Problem reported at:
4432         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4434 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4436         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4437         so it applies in the right buffer (bug#16410).
4439 2014-01-13  Daniel Colascione  <dancol@dancol.org>
4441         * textmodes/rst.el (rst-define-key): Provide deprecated
4442         keybindings through named functions instead of anonymous ones so
4443         that "??" doesn't appear in describe-mode output.
4445 2014-01-13  Bastien Guerry  <bzg@gnu.org>
4447         * simple.el (define-alternatives): Call the selected command
4448         interactively.  When setting `COMMAND--implementation' for the
4449         first time, tell the user how to chose another implementation.
4450         Enhance the docstring.
4452 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4454         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4455         (log-edit--match-first-line): New function.
4456         (log-edit-font-lock-keywords): Use it.
4457         (log-edit-mode): Make jit-lock-defer-multiline work.
4459 2014-01-13  Bastien Guerry  <bzg@gnu.org>
4461         * rect.el (rectangle-mark-mode): When the region is not active,
4462         display a message saying that the mark as been set and that
4463         rectangle mode is in use.
4464         (rectangle--highlight-for-redisplay): Only put an overlay with a
4465         visible vertical bar when (display-graphic-p) is non-nil.
4466         This partially fixes Bug#16403.
4468 2014-01-13  Juri Linkov  <juri@jurta.org>
4470         * info.el (Info-find-file): Go to DIR before displaying the error
4471         about a nonexistent file if no previous Info file is visited.
4472         Use `user-error' instead of `error' for "Info file %s does not exist".
4473         (Info-find-node-2): In case of a nonexistent node in unwind forms
4474         go to the Top node if there is no previous node to revert to.
4475         (Bug#16405)
4477 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
4479         fit-frame/window-to-buffer code fixes including one for Bug#14096.
4480         * window.el (fit-frame-to-buffer): Fix doc-string.
4481         Respect window-min-height/-width.  Fit pixelwise when
4482         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
4483         when avoiding that frame goes partially off-screen.
4484         (fit-window-to-buffer): Respect window-min-height/-width
4485         (Bug#14096).
4487 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4489         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4490         after an empty line.
4492 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4494         * net/shr.el (shr-render-region): Autoload.
4496 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
4498         * net/eww.el (eww-download-directory): Rename from
4499         `eww-download-path' (Bug#16419).
4501 2014-01-12  Leo Liu  <sdl.web@gmail.com>
4503         * dired-x.el (dired-mode-map): Fix last change.
4505         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4507 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
4509         Spelling fixes.
4510         * emacs-lisp/generic.el (generic--normalize-comments):
4511         Rename from generic--normalise-comments.  All uses changed.
4512         * play/bubbles.el (bubbles--neighborhood-score)
4513         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4514         (bubbles--neighborhood-available)
4515         (bubbles--update-neighborhood-score):
4516         Rename from names with 'neighbourhood'.  All uses changed.
4518 2014-01-12  Leo Liu  <sdl.web@gmail.com>
4520         Re-implement the feature of showing eldoc info after editing.
4521         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4522         (eldoc-edit-message-commands): New function.
4523         (eldoc-print-after-edit): New variable.
4524         (eldoc-pre-command-refresh-echo-area): Emit message only by
4525         eldoc-message-commands.
4526         (eldoc-mode): Restrict eldoc-message-commands to editing commands
4527         if eldoc-print-after-edit is set.  (Bug#16346)
4528         * simple.el (read--expression): Enable eldoc-mode.
4529         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4531 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
4532             Eric S. Raymond  <esr@thyrsus.com>
4534         * version.el (emacs-repository-get-version): Enhance so the
4535         function works correctly in either a Bazaar or Git repo.
4537 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
4539         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4540         Goes with removal of the joke manpages from /etc.
4542 2014-01-10  Kenichi Handa  <handa@gnu.org>
4544         * mail/rmail.el (rmail-get-coding-system):
4545         Check rmail-get-coding-function before "funcall"ing it.
4547 2014-01-10  Glenn Morris  <rgm@gnu.org>
4549         * emacs-lisp/authors.el (authors-fixed-entries):
4550         Update for files that no longer exist.
4552 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
4554         * version.el (emacs-bzr-get-version): Restore compatibilty with
4555         24.3 (Tested).
4557 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
4559         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4560         and Podfile.
4562 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
4564         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4566 2014-01-10  Chong Yidong  <cyd@gnu.org>
4568         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4570 2014-01-10  Anders Lindgren  <andlind@gmail.com>
4572         * follow.el (follow-cache-command-list): Include right-char and
4573         left-char.
4575 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4577         Spelling fixes.
4578         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4579         * woman.el (woman-mark-horizontal-position):
4580         Rename from woman-mark-horizonal-position.  Use changed.
4582 2014-01-10  Glenn Morris  <rgm@gnu.org>
4584         * info.el (info-initialize): If running uninstalled, ensure our
4585         own info files are always found first, even if INFOPATH is set.
4587         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4589 2014-01-09  David Engster  <deng@randomsample.de>
4591         * emacs-lisp/eieio-custom.el:
4592         * emacs-lisp/eieio-opt.el: Set generated autoload file to
4593         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4594         * emacs-lisp/eieio.el: Regenerate autoloads.
4596 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
4598         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4599         following renames.  (Bug#8756)
4601 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4603         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4604         (bug#16382).
4605         (activate-mark): Add `no-tmm' argument.
4606         (set-mark, push-mark-command): Use it instead of running
4607         activate-mark-hook by hand.
4609 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
4611         In preparation for the move to git, sanitize out some
4612         Bazaar-specific names.
4614         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4616         * version.el (emacs-bzr-version): Name changed to
4617         emacs-repository-version.  Obsolete-variable alias made.
4618         * loadup.el: Follow through on this name change.
4619         * mail/emacsbug.el (report-emacs-bug): Factor out any
4620         assumption about the version control system in use.
4622 2014-01-08  David Engster  <deng@randomsample.de>
4624         * help-fns.el (help-fns-describe-function-functions):
4625         New variable to call functions for augmenting help buffers.
4626         (describe-function-1): Remove explicit calls to
4627         `help-fns--compiler-macro', `help-fns--parent-mode' and
4628         `help-fns--obsolete'.  Put them in above new variable instead, and
4629         call them through `run-hook-with-args'.
4630         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4631         `eieio-describe-class'.  Not meant for interactive use anymore,
4632         but to augment existing help buffers.  Remove optional second
4633         argument.  Create proper button for file location.
4634         Rewrite function to use `insert' instead of `princ' and `prin1' where
4635         possible.
4636         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4637         (eieio-method-def, eieio-class-def): Move further up.
4638         (describe-method, describe-generic, eieio-describe-method):
4639         Remove aliases.
4640         (eieio-help-constructor, eieio-help-generic): Rename from
4641         `eieio-describe-constructor' and `eieio-describe-generic', resp.
4642         Rewrite to use `insert' in the current buffer and use proper help
4643         buttons.
4644         (eieio-help-find-method-definition)
4645         (eieio-help-find-class-definition): Also accept symbols as
4646         arguments.
4647         (eieio-help-mode-augmentation-maybee): Remove.
4648         (eieio-describe-class-sb): Use `describe-function'.
4649         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4650         Add `eieio-help-generic' and `eieio-help-constructor'.
4652 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
4654         Spelling fixes.
4655         * language/china-util.el (hz-ascii-designation):
4656         Rename from hz-ascii-designnation.
4657         (hz-ascii-designation): Rename from hz-ascii-designnation.
4658         All uses changed.
4660 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4662         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4663         package-alist.
4665 2014-01-08  Bastien Guerry  <bzg@gnu.org>
4667         * emacs-lisp/package.el (package-delete):
4668         Correctly delete the package from package-alist.
4670 2014-01-08  Daiki Ueno  <ueno@gnu.org>
4672         * emacs-lisp/package.el (url-recreate-url): Declare.
4673         (url-http-target-url): Declare.
4674         (package-handle-response): Include requested URL in the error message.
4675         (package--check-signature): Don't re-signal errors from
4676         package--with-work-buffer.  Suggested by Stefan Monnier.
4678 2014-01-07  Bastien Guerry  <bzg@gnu.org>
4680         * minibuffer.el (completion--try-word-completion): When both a
4681         hyphen and a space are possible candidates for the character
4682         following a word, display both candidates.  (Bug#15980)
4684 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
4686         * window.el (balance-windows-2): While rounding don't give a
4687         window more than the remainder.  Bug#16351, bug#16383.
4689 2014-01-07  Glenn Morris  <rgm@gnu.org>
4691         * menu-bar.el (menu-bar-help-extra-packages): Remove.
4692         (menu-bar-help-menu): Use view-external-packages instead.
4694 2014-01-07  Bastien Guerry  <bzg@gnu.org>
4696         * emacs-lisp/package.el (package-delete): Also delete the package
4697         name from `package-alist', not its description only.
4699 2014-01-07  Glenn Morris  <rgm@gnu.org>
4701         * help.el (view-external-packages):
4702         * menu-bar.el (menu-bar-help-extra-packages):
4703         Visit efaq.info rather than etc/MORE.STUFF.
4705 2014-01-07  Juri Linkov  <juri@jurta.org>
4707         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4708         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
4710         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4711         that shadows RET.  (Bug#16342)
4713 2014-01-07  Chong Yidong  <cyd@gnu.org>
4715         * isearch.el (isearch-yank-char, isearch-yank-word)
4716         (isearch-yank-line): Doc fix.
4718 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4720         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4721         * emacs-lisp/elint.el (elint-find-builtins):
4722         * emacs-lisp/eldoc.el (eldoc-symbol-function):
4723         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4724         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4725         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4726         * apropos.el (apropos-safe-documentation):
4727         * subr.el (symbol-file): Remove redundant fboundp.
4728         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4730 2014-01-06  Bastien Guerry  <bzg@gnu.org>
4732         * hl-line.el (global-hl-line-overlay): Make a local variable.
4733         (global-hl-line-overlays): New variable to store all overlays.
4734         (global-hl-line-mode): Don't delete overlays from the current
4735         buffer when `global-hl-line-sticky-flag' is non-nil.
4736         (global-hl-line-highlight): Add new overlays to
4737         `global-hl-line-overlays'.
4738         (global-hl-line-unhighlight-all): New function to delete all
4739         overlays when turning off `global-hl-line-mode'.
4740         This fixes Bug#16183.
4742 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4744         * subr.el (set-transient-map): Fix nested case and docstring.
4746 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
4748         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4749         `Texinfo' entry.
4751 2014-01-06  Daniel Colascione  <dancol@dancol.org>
4753         Fix defun navigation in vc log view.
4755         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4756         like `beginning-of-defun'.
4757         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4758         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
4759         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4760         (log-view-extract-comment): Call `log-view-current-entry' directly
4761         instead of relying on broken `log-view-beginning-of-defun' behavior.
4763 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
4765         Spelling fixes.
4766         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4767         * emacs-lisp/debug.el (cancel-debug-on-entry):
4768         * epg.el (epg-error-to-string):
4769         * files.el (recover-file):
4770         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4771         * mail/emacsbug.el (report-emacs-bug-hook):
4772         * mail/sendmail.el (mail-recover):
4773         * ses.el (ses-yank-resize):
4774         * term/ns-win.el (ns-print-buffer):
4775         Spelling fixes in diagnostics, mostly for "canceled" with one L.
4776         * epg.el (epg-key-capability-alist): Rename from misspelled version.
4777         All uses changed.
4778         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4780 2014-01-06  Leo Liu  <sdl.web@gmail.com>
4782         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4783         to avoid shadowing global key.  (Bug#16354)
4785 2014-01-06  Daniel Colascione  <dancol@dancol.org>
4787         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4788         rst-mode.
4790 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
4792         * window.el (balance-windows): Add mising t to fix Bug#16351.
4794 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4796         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4797         (bug#16285).
4798         (shr-insert): If we have a word that's longer than `shr-width',
4799         break after it anyway.  Otherwise we'll do no breaking once we get
4800         such a long word.
4802 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
4804         * net/eww.el (eww): Support single/double quote for search.
4805         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4806         (eww-history-quit): Delete and use quit-window.
4807         (eww-history-kill): Delete, because it doesn't work well and
4808         not necessary.
4809         (eww-history-mode-map): Delete some keys and add easy-menu.
4811 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
4813         Fix misspelling of 'chinese' in rx (Bug#16237).
4814         * emacs-lisp/rx.el (rx-categories): Correct spelling of
4815         chinese-two-byte.
4817         Change subword regexps back to vars (Bug#16296).
4818         * progmodes/subword.el (subword-forward-regexp)
4819         (subword-backward-regexp): Change these back to variables.
4821 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4823         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4824         syntax-begin-function (bug#16247).
4826 2014-01-03  Chong Yidong  <cyd@gnu.org>
4828         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4829         (advice--docstring): Delete variable.
4830         (advice--make-1): Leave the docstring empty.
4831         (advice-add): Use function-documentation for advised docstring.
4833         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4834         Ignore function-documentation property when getting documentation.
4835         (ad-activate-advised-definition): Use function-documentation
4836         generate the docstring.
4837         (ad-make-advised-definition): Don't call
4838         ad-make-advised-definition-docstring.
4839         (ad-make-advised-definition-docstring, ad-advised-definition-p):
4840         Delete functions.
4842         * progmodes/sql.el (sql-help): Use function-documentation instead
4843         of dynamic-docstring-function property.  No need to autoload now.
4844         (sql--help-docstring): New variable.
4845         (sql--make-help-docstring): Use it.
4847 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4849         * ielm.el (ielm-tab): Retarget.
4850         (ielm-map): Use ielm-tab for tab.
4851         (ielm-complete-filename): Use comint-filename-completion.
4852         (ielm-complete-symbol): Remove.
4853         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4854         remove ielm-tab from completion-at-point-functions (bug#16224).
4856         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4857         Beware signals raised by predicates (bug#16201).
4859 2014-01-02  Richard Stallman  <rms@gnu.org>
4861         * dired-aux.el (dired-do-print): Handle printer-name.
4863         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4864         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4865         (rmail-epa-decrypt): Turn off mime processing.
4867         * mail/rmail.el (rmail-make-in-reply-to-field):
4868         Add parens in message-id.
4870         * mail/rmail.el (rmail-get-coding-function): Variable.
4871         (rmail-get-coding-system): Use it.
4873 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
4875         * international/mule-conf.el: Unify the charset indian-is13194.
4876         (indian-is13194): Specify unify-map.
4878 2013-12-31  Leo Liu  <sdl.web@gmail.com>
4880         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
4882 2013-12-30  Daniel Colascione  <dancol@dancol.org>
4884         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4885         of printing a useless when we resume from sleep.
4887         * progmodes/sh-script.el
4888         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4889         in indentation code.  (Bug#16233)
4891 2013-12-28  João Távora  <joaotavora@gmail.com>
4893         * elec-pair.el (electric-pair-post-self-insert-function):
4894         Don't open extra newlines at beginning of buffer.  (Bug#16272)
4896 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
4898         * frame.el (window-system-for-display): Don't allow to create a
4899         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
4901 2013-12-28  Glenn Morris  <rgm@gnu.org>
4903         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4904         Update callers.
4906         * apropos.el (apropos-match-face):
4907         * calculator.el (calculator-displayer):
4908         * dabbrev.el (dabbrev-search-these-buffers-only):
4909         * face-remap.el (buffer-face-mode-face):
4910         * simple.el (yank-handled-properties):
4911         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4912         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4913         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4914         (hashcash-double-spend-database):
4915         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4916         (ruby-deep-indent-paren-style):
4917         * textmodes/flyspell.el (flyspell-auto-correct-binding):
4918         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4919         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4920         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4921         Specify custom types.
4923         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4924         * bookmark.el (bookmark-bmenu-use-header-line):
4925         * doc-view.el (doc-view-scale-internally):
4926         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4927         * register.el (register-preview-delay):
4928         * net/shr.el (shr-bullet):
4929         * progmodes/cfengine.el (cfengine-cf-promises)
4930         (cfengine-parameters-indent):
4931         * progmodes/octave.el (inferior-octave-error-regexp-alist):
4932         * textmodes/reftex-vars.el (reftex-label-regexps):
4933         * vc/log-edit.el (log-edit-setup-add-author): Add version.
4935         * net/tls.el (tls-certtool-program): Fix default value.
4937         * desktop.el (desktop-restore-in-current-display):
4938         * newcomment.el (comment-empty-lines):
4939         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4940         (idlwave-pad-keyword):
4941         * progmodes/tcl.el (tcl-tab-always-indent):
4942         * textmodes/reftex-vars.el (reftex-index-default-tag):
4943         * elec-pair.el (electric-pair-skip-whitespace):
4944         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4946         * emacs-lisp/authors.el (authors-ignored-files)
4947         (authors-valid-file-names, authors-renamed-files-alist): Additions.
4949 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
4951         * shell.el (shell-dynamic-complete-command): Doc fix.
4952         (shell--command-completion-data): Shell completion now matches
4953         executable filenames from the current buffer's directory, on
4954         systems in which this behavior is the default (windows-nt, ms-dos).
4956 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
4958         * net/shr.el (shr-insert): Don't infloop if the width is zero.
4960 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4962         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4963         (bug#16251).
4965         * electric.el: Move all electric-pair-* to elec-pair.el.
4966         * elec-pair.el: New file, split from electric.el.
4968 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
4970         * net/shr.el (shr-find-fill-point): Don't try to fill if the
4971         indentation level is larger than the width, because that will
4972         infloop.
4973         (shr-insert): Fill repeatedly long texts, so that Japanese is
4974         formatted correctly (bug#16263).
4975         (shr-find-fill-point): Off by one error in comparison with the
4976         indentation.
4978 2013-12-26  João Távora  <joaotavora@gmail.com>
4980         * electric.el (electric-pair-mode): More flexible engine for skip-
4981         and inhibit predicates, new options for pairing-related functionality.
4982         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4983         if that keeps or improves their balance in buffers.
4984         (electric-pair-delete-adjacent-pairs): Delete the pair when
4985         backspacing over adjacent matched delimiters.
4986         (electric-pair-open-extra-newline): Open extra newline when
4987         inserting newlines between adjacent matched delimiters.
4988         (electric--sort-post-self-insertion-hook):
4989         Sort post-self-insert-hook according to priority values when
4990         minor-modes are activated.
4991         * simple.el (newline-and-indent): Call newline with interactive
4992         set to t.
4993         (blink-paren-post-self-insert-function): Set priority to 100.
4994         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4995         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4996         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
4997         electric-pair-open-newline-between-pairs to nil.
4999 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5001         * progmodes/python.el: Use lexical-binding.
5002         (python-nav-beginning-of-defun): Stop searching ASAP.
5004 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
5006         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5007         Fix interactive spec.  Doc fix.  (Bug#15754)
5009 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
5011         * emacs-lisp/byte-run.el (eval-when-compile):
5012         * progmodes/cc-defs.el (cc-eval-when-compile):
5013         Fix edebug spec (bug#16184).
5015 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
5017         * net/shr.el (shr-visit-file): Remove debugging function.
5018         (shr-insert): Don't infloop if we can't find a good place to break
5019         the line (bug#16256).
5021 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5023         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5024         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
5025         python-nav-lisp-forward-sexp-safe.
5026         (python-nav--forward-sexp): New argument SAFE allows switching
5027         forward sexp movement behavior for parens.
5028         (python-nav-forward-sexp): Throw errors on unterminated parens
5029         (Bug#16191).
5030         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5031         (python-nav-backward-sexp-safe): New functions.
5032         (python-shell-buffer-substring):
5033         Use `python-nav-forward-sexp-safe'.
5035 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
5037         * net/shr.el (shr-find-fill-point): Don't break lines before a
5038         quotation mark.
5039         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5040         (shr-find-fill-point): Remove the special checks for the quotation
5041         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5043 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5045         * net/eww.el (eww-form-textarea): Use a different face for
5046         textareas than text input since they have different keymaps
5047         (bug#16142).
5049 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5051         * progmodes/python.el (python-nav-beginning-of-statement):
5052         Speed up (Bug#15295).
5054 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
5056         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5057         the window configuration.
5059 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
5061         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5062         we run on MS-Windows or MS-DOS.
5064 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
5066         * window.el (balance-windows-area): Call window-size instead of
5067         window-height and window-width.  Bug#16241.
5069 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
5071         * net/eww.el (eww-bookmark-quit): Remove.
5072         (eww-bookmark-browse): Restore the window configuration when you
5073         choose a bookmark (bug#16144).
5075 2013-12-24  Daniel Colascione  <dancol@dancol.org>
5077         * icomplete.el: Remove redundant :group arguments to `defcustom'
5078         throughout.
5079         (icomplete-show-matches-on-no-input): New customizable variable.
5080         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5081         we have something to show.
5082         (icomplete-exhibit): Compute completions even if we have no user input.
5084 2013-12-23  Daniel Colascione  <dancol@dancol.org>
5086         * icomplete.el: Move `provide' to end of file.
5088 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
5090         * net/gnutls.el (gnutls-verify-error): Add version tag.
5092 2013-12-23  Chong Yidong  <cyd@gnu.org>
5094         * subr.el (set-transient-map): Rename from
5095         set-temporary-overlay-map.  Doc fix.
5097         * face-remap.el (text-scale-adjust):
5098         * indent.el (indent-rigidly):
5099         * kmacro.el (kmacro-call-macro):
5100         * minibuffer.el (minibuffer-force-complete):
5101         * repeat.el (repeat):
5102         * simple.el (universal-argument--mode):
5103         * calendar/todo-mode.el (todo-insert-item--next-param):
5104         * progmodes/f90.el (f90-abbrev-start): Callers changed.
5106         * indent.el (indent-rigidly): Use substitute-command-keys.
5108 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5110         * net/eww.el (eww-tag-select): Add text-property to jump to next
5111         select field.
5112         (eww): Add non-supported ftp error.
5114 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
5116         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5117         comments.  Handle electric indent after typing `?' and `!'.
5119 2013-12-22  Chong Yidong  <cyd@gnu.org>
5121         * faces.el (face-spec-recalc): If the theme specs are not
5122         applicable to a frame, fall back on the defface spec.
5123         This prevents themes from obliterating faces on low-color terminals.
5125 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
5127         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5128         after `{'.  We need it after block openers, and it doesn't seem
5129         to hurt after hash openers.
5131 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
5133         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5134         extracted from `ruby-smie-rules'.
5135         (ruby--electric-indent-chars): New variable.
5136         (ruby--electric-indent-p): New function.
5137         (ruby-mode): Use `electric-indent-functions' instead of
5138         `electric-indent-chars'.
5140 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
5142         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5143         docstring.
5144         (ruby-smie-rules): Indent plus one level after `=>'.
5146 2013-12-21  Richard Stallman  <rms@gnu.org>
5148         * simple.el (newline): Doc fix.
5150 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5152         * net/eww.el (eww-list-histories, eww-list-histories)
5153         (eww-history-browse, eww-history-quit, eww-history-kill)
5154         (eww-history-mode-map, eww-history-mode): New command and
5155         functions to list browser histories.
5156         (eww-form-text): Support text form with disabled
5157         and readonly attributes.
5158         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5160 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5162         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5163         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5164         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5165         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5166         Use `user-error'.
5167         (eww-bookmark-mode-map): Add menu.
5168         (eww-render, eww-mode): Use `setq-local'.
5169         (eww-tool-bar-map): New variable.
5170         (eww-mode): Set `tool-bar-map'.
5171         (eww-view-source): Check for `html-mode' with `fboundp'.
5173 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5175         * net/shr.el (shr--extract-best-source): Don't bug out on audio
5176         elements with text inside.  Also remove debugging.
5178 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
5180         * cus-start.el (all): Add ns-use-srgb-colorspace.
5182 2013-12-21  Chong Yidong  <cyd@gnu.org>
5184         * custom.el (custom-theme-recalc-face): Do nothing if the face is
5185         undefined.  Thus, theme settings for undefined faces do not take
5186         effect until the faces are defined with defface, the same as with
5187         theme variables.
5189         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5190         (face-spec-reset-face): Don't assign extra properties in temacs.
5191         (face-spec-recalc): Apply X resources too.
5193 2013-12-21  Chong Yidong  <cyd@gnu.org>
5195         * faces.el (face-spec-set):
5196         * cus-face.el (custom-theme-set-faces, custom-set-faces):
5197         * custom.el (defface): Doc fixes (Bug#16203).
5199         * indent.el (indent-rigidly-map): Add docstring, and move commands
5200         into named functions.
5201         (indent-rigidly-left, indent-rigidly-right)
5202         (indent-rigidly-left-to-tab-stop)
5203         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
5204         indentation direction based on bidi direction, and accumulate
5205         sequential commands in a single undo boundary.
5206         (indent-rigidly--pop-undo): New utility function.
5208 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
5210         * faces.el (read-face-name): Require crm.el when using crm-separator.
5212 2013-12-20  Daniel Colascione  <dancol@dancol.org>
5214         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5215         so that we don't reflow comments into the shebang line.
5217 2013-12-20  Juri Linkov  <juri@jurta.org>
5219         * saveplace.el (save-place-to-alist): Add `dired-filename' as
5220         a position when `dired-directory' is non-nil.  Check integer
5221         positions with `integerp'.
5222         (toggle-save-place, save-places-to-alist): Add check for
5223         `dired-directory'.
5224         (save-place-find-file-hook): Check integer positions with
5225         `integerp'.
5226         (save-place-dired-hook): Use `dired-goto-file' when
5227         `dired-filename' is found in the assoc list.  Check integer
5228         positions with `integerp'.
5229         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5231         * dired.el (dired-initial-position-hook): Rename back from
5232         `dired-initial-point-hook'.
5233         (dired-initial-position): Rename `dired-initial-point-hook' to
5234         `dired-initial-position-hook'.
5235         (dired-file-name-at-point): Doc fix.  (Bug#15329)
5237 2013-12-20  Juri Linkov  <juri@jurta.org>
5239         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5240         (read-regexp-suggestions): New function.
5241         (read-regexp): Use `read-regexp-defaults-function' to get default values.
5242         Use `read-regexp-suggestions'.  Add non-empty default to history
5243         for empty input.
5244         (occur-read-regexp-defaults-function): Remove function.
5245         (occur-read-primary-args): Use `regexp-history-last' instead of
5246         `occur-read-regexp-defaults-function'.
5248         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5249         (hi-lock-line-face-buffer, hi-lock-face-buffer)
5250         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5251         `hi-lock-read-regexp-defaults-function'.  Doc fix.
5252         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5253         with `find-tag-default-as-symbol-regexp'.  Doc fix.
5254         (hi-lock-read-regexp-defaults): Remove function.
5255         (hi-lock-regexp-okay): Add check for null.
5257         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5258         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
5260         * subr.el (find-tag-default-as-symbol-regexp): New function.
5261         (find-tag-default-as-regexp): Move symbol regexp formatting to
5262         `find-tag-default-as-symbol-regexp'.
5264 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
5266         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5267         (Bug#14179)
5269 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
5271         * calendar/todo-mode.el: New implementation of item insertion
5272         commands and key bindings.
5273         (todo-key-prompt): New face.
5274         (todo-insert-item): New command.
5275         (todo-insert-item--parameters): New defconst, replacing defvar
5276         todo-insertion-commands-args-genlist.
5277         (todo-insert-item--param-key-alist): New defconst, replacing
5278         defvar todo-insertion-commands-arg-key-list.
5279         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5280         (todo-insert-item--argsleft, todo-insert-item--apply-args)
5281         (todo-insert-item--next-param): New functions.
5282         (todo-insert-item--args, todo-insert-item--argleft)
5283         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5284         New variables.
5285         (todo-key-bindings-t): Change binding of "i" from
5286         todo-insertion-map to todo-insert-item.
5287         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5288         (todo-insertion-command-name, todo-insertion-commands-names)
5289         (todo-define-insertion-command, todo-insertion-commands)
5290         (todo-insertion-key-bindings, todo-insertion-map): Remove.
5292 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
5294         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5295         (todo-toggle-item-highlighting): Use eval-and-compile instead of
5296         eval-when-compile.
5297         (todo-move-category): Allow choosing a non-existing todo file to
5298         move the category to, and create that file.
5299         (todo-default-priority): New user option.
5300         (todo-set-item-priority): Use it.
5301         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5302         (desktop-restore-file-buffer): Declare.
5303         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5304         (todo-modes-set-2): Locally set desktop-save-buffer to
5305         todo-desktop-save-buffer.
5306         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5307         (auto-mode-alist): Add autoload cookie.
5309 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
5311         * emacs-lisp/subr-x.el: Renamed from helpers.el.
5312         helpers.el was a poor choice of name.
5313         (string-remove-prefix): New function.
5314         (string-remove-suffix): New function.
5316 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
5318         Fix assignment for new window total sizes.
5319         * window.el (window--pixel-to-size): Remove function.
5320         (window--pixel-to-total-1, window--pixel-to-total):
5321         Fix calculation of new total sizes.
5323 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
5325         * comint.el (comint-output-filter): Fix rear-nonsticky property
5326         placement (Bug#16010).
5328 2013-12-20  Chong Yidong  <cyd@gnu.org>
5330         * faces.el (read-color): Minor fix for completion function.
5332 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
5334         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5335         New option.  (Bug#16182)
5336         (ruby-smie--indent-to-stmt-p): Use it.
5337         (ruby-smie-rules): Revert the logic in the handling of `when'.
5338         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5339         (ruby-deep-arglist, ruby-deep-indent-paren)
5340         (ruby-deep-indent-paren-style): Update docstrings to note that the
5341         vars don't have any effect with SMIE.
5343 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
5345         * calc/calc.el (calc-enter, calc-pop): Use the variable
5346         `calc-context-sensitive-enter'.
5348 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5350         * net/shr.el (shr-insert): Protect against infloops in degenerate
5351         tables.
5353 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5355         * progmodes/octave.el (octave): Add link to manual and octave
5356         homepage.
5357         (octave-mode-menu): Link to octave-mode manual.
5359 2013-12-20  Leo Liu  <sdl.web@gmail.com>
5361         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5362         insertion using skeleton-end-newline.  (Bug#16138)
5364 2013-12-20  Juri Linkov  <juri@jurta.org>
5366         * replace.el (occur-engine): Use `add-face-text-property'
5367         to add the face property to matches and titles.  (Bug#14645)
5369         * hi-lock.el (hi-green): Use lighter color "light green" closer to
5370         the palette of other hi-lock colors.
5371         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5373 2013-12-19  Juri Linkov  <juri@jurta.org>
5375         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5376         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
5377         (minibuffer-history-symbol): Move variable declaration closer to
5378         its usage.
5380         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5381         (Bug#14785)
5383 2013-12-19  Juri Linkov  <juri@jurta.org>
5385         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5386         New function.
5387         (log-edit-hook): Add it to :options.  (Bug#16170)
5389 2013-12-19  Juri Linkov  <juri@jurta.org>
5391         * simple.el (eval-expression-print-format): Don't check for
5392         command names and the last command.  Always display additional
5393         formats of the integer result in the echo area, and insert them
5394         to the current buffer only with a zero prefix arg.
5395         Display character when char-displayable-p is non-nil.
5396         (eval-expression): With a zero prefix arg, set `print-length' and
5397         `print-level' to nil, and insert the integer values from
5398         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
5400         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5401         `eval-last-sexp-arg-internal'.  Doc fix.
5402         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5403         `eval-last-sexp-print-value'.  Doc fix.
5404         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5405         Set `print-length' and `print-level' to nil when arg is zero.
5406         (eval-last-sexp): Doc fix.
5407         (eval-defun-2): Print the integer values from
5408         `eval-expression-print-format' at the end.
5410         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5411         values from `eval-expression-print-format' at the end.
5413         * ielm.el (ielm-eval-input): Print the integer
5414         values from `eval-expression-print-format' at the end.
5416 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
5418         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5419         2013-12-11T19:01:44Z!tzz@lifelogs.com.
5421 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5423         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
5424         (hl-line-highlight, global-hl-line-highlight): Use it.
5425         (hl-line-overlay): Use defvar-local.
5427 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
5429         * term/ns-win.el: Require dnd.
5430         (global-map): Remove drag items.
5431         (ns-insert-text, ns-set-foreground-at-mouse)
5432         (ns-set-background-at-mouse):
5433         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5434         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5435         New functions.
5437 2013-12-19  Glenn Morris  <rgm@gnu.org>
5439         * emacs-lisp/ert.el (ert-select-tests):
5440         Fix string/symbol mixup.  (Bug#16121)
5442 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
5444         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5445         keywords to their parent.
5447 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
5449         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5450         first arg to be a string (fixed dead code), or an operator symbol.
5451         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5452         operator symbols.
5453         (ruby-smie-rules): Remove parent token check in the `.' clause, it
5454         did nothing.  Don't respond to `(:after ".")', it will be called
5455         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
5456         change anything.  Only return indentation for binary operators
5457         when they are hanging.  De-dent opening paren when its parent is
5458         `.', otherwise it looks bad when the dot is not at bol or eol
5459         (bug#16182).
5461 2013-12-19  Juri Linkov  <juri@jurta.org>
5463         * replace.el (query-replace-read-args): Split a non-negative arg
5464         and a negative arg into separate elements.
5465         (query-replace, query-replace-regexp, replace-string)
5466         (replace-regexp): Add arg `backward'.  Doc fix.
5467         (replace-match-maybe-edit): When new arg `backward' is non-nil,
5468         move point to the beginning of the match.
5469         (replace-search, replace-highlight): Use new arg `backward'
5470         to set the value of `isearch-forward'.
5471         (perform-replace): Add arg `backward' and use it to perform
5472         replacement backward.  (Bug#14979)
5474         * isearch.el (isearch-query-replace): Use a negative prefix arg
5475         to call `perform-replace' with a non-nil arg `backward'.
5477 2013-12-18  Juri Linkov  <juri@jurta.org>
5479         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5480         to the default list.  Move `log-edit-show-files' to the end.
5481         Add more available functions to options.
5482         (log-edit): Move default specific settings to
5483         `log-edit-insert-message-template'.  Don't move point.
5484         (log-edit-insert-message-template): New function.
5485         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5486         (Bug#16170)
5488 2013-12-18  Juri Linkov  <juri@jurta.org>
5490         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5491         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
5493 2013-12-18  Leo Liu  <sdl.web@gmail.com>
5495         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5496         (Bug#16186)
5498 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
5500         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5501         formats for displaying file sizes when the -s switch is given.
5502         Instead, compute a separate format for displaying the size in
5503         blocks, which is displayed in addition to the "regular" size.
5504         When -h is given in addition to -s, produce size in blocks in
5505         human-readable form as well.  (Bug#16179)
5507 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
5509         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5510         Reference tables with ~\ref{...} instead of only \ref{...}.
5512 2013-12-18  Chong Yidong  <cyd@gnu.org>
5514         * cus-edit.el (custom-magic-alist): Fix "themed" description
5515         (Bug#14348).
5517         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5518         is non-nil, do not create a new entry in the symbol's theme-value
5519         or theme-face property; update theme-settings only (Bug#14664).
5520         (custom-available-themes): Doc fix.
5522         * cus-theme.el (custom-new-theme-mode-map): Add bindings
5523         (Bug#15674).
5525         * replace.el (occur-engine): Avoid infloop (Bug#7593).
5527 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
5529         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5530         (Bug#13914).
5532 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
5534         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5536 2013-12-18  Glenn Morris  <rgm@gnu.org>
5538         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5539         * cus-start.el (load-prefer-newer): New option.
5541 2013-12-18  Le Wang  <l26wang@gmail.com>
5543         * comint.el (comint-previous-matching-input-from-input):
5544         Retain point (Bug#13404).
5546 2013-12-18  Chong Yidong  <cyd@gnu.org>
5548         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5550 2013-12-18  Glenn Morris  <rgm@gnu.org>
5552         * mail/emacsbug.el (report-emacs-bug):
5553         Only mention enable-multibyte-characters if non-standard.
5555 2013-12-17  Juri Linkov  <juri@jurta.org>
5557         * arc-mode.el (archive-extract-by-file): Check if directory exists
5558         before deletion to not show irrelevant errors if it doesn't exist.
5560 2013-12-17  Juri Linkov  <juri@jurta.org>
5562         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5563         (Bug#14751)
5565         * net/eww.el (browse-web): Add alias to `eww'.
5566         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5567         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
5569         * net/browse-url.el (browse-url-browser-function): Move `eww'
5570         closer to similar functions.
5572         * startup.el (fancy-startup-screen, fancy-about-screen):
5573         Set browse-url-browser-function to eww-browse-url locally.
5574         (Bug#14751)
5576 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5578         * window.el (window--pixel-to-total): Remove unused `mini' var.
5579         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5580         (split-window): Remove unused `new' var.
5581         (window--display-buffer): Remove unused `frame' and `delta' vars.
5582         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5583         and display-width'.
5585 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
5587         * dired.el (dired-mark-pop-up):
5588         * register.el (register-preview): Don't bind
5589         split-height-threshold here since it's now done in
5590         display-buffer-below-selected.
5592 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
5594         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5595         xterm-rgb-convert-to-16bit.
5596         (rxvt-register-default-colors): Standardize with
5597         xterm-register-default-colors (Bug#14078).
5599 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
5601         * simple.el (kill-region): Pass mark first, then point, so that
5602         kill-append works right (Bug#12819).
5603         (copy-region-as-kill, kill-ring-save): Likewise.
5605 2013-12-17  Leo Liu  <sdl.web@gmail.com>
5607         * net/rcirc.el (rcirc-add-face):
5608         * eshell/em-prompt.el (eshell-emit-prompt):
5609         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5610         (Bug#16167)
5612 2013-12-17  Chong Yidong  <cyd@gnu.org>
5614         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5615         Suggested by Xue Fuqiao.
5617 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
5619         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5621 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5623         * net/shr.el (shr-insert-document): Remove unused var
5624         `shr-preliminary-table-render'.
5625         (shr-rescale-image): Remove unused arg `force'.
5626         (shr-put-image): Update calls accordingly.
5627         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5629 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
5631         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5632         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5633         :close-all, to see which indentation method to use (Bug#16116).
5634         (smie-rules-function): Document the method :close-all.
5636 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5638         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5640         * net/eww.el (eww-display-html): If we can't find the anchor we're
5641         looking for, then go to point-min.
5643 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
5645         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5646         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5647         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5648         Expand dir too, in case it's relative.
5650 2013-12-16  Juri Linkov  <juri@jurta.org>
5652         * desktop.el (desktop-auto-save-timeout): Change default to
5653         `auto-save-timeout'.  Doc fix.
5654         (desktop-save): Skip the timestamp in desktop-saved-frameset
5655         when checking for auto-save changes.
5656         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5657         `desktop-auto-save' is called repeatedly by the idle timer.
5658         (desktop-auto-save-set-timer): Replace `run-with-timer' with
5659         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
5660         (Bug#15331)
5662 2013-12-16  Juri Linkov  <juri@jurta.org>
5664         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5665         (Bug#16035)
5666         (isearch-pre-command-hook): Check `this-command' for symbolp.
5668 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5670         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5672 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
5674         * progmodes/cfengine.el (cfengine3--current-word): Remove.
5675         (cfengine3--current-function): Bring in the current-function
5676         functionality from `cfengine3--current-word'.
5677         (cfengine3-completion-function): Bring in the
5678         bounds-of-current-word functionality from
5679         `cfengine3--current-word'.
5681 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
5683         * window.el (display-buffer-below-selected):
5684         Bind split-height-threshold to 0 as suggested by Juri Linkov.
5686 2013-12-16  Leo Liu  <sdl.web@gmail.com>
5688         * progmodes/compile.el (compile-goto-error): Do not push-mark.
5689         Remove NOMSG arg and all uses changed.
5691 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5693         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5694         (cua--deactivate-rectangle): Don't deactivate the mark.
5695         (cua-set-rectangle-mark): Don't set mark-active since
5696         cua--activate-rectangle already does it for us.
5697         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5698         non-rectangular region.
5700         * emulation/cua-base.el (cua-repeat-replace-region):
5701         Use with-current-buffer.
5703         * net/gnutls.el: Use cl-lib.
5704         (gnutls-negotiate): `mapcan' -> cl-mapcan.
5706 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
5708         * emacs-lisp/package.el (package-built-in-p): Support both
5709         built-in and the package.el converted package descriptions.
5710         (package-show-package-list): Allow keywords.
5711         (package-keyword-button-action): Use it instead of
5712         `finder-list-matches'.
5713         (package-menu-filter-interactive): Interactive filtering (by
5714         keyword) function.
5715         (package-menu--generate): Support keywords and change keymappings
5716         and headers when they are given.
5717         (package--has-keyword-p): Helper function.
5718         (package-menu--refresh): Use it.
5719         (package--mapc): Helper function.
5720         (package-all-keywords): Use it.
5721         (package-menu-mode-map): Set up menu items and keybindings to
5722         provide a filtering UI.
5724 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
5726         * net/gnutls.el (gnutls-verify-error): New defcustom to control
5727         the behavior when a certificate fails validation.  Defaults to
5728         old behavior: never abort, just warn.
5729         (gnutls-negotiate): Use it.
5731 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
5733         * window.el (display-buffer-below-selected): Never split window
5734         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
5736 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
5738         * emacs-lisp/package.el (package--prepare-dependencies): New function.
5739         (package-buffer-info): Use it (bug#15108).
5741 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5743         * icomplete.el (icomplete-completions): Make sure the prefix is already
5744         displayed elsewhere before hiding it (bug#16219).
5746 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
5748         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5749         open-paren tokens when preceded by a open-paren, too.
5750         (ruby-smie-rules): Handle virtual indentation after open-paren
5751         tokens specially.  If there is code between it and eol, return the
5752         column where is starts (Bug#16118).
5754 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
5756         * progmodes/cfengine.el: Fix `add-hook' doc.
5757         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5758         (cfengine3--current-word): Fix parameters.
5759         (cfengine3-make-syntax-cache): Simplify further.
5760         (cfengine3-completion-function, cfengine3--current-function):
5761         Use `assq' for symbols.
5762         (cfengine3--current-function): Fix `cfengine3--current-word' call.
5764 2013-12-13  Glenn Morris  <rgm@gnu.org>
5766         * loadup.el (load-path): Warn if site-load or site-init changes it.
5767         No more need to reset it when bootstrapping.
5769 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
5771         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5772         locations for cf-promises.
5773         (cfengine-mode-syntax-functions-regex): New caching variable.
5774         (cfengine3-fallback-syntax): Fallback syntax for cases where
5775         cf-promises doesn't run.
5776         (cfengine3--current-word): Reimplement using
5777         `cfengine-mode-syntax-functions-regex'.
5778         (cfengine3-completion-function, cfengine3--current-function):
5779         Use `cfengine3-make-syntax-cache' directly.
5780         (cfengine3-clear-syntax-cache): New function.
5781         (cfengine3-make-syntax-cache): Simplify and create
5782         `cfengine-mode-syntax-functions-regex' on demand.
5783         (cfengine3-format-function-docstring): Don't call
5784         `cfengine3-make-syntax-cache' explicitly.
5786 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
5788         Fix windmove-find-other-window broken after pixelwise resizing
5789         (Bug#16017).
5790         * windmove.el (windmove-other-window-loc): Revert change from
5791         2013-12-04.
5792         (windmove-find-other-window): Call window-in-direction.
5793         * window.el (window-in-direction): New arguments SIGN, WRAP and
5794         MINI to emulate original windmove-find-other-window behavior.
5796 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
5798         * simple.el (blink-matching--overlay): New variable.
5799         (blink-matching-open): Instead of moving point, highlight the
5800         matching paren with an overlay
5801         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5803         * faces.el (paren-showing-faces, show-paren-match)
5804         (show-paren-mismatch): Move from paren.el.
5806 2013-12-13  Leo Liu  <sdl.web@gmail.com>
5808         * indent.el (indent-region): Disable progress reporter in
5809         minibuffer.  (Bug#16108)
5811         * bindings.el (visual-order-cursor-movement): Fix version.
5813 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5815         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5816         Also match after beginning of line.
5817         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5818         files.  Thanks to Russell Sim.  (Bug#15378)
5820 2013-12-13  Juri Linkov  <juri@jurta.org>
5822         * simple.el <Keypad support>: Remove key bindings duplicated
5823         with bindings.el.  (Bug#14397)
5825 2013-12-13  Juri Linkov  <juri@jurta.org>
5827         * comint.el (comint-mode-map): Replace `delete-char' with
5828         `delete-forward-char'.  (Bug#16109)
5830 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5832         * progmodes/python.el (python-indent-calculate-indentation):
5833         Fix de-denters cornercase.  (Bug#15731)
5835 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5837         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5838         (advice--make): Pay attention to `depth'.
5839         (advice--make-1): Don't autoload commands eagerly.
5840         * emacs-lisp/elp.el (elp-instrument-function):
5841         * emacs-lisp/trace.el (trace-function-internal):
5842         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5844         * iswitchb.el (iswitchb-mode): Don't belittle ido.
5846 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
5848         * term/w32-win.el (w32-handle-dropped-file):
5849         * startup.el (normal-top-level):
5850         * net/browse-url.el (browse-url-file-url):
5851         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5852         decode file names using 'utf-8' rather than
5853         file-name-coding-system.
5855 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5857         * progmodes/python.el (python-indent-context)
5858         (python-indent-calculate-indentation): Fix auto-identation
5859         behavior for comment blocks.  (Bug#15916)
5861 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
5863         * progmodes/python.el (python-indent-calculate-indentation):
5864         When determining indentation, don't treat "return", "pass", etc., as
5865         operators when they are just string constituents.  (Bug#15812)
5867 2013-12-12  Juri Linkov  <juri@jurta.org>
5869         * uniquify.el (uniquify-buffer-name-style): Change default to
5870         `post-forward-angle-brackets'.
5872         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5873         `uniquify'.  Change default to `post-forward-angle-brackets'.
5875 2013-12-11  Glenn Morris  <rgm@gnu.org>
5877         * emacs-lisp/package.el (finder-list-matches):
5878         Autoload rather than falsely declaring.
5880 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
5882         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5883         (eww-mode-map): Use them.
5885 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
5887         * window.el (display-buffer-in-side-window): Fix doc-string
5888         (Bug#16115).
5890 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
5892         * vc/vc-git.el: Silence byte-compiler warnings.
5893         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5894         (log-edit-set-header): Declare.
5896 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
5898         * Makefile.in (custom-deps, finder-data): Run output file names
5899         through unmsys--file-name.  (Bug#16099)
5901 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5903         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5904         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5906         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5907         instead of deleting the selection "by hand" (bug#16098).
5908         Rely on insert-for-yank to yank rectangles.
5909         (cua-highlight-region-shift-only): Mark obsolete.
5910         (cua-mode): Don't enable/disable transient-mark-mode,
5911         shift-select-mode (cua-mode works both with and without them), and
5912         pc-selection-mode (obsolete).
5913         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5914         (cua--deactivate-rectangle): Deactivate it.
5916         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5917         (delete-selection-helper): Make sure yank starts at the top of the
5918         deleted region.
5919         (minibuffer-keyboard-quit): Use region-active-p.
5921         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5923         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5924         to `delete' (bug#16109).
5926 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5928         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5929         info manual and show keybindings and set `:group' keyword.
5931 2013-12-11  Juri Linkov  <juri@jurta.org>
5933         * delsel.el (delete-active-region): Let-bind `this-command'
5934         to prevent `kill-region' from changing its original value.
5935         (delete-selection-helper): Handle `overwrite-mode' for the type
5936         `kill' exactly the same way as for the type `t'.
5937         (insert-char, quoted-insert, reindent-then-newline-and-indent):
5938         Support more commands.  (Bug#13312)
5940 2013-12-11  Juri Linkov  <juri@jurta.org>
5942         * bindings.el: Map kp keys to non-kp keys systematically
5943         with basic modifiers control, meta and shift.  (Bug#14397)
5945 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5947         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5948         "Close browser" menu items.  Fix wrong function of "List
5949         bookmarks".
5951 2013-12-11  Juri Linkov  <juri@jurta.org>
5953         * misearch.el (multi-isearch-buffers): Set the value of
5954         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
5955         arg of isearch-forward to t.
5956         (multi-isearch-buffers-regexp): Set the value of
5957         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
5958         arg of isearch-forward-regexp to t.
5959         (multi-isearch-files): Set the value of
5960         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
5961         arg of isearch-forward to t.
5962         (multi-isearch-files-regexp): Set the value of
5963         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
5964         arg of isearch-forward-regexp to t.  (Bug#16035)
5966         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5967         arg of isearch-forward to t.
5968         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5969         arg of isearch-forward-regexp to t.
5970         (dired-isearch-filter-filenames): Remove unnecessary check for
5971         `dired-isearch-filenames'.
5973         * comint.el (comint-history-isearch-backward):
5974         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5975         (comint-history-isearch-backward-regexp):
5976         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5978 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
5980         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5981         unmsys--file-name.  (Bug#16099)
5983 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
5985         * emacs-lisp/package.el (package-keyword-button-action):
5986         Remove finder.el require dependency.
5988 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
5990         * emacs-lisp/package.el: Require finder.el.
5991         (describe-package-1): Add keyword buttons.
5992         (package-make-button): New convenience function.
5993         (package-keyword-button-action): Keyword button action using
5994         `finder-list-matches'.
5996 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
5998         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5999         last commit.
6001 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
6003         * autorevert.el (auto-revert-notify-add-watch): Do not handle
6004         symlinked files.
6006 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
6008         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6009         after the end of a percent literal.
6011 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
6013         * progmodes/ruby-mode.el (ruby-forward-string): Document.
6014         Handle caret-delimited strings (Bug#16079).
6016 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
6018         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6019         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6020         `ruby-parse-partial' (Bug#16078).
6022 2013-12-09  Leo Liu  <sdl.web@gmail.com>
6024         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
6026 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
6028         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6029         (js-switch-indent-offset): New option.
6030         (js--proper-indentation): Use it.  And handle the case when
6031         "default" is actually a key in an object literal.
6032         (js--same-line): New function.
6033         (js--multi-line-declaration-indentation): Use it.
6034         (js--indent-in-array-comp, js--array-comp-indentation):
6035         New functions.
6036         (js--proper-indentation): Use them, to handle array comprehension
6037         continuations.
6039 2013-12-08  Leo Liu  <sdl.web@gmail.com>
6041         * progmodes/flymake.el (flymake-highlight-line): Re-write.
6042         (flymake-make-overlay): Remove arg MOUSE-FACE.
6043         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6045 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6047         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6048         New function.
6049         (redisplay-highlight-region-function): Use it.
6051         * emulation/cua-base.el (cua--explicit-region-start)
6052         (cua--last-region-shifted): Remove.
6053         (cua--deactivate): Use deactivate-mark.
6054         (cua--pre-command-handler-1): Don't handle shift-selection.
6055         (cua--post-command-handler-1): Don't change transient-mark-mode.
6056         (cua--select-keymaps): Use region-active-p rather than
6057         cua--explicit-region-start or cua--last-region-shifted.
6058         (cua-mode): Enable shift-select-mode.
6060 2013-12-08  Leo Liu  <sdl.web@gmail.com>
6062         * progmodes/flymake.el (flymake-popup-current-error-menu):
6063         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
6064         (flymake-posn-at-point-as-event, flymake-popup-menu)
6065         (flymake-make-emacs-menu): Remove.  (Bug#16077)
6067 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6069         * rect.el (rectangle-mark-mode): Activate mark even if
6070         transient-mark-mode is off (bug#16066).
6071         (rectangle--highlight-for-redisplay): Fix boundary condition when point
6072         is > mark and at bolp.
6074         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6075         (region-extract-function): Use it.
6076         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6077         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6078         Delete functions.
6079         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6080         kill-ring-save, kill-region, delete-char, delete-forward-char.
6081         Ignore self-insert-iso.
6083         * emulation/cua-gmrk.el (cua--init-global-mark):
6084         Ignore `self-insert-iso'.
6086         * emulation/cua-base.el (cua--prefix-copy-handler)
6087         (cua--prefix-cut-handler): Rely on region-extract-function rather than
6088         checking cua--rectangle.
6089         (cua-delete-region): Use region-extract-function.
6090         (cua-replace-region): Delete function.
6091         (cua-copy-region, cua-cut-region): Obey region-extract-function.
6092         (cua--pre-command-handler-1): Don't do the delete-selection thing.
6093         (cua--self-insert-char-p): Ignore `self-insert-iso'.
6094         (cua--init-keymaps): Don't remap delete-selection commands.
6095         (cua-mode): Use delete-selection-mode instead of rolling our own
6096         (bug#16085).
6098         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6099         Obey region-extract-function.
6101         Make registers and delete-selection-mode work on rectangles.
6102         * register.el (describe-register-1): Don't modify the register's value.
6103         (copy-to-register): Obey region-extract-function.
6104         * delsel.el (delete-active-region): Obey region-extract-function.
6106 2013-12-08  Leo Liu  <sdl.web@gmail.com>
6108         * progmodes/flymake.el (flymake, flymake-error-bitmap)
6109         (flymake-warning-bitmap, flymake-fringe-indicator-position)
6110         (flymake-compilation-prevents-syntax-check)
6111         (flymake-start-syntax-check-on-newline)
6112         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6113         (flymake-start-syntax-check-on-find-file, flymake-log-level)
6114         (flymake-xml-program, flymake-master-file-dirs)
6115         (flymake-master-file-count-limit)
6116         (flymake-allowed-file-name-masks): Relocate.
6117         (flymake-makehash, flymake-float-time)
6118         (flymake-replace-regexp-in-string, flymake-split-string)
6119         (flymake-get-temp-dir): Remove.
6120         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6121         (flymake-current-row, flymake-selected-frame)
6122         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6123         related functions.  (Bug#16077)
6125 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
6127         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6129 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
6131         * help-fns.el (describe-function-1): Use new advice-* functions
6132         rather than old ad-* functions.  Fix function type description and
6133         source links for advised functions and subrs.
6135 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6137         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6139 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
6141         * progmodes/compile.el (compilation-start):
6142         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6144         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6145         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
6147 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
6149         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6150         Touch up the last change.
6152 2013-12-06  Leo Liu  <sdl.web@gmail.com>
6154         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6155         (inferior-octave-startup): Always use "octave> " for prompt.
6156         (octave-goto-function-definition)
6157         (octave-sync-function-file-names)
6158         (octave-find-definition-default-filename): Remove redundant backquotes.
6160 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
6162         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6163         syntax for `?'.
6164         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6165         where appropriate already.
6166         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6167         end of method names (Bug#15874).
6169 2013-12-06  Juri Linkov  <juri@jurta.org>
6171         * isearch.el (isearch--saved-overriding-local-map):
6172         New internal variable.
6173         (isearch-mode): Set it to the initial value of
6174         `overriding-terminal-local-map'.
6175         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6176         with `isearch--saved-overriding-local-map'.  (Bug#16035)
6178 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
6180         * progmodes/octave.el (inferior-octave-completion-table):
6181         Turn back into function, use `completion-table-with-cache'
6182         (Bug#11906).  Update all references.
6184         * minibuffer.el (completion-table-with-cache): New function.
6186 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
6188         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6190 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
6192         * net/eww.el (eww-current-source): New variable to store page
6193         source.
6194         (eww-display-html, eww-mode, eww-save-history)
6195         (eww-restore-history): Use it.
6196         (eww-view-source): New command to view page source.
6197         Opportunistically uses `html-mode' to highlight the buffer.
6198         (eww-mode-map): Install it.
6200 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
6202         * net/dbus.el (dbus-unregister-service)
6203         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6204         Fix docstring.
6205         (dbus-unregister-service): Skip :serial entries in
6206         `dbus-registered-objects-table'.
6207         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6209 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
6211         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6212         around keywords with extra `split-string' argument.
6214 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
6216         * windmove.el (windmove-other-window-loc): Handle navigation
6217         between windows (excluding the minibuffer window - Bug#16017).
6219 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
6221         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6222         in D-Bus type syntax.
6223         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6224         preserve unibyte strings.  (Bug#16048)
6226 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6228         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6229         Call force-mode-line-update is the proper buffer (bug#16042).
6231 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
6233         * vc/log-edit.el (log-edit-add-new-comment): Rename to
6234         `log-edit-remember-comment', make argument optional.  Adjust all
6235         callers.
6236         (log-edit-mode): Add `log-edit-remember-comment' to
6237         `kill-buffer-hook' locally.
6238         (log-edit-kill-buffer): Don't remember comment explicitly since
6239         the buffer is killed anyway.
6241 2013-12-04  Juri Linkov  <juri@jurta.org>
6243         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6244         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
6246 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
6248         * notifications.el (notifications-close-notification): Call the
6249         D-Bus method with ID being a `:uint32'.  (Bug#16030)
6251 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
6253         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6255 2013-12-03  Juri Linkov  <juri@jurta.org>
6257         * progmodes/compile.el (compilation-start): Rename window alist
6258         entry `no-display-ok' to `allow-no-window'.
6260         * simple.el (shell-command): Add window alist entry
6261         `allow-no-window' to `display-buffer'.
6262         (async-shell-command): Doc fix.
6264         * window.el (display-buffer-no-window): New action function.
6265         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
6267 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
6269         * vc/log-edit.el (log-edit-set-header): Extract from
6270         `log-edit-toggle-header'.
6271         (log-edit-extract-headers): Separate the summary, when extracted
6272         from header, from the rest of the message with an empty line.
6274         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6275         line, if present, to the Summary header.
6277 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6279         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6280         in current-buffer (bug#16029).
6282 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
6284         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6285         (debugger-mode-map): Bind it.
6286         (debugger--backtrace-base): New function.
6287         (debugger-eval-expression): Use it.
6288         (debugger-frame-number): Skip local vars when present.
6289         (debugger--locals-visible-p, debugger--insert-locals)
6290         (debugger--show-locals, debugger--hide-locals): New functions.
6292 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
6294         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6295         "LC_ALL".
6296         (tramp-get-remote-locale): New defun.
6297         (tramp-open-connection-setup-interactive-shell): Use it.
6299 2013-12-02  Leo Liu  <sdl.web@gmail.com>
6301         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
6303         * progmodes/sh-script.el (sh-shell-process):
6304         * progmodes/octave.el (inferior-octave-process-live-p):
6305         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6306         (gdb-inferior-io-sentinel):
6307         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6309 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
6311         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6312         `save-selected-window' to `log-edit-hide-buf'.  This makes
6313         `log-edit-show-files' idempotent.
6314         (log-edit-show-files): Mark the new window as dedicated.
6316 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
6318         * vc/log-edit.el (log-edit-mode-map): Add binding for
6319         `log-edit-kill-biffer'.
6320         (log-edit-hide-buf): Add a FIXME comment.
6321         (log-edit-add-new-comment): New function, extracted from
6322         `log-edit-done'.
6323         (log-edit-done, log-edit-add-to-changelog): Use it.
6324         (log-edit-kill-buffer): New command.
6326 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6328         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6329         instead of killing the buffer.
6331 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6333         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6335 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6337         * net/eww.el (eww-form-checkbox-selected-symbol)
6338         (eww-form-checkbox-symbol): New customizable variable.
6339         (eww-form-checkbox, eww-toggle-checkbox):
6340         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6342         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6343         (shr--get-media-pref, shr--extract-best-source): New function.
6344         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6345         no :src tag was specified.
6347         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6348         (eww-render): Handle `eww-use-external-browser-for-content-type'.
6349         Use \\` to match beginning of string instead of ^.
6350         (eww-browse-with-external-browser): Provide optional URL parameter.
6351         (eww-render): Set `eww-current-title' back to "".
6353         * net/shr.el (shr-tag-video): Display content for video if no
6354         poster is available.
6355         (shr-tag-audio): Add support for <audio> tag.
6357         * net/eww.el (eww-text-input-types): New const.
6358         (eww-process-text-input): Treat input types in
6359         `eww-text-input-types' as text.
6361         * net/shr.el (shr-tag-table): Fix comment typo.
6363 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6365         * net/eww.el (eww-follow-link): New command to avoid reloading
6366         pages when we follow #target links (bug#15243).
6367         (eww-quit): Special mode buffers shouldn't query before exiting.
6369 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6371         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6372         forms.
6374 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6376         * net/eww.el (eww-restore-history): Update the window title after
6377         moving in the history.
6378         (eww-current-dom): New variable used to save the current DOM.
6380 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
6382         * vc/log-edit.el (log-edit-mode-map): Add binding for
6383         `log-edit-beginning-of-line'.
6384         (log-edit-setup-add-author): New user option.
6385         (log-edit-beginning-of-line): New command.
6386         (log-edit): Move major mode call above the contents setup so that
6387         the local variable values are already applied.
6388         (log-edit): Only insert "Author: " when
6389         `log-edit-setup-add-author' is non-nil.
6390         (log-edit): When SETUP is non-nil, position point after ": "
6391         instead of point-min.
6393 2013-12-01  Glenn Morris  <rgm@gnu.org>
6395         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6397 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
6399         * startup.el (fancy-splash-frame): On MS-Windows, trigger
6400         redisplay to make sure the initial frame gets a chance to become
6401         visible.  (Bug#16014)
6403 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
6405         Support resizing frames and windows pixelwise.
6406         * cus-start.el (frame-resize-pixelwise)
6407         (window-resize-pixelwise): New entries.
6408         * emacs-lisp/debug.el (debug): Use window-total-height instead
6409         of window-total-size.
6410         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6411         * help.el (describe-bindings-internal): Use help-buffer as
6412         argument for with-help-window.
6413         (temp-buffer-max-width): New option.
6414         (resize-temp-buffer-window, help-window-setup)
6415         (with-help-window): Rewrite.
6416         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
6417         dragging dividers.
6418         * window.el (frame-char-size, window-min-pixel-height)
6419         (window-safe-min-pixel-height, window-safe-min-pixel-width)
6420         (window-min-pixel-width, window-safe-min-pixel-size)
6421         (window-combination-p, window-safe-min-size)
6422         (window-resizable-p, window--size-to-pixel)
6423         (window--pixel-to-size, window--resize-apply-p): New functions.
6424         (window-safe-min-height): Fix doc-string.
6425         (window-size, window-min-size, window--min-size-1)
6426         (window-sizable, window-sizable-p, window--min-delta-1)
6427         (window-min-delta, window--max-delta-1, window-max-delta)
6428         (window--resizable, window--resizable-p, window-resizable)
6429         (window-full-height-p, window-full-width-p, window-at-side-p)
6430         (window--in-direction-2, window-in-direction)
6431         (window--resize-reset-1, window--resize-mini-window)
6432         (window-resize, window-resize-no-error)
6433         (window--resize-child-windows-normal)
6434         (window--resize-child-windows, window--resize-siblings)
6435         (window--resize-this-window, window--resize-root-window)
6436         (window--resize-root-window-vertically)
6437         (adjust-window-trailing-edge, enlarge-window, shrink-window)
6438         (maximize-window, minimize-window, delete-window)
6439         (quit-restore-window, window-split-min-size, split-window)
6440         (balance-windows-2, balance-windows)
6441         (balance-windows-area-adjust, balance-windows-area)
6442         (window--state-get-1, window-state-get, window--state-put-1)
6443         (window--state-put-2, window-state-put)
6444         (display-buffer-record-window, window--display-buffer):
6445         Make functions handle pixelwise sizing of windows.
6446         (display-buffer--action-function-custom-type)
6447         (display-buffer-fallback-action):
6448         Add display-buffer-in-previous-window.
6449         (display-buffer-use-some-window): Resize window to height it had
6450         before.
6451         (fit-window-to-buffer-horizontally): New option.
6452         (fit-frame-to-buffer): Describe new values.
6453         (fit-frame-to-buffer-bottom-margin): Replace with
6454         fit-frame-to-buffer-margins.
6455         (window--sanitize-margin): New function.
6456         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6457         using window-text-pixel-size.
6459 2013-11-30  Glenn Morris  <rgm@gnu.org>
6461         * emacs-lisp/bytecomp.el (byte-compile-form):
6462         Make the `interactive-only' warning like the `obsolete' one.
6463         * comint.el (comint-run):
6464         * files.el (insert-file-literally, insert-file):
6465         * replace.el (replace-string, replace-regexp):
6466         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6467         (goto-line, insert-buffer, next-line, previous-line):
6468         Tweak `interactive-only' spec.
6470         Stop keeping (most) generated cedet grammar files in the repository.
6471         * Makefile.in (semantic): New.
6472         (compile-main): Depend on semantic.
6474 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6476         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6477         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6479         * uniquify.el (uniquify-buffer-name-style): Change default.
6481         * loadup.el: Preload "uniquify".
6483         * time.el (display-time-update): Update all mode lines (bug#15999).
6485         * electric.el (electric-indent-mode): Enable by default.
6486         * loadup.el: Preload "electric".
6488 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
6490         * emacs-lisp/helpers.el (string-empty-p): New function.
6491         (string-blank-p): New function.
6493 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
6495         * imenu.el (imenu--index-alist): Add missing dot to the docstring
6496         (Bug#14029).
6498 2013-11-29  Andreas Politz  <politza@fh-trier.de>
6499         * imenu.el (imenu--subalist-p): Don't error on non-conses and
6500         allow non-lambda lists as functions.
6501         (imenu--in-alist): Don't recurse into non-subalists.
6502         (imenu): Don't pass function itself as an argument (Bug#14029).
6504 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6506         * progmodes/python.el (python-mode-map): Remove binding for ":".
6507         (python-indent-electric-colon): Remove command.
6508         (python-indent-post-self-insert-function): Integrate the previous code
6509         of python-indent-electric-colon.  Make it conditional on
6510         electric-indent-mode.
6511         (python-mode): Add ?: to electric-indent-chars.
6512         Move python-indent-post-self-insert-function to the end of
6513         post-self-insert-hook.
6515 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6517         * doc-view.el (doc-view-goto-page): Update mode-line.
6519         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6521 2013-11-27  Glenn Morris  <rgm@gnu.org>
6523         * international/charprop.el, international/uni-bidi.el:
6524         * international/uni-category.el, international/uni-combining.el:
6525         * international/uni-comment.el, international/uni-decimal.el:
6526         * international/uni-decomposition.el, international/uni-digit.el:
6527         * international/uni-lowercase.el, international/uni-mirrored.el:
6528         * international/uni-name.el, international/uni-numeric.el:
6529         * international/uni-old-name.el, international/uni-titlecase.el:
6530         * international/uni-uppercase.el:
6531         Remove generated files from VCS repository.
6533 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
6535         * filenotify.el (file-notify-add-watch): Don't special-case
6536         w32notify when computing the directory to watch.
6538 2013-11-27  Glenn Morris  <rgm@gnu.org>
6540         Make bootstrap without generated uni-*.el files possible again.
6541         * loadup.el: Update command-line-args checking for unidata-gen.
6542         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6543         * composite.el, international/characters.el:
6544         Handle unicode tables being undefined.
6546         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6547         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6548         (compile-main): Depend on leim rule.
6549         (leim): New rule.
6550         * loadup.el: Move leim-list.el to leim/ subdirectory.
6551         * startup.el (normal-top-level): No more leim directory.
6552         * international/ja-dic-cnv.el (skkdic-convert):
6553         Disable version-control and autoloads in output files.
6554         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6555         Disable version-control and autoloads in output files.
6556         * leim/quail: Move here from ../leim.
6557         * leim/quail/hangul.el (hangul-input-method-activate):
6558         Add autoload cookie.
6559         (generated-autoload-load-name): Set file-local value.
6560         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6561         (generated-autoload-load-name): Set file-local value.
6563 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
6565         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6566         (eww-add-bookmark): Ask confirmation when add to bookmarks.
6567         (eww-quit): Ask confirmation before quitting eww.
6569 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
6571         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6572         reading output from Diff on MS-Windows and MS-DOS.
6574 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
6576         * emacs-lisp/helpers.el (string-reverse): New function.
6578 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
6580         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6581         names on MS Windows, like "/[::1]:".
6583         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6584         SWITCHES.
6586 2013-11-26  Glenn Morris  <rgm@gnu.org>
6588         * progmodes/python.el (python-indent-guess-indent-offset):
6589         Avoid corner-case error.  (Bug#15975)
6591         Preload leim-list.el.  (Bug#4789)
6592         * loadup.el: Load leim-list.el when found.
6593         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6595 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
6597         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6599         * emacs-lisp/helpers.el (string-join): New function.
6601 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
6603         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6604         Mark as obsolete and replace it with a symbol property.
6605         (byte-compile-form): Use new 'interactive-only property.
6606         * comint.el, files.el, replace.el, simple.el:
6607         Apply new 'interactive-only properly.
6609 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
6611         * window.el (display-buffer-at-bottom): Make sure that
6612         split-window-sensibly creates the new window on bottom
6613         (Bug#15961).
6615 2013-11-23  David Kastrup  <dak@gnu.org>
6617         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6618         on the conflict markers when available.
6619         (smerge--get-marker): New function.
6620         (smerge-end-re, smerge-base-re): Add subgroup.
6622 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6624         * frame.el (handle-focus-in, handle-focus-out): Add missing
6625         interactive spec.
6627 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
6629         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6630         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6632 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6634         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
6635         (gomoku--last-pos): New var.
6636         (gomoku--intangible-chars): New const.
6637         (gomoku--intangible): New function.
6638         (gomoku-mode): Use it.  Derive from special-mode.
6639         (gomoku-move-up): Adjust line count.
6640         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6641         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6642         Simplify accordingly.
6644         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6645         Remove blink-cursor code.
6646         (blink-cursor-timer-function, blink-cursor-suspend):
6647         Don't special-case GUIs.
6648         (blink-cursor-mode): Use focus-in/out-hook.
6650 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
6652         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6653         work when annotation is invisible (Bug#13886).
6655 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
6657         * json.el (json-alist-p): Only return non-nil if the alist has
6658         simple keys (Bug#13518).
6660 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
6662         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6663         when control-statement is the first statement in a buffer (Bug#15956).
6665 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
6667         * imenu.el (imenu-generic-skip-comments-and-strings):
6668         New option (Bug#15560).
6669         (imenu--generic-function): Use it.
6671 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
6673         * minibuffer.el (completion--in-region-1): Scroll the correct window.
6674         (Bug#13898)
6676 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
6678         * emacs-lisp/helpers.el: Add some string helpers.
6679         (string-trim-left): Removes leading whitespace.
6680         (string-trim-right): Removes trailing whitespace.
6681         (string-trim): Removes leading and trailing whitespace.
6683         * subr.el (string-suffix-p): New function.
6685 2013-11-23  Glenn Morris  <rgm@gnu.org>
6687         * progmodes/python.el (python-shell-send-file):
6688         Add option to delete file when done.  (Bug#15647)
6689         (python-shell-send-string, python-shell-send-region): Use it.
6691 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
6693         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6694         to set buffer-read-only to t, never to nil.  (Bug#15938)
6696         * textmodes/tex-mode.el (latex-noindent-environments):
6697         Add safe-local-variable property.  (Bug#15936)
6699 2013-11-23  Glenn Morris  <rgm@gnu.org>
6701         * textmodes/enriched.el (enriched-mode): Doc fix.
6702         * emacs-lisp/authors.el (authors-renamed-files-alist):
6703         Add enriched.doc -> enriched.txt.
6705         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6707 2013-11-22  Leo Liu  <sdl.web@gmail.com>
6709         * progmodes/octave.el (inferior-octave-startup): Spit out error
6710         message.
6712 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
6714         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6715         Improve docstring.
6716         Add :version.
6717         (ruby-encoding-magic-comment-style): Add :version.
6719 2013-11-22  Leo Liu  <sdl.web@gmail.com>
6721         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6722         (Bug#15076)
6723         (octave-help-mode): Adapt to change to help-mode-finish to use
6724         derived-mode-p on 2013-09-17.
6725         (inferior-octave-prompt): Also match octave-gui.
6726         (octave-kill-process): Don't ask twice.  (Bug#10564)
6728 2013-11-22  Leo Liu  <sdl.web@gmail.com>
6730         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6731         (inferior-octave-startup, inferior-octave-check-process)
6732         (inferior-octave-track-window-width-change)
6733         (octave-completion-at-point, octave-eldoc-function): Use it.
6734         (octave-kill-process): Provide confirmation.  (Bug#10564)
6736 2013-11-21  Leo Liu  <sdl.web@gmail.com>
6738         * progmodes/octave.el (octave-mode, inferior-octave-mode):
6739         Fix obsolete variable comment-use-global-state.
6741 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6743         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6744         Add `octave-source-file'.
6745         (octave-source-file): New function.  (Bug#15935)
6747 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
6749         * net/eww.el (eww-local-regex): New variable.
6750         (eww): Use it to detect localhost and similar.
6752 2013-11-21  Leo Liu  <sdl.web@gmail.com>
6754         Add completion for command `ag'.
6755         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6756         (pcomplete/ag): New function.
6757         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
6759 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6761         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6762         (bug#14646).
6763         (make-obsolete): Remove interactive spec.
6765 2013-11-21  Glenn Morris  <rgm@gnu.org>
6767         * startup.el (command-line-1): Use path-separator with -L.
6769 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
6771         * emacs-lisp/package.el (describe-package-1): Add package archive
6772         to shown fields.
6774 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
6776         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6777         Change default to "# encoding: %s" to differentiate it from the
6778         default Ruby encoding comment template.
6780 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
6782         * ses.el (ses-mode): Doc fix.  (Bug#14748)
6784 2013-11-20  Leo Liu  <sdl.web@gmail.com>
6786         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
6788 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
6790         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6791         when rebase or bisect are in progress.
6793 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
6795         * filenotify.el (file-notify-add-watch): Doc fix.
6797 2013-11-19  Leo Liu  <sdl.web@gmail.com>
6799         * obsolete/rcompile.el: Mark obsolete.
6801         * progmodes/compile.el (compilation-start)
6802         (compilation-goto-locus, compilation-find-file):
6803         Pass no-display-ok and handle nil value from display-buffer.
6804         (Bug#13594)
6806         * window.el (display-buffer-alist, display-buffer): Document the
6807         new parameter no-display-ok.  Return either a window or nil
6808         but never a non-window value.
6810 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6812         * electric.el (electric-indent-mode-map): Remove.
6813         (electric-indent-mode): Change the global-map instead (bug#15915).
6815         * textmodes/text-mode.el (paragraph-indent-minor-mode):
6816         Use add-function.
6818 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6820         * emacs-lisp/nadvice.el (remove-function): Align with
6821         add-function's behavior.
6823         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6824         (gdb--string-regexp): New constant.
6825         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6826         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6827         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6828         submatch 1.
6829         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6830         Adjust use accordingly.
6831         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6833 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
6835         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6836         interpolation curlies (Bug#15914).
6838 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
6840         * calc/calc.el (calc-context-sensitive-enter): New variable.
6841         (calc-enter): Use `calc-context-sensitive-enter'.
6843 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
6845         * progmodes/cfengine.el: Version bump.
6846         (cfengine-cf-promises): New defcustom to locate cf-promises.
6847         (cfengine3-vartypes): Add new "data" type.
6848         (cfengine3--current-word): New function to get current name-like
6849         word or its bounds.
6850         (cfengine3--current-function): New function to look up a CFEngine
6851         function's definition.
6852         (cfengine3-format-function-docstring): New function.
6853         (cfengine3-make-syntax-cache): New function.
6854         (cfengine3-documentation-function): New function: ElDoc glue.
6855         (cfengine3-completion-function): New function: completion glue.
6856         (cfengine3-mode): Set `compile-command',
6857         `eldoc-documentation-function', and add to
6858         `completion-at-point-functions'.
6860 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
6862         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6863         `tramp-current-connection'.
6865 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
6867         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6868         nil/self/true/false with "end of symbol".
6870 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
6872         * subr.el (version-regexp-alist): Fix a typo.
6874 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
6876         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6877         "en_US.utf8" and "LC_CTYPE" to "".
6878         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6879         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6881 2013-11-15  Leo Liu  <sdl.web@gmail.com>
6883         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
6885 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6887         * progmodes/gud.el (ctl-x-map):
6888         Remove C-x SPC binding.  (Bug#12342)
6889         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6891 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
6893         * subr.el (version-regexp-alist):
6894         Recognize hg, svn and darcs versions as snapshot versions.
6896         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6897         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6898         (ruby--encoding-comment-required-p): Extract from
6899         `ruby-mode-set-encoding'.
6900         (ruby-mode-set-encoding): Add the ability to always insert an
6901         utf-8 encoding comment.  Fix and simplify coding comment update
6902         logic.
6904 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
6906         * net/tramp-gvfs.el (top): Run init code only when
6907         `tramp-gvfs-enabled' is not nil.
6908         (tramp-gvfs-enabled): Check also :system bus.
6910 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6912         Sync with upstream verilog-mode revision 78e66ba.
6913         * progmodes/verilog-mode.el (verilog-end-of-defun)
6914         (verilog-type-completion, verilog-get-list): Remove unused funcs.
6915         (verilog-get-end-of-defun): Remove unused argument.
6916         (verilog-comment-depth): Remove unused local `e'.
6917         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6918         Don't pass arg to verilog-get-end-of-defun.
6920 2013-11-14  Glenn Morris  <rgm@gnu.org>
6922         * obsolete/assoc.el (aget): Prefix dynamic variable.
6924         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6926 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6928         * widget.el, hfy-cmap.el: Remove bogus package version number.
6930 2013-11-13  Glenn Morris  <rgm@gnu.org>
6932         * replace.el (replace-eval-replacement):
6933         Try to give more helpful error message.  (Bug#15836)
6935         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6936         (archive-7z-update): Avoid custom type mismatches.
6938         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6940 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
6942         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6943         address can be empty.
6945         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6946         Accept nil SWITCHES.
6947         (tramp-gvfs-handle-write-region): Implement APPEND.
6949 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
6951         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6952         binary "|" operator and closing block args delimiter.
6953         Remove FIXME comment referring to Ruby 1.8-only syntax.
6954         (ruby-smie--implicit-semi-p): Not after "|" operator.
6955         (ruby-smie--closing-pipe-p): New function.
6956         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6957         (ruby-smie-rules): Indent after "|".
6959 2013-11-12  Glenn Morris  <rgm@gnu.org>
6961         * ps-print.el (ps-face-attribute-list):
6962         Handle anonymous faces.  (Bug#15827)
6964 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
6966         * window.el (display-buffer-other-frame): Fix doc-string.
6967         (Bug#15868)
6969 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6971         * subr.el (force-mode-line-update): Delete, move to buffer.c.
6973 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
6975         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6976         (tramp-sh-handle-file-local-copy): Don't write a message when
6977         saving temporary files.
6979         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6980         both directories are remote.
6981         (tramp-smb-handle-directory-files): Do not return double entries.
6982         Do not expand full file names.
6983         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6984         (tramp-smb-handle-write-region): Implement APPEND.
6985         (tramp-smb-get-stat-capability): Fix a stupid bug.
6987 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6989         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6991 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
6993         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6994         throwing error over malformed let/let* (bug#15814).
6996 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6998         * iswitchb.el (iswitchb-mode): Mark obsolete.
7000 2013-11-11  Glenn Morris  <rgm@gnu.org>
7002         * international/uni-bidi.el, international/uni-category.el:
7003         * international/uni-name.el, international/uni-numeric.el:
7004         Regenerate for Unicode 6.3.0.
7006 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
7008         * net/tramp.el (tramp-methods):
7009         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7010         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7012 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
7014         * progmodes/sh-script.el (sh-font-lock-keywords-var):
7015         Force highlighting text after Summary keyword in doc face for rpm.
7017 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
7019         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7020         available and the word has no wildcards, append one to the grep pattern.
7021         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7022         (ispell-complete-word): Call `ispell-lookup-words' with the value
7023         independent of `ispell-look-p'.
7025 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
7027         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7028         Not after "||".
7029         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7030         their parent.
7032 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7034         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
7035         (ruby-font-lock-keywords): Use backquote.
7037 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
7039         * progmodes/ruby-mode.el (ruby-smie--forward-token)
7040         (ruby-smie--backward-token): Only consider full-string matches.
7042 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
7044         * faces.el (describe-face): Add distant-foreground.
7046 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
7048         * progmodes/ruby-mode.el: Improve encoding comment handling.
7049         (ruby-encoding-magic-comment-style): New option.
7050         (ruby-custom-encoding-magic-comment-template): New option.
7051         (ruby--insert-coding-comment, ruby--detect-encoding):
7052         New functions extracted from `ruby-mode-set-encoding'.
7053         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7054         to control the style of the auto-inserted encoding comment.
7056 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
7058         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7059         Use `smie-backward-sexp' with token argument.
7061 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
7063         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7064         Remove instrumentation code.
7066 2013-11-08  Glenn Morris  <rgm@gnu.org>
7068         * progmodes/autoconf.el (autoconf-mode):
7069         Tweak comment-start-skip.  (Bug#15822)
7071 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7073         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7074         at bobp (bug#15826).
7075         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7077 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
7079         * man.el (Man-start-calling): New macro, extracted from
7080         Man-getpage-in-background.
7081         (Man-getpage-in-background): Use it.
7082         (Man-update-manpage): New command.
7083         (Man-mode-map): Bind it.
7085 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
7087         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7088         of "and", "or", "&&" and "||".
7089         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7090         argument.  Prohibit opening curly brace because it could only be a
7091         block opener in that position.
7092         (ruby-smie--forward-token, ruby-smie--backward-token):
7093         Separate "|" from "&" or "*" going after it.  That can happen in block
7094         arguments.
7095         (ruby-smie--indent-to-stmt): New function, seeks the end of
7096         previous statement or beginning of buffer.
7097         (ruby-smie-rules): Use it.
7098         (ruby-smie-rules): Check if there's a ":" before a curly block
7099         opener candidate; if there is, it's a hash.
7101 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7103         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7104         (cl--block-wrapper): Fix last accidental change.
7106 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
7108         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7109         Instrument, in order to hunt failure on hydra.
7111 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7113         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7114         malformed bindings form (bug#15814).
7116 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
7118         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7119         "." compared to " @ ".  This incidentally fixes some indentation
7120         examples with "do".
7121         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7122         (ruby-smie-grammar): New tokens: "and" and "or".
7123         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7124         Exclude "and" and "or".  Remove "do" in order to work around token
7125         priorities.
7126         (ruby-smie-rules): Add all infix tokens.  Handle the case of
7127         beginning-of-buffer.
7129 2013-11-06  Glenn Morris  <rgm@gnu.org>
7131         * Makefile.in (setwins_almost, setwins_for_subdirs):
7132         Avoid accidental matches.
7134 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7136         * menu-bar.el (popup-menu): Use key-binding.
7138 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
7140         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7141         menus, support also the menus produced by minor modes.
7142         (Bug#15817)
7144 2013-11-06  Leo Liu  <sdl.web@gmail.com>
7146         * thingatpt.el (thing-at-point-looking-at): Add optional arg
7147         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
7149 2013-11-06  Glenn Morris  <rgm@gnu.org>
7151         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7152         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7153         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7155 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7157         * electric.el (electric-indent-just-newline): New command.
7158         (electric-indent-mode-map): New keymap.
7159         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7160         Re-add :group which weren't redundant.
7162         * electric.el (electric-indent-local-mode): New minor mode.
7163         (electric-indent-functions-without-reindent): New var.
7164         (electric-indent-post-self-insert-function): Use it.
7165         * emacs-lisp/gv.el (buffer-local-value): Add setter.
7167 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
7169         * international/quail.el (quail-help): Be more explicit about the
7170         meaning of the labels shown on the keys.  (Bug#15800)
7172         * startup.el (normal-top-level): Load the subdirs.el files before
7173         setting the locale environment.  (Bug#15805)
7175 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7177         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7178         via arguments so as to get the right ones (bug#15418).
7180         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7182 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
7184         Fix problems found while writing a test suite.
7186         * net/tramp-compat.el (tramp-compat-load): New defun.
7187         * net/tramp.el (tramp-handle-load): Use it.
7189         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7190         "(numberp ok-if-already-exists)" correctly.
7192 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
7194         * international/characters.el (glyphless-char-display-control):
7195         Add usage note.
7197 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
7199         * progmodes/python.el (python-mode):
7200         * progmodes/scheme.el (scheme-mode):
7201         * progmodes/prolog.el (prolog-mode):
7202         * progmodes/ruby-mode.el (ruby-mode):
7203         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7204         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7206 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7208         * rect.el (rectangle--highlight-for-redisplay):
7209         * emacs-lisp/smie.el (smie--next-indent-change):
7210         Use buffer-chars-modified-tick.
7212         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7214         * electric.el (electric-indent-post-self-insert-function):
7215         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7217 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
7219         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7221 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7223         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7224         (bug#15786).
7226 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7228         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
7230         * progmodes/python.el: Fix up last change.
7231         (python-shell--save-temp-file): New function.
7232         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
7233         `string' comes from the current buffer.
7234         (python-shell-send-string-no-output): Remove `msg' arg.
7235         (python--use-fake-loc): New var.
7236         (python-shell-buffer-substring): Obey it.  Try to compensate for the
7237         extra coding line added by python-shell--save-temp-file.
7238         (python-shell-send-region): Use python-shell--save-temp-file and
7239         python-shell-send-file directly.  Add `nomain' argument.
7240         (python-shell-send-buffer): Use python-shell-send-region.
7241         (python-electric-pair-string-delimiter): New function.
7242         (python-mode): Use it.
7244 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
7246         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7247         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7248         environment and decoding all of the default-directory's to here
7249         from command-line.
7250         (command-line): Decode also argv[0].
7252         * loadup.el: Error out if default-directory is a multibyte string
7253         when we are dumping.
7255         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
7257 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
7259         * emacs-lisp/package.el (package-menu-mode)
7260         (package-menu--print-info, package-menu--archive-predicate):
7261         Add Archive column to package list.
7263 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
7265         Fix problems found while writing a test suite.
7267         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7268         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7269         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7270         to nil when running original file name handler.  Otherwise,
7271         there are problems with constructs like "$$FOO".
7273         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7274         for `localname'.
7276 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
7278         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7280         * subr.el (version<, version<=, version=):
7281         Update docstrings with information for snapshot versions.
7283         * helpers.el: New library for misc helper functions.
7284         (hash-table-keys): New function returning a list of hash keys.
7285         (hash-table-values): New function returning a list of hash values.
7287 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
7289         * progmodes/ruby-mode.el (ruby-smie--forward-token)
7290         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7292 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
7294         * textmodes/fill.el (fill-single-char-nobreak-p): New function
7295         checking whether point is after a 1-letter word.
7297 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7299         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7300         Don't infloop when expanding region over `multiline' syntax-type that
7301         begins a line (bug#15778).
7303 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7305         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7306         Make it into a proper minor mode.
7307         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7308         (rectangle-mark-mode-map): New keymap.
7309         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7311 2013-11-04  Glenn Morris  <rgm@gnu.org>
7313         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7315 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7317         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7318         (ruby-smie-rules): Use smie-rule-parent instead.
7320         * emacs-lisp/smie.el (smie-rule-parent): Always call
7321         smie-indent-virtual rather than only for hanging tokens.
7322         (smie--next-indent-change): New helper command.
7324 2013-11-03  Glenn Morris  <rgm@gnu.org>
7326         * Makefile.in (abs_srcdir): Remove.
7327         (emacs): Unset EMACSLOADPATH.
7329 2013-11-02  Glenn Morris  <rgm@gnu.org>
7331         * Makefile.in (EMACS): Use a relative filename.
7332         (abs_top_builddir): Remove.
7333         (custom-deps, finder-data, autoloads): Use --chdir.
7335         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7337         Use relative filenames in TAGS files.
7338         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7339         (lisptagsfiles4, TAGS): Use relative file names.
7340         (TAGS-LISP): Remove.
7341         (maintainer-clean): No more TAGS-LISP file.
7343         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7344         (lisptagsfiles4): Use absolute filenames again.
7345         (TAGS, TAGS-LISP): Not everything needs to run in one line.
7346         Remove all *loaddefs files, not just the first.  Remove esh-groups.
7347         (maintainer-clean): Delete TAGS, TAGS-LISP.
7349 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
7351         * emacs-lisp/package.el (package-version-join):
7352         Recognize snapshot versions.
7354 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
7356         * subr.el (version-regexp-alist): Add support for snapshot versions.
7358 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
7360         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7361         New function, replacement for `smie-rule-parent' for when we want to
7362         skip over our direct parent if it's an assignment token..
7363         (ruby-smie-rules): Use it.
7365 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
7367         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7368         unconditionally.  Remove now unnecessary forward declarations.
7369         Remove XEmacs-specific setup.
7370         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7371         (ruby-font-lock-syntactic-keywords)
7372         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7373         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7374         (ruby-here-doc-end-syntax): Remove.
7375         (ruby-mode): Don't check whether `syntax-propertize-rules' is
7376         defined as function.
7378 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
7380         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7382 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
7384         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7385         table and abbrev table, `define-derived-mode' does that for us
7386         anyway.
7388 2013-11-01  Glenn Morris  <rgm@gnu.org>
7390         * Makefile.in: Remove manual mh-e dependencies (writing .elc
7391         files is atomic for some time, so no parallel compilation issues).
7393 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
7395         * faces.el (face-x-resources): Add :distant-foreground.
7396         (region): Use :distant-foreground for gtk and ns.
7398 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
7400         Allow multiple bibliographies when BibLaTeX is used rather than
7401         BibTeX.
7402         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7403         (reftex-locate-bibliography-files): Us it.
7405 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
7407         * image.el (image-type-header-regexps): Fix the 'pbm' part to
7408         allow comments in pbm files.
7410         * term/w32-win.el (dynamic-library-alist): Support newer versions
7411         of libjpeg starting with v7: look only for the DLL from the
7412         version against which Emacs was built.
7413         Support versions of libpng beyond 1.4.x.
7414         Support libtiff v4.x.
7416 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
7418         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7419         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7420         Add property :safe.
7421         (ruby-deep-arglist): Add property :type.
7423 2013-10-31  Glenn Morris  <rgm@gnu.org>
7425         * Makefile.in (custom-deps, finder-data): No need to setq the target
7426         variables, we are in the right directory and the defaults work fine.
7428 2013-10-30  Glenn Morris  <rgm@gnu.org>
7430         * Makefile.in (autoloads): Do not use abs_lisp.
7432         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7433         `newline' does not respect `standard-output', so use `princ'.
7435 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
7437         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
7438         * buff-menu.el (Buffer-menu--unmark): New function.
7439         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7441 2013-10-30  Glenn Morris  <rgm@gnu.org>
7443         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7445         * emacs-lisp/package.el (lm-homepage): Declare.
7447         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7448         Fix doc typos.
7450         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7452         * Makefile.in (finder-data, autoloads, update-subdirs)
7453         (compile-main, compile-clean, compile-always, bootstrap-clean):
7454         Check return value of cd.
7455         (compile-calc): Remove.
7457 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7459         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7461         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7462         (byte-compile-and-folded): New function.
7463         (=, <, >, <=, >=): Use it.
7465         * dos-w32.el (minibuffer-history-case-insensitive-variables)
7466         (path-separator, null-device, buffer-file-coding-system)
7467         (lpr-headers-switches): Check system-type before modifying them.
7468         (find-buffer-file-type-coding-system): Mark obsolete.
7469         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7470         find-file-not-found-set-buffer-file-coding-system.
7471         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7472         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7473         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7474         (w32-direct-print-region-helper, w32-direct-print-region-function)
7475         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7476         * startup.el (normal-top-level-add-subdirs-to-load-path):
7477         * ps-print.el (ps-print-region-function):
7478         * lpr.el (print-region-function): Use new name.
7480         * subr.el (custom-declare-variable-early): Remove function.
7481         (custom-declare-variable-list): Remove var.
7482         (error, user-error): Remove `while' loop.
7483         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7484         (user-emacs-directory-warning, locate-user-emacs-file):
7485         Move to files.el.
7486         * simple.el (read-quoted-char-radix, read-quoted-char):
7487         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7488         Move from subr.el.
7489         * custom.el (custom-declare-variable-list): Don't process
7490         custom-declare-variable-list.
7492         * progmodes/python.el (python-shell-get-buffer): New function.
7493         (python-shell-get-process): Use it.
7494         (python-shell-send-string): Always use utf-8 and add a cookie to tell
7495         Python which encoding was used.  Don't split-string since we only care
7496         about the first line.  Return the temp-file, if applicable.
7497         (python-shell-send-region): Tell compile.el how to turn locations in
7498         the temp-file into locations in the source buffer.
7500 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7502         * subr.el (undefined): Add missing behavior from the C code for
7503         unbound keys.
7505         * rect.el: Use lexical-binding.  Add new rectangular region support.
7506         (rectangle-mark): New command.
7507         (rectangle--region): New var.
7508         (deactivate-mark-hook): Reset rectangle--region.
7509         (rectangle--extract-region, rectangle--insert-for-yank)
7510         (rectangle--highlight-for-redisplay)
7511         (rectangle--unhighlight-for-redisplay): New functions.
7512         (region-extract-function, redisplay-unhighlight-region-function)
7513         (redisplay-highlight-region-function): Use them to handle
7514         rectangular region.
7515         * simple.el (region-extract-function): New var.
7516         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7517         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7518         (kill-region): Replace obsolete `yank-handler' arg with `region'.
7519         (copy-region-as-kill, kill-ring-save): Add `region' argument.
7520         (redisplay-unhighlight-region-function)
7521         (redisplay-highlight-region-function): New vars.
7522         (redisplay--update-region-highlight): New function.
7523         (pre-redisplay-function): Use it.
7524         (exchange-point-and-mark): Don't deactivate the mark before
7525         reactivate-it anyway.
7526         * comint.el (comint-kill-region): Remove yank-handler argument.
7527         * delsel.el (delete-backward-char, backward-delete-char-untabify)
7528         (delete-char): Remove property, since it's now part of their
7529         default behavior.
7530         (self-insert-iso): Remove property since this command doesn't exist.
7532         * emacs-lisp/package.el (package--download-one-archive)
7533         (describe-package-1): Don't query the user about final newline.
7535 2013-10-29  Daniel Colascione  <dancol@dancol.org>
7537         * net/tramp.el (tramp-methods): Document new functionality.
7538         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7539         tramp-hostname-checker if method provides one instead of scanning
7540         argument list for "%h" to decide hostname acceptability.
7542 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
7544         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7545         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7546         Handle COPY-CONTENTS.  (Bug#15737)
7548 2013-10-28  Daiki Ueno  <ueno@gnu.org>
7550         * epa-file.el
7551         (epa-file-cache-passphrase-for-symmetric-encryption):
7552         Document that this option has no effect with GnuPG 2.0 (bug#15552).
7554 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
7556         * image.el (defimage, image-load-path): Doc fixes.
7558 2013-10-27  Alan Mackenzie  <acm@muc.de>
7560         Indent statements in macros following "##" correctly.
7561         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7562         Modify the "#" arm of a cond form to handle "#" and "##" operators.
7564 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7566         * linum.el (linum-update-window): Fix boundary test (bug#13446).
7568 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
7570         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7571         after `=' is probably a new expression.
7573 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7575         * man.el (man-imenu-title): New option.
7576         (Man-mode-map): Add menu.  (Bug#15722)
7577         (Man-mode): Add imenu to menu.
7579 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
7581         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7582         specific in what the first arg can be: a non-keyword word,
7583         string/regexp/percent literal opener, opening paren, or unary
7584         operator followed directly by word.
7586 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7588         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7589         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7590         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7591         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7592         Remove vars, they do not apply any more.
7593         (prolog-mode-abbrev-table): Remove redundant declaration.
7594         (prolog-upper-case-string, prolog-lower-case-string): Remove.
7595         (prolog-use-smie): Remove.
7596         (prolog-smie-rules): Add indentation rule for the if-then-else layout
7597         supported by prolog-electric-if-then-else-flag.
7598         (prolog-mode-variables, prolog-menu): Use setq-local.
7599         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7600         Remove binding to `Backspace' since this key doesn't exist anyway.
7601         Remove bindings for electric self-inserting keys.
7602         (prog-mode): Assume it's defined.
7603         (prolog-post-self-insert): New function.
7604         (prolog-mode): Use it.
7605         (prolog-indent-line, prolog-indent-level)
7606         (prolog-find-indent-of-matching-paren)
7607         (prolog-indentation-level-of-line, prolog-goto-comment-column)
7608         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7609         (prolog-goto-next-paren, prolog-in-string-or-comment)
7610         (prolog-tokenize, prolog-inside-mline-comment)
7611         (prolog-find-start-of-mline-comment): Remove functions.
7612         (prolog-find-unmatched-paren, prolog-clause-end)
7613         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7614         (prolog-electric--if-then-else): Rename from
7615         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7616         (prolog-tokenize-searchkey): Remove const.
7617         (prolog-clause-info): Use forward-sexp.
7618         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7619         (prolog-electric-if-then-else): Remove commands.
7620         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7621         for use in post-self-insert-hook.
7622         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7623         for use in post-self-insert-hook.
7624         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7625         for use in post-self-insert-hook.
7626         (prolog-electric--underscore): Rename from prolog-electric--underscore;
7627         adapt it for use in post-self-insert-hook.
7629 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
7631         * emacs-lisp/ert.el (ert-run-tests-interactively):
7632         Use `completing-read'.  (Bug#9756)
7634 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
7636         * simple.el (line-move): Call line-move-1 instead of
7637         line-move-visual when the current window hscroll is zero, but
7638         temporary-goal-column indicates we will need to hscroll as result
7639         of the movement.  (Bug#15712)
7641 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
7643         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7644         capitalization.  Use :visible instead of :active.
7645         Fix `ruby-indent-exp' reference.  Add menu items for the generic
7646         commands that are used with SMIE.
7647         (ruby-do-end-to-brace): Insert space after `{'.
7649 2013-10-25  John Anthony  <john@jo.hnanthony.com>
7651         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
7653         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
7655 2013-10-25  Glenn Morris  <rgm@gnu.org>
7657         * vc/vc.el (vc-print-log): Don't use a working revision unless
7658         one was explicitly specified.  (Bug#15322)
7660 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7662         * subr.el (add-to-list): Preserve return value in compiler-macro
7663         (bug#15692).
7665 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7667         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7668         result.  Ask user to retry using '-all' flag.  (Bug#15701)
7670 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7672         * emacs-lisp/smie.el: New smie-config system.
7673         (smie-config): New defcustom.
7674         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7675         (smie-config-guess, smie-config-save): New commands.
7676         (smie-config--mode-local, smie-config--buffer-local)
7677         (smie-config--trace, smie-config--modefuns): New vars.
7678         (smie-config--advice, smie-config--mode-hook)
7679         (smie-config--setter, smie-config-local, smie-config--get-trace)
7680         (smie-config--guess-value, smie-config--guess): New functions.
7681         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7682         text properties.  Treat "string fence" syntax like string syntax.
7684         * progmodes/sh-script.el (sh-use-smie): Change default.
7685         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7686         (sh-var-value): Simplify by CSE.
7687         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7688         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7689         is used.
7690         (sh-guess-basic-offset): Use cl-incf.
7691         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7693 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
7695         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7696         (bug#15699).
7698 2013-10-24  Glenn Morris  <rgm@gnu.org>
7700         * Makefile.in (abs_top_srcdir): Remove.
7701         (update-subdirs): Use relative path to update-subdirs.
7703 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
7705         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7706         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7707         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7708         Call unmsys--file-name before expand-file-name, not after it.
7710 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
7712         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7713         (ert-test-skipped): New error.
7714         (ert-skip, ert-stats-skipped): New defuns.
7715         (ert--skip-unless): New macro.
7716         (ert-test-skipped): New struct.
7717         (ert--run-test-debugger, ert-test-result-type-p)
7718         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7719         (ert--stats-set-test-and-result, ert-char-for-test-result)
7720         (ert-string-for-test-result, ert-run-tests-batch)
7721         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7722         Handle skipped tests.  (Bug#9803)
7724 2013-10-24  Glenn Morris  <rgm@gnu.org>
7726         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7728         * Makefile.in (abs_top_srcdir): New, set by configure.
7729         (update-subdirs): Correct build-aux location.
7731 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
7733         * vc/vc.el (vc-print-root-log): Always set `default-directory'
7734         value, whether we could auto-deduce `backend', or not.
7736         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7737         with parameters" example.  Simplify the "is it block or is it
7738         hash" check, but also make it more thorough.
7740 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
7742         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
7744 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7746         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7747         { if it is hanging.
7749         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7750         :before ";".
7752 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
7754         * progmodes/compile.el (compilation-directory-matcher)
7755         (compilation-page-delimiter):
7756         Support GNU Make-4.0 directory quoting.  (Bug#15678)
7758 2013-10-23  Leo Liu  <sdl.web@gmail.com>
7760         * ido.el (ido-tidy): Handle read-only text.
7762 2013-10-23  Glenn Morris  <rgm@gnu.org>
7764         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7765         (emacs, compile, compile-always):
7766         Quote entities that might contain whitespace.
7767         (custom-deps, finder-data, autoloads): Use abs_lisp.
7768         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7769         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7770         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7772 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
7774         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7775         Use `following-char'.
7777 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7779         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7780         * progmodes/ruby-mode.el (ruby-smie-rules):
7781         Remove corresponding workaround.  Fix indentation rule of ";" so it
7782         also applies when ";" is the parent.
7784 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
7786         * frame.el (display-screens, display-pixel-height)
7787         (display-pixel-width, display-mm-width, display-backing-store)
7788         (display-save-under, display-planes, display-color-cells)
7789         (display-visual-class, display-monitor-attributes-list):
7790         Mention the optional ‘display’ argument in doc strings.
7792 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
7794         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7795         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
7797 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
7799         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7800         TODO.  Add "." after " @ ".
7801         (ruby-smie--at-dot-call): New function.  Checks if point at method
7802         call with explicit target.
7803         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7804         to the method name tokens when it precedes them.
7805         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7806         (ruby-smie-rules): Add rule for indentation before and after "."
7807         token.
7809 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7811         * textmodes/remember.el (remember-diary-extract-entries):
7812         Avoid add-to-list.
7814         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7815         an instruction.
7817 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
7819         * progmodes/ruby-mode.el (ruby-smie-grammar):
7820         Add (almost) all infix operators.
7821         (ruby-smie--implicit-semi-p): Add new operator chars.
7823         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7824         `smie-down-list'.
7825         (ruby-smie--args-separator-p): Check that there's no newline
7826         between method call and its arguments.
7828 2013-10-20  Alan Mackenzie  <acm@muc.de>
7830         Allow comma separated lists after Java "implements".
7832         * progmodes/cc-engine.el (c-backward-over-enum-header):
7833         Parse commas.
7834         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7835         from a "disallowed" list in enum fontification.
7837 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
7839         * startup.el (default-frame-background-mode): Remove unused defvar.
7841         * progmodes/verilog-mode.el (verilog-mode): Don't set
7842         comment-indent-function globally.
7844 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
7846         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7847         Move Info menu item creation to ns-win.el.
7849         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7850         in menu bar.
7852         * menu-bar.el: Move GNUstep specific menus...
7854         * term/ns-win.el (ns-initialize-window-system): ... to here.
7856 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7858         * simple.el (newline): Only run post-self-insert-hook when
7859         called interactively.
7861 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
7863         * icomplete.el (icomplete-with-completion-tables): Add :version.
7865 2013-10-19  Alan Mackenzie  <acm@muc.de>
7867         Fix fontification bugs with constructors and const.
7869         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7870         CASE 2) Remove the check for the absence of a suffix construct
7871         after a function declaration with only types (no identifiers) in
7872         the parentheses.  Also, accept a function declaration with just a
7873         type inside the parentheses, if this type can be positively
7874         recognised as such, or if a prefix keyword like "explicit" nails
7875         down the construct as a declaration.
7877 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
7879         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7880         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
7881         the problem whereby selecting a menu item that leads to a
7882         minibuffer prompt moves the cursor out of the minibuffer window,
7883         making it hard to type at the prompt.  Suggested by Stefan Monnier
7884         <monnier@iro.umontreal.ca>.
7886 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
7888         * menu-bar.el: Don't make Services menu.
7890 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7892         * ffap.el: Handle "/usr/include/c++/<version>" directories.
7893         (ffap-alist): Use ffap-c++-mode for c++-mode.
7894         (ffap-c++-path): New variable.
7895         (ffap-c++-mode): New function.
7897 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
7899         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
7901 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
7903         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7904         introduced on 2013-09-08, which results in an infinite loop
7905         requesting a password.
7907 2013-10-18  Glenn Morris  <rgm@gnu.org>
7909         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7911 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
7913         Sync with upstream verilog-mode revision 1a6ecec7.
7914         * progmodes/verilog-mode.el (verilog-mode-version): Update.
7915         (verilog-mode-release-date): Remove.
7916         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7917         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7918         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7919         (verilog-auto-tieoff-ignore-regexp)
7920         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7921         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7922         (verilog-signals-with, verilog-dir-cache-preserving)
7923         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7924         Doc fixes.
7925         (verilog-case-fold): New option, to control case folding in
7926         regexp searches, bug597.
7927         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7928         (verilog-string-match-fold, verilog-in-paren-count)
7929         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7930         (verilog-at-close-struct-p): New functions.
7931         (verilog-beg-block-re-ordered, verilog-extended-case-re)
7932         (verilog-forward-sexp, verilog-set-auto-endcomments)
7933         (verilog-leap-to-case-head): Handle "unique0" case.
7934         (verilog-in-constraint-re): New constant.
7935         (verilog-keywords, verilog-type-font-keywords):
7936         Add some SystemVerilog 1800-2012 keywords.
7937         (verilog-label-be): Remove unimplemented argument, bug669.
7938         (verilog-batch-execute-func): When batch expanding clear
7939         create-lockfiles to prevent spurious user locks when a file ends
7940         up not changing.
7941         (verilog-calculate-indent, verilog-calc-1)
7942         (verilog-at-close-constraint-p, verilog-at-constraint-p)
7943         (verilog-do-indent): Fix indentation of nested constraints
7944         and structures.
7945         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7946         (verilog-auto-inst-param): Use verilog-string-match-fold.
7947         (verilog-read-inst-module-matcher):
7948         Fix AUTOINST on gate primitives with #1.
7949         (verilog-read-decls): Fix double-declaring user-defined typed signals.
7950         Reads all user-defined typed variables.
7951         (verilog-read-defines): Fix reading definitions inside comments, bug647.
7952         (verilog-signals-matching-regexp)
7953         (verilog-signals-not-matching-regexp, verilog-auto):
7954         Respect verilog-case-fold.
7955         (verilog-diff-report): Fix line count.
7956         (verilog-auto-assign-modport): Remove unused local `modi'.
7957         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7958         better handle multidimensional arrays.
7959         Fix packed array ports misadding bit index in AUTOINST, bug637.
7960         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7961         to not double-declare existing outputs and inputs, respectively.
7962         (verilog-template-map): Bind U to verilog-sk-uvm-component.
7963         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7964         (verilog-sk-uvm-component): New skeleton.
7965         (verilog-submit-bug-report): Add verilog-case-fold,
7966         remove verilog-mode-release-date.
7968 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
7970         * subr.el (sit-for): Call (input-pending-p t) so as to behave
7971         as before.
7973 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
7975         * textmodes/remember.el (remember): Set buffer-offer-save in
7976         remember buffers (bug#13566).
7978 2013-10-18  Daniel Colascione  <dancol@dancol.org>
7980         When evaluating forms in ielm, direct standard output to ielm
7981         buffer.  Add new ielm-return-for-effect command.  Remove trailing
7982         whitespace throughout.
7984         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7985         (ielm-return-for-effect): New command.
7986         (ielm-send-input): Accept optional `for-effect' parameter.
7987         (ielm-eval-input): Accept optional `for-effect' parameter.
7988         Bind `standard-output' to stream we create using
7989         `ielm-standard-output-impl'.  Suppress printing result when
7990         `for-effect'.
7991         (ielm-standard-output-impl): New function.
7992         (inferior-emacs-lisp-mode): Explain new features in documentation.
7994 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
7996         Code cleanup.
7998         * net/tramp.el (tramp-debug-message): Do not check for connection
7999         buffer.
8000         (tramp-message): Use "vector" connection property.
8002         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8003         (tramp-equal-remote, tramp-eshell-directory-change)
8004         * net/tramp-adb.el (tramp-adb-handle-copy-file)
8005         (tramp-adb-handle-rename-file)
8006         * net/tramp-cmds.el (tramp-list-remote-buffers)
8007         (tramp-cleanup-connection, tramp-cleanup-this-connection)
8008         * net/tramp-compat.el (tramp-compat-process-running-p)
8009         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8010         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8011         (tramp-gvfs-handle-rename-file)
8012         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8013         (tramp-set-file-uid-gid)
8014         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8015         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8016         of `file-remote-p'.
8018         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8019         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8020         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8021         (tramp-gw-open-network-stream): Suppress unrelated traces.
8023         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8024         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8025         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8026         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8027         connection property.
8029         * net/tramp-cache.el (top): Suppress traces when reading
8030         persistency file.
8032         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8033         Refactor common code.  Improve debug message.
8034         (tramp-maybe-open-connection)
8035         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8036         connection buffer too early.
8038         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8039         from `tramp-smb-actions-with-acl'.
8040         (tramp-smb-actions-set-acl): New defconst.
8041         (tramp-smb-handle-copy-directory)
8042         (tramp-smb-action-get-acl): New defun, renamed from
8043         `tramp-smb-action-with-acl'.
8044         (tramp-smb-action-set-acl): New defun.
8045         (tramp-smb-handle-set-file-acl): Rewrite.
8047 2013-10-17  Glenn Morris  <rgm@gnu.org>
8049         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
8051 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8053         * skeleton.el (skeleton-newline): Remove.
8054         (skeleton-internal-1): Use (insert "\n") instead.
8056         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8057         let-bindings.
8059         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8060         forward-sexp-function while we redo its job (bug#15613).
8062 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
8064         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8065         represented by lists.
8067 2013-10-16  Glenn Morris  <rgm@gnu.org>
8069         * tmm.el (tmm--history): New dynamic variable.
8070         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
8072 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
8074         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8075         (tramp-smb-errors): Add error messages.
8076         (tramp-smb-actions-with-acl): New defconst.
8077         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8078         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8079         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8080         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8081         (tramp-smb-get-stat-capability): Fix tests.
8083 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
8085         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8086         (bug#15580).
8088 2013-10-16  Glenn Morris  <rgm@gnu.org>
8090         * ansi-color.el (ansi-color-drop-regexp):
8091         Add 1J, 1K, 2K.  (Bug#15617)
8093         * files.el (hack-local-variables--warned-lexical): New.
8094         (hack-local-variables):
8095         Warn about misplaced lexical-binding.  (Bug#15616)
8097         * net/eww.el (eww-render): Always set eww-current-url,
8098         and update header line.  (Bug#15622)
8099         (eww-display-html): ... Rather than just doing it here.
8101 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
8103         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8104         menu navigations commands.
8106 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
8108         * progmodes/subword.el (subword-capitalize): Be careful when
8109         the search for [[:alpha:]] fails (bug#15580).
8111 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
8113         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8114         to commands that scroll the menu.
8116 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
8118         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8119         Handle methods ending with `?' and `!'.
8121 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
8123         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8124         `japanese-cp932' to `cp932' to fix the problem where saving a
8125         source file written in Shift_JIS twice would end up having
8126         `coding: japanese-cp932' which Ruby could not recognize.
8127         (ruby-mode-set-encoding): Add support for encodings mapped to nil
8128         in `ruby-encoding-map'.
8129         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8130         doesn't need to be explicitly declared in magic comment.
8131         (ruby-encoding-map): Add type declaration for better customize UI.
8133 2013-10-13  Glenn Morris  <rgm@gnu.org>
8135         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8136         Occur buffers are read-only.  http://bugs.debian.org/720775
8138         * emacs-lisp/authors.el (authors-fixed-entries):
8139         Comment out old alpha stuff.
8141 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
8143         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8144         to `after-save-hook' instead of `before-save-hook'.
8145         (ruby-mode-set-encoding): Use the value of coding system used to
8146         write the file.  Call `basic-save-buffer-1' after modifying the
8147         buffer.
8149 2013-10-13  Alan Mackenzie  <acm@muc.de>
8151         Fix indentation/fontification of Java enum with
8152         "implements"/generic.
8154         * progmodes/cc-engine.el (c-backward-over-enum-header):
8155         Extracted from the three other places and enhanced to handle generics.
8156         (c-inside-bracelist-p): Uses new function above.
8157         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8158         function above.
8159         (c-font-lock-enum-tail): Uses new function above.
8161 2013-10-13  Kenichi Handa  <handa@gnu.org>
8163         * international/mule-cmds.el (select-safe-coding-system): Remove a
8164         superfluous condition in chekcing whether a coding system is safe
8165         or not.
8167 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
8169         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
8171 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
8173         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
8175 2013-10-13  Glenn Morris  <rgm@gnu.org>
8177         * menu-bar.el (menu-bar-update-buffers):
8178         Unify Buffers menu prompt string.  (Bug#15576)
8180         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
8182         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8183         Add some entries.
8184         (authors-fixed-entries): Use accented form of name.
8186 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8188         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8189         method calls (bug#15594).
8190         (ruby-smie--args-separator-p): New function.
8191         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8192         recognize paren-free method calls.
8194         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8195         internals of universal-argument.
8197 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
8199         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8200         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8201         dropped menu on second mouse click on the menu bar.
8203 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8205         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8206         (explicit-shell-file-name): Declare.
8207         (sh--vars-before-point, sh--cmd-completion-table): New functions.
8208         (sh-completion-at-point-function): New function.
8209         (sh-mode): Use it.
8210         (sh-smie--keyword-p): Remove unused argument.
8211         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8212         vars.
8213         (sh-set-shell): Always setup SMIE, even if we use the
8214         old indentation code.
8216 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
8218         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8219         cases of ? and =.
8220         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
8221         predicate would return nil are almost non-existent.
8222         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8224         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8225         cache also after commands that modify the buffer but don't move
8226         point.
8228 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8230         * env.el (substitute-env-in-file-name): New function.
8231         (substitute-env-vars): Extend the meaning of the optional arg.
8233 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
8235         * term/w32-win.el (dynamic-library-alist): Define separate lists
8236         of GIF DLLs for versions before and after 5.0.0 of giflib.
8237         (Bug#15531)
8239 2013-10-10  João Távora  <joaotavora@gmail.com>
8241         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8242         not locked, use last revision and current source as
8243         defaults.  (Bug#15569)
8245 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
8247         * menu-bar.el (menu-bar-open): Don't use popup-menu if
8248         menu-bar is hidden.
8250 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
8252         * window.el (pop-to-buffer-same-window): Fix doc-string.
8253         (Bug#15492)
8255 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8257         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8259 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
8261         * calendar/icalendar.el (icalendar-import-file):
8262         Fix interactive spec.  (Bug#15482)
8264 2013-10-10  Glenn Morris  <rgm@gnu.org>
8266         * desktop.el (desktop-save): Default to saving in .emacs.d,
8267         since PWD is no longer in desktop-path by default.  (Bug#15319)
8269         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8270         now that text mode has a menu with the same entry.
8271         (menu-bar-text-mode-auto-fill): Remove now unused func.
8272         * textmodes/text-mode.el (text-mode-map):
8273         Use auto-fill help text from menu-bar.el.
8275 2013-10-10  John Anthony  <john@jo.hnanthony.com>
8277         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
8279 2013-10-09  Juri Linkov  <juri@jurta.org>
8281         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8282         instead of this-command-keys.  Add universal-argument-more and
8283         universal-argument-minus to the list of prefix commands.  (Bug#15568)
8285 2013-10-09  Glenn Morris  <rgm@gnu.org>
8287         * vc/vc-svn.el (vc-svn-create-repo):
8288         Expand paths in file://... url.  (Bug#15446)
8290         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8291         Add some entries.
8292         (authors): Remove unused local variables.
8294 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8296         * profiler.el: Create a more coherent calltree from partial backtraces.
8297         (profiler-format): Hide the tail with `invisible' so that C-s can still
8298         find the hidden elements.
8299         (profiler-calltree-depth): Don't recurse so enthusiastically.
8300         (profiler-function-equal): New hash-table-test.
8301         (profiler-calltree-build-unified): New function.
8302         (profiler-calltree-build): Use it.
8303         (profiler-report-make-name-part): Indent the calltree less.
8304         (profiler-report-mode): Add visibility specs for profiler-format.
8305         (profiler-report-expand-entry, profiler-report-toggle-entry):
8306         Expand the whole subtree when provided with a prefix arg.
8308 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
8310         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8311         iuwu-mod token.
8312         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8313         hanging iuwu-mod token.
8314         (ruby-smie--forward-token): Do not include a dot after a token in
8315         that token.
8316         (ruby-smie--backward-token): Likewise.
8318 2013-10-08  Juri Linkov  <juri@jurta.org>
8320         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8321         to isearch-other-control-char.
8322         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8323         and isearch-post-command-hook to post-command-hook.
8324         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8325         and isearch-post-command-hook from post-command-hook.
8326         (isearch-unread-key-sequence)
8327         (isearch-reread-key-sequence-naturally)
8328         (isearch-lookup-scroll-key, isearch-other-control-char)
8329         (isearch-other-meta-char): Remove functions.
8330         (isearch-pre-command-hook, isearch-post-command-hook):
8331         New functions based on isearch-other-meta-char rewritten
8332         relying on the new behavior of overriding-terminal-local-map
8333         that does not replace the local keymaps any more.  (Bug#15200)
8335 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
8337         Support menus on text-mode terminals.
8338         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8339         functionality.
8341         * tooltip.el (tooltip-mode): Don't error out on TTYs.
8343         * menu-bar.el (popup-menu, popup-menu-normalize-position):
8344         Move here from mouse.el.
8345         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8346         and arrow keys.
8347         (tty-menu-navigation-map): New map for TTY menu navigation.
8349         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8351         * frame.el (display-mouse-p): Report text-mode mouse as available
8352         on w32.
8353         (display-popup-menus-p): Report availability if mouse is
8354         available; don't condition on window-system.
8356         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8357         (tty-menu-selected-face): New faces.
8359 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8361         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8362         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8363         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8364         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8365         New constants.
8366         (lisp-mode-variables): New `elisp' argument.
8367         (emacs-lisp-mode): Use it.
8368         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8369         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8371         * indent.el: Use lexical-binding.
8372         (indent-region): Add progress reporter.
8373         (tab-stop-list): Make it implicitly extend to infinity by repeating the
8374         last step.
8375         (indent--next-tab-stop): New function to implement this behavior.
8376         (tab-to-tab-stop, move-to-tab-stop): Use it.
8378 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
8380         * indent.el (indent-rigidly--current-indentation): New function.
8381         (indent-rigidly-map): New var.
8382         (indent-rigidly): Use it to provide interactive mode (bug#8196).
8384 2013-10-08  Bastien Guerry  <bzg@gnu.org>
8386         * register.el (insert-register): Fix 2013-10-07 change.
8388 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8390         * progmodes/perl-mode.el: Use lexical-binding.
8391         Remove redundant :group args.
8392         (perl-nochange): Change default to be closer to other major modes's
8393         standard behavior.
8394         (perl-indent-line): Don't consider text on current line as a
8395         valid beginning of function from which to indent.
8397         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8398         with more than one argument (bug#15538).
8400         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8402         * vc/pcvs.el: Use lexical-binding.
8403         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8404         environment of `eval'.
8405         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8406         than a list of expressions.  Adjust callers.
8407         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8409 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
8411         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8412         case of the dot in a chained method call being on the following line.
8414 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8416         * electric.el (electric-indent-inhibit): New var.
8417         (electric-indent-post-self-insert-function): Use it.
8418         * progmodes/python.el (python-mode): Set it.
8420         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8421         open braces.
8423         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8425         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8426         (css-mode): Use electric-indent-chars.
8428         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8429         (font-lock-beg, font-lock-end): Move before first use.
8430         (nxml-mode): Use syntax-propertize-function.
8431         (nxml-after-change, nxml-after-change1): Adjust accordingly.
8432         (nxml-extend-after-change-region): Remove.
8433         * nxml/xmltok.el: Use lexical-binding.
8434         (xmltok-save): Use `declare'.
8435         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8436         * nxml/nxml-util.el: Use lexical-binding.
8437         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8438         Use `declare'.
8439         * nxml/nxml-ns.el: Use lexical-binding.
8440         (nxml-ns-save): Use `declare'.
8441         (nxml-ns-prefixes-for): Avoid add-to-list.
8442         * nxml/rng-match.el: Use lexical-binding.
8443         (rng--ipattern): Use cl-defstruct.
8444         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8445         (rng-cons-group-after, rng-subst-group-after)
8446         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8447         Use closures instead of `(lambda...).
8449 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
8451         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8452         of BEG and END.
8454         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8455         Use `tramp-handle-insert-file-contents'.
8456         (tramp-gvfs-handle-insert-file-contents): Remove function.
8458         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8459         Use `save-restriction' in order to keep markers.
8461         * net/trampver.el: Update release number.
8463 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8465         * progmodes/compile.el (compilation-parse-errors):
8466         Use compilation--put-prop.
8467         (compilation--ensure-parse): Check compilation-multiline.
8469         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8471         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8472         lexical-binding.
8474         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8476         * progmodes/ruby-mode.el: Fix recently added tests.
8477         (ruby-smie-grammar): Add - and +.
8478         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8479         (ruby-smie--backward-id): New functions.
8480         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8481         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
8482         any more.
8484 2013-10-07  Leo Liu  <sdl.web@gmail.com>
8486         * register.el (register-preview-delay)
8487         (register-preview-functions): New variables.
8488         (register-read-with-preview, register-preview)
8489         (register-describe-oneline): New functions.
8490         (point-to-register, window-configuration-to-register)
8491         (frame-configuration-to-register, jump-to-register)
8492         (number-to-register, view-register, insert-register)
8493         (copy-to-register, append-to-register, prepend-to-register)
8494         (copy-rectangle-to-register): Use register-read-with-preview to
8495         read register.  (Bug#15525)
8497 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
8499         * net/network-stream.el (network-stream-open-starttls): Don't add
8500         --insecure if it's already present, because that gnutls-cli
8501         rejects getting that parameter twice.
8503 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
8505         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8506         keyword, too.
8508 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
8510         * newcomment.el (comment-use-global-state): Change default value
8511         to t, mark obsolete (Bug#15251).
8512         (comment-beginning): In addition to `comment-to-syntax', check the
8513         value of `comment-use-global-state'.
8515 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8517         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8518         (ruby-comment-column): Follow the global default, by default.
8519         (ruby-smie-grammar): Add assignment syntax.
8520         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8521         open-paren, a comma, or a \.
8522         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8523         and line continuations.
8524         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8525         followed by implicit semi-colons.  Add rule for string concatenation
8526         and for indentation at BOB.
8527         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8529         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8530         calling next-sexp, since next-token may have skipped chars which
8531         next-sexp doesn't know should be skipped!
8533 2013-10-05  Leo Liu  <sdl.web@gmail.com>
8535         * progmodes/octave.el (octave-send-region):
8536         Call compilation-forget-errors.
8538 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
8540         * vc/vc-svn.el (vc-svn-find-admin-dir):
8541         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8542         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8543         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8544         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8546 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8548         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8550 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8552         * subr.el (read-passwd): Hide chars even when called within a context
8553         where after-change-functions is disabled (bug#15501).
8554         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8555         until we removed ourself from overriding-terminal-local-map.
8557 2013-10-04  Leo Liu  <sdl.web@gmail.com>
8559         * progmodes/octave.el (inferior-octave-mode):
8560         Call compilation-forget-errors.
8562 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
8564         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8566 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
8568         * net/secrets.el (secrets-create-collection): Add optional
8569         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
8570         dbus-call-method argument.  (Bug#15516)
8572 2013-10-04  Leo Liu  <sdl.web@gmail.com>
8574         * progmodes/octave.el (inferior-octave-error-regexp-alist)
8575         (inferior-octave-compilation-font-lock-keywords): New variables.
8576         (compilation-error-regexp-alist)
8577         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8578         (inferior-octave-mode): Use compilation-shell-minor-mode.
8580 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
8582         * minibuffer.el (completion--replace): Be careful that `end' might be
8583         a marker.
8585 2013-10-03  Daiki Ueno  <ueno@gnu.org>
8587         Add support for package signature checking.
8588         * emacs-lisp/package.el (url-http-file-exists-p)
8589         (epg-make-context, epg-context-set-home-directory)
8590         (epg-verify-string, epg-context-result-for)
8591         (epg-signature-status, epg-signature-to-string)
8592         (epg-check-configuration, epg-configuration)
8593         (epg-import-keys-from-file): Declare.
8594         (package-check-signature): New user option.
8595         (package-unsigned-archives): New user option.
8596         (package-desc): Add `signed' field.
8597         (package-load-descriptor): Set `signed' field if .signed file exists.
8598         (package--archive-file-exists-p): New function.
8599         (package--check-signature): New function.
8600         (package-install-from-archive): Check package signature.
8601         (package--download-one-archive): Check archive signature.
8602         (package-delete): Remove .signed file.
8603         (package-import-keyring): New command.
8604         (package-refresh-contents): Import default keyring.
8605         (package-desc-status): Add "unsigned" status.
8606         (describe-package-1, package-menu--print-info)
8607         (package-menu-mark-delete, package-menu--find-upgrades)
8608         (package-menu--status-predicate): Support "unsigned" status.
8610 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8612         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8613         the new compilation scheme using the new byte-codes.
8615         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8616         (byte-pophandler): New byte codes.
8617         (byte-goto-ops): Adjust accordingly.
8618         (byte-compile--use-old-handlers): New var.
8619         (byte-compile-catch): Use new byte codes depending on
8620         byte-compile--use-old-handlers.
8621         (byte-compile-condition-case--old): Rename from
8622         byte-compile-condition-case.
8623         (byte-compile-condition-case--new): New function.
8624         (byte-compile-condition-case): New function that dispatches depending
8625         on byte-compile--use-old-handlers.
8626         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8627         when we can.
8629         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8630         Optimize under `condition-case' and `catch' if
8631         byte-compile--use-old-handlers is nil.
8632         (disassemble-offset): Handle new bytecodes.
8634 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8636         * subr.el (error): Use `declare'.
8637         (decode-char, encode-char): Use advertised-calling-convention instead
8638         of the docstring to discourage use of the `restriction' arg.
8640 2013-10-03  Daiki Ueno  <ueno@gnu.org>
8642         * epg.el (epg-verify-file): Add a comment saying that it does not
8643         notify verification error as a return value nor a signal.
8644         (epg-verify-string): Ditto.
8646 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
8648         * progmodes/compile.el (compilation-start): Try globbing the arg to
8649         `cd' (bug#15417).
8651 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
8653         Sync with Tramp 2.2.8.
8655         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8656         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8657         * net/trampver.el: Update release number.
8659 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
8661         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8662         and default-process-coding-system for darwin only.
8664 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8666         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8668 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
8670         * vc/vc-git.el (vc-git-grep): Disable pager.
8672 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
8674         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8675         Use :url instead of :homepage, as per
8676         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8678         * newcomment.el (comment-beginning): When `comment-use-syntax' is
8679         non-nil, use `syntax-ppss' (Bug#15251).
8681 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8683         * progmodes/octave.el (inferior-octave-startup-file):
8684         Prefer ~/.emacs.d/init_octave.m.
8686 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
8688         * emacs-lisp/package.el (package-desc-from-define):
8689         Accept additional arguments as plist, convert them to an alist and store
8690         them in the `extras' slot.
8691         (package-generate-description-file): Convert extras alist back to
8692         plist and append to the `define-package' form arguments.
8693         (package--alist-to-plist): New function.
8694         (package--ac-desc): Add `extras' slot.
8695         (package--add-to-archive-contents): Check if the archive-contents
8696         vector is long enough, and if it is, pass its `extras' slot value
8697         to `package-desc-create'.
8698         (package-buffer-info): Call `lm-homepage', pass the returned value
8699         to `package-desc-from-define'.
8700         (describe-package-1): Render the homepage button (Bug#13291).
8702         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8703         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8705 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
8707         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8708         and default-process-coding-system to utf-8-unix (Bug#15402).
8710 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
8712         * subr.el (looking-back): Do not recommend using looking-back.
8714 2013-09-28  Alan Mackenzie  <acm@muc.de>
8716         Fix indentation/fontification of Java enum with "implements".
8718         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8719         regexp which matches "implements", etc., in Java.
8720         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8721         specifier clauses coming after "enum".
8722         * progmodes/cc-fonts.el (c-font-lock-declarations)
8723         (c-font-lock-enum-tail): Check for extra specifier clauses coming
8724         after "enum".
8726 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
8728         * faces.el (region): Change ns_selection_color to
8729         ns_selection_fg_color, add ns_selection_bg_color.
8731 2013-09-28  Leo Liu  <sdl.web@gmail.com>
8733         * progmodes/octave.el (inferior-octave-completion-table)
8734         (inferior-octave-completion-at-point): Minor tweaks.
8736         * textmodes/ispell.el (ispell-lookup-words): Rename from
8737         lookup-words.  (Bug#15460)
8738         (lookup-words): Obsolete.
8739         (ispell-complete-word, ispell-command-loop): All uses changed.
8741 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8743         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8744         (octave-mode-menu): Add octave-send-buffer.
8745         (octave-send-buffer): New function.
8747 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8749         * progmodes/octave.el (octave-mode-map): Add key binding for
8750         octave-lookfor.
8751         (octave-mode-menu): Add octave-lookfor.
8752         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8753         octave-lookfor.
8754         (octave-lookfor): New function.
8756 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8758         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8759         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8760         its convention.
8761         (cl--loop-set-iterator-function): New function.
8762         (cl-loop): Adjust accordingly, so as not to use cl-subst.
8763         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8764         Bind `it' with `let' instead of substituting it with `cl-subst'.
8765         (cl--unused-var-p): New function.
8766         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8767         Eliminate some unused variable warnings (bug#15326).
8769 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
8771         * doc-view.el (doc-view-scale-reset): Rename from
8772         `doc-view-reset-zoom-level'.
8773         (doc-view-scale-adjust): New command.
8774         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8775         `doc-view-scale-adjust'.
8777 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
8779         * doc-view.el (doc-view-reset-zoom-level): New command.
8780         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8781         zoom commands (bug#15466).
8783 2013-09-26  Kenichi Handa  <handa@gnu.org>
8785         * international/quail.el (quail-help): Make it not a command.
8787 2013-09-26  Leo Liu  <sdl.web@gmail.com>
8789         * minibuffer.el (completion-all-sorted-completions): Make args
8790         optional as they are.
8792 2013-09-25  Daniel Colascione  <dancol@dancol.org>
8794         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8795         specs are and that they're not evaluated.
8797 2013-09-24  Sam Steingold  <sds@gnu.org>
8799         * midnight.el (clean-buffer-list-kill-regexps)
8800         (clean-buffer-list-kill-buffer-names): Update for the new Man
8801         buffer naming which includes the object name.
8803 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8805         * eshell/esh-cmd.el (eshell--sep-terms): New var.
8806         (eshell-parse-command, eshell-parse-pipeline): Use it since
8807         eshell-separate-commands requires a dynamic scoped var.
8808         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8810 2013-09-23  Leo Liu  <sdl.web@gmail.com>
8812         * autoinsert.el (auto-insert-alist): Make the value of
8813         lexical-binding match its file setting.
8815 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
8817         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8819         * autoarg.el (autoarg-kp-digit-argument):
8820         * electric.el (Electric-command-loop):
8821         * kmacro.el (kmacro-step-edit-insert):
8822         Do not set universal-argument-num-events.
8824 2013-09-22  Leo Liu  <sdl.web@gmail.com>
8826         * files.el (interpreter-mode-alist): Add octave.
8828 2013-09-21  Alan Mackenzie  <acm@muc.de>
8830         C++: fontify identifier in declaration following "public:" correctly.
8831         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8832         to match "public", etc.
8833         (c-decl-prefix-re): Add ":" into the C++ value.
8834         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8835         bit.  Add a check for a ":" preceded by "public", etc.
8837 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
8839         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8840         recognized by GDB 7.5 and later.
8842 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
8844         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8846 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8848         * subr.el (internal--call-interactively): New const.
8849         (called-interactively-p): Use it (bug#3984).
8851 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
8853         * vc/pcvs.el (cvs-mode-ignore):
8854         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8855         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8857 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8859         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
8860         (eshell-ls-orig-insert-directory): Remove.
8861         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
8862         (eshell-ls-use-in-dired): Use advice-add/remove.
8863         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8864         Add `orig-fun' arg for use in :around advice.
8865         Make it check (redundantly) eshell-ls-use-in-dired.
8867 2013-09-19  Glenn Morris  <rgm@gnu.org>
8869         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8871         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8873         * emacs-lisp/eieio.el (class-parent): Undo previous change.
8875 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
8877         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8878         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8879         (tramp-get-remote-python): New defuns.
8880         (tramp-get-remote-uid-with-perl)
8881         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
8882         contributed by yary <not.com@gmail.com> (tiny change).
8883         (tramp-get-remote-uid-with-python)
8884         (tramp-get-remote-gid-with-python): New defuns.  Python code
8885         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8886         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8888 2013-09-19  Glenn Morris  <rgm@gnu.org>
8890         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8892         * eshell/em-unix.el (eshell-remove-entries):
8893         Rename argument to avoid name-clash with global `top-level'.
8895         * eshell/esh-proc.el (eshell-kill-process-function):
8896         Remove eshell-reset-after-proc from eshell-kill-hook if present.
8897         (eshell-reset-after-proc): Remove unused arg `proc'.
8899         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8900         (directory-files-and-attributes): Mark unused arg.
8902         * eshell/em-unix.el (eshell-remove-entries):
8903         Remove unused arg `path'.  Update callers.
8905         * eshell/em-hist.el (eshell-hist-parse-arguments):
8906         Remove unused arg `silent'.  Update callers.
8908         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8909         Fix (f)boundp mix-up.
8911         * eshell/em-smart.el (eshell-smart-scroll-window)
8912         (eshell-disable-after-change):
8913         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8915 2013-09-18  Alan Mackenzie  <acm@muc.de>
8917         Fix fontification of type when followed by "const".
8918         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8919         "known" types from fontification.
8921 2013-09-18  Glenn Morris  <rgm@gnu.org>
8923         * emacs-lisp/chart.el (x-display-color-cells): Declare.
8924         (chart-face-list): Drop Emacsen without display-color-p.
8926         * net/eww.el (libxml-parse-html-region): Declare.
8927         (eww-display-html): Explicit error if no libxml2 support.
8929         * doc-view.el (doc-view-mode): Silence --without-x compilation.
8931         * image.el (image-type-from-buffer, image-multi-frame-p):
8932         Remove --without-x warning/error.
8934         * mouse.el (mouse-yank-primary):
8935         * term.el (term-mouse-paste):
8936         Reorder to silence --without-x compilation.
8938         * mpc.el (doc-view-mode): Silence --without-x compilation.
8940         * mail/rmailmm.el (rmail-mime-set-bulk-data):
8941         Silence --without-x compilation.
8943         * progmodes/gud.el (gud-find-file, gud-mode):
8944         Silence --without-x compilation.
8945         (tooltip-mode): Declare.
8947         * wdired.el (dired-backup-overwrite): Remove declaration.
8948         (wdired-mode-map): Add doc string.
8950         * custom.el (x-get-resource): Declare.
8952         * eshell/em-glob.el (ange-cache):
8953         * eshell/em-unix.el (ange-cache): Declare.
8955         * faces.el (x-display-list, x-open-connection, x-get-resource):
8956         Declare.
8958         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8959         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8960         Declare.
8962         * frame.el (x-display-grayscale-p, x-display-name): Declare.
8964         * net/gnutls.el (gnutls-log-level): Declare.
8966         * net/shr.el (image-size, image-animate): Declare.
8968         * simple.el (font-info): Declare.
8970         * subr.el (x-popup-dialog): Declare.
8972         * term/common-win.el (x-select-enable-primary)
8973         (x-last-selected-text-primary, x-last-selected-text-clipboard):
8974         Declare.
8976         * term/ns-win.el (x-handle-args): Declare.
8978         * term/x-win.el (x-select-enable-clipboard): Declare.
8980         * term/w32-win.el (create-default-fontset): Declare.
8982         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8983         Declare.
8985         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8986         (fit-frame-to-buffer): Explicit error if --without-x.
8987         (mouse-autoselect-window-select): Silence compiler.
8989         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8991         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8992         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8993         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8994         * eshell/esh-util.el (eshell-sublist):
8995         Remove unused local variables.
8997         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8999         * textmodes/two-column.el: Make 2C-split work for --without-x.
9000         (scroll-bar-columns): Autoload.
9001         (top-level): Require fringe when compiling.
9003 2013-09-18  Leo Liu  <sdl.web@gmail.com>
9005         * subr.el (add-hook): Robustify to handle closure as well.
9007 2013-09-17  Glenn Morris  <rgm@gnu.org>
9009         * simple.el (messages-buffer-mode-map): Unbind "g".
9011 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9013         * help-mode.el (help-mode-finish): Use derived-mode-p.
9014         Remove obsolete highlighting.
9016         * play/life.el (life-mode): Use define-derived-mode.  Derive from
9017         special-mode.
9018         (life): Let-bind inhibit-read-only.
9019         (life-setup): Avoid `setq'.  Use `life-mode'.
9021         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9022         which should not be needed any more.
9023         (package-menu-refresh, package-menu-describe-package): Use user-error.
9025         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9026         (eshell-post-rewrite-command-hook): Make obsolete.
9027         (eshell-parse-command): Simplify.
9028         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9029         (eshell--cmd): Declare.
9030         (eshell-parse-pipeline): Remove unused var `final-p'.
9031         Pass a dynvar to eshell-post-rewrite-command-hook.
9032         Implement the new eshell-post-rewrite-command-function.
9033         (eshell-invoke-directly): Remove unused arg `input'.
9034         * eshell/esh-io.el (eshell-io-initialize):
9035         Use eshell-post-rewrite-command-function (bug#15399).
9036         (eshell--apply-redirections): Rename from eshell-apply-redirections;
9037         adjust to new calling convention.
9038         (eshell-create-handles): Rename args to avoid clashing with dynvar
9039         `standard-output'.
9041 2013-09-17  Glenn Morris  <rgm@gnu.org>
9043         * simple.el (messages-buffer-mode): New major mode.
9044         (messages-buffer): New function.
9045         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9046         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9047         (ert-run-test): Use `messages-buffer' function.
9048         (ert--force-message-log-buffer-truncation): Ignore read-only.
9049         * help.el (view-echo-area-messages): Use `messages-buffer' function.
9050         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9052 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9054         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9056         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9058 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9060         * icomplete.el (icomplete-in-buffer): New var.
9061         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9062         vars and replace them with functions.
9063         (icomplete-minibuffer-setup): Adjust accordingly.
9064         (icomplete--completion-table, icomplete--completion-predicate)
9065         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9066         New functions.
9067         (icomplete-forward-completions, icomplete-backward-completions)
9068         (icomplete-simple-completing-p, icomplete-exhibit)
9069         (icomplete-completions): Use them.
9070         (icomplete--in-region-buffer): New var.
9071         (icomplete--in-region-setup): New function.
9072         (icomplete-mode): Use it.
9074         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9075         (bug#15379).
9076         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9077         return args and options.
9078         (eshell-eval-using-options): Use the new return value of
9079         eshell--do-opts to set the options's vars in their scope.
9080         (eshell--set-option): Rename from eshell-set-option.
9081         Add arg `opt-vals'.
9082         (eshell--process-option): Rename from eshell-process-option.
9083         Add arg `opt-vals'.
9084         (eshell--process-args): Use an `opt-vals' alist to store the options's
9085         values during their processing and return them additionally to the
9086         remaining args.
9088 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
9090         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9091         continuation character an operator, as far as indentation is
9092         concerned (Bug#15369).
9094 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
9096         * window.el (window--state-put-2): Don't process buffer state
9097         when buffer doesn't exist any more (Bug#15382).
9099 2013-09-15  Glenn Morris  <rgm@gnu.org>
9101         * eshell/em-unix.el (eshell/rm):
9102         Make -f ignore missing files.  (Bug#15373)
9104         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
9105         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9106         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9108 2013-09-14  Glenn Morris  <rgm@gnu.org>
9110         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9112 2013-09-13  Glenn Morris  <rgm@gnu.org>
9114         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9115         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
9117 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
9119         * frame.el (x-focus-frame): Mark as declared in frame.c.
9121 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9123         * ls-lisp.el: Use advice-add.
9124         (original-insert-directory): Remove.
9125         (ls-lisp--insert-directory): Rename from insert-directory; add
9126         `orig-fun' argument.
9127         (insert-directory): Advise.
9129 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
9131         * term.el (term-emulate-terminal): Decode the command string
9132         before passing it to term-command-hook.  (Bug#15337)
9134 2013-09-13  Glenn Morris  <rgm@gnu.org>
9136         * eshell/esh-util.el (ange-cache): Move declaration earlier.
9138         * eshell/esh-ext.el (eshell-search-path): Declare.
9140         * eshell/em-prompt.el (eshell/pwd): Autoload it.
9141         Otherwise an error occurs if eshell-dirs module not loaded.
9143         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9145 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
9147         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9148         `tramp-check-proper-host'.  Check for a valid method name.
9150         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9151         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9152         * net/tramp-sh.el (tramp-maybe-open-connection):
9153         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9155         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9156         also for hash values.
9158 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9160         * term/ns-win.el (parameters): Don't declare as dynamic.
9161         (before-make-frame-hook): Don't add ineffective function.
9163         * eshell/*.el: Use lexical-binding (bug#15231).
9165 2013-09-12  Kenichi Handa  <handa@gnu.org>
9167         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9169 2013-09-12  Glenn Morris  <rgm@gnu.org>
9171         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9172         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9174         * subr.el (do-after-load-evaluation): Also give compiler warnings
9175         when obsolete files are used (except by obsolete files).
9177         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9178         in the status output, assume `filename' is the first.  (Bug#15322)
9180         * vc/vc.el (vc-deduce-fileset): Doc fix.
9182         * calc/calc-help.el (Info-goto-node):
9183         * progmodes/cperl-mode.el (Info-find-node):
9184         * vc/ediff.el (Info-goto-node): Update declarations.
9186         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9188         * vc/vc-bzr.el (vc-compilation-mode): Declare.
9189         (vc-bzr-pull): Require vc-dispatcher.
9190         * vc/vc-git.el (vc-compilation-mode): Declare.
9191         (vc-git-pull): Require vc-dispatcher.
9193         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9195         * progmodes/octave.el (help-button-action): Declare.
9197         * shell.el (shell-directory-tracker): Output error as a message
9198         rather than just returning it as a string.
9199         (shell-process-pushd): Remove useless use of message.
9201         * dframe.el (dframe-timer-fn):
9202         * files.el (dir-locals-read-from-file):
9203         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9204         (mpc-format):
9205         * reveal.el (reveal-post-command):
9206         * saveplace.el (load-save-place-alist-from-file):
9207         * shell.el (shell-resync-dirs):
9208         * w32-common-fns.el (x-get-selection-value):
9209         * emacs-lisp/copyright.el (copyright-find-copyright):
9210         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9211         * emulation/tpu-edt.el (tpu-copy-keyfile):
9212         * play/bubbles.el (bubbles--mark-neighbourhood):
9213         * progmodes/executable.el
9214         (executable-make-buffer-file-executable-if-script-p):
9215         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9217 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9219         Cleanup Eshell to rely less on dynamic scoping.
9220         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9221         last-value, and ext-command here.  Bind `args' closer to `body'.
9222         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9223         (eshell--args): Declare new dynamic var.
9224         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
9225         last-value, and ext-command.  Pass `args' to `body'.
9226         (eshell-process-args): Bind eshell--args.
9227         (eshell-set-option): Use eshell--args.
9228         * eshell/eshell.el (eshell): Use derived-mode-p.
9229         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9230         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9231         (eshell-glob-function): Declare.
9232         * eshell/esh-util.el: Require cl-lib.
9233         (eshell-read-hosts-file): Avoid add-to-list.
9234         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9235         `err'.
9236         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9237         Declare.
9238         (eshell/diff): Remove unused var `err'.
9239         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9240         `killflag'.
9241         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9242         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9243         first use.
9244         * eshell/em-glob.el (eshell-glob-matches, message-shown):
9245         Move declaration before first use.
9246         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9247         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9248         rely on cl-return.
9250 2013-09-12  Glenn Morris  <rgm@gnu.org>
9252         * term/ns-win.el (global-map): Remove binding for ispell-next,
9253         deleted 1999-05-29.  (Bug#15357)
9255 2013-09-11  Glenn Morris  <rgm@gnu.org>
9257         * echistory.el (electric-command-history): Remove call to deleted func.
9259         * play/landmark.el (landmark-mode): Fix typos.
9261         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9262         Check cvs-sort-ignore-file is bound.
9264         * savehist.el: No need for cl when compiling on Emacs.
9266 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9268         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9269         (bug#15338).
9270         (eshell-self-insert-command, eshell-send-invisible):
9271         Remove unused argument.
9272         (eshell-handle-control-codes): Remove unused var `orig'.
9273         Avoid delete-backward-char.
9275         * files.el (set-auto-mode): Simplify a bit further.
9277 2013-09-11  Glenn Morris  <rgm@gnu.org>
9279         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9280         (set-auto-mode): Don't regexp-quote elements.
9281         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9282         * progmodes/cc-mode.el (interpreter-mode-alist):
9283         * progmodes/ruby-mode.el (interpreter-mode-alist):
9284         Revert previous change.
9286 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9288         * play/snake.el (snake-mode):
9289         * play/mpuz.el (mpuz-mode):
9290         * play/landmark.el (lm-mode):
9291         * play/blackbox.el (blackbox-mode):
9292         * play/5x5.el (5x5-mode):
9293         * obsolete/options.el (Edit-options-mode):
9294         * net/quickurl.el (quickurl-list-mode):
9295         * net/newst-treeview.el (newsticker-treeview-mode):
9296         * mail/rmailsum.el (rmail-summary-mode):
9297         * mail/mspools.el (mspools-mode):
9298         * locate.el (locate-mode):
9299         * ibuffer.el (ibuffer-mode):
9300         * emulation/ws-mode.el (wordstar-mode):
9301         * emacs-lisp/debug.el (debugger-mode):
9302         * array.el (array-mode):
9303         * net/eudc.el (eudc-mode): Use define-derived-mode.
9304         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9305         Move initialization into declaration.
9306         (mairix-searches-mode): Use define-derived-mode.
9307         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9308         (eudc-edit-hotlist): Use dolist.
9309         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9310         (Man-mode): Use define-derived-mode.
9311         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9312         (Info-edit-mode): Use define-derived-mode.
9313         (Info-cease-edit): Use Info-mode.
9314         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9315         into declaration.
9316         (eshell-mode): Use define-derived-mode.
9317         * chistory.el (command-history-mode-map): Rename from
9318         command-history-map.
9319         (command-history-mode): Use define-derived-mode.
9320         (Command-history-setup): Remove function.
9321         * calc/calc.el (calc-trail-mode-map): New var.
9322         (calc-trail-mode): Use define-derived-mode.
9323         (calc-trail-buffer): Set calc-main-buffer manually.
9324         * bookmark.el (bookmark-insert-annotation): New function.
9325         (bookmark-edit-annotation): Use it.
9326         (bookmark-edit-annotation-mode): Make it a proper major mode.
9327         (bookmark-send-edited-annotation): Use derived-mode-p.
9328         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9329         closer to its ideal place.  Use \' to match EOS.
9331         * profiler.el (profiler-calltree-find): Use function-equal.
9333 2013-09-10  Glenn Morris  <rgm@gnu.org>
9335         * files.el (interpreter-mode-alist): Convert to regexps.
9336         (set-auto-mode): Adapt for this.  (Bug#15306)
9337         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9338         Comment out unused variable.
9339         * progmodes/cc-mode.el (interpreter-mode-alist):
9340         * progmodes/python.el (interpreter-mode-alist):
9341         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9342         * progmodes/sh-script.el (sh-set-shell):
9343         No longer use interpreter-mode-alist to get list of shells.
9345         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9347 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9349         * simple.el: Use set-temporary-overlay-map for universal-argument.
9350         (universal-argument-map): Don't use default-bindings (bug#15317).
9351         Bind switch-frame explicitly.  Replace universal-argument-minus with
9352         a conditional binding.
9353         (universal-argument-num-events, saved-overriding-map): Remove.
9354         (restore-overriding-map): Remove.
9355         (universal-argument--mode): Rename from save&set-overriding-map,
9356         and rewrite.
9357         (universal-argument, universal-argument-more, negative-argument)
9358         (digit-argument): Adjust accordingly.
9359         (universal-argument-minus): Remove.
9360         (universal-argument-other-key): Remove.
9362         * subr.el (with-demoted-errors): Add `format' argument.
9364 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
9366         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
9367         `tramp-cleanup-connection'.
9369         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9370         parameters KEEP-DEBUG and KEEP-PASSWORD.
9372         * net/tramp.el (tramp-file-name-handler):
9373         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9374         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9375         (tramp-maybe-open-connection):
9376         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9377         Use `tramp-cleanup-connection'.
9379         * net/tramp-sh.el (tramp-maybe-open-connection):
9380         Catch 'uname-changed inside the progress reporter.
9382 2013-09-10  Glenn Morris  <rgm@gnu.org>
9384         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
9386         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9387         returns "alternate access method" in mode (eg "-rw-r--r--.").
9389 2013-09-08  Glenn Morris  <rgm@gnu.org>
9391         * saveplace.el (load-save-place-alist-from-file):
9392         Demote errors.  (Bug#15305)
9394 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
9396         Improve compatibility with older Emacsen, and XEmacs.
9398         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9399         only if it is bound.  It isn't for XEmacs.
9400         (with-tramp-progress-reporter): Do not let-bind `result'.
9401         This yields to scoping errors in XEmacs.
9402         (tramp-handle-make-auto-save-file-name): New function, moved from
9403         tramp-sh.el.
9405         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9406         for `make-auto-save-file-name'.
9407         (tramp-adb--gnu-switches-to-ash):
9408         Use `tramp-compat-replace-regexp-in-string'.
9410         * net/tramp-cache.el (tramp-cache-print): Call
9411         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
9413         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9414         bound.  It isn't for XEmacs.
9416         * net/tramp-compat.el (tramp-compat-copy-file):
9417         Catch `wrong-number-of-arguments' error.
9418         (tramp-compat-replace-regexp-in-string): New defun.
9420         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9421         for `make-auto-save-file-name'.
9422         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9423         `copy-file'.
9424         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9425         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9426         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9428         * net/tramp-gw.el (tramp-gw-open-network-stream):
9429         Use `tramp-compat-replace-regexp-in-string'.
9431         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9432         Call `tramp-handle-make-auto-save-file-name'.
9433         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9434         (tramp-sh-file-gvfs-monitor-dir-process-filter)
9435         (tramp-sh-file-inotifywait-process-filter):
9436         Use `tramp-compat-replace-regexp-in-string'.
9437         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9439         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9440         for `make-auto-save-file-name'.
9441         (tramp-smb-handle-copy-directory):
9442         Call `tramp-compat-replace-regexp-in-string'.
9443         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9444         (tramp-smb-handle-copy-file): Improve error message.
9445         (tramp-smb-handle-rename-file): Rename directly only in case
9446         `newname' does not exist yet.  This is a restriction of smbclient.
9447         (tramp-smb-maybe-open-connection): Rerun the function only when
9448         `auth-sources' is non-nil.
9450 2013-09-08  Kenichi Handa  <handa@gnu.org>
9452         * international/characters.el: Set category "^" (Combining) for
9453         more characters.
9455 2013-09-07  Alan Mackenzie  <acm@muc.de>
9457         Correctly fontify Java class constructors.
9458         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9459         in Java Mode.
9460         (c-recognize-typeless-decls): Set the Java value to t.
9461         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9462         While handling a "(", add a check for, effectively, Java, and handle a
9463         "typeless" declaration there.
9465 2013-09-07  Roland Winkler  <winkler@gnu.org>
9467         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9468         field subtitle for entry type book.
9470 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9472         * minibuffer.el: Make minibuffer-complete call completion-in-region
9473         rather than other way around.
9474         (completion--some, completion-pcm--find-all-completions):
9475         Don't delay signals when debugging.
9476         (minibuffer-completion-contents): Beware fields within the
9477         minibuffer contents.
9478         (completion-all-sorted-completions): Use defvar-local.
9479         (completion--do-completion, completion--cache-all-sorted-completions)
9480         (completion-all-sorted-completions, minibuffer-force-complete):
9481         Add args `beg' and `end'.
9482         (completion--in-region-1): New fun, extracted from minibuffer-complete.
9483         (minibuffer-complete): Use completion-in-region.
9484         (completion-complete-and-exit): New fun, extracted from
9485         minibuffer-complete-and-exit.
9486         (minibuffer-complete-and-exit): Use it.
9487         (completion--complete-and-exit): Rename from
9488         minibuffer--complete-and-exit.
9489         (completion-in-region--single-word): New function, extracted from
9490         minibuffer-complete-word.
9491         (minibuffer-complete-word): Use it.
9492         (display-completion-list): Make `common-substring' argument obsolete.
9493         (completion--in-region): Call completion--in-region-1 instead of
9494         minibuffer-complete.
9495         (completion-help-at-point): Pass boundaries to
9496         minibuffer-completion-help as args rather than via an overlay.
9497         (completion-pcm--string->pattern): Use `any-delim'.
9498         (completion-pcm--optimize-pattern): New function.
9499         (completion-pcm--pattern->regex): Handle `any-delim'.
9500         * icomplete.el (icomplete-forward-completions)
9501         (icomplete-backward-completions, icomplete-completions):
9502         Adjust calls to completion-all-sorted-completions and
9503         completion--cache-all-sorted-completions.
9504         (icomplete-with-completion-tables): Default to t.
9505         * emacs-lisp/crm.el (crm--current-element): Rename from
9506         crm--select-current-element.  Don't put an overlay but return the
9507         boundaries instead.
9508         (crm--completion-command): Take two new args to bind to the boundaries.
9509         (crm-completion-help): Adjust accordingly.
9510         (crm-complete): Use completion-in-region.
9511         (crm-complete-word): Use completion-in-region--single-word.
9512         (crm-complete-and-exit): Use completion-complete-and-exit.
9514 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9516         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9517         than dynamically.
9519 2013-09-06  Juri Linkov  <juri@jurta.org>
9521         * info.el (Info-display-images-node): When image file doesn't exist
9522         display text version of the image if it's provided in the Info file.
9523         Otherwise, display the location of missing image from SRC attribute.
9524         Add help-echo text property from ALT attribute.  (Bug#15279)
9526 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9528         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9529         (edit-abbrevs-mode): Use define-derived-mode.
9531         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9532         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9533         that it's defined.
9534         (epa-key-list-mode, epa-key-mode, epa-info-mode):
9535         Use define-derived-mode.
9537         * epg.el (epg-start-encrypt): Minor CSE simplification.
9539 2013-09-06  William Xu  <william.xwl@gmail.com>
9541         * arc-mode.el: Add support for 7za (bug#15264).
9542         (archive-7z-program): New var.
9543         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9544         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9545         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9547 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
9549         Remove URL syntax.
9551         * net/tramp.el (tramp-syntax, tramp-prefix-format)
9552         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9553         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9554         (tramp-postfix-host-format, tramp-file-name-regexp)
9555         (tramp-completion-file-name-regexp)
9556         (tramp-completion-dissect-file-name)
9557         (tramp-handle-substitute-in-file-name): Remove 'url case.
9558         (tramp-file-name-regexp-url)
9559         (tramp-completion-file-name-regexp-url): Remove constants.
9561 2013-09-06  Glenn Morris  <rgm@gnu.org>
9563         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
9565 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
9567         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9568         keywords" below "here-doc beginnings" (Bug#15270).
9570 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9572         * subr.el (pop): Use `car-safe'.
9573         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9574         to detect unused `pop' return value.
9576         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9577         var `block-regexp'.
9578         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9579         (python-fill-string): Remove unused var `marker'.
9580         (python-skeleton-add-menu-items): Remove unused var `items'.
9582         * international/mule-cmds.el: Require CL.
9583         (find-coding-systems-for-charsets): Avoid add-to-list.
9584         (sanitize-coding-system-list): New function, extracted from
9585         select-safe-coding-system-interactively.
9586         (select-safe-coding-system-interactively): Use it.
9587         (read-input-method-name): Accept symbols for `default'.
9589         * emacs-lisp/advice.el (defadvice): Add indent rule.
9591 2013-09-05  Daniel Hackney  <dan@haxney.org>
9593         * dired-x.el:
9594         * net/ange-ftp.el:
9595         * net/browse-url.el:
9596         * net/dbus.el:
9597         * net/eudc.el:
9598         * net/eudcb-ldap.el:
9599         * net/eww.el:
9600         * net/imap.el:
9601         * printing.el:
9602         * vc/ediff-diff.el:
9603         * vc/ediff-init.el:
9604         * vc/ediff-merg.el:
9605         * vc/ediff-mult.el:
9606         * vc/ediff-util.el:
9607         * vc/ediff-wind.el:
9608         * vc/ediff.el:
9609         * vc/emerge.el:
9610         * vc/pcvs.el:
9611         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9612         byte compiler.  Remove some unused let-bound variables.
9614 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9616         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9617         a "ref-cell", since it gets better optimized (bug#14883).
9619 2013-09-05  Glenn Morris  <rgm@gnu.org>
9621         * progmodes/cc-awk.el (c-forward-sws): Declare.
9623 2013-09-04  Glenn Morris  <rgm@gnu.org>
9625         * generic-x.el [rul-generic-mode]: Require cc-mode.
9626         (c++-mode-syntax-table): Declare.
9627         (rul-generic-mode-syntax-table): Init in the defvar.
9629 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9631         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9632         (vc-do-command, vc-set-async-update):
9633         * vc/vc-mtn.el (vc-mtn-dir-status):
9634         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9635         (vc-hg-pull, vc-hg-merge-branch):
9636         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9637         (vc-git-merge-branch):
9638         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9639         (vc-cvs-dir-status-files):
9640         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9641         (vc-bzr-dir-status-files):
9642         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9643         * vc/vc-annotate.el: Use lexical-binding.
9644         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9645         (vc-sentinel-movepoint): Declare.
9646         (vc-annotate): Don't use `goto-line'.
9647         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9648         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9649         (vc-sentinel-movepoint): Declare.
9650         * vc/vc-svn.el: Use lexical-binding.
9651         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9652         * vc/vc-sccs.el:
9653         * vc/vc-rcs.el: Use lexical-binding.
9655         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9656         `deleted'.  Don't drop errors silently.
9658         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9660 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
9662         * vc/vc.el (vc-ignore): Rewrite.
9663         (vc-default-ignore): New function.
9664         (vc-default-ignore-completion-table): Use find-ignore-file.
9666         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9667         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9668         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9669         Remove.  Most code moved to vc.el.
9671 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9673         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9674         * net/tramp-smb.el (tramp-smb-get-file-entries):
9675         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9676         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9678         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9679         Update call to it.
9680         (eww-change-select): Remove unused var `properties'.
9681         (eww-make-unique-file-name): Remove unused var `base'.
9683         * finder.el (finder-compile-keywords): Don't mess with windows.
9685         * calculator.el (calculator-funcall): Fix typo in last change.
9687         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9689         * emacs-lisp/package.el (package-activate-1): Don't let a missing
9690         <pkg>-autoloads.el file stop us.
9692         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9693         warnings, and factor out common code.
9695 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
9697         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9698         two-character operators and whether the character preceding them
9699         changes their meaning (Bug#15208).
9701 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9703         Format code sent to Python shell for robustness.
9704         * progmodes/python.el (python-shell-buffer-substring):
9705         New function.
9706         (python-shell-send-region, python-shell-send-buffer): Use it.
9708 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
9710         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9711         * net/tramp.el (tramp-user-error): ... here.
9712         (tramp-find-method, tramp-check-proper-host)
9713         (tramp-dissect-file-name, tramp-debug-message)
9714         (tramp-handle-shell-command):
9715         * net/tramp-adb.el (tramp-adb-handle-shell-command):
9716         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9718         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9720 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
9722         * avoid.el (mouse-avoidance-point-position)
9723         (mouse-avoidance-too-close-p): Handle case where posn-at-point
9724         returns nil.
9726 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9728         * progmodes/python.el (python-shell-completion-get-completions):
9729         Drop use of deleted `comint-last-prompt-overlay'.
9730         (python-nav-if-name-main): New command.
9732 2013-09-01  Glenn Morris  <rgm@gnu.org>
9734         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9735         Avoid leading space in $wins.  Otherwise the sed command used by
9736         eg compile-main ends up containing "/*.el".  (Bug#15170)
9738         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
9740 2013-08-30  Glenn Morris  <rgm@gnu.org>
9742         * emacs-lisp/bytecomp.el (byte-recompile-directory):
9743         Fix is-this-a-directory logic.  (Bug#15220)
9745 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9747         * textmodes/css-mode.el: Use SMIE.
9748         (css-smie-grammar): New var.
9749         (css-smie--forward-token, css-smie--backward-token)
9750         (css-smie-rules): New functions.
9751         (css-mode): Use them.
9752         (css-navigation-syntax-table): Remove var.
9753         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9754         (css-indent-calculate, css-indent-line): Remove functions.
9756         Misc changes to reduce use of `(lambda...); and other cleanups.
9757         * cus-edit.el: Use lexical-binding.
9758         (customize-push-and-save, customize-apropos)
9759         (custom-buffer-create-internal): Use closures.
9760         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9761         * progmodes/ada-xref.el: Use setq.
9762         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9763         * dframe.el: Use lexical-binding.
9764         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
9765         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9766         * descr-text.el: Use lexical-binding.
9767         (describe-text-widget, describe-text-sexp, describe-property-list):
9768         Use closures.
9769         * comint.el (comint-history-isearch-push-state): Use a closure.
9770         * calculator.el: Use lexical-binding.
9771         (calculator-number-to-string): Make it work with lexical-binding.
9772         (calculator-funcall): Same and use cl-letf.
9774         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9775         (lisp--company-doc-string, lisp--company-location): New functions.
9776         (lisp-completion-at-point): Use them to improve Company support.
9778         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9779         params of lambda expressions.
9780         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9781         (ruby-smie--opening-pipe-p): New function.
9782         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9783         symbols and matched |...| for formal params.
9784         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9785         from being treated as hanging.  Handle "rescue".
9787 2013-08-29  Glenn Morris  <rgm@gnu.org>
9789         * progmodes/cc-engine.el (c-pull-open-brace):
9790         Move definition before use.
9792 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9794         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9795         are immutable.  Don't use `unsafe' any more.
9796         (cl--defsubst-expand): Don't substitute at the same time as keeping
9797         a residual unused let-binding.  Don't use `unsafe' any more.
9799 2013-08-29  Glenn Morris  <rgm@gnu.org>
9801         * calendar/cal-china.el (calendar-chinese-year-cache):
9802         Recenter on 2015.
9804         * nxml/nxml-util.el (nxml-debug-clear-inside):
9805         Use cl-loop rather than loop.
9807         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9809         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9811 2013-08-28  Glenn Morris  <rgm@gnu.org>
9813         * progmodes/antlr-mode.el: No need to require cc-mode twice.
9815         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9817         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9819 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9821         * simple.el (repeat-complex-command--called-interactively-skip):
9822         New function.
9823         (repeat-complex-command): Use it (bug#14136).
9825         * progmodes/cc-mode.el: Minor cleanup of var declarations.
9826         (c-define-abbrev-table): Add `doc' argument.
9827         (c-mode-abbrev-table, c++-mode-abbrev-table)
9828         (objc-mode-abbrev-table, java-mode-abbrev-table)
9829         (idl-mode-abbrev-table, pike-mode-abbrev-table)
9830         (awk-mode-abbrev-table): Use it.
9831         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9832         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9833         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9834         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9835         Move initialization into the declaration; and remove any
9836         autoload cookie.
9838         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9839         and dynamic let binding.
9841         * vc/smerge-mode.el: Remove redundant :group args.
9843         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9844         to load-path.
9846 2013-08-28  Juri Linkov  <juri@jurta.org>
9848         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9849         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9850         (isearch-other-meta-char): Handle an undefined shifted printing
9851         character by downshifting it.  (Bug#15200)
9853 2013-08-28  Juri Linkov  <juri@jurta.org>
9855         * isearch.el (isearch-search): Change regexp error message for
9856         non-regexp searches.  (Bug#15166)
9858 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
9860         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9861         for portability to hosts where /bin/sh has problems.
9863 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9865         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9867 2013-08-27  Juri Linkov  <juri@jurta.org>
9869         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9870         in the keyboard macro.  (Bug#15126)
9872 2013-08-27  Juri Linkov  <juri@jurta.org>
9874         * isearch.el (isearch-quote-char): Comment out converting unibyte
9875         to multibyte, thus syncing with its `quoted-insert' counterpart.
9876         (Bug#15166)
9878 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
9880         * window.el (display-buffer-use-some-window): Add missing
9881         argument in call of get-largest-window (Bug#15185).
9882         Reported by Stephen Leake.
9884 2013-08-27  Glenn Morris  <rgm@gnu.org>
9886         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9888 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9890         * progmodes/python.el (python-font-lock-keywords): Don't return nil
9891         from a matcher-function unless there's no more matches (bug#15161).
9893 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
9895         * minibuffer.el: Revert change from 2013-08-20.
9897         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9898         with text property `tramp-default', if appropriate.
9899         (tramp-check-proper-host): New defun.
9900         (tramp-dissect-file-name): Do not check hostname.  Revert change
9901         of 2013-03-18.
9902         (tramp-backtrace): Make VEC-OR-PROC optional.
9904         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9905         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9906         * net/tramp-sh.el (tramp-maybe-open-connection):
9907         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9908         Apply `tramp-check-proper-host'.
9910 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
9912         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9913         lambda expression in order to have `describe-variable' display it.
9915 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
9917         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9918         BUF can be optional.  (Bug#15186)
9920 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
9922         * progmodes/flymake.el (flymake-get-real-file-name-function):
9923         Fix broken customization.  (Bug#15184)
9925 2013-08-25  Alan Mackenzie  <acm@muc.de>
9927         Improve indentation of bracelists defined by macros (without "=").
9929         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9930         expansion begins with "{", regard it as bracelist when it doesn't
9931         contain a ";".
9933         Parse C++ inher-intro when there's a template split over 2 lines.
9935         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9936         rigorously the search for "class" etc. followed by ":".
9938         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9939         random languages a regexp which never matches rather than nil.
9941         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9943         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9944         (c-awk-regexp-one-line-possibly-open-char-list-re)
9945         (c-awk-one-line-possibly-open-regexp-re)
9946         (c-awk-one-line-non-syn-ws*-re): Remove.
9947         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9948         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9949         (c-awk-space*-unclosed-regexp-/-re): New constants.
9950         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9951         aren't regexp delimiters.
9953         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9954         handling for a rare situation in AWK Mode involving unterminated
9955         strings/regexps.
9957 2013-08-23  Glenn Morris  <rgm@gnu.org>
9959         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9961         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9963         * files.el (create-file-buffer): If the result would begin with
9964         spaces, prepend a "|" instead of removing them.  (Bug#15162)
9966 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9968         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9969         text-properties (bug#15155).
9971         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9972         exist any more.
9973         (calc-keypad-redraw): Remove unused var `pad'.
9974         (calc-keypad-press): Remove unused var `menu'.
9976 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
9978         * window.el (display-buffer-pop-up-frame):
9979         Call pop-up-frame-function with BUFFER current so `make-frame' will
9980         use it as the new frame's buffer (Bug#15133).
9982 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9984         * calendar/timeclock.el: Minor cleanups.
9985         (timeclock-ask-before-exiting, timeclock-use-display-time):
9986         Use `symbol'.
9987         (timeclock-modeline-display): Define as alias before the
9988         actual definition.
9989         (timeclock-mode-line-display): Use define-minor-mode.
9990         (timeclock-day-list-template): Make it a function, add an argument.
9991         (timeclock-day-list-required, timeclock-day-list-length)
9992         (timeclock-day-list-debt, timeclock-day-list-span)
9993         (timeclock-day-list-break): Adjust calls accordingly.
9995 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9997         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9998         Use read--expression so that completion works again.
10000 2013-08-21  Sam Steingold  <sds@gnu.org>
10002         Add rudimentary inferior shell interaction
10003         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10004         (sh-set-shell): Reset it.
10005         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10006         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10008 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10010         * align.el: Use lexical-binding.
10011         (align-region): Simplify accordingly.
10013 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
10015         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10017         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10018         `non-essential' up.
10020 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
10022         * net/tramp.el:
10023         * net/tramp-adb.el:
10024         * net/tramp-cmds.el:
10025         * net/tramp-ftp.el:
10026         * net/tramp-gvfs.el:
10027         * net/tramp-gw.el:
10028         * net/tramp-sh.el: Don't wrap external variable declarations by
10029         `eval-when-compile'.
10031 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10033         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10034         now that Emacs supports ImageMagick animations.
10036 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
10038         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10039         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10041 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
10043         * window.el (mouse-autoselect-window-select): Do autoselect when
10044         mouse pointer is on margin.
10046 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
10048         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
10050 2013-08-16  Glenn Morris  <rgm@gnu.org>
10052         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10053         Handle "Remote Directory" response of some clients.  (Bug#15058)
10055         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10056         Tweak warning.  (Bug#14926)
10058         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10059         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
10061         * image-mode.el (image-mode-map): Add menu items to reverse,
10062         increase, decrease, reset animation speed.
10063         (image--set-speed, image-increase-speed, image-decrease-speed)
10064         (image-reverse-speed, image-reset-speed): New functions.
10065         (image-mode-map): Add bindings for speed commands.
10067         * image.el (image-animate-get-speed, image-animate-set-speed):
10068         New functions.
10069         (image-animate-timeout): Respect image :speed property.
10071 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10073         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10074         previous line (bug#15101).
10075         (debugger-eval-expression, debugger-record-expression):
10076         Use read--expression (bug#15102).
10078 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
10080         Remove byte compiler warnings, visible when compiling with
10081         `byte-compile-force-lexical-warnings' set to t.
10083         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10084         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10085         (tramp-handle-unhandled-file-name-directory)
10086         (tramp-handle-file-notify-add-watch, tramp-action-login)
10087         (tramp-action-succeed, tramp-action-permission-denied)
10088         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10089         arguments with "_".
10091         * net/tramp-adb.el (tramp-adb-parse-device-names)
10092         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10093         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10094         (tramp-adb-handle-file-truename): Remove unused arguments.
10096         * net/tramp-cache.el (tramp-flush-directory-property)
10097         (tramp-flush-connection-property, tramp-list-connections)
10098         (tramp-parse-connection-properties): Prefix unused arguments with "_".
10100         * net/tramp-compat.el (tramp-compat-make-temp-file):
10101         Rename FILENAME to F.
10103         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10104         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10105         (tramp-zeroconf-parse-workstation-device-names)
10106         (tramp-zeroconf-parse-webdav-device-names)
10107         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10109         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10110         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10112         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10113         arguments.
10114         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10115         (tramp-sh-handle-insert-file-contents-literally)
10116         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10117         with "_".
10118         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10119         Remove unused variables.
10121         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10122         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10123         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10125         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10126         Make them a defconst.
10127         (tramp-uuencode-region): Remove unused variable.
10129 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
10131         * frameset.el (frameset--prop-setter): New function.
10132         (frameset-prop): Add gv-setter declaration.
10133         (frameset-filter-minibuffer): Deal with the case that the minibuffer
10134         parameter was already set in FILTERED.  Doc fix.
10135         (frameset--record-minibuffer-relationships): Allow saving a
10136         minibufferless frame without its corresponding minibuffer frame.
10137         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10138         frame, if the frame id matches.
10139         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10140         frames before orphaned ones.
10141         (frameset-restore): Warn about orphaned windows, instead of error out.
10143 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
10145         * window.el (window-make-atom): Don't overwrite parameter
10146         already present.
10147         (display-buffer-in-atom-window): Handle special case where we
10148         split an already atomic window.
10149         (window--major-non-side-window, display-buffer-in-side-window)
10150         (window--side-check): Ignore minibuffer window when walking
10151         window tree.
10152         (window-deletable-p): Return 'frame only if no other frame uses
10153         our minibuffer window.
10154         (record-window-buffer): Run buffer-list-update-hook.
10155         (split-window): Make sure window--check-frame won't destroy an
10156         existing atomic window in case the new window gets nested
10157         inside.
10158         (display-buffer-at-bottom): Ignore minibuffer window when
10159         walking window tree.  Don't split a side window.
10160         (pop-to-buffer): Don't set-buffer here, the select-window call
10161         should do that.
10162         (mouse-autoselect-window-select): Autoselect only if we are in the
10163         text portion of the window.
10165 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10167         * net/shr.el (shr-parse-image-data): New function to grab both the
10168         data itself and the Content-Type.
10169         (shr-put-image): Use it.
10171         * net/eww.el (eww-display-image): Ditto.
10173         * image.el (image-content-type-suffixes): New variable.
10175 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10177         * progmodes/python.el (python-imenu--build-tree)
10178         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10180 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
10182         * simple.el (backward-word): Mention the optional argument.
10184 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10186         * frameset.el (frameset--make): Rename constructor from make-frameset.
10187         (frameset-p, frameset-valid-p): Don't autoload.
10188         (frameset-valid-p): Use normal accessors.
10190 2013-08-13  Glenn Morris  <rgm@gnu.org>
10192         * progmodes/compile.el (compile-command): Tweak example in doc.
10193         * obsolete/scribe.el (scribe-mode):
10194         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
10196         * mail/feedmail.el (feedmail-confirm-outgoing)
10197         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10199         * cus-start.el (truncate-partial-width-windows): Fix type.
10201         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10203         * net/shr.el (shr-table-horizontal-line): Fix custom type.
10205 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10207         * emacs-lisp/timer.el (timer--time-setter): New function.
10208         (timer--time): Use it as gv-setter.
10210         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10211         setter is not a symbol.
10213 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
10215         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10216         if sending fails.  This makes debugging easier.
10218 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
10220         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10221         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10222         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10224 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
10226         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10228 2013-08-12  Glenn Morris  <rgm@gnu.org>
10230         * format.el (format-annotate-function):
10231         Handle read-only text properties in the source.  (Bug#14887)
10233 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10235         * net/eww.el (eww-display-html): Ignore coding system errors.
10236         One web site uses "utf-8lias" as the coding system.
10238 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
10240         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10242 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
10244         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10245         (tutorial--detailed-help): Remove unused local variables.
10246         (tutorial--save-tutorial-to): Use ignore-errors.
10247         (help-with-tutorial): Use looking-at-p.
10249         * view.el (view-buffer-other-window, view-buffer-other-frame):
10250         Mark unused arguments.
10252         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10253         (woman-select-symbol-fonts, woman, woman-find-file)
10254         (woman-insert-file-contents, woman-non-underline-faces):
10255         Use string-match-p.
10256         (woman1-unquote): Move declaration.
10258         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10259         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
10260         argument.  Remove unused local variable.
10261         (xml-parse-elem-type): Use string-match-p.
10262         (xml-substitute-numeric-entities): Use ignore-errors.
10264         * calculator.el (calculator): Mark unused argument.
10265         (calculator-paste, calculator-quit, calculator-integer-p):
10266         Use ignore-errors.
10267         (calculator-string-to-number, calculator-decimal, calculator-exp)
10268         (calculator-op-or-exp): Use string-match-p.
10270         * dired.el (dired-buffer-more-recently-used-p): Declare.
10271         (dired-insert-set-properties, dired-insert-old-subdirs):
10272         Use ignore-errors.
10274         * dired-aux.el (dired-compress): Use ignore-errors.
10275         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10276         (dired-do-async-shell-command, dired-do-shell-command)
10277         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10278         (dired-insert-subdir-validate): Use string-match-p.
10279         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10280         (dired-add-entry): Use string-match-p, looking-at-p.
10281         (dired-insert-subdir-newpos): Remove unused local variable.
10283         * filenotify.el (file-notify-callback): Remove unused local variable.
10285         * filesets.el (filesets-error): Mark unused argument.
10286         (filesets-which-command-p, filesets-filter-dir-names)
10287         (filesets-directory-files, filesets-get-external-viewer)
10288         (filesets-ingroup-get-data): Use string-match-p.
10290         * find-file.el (ff-other-file-name, ff-other-file-name)
10291         (ff-find-the-other-file, ff-cc-hh-converter):
10292         Remove unused local variables.
10293         (ff-get-file-name): Use string-match-p.
10294         (ff-all-dirs-under): Use ignore-errors.
10296         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10297         (follow-select-if-visible): Remove unused local variable.
10299         * forms.el (read-file-filter): Move declaration.
10300         (forms--make-format, forms--make-parser, forms-insert-record):
10301         Quote function with #'.
10302         (forms--update): Use string-match-p.  Quote function with #'.
10304         * help-mode.el (help-dir-local-var-def): Mark unused argument.
10305         (help-make-xrefs): Use looking-at-p.
10306         (help-xref-on-pp): Use looking-at-p, ignore-errors.
10308         * ibuffer.el (ibuffer-ext-visible-p): Declare.
10309         (ibuffer-confirm-operation-on): Use string-match-p.
10311         * msb.el (msb-item-handler, msb-dired-item-handler):
10312         Mark unused arguments.
10314         * ses.el (ses-decode-cell-symbol)
10315         (ses-kill-override): Remove unused local variable.
10316         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10317         (ses-load): Use ignore-errors, looking-at-p.
10318         (ses-jump-safe): Use ignore-errors.
10319         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10321         * tabify.el (untabify, tabify): Mark unused arguments.
10323         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10324         Mark unused argument.
10325         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10326         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10328         * emacs-lisp/timer.el (timer--time): Define setter with
10329         gv-define-setter to avoid deprecation warning.
10331         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10332         (*record-cmpl-statistics-p*): Remove (was commented out).
10333         (cmpl-statistics-block): Remove (body was commented out).
10334         All callers changed.
10335         (add-completions-from-buffer, load-completions-from-file):
10336         Remove unused variables.
10338 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
10340         * filecache.el (file-cache-delete-file-list):
10341         Print message only when told so.
10342         (file-cache-files-matching): Use #' in mapconcat argument.
10344         * ffap.el (ffap-url-at-point): Fix reference to variable
10345         thing-at-point-default-mail-uri-scheme.
10347 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10349         * subr.el (define-error): New function.
10350         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10351         error-file-not-found and define with define-error.
10352         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10353         and define with define-error.
10354         * userlock.el (file-locked, file-supersession):
10355         * simple.el (mark-inactive):
10356         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10357         * progmodes/ada-mode.el (ada-mode-errors):
10358         * play/life.el (life-extinct):
10359         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10360         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10361         * nxml/rng-util.el (rng-error):
10362         * nxml/rng-uri.el (rng-uri-error):
10363         * nxml/rng-match.el (rng-compile-error):
10364         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10365         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10366         * nxml/nxml-rap.el (nxml-scan-error):
10367         * nxml/nxml-outln.el (nxml-outline-error):
10368         * net/soap-client.el (soap-error):
10369         * net/gnutls.el (gnutls-error):
10370         * net/ange-ftp.el (ftp-error):
10371         * mpc.el (mpc-proc-error):
10372         * json.el (json-error, json-readtable-error, json-unknown-keyword)
10373         (json-number-format, json-string-escape, json-string-format)
10374         (json-key-format, json-object-format):
10375         * jka-compr.el (compression-error):
10376         * international/quail.el (quail-error):
10377         * international/kkc.el (kkc-error):
10378         * emacs-lisp/ert.el (ert-test-failed):
10379         * calc/calc.el (calc-error, inexact-result, math-overflow)
10380         (math-underflow):
10381         * bookmark.el (bookmark-error-no-filename):
10382         * epg.el (epg-error): Define with define-error.
10384         * time.el (display-time-event-handler)
10385         (display-time-next-load-average): Don't call sit-for since it seems
10386         unnecessary (bug#15045).
10388         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10389         Use #' instead of ' to quote functions.
10390         (checkdoc-output-mode): Use setq-local.
10391         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10392         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10393         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10394         (checkdoc-ispell, checkdoc-ispell-current-buffer)
10395         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10396         (checkdoc-ispell-message-text, checkdoc-ispell-start)
10397         (checkdoc-ispell-continue, checkdoc-ispell-comments)
10398         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10400         * ido.el (ido-completion-help): Fix up compiler warning.
10402 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
10404         * frameset.el (frameset-p): Add autoload cookie.
10405         (frameset--jump-to-register): New function, based on code moved from
10406         register.el.
10407         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
10409         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10410         (frameset-restore, frameset-save, frameset-session-filter-alist):
10411         Remove declarations.
10412         (register-alist): Doc fix.
10413         (frameset-to-register): Move to frameset.el.
10414         (jump-to-register, describe-register-1): Remove frameset-specific code.
10416 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10418         * allout-widgets.el (allout-widgets-pre-command-business)
10419         (allout-widgets-post-command-business)
10420         (allout-widgets-after-change-handler)
10421         (allout-decorate-item-and-context, allout-set-boundary-marker)
10422         (allout-body-modification-handler)
10423         (allout-graphics-modification-handler): Mark ignored arguments.
10424         (allout-widgets-post-command-business)
10425         (allout-widgets-exposure-change-processor)
10426         (allout-widgets-exposure-undo-processor)
10427         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10428         (allout-parse-item-at-point, allout-decorate-item-guides)
10429         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10430         * allout.el (epa-passphrase-callback-function): Declare.
10431         (allout-overlay-insert-in-front-handler)
10432         (allout-overlay-interior-modification-handler)
10433         (allout-isearch-end-handler, allout-chart-siblings)
10434         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10435         (allout-yank-processing, allout-process-exposed)
10436         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10437         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10438         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10439         (lisp-indent-defform): Mark ignored arguments.
10440         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
10441         (calculate-lisp-indent): Remove unused variables.
10442         * international/characters.el (indian-2-column, arabic-2-column)
10443         (tibetan): Mark ignored arguments.
10444         (use-cjk-char-width-table): Mark ignored arguments.
10445         Remove unused variables.
10446         * international/fontset.el (build-default-fontset-data)
10447         (x-compose-font-name, create-fontset-from-fontset-spec):
10448         Mark ignored arguments.
10449         (fontset-plain-name): Remove unused variables.
10450         * international/mule.el (charset-id, charset-bytes, generic-char-p)
10451         (keyboard-coding-system): Mark ignored arguments.
10452         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
10453         * help.el (resize-temp-buffer-window):
10454         * window.el (display-buffer-in-major-side-window)
10455         (display-buffer-in-side-window, display-buffer-in-previous-window):
10456         Remove unused variables.
10457         * isearch.el (isearch-forward-symbol):
10458         * version.el (emacs-bzr-version-bzr):
10459         * international/mule-cmds.el (current-language-environment):
10460         * term/common-win.el (x-handle-iconic, x-handle-geometry)
10461         (x-handle-display):
10462         * term/pc-win.el (x-list-fonts, x-display-planes)
10463         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10464         (x-server-version, x-display-screens, x-display-mm-height)
10465         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10466         (x-selection-owner-p, x-own-selection-internal)
10467         (x-disown-selection-internal, x-get-selection-internal)
10468         (msdos-initialize-window-system):
10469         * term/tty-colors.el (tty-color-alist, tty-color-clear):
10470         * term/x-win.el (x-handle-no-bitmap-icon):
10471         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10472         (vc-default-find-file-hook, vc-default-extra-menu):
10473         Mark ignored arguments.
10475 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10477         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10478         break-condition in the context of the debugged code (bug#12685).
10480 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
10482         * comint.el:
10483         Do not use an overlay to highlight the last prompt.  (Bug#14744)
10484         (comint-mode): Make comint-last-prompt buffer local.
10485         (comint-last-prompt): New variable.
10486         (comint-last-prompt-overlay): Remove.  Superseded by
10487         comint-last-prompt.
10488         (comint-snapshot-last-prompt, comint-output-filter):
10489         Use comint-last-prompt.
10491 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10493         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
10494         (frameset-save): Check validity of the resulting frameset.
10496 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
10498         * ido.el (ido-record-command): Add doc string.
10500 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10502         * frameset.el (frameset): Do not disable creation of the default
10503         frameset-p predicate.  Doc fix.
10504         (frameset-valid-p): New function, copied from the old predicate-p.
10505         Add additional checks.
10506         (frameset-restore): Check with frameset-valid-p.
10507         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10508         (frameset-name, frameset-description, frameset-properties)
10509         (frameset-states): Add docstring.
10510         (frameset-session-filter-alist, frameset-persistent-filter-alist)
10511         (frameset-filter-alist): Doc fixes.
10513 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10515         * frameset.el (frameset-p, frameset-prop): Doc fixes.
10517 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10519         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10520         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10521         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10522         (byte-compile-normal-call): Remove obsolescence check.
10524 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10526         * frameset.el (frameset-restore): Doc fix.
10528         * register.el (frameset-frame-id, frameset-frame-with-id)
10529         (frameset-p, frameset-restore, frameset-save): Declare.
10530         (register-alist): Document framesets.
10531         (frameset-session-filter-alist): Declare.
10532         (frameset-to-register): New function.
10533         (jump-to-register): Implement jumping to framesets.  Doc fix.
10534         (describe-register-1): Describe framesets.
10536         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10538 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
10540         * desktop.el (desktop-save-frameset): Use new frameset-save args.
10541         Use lexical-binding.
10543         * frameset.el (frameset): Use type vector, not list (incompatible
10544         change).  Do not declare a new constructor, use the default one.
10545         Upgrade suggested properties `app', `name' and `desc' to slots `app',
10546         `name' and `description', respectively, and add read-only slot
10547         `timestamp'.  Doc fixes.
10548         (frameset-copy, frameset-persistent-filter-alist)
10549         (frameset-filter-alist, frameset-switch-to-gui-p)
10550         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10551         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10552         (frameset-filter-iconified, frameset-keep-original-display-p):
10553         Doc fixes.
10554         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10555         Rename from frameset-filter-(save|restore)-param.  All callers changed.
10556         Doc fix.
10557         (frameset-p): Adapt to change to vector and be more thorough.
10558         Change arg name to OBJECT.  Doc fix.
10559         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
10560         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10561         All callers changed.
10562         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10563         All callers changed.
10564         (frameset--record-minibuffer-relationships): Rename from
10565         frameset--process-minibuffer-frames.  All callers changed.
10566         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10567         Use new default constructor (again).  Doc fix.
10568         (frameset--find-frame-if): Rename from `frameset--find-frame'.
10569         All callers changed.
10570         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10571         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10572         Doc fix.
10573         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10574         PARAMETERS and WINDOW-STATE, respectively.
10575         (frameset-restore): Add new keyword argument PREDICATE.
10576         Reset frameset--target-display to nil.  Doc fix.
10578 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10580         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10581         (bat-mode): Use it.
10582         (bat-mode-syntax-table): Mark \n as end-of-comment.
10583         (bat-font-lock-keywords): Remove comment rule.
10585         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
10586         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
10588         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10589         (byte-compile-callargs-warn): Use `push'.
10590         (byte-compile-arglist-warn): Ignore higher-order "calls".
10591         (byte-compile-file-form-autoload): Use `pcase'.
10592         (byte-compile-function-form): If quoting a symbol, check that it exists.
10594 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
10596         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10597         and add a few popular commands found in batch files.
10598         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10599         (dos-mode): Doc fixes.
10601 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10603         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10604         (dos-mode): Use setq-local.  Add space after "rem".
10605         (dos-mode-syntax-table): Don't use "w" for symbol chars.
10606         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10608 2013-08-07  Arni Magnusson  <arnima@hafro.is>
10610         * progmodes/dos.el: New file.
10611         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10612         dos-mode.
10614 2013-08-06  Glenn Morris  <rgm@gnu.org>
10616         * calendar/calendar.el: Add new faces, and day-header-array.
10617         (calendar-weekday-header, calendar-weekend-header)
10618         (calendar-month-header): New faces.
10619         (calendar-day-header-construct): New function.
10620         (calendar-day-header-width): Also :set calendar-day-header-array.
10621         (calendar-american-month-header, calendar-european-month-header)
10622         (calendar-iso-month-header): Use calendar- faces.
10623         (calendar-generate-month):
10624         Use calendar-day-header-array for day headers; apply faces to them.
10625         (calendar-mode): Check calendar-font-lock-keywords non-nil.
10626         (calendar-abbrev-construct): Add optional maxlen argument.
10627         (calendar-day-name-array): Doc fix.
10628         (calendar-day-name-array, calendar-abbrev-length)
10629         (calendar-day-abbrev-array):
10630         Also :set calendar-day-header-array, and maybe redraw.
10631         (calendar-day-header-array): New option.  (Bug#15007)
10632         (calendar-font-lock-keywords): Set to nil and make obsolete.
10633         (calendar-day-name): Add option to use header array.
10635 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10637         * net/shr.el (shr-render-td): Remove debugging.
10638         (shr-render-td): Make width computation consistent by defaulting
10639         all zero-width columns to 10 characters.  This may not be optimal,
10640         but it's at least consistent.
10641         (shr-make-table-1): Redo last change to fix the real problem in
10642         colspan handling.
10644 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
10646         * files.el (cache-long-line-scans):
10647         Make obsolete alias to `cache-long-scans'.
10649 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
10651         * frameset.el (frameset, frameset-filter-alist)
10652         (frameset-filter-params, frameset-save, frameset--reuse-frame)
10653         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10654         (frameset-compute-pos): Rename from frameset--compute-pos,
10655         and add docstring.
10656         (frameset-move-onscreen): Use frameset-compute-pos.
10657         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10659         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10660         Fix typos in docstrings.
10662 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
10664         * frame.el (get-other-frame): Tiny cleanup.
10666 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
10668         * vc/vc.el (vc-default-ignore-completion-table):
10669         Silence byte-compiler warning.
10671         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10672         slot, which can indeed be nil.
10673         (frameset-live-filter-alist, frameset-persistent-filter-alist):
10674         Move entry for `left' from persistent to live filter alist.
10675         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10676         Doc fixes.
10677         (frameset-filter-params): When restoring a frame, copy items added to
10678         `filtered', to avoid unwittingly modifying the original parameters.
10679         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
10680         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10682         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10683         to use looking-at-p instead of looking-at.  (Bug#15028)
10685 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10687         Revert introduction of isearch-filter-predicates (bug#14714).
10688         Rely on add-function instead.
10689         * isearch.el (isearch-filter-predicates): Rename it back to
10690         isearch-filter-predicate.
10691         (isearch-message-prefix): Use advice-function-mapc and advice
10692         properties to get the isearch-message-prefix.
10693         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10694         instead of run-hook-with-args-until-failure.
10695         (isearch-filter-visible): Not obsolete any more.
10696         * loadup.el: Preload nadvice.
10697         * replace.el (perform-replace): Revert to funcall
10698         instead of run-hook-with-args-until-failure.
10699         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10700         * dired-aux.el (dired-isearch-filenames-mode): Rename from
10701         dired-isearch-filenames-toggle; make it into a proper minor mode.
10702         Use add/remove-function.
10703         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10704         Call the minor-mode rather than add/remove-hook.
10705         (dired-isearch-filter-filenames):
10706         Remove isearch-message-prefix property.
10707         * info.el (Info--search-loop): New function, extracted from Info-search.
10708         Funcall isearch-filter-predicate instead of
10709         run-hook-with-args-until-failure isearch-filter-predicates.
10710         (Info-search): Use it.
10711         (Info-mode): Use isearch-filter-predicate instead of
10712         isearch-filter-predicates.
10714 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
10716         Do not call to `selected-window' where it is assumed by default.
10717         Affected functions are `window-minibuffer-p', `window-dedicated-p',
10718         `window-hscroll', `window-width', `window-height', `window-buffer',
10719         `window-frame', `window-start', `window-point', `next-window'
10720         and `window-display-table'.
10721         * abbrev.el (abbrev--default-expand):
10722         * bs.el (bs--show-with-configuration):
10723         * buff-menu.el (Buffer-menu-mouse-select):
10724         * calc/calc.el (calc):
10725         * calendar/calendar.el (calendar-generate-window):
10726         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10727         (diary-make-entry):
10728         * comint.el (send-invisible, comint-dynamic-complete-filename)
10729         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10730         * completion.el (complete):
10731         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10732         * disp-table.el (describe-current-display-table):
10733         * doc-view.el (doc-view-insert-image):
10734         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10735         * ehelp.el (with-electric-help):
10736         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10737         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10738         * emacs-lisp/helper.el (Helper-help-scroller):
10739         * emulation/cua-base.el (cua--post-command-handler-1):
10740         * eshell/esh-mode.el (eshell-output-filter):
10741         * ffap.el (ffap-gnus-wrapper):
10742         * help-macro.el (make-help-screen):
10743         * hilit-chg.el (highlight-compare-buffers):
10744         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10745         * hl-line.el (global-hl-line-highlight):
10746         * icomplete.el (icomplete-simple-completing-p):
10747         * isearch.el (isearch-done):
10748         * jit-lock.el (jit-lock-stealth-fontify):
10749         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10750         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10751         * mpc.el (mpc-tagbrowser, mpc):
10752         * net/rcirc.el (rcirc-any-buffer):
10753         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10754         * play/landmark.el (landmark-max-width, landmark-max-height):
10755         * play/zone.el (zone):
10756         * progmodes/compile.el (compilation-goto-locus):
10757         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10758         * progmodes/etags.el (find-tag-other-window):
10759         * progmodes/fortran.el (fortran-column-ruler):
10760         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10761         * progmodes/verilog-mode.el (verilog-point-text):
10762         * reposition.el (reposition-window):
10763         * rot13.el (toggle-rot13-mode):
10764         * server.el (server-switch-buffer):
10765         * shell.el (shell-dynamic-complete-command)
10766         (shell-dynamic-complete-environment-variable):
10767         * simple.el (insert-buffer, set-selective-display)
10768         (delete-completion-window):
10769         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10770         (speedbar-recenter):
10771         * startup.el (fancy-splash-head):
10772         * textmodes/ispell.el (ispell-command-loop):
10773         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10774         * tutorial.el (help-with-tutorial):
10775         * vc/add-log.el (add-change-log-entry):
10776         * vc/compare-w.el (compare-windows):
10777         * vc/ediff-help.el (ediff-indent-help-message):
10778         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10779         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10780         (ediff-setup-control-frame):
10781         * vc/emerge.el (emerge-position-region):
10782         * vc/pcvs-util.el (cvs-bury-buffer):
10783         * window.el (walk-windows, mouse-autoselect-window-select):
10784         * winner.el (winner-set-conf, winner-undo): Related users changed.
10786 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
10788         * frameset.el (frameset--set-id): Doc fix.
10789         (frameset-frame-id, frameset-frame-id-equal-p)
10790         (frameset-locate-frame-id): New functions.
10791         (frameset--process-minibuffer-frames, frameset--reuse-frame)
10792         (frameset-restore): Use them.
10794 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
10796         Do not call to `selected-frame' where it is assumed by default.
10797         Affected functions are `raise-frame', `redraw-frame',
10798         `frame-first-window', `frame-terminal' and `delete-frame'.
10799         * calendar/appt.el (appt-disp-window):
10800         * epg.el (epg-wait-for-completion):
10801         * follow.el (follow-delete-other-windows-and-split)
10802         (follow-avoid-tail-recenter):
10803         * international/mule.el (set-terminal-coding-system):
10804         * mail/rmail.el (rmail-mail-return):
10805         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10806         * progmodes/f90.el (f90-add-imenu-menu):
10807         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10808         * server.el (server-switch-buffer):
10809         * simple.el (delete-completion-window):
10810         * talk.el (talk):
10811         * term/xterm.el (terminal-init-xterm-modify-other-keys)
10812         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10813         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10814         * vc/ediff.el (ediff-documentation): Related users changed.
10815         * frame.el (selected-terminal): Remove the leftover.
10817 2013-08-05  Glenn Morris  <rgm@gnu.org>
10819         * calendar/calendar.el (calendar-generate-month):
10820         Fix for calendar-column-width != 1 + calendar-day-digit-width.
10821         (calendar-generate-month, calendar-font-lock-keywords):
10822         Fix for calendar-day-header-width > length of any day name.
10824 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
10826         * desktop.el (desktop-clear): Use new name of sort predicate.
10828         * frameset.el (frameset): Add docstring.  Move :version property to its
10829         own `version' slot.
10830         (frameset-copy): Rename from copy-frameset.
10831         (frameset-p): Check more thoroughly.
10832         (frameset-prop): Do not check for :version, which is no longer a prop.
10833         (frameset-live-filter-alist, frameset-persistent-filter-alist):
10834         Use new :never value instead of t.
10835         (frameset-filter-alist): Expand and clarify docstring.
10836         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10837         (frameset-filter-minibuffer, frameset-filter-save-param)
10838         (frameset-filter-restore-param, frameset-filter-iconified):
10839         Add pointer to docstring of frameset-filter-alist.
10840         (frameset-filter-params): Rename filter values to be more meaningful:
10841         :never instead of t, and reverse the meanings of :save and :restore.
10842         (frameset--process-minibuffer-frames): Clarify error message.
10843         (frameset-save): Avoid unnecessary and confusing call to framep.
10844         Use new BOA constructor for framesets.
10845         (frameset--reuse-list): Doc fix.
10846         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
10847         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10848         (frameset-minibufferless-first-p): Doc fix.
10849         Rename from frameset-sort-frames-for-deletion.
10850         (frameset-restore): Doc fixes.  Use new function names.
10851         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10853 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
10855         * desktop.el (desktop-restore-forces-onscreen)
10856         (desktop-restore-reuses-frames): Document :keyword constant values.
10857         (desktop-filter-parameters-alist): Remove, now identical to
10858         frameset-filter-alist.
10859         (desktop--filter-tty*): Remove, moved to frameset.el.
10860         (desktop-save-frameset, desktop-restore-frameset):
10861         Do not pass :filters argument.
10863         * frameset.el (frameset-live-filter-alist)
10864         (frameset-persistent-filter-alist): New variables.
10865         (frameset-filter-alist): Use them.  Add autoload cookie.
10866         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10867         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10868         `frameset--id' (it's supposed to be internal to frameset.el).
10869         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
10870         (frameset--initial-params): New function.
10871         (frameset--get-frame): Use it.  Doc fix.
10872         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10873         Accept :all, not 'all.
10874         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10875         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
10876         with fbound symbols.  Fix frame id matching, and remove matching ids if
10877         the frame being restored is deleted.  Obey :delete.
10879 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10881         * subr.el (macrop): New function.
10882         (text-clone--maintaining): New var.
10883         (text-clone--maintain): Rename from text-clone-maintain.  Use it
10884         instead of inhibit-modification-hooks.
10886         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10887         a proxy, so as handle autoloads and redefinitions of the target.
10888         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10890         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10891         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
10892         (pcase--mutually-exclusive-p): New function.
10893         (pcase--split-consp): Use it.
10894         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
10895         mutually exclusive with the current predicate.
10897         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10898         (edebug-macrop): Remove.  Use `macrop' instead.
10899         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
10900         (ad-macro-p):
10901         * eshell/esh-cmd.el (eshell-macrop):
10902         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
10904 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10906         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10907         (advice-mapc): New function, using it.
10908         (advice-function-member-p): New function.
10909         (advice--normalize): Store the cdr in advice--saved-rewrite since
10910         that's the part that will be changed.
10911         (advice--symbol-function): New function.
10912         (advice-remove): Handle removal before the function is defined.
10913         Adjust to new advice--saved-rewrite.
10914         (advice-member-p): Use advice-function-member-p and
10915         advice--symbol-function.
10917 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
10919         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10920         (frameset-filter-minibuffer): Doc fix.
10921         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
10922         (frameset--set-id, frameset--process-minibuffer-frames)
10923         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10924         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10926         * desktop.el (desktop-clear): Only delete frames when called
10927         interactively and desktop-restore-frames is non-nil.  Doc fix.
10928         (desktop-read): Set desktop-saved-frameset to nil.
10930 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
10932         * vc/vc.el (vc-ignore): Rewrite.
10933         (vc-default-ignore-completion-table, vc--read-lines)
10934         (vc--add-line, vc--remove-regexp): New functions.
10936         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10937         (vc-svn-ignore-completion-table): New function.
10939         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10940         (vc-hg-ignore-completion-table)
10941         (vc-hg-find-ignore-file): New functions.
10943         * vc/vc-git.el (vc-git-ignore): Rewrite.
10944         (vc-git-ignore-completion-table)
10945         (vc-git-find-ignore-file): New functions.
10947         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10949         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10950         (vc-bzr-ignore-completion-table)
10951         (vc-bzr-find-ignore-file): New functions.
10953 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
10955         * frameset.el (frameset-prop): New function and setter.
10956         (frameset-save): Do not modify frame list passed by the caller.
10958 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10960         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10962 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10964         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10965         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10967         * custom.el (custom-initialize-default, custom-initialize-set)
10968         (custom-initialize-reset, custom-initialize-changed): Affect the
10969         toplevel-default-value (bug#6275, bug#14586).
10970         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10971         for bug#6275.
10973 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
10975         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10976         Add cl-def* expressions.
10978         * frameset.el (frameset-filter-params): Fix order of arguments.
10980 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
10982         Move code related to saving frames to frameset.el.
10983         * desktop.el: Require frameset.
10984         (desktop-restore-frames): Doc fix.
10985         (desktop-restore-reuses-frames): Rename from
10986         desktop-restoring-reuses-frames.
10987         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10988         (desktop-clear): Clear frames too.
10989         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10990         (desktop--filter-tty*, desktop-save, desktop-read):
10991         Use frameset functions.
10992         (desktop-before-saving-frames-functions, desktop--filter-*-color)
10993         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10994         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10995         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10996         (desktop--process-minibuffer-frames, desktop-save-frames)
10997         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10998         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10999         (desktop--sort-states, desktop-restoring-frames-p)
11000         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
11001         (desktop-restoring-frameset-p, desktop-restore-frameset)
11002         (desktop--check-dont-save, desktop-save-frameset): New functions.
11003         (desktop--app-id): New constant.
11004         (desktop-first-buffer, desktop-buffer-ok-count)
11005         (desktop-buffer-fail-count): Move before first use.
11006         * frameset.el: New file.
11008 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11010         * files.el: Use lexical-binding.
11011         (dir-locals-read-from-file): Remove unused `err' variable.
11012         (hack-dir-local-variables--warned-coding): New var.
11013         (hack-dir-local-variables): Use it to avoid repeated warnings.
11014         (make-backup-file-name--default-function): New function.
11015         (make-backup-file-name-function): Use it as default.
11016         (buffer-stale--default-function): New function.
11017         (buffer-stale-function): Use it as default.
11018         (revert-buffer-insert-file-contents--default-function): New function.
11019         (revert-buffer-insert-file-contents-function): Use it as default.
11020         (insert-directory): Avoid add-to-list.
11022         * autorevert.el (auto-revert-handler): Simplify.
11023         Use buffer-stale--default-function.
11025 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
11027         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11029         * whitespace.el (whitespace-ensure-local-variables): New function.
11030         (whitespace-cleanup-region): Call it.
11031         (whitespace-turn-on): Call it.
11033 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
11035         Complete file name handlers.
11037         * net/tramp.el (tramp-handle-set-visited-file-modtime)
11038         (tramp-handle-verify-visited-file-modtime)
11039         (tramp-handle-file-notify-rm-watch): New functions.
11040         (tramp-call-process): Do not bind `default-directory'.
11042         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11043         Order alphabetically.
11044         <access-file, add-name-to-file, dired-call-process>:
11045         <dired-compress-file, file-acl, file-notify-rm-watch>:
11046         <file-ownership-preserved-p, file-selinux-context>:
11047         <make-directory-internal, make-symbolic-link, set-file-acl>:
11048         <set-file-selinux-context, set-visited-file-modtime>:
11049         <verify-visited-file-modtime>: Add handler.
11050         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11052         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11053         <file-notify-add-watch, file-notify-rm-watch>:
11054         <set-file-times, set-visited-file-modtime>:
11055         <verify-visited-file-modtime>: Add handler.
11056         (with-tramp-gvfs-error-message)
11057         (tramp-gvfs-handle-set-visited-file-modtime)
11058         (tramp-gvfs-fuse-file-name): Remove.
11059         (tramp-gvfs-handle-file-notify-add-watch)
11060         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11061         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11063         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11064         Order alphabetically.
11065         <file-notify-rm-watch>: Use default Tramp handler.
11066         <executable-find>: Remove private handler.
11067         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11068         `default-directory'.
11069         (tramp-sh-handle-executable-find)
11070         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11071         (tramp-sh-file-gvfs-monitor-dir-process-filter)
11072         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11073         Do not use `format' in `tramp-message'.
11075         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11076         <file-notify-rm-watch, set-visited-file-modtime>:
11077         <verify-visited-file-modtime>: Add handler.
11078         (tramp-smb-call-winexe): Do not bind `default-directory'.
11080 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
11082         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11084 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
11086         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11087         use it.
11088         (log-view-diff-changeset): Same.
11089         (log-view-diff-common): Call backend command `previous-revision'
11090         to find out the previous revision, in both cases.  Swap the
11091         variables `to' and `fr', so that `fr' usually refers to the
11092         earlier revision (Bug#14989).
11094 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
11096         * ibuf-ext.el (ibuffer-filter-by-filename):
11097         Make it work with dired buffers too.
11099 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
11101         * emacs-lisp/re-builder.el (reb-color-display-p):
11102         * files.el (save-buffers-kill-terminal):
11103         * net/browse-url.el (browse-url):
11104         * server.el (server-save-buffers-kill-terminal):
11105         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11106         Prefer nil to selected-frame for the first arg of frame-parameter.
11108 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
11110         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11112 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
11114         * minibuffer.el (completion--twq-all): Try and preserve each
11115         completion's case choice (bug#14907).
11117 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11119         * net/network-stream.el (open-network-stream): Mention the new
11120         :nogreeting parameter.
11121         (network-stream-open-starttls): Use the :nogreeting parameter
11122         (bug#14938).
11124         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11126         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11127         more natural than popping.
11129         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11130         (shr-urlify): Highlight under mouse.
11132 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
11134         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11136         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11138         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
11139         buffer for output.
11141         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
11142         point-min==1.  Fix search string.  Fix parentheses missing.
11144         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
11145         assume point-min==1.  Fix search string.  Fix parentheses missing.
11147         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11149         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
11150         buffer for output.
11152 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
11154         * frame.el (frame-notice-user-settings): Avoid inflooping when the
11155         initial frame is minibuffer-less.  (Bug#14841)
11157 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
11159         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11160         option.
11162         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11163         (tramp-maybe-open-connection): Use it.
11165 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
11167         * desktop.el (desktop--make-frame): Include `minibuffer' in the
11168         minimal set of parameters passed when creating a frame, because
11169         the minibuffer status of a frame cannot be changed later.
11171 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
11173         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11174         replace-regexp-in-string and inadvertent omissions in previous change.
11175         (todo-filter-items): Ensure only file names are comma-separated in
11176         name of filtered items buffer.
11178 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
11180         * desktop.el: Optionally force offscreen frames back onscreen.
11181         (desktop-restoring-reuses-frames): New option.
11182         (desktop--compute-pos, desktop--move-onscreen): New functions.
11183         (desktop--make-frame): Use desktop--move-onscreen.
11185 2013-07-27  Alan Mackenzie  <acm@muc.de>
11187         Fontify a Java generic method as a function.
11188         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11189         value to t.
11191 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
11193         * calendar/todo-mode.el: Add command to rename todo files.
11194         (todo-rename-file): New command.
11195         (todo-key-bindings-t): Add key binding for it.  Change the
11196         bindings of todo-filter-regexp-items(-multifile) to use `x'
11197         instead of `r', since the latter is better suited to the new
11198         renaming command.
11200 2013-07-27  Alan Mackenzie  <acm@muc.de>
11202         Make Java try-with-resources statement parse properly.
11203         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11204         (c-block-stmt-1-2-key): New language constants/variables.
11205         * progmodes/cc-engine.el (c-beginning-of-statement-1)
11206         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11207         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11208         with c-block-stmt-1-2-key.
11210 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
11212         * desktop.el (desktop--make-frame): Apply most frame parameters after
11213         creating the frame to force (partially or totally) offscreen frames to
11214         be restored as such.
11216 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
11218         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11219         (Bug#14948)
11221 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11223         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11224         `base' arg of backtrace-frame.
11226 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
11228         * simple.el (list-processes): Doc fix.
11230 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
11232         * desktop.el (desktop--select-frame):
11233         Try harder to reuse existing frames.
11235 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11237         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11238         (edebug-eval): Use backtrace-eval.
11239         (edebug--display, edebug--recursive-edit): Don't let-bind the
11240         edebug-outer-* vars that keep track of variables we locally let-bind.
11241         (edebug-outside-excursion): Don't restore outside values of locally
11242         let-bound vars.
11243         (edebug--display): Use user-error.
11244         (cl-lexical-debug, cl-debug-env): Remove.
11246 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
11248         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11249         are restored to be sure that they are visible before deleting any
11250         remaining ones.
11252 2013-07-26  Matthias Meulien  <orontee@gmail.com>
11254         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11255         vc-print-root-log.  (Bug#14948)
11257 2013-07-26  Richard Stallman  <rms@gnu.org>
11259         Add aliases for encrypting mail.
11260         * epa.el (epa-mail-aliases): New option.
11261         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11262         Bind inhibit-read-only so read-only text doesn't ruin everything.
11263         (epa-mail-default-recipients): New subroutine broken out.
11264         Handle epa-mail-aliases.
11266 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11268         Add support for lexical variables to the debugger's `e' command.
11269         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11270         vars, except for debugger-outer-match-data.
11271         (debugger-frame-number): Move check for "on a function call" from
11272         callers into it.  Add `skip-base' argument.
11273         (debugger-frame, debugger-frame-clear): Simplify accordingly.
11274         (debugger-env-macro): Only reset the state stored in non-variables,
11275         i.e. current-buffer and match-data.
11276         (debugger-eval-expression): Rewrite using backtrace-eval.
11277         * subr.el (internal--called-interactively-p--get-frame): Remove.
11278         (called-interactively-p):
11279         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11280         `base' arg of backtrace-frame instead.
11282 2013-07-26  Glenn Morris  <rgm@gnu.org>
11284         * align.el (align-regexp): Doc fix.  (Bug#14857)
11285         (align-region): Explicit error if subexpression missing/does not match.
11287         * simple.el (global-visual-line-mode):
11288         Do not duplicate the mode lighter.  (Bug#14858)
11290 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
11292         * window.el (display-buffer): In display-buffer bind
11293         split-window-keep-point to t, bug#14829.
11295 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
11297         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11298         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11299         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11300         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11301         Change accordingly.
11302         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11303         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11305 2013-07-25  Glenn Morris  <rgm@gnu.org>
11307         * dired-x.el (dired-mark-extension): Convert comment to doc string.
11309 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
11311         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11312         parameter to modify-frame-parameters if the value has not changed;
11313         this is a workaround for bug#14949.
11314         (desktop--make-frame): On cl-delete-if call, check parameter name,
11315         not full parameter.
11317 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
11319         * vc/vc.el (vc-ignore): New function.
11321         * vc/vc-svn.el (vc-svn-ignore): New function.
11323         * vc/vc-hg.el (vc-hg-ignore): New function.
11325         * vc/vc-git.el (vc-git-ignore): New function.
11327         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11328         (vc-dir-ignore): New function.
11330         * vc/vc-cvs.el (vc-cvs-ignore): New function.
11331         (cvs-append-to-ignore): Move here from pcvs.el.
11333         * vc/vc-bzr.el (vc-bzr-ignore): New function.
11335         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11337 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
11339         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11340         (desktop-restore-frames): Warn when deleting an existing frame failed.
11342 2013-07-24  Glenn Morris  <rgm@gnu.org>
11344         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
11346 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
11348         * filenotify.el (file-notify-supported-p):
11349         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11350         Remove functions.
11352         * autorevert.el (auto-revert-use-notify)
11353         (auto-revert-notify-add-watch):
11354         * net/tramp.el (tramp-file-name-for-operation):
11355         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11356         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11357         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11358         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11359         Remove `file-notify-supported-p' entry.
11361 2013-07-24  Glenn Morris  <rgm@gnu.org>
11363         * printing.el: Replace all uses of deleted ps-windows-system,
11364         ps-lp-system, ps-flatten-list with lpr- versions.
11366 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11368         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11369         checked with memq (bug#14935).
11371         * files.el (revert-buffer-function): Use a non-nil default.
11372         (revert-buffer-preserve-modes): Declare var to
11373         provide access to the `preserve-modes' argument.
11374         (revert-buffer): Let-bind it.
11375         (revert-buffer--default): New function, extracted from revert-buffer.
11377 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11379         * lpr.el: Signal print errors more prominently.
11380         (print-region-function): Don't default to nil.
11381         (lpr-print-region): New function, extracted from print-region-1.
11382         Check lpr's return value and signal an error in case of problem.
11383         (print-region-1): Use it.
11384         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
11385         versions instead.
11386         (ps-printer-name): Default to nil.
11387         (ps-printer-name-option): Default to lpr-printer-switch.
11388         (ps-print-region-function): Don't default to nil.
11389         (ps-postscript-code-directory): Simplify default.
11390         (ps-do-despool): Use lpr-print-region to properly check the outcome.
11391         (ps-string-list, ps-eval-switch, ps-flatten-list)
11392         (ps-flatten-list-1): Remove.
11393         (ps-multibyte-buffer): Avoid setq.
11394         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11395         (print-region-function, ps-print-region-function): Don't set them here.
11397 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
11399         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11400         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11401         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11402         (ido-decorations): Doc fix.
11404         * ansi-color.el: Fix old URL.
11406 2013-07-23  Michael R. Mauger  <michael@mauger.com>
11408         * progmodes/sql.el: Version 3.3
11409         (sql-product-alist): Improve oracle :prompt-cont-regexp.
11410         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11411         (sql-interactive-remove-continuation-prompt): Rewrite, use
11412         functions above.  Fix continuation prompt and complete output line
11413         handling.
11414         (sql-redirect-one, sql-execute): Use `read-only-mode' on
11415         redirected output buffer.
11416         (sql-mode): Restore deleted code (Bug#13591).
11418 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
11420         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11422 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
11424         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11426         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11427         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11428         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11430 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
11432         * desktop.el (desktop-clear): Simplify; remove useless checks
11433         against invalid buffer names.
11434         (desktop-list*): Use cl-list*.
11435         (desktop-buffer-info, desktop-create-buffer): Simplify.
11437 2013-07-23  Leo Liu  <sdl.web@gmail.com>
11439         * bookmark.el (bookmark-make-record): Restore NAME as a default
11440         value.  (Bug#14933)
11442 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11444         * emacs-lisp/autoload.el (autoload--setup-output): New function,
11445         extracted from autoload--insert-text.
11446         (autoload--insert-text): Remove.
11447         (autoload--print-cookie-text): New function, extracted from
11448         autoload--insert-cookie-text.
11449         (autoload--insert-cookie-text): Remove.
11450         (autoload-generate-file-autoloads): Adjust calls accordingly.
11452         * winner.el (winner-hook-installed-p): Remove.
11453         (winner-mode): Simplify accordingly.
11455         * subr.el (add-to-list): Fix compiler-macro when `append' is
11456         not constant.  Don't use `cl-member' for the base case.
11458         * progmodes/subword.el: Fix boundary case (bug#13758).
11459         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
11460         own group.
11461         (subword-backward-regexp): Make it a constant.
11462         (subword-forward-internal): Don't treat a trailing capital as the
11463         beginning of a word.
11465 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
11467         * emacs-lisp/package.el (package-menu-mode): Don't modify the
11468         global value of tabulated-list-revert-hook (bug#14930).
11470 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
11472         * desktop.el: Require 'cl-lib.
11473         (desktop-before-saving-frames-functions): New hook.
11474         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11475         for frames being saved.  Rename from desktop--save-minibuffer-frames.
11476         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11477         Do not save frames with non-nil `desktop-dont-save' parameter.
11478         Filter out deleted frames.
11479         (desktop--find-frame): Use cl-find-if.
11480         (desktop--select-frame): Use cl-(first|second|third) to access values
11481         of desktop-mini.
11482         (desktop--make-frame): Use cl-delete-if.
11483         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11484         (desktop-restore-frames): Use cl-(first|second|third) to access values
11485         of desktop-mini.  Look for visible frame at the end, not while
11486         restoring frames.
11488         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11489         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11490         Use string-match-p, looking-at-p (bug#14927).
11492 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
11494         * desktop.el (desktop-saved-frame-states):
11495         Rename from desktop--saved-states; all users changed.
11496         (desktop-save-frames): Rename from desktop--save-frames.
11497         Do not save state to desktop file.
11498         (desktop-save): Save desktop-saved-frame-states to desktop file
11499         and reset to nil.
11500         (desktop-restoring-frames-p): New function.
11501         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
11502         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
11503         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
11505         * desktop.el: Correctly restore iconified frames.
11506         (desktop--filter-iconified-position): New function.
11507         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11509 2013-07-20  Glenn Morris  <rgm@gnu.org>
11511         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11512         Let `message' do the formatting.
11513         (def-gdb-preempt-display-buffer): Add explicit format.
11515         * image-dired.el (image-dired-track-original-file):
11516         Use with-current-buffer.
11517         (image-dired-track-thumbnail): Use with-current-buffer.
11518         Avoid changing point of wrong window.
11520         * image-dired.el (image-dired-track-original-file):
11521         Avoid changing point of wrong window.  (Bug#14909)
11523 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
11525         * progmodes/gdb-mi.el (gdb-done-or-error):
11526         Guard against "%" in gdb output.  (Bug#14127)
11528 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
11530         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11531         (Bug#14826)
11533         * international/mule.el (coding-system-iso-2022-flags): Fix last
11534         change.
11536 2013-07-20  Kenichi Handa  <handa@gnu.org>
11538         * international/mule.el (coding-system-iso-2022-flags):
11539         Add `8-bit-level-4'.  (Bug#8522)
11541 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11543         * net/shr.el (shr-mouse-browse-url): New command and keystroke
11544         (bug#14815).
11546         * net/eww.el (eww-process-text-input): Allow inputting when the
11547         point is at the start of the line, as the properties aren't
11548         front-sticky.
11550         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11551         degenerate widths.
11553 2013-07-19  Richard Stallman  <rms@gnu.org>
11555         * epa.el (epa-popup-info-window): Doc fix.
11557         * subr.el (split-string): New arg TRIM.
11559 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
11561         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11562         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11564 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
11566         * filenotify.el (file-notify--library): Rename from
11567         `file-notify-support'.  Do not autoload.  Adapt all uses.
11568         (file-notify-supported-p): New defun.
11570         * autorevert.el (auto-revert-use-notify):
11571         Use `file-notify-supported-p' instead of `file-notify-support'.
11572         Adapt docstring.
11573         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11575         * net/tramp.el (tramp-file-name-for-operation):
11576         Add `file-notify-supported-p'.
11578         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11579         New defun.
11580         (tramp-sh-file-name-handler-alist): Add it as handler for
11581         `file-notify-supported-p '.
11583         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11584         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11585         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11586         Add `ignore' as handler for `file-notify-*' functions.
11588 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
11590         * simple.el (line-move-partial, line-move): Don't start vscroll or
11591         scroll-up if the current line is not taller than the window.
11592         (Bug#14881)
11594 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
11596         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11597         highlight question marks in the method names as strings.
11598         (ruby-block-beg-keywords): Inline.
11599         (ruby-font-lock-keyword-beg-re): Extract from
11600         `ruby-font-lock-keywords'.
11602 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
11604         * frame.el (blink-cursor-blinks): New defcustom.
11605         (blink-cursor-blinks-done): New defvar.
11606         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11607         (blink-cursor-timer-function): Check if number of blinks has been
11608         done on X and NS.
11609         (blink-cursor-suspend, blink-cursor-check): New defuns.
11611 2013-07-15  Glenn Morris  <rgm@gnu.org>
11613         * edmacro.el (edmacro-format-keys): Fix previous change.
11615 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
11617         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11618         The hack didn't work outside English locales anyway.
11620 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
11622         * simple.el (define-alternatives): Rename from alternatives-define,
11623         per RMS' suggestion.
11625 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
11627         * desktop.el (desktop-restore-frames): Change default to t.
11628         (desktop-restore-in-current-display): Now offer more options.
11629         (desktop-restoring-reuses-frames): New customization option.
11630         (desktop--saved-states): Doc fix.
11631         (desktop-filter-parameters-alist): New variable, renamed and expanded
11632         from desktop--excluded-frame-parameters.
11633         (desktop--target-display): New variable.
11634         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11635         (desktop--filter-tty*, desktop--filter-*-color)
11636         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11637         (desktop--filter-save-desktop-parm)
11638         (desktop-restore-in-original-display-p): New functions.
11639         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11640         (desktop--save-minibuffer-frames): New function, inspired by a similar
11641         function from Martin Rudalics.
11642         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11643         (desktop--restore-in-this-display-p): Remove.
11644         (desktop--find-frame): Rename from desktop--find-frame-in-display
11645         and add predicate argument.
11646         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11647         (desktop--reuse-list): New variable.
11648         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11649         New functions.
11650         (desktop--restore-frames): Add support for "minibuffer-special" frames.
11652 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
11654         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11656 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
11658         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11659         Highlight conversion methods on Kernel.
11661 2013-07-13  Alan Mackenzie  <acm@muc.de>
11663         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11664         and comment it out.  This out-commenting enables certain C++
11665         declarations to be parsed correctly.
11667 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
11669         * international/mule.el (define-coding-system): Doc fix.
11671         * simple.el (default-font-height): Don't call font-info if the
11672         frame's default font didn't change since the frame was created.
11673         (Bug#14838)
11675 2013-07-13  Leo Liu  <sdl.web@gmail.com>
11677         * ido.el (ido-read-file-name): Guard against non-symbol value.
11679 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11681         * progmodes/python.el (python-imenu--build-tree): Fix corner case
11682         in nested defuns.
11684 2013-07-13  Leo Liu  <sdl.web@gmail.com>
11686         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11687         ido-set-matches call.  (Bug#6852)
11689 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
11691         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11692         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11693         Ruby 2.0.
11694         (ruby-font-lock-keywords): Distinguish calls to functions with
11695         module-like names from module references.  Highlight character
11696         literals.
11698 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
11700         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11701         (gdb-send): Handle continued commands.  (Bug#14847)
11703 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
11705         * desktop.el (desktop--v2s): Remove unused local variable.
11706         (desktop-save-buffer): Make defvar-local; adjust docstring.
11707         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11708         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11710 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
11712         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11714 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
11716         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11717         (Bug#14842)
11719 2013-07-12  Glenn Morris  <rgm@gnu.org>
11721         * doc-view.el: Require cl-lib at runtime too.
11722         (doc-view-remove-if): Remove.
11723         (doc-view-search-next-match, doc-view-search-previous-match):
11724         Use cl-remove-if.
11726         * edmacro.el: Require cl-lib at runtime too.
11727         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11728         (edmacro-mismatch, edmacro-subseq): Remove.
11730         * shadowfile.el: Require cl-lib.
11731         (shadow-remove-if): Remove.
11732         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11733         Use cl-remove-if.
11735         * wid-edit.el: Require cl-lib.
11736         (widget-choose): Use cl-remove-if.
11737         (widget-remove-if): Remove.
11739         * progmodes/ebrowse.el: Require cl-lib at runtime too.
11740         (ebrowse-delete-if-not): Remove.
11741         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11742         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11743         Use cl-delete-if-not.
11745 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
11747         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11748         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11750 2013-07-12  Leo Liu  <sdl.web@gmail.com>
11752         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
11754 2013-07-11  Glenn Morris  <rgm@gnu.org>
11756         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11757         (edebug-gensym-index, edebug-gensym):
11758         Remove reimplementation of cl-gensym.
11759         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11761         * thumbs.el: Require cl-lib at run-time too.
11762         (thumbs-gensym-counter, thumbs-gensym):
11763         Remove reimplementation of cl-gensym.
11764         (thumbs-temp-file): Use cl-gensym.
11766         * emacs-lisp/ert.el: Require cl-lib at runtime too.
11767         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11768         (ert--intersection, ert--set-difference, ert--set-difference-eq)
11769         (ert--union, ert--gensym-counter, ert--gensym-counter)
11770         (ert--coerce-to-vector, ert--remove*, ert--string-position)
11771         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11772         (ert-make-test-unbound, ert--expand-should-1)
11773         (ert--expand-should, ert--should-error-handle-error)
11774         (should-error, ert--explain-equal-rec)
11775         (ert--plist-difference-explanation, ert-select-tests)
11776         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11777         Use cl-lib functions rather than reimplementations.
11779 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
11781         * net/tramp.el (tramp-methods): Extend docstring.
11782         (tramp-connection-timeout): New defcustom.
11783         (tramp-error-with-buffer): Reset timestamp only when appropriate.
11784         (with-tramp-progress-reporter): Simplify.
11785         (tramp-process-actions): Improve messages.
11787         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11788         * net/tramp-sh.el (tramp-maybe-open-connection):
11789         Use `tramp-connection-timeout'.
11790         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11791         (Bug#14808)
11793 2013-07-11  Leo Liu  <sdl.web@gmail.com>
11795         * ido.el (ido-read-file-name): Conform to the requirements of
11796         read-file-name.  (Bug#11861)
11797         (ido-read-directory-name): Conform to the requirements of
11798         read-directory-name.
11800 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
11802         * subr.el (delay-warning): New function.
11804 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
11806         * simple.el (default-line-height): New function.
11807         (line-move-partial, line-move): Use it instead of computing the
11808         line height inline.
11809         (line-move-partial): Always compute ROWH.  If the last line is
11810         partially-visible, but its text is completely visible, allow
11811         cursor to enter such a partially-visible line.
11813 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
11815         Improve error messages.  (Bug#14808)
11817         * net/tramp.el (tramp-current-connection): New defvar, moved from
11818         tramp-sh.el.
11819         (tramp-message-show-progress-reporter-message): Remove, not
11820         needed anymore.
11821         (tramp-error-with-buffer): Show message in minibuffer.
11822         Discard input before waiting.  Reset connection timestamp.
11823         (with-tramp-progress-reporter): Improve messages.
11824         (tramp-process-actions): Use progress reporter.  Delete process in
11825         case of error.  Improve messages.
11827         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11828         Call `tramp-error-with-buffer' with vector and buffer.
11829         (tramp-current-connection): Remove.
11830         (tramp-maybe-open-connection): The car of
11831         `tramp-current-connection' are the first 3 slots of the vector.
11833 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
11835         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11836         inside continued strings.
11838 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
11840         Timestamp fixes for undo (Bug#14824).
11841         * files.el (clear-visited-file-modtime): Move here from fileio.c.
11843 2013-07-10  Leo Liu  <sdl.web@gmail.com>
11845         * files.el (require-final-newline): Allow safe local value.
11846         (Bug#14834)
11848 2013-07-09  Leo Liu  <sdl.web@gmail.com>
11850         * ido.el (ido-read-directory-name): Handle fallback.
11851         (ido-read-file-name): Update DIR to ido-current-directory.
11852         (Bug#1516)
11853         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
11855 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
11857         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11858         "autoload".  Remove "warn lower camel case" section, previously
11859         commented out.  Highlight negation char.  Do not highlight the
11860         target in singleton method definitions.
11862 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11864         * faces.el (tty-setup-hook): Declare the hook.
11866         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11867         and detect when a guard/pred depends on local vars (bug#14773).
11868         (pcase--u1): Adjust caller.
11870 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
11872         * simple.el (line-move-partial, line-move): Account for
11873         line-spacing.
11874         (line-move-partial): Avoid setting vscroll when the last
11875         partially-visible line in window is of default height.
11877 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11879         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11880         been used a while.
11882 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
11884         * subr.el (read-quoted-char): Remove unused local variable `char'.
11886 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
11888         * vc/ediff.el (ediff-version): Version update.
11889         (ediff-files-command, ediff3-files-command, ediff-merge-command)
11890         (ediff-merge-with-ancestor-command, ediff-directories-command)
11891         (ediff-directories3-command, ediff-merge-directories-command)
11892         (ediff-merge-directories-with-ancestor-command): New functions.
11893         All are command-line interfaces to ediff: to facilitate calling
11894         Emacs with the appropriate ediff functions invoked.
11896         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11897         New function.
11898         (viper-save-kill-buffer): Check if buffer is modified.
11900         * emulation/viper.el (viper-version): Version update.
11901         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11903 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11905         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11906         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11907         (viper-intercept-ESC-key): Simplify.
11908         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11909         don't use kbd.
11910         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11911         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11912         (viper-setup-ESC-to-escape): New functions.
11913         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11914         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
11916 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
11918         * simple.el (default-font-height, window-screen-lines):
11919         New functions.
11920         (line-move, line-move-partial): Use them instead of
11921         frame-char-height and window-text-height.  This makes scrolling
11922         text smoother when the buffer's default face uses a font that is
11923         different from the frame's default font.
11925 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
11927         * files.el (write-file): Do not display confirm dialog for NS,
11928         it does its own dialog, which can't be canceled (Bug#14578).
11930 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
11932         * simple.el (line-move-partial): Adjust the row returned by
11933         posn-at-point for the current window-vscroll.  (Bug#14567)
11935 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
11937         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11938         (tramp-sh-file-inotifywait-process-filter): Handle file names with
11939         spaces.
11941 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
11943         * window.el (window-state-put-stale-windows): New variable.
11944         (window--state-put-2): Save list of windows without matching buffer.
11945         (window-state-put): Remove "bufferless" windows if possible.
11947 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
11949         * simple.el (alternatives-define): Remove leftover :group keyword.
11950         Tweak docstring.
11952 2013-07-06  Leo Liu  <sdl.web@gmail.com>
11954         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11955         (ido-enable-virtual-buffers): New variable.
11956         (ido-buffer-internal, ido-toggle-virtual-buffers)
11957         (ido-make-buffer-list): Use it.
11958         (ido-exhibit): Support turning on and off virtual buffers
11959         automatically.
11961 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
11963         * simple.el (alternatives-define): New macro.
11965 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11967         * subr.el (read-quoted-char): Use read-key.
11968         (sit-for): Let read-event decode tty input (bug#14782).
11970 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
11972         * calendar/todo-mode.el: Add handling of file deletion, both by
11973         mode command and externally.  Fix various related bugs.
11974         Clarify Commentary and improve some documentation strings and code.
11975         (todo-delete-file): New command.
11976         (todo-check-file): New function.
11977         (todo-show): Handle external deletion of the file we're trying to
11978         show (bug#14688).  Replace called-interactively-p by an optional
11979         prefix argument to avoid problematic interaction with catch form
11980         when byte compiled (bug#14702).
11981         (todo-quit): Handle external deletion of the archive's todo file.
11982         Make sure the buffer that was visiting the archive file is still
11983         live before trying to bury it.
11984         (todo-category-completions): Handle external deletion of any
11985         category completion files.
11986         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11987         of todo files, in case of external deletion.
11988         (todo-add-file): Replace unnecessary setq by let-binding.
11989         (todo-find-archive): Check whether there are any archives.
11990         Replace unnecessary setq by let-binding.
11991         (todo-archive-done-item): Use find-file-noselect to get the
11992         archive buffer whether or not the archive already exists.
11993         Remove superfluous code.  Use file size instead of buffer-file-name to
11994         check if the archive is new; if it is, update list of archives.
11995         (todo-default-todo-file): Allow nil to be a valid value for when
11996         there are no todo files.
11997         (todo-reevaluate-default-file-defcustom): Use corrected definition
11998         of todo-default-todo-file.
11999         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12000         (todo-delete-category, todo-show-categories-table)
12001         (todo-category-number): Clarify comment.
12002         (todo-filter-items): Clarify documentation string.
12003         (todo-show-current-file, todo-display-as-todo-file)
12004         (todo-reset-and-enable-done-separator): Tweak documentation string.
12005         (todo-done-separator): Make separator length window-width, since
12006         bug#2749 is now fixed.
12008 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
12010         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12011         Support both "gvfs-monitor-dir" and "inotifywait".
12012         (tramp-sh-file-inotifywait-process-filter): Rename from
12013         `tramp-sh-file-notify-process-filter'.
12014         (tramp-sh-file-gvfs-monitor-dir-process-filter)
12015         (tramp-get-remote-gvfs-monitor-dir): New defuns.
12017 2013-07-05  Leo Liu  <sdl.web@gmail.com>
12019         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12021 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12023         * frame.el (display-pixel-height, display-pixel-width)
12024         (display-mm-height, display-mm-width): Mention behavior on
12025         multi-monitor setups in docstrings.
12026         (w32-display-monitor-attributes-list): Declare function.
12027         (display-monitor-attributes-list): Use it.
12029 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
12031         * filenotify.el: New package.
12033         * autorevert.el (top): Require filenotify.el.
12034         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
12035         instead.
12036         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12037         (auto-revert-notify-handler): Use `file-notify-*' functions.
12039         * subr.el (file-notify-handle-event): Move function to filenotify.el.
12041         * net/tramp.el (tramp-file-name-for-operation):
12042         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12044         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12045         for `file-notify-add-watch' and `file-notify-rm-watch'.
12046         (tramp-process-sentinel): Improve trace.
12047         (tramp-sh-handle-file-notify-add-watch)
12048         (tramp-sh-file-notify-process-filter)
12049         (tramp-sh-handle-file-notify-rm-watch)
12050         (tramp-get-remote-inotifywait): New defuns.
12052 2013-07-03  Juri Linkov  <juri@jurta.org>
12054         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12055         call of `occur-read-primary-args' to interactive spec.
12057         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12058         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
12060 2013-07-03  Matthias Meulien  <orontee@gmail.com>
12062         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12063         `Buffer-menu-multi-occur'.  Add it to the menu.
12064         (Buffer-menu-mode): Document it in docstring.
12065         (Buffer-menu-multi-occur): New command.  (Bug#14673)
12067 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
12069         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12070         keywords and built-ins.
12072 2013-07-03  Glenn Morris  <rgm@gnu.org>
12074         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
12076         Make info-xref checks case-sensitive by default
12077         * info.el (Info-find-node, Info-find-in-tag-table)
12078         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12079         Add option for exact case matching of nodes.
12080         * info-xref.el (info-xref): New custom group.
12081         (info-xref-case-fold): New option.
12082         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12084 2013-07-03  Leo Liu  <sdl.web@gmail.com>
12086         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12088 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
12090         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12091         middle of block statement initially, lower the depth.  Remove
12092         FIXME comment, not longer valid.  Remove middle of block statement
12093         detection, no need to do that anymore since we've been using
12094         `ruby-parse-region' here.
12096 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
12098         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12100 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
12102         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12104 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
12106         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12107         (desktop-restore-in-current-display): New customization option.
12108         (desktop--excluded-frame-parameters): Add `font'.
12109         (desktop--save-frames): Rename from desktop--save-windows.
12110         (desktop--restore-in-this-display-p): New function.
12111         (desktop--make-full-frame): Remove unwanted width/height from
12112         full(width|height) frames.
12113         (desktop--restore-frames): Rename from desktop--restore-windows.
12114         Obey desktop-restore-current-display.  Do not delete old frames or
12115         select a new frame unless we were able to restore at least one frame.
12117 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
12119         * files.el (find-file-noselect): Simplify conditional expression.
12121         * textmodes/remember.el (remember-append-to-file):
12122         Don't mix `find-buffer-visiting' and `get-file-buffer'.
12124         Add `remember-notes' function to store random notes across Emacs
12125         restarts.
12126         * textmodes/remember.el (remember-data-file): Add :set callback to
12127         affect notes buffer (if any).
12128         (remember-notes): New command.
12129         (remember-notes-buffer-name, bury-remember-notes-on-kill):
12130         New defcustoms for the `remember-notes' function.
12131         (remember-notes-save-and-bury-buffer): New command.
12132         (remember-notes-mode-map): New variable.
12133         (remember-mode): New minor mode.
12134         (remember-notes--kill-buffer-query): New function.
12135         * startup.el (initial-buffer-choice): Add notes to custom type.
12137 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
12139         * bindings.el (right-char, left-char): Don't call sit-for, this is
12140         no longer needed.  Use arithmetic comparison only for numerical
12141         arguments.
12143         * international/mule-cmds.el (select-safe-coding-system):
12144         Handle the case of FROM being a string correctly.  (Bug#14755)
12146 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12148         * net/shr.el (shr-make-table-1): Add a sanity check that allows
12149         progression on degenerate tables.
12150         (shr-rescale-image): ImageMagick animated images currently don't work.
12152 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
12154         Some fixes and improvements for desktop frame restoration.
12155         It is still experimental and disabled by default.
12156         * desktop.el (desktop--save-windows): Put the selected frame at
12157         the head of the list.
12158         (desktop--make-full-frame): New function.
12159         (desktop--restore-windows): Try to re-select the frame that was
12160         selected upon saving.  Do not abort if some frames fail to restore,
12161         just show an error message and continue.  Set up maximized frames
12162         so they have default non-maximized dimensions.
12164 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
12166         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12167         Don't start heredoc inside a string or comment.
12169 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
12171         * bindings.el (visual-order-cursor-movement): New defcustom.
12172         (right-char, left-char): Provide visual-order cursor motion by
12173         calling move-point-visually.  Update the doc strings.
12175 2013-06-28  Kenichi Handa  <handa@gnu.org>
12177         * international/mule.el (define-coding-system): New coding system
12178         properties :inhibit-null-byte-detection,
12179         :inhibit-iso-escape-detection, and :prefer-utf-8.
12180         (set-buffer-file-coding-system): If :charset-list property of
12181         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12182         appropriate for setting.
12184         * international/mule-cmds.el (select-safe-coding-system):
12185         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12186         multibyte characters, return utf-8 (or one of its siblings).
12188         * international/mule-conf.el (prefer-utf-8): New coding system.
12189         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12190         files.
12192 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
12194         * net/shr.el (shr-render-region): New function.
12196         * net/eww.el: Autoload `eww-browse-url'.
12198 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
12200         * emacs-lisp/package-x.el (package-upload-buffer-internal):
12201         Adapt to `package-desc-version' being a list.
12202         Use `package--ac-desc-version' to retrieve version from a package
12203         archive element.
12205 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
12207         New experimental feature to save&restore window and frame setup.
12208         * desktop.el (desktop-save-windows): New defcustom.
12209         (desktop--saved-states): New var.
12210         (desktop--excluded-frame-parameters): New defconst.
12211         (desktop--filter-frame-parms, desktop--find-frame-in-display)
12212         (desktop--restore-windows, desktop--save-windows): New functions.
12213         (desktop-save): Call `desktop--save-windows'.
12214         (desktop-read): Call `desktop--restore-windows'.
12216 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12218         * net/shr.el (add-face-text-property): Remove compat definition.
12220 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
12222         * info.el (Info-try-follow-nearest-node): Move search for footnote
12223         above search for node name to prevent missing a footnote (bug#14717).
12225 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
12227         * obsolete/otodo-mode.el: Add obsolescence info to file header.
12229 2013-06-27  Leo Liu  <sdl.web@gmail.com>
12231         * net/eww.el (eww-read-bookmarks): Check file size.
12233 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12235         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12236         advice--pending if newdef is nil or an autoload (bug#13820).
12237         (advice-mapc): New function.
12239 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12241         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12242         probably.
12243         (eww-mode-map): Add a menu bar.
12244         (eww-add-bookmark): New command.
12245         (eww-bookmark-mode): New mode and commands.
12246         (eww-add-bookmark): Remove newlines from the title.
12247         (eww-bookmark-browse): Don't bug out if it's the only window.
12249 2013-06-26  Glenn Morris  <rgm@gnu.org>
12251         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12252         (hfy-size): Handle ttys.  (Bug#14668)
12254         * info-xref.el: Update for Texinfo 5 change in *note format.
12255         (info-xref-node-re, info-xref-note-re): New constants.
12256         (info-xref-check-buffer): Use info-xref-note-re.
12258 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12260         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12262         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12263         nil terminate the loop (bug#14718).
12265 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12267         * net/eww.el: Rework history traversal.  When going forward/back,
12268         put these actions into the history, too, so that they can be
12269         replayed.
12270         (eww-render): Move the history reset to the correct buffer.
12272 2013-06-25  Juri Linkov  <juri@jurta.org>
12274         * files-x.el (modify-dir-local-variable): Change the header comment
12275         in the file with directory local variables.  (Bug#14692)
12277         * files-x.el (read-file-local-variable-value): Add `default'.
12278         (Bug#14710)
12280 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12282         * net/eww.el (eww-make-unique-file-name): Create a unique file
12283         name before saving to entering `y' accidentally asynchronously.
12285 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
12287         * net/eww.el (eww-download): New command and keystroke.
12289 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12291         * net/eww.el (eww-copy-page-url): Change name of command.
12293         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12294         be more consistent with Info and dired.
12296         * net/eww.el (eww-mode-map): Ditto.
12298 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12300         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
12301         packages from archives.
12302         (package-archive-contents): Change format; include obsolete packages.
12303         (package-desc): Use `dir' to mark builtin packages.
12304         (package--from-builtin): Set the `dir' field to `builtin'.
12305         (generated-autoload-file, version-control): Declare.
12306         (package-compute-transaction): Change first arg and return value to be
12307         lists of package-descs.  Adjust to new package-archive-contents format.
12308         (package--add-to-archive-contents): Adjust to new
12309         package-archive-contents format.
12310         (package-download-transaction): Arg is now a list of package-descs.
12311         (package-install): If `pkg' is a package name, pass it as
12312         a requirement, so it is subject to the usual (e.g. disabled) checks.
12313         (describe-package): Accept package-desc as well.
12314         (describe-package-1): Describe a specific package-desc.  Add links to
12315         other package-descs for the same package name.
12316         (package-menu-describe-package): Pass the actual package-desc.
12317         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12318         works correctly.
12319         (package-desc-status): New function.
12320         (package-menu--refresh): New function, extracted
12321         from package-menu--generate.
12322         (package-menu--generate): Use it.
12323         (package-delete): Update package-alist.
12324         (package-menu-execute): Don't call package-initialize.
12326         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12327         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12328         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12329         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12330         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12331         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12333 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
12335         * window.el (window--state-get-1): Workaround for bug#14527.
12336         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12338 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12340         * net/eww.el (eww-back-url): Implement the history by stashing all
12341         the data into a list.
12342         (eww-forward-url): Allow going forward in the history, too.
12344 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12346         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12347         for values and use read--expression for expressions (bug#14710).
12348         (read-file-local-variable): Avoid setq.
12349         (read-file-local-variable-mode): Use minor-mode-list.
12351 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12353         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12354         for DOI URLs.
12356 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12358         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12359         Update imenu-support when dialect changes.
12361 2013-06-25  Leo Liu  <sdl.web@gmail.com>
12363         * ido.el (ido-read-internal): Allow forward slash on windows.
12365 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12367         * net/eww.el (eww): Start of strings is \\`, not ^.
12369 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
12371         * net/shr.el (shr-browse-url): Fix interactive spec.
12373         * net/eww.el (eww): Add a trailing slash to domain names.
12375 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
12377         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12379 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12381         * net/shr.el (shr-browse-url): Use an external browser if given a
12382         prefix.
12384         * net/eww.el (eww-external-browser): Move to shr.
12386 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
12388         * net/eww.el (eww): Work more correctly for file: URLs.
12389         (eww-detect-charset): Allow quoted charsets.
12390         (eww-yank-page-url): New command and keystroke.
12392 2013-06-24  Daiki Ueno  <ueno@gnu.org>
12394         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12395         file name of gpg executable.
12396         (epg-context-program): New function.
12397         (epg-context-home-directory): New function.
12398         (epg-context-set-program): New function.
12399         (epg-context-set-home-directory): New function.
12400         (epg--start): Use `epg-context-program' instead of
12401         'epg-gpg-program'.
12402         (epg--list-keys-1): Likewise.
12404 2013-06-24  Leo Liu  <sdl.web@gmail.com>
12406         * ido.el (ido-read-internal): Fix bug#14620.
12408 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
12410         * faces.el (face-documentation): Simplify.
12411         (read-face-attribute, tty-find-type, x-resolve-font-name):
12412         Use `string-match-p'.
12413         (list-faces-display): Use `string-match-p'.  Simplify.
12414         (face-spec-recalc): Check face to avoid face alias loops.
12415         (read-color): Use `string-match-p' and non-capturing parenthesis.
12417 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12419         * net/shr.el (shr-rescale-image): Use the new
12420         :max-width/:max-height functionality.
12422 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
12424         * net/eww.el (eww-search-prefix): New variable.
12425         (eww): Use it.
12426         (eww-external-browser): New variable.
12427         (eww-mode-map): New keystroke.
12428         (eww-browse-with-external-browser): New command.
12430         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12432 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
12434         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12435         Don't skip aligning the next header field when padding is 0;
12436         otherwise, field width is not respected unless the title is as
12437         wide as the field.
12439 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12441         * emacs-lisp/package.el (package-el-version): Remove.
12442         (package-process-define-package): Fix inf-loop.
12443         (package-install): Allow symbols as arguments again.
12445 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
12447         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12448         add some more keyword-like methods.
12449         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12451 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
12453         * bs.el (bs-buffer-show-mark): Make defvar-local.
12454         (bs-mode): Use setq-local.
12456         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12457         (emacs-lock--try-unlocking): Make defvar-local.
12459 2013-06-22  Glenn Morris  <rgm@gnu.org>
12461         * play/cookie1.el (cookie-apropos): Minor simplification.
12463         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12465 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
12467         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12468         `regexp-opt', it breaks the build during dumping.
12470 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
12472         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12473         Highlight keyword-like methods on Kernel and Module with
12474         font-lock-builtin-face.
12475         (auto-mode-alist): Consolidate different entries into one regexp
12476         and add more *file-s.
12478 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
12480         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12482         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12483         (diary-entry): Use it in the action of this button type instead of
12484         diary-goto-entry.
12486         * calendar/todo-mode.el: New version.
12487         (todo-add-category): Append new category to end of file and give
12488         it the highest number, instead of putting it at the beginning and
12489         giving it 0.  Incorporate noninteractive functionality.
12490         (todo-forward-category): Adapt to 1-based category numbering.
12491         Allow skipping over archived categories.
12492         (todo-backward-category): Derive from todo-forward-category.
12493         (todo-backward-item, todo-forward-item): Make noninteractive and
12494         delegate interactive part to new commands.  Make sensitive to done items.
12495         (todo-categories): Make value an alist of category names and
12496         vectors of item counts.
12497         (todo-category-beg): Make a defconst.
12498         (todo-category-number): Use 1 instead of 0 as initial value.
12499         (todo-category-select): Make sensitive to overlays, optional item
12500         highlighting and done items.
12501         (todo-delete-item): Make sensitive to overlays and marked and done items.
12502         (todo-edit-item): Make sensitive to overlays and editing of
12503         date/time header optional.  Add format checks.
12504         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
12505         no-op if point is not on an item.  Advertise using todo-edit-quit.
12506         (todo-edit-mode): Make sensitive to new format, font-locking, and
12507         multiple todo files.
12508         (todo-insert-item, todo-insert-item-here): Derive from
12509         todo-basic-insert-item and extend functionality.
12510         (todo-item-end, todo-item-start): Make sensitive to done items.
12511         (todo-item-string): Don't return text properties.  Restore point.
12512         (todo-jump-to-category): Make sensitive to multiple todo files and
12513         todo archives.  Use extended category completion.
12514         (todo-lower-item, todo-raise-item): Rename to *-priority and
12515         derive from todo-set-item-priority.
12516         (todo-mode): Derive from special-mode.  Make sensitive to new
12517         format, font-locking and multiple todo files.  Make read-only.
12518         (todo-mode-map): Don't suppress digit keys, so they can supply
12519         prefix arguments.  Add many new key bindings.
12520         (todo-prefix): Insert as an overlay instead of file text.
12521         Change semantics from diary date expression to purely visual mark.
12522         (todo-print): Rename to todo-print-buffer.  Make buffer display
12523         features printable.  Remove option to restrict number of items
12524         printed.  Add option to print to file.
12525         (todo-print-function): Rename to todo-print-buffer-function.
12526         (todo-quit): Extend to handle exiting new todo modes.
12527         (todo-remove-item): Make sensitive to overlays.
12528         (todo-save): Extend to buffers of filtered items.
12529         (todo-show): Make sensitive to done items, multiple todo files and
12530         new todo modes.  Offer to convert legacy todo file before creating
12531         first new todo file.
12532         (todo-show-priorities): Rename to todo-top-priorities.
12533         Change semantics of value 0.
12534         (todo-top-priorities): Rename to todo-filter-top-priorities,
12535         derive from todo-filter-items and extend functionality.
12536         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12537         and extend functionality to other types of filtered items.
12538         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12539         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12540         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12541         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12542         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12543         (todo-edit-mode-hook, todo-entry-prefix-function)
12544         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12545         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12546         (todo-initials, todo-insert-threshold, todo-item-string-start)
12547         (todo-line-string, todo-menu, todo-mode-hook)
12548         (todo-more-important-p, todo-previous-answer, todo-previous-line)
12549         (todo-print-priorities, todo-remove-separator)
12550         (todo-save-top-priorities-too, todo-string-count-lines)
12551         (todo-string-multiline-p, todo-time-string-format)
12552         (todo-tmp-buffer-name): Remove.
12553         (todo-add-file, todo-archive-done-item, todo-choose-archive)
12554         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12555         (todo-edit-category-diary-inclusion)
12556         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12557         (todo-edit-file, todo-edit-item-date-day)
12558         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12559         (todo-edit-item-date-month, todo-edit-item-date-to-today)
12560         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12561         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12562         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12563         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12564         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12565         (todo-filter-top-priorities-multifile, todo-find-archive)
12566         (todo-find-filtered-items-file, todo-go-to-source-item)
12567         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12568         (todo-jump-to-archive-category, todo-lower-category)
12569         (todo-mark-category, todo-marked-item-p, todo-merge-category)
12570         (todo-move-category, todo-move-item, todo-next-button)
12571         (todo-next-item, todo-padded-string, todo-powerset)
12572         (todo-previous-button, todo-previous-item)
12573         (todo-print-buffer-to-file, todo-raise-category)
12574         (todo-rename-category, todo-repair-categories-sexp, todo-search)
12575         (todo-set-category-number, todo-set-item-priority)
12576         (todo-set-top-priorities-in-category)
12577         (todo-set-top-priorities-in-file, todo-show-categories-table)
12578         (todo-sort-categories-alphabetically-or-numerically)
12579         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12580         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12581         (todo-toggle-item-header, todo-toggle-item-highlighting)
12582         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12583         (todo-toggle-view-done-items, todo-toggle-view-done-only)
12584         (todo-unarchive-items, todo-unmark-category): New commands.
12585         (todo-absolute-file-name, todo-add-to-buffer-list)
12586         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12587         (todo-basic-insert-item, todo-category-completions)
12588         (todo-category-number, todo-category-string-matcher-1)
12589         (todo-category-string-matcher-2, todo-check-filtered-items-file)
12590         (todo-check-format, todo-clear-matches)
12591         (todo-comment-string-matcher, todo-convert-legacy-date-time)
12592         (todo-current-category, todo-date-string-matcher)
12593         (todo-define-insertion-command, todo-diary-expired-matcher)
12594         (todo-diary-goto-entry, todo-diary-item-p)
12595         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12596         (todo-display-categories, todo-display-sorted, todo-done-item-p)
12597         (todo-done-item-section-p, todo-done-separator)
12598         (todo-done-string-matcher, todo-files, todo-filter-items)
12599         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12600         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12601         (todo-insert-category-line, todo-insert-item-from-calendar)
12602         (todo-insert-sort-button, todo-insert-with-overlays)
12603         (todo-insertion-command-name, todo-insertion-key-bindings)
12604         (todo-label-to-key, todo-longest-category-name-length)
12605         (todo-make-categories-list, todo-mode-external-set)
12606         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12607         (todo-modes-set-3, todo-multiple-filter-files)
12608         (todo-nondiary-marker-matcher, todo-prefix-overlays)
12609         (todo-read-category, todo-read-date, todo-read-dayname)
12610         (todo-read-file-name, todo-read-time)
12611         (todo-reevaluate-category-completions-files-defcustom)
12612         (todo-reevaluate-default-file-defcustom)
12613         (todo-reevaluate-filelist-defcustoms)
12614         (todo-reevaluate-filter-files-defcustom)
12615         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12616         (todo-reset-done-separator, todo-reset-done-separator-string)
12617         (todo-reset-done-string, todo-reset-global-current-todo-file)
12618         (todo-reset-highlight-item, todo-reset-nondiary-marker)
12619         (todo-reset-prefix, todo-set-categories)
12620         (todo-set-date-from-calendar, todo-set-show-current-file)
12621         (todo-set-top-priorities, todo-short-file-name)
12622         (todo-show-current-file, todo-sort, todo-time-string-matcher)
12623         (todo-total-item-counts, todo-update-buffer-list)
12624         (todo-update-categories-display, todo-update-categories-sexp)
12625         (todo-update-count, todo-validate-name, todo-y-or-n-p):
12626         New functions.
12627         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12628         New major modes.
12629         (todo-categories, todo-display, todo-edit, todo-faces)
12630         (todo-filtered): New defgroups.
12631         (todo-archived-only, todo-button, todo-category-string, todo-date)
12632         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12633         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12634         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12635         (todo-add-item-if-new-category, todo-always-add-time-string)
12636         (todo-categories-align, todo-categories-archived-label)
12637         (todo-categories-category-label, todo-categories-diary-label)
12638         (todo-categories-done-label, todo-categories-number-separator)
12639         (todo-categories-todo-label, todo-categories-totals-label)
12640         (todo-category-completions-files, todo-completion-ignore-case)
12641         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12642         (todo-done-separator-string, todo-done-string)
12643         (todo-files-function, todo-filter-done-items, todo-filter-files)
12644         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12645         (todo-initial-category, todo-initial-file, todo-item-mark)
12646         (todo-legacy-date-time-regexp, todo-mode-line-function)
12647         (todo-nondiary-marker, todo-number-prefix)
12648         (todo-print-buffer-function, todo-show-current-file)
12649         (todo-show-done-only, todo-show-first, todo-show-with-done)
12650         (todo-skip-archived-categories, todo-top-priorities-overrides)
12651         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12652         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12653         New defcustoms.
12654         (todo-category-done, todo-date-pattern, todo-date-string-start)
12655         (todo-diary-items-buffer, todo-done-string-start)
12656         (todo-filtered-items-buffer, todo-item-start)
12657         (todo-month-abbrev-array, todo-month-name-array)
12658         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12659         (todo-top-priorities-buffer): New defconsts.
12660         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12661         (todo-categories-with-marks, todo-category-string-face)
12662         (todo-comment-face, todo-comment-string, todo-current-todo-file)
12663         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12664         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12665         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12666         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12667         (todo-font-lock-keywords, todo-global-current-todo-file)
12668         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12669         (todo-insertion-commands-args)
12670         (todo-insertion-commands-args-genlist)
12671         (todo-insertion-commands-names, todo-insertion-map)
12672         (todo-key-bindings-t, todo-key-bindings-t+a)
12673         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12674         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12675         (todo-nondiary-face, todo-print-buffer, todo-time-face)
12676         (todo-visited): New variables.
12678 2013-06-21  Glenn Morris  <rgm@gnu.org>
12680         * play/cookie1.el (cookie-apropos): Add optional display argument.
12681         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12682         (psychoanalyze-pinhead): Use cookie-doctor.
12684 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
12686         * emacs-lisp/package.el (tar-get-file-descriptor)
12687         (tar--extract): Declare.
12689 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
12691         Extend flymake's warning predicate to be a function (bug#14217).
12692         * progmodes/flymake.el (flymake-warning-predicate): New.
12693         (flymake-parse-line): Use it.
12694         (flymake-warning-re): Make obsolete alias to
12695         `flymake-warning-predicate'.
12697 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12699         * emacs-lisp/package.el (package-alist): Include obsolete packages.
12700         (package-obsolete-list): Remove.
12701         (package-activate): Remove min-version argument.  Add `force' argument.
12702         Adjust to new package-alist format.
12703         (package-mark-obsolete): Remove.
12704         (package-unpack): Force reload of the package's autoloads.
12705         (package-installed-p): Check builtins if the installed package is not
12706         recent enough.
12707         (package-initialize): Don't reset package-obsolete-list.
12708         Don't specify which package version to activate.
12709         (package-process-define-package, describe-package-1)
12710         (package-menu--generate): Adjust to new package-alist format.
12712 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
12714         * allout-widgets.el (allout-widgets-mode-off)
12715         (allout-widgets-mode-on, allout-widgets-pre-command-business)
12716         (allout-widgets-post-command-business)
12717         (allout-widgets-after-copy-or-kill-function)
12718         (allout-widgets-after-undo-function, allout-test-range-overlaps)
12719         (allout-decorate-item-and-context)
12720         (allout-graphics-modification-handler): Fix typos in docstrings.
12721         (allout-get-or-create-parent-widget): Use `looking-at-p'.
12723         * cmuscheme.el (scheme-start-file): Doc fix.
12724         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12725         (scheme-input-filter): Use `string-match-p'.
12727         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12729         * dired-x.el: Use Dired consistently in docstrings.
12731         * dired.el: Use Dired consistently in docstrings.
12732         (dired-readin, dired-mode): Use `setq-local'.
12733         (dired-switches-alist): Make defvar-local.
12734         (dired-buffers-for-dir): Use `zerop'.
12735         (dired-safe-switches-p, dired-switches-escape-p)
12736         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12737         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12738         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12739         (dired-goto-next-nontrivial-file): Use `string-match-p'.
12740         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12741         (dired-toggle-marks, dired-mark-files-containing-regexp)
12742         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12743         (dired-flag-auto-save-files, dired-flag-backup-files):
12744         Use `looking-at-p'.
12745         (dired-mark-files-regexp, dired-build-subdir-alist):
12746         Use `string-match-p', `looking-at-p'.
12748         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12749         (direct-print-region-helper): Use `string-match-p'.
12751 2013-06-21  Leo Liu  <sdl.web@gmail.com>
12753         * comint.el (comint-redirect-results-list-from-process):
12754         Fix infinite loop.
12756 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12758         * net/eww.el (eww-update-header-line-format): Quote % characters.
12760 2013-06-21  Glenn Morris  <rgm@gnu.org>
12762         * play/cookie1.el (cookie): New custom group.
12763         (cookie-file): New option.
12764         (cookie-check-file): New function.
12765         (cookie): Make it interactive.  Make start and end messages optional.
12766         Interactively, display the result.  Default to cookie-file.
12767         (cookie-insert): Default to cookie-file.
12768         (cookie-snarf): Make start and end messages optional.
12769         Default to cookie-file.  Use with-temp-buffer.
12770         (cookie-read): Rename from read-cookie.
12771         Make start and end messages optional.  Default to cookie-file.
12772         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
12773         Do not autoload it.
12774         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12775         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12777 2013-06-21  Leo Liu  <sdl.web@gmail.com>
12779         * progmodes/octave.el (octave-mode): Backward compatibility fix.
12781 2013-06-21  Glenn Morris  <rgm@gnu.org>
12783         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12785 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12786             Daniel Hackney  <dan@haxney.org>
12788         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12789         Consolidate the single-file vs tarball code.
12790         (package-desc-suffix): New function.
12791         (package-desc-full-name): Don't bother inlining it.
12792         (package-load-descriptor): Return the new package-desc.
12793         (package-mark-obsolete): Remove unused arg `package'.
12794         (package-unpack): Make it work for single files as well.
12795         Make it update package-alist.
12796         (package--make-autoloads-and-stuff): Rename from
12797         package--make-autoloads-and-compile.  Don't compile any more.
12798         (package--compile): New function.
12799         (package-generate-description-file): New function, extracted from
12800         package-unpack-single.
12801         (package-unpack-single): Remove.
12802         (package--with-work-buffer): Add indentation and debugging info.
12803         (package-download-single): Remove.
12804         (package-install-from-archive): Rename from package-download-tar, make
12805         it take a pkg-desc, and make it work for single files as well.
12806         (package-download-transaction): Simplify.
12807         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
12808         external tar program.
12809         (package-install-from-buffer): Remove `pkg-desc' argument.
12810         Use package-tar-file-info for tar-mode buffers.
12811         (package-install-file): Simplify accordingly.
12812         (package-archive-base): Change to take a pkg-desc.
12813         * tar-mode.el (tar--check-descriptor): New function, extracted from
12814         tar-get-descriptor.
12815         (tar-get-descriptor): Use it.
12816         (tar-get-file-descriptor): New function.
12817         (tar--extract): New function, extracted from tar-extract.
12818         (tar--extract): Use it.
12819         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12820         case the summary uses non-ascii.  Adjust to new calling convention of
12821         package-tar-file-info.
12823 2013-06-21  Leo Liu  <sdl.web@gmail.com>
12825         * comint.el (comint-redirect-results-list-from-process):
12826         Fix random delay.  (Bug#14681)
12828 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
12830         * profiler.el (profiler-format-number): Use log, not log10.
12832 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
12834         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12836 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12838         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12839         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12840         yet available.
12841         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12842         (AUTOGENEL): ... here.
12843         * emacs-lisp/cl-macs.el (cl--sublis): New function.
12844         (cl--defsubst-expand): Use it.
12846 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
12848         * subr.el (log10): Move here from C code, and declare as obsolete.
12849         All uses of (log10 X) replaced with (log X 10).
12851 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
12853         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12854         Declare with `defvar-local'.
12855         (tabulated-list-use-header-line, tabulated-list-entries)
12856         (tabulated-list-padding, tabulated-list-printer)
12857         (tabulated-list-sort-key): Declare with `defvar-local'.
12858         (tabulated-list-init-header, tabulated-list-print-fake-header):
12859         Use `setq-local'.
12861 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
12863         * arc-mode.el (archive-mode): Add `archive-write-file' to
12864         `write-contents-functions' also for remote files.  (Bug#14652)
12866 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
12868         * cus-edit.el (custom-commands): Fix typos.
12869         (custom-display): Fix tooltip text.
12870         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12871         Fix typos in docstrings.
12872         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12873         (custom-unlispify-menu-entry, custom-magic-value-create)
12874         (custom-add-see-also, custom-group-value-create): Use ?\s.
12875         (custom-guess-type, customize-apropos, editable-field)
12876         (custom-face-value-create): Use `string-match-p'.
12877         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12879         * custom.el (custom-load-symbol): Use `string-match-p'.
12881         * ansi-color.el: Convert to lexical binding.
12882         (ansi-colors): Fix URL.
12883         (ansi-color-context, ansi-color-context-region): Use defvar-local.
12884         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12885         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12887 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12889         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12891         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12893 2013-06-19  Tom Tromey  <tromey@redhat.com>
12895         * net/eww.el (eww-top-url): Remove.
12896         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12897         (eww-render): Set new variables.  Don't set eww-top-url.
12898         (eww-handle-link): Handle "prev", "home", and "contents".
12899         Downcase the rel text.
12900         (eww-top-url): Choose best top URL.
12902 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12904         * net/eww.el: Rewrite to implement form elements "by hand" instead of
12905         relying in widget.el.  Using widget.el leads to too many
12906         user interface inconsistencies.
12907         (eww-self-insert): Implement entering commands in text fields.
12908         (eww-process-text-input): New function to make text input field editing
12909         work.
12910         (eww-submit): Rewrite to use the new-style form methods.
12911         (eww-select-display): Display the correct selected item.
12912         (eww-change-select): Implement changing the select value.
12913         (eww-toggle-checkbox): Implement radio/checkboxes.
12914         (eww-update-field): Fix compilation error.
12915         (eww-tag-textarea): Implement <textarea>.
12917         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12918         we don't shadow mode-specific bindings.
12920         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12921         nothing to push.
12923         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12925 2013-06-19  Glenn Morris  <rgm@gnu.org>
12927         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12929 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
12931         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12932         not needed.
12934         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12936 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12938         * net/browse-url.el (browse-url-browser-function):
12939         `eww-browse-url' has the right calling signature, `eww' does not.
12941 2013-06-19  Glenn Morris  <rgm@gnu.org>
12943         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12944         Only eval autoloaded macros.
12945         (byte-compile-autoload): Only give the macro warning for macros.
12947         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12948         (ps-underlined-faces): Declare.
12950         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12951         (speedbar-add-supported-extension): Declare.
12953         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12954         Don't include a date stamp in the header of the generated file;
12955         it leads to needless differences between output files.
12957 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
12959         * net/secrets.el (secrets-struct-secret-content-type):
12960         Replace check of introspection data by a test call of "CreateItem".
12961         Some servers do not offer introspection.
12963 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12965         * electric.el (electric-pair-mode): Improve interaction with
12966         electric-layout-mode.
12967         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12968         (electric-pair-syntax): Use text-mode-syntax-table in comments
12969         and strings.
12970         (electric-pair--insert): New function.
12971         (electric-pair-post-self-insert-function): Use it and
12972         electric--after-char-pos.
12974 2013-06-19  Leo Liu  <sdl.web@gmail.com>
12976         * progmodes/octave.el (octave-help): Fix regexp.
12978 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12980         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12981         (shr-table-horizontal-line): Allow nil as a value, and change the
12982         default.
12983         (shr-insert-table-ruler): Respect the nil value.
12985 2013-06-18  Tom Tromey  <tromey@barimba>
12987         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12988         New defvars.
12989         (eww-open-file): New defun.
12990         (eww-render): Initialize new variables.
12991         (eww-display-html): Handle "link" and "a".
12992         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12993         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
12994         (eww-back-url): Rename from eww-previous-url.
12995         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12996         New defuns.
12998 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
13000         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13001         Distinguish ternary operator tokens from slash symbol and slash
13002         char literal.
13004 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
13006         Convert symbol prettification into minor mode and global minor mode.
13008         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13009         `prog-prettify-symbols', and make a local defvar instead of defcustom.
13010         (prettify-symbols--keywords): Rename from
13011         `prog-prettify-symbols-alist' and make a local defvar.
13012         (prettify-symbols--compose-symbol): Rename from
13013         `prog--prettify-font-lock-compose-symbol'.
13014         (prettify-symbols--make-keywords): Rename from
13015         `prog-prettify-font-lock-symbols-keywords' and simplify.
13016         (prog-prettify-install): Remove.
13017         (prettify-symbols-mode): New minor mode, based on
13018         `prog-prettify-install'.
13019         (turn-on-prettify-symbols-mode): New function.
13020         (global-prettify-symbols-mode): New globalized minor mode.
13022         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13023         * progmodes/cfengine.el (cfengine3-mode):
13024         * progmodes/perl-mode.el (perl-mode): Don't call
13025         `prog-prettify-install'; set `prettify-symbols-alist' instead.
13027 2013-06-18  Juri Linkov  <juri@jurta.org>
13029         * files-x.el (modify-file-local-variable-message): New function.
13030         (modify-file-local-variable)
13031         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13032         and call `modify-file-local-variable-message' when it's non-nil.
13033         (add-file-local-variable, delete-file-local-variable)
13034         (add-file-local-variable-prop-line)
13035         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13036         and use it.  (Bug#9820)
13038 2013-06-18  Juri Linkov  <juri@jurta.org>
13040         * emulation/vi.el (vi-shell-op):
13041         * emulation/vip.el (vip-execute-com, ex-command):
13042         * emulation/viper-cmd.el (viper-exec-bang):
13043         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13044         the call of `shell-command-on-region'.  (Bug#14637)
13046         * simple.el (shell-command-on-region): Doc fix.
13048 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13050         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13051         (bug#14633).
13053 2013-06-18  Glenn Morris  <rgm@gnu.org>
13055         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13057         * newcomment.el (comment-search-forward, comment-search-backward):
13058         Doc fix.  (Bug#14376)
13060 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
13062         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13063         (buffer-face-mode-invoke): Doc fix.
13065 2013-06-18  Matthias Meulien  <orontee@gmail.com>
13067         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13068         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13070 2013-06-18  Glenn Morris  <rgm@gnu.org>
13072         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13073         Replace obsolete function generic-make-keywords with its expansion.
13075         * progmodes/python.el (ffap-alist): Declare.
13077         * textmodes/reftex.el (bibtex-mode-map): Declare.
13079 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13081         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13082         (package-unpack, package-unpack-single): Return the pkg-dir.
13083         (package-download-transaction): Use it to update package-alist.
13085 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13087         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13088         possible choice.
13090 2013-06-17  Juri Linkov  <juri@jurta.org>
13092         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13094 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
13096         * emacs-lisp/package.el (package-load-descriptor):
13097         Remove `with-syntax-table' call, `read' doesn't need it.
13098         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13100 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
13102         * startup.el (command-line): Expand package name returned by
13103         `package--description-file' (bug#14639).
13105 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
13107         * emacs-lisp/package.el (package-load-descriptor): Do not call
13108         `emacs-lisp-mode', just use its syntax table.
13110 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
13112         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13113         `font-lock-extra-managed-props' if any prettifying keyword is added.
13114         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13115         (prog-mode): Use `setq-local'.
13117 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13119         * international/characters.el (standard-case-table): Set syntax of ?»
13120         and ?« to punctuation.
13122 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
13124         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13125         Save relevant match data before calling `syntax-ppss' (bug#14595).
13127 2013-06-15  Juri Linkov  <juri@jurta.org>
13129         * files-x.el (modify-file-local-variable-prop-line): Add local
13130         variables to the end of the existing comment on the first line.
13131         Use `file-auto-mode-skip' to skip interpreter magic line,
13132         and also skip XML declaration.
13134 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13136         * startup.el (package--builtin-versions): New var.
13137         (package-subdirectory-regexp): Remove.
13138         (package--description-file): Hard code its value instead.
13140         * emacs-lisp/package.el: Don't activate packages older than builtin.
13141         (package-obsolete-list): Rename from package-obsolete-alist, and make
13142         it into a simple list of package-desc.
13143         (package-strip-version): Remove.
13144         (package-built-in-p): Use package--builtin-versions.
13145         (package-mark-obsolete): Simplify.
13146         (package-process-define-package): Mark it obsolete if older than the
13147         builtin version.
13148         (package-handle-response): Use line-end-position.
13149         (package-read-archive-contents, package--download-one-archive):
13150         Simplify.
13151         (package--add-to-archive-contents): Skip if older than the builtin or
13152         installed version.
13153         (package-menu-describe-package): Fix last change.
13154         (package-list-unversioned): New var.
13155         (package-menu--generate): Use it.
13157         * emacs-lisp/autoload.el: Manage package--builtin-versions.
13158         (autoload--insert-text, autoload--insert-cookie-text): New functions.
13159         (autoload-builtin-package-versions): New variable.
13160         (autoload-generate-file-autoloads): Use them.
13161         Remove the list of autoloaded functions/macros from the
13162         (autoload...) comments.
13164         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13166 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
13168         * simple.el (line-move-partial): Don't jump to the next screen
13169         line as soon as it becomes visible.  Instead, continue enlarging
13170         the vscroll until the portion of a tall screen line that's left on
13171         display is about the height of the frame's default font.
13172         (Bug#14567)
13174 2013-06-15  Glenn Morris  <rgm@gnu.org>
13176         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13177         compilation-error-regexp-alist void, or local while let-bound.
13179         * progmodes/make-mode.el (makefile-mode-syntax-table):
13180         Treat "=" as punctuation.  (Bug#14614)
13182 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
13184         * help-fns.el (describe-variable):
13185         Add extra line for permanent-local variables.
13187 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
13189         * progmodes/scheme.el (scheme-font-lock-keywords-2):
13190         Add export, import, library.  (Bug#9164)
13191         (library): Set indent function.
13193 2013-06-14  Glenn Morris  <rgm@gnu.org>
13195         * term/xterm.el (xterm--query):
13196         Stop after first matching handler.  (Bug#14615)
13198 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
13200         Add support for dired in saveplace.
13201         * dired.el (dired-initial-position-hook): New variable.
13202         (dired-initial-position): Call hook to place cursor position.
13203         * saveplace.el (save-place-to-alist): Add dired position.
13204         (save-place-dired-hook): New function.
13206 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13208         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13209         through a symbol rather than letrec.
13211         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
13212         (package-desc): Add `dir' field.
13213         (package-desc-full-name): New function.
13214         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
13215         (package-maybe-load-descriptor): Remove.
13216         (package-load-all-descriptors): Just call package-load-descriptor.
13217         (package--disabled-p): New function.
13218         (package-desc-vers, package-desc-doc): Remove aliases.
13219         (package--dir): Remove function.
13220         (package-activate): Check if a package is disabled.
13221         (package-process-define-package): New function, extracted from
13222         define-package.
13223         (define-package): Turn into a place holder.
13224         (package-unpack-single, package-tar-file-info):
13225         Use package--description-file.
13226         (package-compute-transaction): Use package--disabled-p.
13227         (package-download-transaction): Don't call
13228         package-maybe-load-descriptor since they're all loaded anyway.
13229         (package-install): Change argument to be a pkg-desc.
13230         (package-delete): Use a single pkg-desc argument.
13231         (describe-package-1): Use package-desc-dir instead of package--dir.
13232         Use package-desc property instead of package-symbol.
13233         (package-install-button-action): Adjust accordingly.
13234         (package--push): Rewrite.
13235         (package-menu--print-info): Adjust accordingly.  Change the ID format
13236         to be a pkg-desc.
13237         (package-menu-describe-package, package-menu-get-status)
13238         (package-menu--find-upgrades, package-menu-mark-upgrades)
13239         (package-menu-execute, package-menu--name-predicate):
13240         Adjust accordingly.
13241         * startup.el (package--description-file): New function.
13242         (command-line): Use it.
13243         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13244         Use package-desc-version.
13246         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13247         (byte-compile-preprocess): Use it.
13248         (byte-compile-file-form-defalias): Try a bit harder to use macros we
13249         can't quite recognize.
13250         (byte-compile-add-to-list): Remove.
13251         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13252         (cconv-closure-convert): Add assertion.
13254         * emacs-lisp/map-ynp.el: Use lexical-binding.
13255         (map-y-or-n-p): Remove unused vars `tail' and `object'.
13256         Factor out some repeated code.
13258 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13260         * subr.el (with-eval-after-load): New macro.
13261         (eval-after-load): Allow form to be a function.
13262         take advantage of lexical-binding.
13263         (do-after-load-evaluation): Use dolist and adjust to new format.
13264         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13266 2013-06-13  Juri Linkov  <juri@jurta.org>
13268         * replace.el (perform-replace): Display "symbol " and other search
13269         modes from `isearch-message-prefix' in the *Help* buffer.
13271         * isearch.el (isearch-query-replace): Add " symbol" and other
13272         possible search modes from `isearch-message-prefix' to the prompt.
13273         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13274         when reading a regexp to collect.
13276 2013-06-13  Juri Linkov  <juri@jurta.org>
13278         * isearch.el (word-search-regexp): Match whitespace if the search
13279         string begins or ends in whitespace.  The LAX arg is applied to
13280         both ends of the search string.  Use `regexp-quote' and explicit
13281         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
13282         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13283         boundaries are replaced with symbol boundaries, and characters
13284         between symbols match non-word non-symbol syntax.  (Bug#14602)
13286 2013-06-13  Juri Linkov  <juri@jurta.org>
13288         * isearch.el (isearch-del-char): Don't exceed the length of
13289         `isearch-string' by the prefix arg.  (Bug#14563)
13291 2013-06-13  Juri Linkov  <juri@jurta.org>
13293         * isearch.el (isearch-yank-word, isearch-yank-line)
13294         (isearch-char-by-name, isearch-quote-char)
13295         (isearch-printing-char, isearch-process-search-char):
13296         Add optional count prefix arg.  (Bug#14563)
13298         * international/isearch-x.el
13299         (isearch-process-search-multibyte-characters):
13300         Add optional count prefix arg.
13302 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13304         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13305         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13306         lexical-binding.
13308 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
13310         * subr.el (set-temporary-overlay-map): Add on-exit argument.
13312 2013-06-13  Glenn Morris  <rgm@gnu.org>
13314         * startup.el (tty-handle-args):
13315         Don't just discard "--" and anything after.  (Bug#14608)
13317         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13319 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
13321         Implement changes in Secret Service API.  Make it backward compatible.
13322         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13323         (secrets-create-item): Use it.  Prefix properties with interface.
13325 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
13327         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
13328         (term-emulate-terminal): Respect term-suppress-hard-newline.
13330 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
13332         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13333         Only remove a `thumb-file' overlay.  (Bug#14548)
13335 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
13337         * mail/reporter.el (reporter-submit-bug-report):
13338         Handle missing package-name.  (Bug#14600)
13340 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13342         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13343         (reftex-citation-prompt, reftex-default-bibliography)
13344         (reftex-bib-or-thebib, reftex-get-bibfile-list)
13345         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13346         (reftex-bib-sort-author, reftex-bib-sort-year)
13347         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13348         (reftex-extract-bib-entries-from-thebibliography)
13349         (reftex-get-bibkey-default, reftex-get-bib-names)
13350         (reftex-parse-bibtex-entry, reftex-get-bib-field)
13351         (reftex-format-bib-entry, reftex-parse-bibitem)
13352         (reftex-format-bibitem, reftex-do-citation)
13353         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13354         (reftex-restrict-bib-matches, reftex-extract-bib-file)
13355         (reftex-insert-bib-matches, reftex-format-citation)
13356         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13357         (reftex-create-bibtex-file): Add docstrings, mostly by converting
13358         existing comments into docstrings.
13360 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
13362         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13364 2013-06-12  Andreas Schwab  <schwab@suse.de>
13366         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13367         for auto-save files.
13369 2013-06-12  Glenn Morris  <rgm@gnu.org>
13371         * ido.el (ido-delete-ignored-files): Remove.
13372         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13373         Go back to calling ido-ignore-item-p directly.
13375 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
13377         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13379         * ido.el (ido-delete-ignored-files): New function,
13380         split from ido-make-file-list-1.
13381         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
13382         (ido-make-file-list-1): Use ido-delete-ignored-files.
13384 2013-06-12  Leo Liu  <sdl.web@gmail.com>
13386         * progmodes/octave.el (inferior-octave-startup)
13387         (inferior-octave-completion-table)
13388         (inferior-octave-track-window-width-change)
13389         (octave-eldoc-function-signatures, octave-help)
13390         (octave-find-definition): Use single quoted strings.
13391         (inferior-octave-startup-args): Change default value.
13392         (inferior-octave-startup): Do not hard code "-i" and
13393         "--no-line-editing".
13394         (inferior-octave-resync-dirs): Add optional arg NOERROR.
13395         (inferior-octave-directory-tracker): Use it.
13396         (octave-goto-function-definition): Robustify.
13397         (octave-help): Support highlighting operators in 'See also'.
13398         (octave-find-definition): Find subfunctions only in Octave mode.
13400 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13402         * help-fns.el (help-fns--compiler-macro): If the handler function is
13403         named, then put a link to it.
13404         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13405         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13406         (cl-typep): Use it.
13407         (cl-eval-when): Simplify debug spec.
13408         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
13409         compiler-macro function instead of setting `compiler-macro-file'.
13411 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
13413         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13414         * vc/vc-hooks.el (vc-stay-local): Doc fix.
13416 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13417             Daniel Hackney  <dan@haxney.org>
13419         First part of Daniel Hackney's patch to package.el.
13420         * emacs-lisp/package.el: Use defstruct.
13421         (package-desc): New, main struct.
13422         (package--bi-desc, package--ac-desc): New structs, used to describe the
13423         format in external files.
13424         (package-desc-vers): Replace with package-desc-version accessor.
13425         (package-desc-doc): Replace with package-desc-summary accessor.
13426         (package-activate-1): Remove `package' arg since the pkg-vec now
13427         includes the name.
13428         (define-package): Use package-desc-from-define.
13429         (package-unpack-single): Change file-name arg to be a symbol.
13430         (package--add-to-archive-contents): Use package-desc-create and new
13431         accessor functions to package--ac-desc.
13432         (package-buffer-info, package-tar-file-info): Return a package-desc.
13433         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
13434         arg to be a package-desc.
13435         (package-install-file): Adjust accordingly.  Use \' to match EOS.
13436         (package--from-builtin): New function.
13437         (describe-package-1, package-menu--generate): Use it.
13438         (package--make-autoloads-and-compile): Change name arg to be a symbol.
13439         (package-generate-autoloads): Idem and return the name of the file.
13440         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13441         Change pkg-info arg to be a package-desc.
13442         Use package-make-ac-desc.
13443         (package-upload-file): Use \' to match EOS.
13444         * finder.el (finder-compile-keywords): Use package-make-builtin.
13446 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13448         * vc/vc.el (vc-deduce-fileset): Change error message.
13449         (vc-read-backend): New function.
13450         (vc-next-action): Use it.
13452         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13454         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13455         (prolog-font-lock-keywords): Use regexp-opt instead.
13456         Don't manually highlight strings.
13457         (prolog-mode-variables): Simplify comment-start-skip.
13458         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
13460         * emacs-lisp/generic.el (generic--normalise-comments)
13461         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13462         (generic-mode-set-comments): Use them.
13463         (generic-bracket-support): Use setq-local.
13464         (generic-make-keywords-list): Declare obsolete.
13466 2013-06-11  Glenn Morris  <rgm@gnu.org>
13468         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13469         Prettify after setting font-lock-defaults.  (Bug#14574)
13471 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
13473         * replace.el (query-replace, occur-read-regexp-defaults-function)
13474         (replace-search):
13475         * subr.el (declare-function, number-sequence, local-set-key)
13476         (substitute-key-definition, locate-user-emacs-file)
13477         (with-silent-modifications, split-string, eval-after-load):
13478         Fix typos, remove unneeded backslashes and reflow some docstrings.
13480 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13482         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13483         default for Elisp files.
13485 2013-06-11  Glenn Morris  <rgm@gnu.org>
13487         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13488         although define-derived-mode was doing this anyway.  (Bug#14583)
13490 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
13492         * allout.el (allout-encryption-plaintext-sanitization-regexps):
13493         Fix make-variable-buffer-local call to refer to the correct variable.
13495 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
13497         * eshell/em-term.el (eshell-visual-commands)
13498         (eshell-visual-subcommands, eshell-visual-options):
13499         Add summary line to docstrings.  Add cross-references.
13501 2013-06-10  Glenn Morris  <rgm@gnu.org>
13503         * epa.el (epa-read-file-name): New function.  (Bug#14510)
13504         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
13506 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
13508         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13509         output redirection to be ignored with visual commands.
13511 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
13513         * eshell/em-term.el (eshell-visual-command-p): New function.
13514         (eshell-term-initialize): Move long lambda to separate function
13515         eshell-visual-command-p.
13516         * eshell/em-dirs.el (eshell-dirs-initialize):
13517         * eshell/em-script.el (eshell-script-initialize):
13518         Add missing #' to lambda.
13520 2013-06-08  Leo Liu  <sdl.web@gmail.com>
13522         * progmodes/octave.el (octave-add-log-current-defun): New function.
13523         (octave-mode): Set add-log-current-defun-function.
13524         (octave-goto-function-definition): Do not move point if not found.
13525         (octave-find-definition): Enhance to try subfunctions first.
13527 2013-06-08  Glenn Morris  <rgm@gnu.org>
13529         * emacs-lisp/bytecomp.el (byte-compile-char-before)
13530         (byte-compile-backward-char, byte-compile-backward-word):
13531         Improve previous change, to handle non-explicit nil.
13533 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13535         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13536         (smie--opener/closer-at-point): New function.
13537         (smie--matching-block-data): Use it.  Don't match from right after an
13538         opener or right before a closer.  Obey smie-blink-matching-inners.
13539         Don't signal a mismatch for repeated inners like "switch..case..case".
13541 2013-06-07  Leo Liu  <sdl.web@gmail.com>
13543         * progmodes/octave.el (octave-mode): Set comment-use-global-state
13544         to t.  (Bug#14303)
13545         (octave-function-header-regexp): Fix.  (Bug#14570)
13546         (octave-help-mode-finish-hook, octave-help-mode-finish):
13547         Remove.  Just use temp-buffer-show-hook.
13549         * newcomment.el (comment-search-backward): Revert last change.
13550         (Bug#14434)
13552         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13554 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
13556         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13557         through xargs, to avoid failure due to MS-Windows limitations on
13558         command-line length.
13560 2013-06-06  Glenn Morris  <rgm@gnu.org>
13562         * font-lock.el (lisp-font-lock-keywords-2):
13563         Treat user-error like error.
13565         * emacs-lisp/bytecomp.el (byte-compile-char-before)
13566         (byte-compile-backward-char, byte-compile-backward-word):
13567         Handle explicit nil arguments.  (Bug#14565)
13569 2013-06-05  Alan Mackenzie  <acm@muc.de>
13571         * isearch.el (isearch-allow-prefix): New user option.
13572         (isearch-other-meta-char): Don't exit isearch when a prefix
13573         argument is typed whilst `isearch-allow-prefix' is non-nil.
13574         (Bug#9706)
13576 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13578         * autorevert.el (auto-revert-notify-handler): Use memq.
13579         Hide assertion failure.
13581         * skeleton.el: Use cl-lib.
13582         (skeleton-further-elements): Use defvar-local.
13583         (skeleton-insert): Use cl-progv.
13585 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
13587         * progmodes/prog-mode.el (prog-prettify-symbols)
13588         (prog-prettify-install): Update docstrings.
13590 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13592         * simple.el: Move all the prog-mode code to prog-mode.el.
13593         * progmodes/prog-mode.el: New file.
13594         * loadup.el: Add prog-mode.el.
13596 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
13598         * simple.el (prog-prettify-symbols): Add version.
13599         (prog-prettify-install): Add convenience function to prettify symbols.
13601         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13602         (perl--augmented-font-lock-keywords-1)
13603         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13604         variables and use it.
13606         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13607         (cfengine3-mode): Remove unneeded variable and use it.
13609         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13610         (lisp--augmented-font-lock-keywords-1)
13611         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13612         Remove unneeded variables and use it.
13614 2013-06-05  João Távora  <joaotavora@gmail.com>
13616         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13617         to point when opening the connection.  (Bug#14380)
13619 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13621         * subr.el (load-history-regexp, load-history-filename-element)
13622         (eval-after-load, after-load-functions, do-after-load-evaluation)
13623         (eval-next-after-load, display-delayed-warnings)
13624         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13625         definition of save-match-data.
13626         (overriding-local-map): Remove accidental obsolescence declaration.
13628         * emacs-lisp/edebug.el (edebug-result): Move before first use.
13630 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
13632         Generalize symbol prettify support to prog-mode and implement it
13633         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13634         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13635         (prog--prettify-font-lock-compose-symbol)
13636         (prog-prettify-font-lock-symbols-keywords): New variables and
13637         functions to support symbol prettification.
13638         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13639         (lisp--augmented-font-lock-keywords-1)
13640         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13641         (lisp--prettify-symbols-alist): Implement prettify of lambda.
13642         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13643         (cfengine3--prettify-symbols-alist, cfengine3-mode):
13644         Implement prettify of -> => :: strings.
13645         * progmodes/perl-mode.el (perl-prettify-symbols)
13646         (perl--font-lock-compose-symbol)
13647         (perl--font-lock-symbols-keywords): Move to prog-mode.
13648         (perl--prettify-symbols-alist): Prettify -> => :: strings.
13649         (perl-font-lock-keywords-1)
13650         (perl-font-lock-keywords-2): Remove explicit prettify support.
13651         (perl--augmented-font-lock-keywords)
13652         (perl--augmented-font-lock-keywords-1)
13653         (perl--augmented-font-lock-keywords-2, perl-mode):
13654         Implement prettify support.
13656 2013-06-05  Leo Liu  <sdl.web@gmail.com>
13658         Re-implement SMIE matching block highlight using
13659         show-paren-data-function.  (Bug#14395)
13660         * emacs-lisp/smie.el (smie-matching-block-highlight)
13661         (smie--highlight-matching-block-overlay)
13662         (smie--highlight-matching-block-lastpos)
13663         (smie-highlight-matching-block)
13664         (smie-highlight-matching-block-mode): Remove.
13665         (smie--matching-block-data-cache): New variable.
13666         (smie--matching-block-data): New function.
13667         (smie-setup): Use smie--matching-block-data for
13668         show-paren-data-function.
13670         * progmodes/octave.el (octave-mode-menu): Fix.
13671         (octave-find-definition): Skip garbage lines.
13673 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13675         Fix compilation error with simultaneous dynamic+lexical scoping.
13676         Add warning when a defvar appears after the first let-binding.
13677         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13678         (byte-compile-close-variables): Initialize it.
13679         (byte-compile--declare-var): New function.
13680         (byte-compile-file-form-defvar)
13681         (byte-compile-file-form-define-abbrev-table)
13682         (byte-compile-file-form-custom-declare-variable): Use it.
13683         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
13684         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13685         (byte-compile-bind): Handle dynamic bindings that shadow
13686         lexical bindings.
13687         (byte-compile-unbind): Make arg non-optional.
13688         (byte-compile-let): Simplify.
13689         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13690         (cconv--analyse-function, cconv-analyse-form): Populate it.
13691         Protect byte-compile-bound-variables to limit the scope of defvars.
13692         (cconv-analyse-form): Add missing rule for (defvar <foo>).
13693         Remove unneeded rule for `declare'.
13695         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13696         so as to avoid depending on cl-adjoin at run-time.
13697         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13699         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13700         (macroexp--warn-and-return): Use it.
13702 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13704         * subr.el: Convert to lexical binding.
13705         (overriding-local-map): Make obsolete.
13706         (add-to-list): Doc fix.  Add compiler macro.
13707         (read-key): Swap values of local maps.
13709 2013-06-05  Leo Liu  <sdl.web@gmail.com>
13711         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13713 2013-06-04  Leo Liu  <sdl.web@gmail.com>
13715         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13716         (compilation-auto-jump): Suppress the "Mark set" message to give
13717         way to exit message.
13719 2013-06-04  Alan Mackenzie  <acm@muc.de>
13721         Remove faulty optimisation from indentation calculation.
13722         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13723         search limit based on 2000 characters back from indent-point.
13725 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
13727         * eshell/em-term.el (cl-lib): Require `cl-lib'.
13729 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13731         * emacs-lisp/lisp.el: Use lexical-binding.
13732         (lisp--local-variables-1, lisp--local-variables): New functions.
13733         (lisp--local-variables-completion-table): New var.
13734         (lisp-completion-at-point): Use it complete let-bound vars.
13736         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13737         eagerly (bug#14422).
13739 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
13741         * autorevert.el (auto-revert-notify-enabled)
13742         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13743         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13744         (auto-revert-notify-handler): Handle also gfilenotify.
13746         * subr.el (file-notify-handle-event): New defun.  Replacing ...
13747         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13748         Remove.
13750 2013-06-03  Juri Linkov  <juri@jurta.org>
13752         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13753         `M-s h .'.  (Bug#14427)
13755         * hi-lock.el (highlight-symbol-at-point): New alias for the new
13756         command `hi-lock-face-symbol-at-point'.
13757         (hi-lock-face-symbol-at-point): New command.
13758         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13759         (hi-lock-menu): Add `highlight-symbol-at-point'.
13760         (hi-lock-mode): Doc fix.
13762         * isearch.el (isearch-forward-symbol-at-point): New command.
13763         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13764         (isearch-highlight-regexp): Add a regexp which matches
13765         words/symbols for word/symbol mode.
13767         * subr.el (find-tag-default-bounds): New function with the body
13768         mostly moved from `find-tag-default'.
13769         (find-tag-default): Move most code to `find-tag-default-bounds',
13770         call it and apply `buffer-substring-no-properties' afterwards.
13772 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
13774         * eshell/em-term.el (eshell-term-initialize):
13775         Use `cl-intersection' rather than `intersection'.
13777 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
13779         * vc/log-view.el: Doc fix.
13780         (log-view-mode-map): Copy keymap from `special-mode-map'.
13782 2013-06-02  Eric Ludlam  <zappo@gnu.org>
13784         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13785         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13786         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13787         (eieio-unbound, eieio-default-superclass)
13788         (eieio--define-field-accessors, method-static, method-before)
13789         (method-primary, method-after, method-num-lists)
13790         (method-generic-before, method-generic-primary)
13791         (method-generic-after, method-num-slots)
13792         (eieio-specialized-key-to-generic-key)
13793         (eieio--check-type, class-v, class-p)
13794         (eieio-class-name, define-obsolete-function-alias)
13795         (eieio-class-parents-fast, eieio-class-children-fast)
13796         (same-class-fast-p, class-constructor, generic-p)
13797         (generic-primary-only-p, generic-primary-only-one-p)
13798         (class-option-assoc, class-option, eieio-object-p)
13799         (class-abstract-p, class-method-invocation-order)
13800         (eieio-defclass-autoload-map, eieio-defclass-autoload)
13801         (eieio-class-un-autoload, eieio-defclass)
13802         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13803         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13804         (eieio--defgeneric-init-form, eieio-defgeneric-form)
13805         (eieio-defgeneric-reset-generic-form)
13806         (eieio-defgeneric-form-primary-only)
13807         (eieio-defgeneric-reset-generic-form-primary-only)
13808         (eieio-defgeneric-form-primary-only-one)
13809         (eieio-defgeneric-reset-generic-form-primary-only-one)
13810         (eieio-unbind-method-implementations)
13811         (eieio--defmethod, eieio--typep)
13812         (eieio-perform-slot-validation, eieio-validate-slot-value)
13813         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13814         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13815         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13816         (eieio-slot-name-index, eieio-class-slot-name-index)
13817         (eieio-set-defaults, eieio-initarg-to-attribute)
13818         (eieio-attribute-to-initarg, eieio-c3-candidate)
13819         (eieio-c3-merge-lists, eieio-class-precedence-c3)
13820         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13821         (eieio-class-precedence-list, eieio-generic-call-methodname)
13822         (eieio-generic-call-arglst, eieio-generic-call-key)
13823         (eieio-generic-call-next-method-list)
13824         (eieio-pre-method-execution-functions, eieio-generic-call)
13825         (eieio-generic-call-primary-only, eieiomt-method-list)
13826         (eieiomt-optimizing-obarray, eieiomt-install)
13827         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13828         (eieio-generic-form, eieio-defmethod, make-obsolete)
13829         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13830         (defclass): Remove `eval-and-compile' from macro.
13831         (call-next-method, shared-initialize): Instead of using
13832         `scoped-class' variable, use new eieio--scoped-class, and
13833         eieio--with-scoped-class.
13834         (initialize-instance): Rename local variable 'scoped-class' to
13835         'this-class' to remove ambiguitity from old global.
13837         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
13838         eieio.el.
13839         (eieio--scoped-class-stack): New variable.
13840         (eieio--scoped-class): New fcn.
13841         (eieio--with-scoped-class): New scoping macro.
13842         (eieio-defclass): Use pushnew instead of add-to-list.
13843         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13844         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13845         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13846         `scoped-class' variable, use new eieio--scoped-class, and
13847         eieio--with-scoped-class.
13849         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13851 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
13853         * eshell/esh-ext.el (eshell-external-command): Pass args to
13854         `eshell-find-interpreter'.
13855         (eshell-find-interpreter): Add new second parameter ARGS.
13857         * eshell/em-script.el (eshell-script-initialize): Add second arg
13858         to the function added as MATCH to `eshell-interpreter-alist'.
13860         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13861         the function added as MATCH to `eshell-interpreter-alist'.
13863         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13864         (eshell-visual-options): New defcustom.
13865         (eshell-escape-control-x): Adapt docstring.
13866         (eshell-term-initialize): Test `eshell-visual-subcommands' and
13867         `eshell-visual-options' in addition to `eshell-visual-commands'.
13868         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13870 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13872         * progmodes/python.el (python-indent-block-enders): Add break,
13873         continue and raise keywords.
13875 2013-06-01  Glenn Morris  <rgm@gnu.org>
13877         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13879         Plain (f)boundp silences compilation warnings since Emacs 22.1.
13880         * progmodes/cc-cmds.el (delete-forward-p):
13881         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13882         * progmodes/cc-engine.el (buffer-syntactic-context):
13883         * progmodes/cc-fonts.el (face-property-instance):
13884         * progmodes/cc-mode.el (set-keymap-parents):
13885         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13886         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13887         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13888         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13889         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13891         * progmodes/cc-vars.el (other): Emacs has this widget since
13892         at least 21.1, so don't (re)define it.
13894         * eshell/em-cmpl.el (eshell-cmpl-initialize):
13895         Replace the obsolete alias pcomplete-arg-quote-list.
13897 2013-06-01  Leo Liu  <sdl.web@gmail.com>
13899         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13900         punctuation syntax.
13901         (inferior-octave-minimal-columns)
13902         (inferior-octave-last-column-width): New variables.
13903         (inferior-octave-track-window-width-change): New function.
13904         (inferior-octave-mode): Adjust column width so that Octave output,
13905         for example from 'ls', can fit into the window nicely.
13907 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
13909         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13910         Highlight expansions inside regexp literals.
13912 2013-05-31  Glenn Morris  <rgm@gnu.org>
13914         * obsolete/sym-comp.el (symbol-complete):
13915         Replace obsolete completion-annotate-function.
13917         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13919 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
13921         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13922         New function, checks if point is inside a literal that allows
13923         expression expansion.
13924         (ruby-syntax-propertize-expansion): Use it.
13925         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13926         around the body.
13928 2013-05-30  Juri Linkov  <juri@jurta.org>
13930         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13931         to "\M-si".
13932         (isearch-invisible): New variable.
13933         (isearch-forward): Doc fix.
13934         (isearch-mode): Set `isearch-invisible'
13935         to the value of `search-invisible'.
13936         (isearch-toggle-case-fold): Doc fix.
13937         (isearch-toggle-invisible): New command.
13938         (isearch-query-replace): Let-bind `search-invisible'
13939         to the value of `isearch-invisible'.
13940         (isearch-search): Use `isearch-invisible' instead of
13941         `search-invisible'.  Let-bind `search-invisible'
13942         to the value of `isearch-invisible'.  (Bug#11378)
13944 2013-05-30  Juri Linkov  <juri@jurta.org>
13946         * replace.el (perform-replace): Avoid `isearch-range-invisible'
13947         call when `query-flag' is nil and `search-invisible' is non-nil.
13948         (Bug#11746)
13950 2013-05-30  Glenn Morris  <rgm@gnu.org>
13952         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13954         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13955         (cc-require): Suppress spurious "noruntime" warnings.
13956         (cc-require-when-compile): Use fboundp, for sake of compiler.
13958         * progmodes/cc-mode.el: Move load of cc-vars before that of
13959         cc-langs (which in turn loads cc-vars), to quieten compiler.
13961 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13963         * paren.el: Simplify the code.
13964         (show-paren-mode): Always start the timer.
13965         (show-paren--idle-timer): Rename from show-paren-idle-timer.
13966         (show-paren--overlay, show-paren--overlay-1): Rename from
13967         show-paren-overlay and show-paren-overlay-1, and initialize to an
13968         overlay rather than to nil.
13969         (show-paren-function): Misc cleanup and simplifications.
13971 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13973         * paren.el (show-paren-data-function): New hook.
13974         (show-paren--default): New function, extracted from show-paren-function.
13975         (show-paren-function): Use show-paren-data-function.
13977 2013-05-30  Glenn Morris  <rgm@gnu.org>
13979         * ielm.el (ielm-map, ielm-complete-symbol):
13980         Use completion-at-point rather than obsolete functions.
13981         (inferior-emacs-lisp-mode): Doc fix.
13982         Set completion-at-point-functions, rather than
13983         comint-dynamic-complete-functions.
13985         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13986         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13987         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13989         * image.el (image-animated-p): Tweak definition.
13991         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13992         (rlogin-process-connection-type): Tweak default.  Add set-after.
13993         (rlogin-host): Doc fix.
13994         (rlogin): Tweak prompt.
13995         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13997         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13998         * progmodes/tcl.el (inferior-tcl-mode-map):
13999         Use completion-at-point rather than obsolete alias.
14001         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14003         * minibuffer.el (read-file-name-completion-ignore-case):
14004         Move before completion--in-region, for eager macro expansion.
14006 2013-05-29  Juri Linkov  <juri@jurta.org>
14008         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14009         for total count of matching lines.  Add `global-matches' for total
14010         count of matches.  Rename `matches' to `lines' for count of
14011         matching lines.  Add `matches' for count of matches.
14012         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
14013         to `prev-line' for line number of prev match endpt.
14014         Increment `matches' for every match.  Print the number of
14015         matching lines in the header.
14016         (occur-context-lines): Rename `lines' to `curr-line'.
14017         Rename `prev-lines' to `prev-line'.  (Bug#14017)
14019 2013-05-29  Juri Linkov  <juri@jurta.org>
14021         * replace.el (perform-replace): Add `skip-read-only-count',
14022         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14023         Increment them for corresponding conditions and report the number
14024         of skipped occurrences in the final message.  (Bug#11746)
14025         (query-replace, query-replace-regexp, query-replace-regexp-eval)
14026         (replace-string, replace-regexp): Doc fix.
14028 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14030         * emacs-lisp/trace.el (trace--read-args): Provide a default.
14032         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14033         prog-mode-map (bug#14504).
14035 2013-05-29  Leo Liu  <sdl.web@gmail.com>
14037         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14038         (octave-help): Small simplification.
14040         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14041         off the highlight first.
14043 2013-05-29  Glenn Morris  <rgm@gnu.org>
14045         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14046         Handle idlwave-last-system-routine-info-cons-cell being nil.
14048         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14049         (idlwave-write-paths): Simplify via with-temp-buffer.
14051         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14052         * emulation/cua-rect.el: Also load cua-base at run time.
14054         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14055         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14056         (cperl-imenu-on-info): Require imenu.
14058 2013-05-28  Alan Mackenzie  <acm@muc.de>
14060         Handle "capitalised keywords" correctly.
14061         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14063 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
14065         * eshell/em-unix.el: Add -r option to cp.
14067 2013-05-28  Glenn Morris  <rgm@gnu.org>
14069         * vc/vc-arch.el (vc-exec-after): Declare.
14070         (vc-switches): Autoload.
14071         * vc/vc-bzr.el: No need to require vc when compiling.
14072         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14073         (vc-resynch-buffer, vc-dir-refresh): Declare.
14074         (vc-setup-buffer, vc-switches): Autoload.
14075         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14076         (vc-resynch-buffer): Declare.
14077         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14078         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14079         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14080         (grep-read-regexp, grep-read-files, grep-expand-template)
14081         (vc-dir-refresh): Declare.
14082         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14083         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14084         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14085         * vc/vc-mtn.el (vc-exec-after): Declare.
14086         (vc-switches): Autoload.
14087         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14088         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14089         (vc-file-tree-walk): Declare.
14090         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14091         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14092         (vc-tag-precondition, vc-rename-master): Autoload.
14093         * vc/vc-svn.el (vc-exec-after): Declare.
14094         (vc-switches, vc-setup-buffer): Autoload.
14095         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14096         Autoload.
14097         (vc-resynch-buffer): Declare.
14099         * obsolete/fast-lock.el (byte-compile-warnings):
14100         Don't warn about obsolete features in this obsolete file.
14102         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14103         Move definition before use.
14105         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14106         (dun-unix-verbs): Remove dun-zippy.
14107         (dun-zippy): Remove function.
14109         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14111 2013-05-27  Juri Linkov  <juri@jurta.org>
14113         * replace.el (replace-search): New function with code moved out
14114         from `perform-replace'.
14115         (replace-highlight, replace-dehighlight): Move function definitions
14116         up closer to `replace-search'.  (Bug#11746)
14118 2013-05-27  Juri Linkov  <juri@jurta.org>
14120         * replace.el (perform-replace): Ignore invisible matches.
14121         In addition to checking `query-replace-skip-read-only', also
14122         filter out matches by calling `run-hook-with-args-until-failure'
14123         on `isearch-filter-predicates', and also check `search-invisible'
14124         for t or call `isearch-range-invisible'.
14125         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
14127 2013-05-27  Juri Linkov  <juri@jurta.org>
14129         * isearch.el (isearch-filter-predicates): Rename from
14130         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
14131         (isearch-message-prefix): Display text from the property
14132         `isearch-message-prefix' of the currently active filters.
14133         (isearch-search): Don't compare `isearch-filter-predicate' with
14134         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
14135         on `isearch-filter-predicates'.  Also check `search-invisible' for t
14136         or call `isearch-range-invisible'.
14137         (isearch-filter-visible): Make obsolete.
14138         (isearch-lazy-highlight-search):
14139         Call `run-hook-with-args-until-failure' on
14140         `isearch-filter-predicates' and use `isearch-range-invisible'.
14142         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14143         `isearch-filter-predicates' instead of `funcall'ing
14144         `isearch-filter-predicate'.
14145         (Info-mode): Set `Info-isearch-filter' to
14146         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14148         * dired-aux.el (dired-isearch-filter-predicate-orig):
14149         Remove variable.
14150         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14151         (dired-isearch-filenames-end): Add and remove
14152         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14153         instead of changing the value of `isearch-filter-predicate'.
14154         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14155         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14156         Put property `isearch-message-prefix' to "filename " on
14157         `dired-isearch-filter-filenames'.
14159         * wdired.el (wdired-change-to-wdired-mode):
14160         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14161         locally instead of changing `isearch-filter-predicate'.
14162         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14164 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
14166         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14167         return the commit hash (Bug#14459).  Also set the
14168         `vc-git-detached' property.
14169         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14170         (vc-git-mode-line-string): Use the same help-echo format whether
14171         in detached mode or not, because we know the actual revision now.
14172         When in detached mode, shorten the revision to 7 chars.
14174 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14176         * emacs-lisp/easy-mmode.el (define-minor-mode):
14177         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14178         mode hook and provide a docstring.
14180 2013-05-27  Alan Mackenzie  <acm@muc.de>
14182         Remove spurious syntax-table text properties inserted by C-y.
14183         * progmodes/cc-mode.el (c-after-change): Also clear hard
14184         syntax-table property with value nil.
14186 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
14188         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14189         when reading the events; the buffer layout shall not be changed.
14191 2013-05-27  Leo Liu  <sdl.web@gmail.com>
14193         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14194         New variable.
14195         (inferior-octave-directory-tracker): Automatically re-sync
14196         default-directory.
14197         (octave-help): Improve handling of 'See also'.
14199 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14201         * doc-view.el: Minor naming convention tweaks.
14202         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14204         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14205         even if there's no `display' property yet (bug#14435).
14207 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
14209         * subr.el (unmsys--file-name): Rename from reveal-filename.
14211         * Makefile.in (custom-deps, finder-data, autoloads)
14212         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14213         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14214         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14216 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14218         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14219         error-completion on the first 2 args of condition-case (bug#14446).
14220         Don't burp at EOB.
14222 2013-05-25  Leo Liu  <sdl.web@gmail.com>
14224         * comint.el (comint-previous-matching-input): Do not flood the
14225         *Messages* buffer with trivial messages.
14227 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14229         * progmodes/flymake.el (flymake-nop): Don't return a string.
14230         (flymake-set-at): Fix typo.
14232         * simple.el (read--expression): New function, extracted from
14233         eval-expression.  Set completion-at-point-functions (bug#14465).
14234         (eval-expression, eval-minibuffer): Use it.
14236 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
14238         * progmodes/flymake.el (flymake-save-buffer-in-file)
14239         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14240         (flymake-selected-frame, flymake-log, flymake-ins-after)
14241         (flymake-set-at, flymake-get-buildfile-from-cache)
14242         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14243         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14244         Refine the doc string.
14245         (flymake-get-file-name-mode-and-masks): Reformat.
14246         (flymake-get-real-file-name-function): Fix a minor bug.
14248 2013-05-24  Juri Linkov  <juri@jurta.org>
14250         * progmodes/grep.el (grep-mode-font-lock-keywords):
14251         Support =linenumber= format used by git-grep for lines with
14252         function names.  (Bug#13549)
14254 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14256         * progmodes/octave.el (octave-smie-rules): Return nil rather than
14257         0 after a semi-colon; it works better for smie-auto-fill.
14258         (octave--indent-new-comment-line): New function.
14259         (octave-indent-new-comment-line): Use it (indirectly).
14260         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
14261         modify comment-line-break-function.
14263         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14264         (smie-setup): Use add-function to set it.
14266 2013-05-24  Sam Steingold  <sds@gnu.org>
14268         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14269         argument (before the `interactive' argument).
14271 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14273         * image-mode.el (image-mode-winprops): Add winprops to
14274         image-mode-winprops-alist before running
14275         image-mode-new-window-functions.
14276         * doc-view.el (doc-view-new-window-function): Don't delay
14277         doc-view-goto-page via timers (bug#14435).
14279 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
14281         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
14282         (doc-view-desktop-save-buffer): New function.
14283         (doc-view-restore-desktop-buffer): New function.
14284         (desktop-buffer-mode-handlers):
14285         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14286         handler.
14287         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14288         `desktop-save-buffer' function.
14290 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
14292         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14293         (tramp-gvfs-file-name-handler): Raise a user error when
14294         `tramp-gvfs-enabled' is nil.
14295         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14296         Do not raise a user error when loading package.  (Bug#14447)
14298         * net/xesam.el: Move to obsolete/.
14300 2013-05-24  Glenn Morris  <rgm@gnu.org>
14302         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14304         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14306         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14307         (Info-find-node, Man-getpage-in-background): Declare.
14309         * mail/unrmail.el (unrmail):
14310         Replace obsolete detect-coding-with-priority.
14312         * net/socks.el (socks-split-string): Use this rather than split-string.
14313         (socks-nslookup-host): Update for above change.
14314         (dynamic-choice, s5-dynamic-choice-match)
14315         (s5-dynamic-choice-match-inline, s5-widget-value-create):
14316         Comment out unused code.
14318         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14319         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14320         (gud-tooltip-echo-area): Make obsolete.
14321         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14323         * progmodes/js.el (js--optimize-arglist): Declare.
14325         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14327         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14328         (ediff-window-C): Declare.
14330         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14331         Tweak requires to silence compiler.
14333         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14334         (he-search-string, he-tried-table, he-expand-list)
14335         (he-init-string, he-string-member, he-substitute-string)
14336         (he-reset-string): Declare.
14338         * obsolete/options.el (list-options): Use custom-variable-p,
14339         rather than obsolete alias.
14341 2013-05-23  Sam Steingold  <sds@gnu.org>
14343         * simple.el (shell-command-on-region): Pass the `replace' argument
14344         down to `call-process-region' to comply with the doc as reported on
14345         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14347 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14349         * emacs-lisp/smie.el (smie-indent-forward-token)
14350         (smie-indent-backward-token): Handle string tokens (bug#14381).
14352 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14354         * ielm.el (ielm-menu): New menu.
14355         (inferior-emacs-lisp-mode): Set comment-start.
14357 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14359         * textmodes/reftex.el (reftex-ref-style-toggle):
14360         Fix deactivate action.
14362         * textmodes/reftex-vars.el (reftex-ref-style-alist):
14363         Add cleveref macros.
14365         * textmodes/reftex-parse.el
14366         (reftex-locate-bibliography-files): Accept options for
14367         bibliography commands.
14368         * textmodes/reftex-vars.el (reftex-bibliography-commands):
14369         Add addbibresource.  Basic Biblatex support.
14371 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
14373         * net/tramp-gvfs.el (top):
14374         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14375         when loading package.  (Bug#14447)
14377 2013-05-23  Glenn Morris  <rgm@gnu.org>
14379         * progmodes/js.el: No need to load comint when compiling.
14380         (ring-insert, comint-send-string, comint-send-input)
14381         (comint-last-input-end, ido-chop): Declare.
14383         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14384         * vc/ediff-mult.el: Adjust requires.
14385         (ediff-directories-internal, ediff-directory-revisions-internal)
14386         (ediff-patch-file-internal): Declare.
14387         * vc/ediff-ptch.el: Adjust requires.
14388         (ediff-use-last-dir, ediff-buffers-internal): Declare.
14389         (ediff-find-file): Autoload.
14390         * vc/ediff-util.el: No need to load ediff when compiling.
14391         (ediff-regions-internal): Declare.
14392         * vc/ediff-wind.el: Adjust requires.
14393         (ediff-compute-toolbar-width): Define when compiling.
14394         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14395         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14396         (dired-get-filename, dired-get-marked-files)
14397         (ediff-last-dir-patch, ediff-patch-default-directory)
14398         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14399         (ediff-patch-buffer-internal): Declare.
14401         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14402         (ispell-process, ispell-buffer-local-words, lm-summary)
14403         (lm-section-start, lm-section-end): Declare.
14404         (checkdoc-ispell-init): Simplify.
14406         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14407         (he-string-member, he-reset-string, he-substitute-string): Declare.
14409         * eshell/em-ls.el: Adjust requires.
14410         (eshell-glob-regexp): Declare.
14411         * eshell/em-tramp.el: Adjust requires.
14412         (eshell-parse-command): Autoload.
14413         * eshell/em-xtra.el: Adjust requires.
14414         (eshell-parse-command): Autoload.
14415         * eshell/esh-ext.el: Adjust requires.
14416         (eshell-parse-command, eshell-close-handles): Autoload.
14417         * eshell/esh-io.el: Adjust requires.
14418         (eshell-output-filter): Autoload.
14419         * eshell/esh-util.el: No need to load tramp when compiling.
14420         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14421         Declare.
14422         (eshell-parse-ange-ls): Require ange-ftp and tramp.
14423         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14424         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14425         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14426         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14427         * eshell/esh-opt.el, eshell/esh-proc.el:
14428         * eshell/esh-var.el: Adjust requires.
14429         * eshell/eshell.el: Do not require esh-util twice.
14430         (eshell-add-input-to-history): Declare.
14431         (eshell-command): Check history module is active before using it.
14433         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14435 2013-05-22  Leo Liu  <sdl.web@gmail.com>
14437         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14439 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
14441         * autorevert.el (auto-revert-notify-add-watch)
14442         (auto-revert-notify-handler): Add `attrib' for the inotify case,
14443         it indicates changes in file modification time.
14445 2013-05-22  Glenn Morris  <rgm@gnu.org>
14447         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14448         Always delete the autoloaded function from the noruntime and
14449         unresolved functions lists.
14451         * allout.el: No need to load epa, epg, overlay when compiling.
14452         (epg-context-set-passphrase-callback, epg-list-keys)
14453         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14454         (epg-key-user-id-list): Declare.
14456         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14457         (viper-set-parsing-style-toggling-macro)
14458         (viper-set-emacs-state-searchstyle-macros):
14459         Use called-interactively-p on Emacs.
14460         (viper-looking-back): Make it an obsolete alias.  Update callers.
14461         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14462         Use looking-back rather than viper-looking-back.
14463         (viper-tmp-insert-at-eob, viper-enlarge-region)
14464         (viper-read-string-with-history, viper-register-to-point)
14465         (viper-append-to-register, viper-change-state-to-vi)
14466         (viper-backward-char-carefully, viper-forward-char-carefully)
14467         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14468         (viper-change-state-to-emacs): Declare.
14469         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14470         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14471         * emulation/viper-mous.el: Do not load viper-cmd.
14472         (viper-backward-char-carefully, viper-forward-char-carefully)
14473         (viper-forward-word, viper-adjust-window): Declare.
14475         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14477         * progmodes/idlw-help.el (idlwave-help-fontify):
14478         Use called-interactively-p.
14480         * term/w32console.el (w32-get-console-codepage)
14481         (w32-get-console-output-codepage): Declare.
14483         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14484         Remove unnecessary declarations.
14485         (dframe-message): Doc fix.
14487         * info.el (dframe-select-attached-frame, dframe-current-frame):
14488         Declare.
14490         * speedbar.el (speedbar-message): Make it an obsolete alias.
14491         Update all callers.
14492         (speedbar-with-attached-buffer)
14493         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14494         (speedbar-with-writable): Use backquote.
14495         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14496         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14497         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14498         rather than speedbar- aliases.
14499         * mail/rmail.el: Load dframe rather than speedbar when compiling.
14500         (speedbar-make-specialized-keymap, speedbar-insert-button)
14501         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14502         (speedbar-do-function-pointer): Declare.
14503         (rmail-speedbar-button, rmail-speedbar-find-file)
14504         (rmail-speedbar-move-message):
14505         Use dframe-with-attached-buffer rather than speedbar- alias.
14506         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14507         (dframe-message, speedbar-make-specialized-keymap)
14508         (speedbar-add-expansion-list, speedbar-mode-functions-list)
14509         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14510         (speedbar-insert-button, dframe-select-attached-frame)
14511         (dframe-maybee-jump-to-attached-frame)
14512         (speedbar-change-initial-expansion-list)
14513         (speedbar-previously-used-expansion-list-name): Declare.
14514         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14515         Use dframe-message, dframe-with-attached-buffer rather than
14516         speedbar- aliases.
14517         (gud-sentinel): Silence compiler.
14518         * progmodes/vhdl-mode.el (speedbar-refresh)
14519         (speedbar-do-function-pointer, speedbar-add-supported-extension)
14520         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14521         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14522         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14523         (speedbar-file-lists, speedbar-make-tag-line)
14524         (speedbar-line-directory, speedbar-goto-this-file)
14525         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14526         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14527         (speedbar-make-button, speedbar-reset-scanners)
14528         (speedbar-files-item-info, speedbar-line-text)
14529         (speedbar-find-file-in-frame, speedbar-set-timer)
14530         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14531         (speedbar-with-writable): Do not (re)define it.
14532         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14533         rather than speedbar- alias.
14535 2013-05-21  Leo Liu  <sdl.web@gmail.com>
14537         * progmodes/octave.el (octave-mode-menu): Update and re-organize
14538         menu items.
14539         (octave-mode): Tweak fill-nobreak-predicate.
14540         (inferior-octave-startup): Check process to avoid infinite loop.
14541         (inferior-octave): Pop to buffer first to show abornmal process
14542         exit information.
14544 2013-05-21  Glenn Morris  <rgm@gnu.org>
14546         * printing.el (pr-menu-bar): Define when compiling.
14548 2013-05-21  Leo Liu  <sdl.web@gmail.com>
14550         * progmodes/octave.el (octave-auto-fill): Remove.
14551         (octave-indent-new-comment-line): Improve.
14552         (octave-mode): Use auto fill mode through
14553         comment-line-break-function and fill-nobreak-predicate.
14554         (octave-goto-function-definition): Support DEFUN_DLD.
14555         (octave-beginning-of-defun): Small tweak.
14556         (octave-help): Show parent directory.
14558 2013-05-21  Glenn Morris  <rgm@gnu.org>
14560         * files.el (dired-unmark):
14561         * progmodes/gud.el (gdb-input): Update declarations.
14563         * calculator.el (electric, ehelp): No need to load when compiling.
14564         (Electric-command-loop, electric-describe-mode): Declare.
14566         * doc-view.el (doc-view-current-converter-processes): Move before use.
14568         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14569         Move MODE-set-explicitly definition before use.
14571         * international/mule-diag.el (mule-diag):
14572         Don't use obsolete window-system-version.
14574         * mail/feedmail.el (smtpmail): No need to load when compiling.
14575         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14577         * mail/mail-utils.el (rfc822): No need to load when compiling.
14578         (rfc822-addresses): Autoload it.
14579         (mail-strip-quoted-names): Trivial simplification.
14581         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14582         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14584         * net/snmp-mode.el (tempo): Don't duplicate requires.
14586         * progmodes/prolog.el (info): No need to load when compiling.
14587         (comint): Require before shell requires it.
14588         (Info-goto-node): Autoload it.
14589         (Info-follow-nearest-node): Declare.
14590         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14592         * textmodes/artist.el (picture-mode-exit): Declare.
14594         * textmodes/reftex-parse.el (reftex-parse-from-file):
14595         Trivial rewrite so the compiler can parse it better.
14597 2013-05-20  Leo Liu  <sdl.web@gmail.com>
14599         * progmodes/octave.el (octave-help-mode-map)
14600         (octave-help-mode-finish-hook): New variables.
14601         (octave-help-mode, octave-help-mode-finish): New functions.
14602         (octave-help): Use octave-help-mode.
14604 2013-05-20  Glenn Morris  <rgm@gnu.org>
14606         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
14608 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
14610         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14611         start at point, so that expansion starting right after opening
14612         slash in a regexp is recognized.
14613         (ruby-syntax-before-regexp-re): New defvar, extracted from
14614         ruby-syntax-propertize-function.  Since the value of this regexp
14615         is looked up at runtime now, we should be able to turn
14616         `ruby-syntax-methods-before-regexp' into a defcustom later.
14617         (ruby-syntax-propertize-function): Split regexp matching into two
14618         parts, for opening and closing slashes.  That allows us to skip
14619         over string interpolations and support multiline regexps.
14620         Don't call `ruby-syntax-propertize-expansions', instead use another rule
14621         for them, which calls `ruby-syntax-propertize-expansion'.
14622         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14623         call to `ruby-syntax-propertize-function'.
14624         (ruby-syntax-propertize-expansion): Extracted from
14625         `ruby-syntax-propertize-expansions'.  Handles one expansion.
14626         (ruby-syntax-propertize-percent-literal): Leave point right after
14627         the percent symbol, so that the expression expansion rule can
14628         propertize the contents.
14629         (ruby-syntax-propertize-heredoc): Leave point at bol following the
14630         heredoc openers.
14631         (ruby-syntax-propertize-expansions): Remove.
14633 2013-05-18  Juri Linkov  <juri@jurta.org>
14635         * man.el (Man-default-man-entry): Remove `-' from the end
14636         of the default value.  (Bug#14400)
14638 2013-05-18  Glenn Morris  <rgm@gnu.org>
14640         * comint.el (comint-password-prompt-regexp):
14641         Allow "password for XXX" where XXX contains colons (eg https://...).
14643 2013-05-18  Leo Liu  <sdl.web@gmail.com>
14645         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14646         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
14647         (octave-source-directories): Don't check process.
14648         (octave-source-directories, octave-find-definition): Doc fix.
14650 2013-05-18  Glenn Morris  <rgm@gnu.org>
14652         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14653         Remove backspace/delete bindings.  (Bug#14392)
14655         * cus-dep.el (custom-make-dependencies): Sort the output.
14656         (custom-versions-load-alist): Convert comment to doc.
14658 2013-05-17  Leo Liu  <sdl.web@gmail.com>
14660         * newcomment.el (comment-search-backward): Stricter in finding
14661         comment start.  (Bug#14303)
14663         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14664         (octave-comment-start-skip): Properly anchored.
14666 2013-05-17  Leo Liu  <sdl.web@gmail.com>
14668         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14669         Clean up when turned off.  (Bug#14395)
14670         (smie--highlight-matching-block-overlay): No longer buffer-local.
14671         (smie-highlight-matching-block): Adjust.
14673 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
14675         Doc string fix for "nanoseconds" (Bug#14406).
14676         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14677         Fix doc string typo that had "nanoseconds" instead of "microseconds".
14679 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
14681         * calc/calc-units.el (math-extract-units): Preserve powers
14682         of units.
14684 2013-05-17  Leo Liu  <sdl.web@gmail.com>
14686         * subr.el (delete-consecutive-dups): New function.
14687         * ido.el (ido-set-matches-1): Use it.
14688         * progmodes/octave.el (inferior-octave-completion-table): Use it.
14689         * ido.el (ido-remove-consecutive-dups): Remove.
14691 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14693         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14694         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14695         regexp-opt's `words'.
14697 2013-05-16  Leo Liu  <sdl.web@gmail.com>
14699         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14700         (smie--highlight-matching-block-overlay)
14701         (smie--highlight-matching-block-lastpos)
14702         (smie--highlight-matching-block-timer): New variables.
14703         (smie-highlight-matching-block): New function.
14704         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
14705         (smie-setup): Conditionally enable smie-blink-matching-open.
14707 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
14709         Sync with upstream verilog-mode r840.
14710         * progmodes/verilog-mode.el (verilog-mode-version)
14711         (verilog-mode-release-date): Update.
14712         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14713         (verilog-sig-tieoff): Fix string error on
14714         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
14715         (verilog-read-decls): Fix parameters confusing
14716         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
14718 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
14720         * subr.el (reveal-filename): New function.
14722         * loadup.el: Compute Emacs executable versions on MS-Windows,
14723         where executables have the .exe extension.  Add a hard link
14724         emacs-XX.YY.ZZ.exe on MS-Windows.
14726         * Makefile.in (XARGS_LIMIT): New variable.
14727         (custom-deps, finder-data, autoloads)
14728         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14729         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14730         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14731         (compile-main): Limit xargs according to $(XARGS_LIMIT).
14733 2013-05-16  Leo Liu  <sdl.web@gmail.com>
14735         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14736         (octave-mode-menu, octave-mode-map): Remove its uses.
14738 2013-05-16  Reto Zimmermann  <reto@gnu.org>
14740         Sync with upstream vhdl mode v3.34.2.
14741         * progmodes/vhdl-mode.el: Use `push' throughout.
14742         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14743         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14744         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
14745         (vhdl-actual-generic-name): New option to derive actual generic name.
14746         (vhdl-port-paste-signals): Replace formal by actual generics.
14747         (vhdl-beautify): New name for old group vhdl-align.  Update users.
14748         (vhdl-beautify-options): New option.
14749         (vhdl-last-input-event): New compat alias.  Use throughout.
14750         (vhdl-goto-line): Replace user level function `goto-line'.
14751         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14752         vhdl-fix-statement-buffer.
14753         (vhdl-create-mode-menu): Add some entries.
14754         (vhdl-align-region-groups): Respect vhdl-beautify-options.
14755         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14756         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14757         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14758         to force statements on one line.
14759         (vhdl-remove-trailing-spaces-region):
14760         New, split from vhdl-remove-trailing-spaces.
14761         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14762         Respect vhdl-beautify-options.
14763         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14764         (vhdl-update-sensitivity-list): Not add with index if exists without.
14765         Not include array index with signal.  Ignore keywords in comments.
14766         (vhdl-get-visible-signals): Regexp tweaks.
14767         (vhdl-template-component-inst): Handle empty library.
14768         (vhdl-template-type): Add template for 'enum' type.
14769         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14770         Use vhdl-replace-string.
14771         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14772         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14773         (vhdl-speedbar-initialize): Update for above name change.
14774         (vhdl-compose-wire-components): Fix in handling of constants.
14775         (vhdl-error-regexp-emacs-alist): New variable.
14776         (vhdl-error-regexp-add-emacs): New function;
14777         adds support for new compile.el (Emacs 22+)
14778         (vhdl-generate-makefile-1): Change target order for single lib. units.
14779         Allow use of absolute file names.
14781 2013-05-16  Leo Liu  <sdl.web@gmail.com>
14783         * simple.el (prog-indent-sexp): Indent enclosing defun.
14785 2013-05-15  Glenn Morris  <rgm@gnu.org>
14787         * cus-start.el (show-trailing-whitespace): Move to editing basics.
14788         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14789         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14790         (whitespace-highlight): Move to whitespace group.
14792         * comint.el (comint-source):
14793         * pcmpl-linux.el (pcmpl-linux):
14794         * shell.el (shell-faces):
14795         * eshell/esh-opt.el (eshell-opt):
14796         * international/ccl.el (ccl): Remove empty custom groups.
14798         * completion.el (dynamic-completion-mode):
14799         * jit-lock.el (jit-lock-debug-mode):
14800         * minibuffer.el (completion-in-region-mode):
14801         * type-break.el (type-break-mode-line-message-mode)
14802         (type-break-query-mode):
14803         * emulation/tpu-edt.el (tpu-edt-mode):
14804         * progmodes/subword.el (global-subword-mode, global-superword-mode):
14805         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14806         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14808         * term/xterm.el (xterm): Change parent group to terminals.
14810         * master.el (master): Remove empty custom group.
14811         (master-mode): Remove unused :group argument.
14812         * textmodes/refill.el (refill): Remove empty custom group.
14813         (refill-mode): Remove unused :group argument.
14815         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14817         * cus-dep.el: Provide a feature.
14818         (custom-make-dependencies): Ignore dotfiles (dir-locals).
14819         Don't mistakenly ignore files whose basenames match a basename
14820         from preloaded-file-list (eg cedet/ede/simple.el).
14821         Add a fallback method for getting :group.
14823 2013-05-15  Juri Linkov  <juri@jurta.org>
14825         * isearch.el (isearch-char-by-name): Rename from
14826         `isearch-insert-char-by-name'.  Doc fix.
14827         (isearch-forward): Mention `isearch-char-by-name' in
14828         the docstring.  (Bug#13348)
14830         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14831         `exit-minibuffer' instead of
14832         `isearch-nonincremental-exit-minibuffer'.
14833         (isearch-edit-string): Remove mention of
14834         `isearch-nonincremental-exit-minibuffer' from docstring.
14835         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14836         (isearch-forward-exit-minibuffer)
14837         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
14839 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14841         * loadup.el: Just use unversioned DOC.
14843         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14844         literals as extending to EOB.
14845         (nxml-last-fontify-end): Remove unused variable.
14846         (nxml-after-change1): Use with-silent-modifications.
14847         (nxml-extend-after-change-region): Simplify.
14848         (nxml-extend-after-change-region1): Remove function.
14849         (nxml-after-change1): Don't adjust for dependent regions.
14850         (nxml-fontify-matcher): Simplify.
14851         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14852         (xmltok-add-dependent): Remove function.
14853         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14854         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14855         (xmltok-scan-prolog-after-processing-instruction-open): Treat
14856         unclosed <[[, <?, comment, and other literals as extending to EOB.
14857         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14858         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14859         Remove functions.
14860         (rng-do-some-validation-1): Don't mark dependent regions.
14861         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14862         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14863         (nxml-clear-dependent-regions): Remove functions.
14864         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14865         (nxml-ensure-scan-up-to-date):
14866         Don't clear&mark dependent regions.
14868 2013-05-15  Leo Liu  <sdl.web@gmail.com>
14870         * progmodes/octave.el (octave-goto-function-definition):
14871         Improve and fix callers.
14873 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14875         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14876         the setter (bug#14387).
14878         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14879         surrounding group (bug#14402).
14881 2013-05-14  Juri Linkov  <juri@jurta.org>
14883         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14884         (Bug#14390)
14886 2013-05-14  Glenn Morris  <rgm@gnu.org>
14888         * progmodes/f90.el (f90-imenu-generic-expression):
14889         Fix typo in 2013-05-08 change.  (Bug#14402)
14891 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
14893         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14894         Remove signals for which replies are never received.
14896 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
14898         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14899         (gdb-handler-alist, gdb-handler-number): Remove variables.
14900         (gdb-handler-list): New variable.
14901         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14902         (gdb-pending-handler-p, gdb-handle-reply)
14903         (gdb-remove-all-pending-triggers): New functions.
14904         (gdb-discard-unordered-replies): New defcustom.
14905         (gdb-handler): New defstruct.
14906         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
14907         instead of gdb-pending-triggers.  Update docstring.
14908         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
14909         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14910         (gdb-var-update-handler, def-gdb-auto-update-trigger)
14911         (def-gdb-auto-update-handler, gdb-get-changed-registers)
14912         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14913         (gdb-frame-handler): Pending triggers are now automatically managed.
14914         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14915         Remove argument.
14916         (gdb-input): Automatically handles pending triggers.  Update docstring.
14917         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14918         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14919         Update comments.
14920         (gdb-done-or-error): Now use gdb-handle-reply.
14922 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
14924         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14925         gdb-debug-log.
14927 2013-05-14  Glenn Morris  <rgm@gnu.org>
14929         * subr.el (user-emacs-directory-warning): New option.
14930         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
14932 2013-05-14  Leo Liu  <sdl.web@gmail.com>
14934         * progmodes/octave.el (octave-font-lock-keywords): Fix error
14935         during redisplay.
14936         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14937         (octave-font-lock-texinfo-comment): Fix invalid search bound
14938         error: wrong side of point.
14940 2013-05-14  Glenn Morris  <rgm@gnu.org>
14942         * progmodes/flymake.el (flymake-xml-program): New option.
14943         (flymake-xml-init): Use it.
14945         * term/xterm.el: Provide a feature.
14947         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
14949 2013-05-13  Glenn Morris  <rgm@gnu.org>
14951         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14952         Add compat aliases as a hack workaround.  (Bug#14384)
14954 2013-05-13  Leo Liu  <sdl.web@gmail.com>
14956         * progmodes/octave.el (octave-indent-comment): Fix indentation for
14957         ###, and %!.
14958         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14959         C-M-q.
14960         (octave-comment-start-skip): Include %!.
14961         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14963 2013-05-12  Leo Liu  <sdl.web@gmail.com>
14965         * progmodes/octave.el (inferior-octave-startup): Store the value
14966         of __octave_srcdir__ for octave-source-directories.
14967         (inferior-octave-check-process): New function refactored out of
14968         inferior-octave-send-list-and-digest.
14969         (octave-source-directories)
14970         (octave-find-definition-filename-function): New variables.
14971         (octave-source-directories)
14972         (octave-find-definition-default-filename): New functions.
14973         (octave-find-definition): Improve to find functions implemented in C++.
14975 2013-05-12  Glenn Morris  <rgm@gnu.org>
14977         * calendar/diary-lib.el (diary-outlook-format-1):
14978         Don't include dayname in the output.  (Bug#14349)
14980 2013-05-11  Glenn Morris  <rgm@gnu.org>
14982         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14984         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14985         Treat cc-provide like provide.
14987 2013-05-11  Kevin Ryde  <user42@zip.com.au>
14989         * cus-dep.el (custom-make-dependencies):
14990         Use generated-autoload-load-name for the sake of files such
14991         such cedet/semantic/bovine/c.el, where the base file name
14992         is not in load-path.  (Bug#5277)
14994 2013-05-11  Glenn Morris  <rgm@gnu.org>
14996         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14997         Provide features.
14999 2013-05-11  Leo Liu  <sdl.web@gmail.com>
15001         * progmodes/octave.el (octave-indent-comment): Improve.
15002         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15003         (octave-eldoc-function-signatures, octave-eldoc-function):
15004         New functions.
15005         (octave-mode, inferior-octave-mode): Add eldoc support.
15007 2013-05-11  Richard Stallman  <rms@gnu.org>
15009         * epa.el (epa-decrypt-file): Take output file name as argument
15010         and read it using `interactive'.
15012 2013-05-11  Leo Liu  <sdl.web@gmail.com>
15014         * progmodes/octave.el (octave-beginning-of-line)
15015         (octave-end-of-line): Check before using up-list because it jumps
15016         out of more syntactic contructs since moving to smie.
15017         (octave-indent-comment): New function.
15018         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
15019         (octave-begin-keywords, octave-end-keywords)
15020         (octave-reserved-words, octave-smie-bnf-table)
15021         (octave-smie-rules): Add new keywords from Octave 3.6.4.
15023 2013-05-11  Glenn Morris  <rgm@gnu.org>
15025         * faces.el (internal-face-x-get-resource):
15026         * frame.el (ns-display-monitor-attributes-list):
15027         * calc/calc-aent.el (math-to-radians-2):
15028         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15029         Fix declarations.
15031         * calc/calc-menu.el: Make it loadable in isolation.
15033         * net/eudcb-bbdb.el: Make it loadable without bbdb.
15034         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15035         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15036         (eudc-bbdb-query-internal): Require 'bbdb.
15038         * lpr.el (lpr-headers-switches):
15039         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15041         * progmodes/sql.el (sql-login-params): Fix and improve :type.
15043         * emulation/edt-mapper.el: In batch mode, error rather than hang.
15045         * term.el (term-set-escape-char): Make it idempotent.
15047 2013-05-10  Leo Liu  <sdl.web@gmail.com>
15049         * progmodes/octave.el (inferior-octave-completion-table):
15050         No longer a function and all uses changed.  Use cache to speed up
15051         completion due to bug#11906.
15052         (octave-beginning-of-defun): Re-write to be more general.
15054 2013-05-10  Glenn Morris  <rgm@gnu.org>
15056         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15058 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
15060         * comint.el (comint-redirect-send-command-to-process): Use :around
15061         rather than :override for comint-redirect-filter.
15062         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15063         Call it instead of comint-redirect-original-filter-function (which
15064         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
15066 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
15068         * frame.el (display-monitor-attributes-list): Add NS case.
15069         (ns-display-monitor-attributes-list): Declare.
15071 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
15073         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
15075 2013-05-09  Glenn Morris  <rgm@gnu.org>
15077         * international/fontset.el (vertical-centering-font-regexp):
15078         Set standard-value.
15080         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15082         * bookmark.el (bookmark-search-delay):
15083         * cus-start.el (vertical-centering-font-regexp):
15084         * ps-mule.el (ps-mule-font-info-database-default):
15085         * ps-print.el (ps-default-fg, ps-default-bg):
15086         * type-break.el (type-break-good-break-interval):
15087         * whitespace.el (whitespace-indentation-regexp)
15088         (whitespace-space-after-tab-regexp):
15089         * emacs-lisp/testcover.el (testcover-1value-functions)
15090         (testcover-noreturn-functions, testcover-progn-functions)
15091         (testcover-prog1-functions):
15092         * emulation/viper-init.el (viper-emacs-state-cursor-color):
15093         * eshell/em-glob.el (eshell-glob-translate-alist):
15094         * play/tetris.el (tetris-tty-colors):
15095         * progmodes/cpp.el (cpp-face-default-list):
15096         * progmodes/flymake.el (flymake-allowed-file-name-masks):
15097         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15098         (idlwave-help-browser-generic-args):
15099         * progmodes/make-mode.el (makefile-special-targets-list):
15100         * progmodes/python.el (python-shell-virtualenv-path):
15101         * progmodes/verilog-mode.el (verilog-active-low-regexp)
15102         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15103         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15104         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15105         * textmodes/reftex-vars.el (reftex-format-label-function):
15106         * textmodes/remember.el (remember-diary-file): Fix custom types.
15108         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15109         Add :version.
15111 2013-05-09  Leo Liu  <sdl.web@gmail.com>
15113         * progmodes/octave.el (inferior-octave-completion-at-point):
15114         Restore file completion.  (Bug#14300)
15115         (inferior-octave-startup): Fix incorrect highlighting for the
15116         first prompt.
15118 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15120         * progmodes/ruby-mode.el: First cut at SMIE support.
15121         (ruby-use-smie): New var.
15122         (ruby-smie-grammar): New constant.
15123         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15124         (ruby-smie--forward-token, ruby-smie--backward-token)
15125         (ruby-smie-rules): New functions.
15126         (ruby-mode-variables): Setup SMIE if applicable.
15128 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
15130         * simple.el (line-move-visual): Signal beginning/end of buffer
15131         only if vertical-motion moved less than it was requested.  Avoids
15132         silly incorrect error messages when there are display strings with
15133         multiple newlines at EOL.
15135 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15137         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15138         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15139         (prolog-char-quote-workaround):
15140         * progmodes/cperl-mode.el (cperl-under-as-char):
15141         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15142         Mark as obsolete.
15143         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15144         their declaration.
15145         (vhdl-mode-syntax-table-init): Remove.
15147         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15148         last change.
15150         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15151         syntax for "_".
15152         (ld-script-font-lock-keywords):
15153         Change regexps to use things like \_< and \_>.
15155         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15156         Change all regexps to use things like \_< and \_>.
15158         * progmodes/autoconf.el (autoconf-definition-regexp)
15159         (autoconf-font-lock-keywords, autoconf-current-defun-function):
15160         Handle a _ with symbol syntax.
15161         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15163         * progmodes/ada-mode.el (ada-mode-abbrev-table):
15164         Consolidate declaration.
15165         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15166         the declaration.
15167         (ada-create-syntax-table): Remove.
15168         (ada-capitalize-word): Don't mess with the syntax of "_" since it
15169         already has the right syntax nowadays.
15170         (ada-goto-next-word): Don't change the syntax of "_".
15172         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15173         with-wrapper-hook.
15175 2013-05-08  Sam Steingold  <sds@gnu.org>
15177         * thingatpt.el (thing-at-point): Accept optional second argument
15178         NO-PROPERTIES to strip the text properties from the return value.
15179         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15180         to `thing-at-point' instead of stripping the properties ourselves.
15181         Also, when `thing-at-point' fails to find a url, prepend "http://"
15182         to the filename at point on the assumption that the user is
15183         pointing at something like gnu.org/gnu.
15185 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
15187         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15188         * faces.el (crm-separator):
15189         Silence byte-compiler.
15191         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15192         (tool-bar-map): Remove unneeded defvars.
15194 2013-05-08  Leo Liu  <sdl.web@gmail.com>
15196         Re-work a fix for bug#10994 based on Le Wang's patch.
15197         * ido.el (ido-remove-consecutive-dups): New helper.
15198         (ido-completing-read): Use it.
15199         (ido-chop): Revert fix for bug#10994.
15201 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
15203         * cus-edit.el (custom-save-variables):
15204         Pretty-print long values.  (Bug#14187)
15206 2013-05-08  Glenn Morris  <rgm@gnu.org>
15208         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15209         (m4-mode-syntax-table): Init in the defvar.
15210         (m4-mode-abbrev-table): Let define-derived-mode define it.
15212 2013-05-08  Tom Tromey  <tromey@redhat.com>
15214         * progmodes/m4-mode.el (m4-mode-syntax-table):
15215         Do not treat "_" as word constituent.  (Bug#14167)
15217 2013-05-07  Glenn Morris  <rgm@gnu.org>
15219         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15220         Remove explicit eshell-isearch-cancel-map.
15222         * progmodes/f90.el (f90-smart-end-names): New option.
15223         (f90-smart-end): Doc fix.
15224         (f90-end-block-optional-name): New constant.
15225         (f90-block-match): Respect f90-smart-end-names.
15227 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15229         * progmodes/octave.el (octave-smie-forward-token): Be more careful
15230         about implicit semi-colons (bug#14218).
15232 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15234         * frame.el (display-monitor-attributes-list)
15235         (frame-monitor-attributes): New functions.
15237 2013-05-06  Leo Liu  <sdl.web@gmail.com>
15239         * progmodes/octave.el (octave-syntax-propertize-function): Change
15240         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
15241         (octave-font-lock-keywords): Use octave-operator-regexp.
15242         (octave-completion-at-point): Rename from
15243         octave-completion-at-point-function.
15244         (inferior-octave-directory-tracker): Robustify.
15245         (octave-text-functions): Remove and fix its uses.  No such things
15246         any more.
15248 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15250         * emacs-lisp/trace.el (trace--display-buffer): New function.
15251         (trace-make-advice): Use it.
15253 2013-05-06  Juri Linkov  <juri@jurta.org>
15255         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
15256         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15257         Doc fix.
15258         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15259         in the help string.  (Bug#12985)
15261 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
15263         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
15265 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15267         * progmodes/perl-mode.el: Add support for here documents.
15268         (perl-syntax-propertize-function): Match here-doc markers.
15269         (perl-syntax-propertize-special-constructs): Find their end.
15270         (perl-imenu-generic-expression): Use [:alnum:].
15272         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15273         (advice--add-function): Refresh the advice if already present
15274         (bug#14317).
15276 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
15278         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
15280 2013-05-06  Glenn Morris  <rgm@gnu.org>
15282         * w32-fns.el (w32-charset-info-alist): Declare.
15284         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15285         of its defcustom properties.
15286         (eshell-cmpl-initialize): No need to load pcomplete.
15288         * generic-x.el: No need to require comint when compiling.
15290         * net/eudc-export.el: Make it loadable without bbdb.
15291         (top-level): Use require rather than load-library.
15292         (eudc-create-bbdb-record, eudc-bbdbify-phone)
15293         (eudc-batch-export-records-to-bbdb)
15294         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15295         Require bbdb.
15297 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15299         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15300         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15301         some tweaks, instead.
15303 2013-05-05  Leo Liu  <sdl.web@gmail.com>
15305         * progmodes/octave.el (octave-font-lock-keywords)
15306         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15307         (inferior-octave-send-list-and-digest): Improve error message.
15308         (octave-mode, inferior-octave-mode): Use setq-local.
15309         (octave-help): Set info-lookup-mode.
15311 2013-05-05  Richard Stallman  <rms@gnu.org>
15313         * vc/compare-w.el (compare-windows-whitespace):
15314         Treat no-break space as whitespace.
15316         * mail/rmailsum.el (rmail-summary-rmail-update):
15317         Detect empty summary and don't change selected message.
15318         (rmail-summary-goto-msg): Likewise.
15320         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15321         Doc fixes, rename args.
15323 2013-05-05  Alan Mackenzie  <acm@muc.de>
15325         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15327 2013-05-05  Juri Linkov  <juri@jurta.org>
15329         * info.el (Info-read-subfile): Use (point-min) instead of (point)
15330         to not add the length of the summary segment to the return value.
15331         (Bug#14125)
15333 2013-05-05  Leo Liu  <sdl.web@gmail.com>
15335         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15336         (inferior-octave-output-filter): Remove.
15337         (octave-send-region, inferior-octave-startup): Fix callers.
15338         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15339         (octave-binary-file-extensions): New user variable.
15340         (octave-find-definition): Confirm if opening binary files.
15341         (octave-help-file): Use octave-find-definition to get the binary
15342         confirmation.
15343         (octave-help): Adjust for octave-help-file change.
15345 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15347         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15348         Merge the two entries that handle function definitions.
15349         (pascal--syntax-propertize): New const.
15350         (pascal-mode): Use it.  Use setq-local.
15352 2013-05-04  Glenn Morris  <rgm@gnu.org>
15354         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15355         (diary-from-outlook): Respect diary-from-outlook-function.
15357 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15359         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15360         Move the declaration from C.
15361         (read-minibuffer, eval-minibuffer): Move from C.
15362         (completion-setup-function): Avoid minibuffer-completion-contents.
15364 2013-05-03  Leo Liu  <sdl.web@gmail.com>
15366         * progmodes/octave.el (octave-font-lock-keywords): Do not
15367         dehighlight 'end' in comments or strings.
15368         (octave-completing-read, octave-goto-function-definition):
15369         New helpers.
15370         (octave-help-buffer): New user variable.
15371         (octave-help-file, octave-help-function): New button types.
15372         (octave-help): New command and bind it to C-h ;.
15373         (octave-find-definition): New command and bind it to M-.
15374         (user-error): Alias to error if not defined.
15376 2013-05-02  Leo Liu  <sdl.web@gmail.com>
15378         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15379         for \.  (bug#14332)
15380         (octave-font-lock-keywords): Include [ and {.
15382 2013-05-02  Leo Liu  <sdl.web@gmail.com>
15384         * progmodes/octave.el (inferior-octave-startup-file): Change default.
15385         (inferior-octave): Remove calling comint-mode and return the buffer.
15386         (inferior-octave-startup): Cosmetic changes.
15388 2013-05-02  Leo Liu  <sdl.web@gmail.com>
15390         * progmodes/octave.el (octave-syntax-propertize-function):
15391         Include the case when ' is at line beginning.  (Bug#14336)
15393 2013-05-02  Glenn Morris  <rgm@gnu.org>
15395         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15396         * desktop.el (vc-dir-mode): Just autoload it here.
15398 2013-05-02  Alan Mackenzie  <acm@muc.de>
15400         Eliminate variable c-standard-font-lock-fontify-region-function.
15401         * progmodes/cc-mode.el
15402         (c-standard-font-lock-fontify-region-function): Remove.
15403         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15405 2013-05-01  Leo Liu  <sdl.web@gmail.com>
15407         * progmodes/octave.el: Compatible with older emacs-24 releases.
15408         (inferior-octave-has-built-in-variables): Remove.  Built-in
15409         variables were removed from Octave in 2007.
15410         (inferior-octave-startup): Fix uses.
15411         (comint-line-beginning-position): Remove compatibility code for
15412         emacs 21.
15414 2013-05-01  Juri Linkov  <juri@jurta.org>
15416         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
15418 2013-05-01  Juri Linkov  <juri@jurta.org>
15420         * comint.el (comint-previous-matching-input): Don't print message
15421         "History item: %d" when `isearch-mode' is active.
15422         (comint-history-isearch-message): Print message "History item: %d"
15423         when `comint-input-ring-index' is not empty and this function is
15424         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
15426 2013-05-01  Leo Liu  <sdl.web@gmail.com>
15428         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15429         definitions.  Use completion-at-point to insert keywords.
15430         (octave-abbrev-start): Remove.
15431         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15433 2013-04-30  Leo Liu  <sdl.web@gmail.com>
15435         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15436         change.
15438 2013-04-30  Alan Mackenzie  <acm@muc.de>
15440         Handle arbitrarily long C++ member initialisation lists.
15441         * progmodes/cc-engine.el (c-back-over-member-initializers):
15442         new function.
15443         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15444         (most) member init lists.
15446 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15448         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15449         variable.
15451 2013-04-30  Leo Liu  <sdl.web@gmail.com>
15453         * progmodes/octave.el (octave-variables): Remove.  No builtin
15454         variables any more.  All converted to functions.
15455         (octave-font-lock-keywords, octave-completion-at-point-function):
15456         Fix uses.
15457         (octave-font-lock-texinfo-comment): New user variable.
15458         (octave-texinfo-font-lock-keywords): New variable for texinfo
15459         comment block.
15460         (octave-function-comment-block): New face.
15461         (octave-font-lock-texinfo-comment): New function.
15462         (octave-mode): Font lock texinfo comment block.
15464 2013-04-29  Leo Liu  <sdl.web@gmail.com>
15466         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15467         indexing expression.
15468         (octave-continuation-string): Do not use \.
15469         (inferior-octave-complete-impossible): Remove.
15470         (inferior-octave-completion-table)
15471         (inferior-octave-completion-at-point): Remove its uses.
15472         (inferior-octave-startup): completion_matches was introduced to
15473         Octave in 1996 so safe to assume it.
15474         (octave-function-file-comment): Improve to follow how Octave does it.
15475         (octave-update-function-file-comment): Tweak.
15477 2013-04-29  Leo Liu  <sdl.web@gmail.com>
15479         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15480         (inferior-octave-startup): Remove inferior-octave-startup-hook.
15481         (octave-function-file-comment): Fix typo.
15482         (octave-sync-function-file-names): Use read-char-choice.
15484 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
15486         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15487         to t for the less important warnings.
15489 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
15491         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
15493 2013-04-27  Glenn Morris  <rgm@gnu.org>
15495         * vc/log-view.el (log-view-current-entry):
15496         Treat "---" separator lines as part of the following rev.  (Bug#14169)
15498 2013-04-27  Juri Linkov  <juri@jurta.org>
15500         * subr.el (read-number): Doc fix about using it by interactive
15501         code letter `n'.  (Bug#14254)
15503 2013-04-27  Juri Linkov  <juri@jurta.org>
15505         * desktop.el (desktop-auto-save-timeout): New option.
15506         (desktop-file-checksum): New variable.
15507         (desktop-save): Add optional arg `auto-save' and don't auto-save
15508         if nothing changed.
15509         (desktop-auto-save-timer): New variable.
15510         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15511         (after-init-hook): Call `desktop-auto-save-set-timer'.
15512         Suggested by Reuben Thomas <rrt@sc3d.org> in
15513         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15515 2013-04-27  Leo Liu  <sdl.web@gmail.com>
15517         * progmodes/octave.el (octave-function-file-p)
15518         (octave-skip-comment-forward, octave-function-file-comment)
15519         (octave-update-function-file-comment): New functions.
15520         (octave-mode-map): Bind C-c ; to
15521         octave-update-function-file-comment.
15522         (octave-mode-menu): Add octave-update-function-file-comment.
15523         (octave-mode, inferior-octave-mode): Fix doc-string.
15524         (octave-insert-defun): Conform to Octave's coding convention.
15525         (Bug#14285)
15527         * files.el (basic-save-buffer): Don't let errors in
15528         before-save-hook prevent saving buffer.
15530 2013-04-20  Roland Winkler  <winkler@gnu.org>
15532         * faces.el (read-face-name): Use completing-read if arg multiple
15533         is nil.
15535 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
15537         * ls-lisp.el (ls-lisp-insert-directory): If no files are
15538         displayed, move point to after the totals line.
15539         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15540         for the details.
15542 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15544         * emacs-lisp/package.el (package-autoload-ensure-default-file):
15545         Add current dir to the load-path.
15546         (package-generate-autoloads): Don't rely on
15547         autoload-ensure-default-file.
15549 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
15551         * textmodes/remember.el (remember-store-in-files): Document that
15552         the file name format is passed to `format-time-string'.
15554 2013-04-26  Leo Liu  <sdl.web@gmail.com>
15556         * progmodes/octave.el (octave-sync-function-file-names): New function.
15557         (octave-mode): Use it in before-save-hook.
15559 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15561         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15562         (bug#14274).
15564         * progmodes/octave.el (octave-smie-forward-token): Properly skip
15565         \n and comment, even if it's not an implicit ; (bug#14218).
15567 2013-04-26  Glenn Morris  <rgm@gnu.org>
15569         * subr.el (read-number): Once more use `read' rather than
15570         `string-to-number', to trap non-numeric input.  (Bug#14254)
15572 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
15574         * emacs-lisp/syntax.el (syntax-propertize-multiline):
15575         Use `syntax-multiline' text property consistently instead of
15576         `font-lock-multiline'.  (Bug#14237)
15578 2013-04-26  Glenn Morris  <rgm@gnu.org>
15580         * emacs-lisp/shadow.el (list-load-path-shadows):
15581         No longer necessary to check for duplicate simple.el, since
15582         2012-07-07 change to init_lread to not include installation lisp
15583         directories in load-path when running uninstalled.  (Bug#14270)
15585 2013-04-26  Leo Liu  <sdl.web@gmail.com>
15587         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15588         (octave-mode, inferior-octave-mode): Use setq-local.
15589         (octave-not-in-string-or-comment-p): Rename to
15590         octave-in-string-or-comment-p.
15591         (octave-in-comment-p, octave-in-string-p)
15592         (octave-in-string-or-comment-p): Replace defsubst with defun.
15594 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
15596         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15598 2013-04-25  Bastien Guerry  <bzg@gnu.org>
15600         * textmodes/remember.el (remember-data-directory)
15601         (remember-directory-file-name-format): Fix custom types.
15603 2013-04-25  Leo Liu  <sdl.web@gmail.com>
15605         * progmodes/octave.el (octave-completion-at-point-function):
15606         Make use of inferior octave process.
15607         (octave-initialize-completions): Remove.
15608         (inferior-octave-completion-table): New function.
15609         (inferior-octave-completion-at-point): Use it.
15610         (octave-completion-alist): Remove.
15612 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15614         * progmodes/opascal.el: Use font-lock and syntax-propertize.
15615         (opascal-mode-syntax-table): New var.
15616         (opascal-literal-kind, opascal-is-literal-end)
15617         (opascal-literal-token-at): Rewrite.
15618         (opascal--literal-start-re, opascal-font-lock-keywords)
15619         (opascal--syntax-propertize): New constants.
15620         (opascal-font-lock-defaults): Adjust.
15621         (opascal-mode): Use them.  Set comment-<foo> variables as well.
15622         (delphi-comment-face, opascal-comment-face, delphi-string-face)
15623         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15624         (delphi-other-face, opascal-other-face): Remove face variables.
15625         (opascal-save-state): Remove macro.
15626         (opascal-fontifying-progress-step): Remove constant.
15627         (opascal--ignore-changes): Remove var.
15628         (opascal-set-token-property, opascal-parse-next-literal)
15629         (opascal-is-stable-literal, opascal-complete-literal)
15630         (opascal-is-literal-start, opascal-face-of)
15631         (opascal-parse-region, opascal-parse-region-until-stable)
15632         (opascal-fontify-region, opascal-after-change)
15633         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15634         (opascal-debug-parse-region, opascal-debug-parse-window)
15635         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15636         (opascal-debug-fontify-buffer): Remove.
15637         (opascal-debug-mode-map): Adjust accordingly.
15639 2013-04-25  Leo Liu  <sdl.web@gmail.com>
15641         Merge octave-mod.el and octave-inf.el into octave.el with some
15642         cleanups.
15643         * progmodes/octave.el: New file renamed from octave-mod.el.
15644         * progmodes/octave-inf.el: Merged into octave.el.
15645         * progmodes/octave-mod.el: Renamed to octave.el.
15647 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
15649         * textmodes/reftex-vars.el
15650         (reftex-label-ignored-macros-and-environments): New defcustom.
15652         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15654 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15656         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15657         (smie-indent-keyword): Improve the check to ensure that the next
15658         comment is really on the same line.
15659         (smie-indent-comment): Don't align with a subsequent closer (or eob).
15661         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15662         semi-colons if the line is not otherwise empty (bug#14218).
15664 2013-04-25  Glenn Morris  <rgm@gnu.org>
15666         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15668 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15670         * progmodes/opascal.el (opascal-set-token-property): Rename from
15671         opascal-set-text-properties and only set `token' (bug#14134).
15672         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15673         (opascal-literal-text-properties): Remove.
15674         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15675         Adjust callers.
15677 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
15679         * textmodes/remember.el (remember-handler-functions): Add an
15680         option for a new handler `remember-store-in-files'.
15681         (remember-data-directory, remember-directory-file-name-format):
15682         New options.
15683         (remember-store-in-files): New function to store remember notes
15684         as separate files within a directory.
15686 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
15688         * progmodes/compile.el (compilation-next-error-function):
15689         Pass "formats" to compilation-find-file (bug#11777).
15691 2013-04-24  Glenn Morris  <rgm@gnu.org>
15693         * vc/vc-bzr.el (vc-bzr-print-log):
15694         * vc/vc-hg.el (vc-hg-print-log):
15695         * vc/vc-svn.el (vc-svn-print-log):
15696         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
15698         * vc/vc-bzr.el (vc-bzr-print-log):
15699         * vc/vc-cvs.el (vc-cvs-print-log):
15700         * vc/vc-git.el (vc-git-print-log):
15701         * vc/vc-hg.el (vc-hg-print-log):
15702         * vc/vc-mtn.el (vc-mtn-print-log):
15703         * vc/vc-rcs.el (vc-rcs-print-log):
15704         * vc/vc-sccs.el (vc-sccs-print-log):
15705         * vc/vc-svn.el (vc-svn-print-log):
15706         * vc/vc.el (vc-print-log-internal): Doc fixes.
15708 2013-04-23  Glenn Morris  <rgm@gnu.org>
15710         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15711         Remove venerable code attempting to avoid substitute-command-keys.
15713 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
15715         * textmodes/reftex-vars.el (reftex-label-regexps):
15716         Call `reftex-compile-variables' after changes to this variable.
15718 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15720         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15721         Use lexical-binding.
15722         (jit-lock-force-redisplay): Use markers, check buffer's continued
15723         existence and beware narrowed buffers.
15724         (jit-lock-fontify-now): Adjust call accordingly.
15726 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15728         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15729         to avoid misleading the user.
15731 2013-04-22  Leo Liu  <sdl.web@gmail.com>
15733         * info-look.el: Prefer latex2e.info.  (Bug#14240)
15735 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
15737         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
15739         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15740         * net/tramp.el (tramp-call-process): ... here.
15741         (tramp-set-completion-function, tramp-parse-putty):
15742         * net/tramp-adb.el (tramp-adb-execute-adb-command):
15743         * net/tramp-gvfs.el (tramp-gvfs-send-command):
15744         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15745         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15746         (tramp-call-local-coding-command): Use `tramp-call-process'
15747         instead of `tramp-compat-call-process'.
15749         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15750         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15751         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15752         (tramp-find-inline-compress): Improve traces.
15753         (tramp-maybe-send-script): Check for Perl binary.
15754         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15756 2013-04-22  Daiki Ueno  <ueno@gnu.org>
15758         * epg.el (epg-context-pinentry-mode): New function.
15759         (epg-context-set-pinentry-mode): New function.
15760         (epg--start): Pass --pinentry-mode option to gpg command.
15762 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
15764         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15765         `comint-dynamic-complete' is obsolete since 24.1, replaced by
15766         `completion-at-point'.  (Bug#13774)
15768         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15769         default key binding for `describe-distribution' has been moved to
15770         `C-h C-o'.  (Bug#13970)
15772 2013-04-21  Glenn Morris  <rgm@gnu.org>
15774         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15775         Add doc strings.
15776         (vc-print-log): Clarify interactive prompt.
15778 2013-04-20  Glenn Morris  <rgm@gnu.org>
15780         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15781         No longer include timestamp etc information.
15783 2013-04-20  Roland Winkler  <winkler@gnu.org>
15785         * faces.el (read-face-name): Bug fix, return just one face if arg
15786         multiple is nil.  (Bug#14209)
15788 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15790         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15791         (remove-function): Autoload.
15793         * comint.el (comint-redirect-original-filter-function): Remove.
15794         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15795         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15796         (vc-cvs-annotate-command):
15797         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15798         * progmodes/prolog.el (prolog-consult-compile):
15799         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15800         Use add/remove-function instead.
15801         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15802         (gud-tooltip-process-output, gud-tooltip-tips):
15803         Use add/remove-function instead.
15804         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15805         (scheme-interaction-mode, exit-scheme-interaction-mode):
15806         Use add/remove-function instead.
15808         * vc/vc-dispatcher.el: Use lexical-binding.
15809         (vc--process-sentinel): Rename from vc-process-sentinel.
15810         Change last arg to be the code to run.  Don't use vc-previous-sentinel
15811         and vc-sentinel-commands any more.
15812         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
15813         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15815 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
15817         * progmodes/sh-script.el (sh-imenu-generic-expression):
15818         Handle function names with a single character.  (Bug#14111)
15820 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
15822         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15823         for subroutines defined in an eval (bug#14182).
15825 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15827         * bookmark.el (bookmark-completing-read): Improve handling of empty
15828         string (bug#14176).
15830 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15832         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15834 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15836         New faster Imenu implementation (bug#14058).
15837         * progmodes/python.el:
15838         (python-imenu-prev-index-position):
15839         (python-imenu-format-item-label-function)
15840         (python-imenu-format-parent-item-label-function)
15841         (python-imenu-format-parent-item-jump-label-function):
15842         New vars.
15843         (python-imenu-format-item-label)
15844         (python-imenu-format-parent-item-label)
15845         (python-imenu-format-parent-item-jump-label)
15846         (python-imenu--put-parent, python-imenu--build-tree)
15847         (python-imenu-create-index, python-imenu-create-flat-index)
15848         (python-util-popn): New functions.
15849         (python-mode): Set imenu-create-index-function to
15850         python-imenu-create-index.
15852 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15854         * winner.el (winner-active-region): Use region-active-p, activate-mark
15855         and deactivate-mark (bug#14225).
15857         * simple.el (deactivate-mark): Don't inline it.
15859 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
15861         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15863 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
15865         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15866         file extensions from the archive-mode entry in order to prefer
15867         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15869 2013-04-18  Leo Liu  <sdl.web@gmail.com>
15871         * bindings.el (help-event-list): Add ?\?.
15873 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15875         * subr.el (with-wrapper-hook): Declare obsolete.
15876         * simple.el (filter-buffer-substring-function): New hook.
15877         (filter-buffer-substring): Use it.
15878         (filter-buffer-substring-functions): Mark obsolete.
15879         * minibuffer.el (completion-in-region-function): New hook.
15880         (completion-in-region): Use it.
15881         (completion-in-region-functions): Mark obsolete.
15882         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15883         * abbrev.el (abbrev-expand-function): New hook.
15884         (expand-abbrev): Use it.
15885         (abbrev-expand-functions): Mark obsolete.
15886         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15887         and :filter-return.
15889 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15891         * progmodes/python.el (python-nav--syntactically): Fix cornercases
15892         and do not care about match data.
15894 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15896         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15897         completion tables when completing error conditions and
15898         `declare' arguments.
15899         (lisp-complete-symbol, field-complete): Mark as obsolete.
15900         (check-parens): Unmatched parens are user errors.
15901         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15903 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
15905         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15906         command changed buffer (ie. `flyspell-pre-buffer' is not current
15907         buffer), which prevents making decisions based on invalid value of
15908         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
15909         cause an error when `flyspell-pre-point' was nil after switching
15910         buffers.
15911         (flyspell-post-command-hook): No longer needs to change buffers when
15912         checking pre-word.  While at it remove unnecessary progn.
15914 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
15916         * textmodes/ispell.el (ispell-add-per-file-word-list):
15917         Fix `flyspell-correct-word-before-point' error when accepting
15918         words and `coment-padding' is an integer by using
15919         `comment-normalize-vars' (Bug #14214).
15921 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15923         New defun movement commands.
15924         * progmodes/python.el (python-nav--syntactically)
15925         (python-nav--forward-defun, python-nav-backward-defun)
15926         (python-nav-forward-defun): New functions.
15928 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15930         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15931         (python-syntax-context): Use named compiler-macro for backwards
15932         compatibility with Emacs 24.x.
15934 2013-04-17  Leo Liu  <sdl.web@gmail.com>
15936         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15937         octave-hide-process-buffer.
15939 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15941         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15942         (bug#14216).
15944 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
15946         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15947         Fix adjustment of offset when receiving incomplete responses from GDB
15948         (bug#14129).
15950 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15952         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15953         python-mode-abbrev-table.
15954         (python-skeleton-define): Adjust accordingly.
15955         (python-mode-abbrev-table): New table that inherits from it so that
15956         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15958         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15959         (abbrev-symbol): Use it.
15960         (abbrev--before-point): Use it since we already handle inheritance.
15962 2013-04-16  Leo Liu  <sdl.web@gmail.com>
15964         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15965         binding to info-lookup-symbol.
15967 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
15969         * minibuffer.el (completion--twq-all):
15970         * term/ns-win.el (ns-initialize-window-system):
15971         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15973 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15975         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15976         global bindings.
15978         * doc-view.el (doc-view-start-process): Handle url-handler directories.
15980 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
15982         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15983         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15984         to nil.
15985         (ruby-end-of-defun): Remove the unused arg, change the docstring
15986         to reflect that this function is only used as the value of
15987         `end-of-defun-function'.
15988         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15989         to reflect an earlier change that beginning/end-of-defun functions
15990         jump between methods in a class definition, as well as top-level
15991         functions.
15993 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15995         * minibuffer.el (minibuffer-complete): Don't just scroll
15996         a *Completions* that's been iconified.
15997         (minibuffer-force-complete): Make sure repetitions do cycle when going
15998         through completion-in-region -> minibuffer-complete.
16000 2013-04-15  Alan Mackenzie  <acm@muc.de>
16002         Correct the placement of c-cpp-delimiters when there're #s not at
16003         col 0.
16005         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16006         place a submatch around the #.
16007         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16008         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
16009         on the #, not BOL.
16011 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16013         * emacs-lisp/nadvice.el: Properly test names when adding advice.
16014         (advice--member-p): New arg `name'.
16015         (advice--add-function, advice-member-p): Use it (bug#14202).
16017 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
16019         Reformulate java imenu-generic-expression.
16020         The old expression contained ill formed regexps.
16022         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16023         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16024         (cc-imenu-java-method-arg-regexp): New defconsts.
16025         (cc-imenu-java-build-type-args-regex): New defun.
16026         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16027         handling of spaces in the regexp.
16029 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
16031         * textmodes/ispell.el (ispell-command-loop): Remove
16032         flyspell highlight of a word when ispell accepts it (bug #14178).
16034 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
16036         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16037         uses code from the previous `ange-ftp-run-real-handler'.
16038         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16039         only in case that function exist.  This is needed for proper
16040         unloading of Tramp.
16042 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
16044         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16046         * textmodes/reftex.el (reftex-compile-variables): Use it.
16048 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16050         * files.el (normal-mode): Only use default major-mode if no other mode
16051         was specified.
16053         * emacs-lisp/trace.el (trace-values): New function.
16055         * files.el: Allow : in local variables (bug#14089).
16056         (hack-local-variable-regexp): New var.
16057         (hack-local-variables-prop-line, hack-local-variables): Use it.
16059 2013-04-13  Roland Winkler  <winkler@gnu.org>
16061         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
16062         data before it gets modified by bibtex-beginning-of-entry.
16064 2013-04-13  Roland Winkler  <winkler@gnu.org>
16066         * textmodes/bibtex.el (bibtex-url): Doc fix.
16068 2013-04-13  Roland Winkler  <winkler@gnu.org>
16070         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16071         does not visit a BibTeX file, exclude it from the list of buffers
16072         returned by bibtex-initialize.
16074 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
16076         * window.el (split-window): Remove interactive form, since as a
16077         command this function is a special case of split-window-below.
16078         Correct doc string.
16080 2013-04-12  Roland Winkler  <winkler@gnu.org>
16082         * faces.el (read-face-name): Do not override value of arg default.
16083         Allow single faces and strings as default values.  Remove those
16084         elements from return value that are not faces.
16085         (describe-face): Simplify.
16086         (face-at-point): New optional args thing and multiple so that this
16087         function can provide the same functionality previously provided by
16088         read-face-name.
16089         (make-face-bold, make-face-unbold, make-face-italic)
16090         (make-face-unitalic, make-face-bold-italic, invert-face)
16091         (modify-face, read-face-and-attribute): Use face-at-point.
16093         * cus-edit.el (customize-face, customize-face-other-window)
16094         * cus-theme.el (custom-theme-add-face)
16095         * face-remap.el (buffer-face-set)
16096         * facemenu.el (facemenu-set-face): Use face-at-point.
16098 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
16100         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16102 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
16104         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16105         off leading { and trailing } from field values.
16107 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
16109         * emacs-lisp/timer.el (timer--check): New function.
16110         (timer--time, timer-set-function, timer-event-handler): Use it.
16111         (timer-set-idle-time): Simplify.
16112         (timer--activate): CSE.
16113         (timer-event-handler): Give more info in error message.
16114         (internal-timer-start-idle): New function, moved from C.
16116         * mpc.el (mpc-proc): Add `restart' argument.
16117         (mpc-proc-cmd): Use it.
16118         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16119         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16120         less often.
16122 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
16124         * progmodes/sh-script.el: Implement `sh-mode' own
16125         `add-log-current-defun-function' (bug#14112).
16126         (sh-current-defun-name): New function.
16127         (sh-mode): Use the function.
16129 2013-04-09  Bastien Guerry  <bzg@gnu.org>
16131         * simple.el (choose-completion-string): Fix docstring (bug#14163).
16133 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16135         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16137         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16138         timer (bug#14156).
16140 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
16142         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16143         declaration.
16145 2013-04-07  Leo Liu  <sdl.web@gmail.com>
16147         * pcmpl-x.el: New file.
16149 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
16151         Do not set x-display-name until X connection is established.
16152         This is needed to prevent from weird situation described at
16153         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16154         * frame.el (make-frame): Set x-display-name after call to
16155         window system initialization function, not before.
16156         * term/x-win.el (x-initialize-window-system): Add optional
16157         display argument and use it.
16158         * term/w32-win.el (w32-initialize-window-system):
16159         * term/ns-win.el (ns-initialize-window-system):
16160         * term/pc-win.el (msdos-initialize-window-system):
16161         Add compatible optional display argument.
16163 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
16165         * files.el (normal-backup-enable-predicate): On MS-Windows and
16166         MS-DOS compare truenames of temporary-file-directory and of the
16167         file, so that 8+3 aliases (usually found in $TEMP on Windows)
16168         don't fail comparison by compare-strings.  Also, compare file
16169         names case-insensitively on MS-Windows and MS-DOS.
16171 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16173         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16174         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16176 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
16178         * whitespace.el (whitespace-color-on, whitespace-color-off):
16179         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16181 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
16183         * ispell.el (ispell-set-spellchecker-params):
16184         Really set `ispell-args' for all equivs.
16186 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16188         * ido.el (ido-completions): Use extra elements of ido-decorations
16189         (bug#14143).
16190         (ido-decorations): Update docstring.
16192 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
16194         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16195         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16196         nil during initialization, in order not to miss changes since the
16197         file was opened.  (Bug#14140)
16199 2013-04-05  Leo Liu  <sdl.web@gmail.com>
16201         * kmacro.el (kmacro-call-macro): Fix bug#14135.
16203 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
16205         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16207 2013-04-04  Glenn Morris  <rgm@gnu.org>
16209         * electric.el (electric-pair-inhibit-predicate): Add :version.
16211 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16213         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16214         when a package is required several times (bug#14082).
16216 2013-04-04  Roland Winkler  <winkler@gnu.org>
16218         * faces.el (read-face-name): Behave as promised by the docstring.
16219         Assume that arg default is a list of faces.
16220         (describe-face): Call read-face-name with list of default faces.
16222 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16224         * bookmark.el: Fix deletion of bookmarks (bug#13972).
16225         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16226         (bookmark-bmenu-execute-deletions): Only skip first line if it's
16227         the header.
16228         (bookmark-exit-hook-internal): Save even if list is empty.
16230 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
16232         * emacs-lisp/package.el (package-pinned-packages): New var.
16233         (package--add-to-archive-contents): Obey it (bug#14118).
16235 2013-04-03  Alan Mackenzie  <acm@muc.de>
16237         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16238         Also adapt to the new values of element 7 of a parse state.
16240         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16241         parameter `not-in-delimiter'.  Handle being inside comment opener.
16242         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16243         character in case we're typing a '*' after a '/'.
16244         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16245         instead by passing the parameter to c-state-pp-to-literal.
16247         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16248         for elt. 7 of a parse state.
16250 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
16252         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16253         * international/latin1-disp.el, international/mule-util.el:
16254         * language/cyril-util.el, language/european.el, language/ind-util.el:
16255         * language/lao-util.el, language/thai.el, language/tibet-util.el:
16256         * language/tibetan.el, language/viet-util.el:
16257         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16259 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16261         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16262         (electric-pair-post-self-insert-function): Use it.
16263         (electric-pair-default-inhibit): New function, extracted from
16264         electric-pair-post-self-insert-function.
16266 2013-03-31  Roland Winkler  <winkler@gnu.org>
16268         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16270 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16272         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16274 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
16276         Un-indent after "pass" and "return" statements (Bug#13888)
16277         * progmodes/python.el (python-indent-block-enders): New var.
16278         (python-indent-calculate-indentation): Use it.
16280 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
16282         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16283         defun.  Defining it as defalias could introduce too eager
16284         byte-compiler optimization.  (Bug#14030)
16286 2013-03-30  Chong Yidong  <cyd@gnu.org>
16288         * iswitchb.el (iswitchb-read-buffer): Fix typo.
16290 2013-03-30  Leo Liu  <sdl.web@gmail.com>
16292         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16293         (kmacro-execute-from-register): Pass the keyboard macro to
16294         kmacro-call-macro or repeating won't work correctly.
16296 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
16298         * progmodes/subword.el: Back to using `forward-symbol'.
16300         * subr.el (forward-whitespace, forward-symbol)
16301         (forward-same-syntax): Move from thingatpt.el.
16303 2013-03-29  Leo Liu  <sdl.web@gmail.com>
16305         * kmacro.el (kmacro-to-register): New command.
16306         (kmacro-execute-from-register): New function.
16307         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
16309 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16311         * mpc.el: Use defvar-local and setq-local.
16312         (mpc--proc-connect): Connection failures are not bugs.
16313         (mpc-mode-map): `follow-link' only applies to the buffer's content.
16314         (mpc-volume-map): Bind to the up-events.
16316 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
16318         * progmodes/subword.el (superword-mode): Use `forward-sexp'
16319         instead of `forward-symbol'.
16321 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16323         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16324         (edebug--recursive-edit): Use it.
16325         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16326         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16328 2013-03-28  Leo Liu  <sdl.web@gmail.com>
16330         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
16332 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
16334         * facemenu.el (list-colors-callback): New defvar.
16335         (list-colors-redisplay): New function.
16336         (list-colors-display): Install list-colors-redisplay as the
16337         revert-buffer-function.  (Bug#14063)
16339 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16341         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16342         and suffixes don't overlap (bug#14061).
16344         * case-table.el: Use lexical-binding.
16345         (case-table-get-table): New function.
16346         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
16348 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
16350         * progmodes/subword.el: Add `superword-mode' to do word motion
16351         over symbol_words (parallels and leverages `subword-mode' which
16352         does word motion inside MixedCaseWords).
16354 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
16356         * eshell/em-unix.el: Move su and sudo to...
16357         * eshell/em-tramp.el: ...Eshell tramp module.
16359 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16361         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16362         Change return value to be a sexp.  Delay `get-buffer' to after
16363         restoring the desktop (bug#13951).
16365 2013-03-26  Leo Liu  <sdl.web@gmail.com>
16367         * register.el: Move semantic tag handling back to
16368         cedet/semantic/senator.el.  (Bug#14052)
16370 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16372         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16373         into the prompt either (bug#13963).
16375 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16377         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16378         part of "(error-foo)".
16380 2013-03-24  Juri Linkov  <juri@jurta.org>
16382         * replace.el (list-matching-lines-prefix-face): New defcustom.
16383         (occur-1): Pass `list-matching-lines-prefix-face' to the function
16384         `occur-engine' if `face-differs-from-default-p' returns t.
16385         (occur-engine): Add `,' inside backquote construct to evaluate
16386         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
16387         Pass `prefix-face' to the functions `occur-context-lines' and
16388         `occur-engine-add-prefix'.
16389         (occur-engine-add-prefix, occur-context-lines): Add optional arg
16390         `prefix-face' and propertize the prefix with `prefix-face'.
16391         (Bug#14017)
16393 2013-03-24  Leo Liu  <sdl.web@gmail.com>
16395         * nxml/rng-valid.el (rng-validate-while-idle)
16396         (rng-validate-quick-while-idle): Guard against deleted buffer.
16397         (Bug#13999)
16399         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16400         is the last entry in kill-buffer-hook.
16402         * files.el (kill-buffer-hook): Doc fix.
16404 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
16406         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16407         Make it safe-local.
16409         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16411 2013-03-23  Leo Liu  <sdl.web@gmail.com>
16413         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16414         Remove.
16416         * nxml/rng-valid.el (rng-validate-mode)
16417         (rng-after-change-function, rng-do-some-validation):
16418         * nxml/rng-maint.el (rng-validate-buffer):
16419         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16420         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16421         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16422         (nxml-extend-after-change-region): Use with-silent-modifications.
16424         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16425         timer-idle-list.
16427         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16428         (rng-next-error-1, rng-previous-error-1): Do not let-bind
16429         timer-idle-list.  (Bug#13999)
16431 2013-03-23  Juri Linkov  <juri@jurta.org>
16433         * info.el (info-index-match): New face.
16434         (Info-index, Info-apropos-matches): Add a nested subgroup to the
16435         main pattern and add text properties with the new face to matches
16436         in index entries relative to the beginning of the index entry.
16437         (Bug#14015)
16439 2013-03-21  Eric Ludlam  <zappo@gnu.org>
16441         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16442         Inhibit read only while inserting objects.
16444 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
16446         * progmodes/cfengine.el: Update docs to mention
16447         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
16448         symbol motion.  Remove "_" from the word syntax.
16450 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
16452         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16453         syntax for both `cfengine2-mode' and `cfengine3-mode'.
16455 2013-03-20  Juri Linkov  <juri@jurta.org>
16457         * info.el (Info-next-reference-or-link)
16458         (Info-prev-reference-or-link): New functions.
16459         (Info-next-reference, Info-prev-reference): Use them.
16460         (Info-try-follow-nearest-node): Handle footnote navigation.
16461         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
16463 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16465         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16466         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16468 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
16470         Suppress unnecessary non-ASCII chatter during build process.
16471         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16472         (batch-skkdic-convert): Suppress most of the chatter.
16473         It's not needed so much now that machines are faster,
16474         and its non-ASCII component was confusing; see Dmitry Gutov in
16475         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16477 2013-03-20  Leo Liu  <sdl.web@gmail.com>
16479         * ido.el (ido-chop): Fix bug#10994.
16481 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
16483         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16484         Remove vars.
16485         (whitespace-color-on, whitespace-color-off):
16486         Use `font-lock-fontify-buffer' (Bug#13817).
16488 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16490         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16491         remapping in mode-line.
16492         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16494 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
16496         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16497         value for `whitespace-line' face (Bug#13875).
16498         (whitespace-font-lock-keywords): Change description.
16499         (whitespace-color-on): Don't save `font-lock-keywords' value, save
16500         the constructed keywords instead.
16501         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16503 2013-03-19  Leo Liu  <sdl.web@gmail.com>
16505         * progmodes/compile.el (compilation-display-error): New command.
16506         (compilation-mode-map, compilation-minor-mode-map): Bind it to
16507         C-o.  (Bug#13992)
16509 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
16511         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16513 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
16515         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16517 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
16519         * net/tramp-compat.el (tramp-compat-user-error): New defun.
16521         * net/tramp-adb.el (tramp-adb-handle-shell-command):
16522         * net/tramp-gvfs.el (top):
16523         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16524         (tramp-handle-shell-command): Use it.
16525         (tramp-dissect-file-name): Raise an error when hostname is a
16526         method name, and neither method nor user is specified.
16528         * net/trampver.el: Update release number.
16530 2013-03-18  Leo Liu  <sdl.web@gmail.com>
16532         Make sure eldoc can be turned off properly.
16533         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16534         eldoc-mode.
16535         (eldoc-display-message-p): Revert last change.
16536         (eldoc-display-message-no-interference-p)
16537         (eldoc-print-current-symbol-info): Tweak.
16539 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
16541         * doc-view.el (doc-view-new-window-function): Check the new window
16542         overlay's display property instead the char property of the
16543         buffer's first char.  Use `with-selected-window' instead of
16544         `save-window-excursion' with `select-window'.
16545         (doc-view-document->bitmap): Check the current doc-view overlay's
16546         display property instead the char property of the buffer's first char.
16548 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
16550         Automate the build of ja-dic.el (Bug#13984).
16551         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16552         from the input, rather than assume that it's been done for us by the
16553         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
16554         the current date into a ja-dic.el comment, as that complicates
16555         regression testing.
16557 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16559         * whitespace.el: Fix double evaluation.
16560         (whitespace-space, whitespace-hspace, whitespace-tab)
16561         (whitespace-newline, whitespace-trailing, whitespace-line)
16562         (whitespace-space-before-tab, whitespace-indentation)
16563         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16564         obsolete defvars.
16565         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16566         (whitespace-color-on): Use a single font-lock-add-keywords call.
16567         Fix double-evaluation of face variables.
16569 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
16571         * net/tramp-adb.el (tramp-adb-parse-device-names):
16572         Use `start-process' instead of `call-process'.  Otherwise, the
16573         function might be blocked under MS Windows.  (Bug#13299)
16575 2013-03-17  Leo Liu  <sdl.web@gmail.com>
16577         Extend eldoc to display info in the mode-line.  (Bug#13978)
16578         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16579         (eldoc-mode-line-string): New variable.
16580         (eldoc-minibuffer-message): New function.
16581         (eldoc-message-function): New variable.
16582         (eldoc-message): Use it.
16583         (eldoc-display-message-p)
16584         (eldoc-display-message-no-interference-p):
16585         Support eldoc-post-insert-mode.
16587         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16588         (eval-expression): Run it.
16590 2013-03-17  Roland Winkler  <winkler@gnu.org>
16592         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16593         strings in the list of return values.
16595 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
16597         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16598         radix before checking for HMS forms.
16600 2013-03-16  Leo Liu  <sdl.web@gmail.com>
16602         * progmodes/scheme.el: Add indentation and font-locking for λ.
16603         (Bug#13975)
16605 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16607         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16608         token before point (bug#13942).
16610 2013-03-16  Leo Liu  <sdl.web@gmail.com>
16612         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
16614 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
16616         * startup.el (command-line-normalize-file-name): Fix handling of
16617         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
16618         <xfq.free@gmail.com> in
16619         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16621 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
16623         Sync with Tramp 2.2.7.
16625         * net/trampver.el: Update release number.
16627 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
16629         * doc-view.el: Fix bug#13887.
16630         (doc-view-insert-image): Don't modify overlay associated to
16631         non-live windows, and implement horizontal centering of image in
16632         case it's smaller than the window.
16633         (doc-view-new-window-function): Force redisplay of new windows on
16634         doc-view buffers.
16636 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
16638         * saveplace.el (save-place-alist-to-file): Don't sort
16639         `save-place-alist', just pretty-print it (bug#13882).
16641 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
16643         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16644         Check whether `default-file-name-coding-system' is bound.
16645         It isn't in XEmacs.
16647 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16649         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16650         backquotes for `obsolete' (bug#13929).
16652         * international/mule.el (find-auto-coding): Include file name in
16653         obsolescence warning (bug#13922).
16655 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
16657         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16658         for CFEngine 3-specific indentation.
16659         (cfengine3-indent-line): Use it.  Fix up category regex.
16660         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16662 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16664         * type-break.el (type-break-file-name):
16665         * textmodes/remember.el (remember-data-file):
16666         * strokes.el (strokes-file):
16667         * shadowfile.el (shadow-initialize):
16668         * saveplace.el (save-place-file):
16669         * ps-bdf.el (bdf-cache-file):
16670         * progmodes/idlwave.el (idlwave-config-directory):
16671         * net/quickurl.el (quickurl-url-file):
16672         * international/kkc.el (kkc-init-file-name):
16673         * ido.el (ido-save-directory-list-file):
16674         * emulation/viper.el (viper-custom-file-name):
16675         * emulation/vip.el (vip-startup-file):
16676         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16677         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16679 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
16681         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16682         * language/thai-word.el: Switch to UTF-8.
16684 See ChangeLog.16 for earlier changes.
16686 ;; Local Variables:
16687 ;; coding: utf-8
16688 ;; End:
16690   Copyright (C) 2011-2014 Free Software Foundation, Inc.
16692   This file is part of GNU Emacs.
16694   GNU Emacs is free software: you can redistribute it and/or modify
16695   it under the terms of the GNU General Public License as published by
16696   the Free Software Foundation, either version 3 of the License, or
16697   (at your option) any later version.
16699   GNU Emacs is distributed in the hope that it will be useful,
16700   but WITHOUT ANY WARRANTY; without even the implied warranty of
16701   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16702   GNU General Public License for more details.
16704   You should have received a copy of the GNU General Public License
16705   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.