Fix calendar-mark-1
[emacs.git] / lisp / ChangeLog
blob8ec822ff9999288a29546124c5161cbe4a292847
1 2014-11-23  Leo Liu  <sdl.web@gmail.com>
3         * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
5 2014-11-22  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7         Set PYTHONUNBUFFERED on shell startup.
9         * progmodes/python.el (python-shell-unbuffered): New var.
10         (python-shell-calculate-process-environment): Use it.
12 2014-11-22  Michael Albinus  <michael.albinus@gmx.de>
14         * net/tramp.el (tramp-action-password): Clean password on subsequent
15         attempts even if there was no wrong password indication.  (Bug#19047)
17         * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
18         fallback.
19         (tramp-open-connection-setup-interactive-shell): No need to check
20         for nil as `tramp-get-remote-locale' return value.
22 2014-11-21  Eli Zaretskii  <eliz@gnu.org>
24         * vc/vc-git.el (vc-git-command, vc-git--call): Bind
25         coding-system-for-read and coding-system-for-write to
26         vc-git-commits-coding-system.
27         (vc-git-previous-revision): Use "~1" instead of "^", since the
28         latter is a special character for MS-Windows system shells.
30 2014-11-20  Michael Albinus  <michael.albinus@gmx.de>
32         Improve XEmacs compatibility.
34         * net/tramp.el (tramp-autoload-file-name-handler):
35         Wrap `temporary-file-directory' by `symbol-value', it doesn't
36         exist in XEmacs.
37         (tramp-read-passwd): Don't use `with-timeout-suspend' and
38         `with-timeout-unsuspend' if they don't exist, like in XEmacs.
39         (tramp-time-less-p, tramp-time-subtract): Remove functions.
40         (tramp-handle-file-newer-than-file-p, tramp-time-diff):
41         * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
42         * net/tramp-cache.el (tramp-get-file-property):
43         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
44         Use `time-less-p' and `time-subtract, respectively.
46         * net/tramp-adb.el (top): Do not require time-date.el.
48         * net/tramp-compat.el (top): Require time-date.el for XEmacs.
50         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
51         Check, whether `utf-8' is a valid coding system.
53 2014-11-19  Eli Zaretskii  <eliz@gnu.org>
55         * vc/vc.el (vc-retrieve-tag): Doc fix.
57 2014-11-17  Eli Zaretskii  <eliz@gnu.org>
59         * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
60         Don't assume --long is the default for "bzr log", always specify
61         it explicitly, in case the user defined an alias for 'log' that
62         uses some other format.
64 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
66         * progmodes/python.el (python-eldoc--get-doc-at-point): Strip
67         shell output before returning.  (bug#18794)
69 2014-11-16  Dmitry Gutov  <dgutov@yandex.ru>
71         Fix indentation before `!=' and after `+='.  Originally reported
72         in https://github.com/mooz/js2-mode/issues/174.
73         * progmodes/js.el (js--indent-operator-re): Make assignments and
74         (in)equality operator a separate case.
75         (js--continued-expression-p): Escape the second `+' in the regexp.
77 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
79         * window.el (handle-select-window): Deactivate shift-region (bug#19003).
81 2014-11-15  Andreas Schwab  <schwab@linux-m68k.org>
83         * version.el (emacs-repository-get-version): Use git rev-parse
84         instead of git log.
86 2014-11-15  Fabián Ezequiel Gallina  <fgallina@gnu.org>
88         * progmodes/python.el (python-indent-calculate-levels): Fix
89         indentation behavior multiline dedenter statement.  (Bug#18432)
91 2014-11-15  Fabián Ezequiel Gallina  <fgallina@gnu.org>
93         * progmodes/python.el (python-indent-region): Use
94         python-indent-line and skip special cases.  (Bug#18843)
96 2014-11-15  Michael Albinus  <michael.albinus@gmx.de>
98         * vc/vc-hg.el (vc-hg-state): Disable pager.  (Bug#18940)
100 2014-10-28  Peder O. Klingenberg  <peder@klingenberg.no>  (tiny change)
102         * mail/emacsbug.el (report-emacs-bug): Make a better guess at
103           envelope-from when reporting through sendmail (bug#19054).
105 2014-11-14  Ivan Andrus  <darthandrus@gmail.com>
107         * progmodes/python.el (python-ffap-module-path): Use
108         `derived-mode-p' instead of equality test on `major-mode'.
110 2014-11-13  Ulrich Müller  <ulm@gentoo.org>
112         * version.el (emacs-repository-get-version): Call `git log'
113         command with proper format argument (bug#19049).
115 2014-11-10  Glenn Morris  <rgm@gnu.org>
117         * startup.el (command-line): Handle nil elements in load-path.
119 2014-11-08  Glenn Morris  <rgm@gnu.org>
121         * emacs-lisp/bytecomp.el (byte-compile-report-error):
122         Allow the argument to be a string.  Due to the vague doc,
123         it was already being used this way.
125 2014-11-07  Michael Albinus  <michael.albinus@gmx.de>
127         * net/tramp.el (tramp-check-cached-permissions): Include hop in
128         the constructed Tramp file name.  (Bug#18943)
130 2014-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
132         * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
133         (bug#18952).
134         (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
135         * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
137 2014-11-07  Michael Albinus  <michael.albinus@gmx.de>
139         * files.el (file-name-non-special): Wrap the call of
140         `insert-file-contents' by `unwind-protect', in order to set the
141         buffer's file name anyway.  (Bug#18891)
143 2014-11-07  Daiki Ueno  <ueno@gnu.org>
145         * epg.el (epg--list-keys-1): Ignore fields after the 15th field
146         (bug#18979).  Reported by Hideki Saito.
148 2014-10-18  Alan Mackenzie  <acm@muc.de>
150         Check that a "macro" found near point-min isn't a ## operator.
151         Fixes bug #18749.  Backported from trunk, 2014-11-05.
152         * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
153         (c-beginning-of-macro): Use the above new function.
155 2014-11-05  Alan Mackenzie  <acm@muc.de>
157         Fix wrong bound to c-font-lock-declarators.  Fixes bug #18948.
158         * progmodes/cc-fonts.el (c-font-lock-declarations): Pass
159         "(point-max)" as bound to c-font-lock-declarators, not "limit", as
160         the buffer is sometimes narrowed to less than "limit" (e.g., in
161         the presence of macros).
163 2014-11-05  Michael Albinus  <michael.albinus@gmx.de>
165         * net/tramp.el (tramp-error-with-buffer): Show connection buffer
166         only when message appeared in minibuffer.  (Bug#18891)
168         * net/tramp-adb.el (tramp-adb-handle-file-attributes):
169         * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
170         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
171         case of errors.
173 2014-11-04  Eli Zaretskii  <eliz@gnu.org>
175         * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
176         returned by load-average.
178 2014-11-04  Michael Albinus  <michael.albinus@gmx.de>
180         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
181         a local copy; setting `inhibit-file-name-handlers' proper might be
182         more performant.  (Bug#18751)
184 2014-11-04  Glenn Morris  <rgm@gnu.org>
186         * mail/emacsbug.el (report-emacs-bug): No longer include
187         recent-keys in the report.  (Bug#18900)
189 2014-11-03  Michael Albinus  <michael.albinus@gmx.de>
191         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
192         local copy of FILENAME, when it is remote.  (Bug#18751)
194 2014-11-02  Michael Albinus  <michael.albinus@gmx.de>
196         * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
197         an error when the command fails; the return code must indicate.
198         (tramp-adb-send-command-and-check): Fix docstring.
200 2014-11-01  Michael Albinus  <michael.albinus@gmx.de>
202         * net/tramp-cache.el (tramp-get-file-property)
203         (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
204         and `tramp-cache-set-count-*' are bound.  Otherwise, there might
205         be compiler warnings.
207         * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
208         Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
210 2014-11-01  Eli Zaretskii  <eliz@gnu.org>
212         * progmodes/compile.el (compilation-mode): Turn off deferred
213         fontifications locally.  (Bug#18856)
215 2014-11-01  Wolfgang Jenkner  <wjenkner@inode.at>
217         * net/tramp-sh.el (tramp-send-command): Fix the case where the
218         remote-echo connection property is non-nil (bug#18858).
220 2014-11-01  Michael Albinus  <michael.albinus@gmx.de>
222         Backport Tramp changes from trunk.
224         * net/tramp.el (tramp-methods): Tweak docstring.
225         (tramp-file-name-handler): Apply `cons' where appropriate.
226         (tramp-handle-file-accessible-directory-p): Check for
227         `file-readable-p' instead of `file-executable-p'.
228         (tramp-handle-shell-command): Use `display-buffer'.  (Bug#18326)
229         (tramp-handle-unhandled-file-name-directory): Return "/".
230         (tramp-check-cached-permissions):
231         Use `tramp-compat-file-attributes'.
232         (tramp-call-process): Add new argument VEC.  Adapt callees in all
233         tramp*.el files.
235         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
236         (tramp-adb-handle-write-region): Improve messages.
237         (tramp-adb-maybe-open-connection): Don't set
238         `tramp-current-*' variables.
240         * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
241         Suppress debug messages.
243         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
244         (tramp-ftp-file-name-handler):
246         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
247         (tramp-gvfs-methods-mounttracker)
248         (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
249         during initialization.  (Bug#18774)
250         (tramp-gvfs-handle-delete-file): Flush file properties, not
251         directory properties.
252         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
253         reading "unix::mode".
254         (tramp-gvfs-handle-file-name-all-completions):
255         Use "-h" option for "gvfs-ls".
256         (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
257         `user' and `localname' could be nil.
258         (tramp-gvfs-send-command): Simplify traces.
260         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
261         (vc-git-program, vc-hg-program): Declare.
262         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
263         (tramp-methods) <nc>: Add new method.
264         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
265         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
266         `tramp-login-args'.
267         (tramp-default-user-alist): Add "nc".
268         (top): Remove completion function for "sftp".  Add completion
269         functions for "nc" and "psftp".
270         (tramp-sh-handle-set-visited-file-modtime):
271         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
272         (tramp-do-copy-or-rename-file-out-of-band):
273         Use cached "remote-copy-args" value, if available.  (Bug#18199)
274         Tweak docstring.  Implement support for "nc" method.
275         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
276         (tramp-remote-coding-commands, tramp-call-local-coding-command):
277         Tweak docstring.
278         (tramp-sh-handle-start-file-process): Expand `default-directory'.
279         (tramp-sh-handle-write-region): Tweak error message.
280         (tramp-sh-handle-vc-registered): Remove backends when the remote
281         binary does not exist.
282         (tramp-open-connection-setup-interactive-shell):
283         Prefer utf-8 coding.  (Bug#17859)
284         (tramp-find-inline-encoding): Do not raise an error.
285         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
286         the "nc" case.  Quote result also locally.
287         (tramp-get-remote-id): Check also for "gid".
288         (tramp-get-remote-python):
290         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
291         (tramp-smb-handle-set-file-acl): Use `start-process'.
292         (tramp-smb-handle-insert-directory): Use progress reporter.
293         (tramp-smb-handle-rename-file): Flush also file properties of
294         FILENAME.
296         * net/trampver.el: Update release number.
298 2014-11-01  Reuben Thomas  <rrt@sc3d.org>
300         * net/tramp.el (tramp-handle-file-symlink-p):
301         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
302         about VMS, which we no longer support.
304 2014-11-01  Stefan Monnier  <monnier@iro.umontreal.ca>
306         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
307         the global vc-handled-backends (bug#18535).
309 2014-11-01  Jérémy Compostella  <jeremy.compostella@intel.com>
310             Michael Albinus  <michael.albinus@gmx.de>
312         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
313         Reduce the amount of set environment variable commands.
315 2014-11-01  Paul Eggert  <eggert@cs.ucla.edu>
317         * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
318         current-time.
320 2014-11-01  Emilio C. Lopes  <eclig@gmx.net>
322         * net/tramp-sh.el (tramp-get-remote-python): Also search for
323         executables named "python2" or "python3".
324         (tramp-get-remote-uid-with-python): Use parentheses around
325         arguments to `print' to make it compatible with Python 3.
326         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
328 2014-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
330         * simple.el (newline): Add assertions to try and help catch bug#18913.
332         * emulation/cua-base.el (cua-delete-region): Use delete-active-region
333         (bug#18886).
334         (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
336 2014-10-31  Eli Zaretskii  <eliz@gnu.org>
338         * Makefile.in (repo-update): Fix a typo and slightly reword
339         commentary.
341 2014-10-31  Eric S. Raymond  <esr@thyrsus.com>
343         * Makefile.in: Change some production names so they're neutral
344         about the repository type.
346 2014-10-30  Kim F. Storm  <storm@cua.dk>
348         Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
349         * delsel.el (delete-selection-save-to-register)
350         (delsel--replace-text-or-position): New vars.
351         (delete-active-region): Use them.
352         (delete-selection-repeat-replace-region): New command, moved from
353         cua-base.el.
354         * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
355         (cua-repeat-replace-region): Move command to delsel.el.
356         (cua--init-keymaps): Update binding accordingly.
357         (cua-mode): Set delete-selection-save-to-register.
359 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
361         * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
362         (c-lang-defconst):
363         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
365 2014-10-29  Eli Zaretskii  <eliz@gnu.org>
367         * progmodes/compile.el (compilation-start):
368         If compilation-scroll-output is non-nil, don't force window-start of
369         the compilation buffer to be at beginning of buffer.  (Bug#18874)
371 2014-10-23  Tassilo Horn  <tsdh@gnu.org>
373         * doc-view.el (doc-view-open-text): View the document's plain text
374         in the current buffer instead of a new one.
375         (doc-view-toggle-display): Handle the case where the current
376         buffer contains the plain text contents of the document.
377         (doc-view-initiate-display): Don't switch to fallback mode if the
378         user wants to view the doc's plain text.  [Backport]
380 2014-10-23  Eli Zaretskii  <eliz@gnu.org>
382         * startup.el (fancy-about-text): Read the entire tutorial, not
383         just its first 256 bytes.  (Bug#18760)
385 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
387         * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
388         * emacs-lisp/cl-extra.el: Add missing provide.
390 2014-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
392         * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
393         all args are copyable (bug#18767).
394         (=, <, >, <=, >=): Re-enable the optimization.
396 2014-10-20  Santiago Payà i Miralta  <santiagopim@gmail.com>
398         * vc/vc-hg.el (vc-hg-log-graph): New var.
399         (vc-hg-print-log): Use it.
400         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
401         graph output (bug#17515).
403 2014-10-20  Juri Linkov  <juri@jurta.org>
405         * vc/diff-mode.el (diff-refine-changed): Rename from
406         `diff-refine-change' for consistency with `diff-changed'.
407         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
409         * vc/smerge-mode.el (smerge-refined-changed): Rename from
410         `smerge-refined-change'.
411         (smerge-refined-change): Add obsolete face alias.
413 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
415         * subr.el (call-process-shell-command, process-file-shell-command):
416         Make the `args' obsolete (bug#18409).
417         (start-process-shell-command, start-file-process-shell-command):
418         Use `declare'.
420 2014-10-20  Juanma Barranquero  <lekktu@gmail.com>
422         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
424 2014-10-20  Glenn Morris  <rgm@gnu.org>
426         * dired.el (dired-read-regexp): Make obsolete.
427         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
428         (dired-flag-files-regexp):
429         * dired-aux.el (dired-mark-read-regexp):
430         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
432 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
434         * progmodes/python.el (inferior-python-mode): Use add-hook.
436         * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
438 2014-10-20  Glenn Morris  <rgm@gnu.org>
440         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
441         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
442         * emulation/ws-mode.el: Move to obsolete/.  [Backport]
444 2014-10-20  Glenn Morris  <rgm@gnu.org>
446         * cus-start.el (history-length): Bump :version.  [Backport]
448 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
450         * obsolete/cc-compat.el: Make obsolete (bug#18561).
452         * epg-config.el (epg-gpg-program): Don't use absolute names by default.
454         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
455         case (bug#18767).
457 2014-10-20  Glenn Morris  <rgm@gnu.org>
459         * Version 24.4 released.
461 2014-10-15  Alan Mackenzie  <acm@muc.de>
463         * cus-edit.el (custom-command-apply): Specify the return value in
464         the doc string.
465         (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
466         custom-command-apply has returned non-nil.
468 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
470         * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
471         Backported (bug#18688).
473 2014-10-14  Eli Zaretskii  <eliz@gnu.org>
475         * emacs-lisp/tabulated-list.el (tabulated-list-mode):
476         Force bidi-paragraph-direction to 'left-to-right'.  This fixes
477         buffer-menu display when the first buffer happens to start with
478         R2L letter.
480 2014-10-13  Glenn Morris  <rgm@gnu.org>
482         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
483         (authors-obsolete-files-regexps): Additions.
484         (authors-no-scan-regexps): New constant.
485         (authors-no-scan-file-p): New function.
486         (authors): Respect authors-no-scan-file-p.
488 2014-10-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
490         Fix import completion.  (Bug#18582)
491         * progmodes/python.el (python-shell-completion-get-completions):
492         Fix import case regexp.
494 2014-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
496         * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
497         (bug#18622).  Reported by Arni Magnusson <arnima@hafro.is>.
498         * progmodes/prolog.el (prolog-electric--underscore): Same.
500 2014-10-09  Glenn Morris  <rgm@gnu.org>
502         * frame.el (display-monitor-attributes-list): Doc tweaks.
504 2014-10-08  Eli Zaretskii  <eliz@gnu.org>
506         * faces.el (display-grayscale-p): Mention in the doc string that
507         the argument can be either a display name or a frame.
509         * frame.el (display-pixel-height, display-pixel-width)
510         (display-mm-height, display-mm-width, display-backing-store)
511         (display-save-under, display-planes, display-color-cells)
512         (display-visual-class, display-monitor-attributes-list)
513         (display-screens): Mention in the doc string that the argument can
514         be either a display name or a frame.  Improve the docs of the
515         monitor attributes.  (Bug#18636)
517 2014-10-06  Martin Rudalics  <rudalics@gmx.at>
519         * term.el (term-window-width): Subtract 1 from the width when
520         any fringe has zero width, not just the right fringe.  (Bug#18601)
522 2014-10-05  Leo Liu  <sdl.web@gmail.com>
524         * imenu.el (imenu-default-goto-function): Fix typo.
526 2014-10-04  Glenn Morris  <rgm@gnu.org>
528         * frame.el (frame-monitor-attributes)
529         (display-monitor-attributes-list): Doc fixes.
531 2014-10-03  Dmitry Gutov  <dgutov@yandex.ru>
533         * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
534         (vc-svn-ignore): Use it.  (Bug#18619)
536 2014-10-03  Martin Rudalics  <rudalics@gmx.at>
538         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
539         In doc-string mention need to set `frame-resize-pixelwise'.
541 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
543         * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
544         similarly to Rogers's 2010-06-16 change for the remote case
545         (bug#18605).
547 2014-10-01  Glenn Morris  <rgm@gnu.org>
549         * emacs-lisp/package.el (package-import-keyring):
550         Create gnupg directory private.  (Bug#17625#155)
552 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
554         * progmodes/python.el (python-shell-completion-get-completions):
555         Use python-shell--prompt-calculated-input-regexp from the
556         process buffer (bug#18582).
557         Don't assume that `line' comes from the process buffer.
559 2014-09-30  Leonardo Nobrega  <leonobr@gmail.com>  (tiny change)
561         * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
562         (bug#18462).
564 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
566         * emacs-lisp/package.el (package-check-signature): Default to nil if
567         GPG is not available.
568         (package-refresh-contents): Don't mess with the keyring if we won't
569         check the signatures anyway.
571 2014-09-18  Kan-Ru Chen  <kanru@kanru.info>
573         * window.el (fit-window-to-buffer): When counting buffer width,
574         count the whole visible buffer.  Correctly convert the body-height
575         to pixel size for window-text-pixel-size (Bug#18498).
577 2014-09-14  Glenn Morris  <rgm@gnu.org>
579         * image.el (image-multi-frame-p): Fix thinko - do not force
580         a delay if none was specified.  (Bug#18334)
582 2014-09-12  Kan-Ru Chen  <kanru@kanru.info>
584         * window.el (fit-window-to-buffer): Doc fix.
586 2014-09-10  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
588         * desktop.el (desktop-create-buffer): Check that buffers are still live
589         before burying them (bug#18373).
591 2014-09-09  Glenn Morris  <rgm@gnu.org>
593         * calendar/diary-lib.el (diary-list-entries):
594         Restore 24.3 display behavior.  (Bug#18381)
596 2014-09-09  Eli Zaretskii  <eliz@gnu.org>
598         * mouse.el (mouse-drag-line): On text-mode frames, count the mode
599         line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
600         discrepancy between window-pixel-edges and mouse events, and
601         avoids moving mode line up when the mouse click is on the modeline
602         and no drag is attempted.
604 2014-09-08  Glenn Morris  <rgm@gnu.org>
606         * calendar/calendar.el (calendar-basic-setup):
607         Avoid clobbering calendar with diary.  (Bug#18381)
609 2014-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
611         * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
613 2014-09-04  Lars Ljung  <lars@matholka.se>  (tiny change)
615         * isearch.el (isearch-yank-word-or-char): Obey superword-mode
616         as well (bug#18400).
618 2014-09-04  Eli Zaretskii  <eliz@gnu.org>
620         * subr.el (posn-actual-col-row): Doc fix.  (Bug#18385)
622 2014-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
624         * emacs-lisp/package.el (package-generate-description-file):
625         Properly quote the arguments (bug#18332).  Change second arg.
626         (package--alist-to-plist-args): Rename from package--alist-to-plist and
627         quote the elements.
628         (package--make-autoloads-and-stuff): Fix the test for pre-existence of
629         the *-pkg.el file.  Adjust to new calling convention of
630         package-generate-description-file.
632         * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
633         (gud-gdb-completions): Remove obsolete workaround.
635 2014-09-02  Eli Zaretskii  <eliz@gnu.org>
637         * subr.el (posn-col-row): Revert the change from commit
638         2010-11-13T21:07:58Z!eliz@gnu.org, which
639         was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
640         monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
641         introduced an off-by-one error in the reported row when there is a
642         header line.  (Bug#18384)
644 2014-09-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
646         * progmodes/python.el (python-indent-post-self-insert-function):
647         Avoid electric colon at beginning-of-defun.  (Bug#18228)
649 2014-09-01  Glenn Morris  <rgm@gnu.org>
651         * tutorial.el (tutorial--display-changes):
652         Fix 2014-07-29 change.  (Bug#18382)
654 2014-08-29  Ken Brown  <kbrown@cornell.edu>
656         * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
657         the Cygwin-w32 build.  (Bug#18347)
659 2014-08-28  Glenn Morris  <rgm@gnu.org>
661         * tar-mode.el (tar--extract, tar-extract):
662         Avoid permanently disabling undo in extracted buffers.  (Bug#18344)
664 2014-08-27  Michael Albinus  <michael.albinus@gmx.de>
666         * emacs-lisp/authors.el (authors-aliases): Addition.
668         * net/tramp-adb.el: Spell author name correctly.
670 2014-08-27  João Távora  <joaotavora@gmail.com>
672         * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
673         use url-expand-file-name.  (Bug#18310)
675 2014-08-25  Glenn Morris  <rgm@gnu.org>
677         * emulation/cua-rect.el (cua--highlight-rectangle):
678         Avoid error at point-min.  (Bug#18309)
680 2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
682         * progmodes/python.el (python-shell-prompt-detect): Remove redundant
683         executable-find (bug#18244).
685         * simple.el (self-insert-uses-region-functions): Defvar.
687 2014-08-13  Leo Liu  <sdl.web@gmail.com>
689         * speedbar.el (speedbar-generic-list-tag-p): Allow special
690         elements from imenu.
692 2014-08-11  Glenn Morris  <rgm@gnu.org>
694         * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
696         * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
697         chose coding system for writing before backing up, since it causes
698         a more serious problem than the one it solves.  (Closes Bug#18141,
699         reopens Bug#13522.)
701 2014-08-10  Martin Rudalics  <rudalics@gmx.at>
703         * window.el (window-total-size): Make doc-string more
704         self-contained.
706 2014-08-09  Martin Rudalics  <rudalics@gmx.at>
708         * window.el (display-buffer-below-selected): Restore original
709         behavior if buffer is already displayed in the window below the
710         selected one (Bug#18181).
712 2014-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
714         * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
715         event (bug#18212).
717 2014-08-08  Eli Zaretskii  <eliz@gnu.org>
719         * info.el (info): Doc fix.
721 2014-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
723         * info.el (Info-mode-map): Override a global down-mouse-2 binding
724         (bug#18212).
726 2014-08-05  Eli Zaretskii  <eliz@gnu.org>
728         * simple.el (default-line-height): A floating-point value of
729         line-spacing means a fraction of the default frame font's height,
730         not of the font currently used by the 'default' face.
731         Truncate the pixel value, like the display engine does.
732         (window-screen-lines): Use window-inside-pixel-edges for
733         determining the window height in pixels.  (Bug#18195)
735 2014-07-29  Eli Zaretskii  <eliz@gnu.org>
737         * tutorial.el (tutorial--display-changes): Accept punctuation
738         characters before the key binding.  (Bug#18146)
740 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
742         * doc-view.el (doc-view-open-text): Don't require that the
743         document is saved in a file (e.g., email attachment).
745 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
747         * window.el (window--pixel-to-total): Use FRAME's root window, not
748         that of the selected frame.  (Bug#18112, Bug#16674)
750 2014-07-27  Andreas Schwab  <schwab@linux-m68k.org>
752         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
753         (Bug#18117)
755 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
757         * progmodes/python.el (inferior-python-mode): Doc fix.
759 2014-07-25  Stephen Berman  <stephen.berman@gmx.net>
761         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
762         not a character, ignore it instead of raising an error.
764 2014-07-25  Stephen Berman  <stephen.berman@gmx.net>
766         * calendar/todo-mode.el: Fix handling of marked items and make
767         minor code improvements.
768         (todo-edit-item): If there are marked items, ensure user can only
769         invoke editing commands that work with marked items.
770         (todo-edit-item--text): When there are marked items, make it a
771         noop if invoked with point not on an item; otherwise, ensure it
772         applies only to item at point.
773         (todo-item-undone): If there are marked not-done items, return
774         point to its original position before signaling user error.
775         (todo--user-error-if-marked-done-item): New function.
776         (todo-edit-item--header, todo-edit-item--diary-inclusion)
777         (todo-item-done): Use it.
779 2014-07-25  Glenn Morris  <rgm@gnu.org>
781         * files.el (toggle-read-only): Re-add basic doc-string.
782         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
784         * progmodes/prolog.el (prolog-mode-keybindings-edit):
785         Replace missing `switch-to-prolog' with `run-prolog'.
786         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
788 2014-07-22  Stephen Berman  <stephen.berman@gmx.net>
790         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
791         of file-wide setting when changing category-wide setting.
793 2014-07-21  Glenn Morris  <rgm@gnu.org>
795         * progmodes/hideif.el (hide-ifdef-mode-submap):
796         Also substitute read-only-mode.
797         * bindings.el (mode-line-toggle-read-only):
798         * bs.el (bs-toggle-readonly):
799         * buff-menu.el (Buffer-menu-toggle-read-only):
800         * dired.el (dired-toggle-read-only):
801         * files.el (view-read-only, find-file-read-only)
802         (find-file-read-only-other-window)
803         (find-file-read-only-other-frame):
804         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
805         Doc fixes re toggle-read-only.
807 2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
809         * progmodes/python.el: Add comment about pipe buffering and
810         solutions for missing/delayed output in inferior Python shells.
811         (Bug#17304)
813 2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
815         * progmodes/python.el (python-mode): Don't set
816         mode-require-final-newline.  (Bug#17990)
818 2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
820         Make python.el work with IPython automatically.  (Bug#15510)
821         * progmodes/python.el:
822         (python-shell-completion-setup-code): New value supporting iPython.
823         (python-shell-completion-string-code): New value supporting iPython.
824         (python-shell-completion-get-completions): Use them.
825         (python-shell-completion-module-string-code): Make obsolete.
826         (python-shell-prompt-input-regexps)
827         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
828         (python-shell-output-filter): Fix comment typo.
830 2014-07-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
832         Fix Python shell prompts detection for remote hosts.
833         * progmodes/python.el (python-shell-prompt-detect):
834         Replace call-process with process-file and make it more robust.
836 2014-07-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
838         Autodetect Python shell prompts.  (Bug#17370)
839         * progmodes/python.el:
840         (python-shell-interpreter-interactive-arg)
841         (python-shell-prompt-detect-enabled)
842         (python-shell-prompt-detect-failure-warning)
843         (python-shell-prompt-input-regexps)
844         (python-shell-prompt-output-regexps): New vars.
845         (python-shell-prompt-calculated-input-regexp)
846         (python-shell-prompt-calculated-output-regexp): New vars.
847         (python-shell-get-process-name)
848         (python-shell-internal-get-process-name)
849         (python-shell-output-filter)
850         (python-shell-completion-get-completions): Use them.
851         (python-shell-prompt-detect)
852         (python-shell-prompt-validate-regexps): New functions.
853         (python-shell-prompt-set-calculated-regexps): New function.
854         (inferior-python-mode): Use it.  Also honor overridden
855         python-shell-interpreter and python-shell-interpreter-args.
856         (python-shell-make-comint): Honor overridden
857         python-shell-interpreter and python-shell-interpreter-args.
858         (python-shell-get-or-create-process): Make it testable by allowing
859         to call run-python non-interactively.
860         (python-util-valid-regexp-p): New function.
861         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
862         (python-shell-prompt-output-regexp)
863         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
865 2014-07-16  Glenn Morris  <rgm@gnu.org>
867         * desktop.el (after-init-hook): Disable startup frame restoration
868         in non-graphical situations.  (Bug#17693)
870 2014-07-14  Glenn Morris  <rgm@gnu.org>
872         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
873         if it was "empty", or used for a different set of files.  (Bug#17884)
875 2014-07-13  Eli Zaretskii  <eliz@gnu.org>
877         * bindings.el (mode-line-remote): If default-directory is not a
878         string, don't call file-remote-p on it; instead state in the
879         help-echo that it is nil.  (Bug#17986)
881 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
883         Fix bug: C-x v v discarded existing log message (Bug#17884).
884         * vc/vc-dispatcher.el (vc-log-edit):
885         Don't clobber an already-existing log message.
887 2014-07-10  Glenn Morris  <rgm@gnu.org>
889         * vc/log-edit.el (log-edit-changelog-entries):
890         Check for a visited-but-never-saved ChangeLog.
892 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
894         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
895         a non-existing file (bug#17970).
897         * faces.el (face-name): Undo last change.
898         (x-resolve-font-name): Don't call face-name (bug#17956).
900 2014-07-09  Fabián Ezequiel Gallina  <fgallina@gnu.org>
902         Fix dedenters and electric colon handling. (Bug#15163)
904         * progmodes/python.el
905         (python-rx-constituents): Add dedenter and block-ender.
906         (python-indent-dedenters, python-indent-block-enders): Delete.
907         (python-indent-context): Return new case for dedenter-statement.
908         (python-indent-calculate-indentation): Handle new case.
909         (python-indent-calculate-levels): Fix levels calculation for
910         dedenter statements.
911         (python-indent-post-self-insert-function): Fix colon handling.
912         (python-info-dedenter-opening-block-message): New function.
913         (python-indent-line): Use it.
914         (python-info-closing-block)
915         (python-info-closing-block-message): Remove.
916         (python-info-dedenter-opening-block-position)
917         (python-info-dedenter-opening-block-positions)
918         (python-info-dedenter-statement-p): New functions.
920 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
922         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
923         the middle of a line (bug#17896).
925 2014-07-08  Juri Linkov  <juri@jurta.org>
927         * startup.el (command-line): Append displaying the warning about
928         the errors in the init file to the end of `after-init-hook'.
929         (Bug#17927)
931 2014-07-08  Juri Linkov  <juri@jurta.org>
933         * faces.el (face-name): Return input arg `face' as is
934         when it's not a symbol.
935         (x-resolve-font-name): Don't check if the face is a symbol.
936         (Bug#17956)
938 2014-07-08  Juri Linkov  <juri@jurta.org>
940         * facemenu.el (list-colors-print): In help-echo format use %.2f
941         instead of %d because now HSV values are floating-point components
942         between 0.0 and 1.0.
944 2014-07-06  Glenn Morris  <rgm@gnu.org>
946         * emulation/cua-rect.el (cua--activate-rectangle):
947         Avoid setting cua--rectangle to nil.  (Bug#17877)
949 2014-07-06  Stephen Berman  <stephen.berman@gmx.net>
951         * calendar/todo-mode.el: Fix wrong-type-argument error when
952         marking multiple consecutive items.
953         (todo-toggle-mark-item): Don't try to mark the empty lines at the
954         end of the todo and done items sections.  Note in doc string that
955         items marked by passing a numeric prefix argument can include the
956         last todo and first done items.
957         (todo-mark-category): Don't try to mark the empty line between the
958         todo and done items sections.
960 2014-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
962         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
963         proper Lisp quoting (bug#17934).
965         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
966         require-final-newline since prog-mode already took care of it (bug#17947).
968 2014-07-04  Stephen Berman  <stephen.berman@gmx.net>
970         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
971         refer to the Todo mode Info manual.  Update the comment on
972         requiring cl-lib.
973         (todo-find-filtered-items-file): Add todo-prefix overlays.
974         (todo-filter-items): Reorder a let-bound variable to avoid a
975         wrong-type-argument error on canceling the file choice dialog.
977 2014-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
979         * progmodes/octave.el (inferior-octave-mode):
980         Set comint-input-ring-size to a number (bug#17912).
982 2014-07-03  Juri Linkov  <juri@jurta.org>
984         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
985         and `isearch-mode' associated with nil.  (Bug#17849)
987 2014-07-02  Juri Linkov  <juri@jurta.org>
989         * desktop.el (desktop-save): Rename arg `auto-save' to
990         `only-if-changed'.  Doc fix.  (Bug#17873)
992 2014-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
994         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
995         Use insert-for-yank (bug#17271).
997 2014-07-02  Leo Liu  <sdl.web@gmail.com>
999         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1000         Support lexical-binding.
1002 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1004         * vc/log-edit.el (log-edit-goto-eoh): New function.
1005         (log-edit--match-first-line): Use it (bug#17861).
1007 2014-07-01  Glenn Morris  <rgm@gnu.org>
1009         * vc/log-edit.el (log-edit-hook): Add missing :version.
1011 2014-07-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1013         * progmodes/python.el (python-indent-post-self-insert-function):
1014         Enhancements to electric indentation behavior inside
1015         parens. (Bug#17658)
1017 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1019         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1020         buffer-invisibility-spec (bug#17867).
1022 2014-06-29  Andreas Schwab  <schwab@linux-m68k.org>
1024         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1025         pass "-a".
1027 2014-06-29  Glenn Morris  <rgm@gnu.org>
1029         * cus-edit.el (help):
1030         * finder.el (finder-known-keywords):
1031         * help.el (help-for-help-internal):
1032         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1033         (ediff-redraw-registry-buffer):
1034         * vc/ediff-ptch.el (ediff-patch-file-internal):
1035         Doc fixes re "online" help.  (Bug#17803)
1037         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1038         (idlwave-mode): Doc URL update.
1040 2014-06-27  Stephen Berman  <stephen.berman@gmx.net>
1042         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1043         account for file-wide setting of todo-top-priorities-overrides.
1044         Make code a bit cleaner.
1046 2014-06-27  Leo Liu  <sdl.web@gmail.com>
1048         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
1050 2014-06-27  Glenn Morris  <rgm@gnu.org>
1052         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
1054 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
1056         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1057         category-wide setting of todo-top-priorities-overrides, check for
1058         a file-wide setting and fontify accordingly.
1060 2014-06-26  Glenn Morris  <rgm@gnu.org>
1062         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
1064 2014-06-26  Daiki Ueno  <ueno@gnu.org>
1066         * emacs-lisp/package.el (package--check-signature):
1067         If package-check-signature is allow-unsigned, don't signal error when
1068         we can't verify signature because of missing public key
1069         (backport for bug#17625).
1071 2014-06-26  Glenn Morris  <rgm@gnu.org>
1073         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1074         Remove outdated declaration.
1076         * emacs-lisp/authors.el (authors-valid-file-names)
1077         (authors-renamed-files-alist): Additions.
1079 2014-06-25  Leo Liu  <sdl.web@gmail.com>
1081         * textmodes/picture.el (picture-set-tab-stops):
1082         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1083         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1085         * progmodes/asm-mode.el (asm-calculate-indentation):
1086         Use indent-next-tab-stop.
1088         * indent.el (indent-accumulate-tab-stops): New function.
1090 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1092         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1093         (package-desc-status): Obey it.
1095 2014-06-25  Stephen Berman  <stephen.berman@gmx.net>
1097         * calendar/todo-mode.el: Fix two bugs.
1098         (todo-insert-item--basic): If user cancels item insertion to
1099         another category before setting priority, show original category
1100         whether it is in the same or a different file.
1101         (todo-set-item-priority): After selecting category, instead of
1102         moving point to top, which extends an active region, restore it.
1104 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1106         * help-fns.el (describe-function-1): Check file-name is a string before
1107         calling help-fns--autoloaded-p (bug#17564).
1109 2014-06-24  Juri Linkov  <juri@jurta.org>
1111         * desktop.el (desktop-auto-save-enable)
1112         (desktop-auto-save-disable): New functions.
1113         (desktop-save-mode, desktop-auto-save-timeout): Use them.
1114         (desktop-read): Disable the autosave before loading the desktop,
1115         and enable afterwards.  (Bug#17351)
1117 2014-06-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1119         Fix some indentation problem with \; and pipes (bug#17842).
1120         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1121         (sh-smie--default-forward-token, sh-smie--default-backward-token):
1122         New functions.
1123         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1124         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1125         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1127 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
1129         * international/fontset.el (script-representative-chars):
1130         Add representative characters for scripts added in Unicode 7.0.
1131         (otf-script-alist): Synchronize with the latest registry of OTF
1132         script tags.
1134         * international/characters.el (char-script-table): Update for
1135         scripts added and codepoint ranges changed in Unicode 7.0.
1137 2014-06-23  Leo Liu  <sdl.web@gmail.com>
1139         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1140         tab-stop-list to nil.  (Bug#16381)
1142         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1143         (indent-rigidly-left-to-tab-stop)
1144         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1145         (move-to-tab-stop): Change callers.
1147 2014-06-22  Eli Zaretskii  <eliz@gnu.org>
1149         * skeleton.el (skeleton-insert): Yet another fix of the doc string
1150         wrt behavior of \n as the first/last element of a skeleton.
1152 2014-06-22  Michael Albinus  <michael.albinus@gmx.de>
1154         * net/tramp-adb.el (tramp-adb-handle-process-file):
1155         * net/tramp-sh.el (tramp-sh-handle-process-file):
1156         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1157         the output buffer when DISPLAY is non-nil.  (Bug#17815)
1159 2014-06-21  Glenn Morris  <rgm@gnu.org>
1161         * play/landmark.el (landmark-move-down, landmark-move-up):
1162         Fix 2007-10-20 change - preserve horizontal position.
1164 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1166         Fix completion retrieval parsing (bug#17209).
1167         * progmodes/python.el (python-mode):
1168         (python-util-strip-string): New function.
1169         (python-shell-completion-get-completions): Use it.
1171 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1173         * skeleton.el (skeleton-insert): Fix last change.
1175 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1177         Enhancements for outline integration (bug#17796).
1178         * progmodes/python.el (python-mode): Properly set
1179         outline-heading-end-regexp so that comments after colons for
1180         defuns are supported.
1182 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1184         * skeleton.el (skeleton-insert): Doc fix.
1186 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1188         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1189         (smie-config-guess): Use smie-config-local so the rules are obeyed
1190         (bug#17818).
1192         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1193         since it's already done inside the loop (bug#17819).
1195 2014-06-20  Martin Rudalics  <rudalics@gmx.at>
1197         * mouse.el (mouse-drag-line): Re-remove code initially removed
1198         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1199         (Bug#17819).
1201 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1203         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1204         align with the surrounding parent (bug#17721).
1206 2014-06-20  Eli Zaretskii  <eliz@gnu.org>
1208         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1209         locally to nil.
1210         (texinfo-insert-block, texinfo-insert-@end)
1211         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1212         local setting of skeleton-end-newline by adding an explicit \n to
1213         the skeletons where appropriate.  (Bug#17801)
1215 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1217         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1218         (smie-indent--hanging-p): Use it.
1219         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1221 2014-06-20  Leo Liu  <sdl.web@gmail.com>
1223         * simple.el (read-quoted-char): Don't let help chars pop up help
1224         buffer.  (Bug#16617)
1226 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1228         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1229         for | (bug#17621).
1231 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1233         * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1234         (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1235         burping.
1237 2014-06-18  Eli Zaretskii  <eliz@gnu.org>
1239         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1240         and later.  (Bug#17790)
1242 2014-06-18  Juri Linkov  <juri@jurta.org>
1244         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1245         to `soft'.  (Bug#17554)
1247 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1249         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1250         (bug#17737).
1252 2014-06-16  Dmitry Gutov  <dgutov@yandex.ru>
1254         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1255         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
1257 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
1259         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1260         `unread-command-events'.
1262 2014-06-14  Glenn Morris  <rgm@gnu.org>
1264         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
1265         Replace delete-duplicates and mapcan by cl- versions throughout.
1266         And cl-macroexpand-all by macroexpand-all.
1267         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1269 2014-06-14  Eli Zaretskii  <eliz@gnu.org>
1271         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
1273 2014-06-14  Juri Linkov  <juri@jurta.org>
1275         * bindings.el: Put `ascii-character' property on keypad keys
1276         mapped to characters.  (Bug#17759)
1278 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1280         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1281         bumping forward into a closing paren (bug#17761).
1283         * term/xterm.el (xterm--version-handler): Work around for OSX
1284         Terminal.app (bug#17607).
1286 2014-06-08  Glenn Morris  <rgm@gnu.org>
1288         * startup.el (initial-buffer-choice): Doc fix.
1289         Reset :version (adding an option does not merit a :version bump).
1291         * bookmark.el (bookmark-load):
1292         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1294 2014-06-06  Juri Linkov  <juri@jurta.org>
1296         * desktop.el: Activate auto-saving on window configuration changes.
1297         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1298         `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1299         (desktop-auto-save-set-timer): Change REPEAT arg of
1300         `run-with-idle-timer' from t to nil.
1301         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1303 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
1305         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1306         vc-hg-command (bug#17570).
1308 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1310         * international/mule-cmds.el (ucs-names): Add special entry for BEL
1311         (bug#17702).
1313 2014-06-06  Glenn Morris  <rgm@gnu.org>
1315         * startup.el (window-setup-hook): Doc fix.
1317 2014-06-05  Glenn Morris  <rgm@gnu.org>
1319         * emacs-lisp/package.el (package-check-signature)
1320         (package-unsigned-archives): Doc fixes.
1322 2014-06-03  Martin Rudalics  <rudalics@gmx.at>
1324         * window.el (display-buffer-use-some-window): Don't make window
1325         used smaller than it was before (Bug#17671).
1327 2014-06-03  Eli Zaretskii  <eliz@gnu.org>
1329         * menu-bar.el (menu-bar-open): Fix last change: use the PC
1330         'redisplay' instead of '(sit-for 0)'.
1332 2014-06-03  Michael Albinus  <michael.albinus@gmx.de>
1334         * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1335         regexp.  (Bug#17653)
1337 2014-06-03  Glenn Morris  <rgm@gnu.org>
1339         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1341 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
1343         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1345 2014-06-01  Eli Zaretskii  <eliz@gnu.org>
1347         * simple.el (keyboard-quit): Force update of mode lines, to remove
1348         the "Def" indicator, if we were defining a macro.  (Bug#17615)
1350 2014-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1352         * minibuffer.el (minibuffer-force-complete-and-exit):
1353         Obey minibuffer-default (bug#17545).
1355         * progmodes/js.el (js-indent-line): Don't mix columns and chars
1356         (bug#17619).
1358 2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1360         * subr.el (set-transient-map): Don't wait for some "nested"
1361         transient-map to finish if we're only supposed to be active for
1362         the next command (bug#17642).
1364 2014-05-31  Leo Liu  <sdl.web@gmail.com>
1366         * emacs-lisp/gv.el (window-buffer, window-display-table)
1367         (window-dedicated-p, window-hscroll, window-point, window-start):
1368         Fix gv-expander.  (Bug#17630)
1370 2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1372         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1373         clicks (bug#17633).
1375         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1376         for the single comma, since ", " is *very* common in normal French text
1377         (bug#17643).
1379 2014-05-30  Glenn Morris  <rgm@gnu.org>
1381         * emacs-lisp/package.el (package-check-signature)
1382         (package-unsigned-archives): Fix :version.
1384 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1386         * subr.el (sit-for): Don't run input-methods (bug#15614).
1388 2014-05-28  Glenn Morris  <rgm@gnu.org>
1390         * cus-start.el: Fix some :version numbers.
1392 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1394         * simple.el (deactivate-mark): Set mark-active to nil even if
1395         deactivation is done via setting transient-mark-mode to nil,
1396         since one is buffer-local and the other is global.
1398         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1399         there can't be more than 2 arguments (bug#17584).
1401 2014-05-27  Glenn Morris  <rgm@gnu.org>
1403         * simple.el (filter-buffer-substring-functions)
1404         (filter-buffer-substring-function, buffer-substring-filters)
1405         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1407         * minibuffer.el (completion-in-region-functions, completion-in-region)
1408         (completion--in-region): Doc fixes.
1410         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1411         (expand-abbrev, abbrev--default-expand): Doc fixes.
1413 2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
1415         Include sources used to create macuvs.h.
1416         * international/README: Refer to the Unicode Terms of Use rather
1417         than copying it bodily here, as that simplifies maintenance.
1419 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
1421         * cus-face.el (custom-face-attributes): Add :distant-foreground.
1423 2014-05-25  Martin Rudalics  <rudalics@gmx.at>
1425         * window.el (window--dump-frame): Remove interactive
1426         specification.
1428 2014-05-23  Glenn Morris  <rgm@gnu.org>
1430         * hippie-exp.el (he-line-search-regexp):
1431         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
1433 2014-05-23  Stephen Berman  <stephen.berman@gmx.net>
1435         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1436         to avoid errors when trying to create or visit a file foo.todo
1437         located outside to todo-directory, and to allow having such files
1438         without them being tied to Todo mode (bug#17482).
1439         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1440         (todo-archive-done-item, todo-find-filtered-items-file)
1441         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1442         (todo-category-completions, todo-read-category): When visiting a
1443         Todo file, make sure we're in the right mode and the buffer local
1444         variables are set.
1445         (todo-make-categories-list, todo-reset-nondiary-marker)
1446         (todo-reset-done-string, todo-reset-comment-string):
1447         After processing all Todo files, kill the buffers of those files that
1448         weren't being visited before the processing.
1449         (todo-display-as-todo-file, todo-add-to-buffer-list)
1450         (todo-visit-files-commands): Comment out.
1451         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1452         (auto-mode-alist): Remove add-to-list calls making Todo file
1453         extensions unrestrictedly tied to Todo modes.
1455 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1457         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1458         (advice-function-member-p): Tell it to check both names and functions
1459         (bug#17531).
1460         (advice--add-function): Adjust call accordingly.
1462 2014-05-23  Stephen Berman  <stephen.berman@gmx.net>
1464         * calendar/todo-mode.el: Miscellaneous bug fixes.
1465         (todo-delete-file): When deleting an archive but not its todo
1466         file, make sure to update the todo file's category sexp.
1467         (todo-move-category): Keep the moved category's name unless the
1468         file moved to already has a category with that name.  If the
1469         numerically last category of the source file was moved, make the
1470         first category current to avoid selecting a nonexisting category.
1471         (todo-merge-category): Fix implementation to make merging to a
1472         category in another file work as documented.  Eliminate now
1473         insufficient and unnecessary renaming of archive category, correct
1474         document string accordingly, and clarify it.  If the numerically
1475         last category of the source file was merged, make the first
1476         category current to avoid selecting a nonexisting category.
1477         (todo-archive-done-item): When there are marked items and point
1478         happens to be on an unmarked item, ignore the latter.  Don't leave
1479         point below last item after archiving marked items.
1480         (todo-unarchive-items): Fix logic to ensure unarchiving an item
1481         from an archive with only one category deletes the archive only
1482         when the category is empty after unarchiving.  Make sure the todo
1483         file's category sexp is updated.
1484         (todo-read-file-name): Allow an existing file name even when it is
1485         not required (todo-move-category needs this to work as documented).
1486         (todo-add-file): Call todo-validate-name to reject the name of an
1487         existing todo file (needed due to fix in todo-read-file-name).
1488         (todo-reset-nondiary-marker): Also reset in filtered items files.
1489         (todo-reset-done-string, todo-reset-comment-string): Also reset in
1490         regexp filtered items files.
1491         (todo-reset-highlight-item): Also reset in filtered items files.
1492         Fix incorrect variable reference in document string.
1494 2014-05-22  Glenn Morris  <rgm@gnu.org>
1496         * window.el (window--dump-frame): Avoid error in --without-x builds.
1498 2014-05-21  Glenn Morris  <rgm@gnu.org>
1500         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1502 2014-05-21  Eli Zaretskii  <eliz@gnu.org>
1504         * frame.el (set-frame-font): Doc fix.
1506         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
1508 2014-05-21  Dmitry Gutov  <dgutov@yandex.ru>
1510         * emacs-lisp/package.el (package--download-one-archive):
1511         Use `write-region' instead of `save-buffer' to avoid running various
1512         hooks.  (Bug#17155)
1513         (describe-package-1): Same.  Insert newline at the end of the
1514         buffer if appropriate.
1516 2014-05-20  Juri Linkov  <juri@jurta.org>
1518         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1519         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1520         Add more modifiers: meta, control, shift, hyper, super, alt.
1521         (Bug#17439)
1523         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1524         to allow changing its value with `set-variable'.
1526 2014-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1528         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1529         #; comments.
1530         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1531         New functions.
1532         (scheme-mode-variables): Set syntax-propertize-function instead of
1533         font-lock-syntactic-face-function.
1534         (scheme-font-lock-syntactic-face-function): Delete.
1536         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1538 2014-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1540         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1541         (bug#17392).
1543 2014-05-17  Michael Albinus  <michael.albinus@gmx.de>
1545         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1546         for a temporary file name.
1548 2014-05-17  Eli Zaretskii  <eliz@gnu.org>
1550         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
1552 2014-05-16  Michael Albinus  <michael.albinus@gmx.de>
1554         * net/dbus.el (dbus-init-bus, dbus-call-method)
1555         (dbus-call-method-asynchronously, dbus-send-signal)
1556         (dbus-method-return-internal, dbus-method-error-internal):
1557         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
1559 2014-05-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1561         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1562         methods which do not have a doc string.  (Bug#17490)
1564 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
1565             Stefan Monnier  <monnier@iro.umontreal.ca>
1567         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1568         suffix (bug#15419).
1570 2014-05-14  Glenn Morris  <rgm@gnu.org>
1572         * vc/emerge.el (emerge-temp-file-prefix):
1573         Make pointless option obsolete.
1574         (emerge-temp-file-mode): Make non-functional option obsolete.
1576 2014-05-13  Michael Albinus  <michael.albinus@gmx.de>
1578         * net/browse-url.el (browse-url):
1579         Use `unhandled-file-name-directory' when setting `default-directory',
1580         in order to circumvent stalled remote connections.  (Bug#17425)
1582 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1584         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1585         into autoloading just because of a silly indirection.
1587 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
1589         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
1591 2014-05-11  Glenn Morris  <rgm@gnu.org>
1593         * emacs-lisp/find-gc.el: Move to ../admin.
1595 2014-05-10  Glenn Morris  <rgm@gnu.org>
1597         * printing.el (pr-version):
1598         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1600         * net/browse-url.el (browse-url-mosaic):
1601         Create /tmp/Mosaic.PID as a private file.
1603 2014-05-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1605         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1606         (advice--member-p): If name is given, only compare the name.
1607         (advice--remove-function): Don't stop at the first match.
1608         (advice--normalize-place): New function.
1609         (add-function, remove-function): Use it.
1610         (advice--add-function): Pass the name, if any, to
1611         advice--remove-function.
1613 2014-05-09  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
1615         * electric.el (electric-indent-post-self-insert-function): Don't use
1616         `pos' after modifying the buffer (bug#17449).
1618 2014-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1620         * subr.el (function-put): Add function.
1622 2014-05-09  Stephen Berman  <stephen.berman@gmx.net>
1624         * calendar/todo-mode.el (todo-insert-item-from-calendar):
1625         Correct argument list to conform to todo-insert-item--basic.
1627 2014-05-09  Glenn Morris  <rgm@gnu.org>
1629         * files.el (cd-absolute): Test if directory is accessible
1630         rather than executable.  (Bug#17330)
1632         * progmodes/compile.el (recompile):
1633         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
1635 2014-05-08  Juri Linkov  <juri@jurta.org>
1637         * dired.el (dired-check-switches, dired-switches-recursive-p):
1638         New functions.  (Bug#17218)
1639         (dired-switches-escape-p, dired-move-to-end-of-filename):
1640         Use `dired-check-switches'.
1641         (dired-insert-old-subdirs, dired-build-subdir-alist)
1642         (dired-sort-R-check): Use `dired-switches-recursive-p'.
1644 2014-05-08  Glenn Morris  <rgm@gnu.org>
1646         * net/browse-url.el (browse-url-mosaic):
1647         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
1648         This is CVE-2014-3423.
1650 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1652         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1653         (xterm-mouse--read-event-sequence-1000): Return nil if something
1654         looks fishy.
1655         (xterm-mouse-event): Propagate it.
1656         (xterm-mouse-translate-1): Handle it.
1658 2014-05-07  Stephen Berman  <stephen.berman@gmx.net>
1660         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1661         four slots of the parameter list are filled, make sure to pass it
1662         to the argument list of todo-insert-item--basic.
1664 2014-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1666         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1667         Add optional `seen' argument to detect and break infinite loops.
1669 2014-05-06  Eli Zaretskii  <eliz@gnu.org>
1671         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1672         (trace-unsafe, trace-use-tree): Make parentheses style be
1673         according to Emacs style.
1675 2014-05-06  Michael Albinus  <michael.albinus@gmx.de>
1677         * net/tramp-sh.el (tramp-remote-process-environment):
1678         Remove HISTFILE and HISTSIZE; it's too late to set them here.
1679         Add :version entry.
1680         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1681         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
1682         extra "PSx=..." commands.
1683         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1684         (Bug#17295)
1686         (tramp-uudecode): Replace the hard-coded temporary file name by a
1687         format specifier.
1688         (tramp-remote-coding-commands): Enhance docstring.
1689         (tramp-find-inline-encoding): Replace "%t" by a temporary file
1690         name.  (Bug#17415)
1691         This is CVE-2014-3424.
1693 2014-05-06  Glenn Morris  <rgm@gnu.org>
1695         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1696         (find-gc-source-files): Update some names.
1697         (trace-call-tree): Simplify and update.
1698         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
1699         This is CVE-2014-3422.
1701 2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1703         * minibuffer.el (completion--try-word-completion): Revert fix for
1704         Bug#15980 (bug#17375).
1706         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1707         Always store button numbers in the same way in xterm-mouse-last;
1708         Don't burp is xterm-mouse-last is not set as expected.
1709         Never return negative indices.
1711 2014-05-05  Dmitry Gutov  <dgutov@yandex.ru>
1713         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1714         Backtrack one char if the global/char-literal var matcher hits
1715         inside a string.  The next char could be the beginning of an
1716         expression expansion.
1718 2014-05-05  Glenn Morris  <rgm@gnu.org>
1720         * help-fns.el (describe-function-1): Test for an autoload before a
1721         macro, since `macrop' works on autoloads.  (Bug#17410)
1723 2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1725         * electric.el (electric-indent-functions-without-reindent): Add yaml.
1727         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1728         Make sure the new point we return is within the new string (bug#17239).
1730 2014-05-03  Eli Zaretskii  <eliz@gnu.org>
1732         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1734 2014-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1736         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1737         Use nil rather than `default' for the "default" appearance (bug#17388).
1738         * vc/ediff-util.el (ediff-inferior-compare-regions)
1739         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1740         a misleading `default' value when it's really a boolean.
1741         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1742         overlay is not visible.
1744 2014-05-02  Stephen Berman  <stephen.berman@gmx.net>
1746         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1747         (todo-menu): Uncomment and update.
1749 2014-05-02  Stephen Berman  <stephen.berman@gmx.net>
1751         * calendar/todo-mode.el: Reimplement item editing to have the same
1752         basic user interface as item insertion, and make small UI and
1753         larger internal improvements to the latter.
1754         (todo-insert-item): Add reference to the Todo mode user manual to
1755         the documentation string.
1756         (todo-insert-item--basic): Rename from todo-basic-insert-item and
1757         adjust all callers.  Change signature to combine diary and
1758         nonmarking arguments.  Incorporate functionality of deleted item
1759         copying command and add error checking.  Remove detailed
1760         descriptions of the arguments from the documentation string, since
1761         this is treated in the Todo mode user manual.
1762         (todo-copy-item, todo-edit-multiline-item)
1763         (todo-edit-done-item-comment, todo-edit-item-header)
1764         (todo-edit-item-time, todo-edit-item-date-from-calendar)
1765         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1766         (todo-edit-item-date-year, todo-edit-item-date-month)
1767         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1768         Remove.
1769         (todo-edit-item): Reimplement as wrapper command for
1770         todo-edit-item--next-key and make it distinguish done and not done
1771         todo items.
1772         (todo-edit-item--text): New function, replacing old command
1773         todo-edit-item and incorporating deleted commands
1774         todo-edit-multiline-item and todo-edit-done-item-comment.
1775         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1776         Use only numeric value of prefix argument.  Remove detailed
1777         descriptions of the arguments from the documentation string, since
1778         this is treated in the Todo mode user manual.
1779         (todo-edit-item--diary-inclusion): New function, replacing old
1780         command todo-edit-item-diary-inclusion and incorporating and fixing
1781         functionality of deleted command todo-edit-item-diary-nonmarking,
1782         making sure to remove todo-nondiary-marker when adding
1783         diary-nonmarking-symbol.
1784         (todo-edit-category-diary-inclusion): Make sure to delete
1785         diary-nonmarking-symbol when adding todo-nondiary-marker.
1786         (todo-edit-category-diary-nonmarking): Fix indentation.
1787         (todo-insert-item--parameters): Group diary and nonmarking
1788         parameters together.
1789         (todo-insert-item--apply-args): Adjust to signature of
1790         todo-insert-item--basic and incorporate copy parameter.
1791         Make small code improvements.
1792         (todo-insert-item--next-param): Improve prompt and adjust it to
1793         new parameter grouping.  Remove obsolete code.
1794         (todo-edit-item--param-key-alist)
1795         (todo-edit-item--date-param-key-alist)
1796         (todo-edit-done-item--param-key-alist): New defconsts.
1797         (todo-edit-item--prompt): New variable.
1798         (todo-edit-item--next-key): New function.
1799         (todo-key-bindings-t): Bind "e" to todo-edit-item.
1800         Remove bindings of deleted commands.
1802 2014-05-02  Leo Liu  <sdl.web@gmail.com>
1804         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1806 2014-05-01  Glenn Morris  <rgm@gnu.org>
1808         * allout-widgets.el (allout-widgets-tally)
1809         (allout-decorate-item-guides):
1810         * menu-bar.el (menu-bar-positive-p):
1811         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1812         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1813         * progmodes/js.el (js--inside-param-list-p)
1814         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1815         * progmodes/prolog.el (region-exists-p):
1816         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1817         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1818         Doc fixes (replace `iff').
1820 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1822         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1824 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
1826         * dired.el (dired-initial-position-hook, dired-initial-position):
1827         Doc string fixes.
1829 2014-04-29  Glenn Morris  <rgm@gnu.org>
1831         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
1833 2014-04-27  Matthias Dahl  <matthias.dahl@binary-island.eu>
1835         * faces.el (face-spec-recalc): Apply X resources only after the
1836         defface spec has been applied. Thus, X resources are no longer
1837         overridden by the defface spec which also fixes issues on win32 where
1838         the toolbar coloring was wrong because it is set through X resources
1839         and was (wrongfully) overridden.  (Bug#16694)
1841 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1843         * textmodes/rst.el (electric-pair-pairs): Declare.
1844         (rst-mode): Set it (bug#17131).
1846 2014-04-27  Juri Linkov  <juri@jurta.org>
1848         * desktop.el (desktop-value-to-string): Let-bind `print-length'
1849         and `print-level' to nil.  (Bug#17351)
1851 2014-04-25  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1853         * battery.el (battery-update): Handle the case where battery
1854         status is "N/A" (bug#17319).
1856 2014-04-24  Eli Zaretskii  <eliz@gnu.org>
1858         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1859         Use equal-including-properties to compare help-echo strings (bug#17331).
1861 2014-04-24  Leo Liu  <sdl.web@gmail.com>
1863         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1864         Fix syntax for @.  (Bug#17325)
1866 2014-04-24  Daniel Colascione  <dancol@dancol.org>
1868         * emacs-lisp/cl.el (gv): Require gv early to break eager
1869         macro-expansion cycles.
1871 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1873         * simple.el (region-active-p): Check there's a mark (bug#17324).
1875         * simple.el (completion-list-mode-map): Use choose-completion for the
1876         mouse binding as well (bug#17302).
1877         (completion-list-mode, completion-setup-function): Adjust docstring and
1878         echo area message accordingly.
1879         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1880         calling convention of choose-completion.
1881         * comint.el (comint-dynamic-list-completions):
1882         * term.el (term-dynamic-list-completions): Accept choose-completion.
1884         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1885         &, |, +, - and * can't be a division (bug#17317).
1887 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1889         * term/xterm.el (xterm--version-handler): Don't use modern xterm
1890         features on gnome-terminal (bug#16988).
1892 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
1894         * dired.el (dired-insert-set-properties): Do not consider
1895         subdirectory headings and empty lines to be information that
1896         `dired-hide-details-mode' should hide.  (Bug#17228)
1898 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
1900         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1901         Remove test messages.
1902         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1903         and `target' twice.
1905 2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1907         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1908         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1910         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1912 2014-04-21  Michael Albinus  <michael.albinus@gmx.de>
1914         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1915         Set "IFS=" when using read builtin, in order to preserve spaces in
1916         the file name.  Add test messages for hunting a bug on hydra.
1917         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
1919 2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1921         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1922         Don't prettify a word within a symbol.
1924 2014-04-20  Michael Albinus  <michael.albinus@gmx.de>
1926         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1927         possible.
1929 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1931         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1932         assignments such as "case=hello" (bug#17297).
1934 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
1936         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1937         Do not autoload.
1938         (tramp-file-name-handler, tramp-completion-file-name-handler):
1939         Revert patch from 2014-04-10, it isn't necessary anymore.
1940         (tramp-autoload-file-name-handler)
1941         (tramp-register-autoload-file-name-handlers): New defuns.
1942         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1943         (tramp-register-file-name-handlers): Remove also
1944         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1945         Do not autoload its invocation, but eval it after loading of 'tramp.
1947         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1949         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1951 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1953         * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
1954         was done (bug#17264).
1955         * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
1956         comment to EOB.
1958         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1959         here-documents (bug#17262).
1961 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
1963         * term/pc-win.el (x-list-fonts, x-get-selection-value):
1964         Provide doc strings, as required by snarf-documentation.
1966 2014-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1968         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1969         arg of overlays-at.  Use `invisible-p'.
1971         * obsolete/lucid.el (extent-at):
1972         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1973         overlays-at.
1974         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1976 2014-04-14  João Távora  <joaotavora@gmail.com>
1978         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1979         links.  (Bug#17217).
1981 2014-04-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
1983         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1984         Use mapc to loop over a vector.  (Bug#17257).
1986 2014-04-13  Michael Albinus  <michael.albinus@gmx.de>
1988         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1989         patch, there are new problems with file names containing spaces.
1990         Get rid of backticks.  (Bug#17238)
1992 2014-04-13  João Távora  <joaotavora@gmail.com>
1994         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1995         possible bug.
1997 2014-04-13  Eli Zaretskii  <eliz@gnu.org>
1999         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2000         (blink-cursor-mode): Mention customization variables and the
2001         effect of 'blink-cursor-blinks'.
2003 2014-04-12  Barry O'Reilly  <gundaetiapo@gmail.com>
2005         * simple.el (undo): Prevent insertion of identity mapping into
2006         undo-equiv-table so as undo-only does not inf loop in the presence
2007         of consecutive nils in undo list.
2009 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
2011         * faces.el (make-face): Deprecate optional argument as it is no
2012         longer needed/used since the conditional X resources handling
2013         has been pushed down to make-face-x-resource-internal itself.
2014         (make-empty-face): Don't pass optional argument to make-face.
2016 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
2018         * international/characters.el <standard-case-table>: Add entries
2019         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
2020         Set category of Coptic characters be 'g' (Greek).
2022 2014-04-12  Leo Liu  <sdl.web@gmail.com>
2024         * progmodes/octave.el (completion-table-with-cache): Define if not
2025         available.
2026         (octave-goto-function-definition)
2027         (octave-sync-function-file-names)
2028         (octave-find-definition-default-filename): Backquote upattern for
2029         compatibility.
2031 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
2033         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2034         name twice due to backticks.  (Bug#17238)
2036 2014-04-11  Glenn Morris  <rgm@gnu.org>
2038         * term/w32-win.el (x-win-suspend-error):
2039         * term/x-win.el (x-win-suspend-error): Sync docs.
2041 2014-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2043         Ediff's overlay priorities cause more trouble than they solve.
2044         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2045         (ediff-highest-priority): Remove function (bug#17234).
2046         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2047         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2048         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2049         overlay priorities.
2051 2014-04-10  Feng Li  <fengli@gmail.com>  (tiny change)
2053         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2054         entry; use symbol boundaries to avoid mis-matches.
2056 2014-04-10  Michael Albinus  <michael.albinus@gmx.de>
2058         * net/tramp.el (tramp-file-name-handler)
2059         (tramp-completion-file-name-handler): Avoid recursive loading.
2061         * net/tramp-sh.el (tramp-make-copy-program-file-name):
2062         Quote result also locally.
2064 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
2066         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2067         Module methods.  (Bug#17216)
2069 2014-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2071         * help.el (describe-bindings): Fix buffer handling (bug#17210).
2072         (describe-bindings-internal): Mark obsolete.
2074 2014-04-07  João Távora  <joaotavora@gmail.com>
2076         * elec-pair.el:
2077         (electric-pair--syntax-ppss): When inside comments parse from
2078         comment beginning.
2079         (electric-pair--balance-info): Fix typo in comment.
2080         (electric-pair--in-unterminated-string-p): Delete.
2081         (electric-pair--unbalanced-strings-p): New function.
2082         (electric-pair-string-bound-function): New var.
2083         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2084         according to `electric-pair--in-unterminated-string-p'
2086 2014-04-07  João Távora  <joaotavora@gmail.com>
2088         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2089         Inhibit quote pairing if point-max is inside an unterminated string.
2090         (electric-pair--looking-at-unterminated-string-p): Delete.
2091         (electric-pair--in-unterminated-string-p): New function.
2093 2014-04-07  Glenn Morris  <rgm@gnu.org>
2095         * shell.el (shell-directory-tracker):
2096         Go back to just ignoring failures.  (Bug#17159)
2098 2014-04-06  João Távora  <joaotavora@gmail.com>
2100         Fix `electric-pair-delete-adjacent-pairs' in modes binding
2101         backspace. (bug#16981)
2102         * elec-pair.el (electric-pair-backward-delete-char): Delete.
2103         (electric-pair-backward-delete-char-untabify): Delete.
2104         (electric-pair-mode-map): Bind backspace to a menu item filtering
2105         a new `electric-pair-delete-pair' command.
2106         (electric-pair-delete-pair): New command.
2108 2014-04-06  João Távora  <joaotavora@gmail.com>
2110         * progmodes/python.el (python-electric-pair-string-delimiter):
2111         Fix triple-quoting electricity.  (Bug#17192)
2113 2014-04-06  João Távora  <joaotavora@gmail.com>
2115         * elec-pair.el (electric-pair-post-self-insert-function):
2116         Don't skip whitespace when `electric-pair-text-pairs' and
2117         `electric-pair-pairs' were used. syntax to
2118         electric-pair--skip-whitespace.  (Bug#17183)
2120 2014-04-06  Eli Zaretskii  <eliz@gnu.org>
2122         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2123         "<F>".  (Bug#17199)
2125 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2127         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2128         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2130 2014-04-05  Glenn Morris  <rgm@gnu.org>
2132         * help.el (view-lossage): Doc tweak.
2134 2014-04-05  Matthias Dahl  <matthias.dahl@binary-island.eu>
2136         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2137         only when inhibit-x-resources is nil, and do that earlier in the
2138         function.  Doc fix.  (Bug#16694)
2139         (face-spec-choose): Accept additional optional argument, whose
2140         value is returned if no matching attributes are found.
2141         (face-spec-recalc): Use the new optional argument when calling
2142         face-spec-choose.  (Bug#16378)
2143         (make-face-x-resource-internal): Do nothing when
2144         inhibit-x-resources is non-nil.  Don't touch the default face if
2145         reversed video is given--as was done in previous versions of Emacs.
2146         (face-set-after-frame-default): Don't call
2147         make-face-x-resource-internal here.  (Bug#16434)
2149 2014-04-04  Tassilo Horn  <tsdh@gnu.org>
2151         * doc-view.el (doc-view-bookmark-jump):
2152         Use `bookmark-after-jump-hook' to jump to the right page after the
2153         buffer is shown in a window.  (bug#16090)
2155 2014-04-04  Eli Zaretskii  <eliz@gnu.org>
2157         * international/characters.el (mirroring): Fix last change:
2158         instead of loading uni-mirrored.el explicitly, do that implicitly
2159         by creating the 'mirroring' uniprop table.  This avoids announcing
2160         the loading of uni-mirrored.el.
2162 2014-04-04  Glenn Morris  <rgm@gnu.org>
2164         * files.el (buffer-stale--default-function)
2165         (buffer-stale-function, revert-buffer--default):
2166         * autorevert.el (auto-revert-buffers): Doc tweaks.
2168 2014-04-03  Eli Zaretskii  <eliz@gnu.org>
2170         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
2172 2014-04-03  Glenn Morris  <rgm@gnu.org>
2174         * files.el (make-backup-file-name-function)
2175         (make-backup-file-name, make-backup-file-name--default-function)
2176         (make-backup-file-name-1, find-backup-file-name)
2177         (revert-buffer-function, revert-buffer-insert-file-contents-function)
2178         (buffer-stale--default-function, buffer-stale-function)
2179         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2180         (revert-buffer, revert-buffer--default)
2181         (revert-buffer-insert-file-contents--default-function):
2182         Doc fixes related to defaults no longer being nil.
2183         (make-backup-file-name-function): Bump :version.
2184         Restore nil as a valid but deprecated custom type.
2186 2014-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2188         * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2189         used as a variable (bug#17174).
2191 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2193         * progmodes/perl-mode.el (perl-indent-new-calculate):
2194         Handle forward-sexp failure (bug#16985).
2195         (perl-syntax-propertize-function): Add "foreach" and "for" statement
2196         modifiers introducing expressions (bug#17116).
2198 2014-04-02  Glenn Morris  <rgm@gnu.org>
2200         * menu-bar.el (menu-bar-file-menu):
2201         * vc/ediff.el (ediff-current-file):
2202         Update for revert-buffer-function no longer being nil by default.
2204         * simple.el (command-execute): Respect nil disabled-command-function.
2206 2014-04-01  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2208         * simple.el (command-execute): Do not execute the command when it
2209         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
2211 2014-03-29  Juri Linkov  <juri@jurta.org>
2213         * dired-aux.el (dired-compress-file): Don't use string-match-p
2214         because its match data is used afterwards.
2216 2014-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2218         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2219         0 like nil.
2221 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
2223         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2224         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
2226         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2227         Don't propertize `?' or `!' as symbol constituent when after
2228         colon.  (Bug#17097)
2230 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
2232         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2233         which is no longer needed and causes trouble in GTK builds (bug#17046).
2235         * emacs-lisp/package-x.el (package--archive-contents-from-url):
2236         Use url-insert-file-contents; package-handle-response no longer exists.
2238 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
2240         * emacs-lisp/package.el: Fix bug#16733 (again).
2241         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2242         (url-http-target-url): Remove unused declarations.
2243         (package-handle-response): Remove.
2244         (package--with-work-buffer): Use url-insert-file-contents and simplify.
2245         (package--download-one-archive): Use current-buffer instead of
2246         dynamic binding of `buffer'.
2247         (describe-package-1): Do not decode readme-string.
2249 2014-03-25  Barry O'Reilly  <gundaetiapo@gmail.com>
2251         * simple.el (primitive-undo): Correction to 2014-03-24 change.
2253 2014-03-25  Michael Albinus  <michael.albinus@gmx.de>
2255         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2257         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2258         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
2259         `remote-file-name-inhibit-cache' to nil in the second pass.
2260         (tramp-find-executable): Do not call "which" on SunOS.
2261         (tramp-send-command-and-check): Fix docstring.
2262         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2263         check whether source directory has set the sticky bit.
2265 2014-03-24  Barry O'Reilly  <gundaetiapo@gmail.com>
2267         * simple.el (primitive-undo): Only process marker adjustments
2268         validated against their corresponding (TEXT . POS).  Issue warning
2269         for lone marker adjustments in undo history.  (Bug#16818)
2270         (undo-make-selective-list): Add marker adjustments to selective
2271         undo list based on whether their corresponding (TEXT . POS) is in
2272         the region.  Remove variable adjusted-markers, which was unused
2273         and only non nil during undo-make-selective-list.
2274         (undo-elt-in-region): Return nil when passed a marker adjustment
2275         and explain in function doc.
2277 2014-03-24  Dmitry Gutov  <dgutov@yandex.ru>
2279         * emacs-lisp/package.el (package--add-to-archive-contents):
2280         Include already installed and built-in packages in
2281         `package-archive-contents'.
2282         (package-install): Don't include already installed packages in the
2283         options during interactive invocation.  (Bug#16762)
2285 2014-03-24  Daniel Colascione  <dancol@dancol.org>
2287         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2288         instead of cl-loop search function.
2290 2014-03-24  Juanma Barranquero  <lekktu@gmail.com>
2292         * frameset.el (frameset--initial-params): Fix typo in parameter name.
2294 2014-03-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2296         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2298 2014-03-24  Dmitry Gutov  <dgutov@yandex.ru>
2300         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2301         Match special global variables without curlies, too.
2302         (ruby-font-lock-keywords): Simplify the matcher for special global
2303         variables.  Don't require a non-word character after the variable.
2304         (Bug#17057)
2306 2014-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2308         * simple.el (redisplay-highlight-region-function): Increase priority of
2309         overlay to make sure boundaries are visible (bug#15899).
2311 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
2313         * frameset.el (frameset-restore): Compare display strings with equal.
2315         * frame.el (make-frame): Don't quote display name in error message,
2316         it is already a string.
2318 2014-03-23  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2320         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2321         the password.
2323 2014-03-23  Dmitry Gutov  <dgutov@yandex.ru>
2325         * emacs-lisp/package.el (package-show-package-list): If the buffer
2326         is already displayed in another window, switch to that window.
2328 2014-03-21  Daniel Colascione  <dancol@dancol.org>
2330         * mail/emacsbug.el (report-emacs-bug): Include memory usage
2331         information in bug reports.
2333 2014-03-23  Daniel Colascione  <dancol@dancol.org>
2335         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2336         list to look for keyword arguments instead of `memq', fixing
2337         (Bug#3647) --- unfortunately, only for freshly-compiled code.
2338         Please make bootstrap.
2340 2014-03-23  Richard Stallman  <rms@gnu.org>
2342         * battery.el (battery-linux-sysfs): Search for each field
2343         from the beginning of the buffer.
2345 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
2347         * emacs-lisp/package.el (package-desc): Use the contents of the
2348         quoted form, not its cdr.  (Bug#16873)
2350 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
2352         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2353         benefit of doc.c; change parameter profile to match the X function.
2355 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
2357         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2358         and `tramp-copy-env'.
2360         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2361         (tramp-maybe-open-connection): Handle `tramp-login-env'.
2363 2014-03-21  Glenn Morris  <rgm@gnu.org>
2365         * electric.el (electric-indent-post-self-insert-function): Add doc.
2367 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
2369         * emacs-lisp/package.el (package-compute-transaction):
2370         Use `version-list-<=' to compare the requirement version against
2371         the version of package already to be installed.  Update the error
2372         message.  (Bug#16826)
2374         * progmodes/ruby-mode.el (ruby-smie-rules):
2375         Add indentation rule for ` @ '.  (Bug#17050)
2377 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
2379         * align.el (align-regexp): Remove superfluous backslash.
2381         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2382         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2383         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2384         Fix docstring typos.
2385         (ffap-next): Use C-u in docstring.
2386         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2387         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2388         Remove superfluous backslashes.
2389         (ffap-string-at-point): Reflow docstring.
2391         * server.el (server-host): Reflow docstring.
2392         (server-unload-function): Fix docstring typo.
2393         (server-eval-at): Remove superfluous backslash.
2395         * skeleton.el (skeleton-insert): Remove superfluous backslash.
2396         (skeleton-insert): Doc fix.
2397         (skeleton-insert): Reflow docstring.
2399         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2400         (tty-color-approximate, tty-color-by-index, tty-color-values)
2401         (tty-color-desc): Remove superfluous backslashes.
2403 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2405         * electric.el (electric-newline-and-maybe-indent): New command.
2406         Bind it globally to C-j.
2407         (electric-indent-mode): Don't mess with the global map any more.
2408         Don't drop the post-self-insert-hook is some buffer is still using it
2409         (bug#16770).
2411         * bindings.el (global-map): Remove C-j binding.
2413         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2414         the docstring of functions advised before dumping (bug#16993).
2416 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
2418         * ps-print.el (ps-generate-postscript-with-faces):
2419         Explicitly deactivate the mark (bug#16866).
2420         * simple.el (deactivate-mark): Update region highlight.
2422 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
2424         * emacs-lisp/package.el (describe-package-1):
2425         Decode commentary (bug#16733).
2427 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
2429         * custom.el (defcustom): Doc fix: recommend avoiding destructive
2430         modification of the value argument of :set (bug#16755).
2432 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2434         * simple.el (newline-and-indent): Do autofill (bug#17031).
2436 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
2438         * newcomment.el (comment-normalize-vars): Only add escaping check
2439         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
2440         (comment-beginning): Use `narrow-to-region' instead of moving back
2441         one character.
2442         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2443         (comment-start-skip): Update the docstring.
2445 2014-03-18  Richard Stallman  <rms@gnu.org>
2447         * dired.el (dired-display-file): Force use of other window.
2449 2014-03-18  Daniel Colascione  <dancol@dancol.org>
2451         * startup.el (tty-handle-args): Remove debug message from 2007.
2453 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2455         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2456         (advice--make-interactive-form): Use it to avoid (auto)loading function.
2457         (advice--make-1, advice-add, advice-remove):
2458         Remove braindead :advice-pending hack.
2460 2014-03-17  Glenn Morris  <rgm@gnu.org>
2462         * calendar/calendar.el (calendar-generate-month): Apply weekend
2463         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
2465 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
2467         * net/tramp.el (tramp-action-out-of-band): Read pending output.
2468         (tramp-call-process): Trace also DESTINATION.
2470         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2471         Quote file names when they are local.  Remove superfluous trace.
2473 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
2475         * newcomment.el (comment-beginning): If `comment-start-skip'
2476         doesn't match, move back one char and try again.  (Bug#16971)
2478         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2479         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2480         Set `comment-start-skip' to a simpler value that doesn't try to
2481         check if the semicolon is escaped (this is handled by
2482         `syntax-ppss' now).  (Bug#16971)
2484         * progmodes/scheme.el (scheme-mode-variables): Same.
2486 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
2488         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2489         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2490         current (Bug#16816, Bug#17007).
2491         (with-current-buffer-window): New macro doing the same as
2492         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2493         * help.el (help-print-return-message): Warn in doc-string to not
2494         use this in `with-help-window'.
2495         (describe-bindings-internal): Call `describe-buffer-bindings'
2496         from within help buffer.  See Juanma's scenario in (Bug#16816).
2497         (with-help-window): Update doc-string.
2498         * dired.el (dired-mark-pop-up):
2499         * files.el (save-buffers-kill-emacs):
2500         * register.el (register-preview): Use `with-current-buffer-window'
2501         instead of `with-temp-buffer-window'.
2503 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
2505         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2506         Implement inserting into current buffer, documented in their docstrings.
2507         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2508         (rst-section-tree-point, rst-forward-section, rst-indent)
2509         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2510         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2511         (rst-font-lock-handle-adornment-pre-match-form)
2512         (rst-repeat-last-character): Reflow docstrings.
2513         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2514         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2515         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2516         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2517         Fix docstring typos.
2518         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2519         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2520         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2522 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
2524         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2525         for compatibility with other ports.
2526         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
2527         from the -xrm command line argument, but in the Nextstep port its value
2528         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2530         * progmodes/python.el (defconst, python-syntax-count-quotes)
2531         (python-indent-region, python-indent-shift-right)
2532         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2533         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2534         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2535         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2536         (inferior-python-mode, python-shell-make-comint, run-python-internal)
2537         (python-shell-buffer-substring, python-shell-send-buffer)
2538         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2539         (python-completion-complete-at-point, python-fill-docstring-style)
2540         (python-eldoc-function, python-imenu-format-item-label)
2541         (python-imenu-format-parent-item-label)
2542         (python-imenu-format-parent-item-jump-label)
2543         (python-imenu--build-tree, python-imenu-create-index)
2544         (python-imenu-create-flat-index): Fix docstring typos.
2545         (python-indent-context, python-shell-prompt-regexp, run-python):
2546         Remove superfluous backslashes.
2547         (python-indent-line, python-nav-beginning-of-defun)
2548         (python-shell-get-buffer, python-shell-get-process)
2549         (python-info-current-defun, python-info-current-line-comment-p)
2550         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2551         (python-indent-post-self-insert-function, python-shell-send-file)
2552         (python-shell-completion-get-completions)
2553         (python-shell-completion-complete-or-indent)
2554         (python-eldoc--get-doc-at-point): Reflow docstrings.
2556 2014-03-14  Glenn Morris  <rgm@gnu.org>
2558         * emacs-lisp/package.el (package-menu-mode-map):
2559         Replace use of obsolete function alias.  Tweak menu item text.
2561         * info.el (Info-finder-find-node):
2562         Ignore the `emacs' metapackage.  (Bug#10813)
2564         * finder.el (finder-list-matches): Include unversioned packages
2565         in the result of a keyword search.
2567         * finder.el (finder--builtins-descriptions): New constant.
2568         (finder-compile-keywords): Use finder--builtins-descriptions.
2570 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
2572         * simple.el (blink-matching-paren): Describe the new value,
2573         `jump', enabling the old behavior.
2574         (blink-matching-open): Use that value.  (Bug#17008)
2576 2014-03-14  Glenn Morris  <rgm@gnu.org>
2578         * finder.el (finder-no-scan-regexp): Add leim-list.
2579         (finder-compile-keywords):
2580         Don't skip files with same basename.  (Bug#14010)
2581         * Makefile.in (setwins_finder): New, excluding leim.
2582         (finder-data): Use setwins_finder.
2584         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2585         (help-function-arglist, help-make-usage): Move from here...
2586         * help.el (help-split-fundoc, help-add-fundoc-usage)
2587         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
2588         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2590 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
2592         * net/socks.el (socks, socks-override-functions)
2593         (socks-find-services-entry):
2594         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2595         (hif-find-ifdef-block):
2596         * progmodes/modula2.el (m2-indent): Fix docstring typos.
2598         * net/tls.el (tls-program): Reflow docstring.
2600         * progmodes/pascal.el (pascal-mode-abbrev-table)
2601         (pascal-imenu-generic-expression, pascal-auto-endcomments)
2602         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2603         (pascal-outline-mode): Fix docstring typos.
2604         (pascal-mode): Let define-derived-mode document mode hook.
2605         (pascal-uncomment-area): Reflow.
2606         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2608         * progmodes/opascal.el (opascal-compound-block-indent)
2609         (opascal-case-label-indent): Fix docstring typos.
2610         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2612 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
2614         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2615         Fontify multiple adjacent negation chars.  (Bug#17004)
2617 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
2619         * emacs-lisp/package.el (package--prepare-dependencies):
2620         Accept requirements without explicit version (bug#14941).
2622 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
2624         * register.el (register-separator, copy-to-register): Doc fixes.
2625         (register-preview-default): Remove unnecessary call to concat.
2627         * frameset.el (frameset-restore): When checking for a visible frame,
2628         use the action map instead of calling visible-frame-list.
2630 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
2632         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2634 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
2636         * window.el (fit-frame-to-buffer): Get maximum width from
2637         display's width instead of height.
2639 2014-03-12  Glenn Morris  <rgm@gnu.org>
2641         * desktop.el (desktop-restore-frames)
2642         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2643         (desktop-restore-reuses-frames): Doc tweaks.
2645         * electric.el (electric-indent-mode): Doc fix.
2647 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
2649         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2650         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2651         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2652         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2653         (cvs-dired-use-hook): Fix docstring typos.
2654         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2655         Doc fixes.
2657         * vc/pcvs-defs.el (cvs-auto-remove-handled)
2658         (cvs-auto-remove-directories, cvs-default-ignore-marks)
2659         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2660         (cvs-execute-single-dir): Fix docstring typos.
2662         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2663         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2665         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2667         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2668         Fix docstring typos.
2670 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
2672         * frameset.el (frameset--jump-to-register): Add autoload; it could be
2673         called from jump-to-register after unloading the frameset package.
2675 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2677         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2678         (bug#16975).  Deactivate the mark before setting it to nil.
2679         (activate-mark): Do nothing if region is already active.
2681 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
2683         * frameset.el (frameset--target-display): Remove definition; declare.
2684         (frameset-save, frameset-restore): Let-bind frameset--target-display.
2686 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2688         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2689         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2690         when the advice is pending.
2691         (advice-remove): Remove this marker when not needed any more.
2693 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
2695         * frameset.el: Separate options for reusing frames and cleaning up.
2696         (frameset--reuse-list): Remove definition; declare.
2697         (frameset--action-map): Declare.
2698         (frameset--find-frame-if): Doc fix.
2699         (frameset--restore-frame): Cache frame action.
2700         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2701         how to clean up the frame list after restoring.  Remove cleaning
2702         options from REUSE-FRAMES.  Change all keyword values to symbols.
2703         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2705         * desktop.el (desktop-restore-forces-onscreen)
2706         (desktop-restore-reuses-frames): Use non-keyword values.
2707         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2709 2014-03-10  Glenn Morris  <rgm@gnu.org>
2711         * files.el (find-file): Doc fix: update info node name.
2713         * emacs-lisp/advice.el (ad-add-advice, defadvice):
2714         Doc fix: remove references to deleted info nodes.
2716 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
2718         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2719         Do not add `nil' to the environment, when there's no remote `locale'.
2720         (tramp-find-inline-encoding): Check, that the remote host has
2721         installed perl, before sending scripts.
2723 2014-03-10  Leo Liu  <sdl.web@gmail.com>
2725         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2726         Clear eldoc-last-message.  (Bug#16920)
2728 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2730         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2731         (bug#14430).
2733 2014-03-09  Juri Linkov  <juri@jurta.org>
2735         * ansi-color.el (ansi-color-names-vector): Copy default colors
2736         from `xterm-standard-colors' that look well on the default white
2737         background (and also on the black background) to avoid illegible
2738         color combinations like yellow-on-white and white-on-white.
2739         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2741 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
2743         * frameset.el (frameset-restore): When no frame is visible, do not
2744         generate a list of frames, just make visible the selected one.
2746 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
2748         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2749         it only contains the repository root.  (Bug#16897)
2751 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
2753         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2754         only when `remote-file-name-inhibit-cache' is nil.
2755         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
2757 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
2759         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2760         Fix doc-strings.
2761         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
2762         fit-frame-to-buffer variable.  Fix doc-string.
2763         (fit-window-to-buffer): Set ONLY argument in call of
2764         fit-frame-to-buffer.  Fix doc-string.
2766 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
2768         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2769         (tramp-action-password): Clear password cache if needed.
2770         (tramp-read-passwd): Do not clear password cache.
2772         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2773         cache unless it is the first password request.
2775 2014-03-06  Glenn Morris  <rgm@gnu.org>
2777         * simple.el (newline): Doc tweak.
2779         * emacs-lisp/shadow.el (load-path-shadows-find):
2780         Ignore dir-locals.  (Bug#12357)
2782 2014-03-05  Glenn Morris  <rgm@gnu.org>
2784         * files.el (interpreter-mode-alist):
2785         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
2787 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
2789         * frameset.el (frameset--initial-params): Filter out null entries.
2791 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
2793         * window.el (window-min-height, window-min-width):
2794         Rewrite doc-strings.
2795         (window-body-size): Add PIXELWISE argument to make it consistent
2796         with its callees.
2798 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
2800         * finder.el (finder-mode-map, finder-mode-syntax-table):
2801         Revert part of 2014-02-28 change.
2803 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
2805         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2806         (eww-setup-buffer): Clear next/prev/etc more reliably.
2807         (eww-textarea-map): [tab] doesn't work on tty.
2808         Reported by Mario Lang.
2810         * net/shr.el (shr-map): Ditto.
2812 2014-03-04  Glenn Morris  <rgm@gnu.org>
2814         * minibuffer.el (completion-hilit-commonality):
2815         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2817 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
2819         * hilit-chg.el (hilit-chg-unload-function): New function.
2820         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2821         (hilit-chg-map-changes): Prefer cardinal number to digit.
2822         (hilit-chg-display-changes): Reflow docstring.
2823         (highlight-changes-rotate-faces): Remove superfluous backslash.
2825 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
2827         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2828         `tramp-send-command-and-check'.
2830 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
2832         * hexl.el (hexl-address-region, hexl-ascii-region)
2833         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2834         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2835         (hexl-forward-word, hexl-previous-line, hexl-next-line):
2836         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2837         (hexl-mode): Doc fix.
2838         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2839         (hexl-mode-ruler): Fix typos in docstrings.
2841         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2842         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2843         Remove superfluous backslashes.
2844         (strokes-last-stroke, strokes-global-map, strokes-mode):
2845         Reflow docstrings.
2846         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2847         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2848         (strokes-distance-squared, strokes-global-set-stroke)
2849         (strokes-global-set-stroke-string): Doc fixes.
2850         (strokes-help): Fix typos; reflow docstring.
2852 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
2854         * window.el (window-in-direction): Fix doc-string.
2856 2014-03-04  Glenn Morris  <rgm@gnu.org>
2858         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2859         Explicit error if no grammar.
2860         (smie-config-save): Doc fix.  Fix quote typo.
2862 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2864         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2865         electric-indent-mode-hook if we obey electric-indent-mode.
2866         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2867         decide whether we obey electric-indent-mode.
2868         (c-change-set-fl-decl-start, c-extend-after-change-region):
2869         Silence warnings.
2870         (c-electric-indent-mode-hook): Assume we do want to obey
2871         electric-indent-mode.
2873         * electric.el (electric-indent-mode-has-been-called): Remove.
2874         (electric-indent-mode): Fix accordingly.
2876         * files.el (hack-local-variables): Mention file name in warning.
2878         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2880 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
2882         * bindings.el: Add comment describing why C-d binds to `delete-char'.
2883         * simple.el (delete-forward-char): Mark as interactive-only.
2885 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
2887         * icomplete.el (icomplete-completions):
2888         Follow-up to 2014-03-01 change.
2890         * icomplete.el: Miscellaneous doc fixes.
2891         Use Icomplete everywhere instead of icomplete for consistency.
2892         (icomplete-max-delay-chars): Fix typo.
2893         (icomplete-mode): Use \[].
2894         (icomplete-tidy, icomplete-exhibit): Reflow.
2895         (icomplete-minibuffer-setup-hook, icomplete-completions):
2896         Remove superfluous backlashes.
2898         * ido.el: Miscellaneous doc fixes.
2899         Use Ido everywhere instead of ido or `ido' for consistency.
2900         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2901         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2902         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2903         (ido-separator): Extract obsolescence info from docstring and declare
2904         with make-obsolete-variable.
2905         (ido-minibuffer-setup-hook): Simplify example.
2906         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2907         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2908         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2909         (ido-everywhere): Reflow docstring.
2910         (ido-toggle-vc): Doc fix.
2911         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2912         of long list of keybindings.
2914 2014-03-03  Glenn Morris  <rgm@gnu.org>
2916         * frame.el (display-pixel-height, display-pixel-width)
2917         (display-mm-dimensions-alist, display-mm-height)
2918         (display-mm-width): Doc tweaks.
2920 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
2922         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2923         case of undo in region.
2925 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
2927         * window.el (fit-window-to-buffer): Fix argument in window-size
2928         call when window is horizontally combined.
2930 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
2932         * icomplete.el (icomplete-completions): Use string-width.
2933         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2935 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
2937         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2938         Highlight regexp options.  (Bug#16914)
2940 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
2942         * window.el (window--max-delta-1): Round down when calculating
2943         how many lines/columns we can get from a window.
2945 2014-03-01  Glenn Morris  <rgm@gnu.org>
2947         * isearch.el (search-invisible): Doc fix.
2949         * minibuffer.el (completion-hilit-commonality):
2950         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
2951         * comint.el (comint-dynamic-list-completions): Doc fix.
2952         * comint.el (comint-dynamic-list-completions):
2953         * filecache.el (file-cache-minibuffer-complete):
2954         * tempo.el (tempo-display-completions):
2955         * eshell/em-hist.el (eshell-list-history):
2956         Replace use of obsolete argument of display-completion-list.
2958 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
2960         * icomplete.el (icomplete-completions):
2961         Revert back to using "..." when ?… cannot be displayed.
2963 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
2965         * finder.el (finder-unload-function): New function.
2967 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
2969         * dframe.el (dframe-detach):
2970         * find-dired.el (find-dired, find-name-dired):
2971         * finder.el (finder-mode-map, finder-mode-syntax-table)
2972         (finder-headmark, finder-select, finder-mouse-select):
2973         Fix docstring typos.
2975 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
2977         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2978         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2979         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2980         Fix doc-string based on a suggestion by Nicolas Richard
2981         <theonewiththeevillook@yahoo.fr>.
2982         * help.el (with-help-window): Fix doc-string.
2984 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
2986         * net/shr.el (shr-image-animate): New option.
2987         (shr-put-image): Respect shr-image-animate.
2989 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
2991         * net/tramp-adb.el (tramp-adb-parse-device-names):
2992         Use `accept-process-output'.
2993         (tramp-adb-handle-file-truename): Cache the localname only.
2994         (tramp-adb-handle-make-directory)
2995         (tramp-adb-handle-delete-directory): Flush file properties correctly.
2996         (tramp-adb-handle-set-file-modes): Do not raise an error when file
2997         modes cannot be changed.
2999         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3000         file properties of symlinks.
3002 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
3004         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3005         required/optional fields to match development biblatex.  (Bug#16781)
3007 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
3009         * saveplace.el (toggle-save-place):
3010         Fix argument handling.  (Bug#16673)
3012 2014-02-28  Glenn Morris  <rgm@gnu.org>
3014         * minibuffer.el (completions-first-difference)
3015         (completions-common-part, completion-hilit-commonality): Doc fixes.
3017 2014-02-28  Karl Berry  <karl@gnu.org>
3019         * info.el (Info-mode-map): Add H for describe-mode,
3020         to synchronize with standalone Info.
3022 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
3024         * progmodes/sql.el (sql-interactive-mode):
3025         Avoid setting global comint-input-ring-separator.  (Bug#16814)
3027 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
3029         * net/dbus.el (dbus--init-bus): Declare function.
3030         (dbus-path-local, dbus-interface-local): New defconst.
3031         (dbus-init-bus): Use them.
3032         (dbus-return-values-table): Extend doc.
3033         (dbus-handle-bus-disconnect): Extend error message.
3035 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
3037         * subr.el (y-or-n-p): Fix double space issue in message.
3039 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
3041         * net/tramp.el (tramp-call-process): Improve trace message.
3042         (tramp-handle-insert-file-contents): Trace error case.
3044         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3045         <insert-directory>: Use `tramp-handle-insert-directory'.
3046         (tramp-adb-handle-insert-directory): Remove function.
3047         (tramp-adb-send-command-and-check): New defun, replacing
3048         `tramp-adb-command-exit-status'.  Change all callees.
3049         (tramp-adb-handle-file-attributes)
3050         (tramp-adb-handle-directory-files-and-attributes): Use it.
3051         (tramp-adb-ls-output-name-less-p):
3052         Use `directory-listing-before-filename-regexp'.
3053         (tramp-adb-handle-delete-directory): Flush also file properties of
3054         the truename of directory.
3055         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3056         (tramp-adb-handle-file-local-copy): Make the local copy readable.
3057         (tramp-adb-handle-write-region): Implement APPEND.
3058         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
3059         properties correctly.
3060         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3061         variables.  Check for connected devices only when needed.
3063 2014-02-27  Glenn Morris  <rgm@gnu.org>
3065         * minibuffer.el (completion-table-dynamic)
3066         (completion-table-with-cache): Doc fixes.
3068         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3069         (completing-read-multiple): Doc fixes.
3071 2014-02-27  Daniel Colascione  <dancol@dancol.org>
3073         * minibuffer.el (completion--nth-completion): Fix indentation.
3075         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3076         explicit tramp path is empty.
3078 2014-02-27  Glenn Morris  <rgm@gnu.org>
3080         * emacs-lisp/crm.el (completing-read-multiple):
3081         Empower help-enable-auto-load.
3083 2014-02-26  Glenn Morris  <rgm@gnu.org>
3085         * startup.el (command-line): Don't init the tty in daemon mode.
3087         Avoid calling tty-setup-hook twice, eg if a term file
3088         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
3089         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3090         (tty-create-frame-with-faces): Use it.
3091         * startup.el (command-line): Pass run-hook argument
3092         to tty-run-terminal-initialization.
3094         * dired.el (dired-restore-desktop-buffer): Demote errors;
3095         eg in case a glob match fails.  (Bug#16884)
3097 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
3099         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3100         error from `read-from-string'.  (Bug#16850)
3102         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3103         result of `completing-read' in the interactive form.  (Bug#16854)
3105 2014-02-25  Glenn Morris  <rgm@gnu.org>
3107         * image.el (image-animate, image-animate-timeout):
3108         Stop animating images in dead buffers.  (Bug#16878)
3110         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
3112         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3113         Doc fixes.
3114         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
3115         * term/sun.el (sun-raw-prefix-hooks):
3116         Use tty-setup-hook instead of term-setup-hook.
3117         (terminal-init-sun): Construct message from bytecomp plist.
3118         * term/wyse50.el (enable-arrow-keys): Doc fix.
3120 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
3122         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3123         Fix docstring typos.
3125 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
3127         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3129 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3131         * minibuffer.el (completion--try-word-completion):
3132         Fix error when completing M-x commands (bug#16808).
3134 2014-02-24  Leo Liu  <sdl.web@gmail.com>
3136         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3138 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
3140         * apropos.el (apropos-print): Avoid formatting error when
3141         apropos-do-all and apropos-compact-layout are both t.
3143 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
3145         * apropos.el (apropos-property, apropos-all-words-regexp)
3146         (apropos-true-hit, apropos-variable, apropos-print):
3147         Fix docstring typos, and remove obsolete comment.
3149 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
3151         * net/tramp-sh.el (tramp-sh-handle-file-truename):
3152         Preserve trailing "/".  (Bug#16851)
3154 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
3156         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3157         after `=>' (bug#16811).
3158         (ruby-smie-rules): Handle the inconsistent second element of the
3159         list returned by `smie-indent--parent'.
3160         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3161         method call.
3163 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
3165         * elec-pair.el (electric-pair-text-syntax-table)
3166         (electric-pair-syntax-info, electric-pair--syntax-ppss)
3167         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3168         (electric-pair--looking-at-unterminated-string-p): Doc fix.
3169         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
3171 2014-02-22  Glenn Morris  <rgm@gnu.org>
3173         * imenu.el (imenu--generic-function): Doc fix.
3175         * register.el (frame-configuration-to-register): Make obsolete.
3177 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
3179         * desktop.el (desktop-save-buffer-p): Do not fail when
3180         desktop-files-not-to-save is nil.  Return t for true result
3181         as the doc says.
3183 2014-02-22  Daniel Colascione  <dancol@dancol.org>
3185         * net/secrets.el (secrets-create-item, secrets-search-items):
3186         Check that attribute values are strings, avoiding the construction
3187         of invalid dbus messages.
3189 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
3191         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3192         defun-declarations-alist.
3194 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3196         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3197         (bug#16829).
3199 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
3201         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3202         (whitespace-newline, whitespace-trailing, whitespace-line)
3203         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3204         (whitespace-space-after-tab): Fix typo in docstrings.
3206 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
3208         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3210         * electric.el (electric-indent-functions-without-reindent):
3211         Add `yaml-indent-line'.
3213 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
3215         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3216         It has done nothing for years; should be removed after the release.
3218         * simple.el (choose-completion): Fix docstring typo.
3219         (read-quoted-char-radix): Remove unneeded * in docstring.
3220         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3221         Don't escape parentheses unnecessarily in docstrings.
3223 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
3225         Fix handling of window-min-height/-width (Bug#16738).
3226         * window.el (window--dump-window, window--dump-frame):
3227         New functions.
3228         (window--min-size-1): Account for window dividers.
3229         When window-resize-pixelwise is nil, delay rounding till after the
3230         sum of the window components has been calculated.
3231         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3232         nil make sure at least one text line and two text columns remain
3233         fully visible.
3234         (window-resize): Signal an error when window-resize-apply fails.
3235         (window--resize-child-windows): Fix calculation of by how many
3236         pixels a window can still be shrunk via window-new-normal.
3237         (adjust-window-trailing-edge): Call window--resizable with
3238         correct TRAIL argument.
3240         (with-temp-buffer-window): Don't evaluate BODY within
3241         with-current-buffer (Bug#16816).
3243 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
3245         * net/tramp.el (tramp-check-cached-permissions):
3246         Call `file-attributes' with `suffix' being a symbol but a string.
3248 2014-02-21  Daniel Colascione  <dancol@dancol.org>
3250         * net/dbus.el (dbus-init-bus-1): Declare new subr.
3251         (dbus-init-bus): New function: call into dbus-init-bus-1
3252         and installs a handler for the disconnect signal.
3253         (dbus-call-method): Rewrite to look for result in cons.
3254         (dbus-call-method-handler): Store result in cons.
3255         (dbus-check-event): Recognize events with nil sender as valid.
3256         (dbus-handle-bus-disconnect): New function.  React to bus
3257         disconnection signal by synthesizing dbus error for each
3258         pending synchronous or asynchronous call.
3259         (dbus-notice-synchronous-call-errors): New function.
3260         (dbus-handle-event): Raise errors directly only when `dbus-debug'
3261         is true, not all the time.
3263 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
3265         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3266         Remove obsolescence declarations, these variables do not exist anymore.
3268         * savehist.el (savehist-save-minibuffer-history)
3269         (savehist-additional-variables, savehist-file, savehist-mode-hook)
3270         (savehist-save-hook, savehist-coding-system, savehist-loaded)
3271         (savehist-load, savehist-install, savehist-autosave): Fix typos;
3272         mostly, refer to "Savehist mode" when talking about the mode,
3273         and not the function.
3275         * saveplace.el (save-place): Remove redundant info in docstring.
3276         (save-place-forget-unreadable-files, toggle-save-place)
3277         (save-place-forget-unreadable-files, save-place-dired-hook):
3278         Fix typos and remove unneeded backslashes.
3280 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
3282         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3283         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3285         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3286         <insert-directory>: Use `tramp-handle-insert-directory'.
3287         (tramp-gvfs-handle-insert-directory): Remove function.
3289         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3290         Call `tramp-handle-insert-directory'.
3292 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
3294         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3295         before the start of buffer/region (bug#16799).
3297 2014-02-20  Glenn Morris  <rgm@gnu.org>
3299         * isearch.el (search-invisible): Doc fix.
3301 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
3303         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3304         (bug#16657).
3306 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
3308         * frameset.el (frameset-restore): Delay removing an old frame's
3309         duplicate id until the new frame has been correctly created.
3311 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
3313         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3314         (tramp-check-cached-permissions): Call `file-attributes' if the
3315         cache is empty.
3317         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3318         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3320         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3321         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3322         (tramp-gvfs-maybe-open-connection): Set always connection
3323         properties, even if target is mounted already.
3325         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3326         Set tramp-autoload cookie.
3327         (tramp-get-remote-touch): New defun.
3328         (tramp-sh-handle-set-file-times): Use it.
3329         (tramp-sh-handle-directory-files-and-attributes):
3330         Use `tramp-handle-directory-files-and-attributes' if neither stat
3331         nor perl are available on the remote host.
3333         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3334         "/".  Write long listing only when "l" belongs to the switches.
3336         * net/trampver.el: Update release number.
3338 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
3340         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3342 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
3344         * window.el (window-state-put): Allow WINDOW to refer to an
3345         internal window (Bug#16793).
3347 2014-02-19  Glenn Morris  <rgm@gnu.org>
3349         * textmodes/remember.el: Move provide statement to end.
3350         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3351         (remember-notes): Doc fixes.
3353 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3355         * delsel.el (delete-char): Restore incorrectly erased property
3356         (bug#16795).
3358 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
3360         * frameset.el (frameset--restore-frame): When a frame is being reused
3361         and its root window is not alive, delete all the frame's windows before
3362         restoring the window state.  This works around the issue in bug#16793.
3364 2014-02-18  Glenn Morris  <rgm@gnu.org>
3366         * textmodes/remember.el (remember-data-directory)
3367         (remember-directory-file-name-format, remember-store-in-files)
3368         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3369         (remember-notes-save-and-bury-buffer)
3370         (remember-notes--kill-buffer-query): Doc fixes.
3372         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3374 2014-02-17  Alan Mackenzie  <acm@muc.de>
3376         Connect electric-indent-mode up with CC Mode.  Bug #15478.
3377         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3378         to electric-indent-{,local-}-mode.
3379         (c-basic-common-init): Set electric-indent-inhibit.
3380         Initialise c-electric-flag from electric-indent-mode.
3381         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3382         New hook functions which propagate electric-indent-mode to CC mode.
3384         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3385         hit, toggle electric-indent-local-mode.
3387         * electric.el (electric-indent-mode-has-been-called):
3388         New variable.
3390 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
3392         * frameset.el (frameset-cfg-id): New function.
3393         (frameset--reuse-frame, frameset-restore): Use it.
3394         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3396 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3398         * ido.el (ido-file-internal): Remove unused var `d'.
3399         Use \` for to match BoS.  Fit within 80n columns.
3401 2014-02-17  Daniel Colascione  <dancol@dancol.org>
3403         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3404         dbus-call-method check for completion using a busy-wait loop with
3405         gradual backoff.
3407 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
3409         Sync with Tramp 2.2.9.
3411         * net/trampver.el: Update release number.
3413 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
3415         * ido.el (ido-file-internal): Don't add the name of an existing
3416         directory twice.  (Bug#16747)
3418 2014-02-16  Glenn Morris  <rgm@gnu.org>
3420         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3421         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
3423 2014-02-15  Michael R. Mauger  <michael@mauger.com>
3425         * progmodes/sql.el: Version 3.4
3426         (sql-oracle-options): New default value ("-L").
3427         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3428         (sql-placeholders-filter): Correct placeholder pattern.
3429         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
3430         (sql-login-delay): New variable.
3431         (sql-product-interactive): Use it.
3433 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
3435         * frameset.el (frameset--jump-to-register): Check that buffer is live
3436         (bug#16749).
3438 2014-02-15  Glenn Morris  <rgm@gnu.org>
3440         * info.el (info-initialize): Revert 2014-01-10 change.
3442 2014-02-14  Glenn Morris  <rgm@gnu.org>
3444         * replace.el (map-query-replace-regexp)
3445         (read-regexp-defaults-function, read-regexp): Doc fixes.
3447         * dired.el (dired-read-regexp):
3448         * faces.el (list-faces-display):
3449         * misearch.el (multi-isearch-read-matching-buffers)
3450         (multi-isearch-read-matching-files):
3451         * play/cookie1.el (cookie-apropos):
3452         * progmodes/grep.el (grep-read-regexp): Doc fixes.
3454         * textmodes/remember.el (remember): Use frameset-to-register
3455         rather than frame-configuration-to-register.
3457 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
3459         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3460         incorrect keybinding.
3462 2014-02-13  Daniel Colascione  <dancol@dancol.org>
3464         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3465         when adding overlays so that line numbers from compiler match line
3466         numbers we use.
3468 2014-02-13  Glenn Morris  <rgm@gnu.org>
3470         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
3472         * jit-lock.el (jit-lock-mode): Doc fix.
3474 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
3476         * apropos.el (apropos-read-pattern): When the user passes an empty
3477         string, give a more helpful error message than "Wrong type
3478         argument: stringp, nil".
3480 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3482         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3484 2014-02-13  Glenn Morris  <rgm@gnu.org>
3486         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3488 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3490         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3491         shift-select commands.
3493 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
3495         * progmodes/js.el (js-indent-line): Don't widen.
3496         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3498 2014-02-12  Glenn Morris  <rgm@gnu.org>
3500         * icomplete.el (icomplete): Add info-link to defgroup.
3501         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3502         (icomplete-minibuffer-map, icomplete-mode)
3503         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3505         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3506         (package-menu-filter): Rename from package-menu-filter-interactive.
3507         Doc fix.
3509 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
3511         * frameset.el (frameset--jump-to-register): Select the required
3512         window and buffer before restoring position (bug#16696).
3514 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
3516         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3518 2014-02-10  Glenn Morris  <rgm@gnu.org>
3520         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
3522 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
3524         * w32-common-fns.el (x-get-selection): Doc fix.
3525         * select.el (x-get-selection): Doc fix.  (Bug#15109)
3527         * face-remap.el (face-remap-add-relative)
3528         (face-remap-remove-relative, face-remap-reset-base)
3529         (face-remap-set-base): Call force-mode-line-update to redisplay
3530         the current buffer due to potential change in faces.  (Bug#16709)
3532 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
3534         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3535         script more robustly.
3537 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
3539         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3541         * simple.el (choose-completion): Doc fix (bug#14160).
3543         * subr.el (event-start): Say what a nil EVENT value means.
3545         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3546         (bug#14197).
3548         * progmodes/grep.el (find-program): Doc fix (bug#14289).
3550         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3552         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3554         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3555         predicate function (bug#15455).
3557 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
3559         * ielm.el (inferior-emacs-lisp-mode): Instead of
3560         `comment-use-global-state', set `comment-use-syntax'.
3562 2014-02-10  Glenn Morris  <rgm@gnu.org>
3564         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3566 2014-02-09  Alan Mackenzie  <acm@muc.de>
3568         Fix c-invalidate-state-cache on narrowed buffers.
3569         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3570         Widen when setting and clearing the CPP delimiter properties.
3572 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
3574         * help.el (describe-bindings): Doc fix (bug#9888).
3576         * files.el (save-buffer): Use ARG as the parameter name for
3577         consistency (bug#10346).
3578         (save-buffer): Clarify the 0 argument (bug#10346).
3580         * cus-edit.el (customize-apropos): Fix error string.
3581         (custom-buffer-create): Doc fix (bug#11122).
3582         (custom-sort-items): Doc fix (bug#11121).
3584         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3586         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3587         (icomplete-simple-completing-p): Mention the previous variable.
3589         * font-lock.el (font-lock-value-in-major-mode): Clarify the
3590         meaning of the parameter (bug#12282).
3592         * files.el (find-file-noselect): Clarify prompt when changing
3593         readedness (bug#13261).
3594         (locate-file): Suffixes aren't returned, so don't say that they
3595         are (bug#12674).
3596         (backup-inhibited): Doc clarification (bug#12525).
3598         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3599         before we actually start to delete things (bug#16331).
3601         * subr.el (event-start): Doc fix (bug#14228).
3602         (event-end): Ditto.
3604 2014-02-09  Glenn Morris  <rgm@gnu.org>
3606         * emacs-lisp/warnings.el (lwarn):
3607         Empower help-enable-auto-load.  (Bug#15940)
3609 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
3611         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3612         (Bug#16690)
3614 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
3616         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3617         Insert output at end of buffer.  (Bug#16120)
3619 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
3621         * simple.el (choose-completion-string-functions): Document new
3622         calling convention (bug#14153).
3623         (execute-extended-command): Clarify doc string (bug#13373).
3625         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3627         * find-dired.el (find-name-dired): Doc fix (bug#14290).
3628         (find-grep-dired): Doc fix (bug#14288).
3630 2014-02-08  Juri Linkov  <juri@jurta.org>
3632         * isearch.el (isearch-quote-char): Check character validity
3633         like in `quoted-insert' (bug#16677).
3635 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
3637         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3639         * isearch.el (isearch-hide-immediately): Doc clarification
3640         (bug#14723).
3642         * simple.el (line-move): Document utility function used many
3643         places in the Emacs sources (bug#14843).
3645         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3646         (dired-prev-marked-file): Doc fix (bug#14855).
3647         (dired-up-directory): Doc fix (bug#14848).
3649         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3651         * files.el (file-relative-name): Doc fix (bug#15159).
3653         * fringe.el (fringe-styles): Doc fix (bug#15239).
3655         * isearch.el (isearch-filter-predicate): Documentation typo fix
3656         (bug#15474).
3658         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3660         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3662         * replace.el (replace-match-maybe-edit): Doc clarification
3663         (bug#15632).
3665         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3667         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3669 2014-02-08  Glenn Morris  <rgm@gnu.org>
3671         * help-fns.el (describe-variable):
3672         Check {file,dir}-local-variables-alist, and buffer-file-name,
3673         in the correct buffer.
3675 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
3677         * help-fns.el (describe-variable): Fix the case where
3678         a value is directory-local with no dir-locals file.  (Bug#16635)
3680 2014-02-08  Glenn Morris  <rgm@gnu.org>
3682         * abbrev.el (edit-abbrevs-mode):
3683         Derive from fundamental-mode.  (Bug#16682)
3685 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
3687         * simple.el (quoted-insert): Check character validity (bug#16677).
3689 2014-02-07  Juri Linkov  <juri@jurta.org>
3691         * desktop.el (desktop-read): Claim the lock when the owner is not
3692         the current process.  (Bug#16157)
3694 2014-02-07  Juri Linkov  <juri@jurta.org>
3696         * desktop.el (desktop-buffers-not-to-save): Change default from nil
3697         to "\\` ".  (Bug#16651)
3699 2014-02-07  Juri Linkov  <juri@jurta.org>
3701         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3702         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3703         (desktop-auto-save-cancel-timer): New function with some code from
3704         `desktop-auto-save-set-timer'.
3705         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3706         Instead of setting `desktop-save-mode' to nil, call
3707         `desktop-save-mode' with arg 0.  (Bug#16630)
3709 2014-02-07  Glenn Morris  <rgm@gnu.org>
3711         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3712         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3713         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3715         * obsolete/iswitchb.el: Move to obsolete/.
3716         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3717         since obsolete/ is not scanned for autoloads.
3718         * emacs-lisp/authors.el (authors-valid-file-names):
3719         Add iswitchb.el.
3721         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3722         Disable now non-functional find-file-hook.
3724 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
3726         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3727         instead of ";" in order to avoid additional prompts.  Let heredoc
3728         scripts read from tty.  (Bug#16582)
3729         (tramp-send-command): No special handling of heredocs, it isn't
3730         necessary anymore.
3732 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3734         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3735         with a space (bug#16664).  Limit the symbols considered to the ones
3736         that are bound or fbound (bug#16646).
3738 2014-02-06  Glenn Morris  <rgm@gnu.org>
3740         * epa.el (epa-mail-aliases): Doc fix.
3742 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
3744         * emacs-lisp/lisp.el (lisp-completion-at-point):
3745         Use `completion-table-merge' instead of `completion-table-in-turn'
3746         (bug#16604).
3748         * minibuffer.el (completion-table-merge): New function.
3750 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
3752         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3753         (tramp-sh-handle-set-file-acl)
3754         (tramp-sh-handle-start-file-process)
3755         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3756         (tramp-find-executable, tramp-send-command): Use it.
3758 2014-02-05  Glenn Morris  <rgm@gnu.org>
3760         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
3762 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3764         * progmodes/python.el (python-shell-send-string)
3765         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3767 2014-02-04  Anders Lindgren  <andlind@gmail.com>
3769         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3770         the names (bug#16620).
3772 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
3774         * faces.el (window-divider): New default value.  Rewrite doc-string.
3775         (window-divider-first-pixel, window-divider-last-pixel): New faces.
3777 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
3779         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3780         `protected' and `public' can also be called without arguments.
3782 2014-02-03  Glenn Morris  <rgm@gnu.org>
3784         * register.el (window-configuration-to-register)
3785         (frame-configuration-to-register): Unadvertise unused argument.
3786         * frameset.el (frameset-to-register): Remove unused argument.
3788         * frameset.el (frameset-to-register):
3789         * kmacro.el (kmacro-to-register):
3790         * register.el (increment-register):
3791         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3792         (calc-append-to-register, calc-prepend-to-register):
3793         * play/gametree.el (gametree-layout-to-register)
3794         (gametree-apply-register-layout):
3795         * textmodes/picture.el (picture-clear-rectangle-to-register)
3796         (picture-yank-rectangle-from-register):
3797         * vc/emerge.el (emerge-combine-versions-register):
3798         Use register-read-with-preview to read registers.
3800 2014-02-03  João Távora  <joaotavora@gmail.com>
3802         * elec-pair.el (electric-pair-backward-delete-char): Don't error
3803         when at beginning of (possibly narrowed) buffer.
3805 2014-02-02  Daniel Colascione  <dancol@dancol.org>
3807         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3808         Also try to display local help from just before point.
3810 2014-02-02  Alan Mackenzie  <bug-cc-mode@gnu.org>
3812         c-parse-state.  Don't "append-lower-brace-pair" in certain
3813         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
3814         recognised as a comment.
3816         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3817         as well as normal comment starter.
3818         (c-parse-state-get-strategy): Extra return possibility
3819         'back-and-forward.
3820         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3821         return value list to indicate replacement of a brace-pair cons
3822         with its car.
3823         (c-parse-state-1): With 'back-and-forward, only call
3824         c-append-lower-brace-pair-to state-cache when cons-separated.
3826 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
3828         * term/ns-win.el (ns-suspend-error): New function.
3829         (ns-initialize-window-system): Add ns-suspend-error to
3830         suspend-hook (Bug#16612).
3832 2014-02-02  Daniel Colascione  <dancol@dancol.org>
3834         * progmodes/cc-defs.el (c-find-assignment-for-mode):
3835         Make loading cc-mode silent.
3837 2014-02-02  Daniel Colascione  <dancol@dancol.org>
3839         * comint.el (comint-prompt-read-only): Change doc to suggest
3840         remap keybinding.
3842 2014-02-02  Glenn Morris  <rgm@gnu.org>
3844         * register.el (register-read-with-preview, point-to-register)
3845         (window-configuration-to-register, frame-configuration-to-register)
3846         (jump-to-register, number-to-register, view-register, insert-register)
3847         (copy-to-register, append-to-register, prepend-to-register)
3848         (copy-rectangle-to-register): Doc fixes.
3850 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3852         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3853         * emacs-lisp/find-func.el (find-function-C-source): Idem.
3854         * emacs-lisp/nadvice.el (advice--cd*r): New function.
3855         * help-fns.el (describe-function-1): Use it.
3857 2014-02-02  Glenn Morris  <rgm@gnu.org>
3859         * register.el (register-preview-default): New function,
3860         split from register-preview.
3861         (register-preview-function): Rename from register-preview-functions,
3862         make it not a hook.
3863         (register-preview): Use register-preview-function.
3864         (register-read-with-preview): Error on non-character event.  (Bug#16595)
3866 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
3868         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3869         `:' before binary operators (bug#16609).  Don't check for `:'
3870         before `[' and `(', or their syntax status.  A percent literal
3871         can't end with either.
3872         (ruby-font-lock-keywords): For built-ins that require arguments,
3873         check that they're followed by something that looks like argument
3874         (bug#16610).
3876 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
3878         * subr.el (butlast): Document what an omitted N means (bug#13437).
3879         (nbutlast): Ditto.
3881 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
3883         * net/shr.el (shr-generic): Make into a defsubst to make the stack
3884         depth shallower (bug#16587).
3885         (shr-tag-svg): Respect `shr-inhibit-images'.
3886         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3888 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
3890         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3891         (ruby-smie-grammar): Make "." right-associative.  Make its priority
3892         lower than the ternary and all binary operators.
3893         (ruby-smie-rules): Indent "(" relative to the first non-"."
3894         parent, or the first "." parent at indentation.
3895         Use `ruby-align-chained-calls' for indentation of "." tokens.
3896         (Bug#16593)
3898 2014-01-31  Juri Linkov  <juri@jurta.org>
3900         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3901         from `make-hash-table'.
3903         * textmodes/ispell.el (ispell-init-process): Change message format
3904         to be consistent with other messages.
3906 2014-01-31  Glenn Morris  <rgm@gnu.org>
3908         * delsel.el (delete-selection-mode): Doc fix.
3910         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3911         (trace-function-background): Doc fixes.
3913         * ido.el (ido-use-virtual-buffers): Doc fix.
3914         Reset :version, since the default value has not changed.
3916         * register.el (register-preview-delay, register-read-with-preview):
3917         Doc fixes.
3919         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3920         do not mess with mail-buffer position (fixes 2009-11-03 change).
3921         * progmodes/cc-mode.el (c-submit-bug-report):
3922         Check auto-fill-mode is bound.  (Bug#16592)
3924 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
3926         * startup.el (fancy-splash-image-file): New function,
3927         split from fancy-splash-head.
3928         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3929         so that we are both using the same image.  (Bug#16574)
3931 2014-01-30  Glenn Morris  <rgm@gnu.org>
3933         * simple.el (eval-expression): Doc fix.
3935         * hexl.el (hexl-mode-hook):
3936         * ielm.el (ielm-mode-hook):
3937         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3938         (lisp-interaction-mode-hook):
3939         * progmodes/cfengine.el (cfengine3-documentation-function):
3940         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3942 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3944         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3945         is a symbol (bug#16584).
3947 2014-01-30  Glenn Morris  <rgm@gnu.org>
3949         * help.el (help-for-help-internal): Add "P" to text.
3951 2014-01-29  Glenn Morris  <rgm@gnu.org>
3953         * simple.el (just-one-space, cycle-spacing): Doc fixes.
3955 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
3957         * window.el (fit-frame-to-buffer): Fix calculations for margins and
3958         height constraints.
3960 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
3962         * progmodes/hideif.el: Extend to full CPP expression syntax.
3963         (hif-token-alist): Add missing tokens.
3964         (hif-token-regexp): Add support for float/octal/hex immediates.
3965         (hif-string-literal-regexp): New const.
3966         (hif-tokenize): Recognize strings and float/octal/hex immediates.
3967         (hif-exprlist): New function.
3968         (hif-parse-if-exp): Use it.
3969         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3970         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3971         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3972         (hif-logxor, hif-comma): New functions.
3974 2014-01-28  Glenn Morris  <rgm@gnu.org>
3976         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3978         * indent.el (tab-stop-list): Doc fix.  Add :version.
3980         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3981         (cvs-append-to-ignore): Add compatibility alias.
3983 2014-01-27  Glenn Morris  <rgm@gnu.org>
3985         * dired.el (dired-hide-details-mode): Don't autoload it,
3986         since it cannot be used outside Dired buffers anyway.
3988         * emulation/cua-base.el (cua-mode): Doc fix.
3990         * dired.el (dired-hide-details-hide-symlink-targets)
3991         (dired-hide-details-hide-information-lines)
3992         (dired-hide-details-mode): Doc fixes.
3994         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3995         * strokes.el (strokes-file): Doc fix.  Bump :version.
3996         (strokes-help): Doc fix.
3997         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3998         * emulation/viper.el (viper): Doc fix for custom group.
3999         (top-level): Remove oh-so-no-longer-relevant text about vip.
4000         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4002         * ido.el (ido-save-directory-list-file):
4003         * saveplace.el (save-place-file):
4004         * calendar/timeclock.el (timeclock-file):
4005         * net/quickurl.el (quickurl-url-file):
4006         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4007         * progmodes/idlwave.el (idlwave-config-directory):
4008         * textmodes/remember.el (remember-data-file):
4009         Bump :version.
4011 2014-01-26  Glenn Morris  <rgm@gnu.org>
4013         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4014         Doc fix.  Make obsolete.
4015         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4017         * sort.el (delete-duplicate-lines): Doc fix.
4019 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4021         * progmodes/ada-mode.el (ada):
4022         * woman.el (woman): Link to info manual and Commentary section.
4024         * progmodes/flymake.el (flymake):
4025         * nxml/nxml-mode.el (nxml):
4026         * net/eww.el (eww):
4027         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4028         * htmlfontify.el (htmlfontify):
4029         * ses.el (ses):
4030         * epa.el (epa):
4031         * ido.el (ido): Link to info manual.
4033 2014-01-25  Leo Liu  <sdl.web@gmail.com>
4035         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4037 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
4039         * net/shr.el (shr-tag-img): Prefer the title over the alt text
4040         (bug#16537).
4042 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
4044         * net/eww.el (eww-download-callback):
4045         Fix reference to eww-download-directory.
4047         * emacs-lisp/bytecomp.el (byte-compile-file):
4048         Remove unused local variable `file-name'.
4050 2014-01-24  Glenn Morris  <rgm@gnu.org>
4052         * woman.el (woman-default-faces, woman-monochrome-faces):
4053         Fix obsolescence specification.
4055         * subr.el (with-demoted-errors): Doc fix.
4057 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4059         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4060         (cl--macroexp-fboundp): New function.
4061         (cl--make-type-test): Use it.
4063 2014-01-23  Glenn Morris  <rgm@gnu.org>
4065         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4066         * simple.el (eval-expression): Doc fixes.
4068 2014-01-22  Glenn Morris  <rgm@gnu.org>
4070         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4072 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4074         * emacs-lisp/package.el: Write files silently.
4075         (package-autoload-ensure-default-file, package--write-file-no-coding)
4076         (package-generate-description-file, package--download-one-archive)
4077         (package-install-from-archive): Tell `write-region' to stay quiet.
4078         (package-menu-mode, package-menu--print-info): Omit the Archive column
4079         if there's only one archive.
4080         (package-all-keywords, package--has-keyword-p): Remove dead code.
4082 2014-01-22  Glenn Morris  <rgm@gnu.org>
4084         * version.el (emacs-bzr-version-bzr): Fix typo.
4086         * version.el (emacs-repository-get-version):
4087         Check either .bzr or .git, but not both.
4088         Make the git case actually use the DIR argument, and return nil
4089         rather than the empty string.
4090         Avoid error if .git exists but the git executable is not found.
4092 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
4094         Fixes in window size functions around Bug#16430 and Bug#16470.
4095         * window.el (window-total-size, window-size): New argument ROUND.
4096         (window--min-delta-1, window-min-delta, window--max-delta-1):
4097         Be more conservative when calculating the numbers of lines or
4098         columns a window can shrink (Bug#16430).
4099         (fit-window-to-buffer): Simplify code.
4100         * term.el (term-window-width): Call window-body-width again.
4102 2014-01-22  Glenn Morris  <rgm@gnu.org>
4104         * image.el (image-format-suffixes): Doc fix.
4106         * international/quail.el (quail-define-package): Doc fix.
4108         * emacs-lisp/authors.el (authors-valid-file-names)
4109         (authors-renamed-files-alist): Additions.
4111         * vc/vc-git.el (vc-git-print-log): Remove --follow;
4112         reverts 2014-01-09 change.  (Bug#16422)
4114         * calc/calc-embed.el (thing-at-point-looking-at):
4115         * emacs-lisp/map-ynp.el (x-popup-dialog):
4116         * obsolete/lmenu.el (x-popup-dialog):
4117         * emacs-lisp/package.el (url-recreate-url):
4118         * mail/mailclient.el (clipboard-kill-ring-save):
4119         * subr.el (x-popup-dialog): Update declaration.
4120         * mail/rmail.el (rmail-mime-message-p):
4121         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4123 2014-01-21  Daniel Colascione  <dancol@dancol.org>
4125         * progmodes/sh-script.el (sh--inside-noncommand-expression):
4126         Correctly detect when we're inside an arithmetic expansion form
4127         containing nested parenthesis.
4128         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4129         to detect cases where we shouldn't expand "<<" to a heredoc
4130         skeleton.
4132 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4134         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4135         (eldoc--message-command-p): New function.
4136         (eldoc-display-message-p): Use it.
4137         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4138         message is not automatically erased for us.
4139         (eldoc-print-current-symbol-info): Erase previous message, if any.
4141 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
4143         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4144         specify it's an interactive function.
4146         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4147         Fix regex used for scanning for citation keys which failed for
4148         citations with optional arguments.
4150 2014-01-21  Leo Liu  <sdl.web@gmail.com>
4152         * simple.el (read--expression): Don't enable eldoc-mode.
4154 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4156         * simple.el (move-beginning-of-line): Make sure we don't move forward
4157         (bug#16497).
4159 2014-01-20  Juri Linkov  <juri@jurta.org>
4161         * saveplace.el (toggle-save-place, save-place-to-alist)
4162         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4163         'dired-mode) before checking for dired-directory.  (Bug#16477)
4165 2014-01-20  Juri Linkov  <juri@jurta.org>
4167         * indent.el (indent-line-to): Use backward-to-indentation
4168         instead of back-to-indentation.  (Bug#16461)
4170 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
4172         Revert some of the CANNOT_DUMP fix (Bug#16494).
4173         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4174         but fixing this can wait until after the next release.
4175         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4177 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
4179         * eshell/esh-mode.el (eshell-password-prompt-regexp):
4180         Use `password-word-equivalents'.
4181         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4182         to t.  (Bug#5664, Bug#13124)
4184 2014-01-19  Alan Mackenzie  <acm@muc.de>
4186         Bind open-paren-in-column-0-is-defun-start to nil at some entry
4187         points.
4188         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4189         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4190         * progmodes/cc-mode.el (c-before-change, c-after-change)
4191         (c-font-lock-fontify-region): Bind it here.
4193 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
4195         * term.el (term-window-width): Call window-text-width instead of
4196         window-width (Bug#16470).
4198 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
4200         * simple.el (password-word-equivalents): Remove duplicates.
4201         Sort, to make this easier next time.
4202         Downcase.  Omit ": " after "jelszó".
4204 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
4206         * term/common-win.el (saved-region-selection): Defvar it.
4207         (x-select-text): Set saved-region-selection (Bug#16382).
4209 2014-01-18  Glenn Morris  <rgm@gnu.org>
4211         * emacs-lisp/authors.el (authors-aliases)
4212         (authors-renamed-files-alist): Add some entries.
4214 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
4216         * net/tramp.el (tramp-password-prompt-regexp):
4217         Use `password-word-equivalents' if available.
4218         (tramp-action-password, tramp-process-one-action)
4219         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
4221 2014-01-17  Chong Yidong  <cyd@gnu.org>
4223         * simple.el (password-word-equivalents): New defcustom.
4224         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
4225         to 24.4.
4226         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4227         to t.  (Bug#13124)
4229 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
4231         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4232         (ruby-align-to-stmt-keywords): Change the default value.
4233         Use `ruby-alignable-keywords' to generate the possible customization
4234         choices.
4235         (ruby-smie-rules): Instead of using a hardcoded list of alignable
4236         keywords, check against the value of `ruby-alignable-keywords'
4237         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4239 2014-01-17  Glenn Morris  <rgm@gnu.org>
4241         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4243         Make M-x authors return zero *Authors Errors* from current logs.
4244         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4245         (authors-ignored-files): Add some entries, remove others.
4246         (authors-ambiguous-files, authors-valid-file-names):
4247         Add some entries.
4248         (authors-renamed-files-alist): Add, remove, and adjust entries.
4249         (authors-renamed-files-regexps): Add some entries.
4250         Remove some very broad ones.  Make some entries `lax'.
4251         (authors-lax-changelogs): New constant.
4252         (authors-disambiguate-file-name): Treat top-level specially.
4253         (authors-lax-changelog-p): New function.
4254         (authors-canonical-file-name): Check file as written against
4255         authors-valid-file-names.  Do not special-case etc/.
4256         Handle `lax' logs and authors-renamed-files-regexps elements.
4258 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
4260         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4261         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
4262         callers.
4264 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4266         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4267         Assume we're already in the proper buffer.
4268         Inspired by Anders Lindgren <andlind@gmail.com>.
4269         (follow-post-command-hook): Call it from the right buffer.
4270         (follow-comint-scroll-to-bottom): Adjust call.
4271         (follow-all-followers): Use get-buffer-window-list.
4273 2014-01-15  Daniel Colascione  <dancol@dancol.org>
4275         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4276         `buffer-file-name' in interactive-form so that we don't leave
4277         pathless file names in `file-name-history'.
4279 2014-01-15  Juri Linkov  <juri@jurta.org>
4281         * indent.el (indent-rigidly): Set deactivate-mark to nil
4282         in transient indentation mode.  (Bug#16438)
4284 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
4286         * emacs-lisp/package.el (package-desc-keywords): New function
4287         (Bug#16222).
4288         (describe-package-1, package-all-keywords)
4289         (package--has-keyword-p): Use it.
4291 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4293         * simple.el (define-alternatives): When creating the
4294         COMMAND-alternatives variable, assign COMMAND as its definition
4295         name so that `describe-variable' can relocate it.
4297 2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)
4299         * font-lock.el (font-lock-keywords): Fix typo in docstring
4300         (bug#16307).
4302 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4304         * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4305         line instead of wrongly reset `add-coment' (bug#13577).
4307 2014-01-14  Daiki Ueno  <ueno@gnu.org>
4309         * epa-file.el (epa-file-write-region): Encode the region according
4310         to `buffer-file-format'.  Problem reported at:
4311         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4313 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4315         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4316         so it applies in the right buffer (bug#16410).
4318 2014-01-13  Daniel Colascione  <dancol@dancol.org>
4320         * textmodes/rst.el (rst-define-key): Provide deprecated
4321         keybindings through named functions instead of anonymous ones so
4322         that "??" doesn't appear in describe-mode output.
4324 2014-01-13  Bastien Guerry  <bzg@gnu.org>
4326         * simple.el (define-alternatives): Call the selected command
4327         interactively.  When setting `COMMAND--implementation' for the
4328         first time, tell the user how to chose another implementation.
4329         Enhance the docstring.
4331 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4333         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4334         (log-edit--match-first-line): New function.
4335         (log-edit-font-lock-keywords): Use it.
4336         (log-edit-mode): Make jit-lock-defer-multiline work.
4338 2014-01-13  Bastien Guerry  <bzg@gnu.org>
4340         * rect.el (rectangle-mark-mode): When the region is not active,
4341         display a message saying that the mark as been set and that
4342         rectangle mode is in use.
4343         (rectangle--highlight-for-redisplay): Only put an overlay with a
4344         visible vertical bar when (display-graphic-p) is non-nil.
4345         This partially fixes Bug#16403.
4347 2014-01-13  Juri Linkov  <juri@jurta.org>
4349         * info.el (Info-find-file): Go to DIR before displaying the error
4350         about a nonexistent file if no previous Info file is visited.
4351         Use `user-error' instead of `error' for "Info file %s does not exist".
4352         (Info-find-node-2): In case of a nonexistent node in unwind forms
4353         go to the Top node if there is no previous node to revert to.
4354         (Bug#16405)
4356 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
4358         fit-frame/window-to-buffer code fixes including one for Bug#14096.
4359         * window.el (fit-frame-to-buffer): Fix doc-string.
4360         Respect window-min-height/-width.  Fit pixelwise when
4361         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
4362         when avoiding that frame goes partially off-screen.
4363         (fit-window-to-buffer): Respect window-min-height/-width
4364         (Bug#14096).
4366 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4368         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4369         after an empty line.
4371 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4373         * net/shr.el (shr-render-region): Autoload.
4375 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
4377         * net/eww.el (eww-download-directory): Rename from
4378         `eww-download-path' (Bug#16419).
4380 2014-01-12  Leo Liu  <sdl.web@gmail.com>
4382         * dired-x.el (dired-mode-map): Fix last change.
4384         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4386 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
4388         Spelling fixes.
4389         * emacs-lisp/generic.el (generic--normalize-comments):
4390         Rename from generic--normalise-comments.  All uses changed.
4391         * play/bubbles.el (bubbles--neighborhood-score)
4392         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4393         (bubbles--neighborhood-available)
4394         (bubbles--update-neighborhood-score):
4395         Rename from names with 'neighbourhood'.  All uses changed.
4397 2014-01-12  Leo Liu  <sdl.web@gmail.com>
4399         Re-implement the feature of showing eldoc info after editing.
4400         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4401         (eldoc-edit-message-commands): New function.
4402         (eldoc-print-after-edit): New variable.
4403         (eldoc-pre-command-refresh-echo-area): Emit message only by
4404         eldoc-message-commands.
4405         (eldoc-mode): Restrict eldoc-message-commands to editing commands
4406         if eldoc-print-after-edit is set.  (Bug#16346)
4407         * simple.el (read--expression): Enable eldoc-mode.
4408         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4410 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
4411             Eric S. Raymond  <esr@thyrsus.com>
4413         * version.el (emacs-repository-get-version): Enhance so the
4414         function works correctly in either a Bazaar or Git repo.
4416 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
4418         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4419         Goes with removal of the joke manpages from /etc.
4421 2014-01-10  Kenichi Handa  <handa@gnu.org>
4423         * mail/rmail.el (rmail-get-coding-system):
4424         Check rmail-get-coding-function before "funcall"ing it.
4426 2014-01-10  Glenn Morris  <rgm@gnu.org>
4428         * emacs-lisp/authors.el (authors-fixed-entries):
4429         Update for files that no longer exist.
4431 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
4433         * version.el (emacs-bzr-get-version): Restore compatibilty with
4434         24.3 (Tested).
4436 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
4438         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4439         and Podfile.
4441 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
4443         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4445 2014-01-10  Chong Yidong  <cyd@gnu.org>
4447         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4449 2014-01-10  Anders Lindgren  <andlind@gmail.com>
4451         * follow.el (follow-cache-command-list): Include right-char and
4452         left-char.
4454 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4456         Spelling fixes.
4457         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4458         * woman.el (woman-mark-horizontal-position):
4459         Rename from woman-mark-horizonal-position.  Use changed.
4461 2014-01-10  Glenn Morris  <rgm@gnu.org>
4463         * info.el (info-initialize): If running uninstalled, ensure our
4464         own info files are always found first, even if INFOPATH is set.
4466         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4468 2014-01-09  David Engster  <deng@randomsample.de>
4470         * emacs-lisp/eieio-custom.el:
4471         * emacs-lisp/eieio-opt.el: Set generated autoload file to
4472         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4473         * emacs-lisp/eieio.el: Regenerate autoloads.
4475 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
4477         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4478         following renames.  (Bug#8756)
4480 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4482         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4483         (bug#16382).
4484         (activate-mark): Add `no-tmm' argument.
4485         (set-mark, push-mark-command): Use it instead of running
4486         activate-mark-hook by hand.
4488 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
4490         In preparation for the move to git, sanitize out some
4491         Bazaar-specific names.
4493         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4495         * version.el (emacs-bzr-version): Name changed to
4496         emacs-repository-version.  Obsolete-variable alias made.
4497         * loadup.el: Follow through on this name change.
4498         * mail/emacsbug.el (report-emacs-bug): Factor out any
4499         assumption about the version control system in use.
4501 2014-01-08  David Engster  <deng@randomsample.de>
4503         * help-fns.el (help-fns-describe-function-functions):
4504         New variable to call functions for augmenting help buffers.
4505         (describe-function-1): Remove explicit calls to
4506         `help-fns--compiler-macro', `help-fns--parent-mode' and
4507         `help-fns--obsolete'.  Put them in above new variable instead, and
4508         call them through `run-hook-with-args'.
4509         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4510         `eieio-describe-class'.  Not meant for interactive use anymore,
4511         but to augment existing help buffers.  Remove optional second
4512         argument.  Create proper button for file location.
4513         Rewrite function to use `insert' instead of `princ' and `prin1' where
4514         possible.
4515         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4516         (eieio-method-def, eieio-class-def): Move further up.
4517         (describe-method, describe-generic, eieio-describe-method):
4518         Remove aliases.
4519         (eieio-help-constructor, eieio-help-generic): Rename from
4520         `eieio-describe-constructor' and `eieio-describe-generic', resp.
4521         Rewrite to use `insert' in the current buffer and use proper help
4522         buttons.
4523         (eieio-help-find-method-definition)
4524         (eieio-help-find-class-definition): Also accept symbols as
4525         arguments.
4526         (eieio-help-mode-augmentation-maybee): Remove.
4527         (eieio-describe-class-sb): Use `describe-function'.
4528         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4529         Add `eieio-help-generic' and `eieio-help-constructor'.
4531 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
4533         Spelling fixes.
4534         * language/china-util.el (hz-ascii-designation):
4535         Rename from hz-ascii-designnation.
4536         (hz-ascii-designation): Rename from hz-ascii-designnation.
4537         All uses changed.
4539 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4541         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4542         package-alist.
4544 2014-01-08  Bastien Guerry  <bzg@gnu.org>
4546         * emacs-lisp/package.el (package-delete):
4547         Correctly delete the package from package-alist.
4549 2014-01-08  Daiki Ueno  <ueno@gnu.org>
4551         * emacs-lisp/package.el (url-recreate-url): Declare.
4552         (url-http-target-url): Declare.
4553         (package-handle-response): Include requested URL in the error message.
4554         (package--check-signature): Don't re-signal errors from
4555         package--with-work-buffer.  Suggested by Stefan Monnier.
4557 2014-01-07  Bastien Guerry  <bzg@gnu.org>
4559         * minibuffer.el (completion--try-word-completion): When both a
4560         hyphen and a space are possible candidates for the character
4561         following a word, display both candidates.  (Bug#15980)
4563 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
4565         * window.el (balance-windows-2): While rounding don't give a
4566         window more than the remainder.  Bug#16351, bug#16383.
4568 2014-01-07  Glenn Morris  <rgm@gnu.org>
4570         * menu-bar.el (menu-bar-help-extra-packages): Remove.
4571         (menu-bar-help-menu): Use view-external-packages instead.
4573 2014-01-07  Bastien Guerry  <bzg@gnu.org>
4575         * emacs-lisp/package.el (package-delete): Also delete the package
4576         name from `package-alist', not its description only.
4578 2014-01-07  Glenn Morris  <rgm@gnu.org>
4580         * help.el (view-external-packages):
4581         * menu-bar.el (menu-bar-help-extra-packages):
4582         Visit efaq.info rather than etc/MORE.STUFF.
4584 2014-01-07  Juri Linkov  <juri@jurta.org>
4586         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4587         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
4589         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4590         that shadows RET.  (Bug#16342)
4592 2014-01-07  Chong Yidong  <cyd@gnu.org>
4594         * isearch.el (isearch-yank-char, isearch-yank-word)
4595         (isearch-yank-line): Doc fix.
4597 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4599         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4600         * emacs-lisp/elint.el (elint-find-builtins):
4601         * emacs-lisp/eldoc.el (eldoc-symbol-function):
4602         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4603         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4604         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4605         * apropos.el (apropos-safe-documentation):
4606         * subr.el (symbol-file): Remove redundant fboundp.
4607         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4609 2014-01-06  Bastien Guerry  <bzg@gnu.org>
4611         * hl-line.el (global-hl-line-overlay): Make a local variable.
4612         (global-hl-line-overlays): New variable to store all overlays.
4613         (global-hl-line-mode): Don't delete overlays from the current
4614         buffer when `global-hl-line-sticky-flag' is non-nil.
4615         (global-hl-line-highlight): Add new overlays to
4616         `global-hl-line-overlays'.
4617         (global-hl-line-unhighlight-all): New function to delete all
4618         overlays when turning off `global-hl-line-mode'.
4619         This fixes Bug#16183.
4621 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4623         * subr.el (set-transient-map): Fix nested case and docstring.
4625 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
4627         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4628         `Texinfo' entry.
4630 2014-01-06  Daniel Colascione  <dancol@dancol.org>
4632         Fix defun navigation in vc log view.
4634         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4635         like `beginning-of-defun'.
4636         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4637         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
4638         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4639         (log-view-extract-comment): Call `log-view-current-entry' directly
4640         instead of relying on broken `log-view-beginning-of-defun' behavior.
4642 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
4644         Spelling fixes.
4645         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4646         * emacs-lisp/debug.el (cancel-debug-on-entry):
4647         * epg.el (epg-error-to-string):
4648         * files.el (recover-file):
4649         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4650         * mail/emacsbug.el (report-emacs-bug-hook):
4651         * mail/sendmail.el (mail-recover):
4652         * ses.el (ses-yank-resize):
4653         * term/ns-win.el (ns-print-buffer):
4654         Spelling fixes in diagnostics, mostly for "canceled" with one L.
4655         * epg.el (epg-key-capability-alist): Rename from misspelled version.
4656         All uses changed.
4657         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4659 2014-01-06  Leo Liu  <sdl.web@gmail.com>
4661         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4662         to avoid shadowing global key.  (Bug#16354)
4664 2014-01-06  Daniel Colascione  <dancol@dancol.org>
4666         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4667         rst-mode.
4669 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
4671         * window.el (balance-windows): Add mising t to fix Bug#16351.
4673 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4675         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4676         (bug#16285).
4677         (shr-insert): If we have a word that's longer than `shr-width',
4678         break after it anyway.  Otherwise we'll do no breaking once we get
4679         such a long word.
4681 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
4683         * net/eww.el (eww): Support single/double quote for search.
4684         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4685         (eww-history-quit): Delete and use quit-window.
4686         (eww-history-kill): Delete, because it doesn't work well and
4687         not necessary.
4688         (eww-history-mode-map): Delete some keys and add easy-menu.
4690 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
4692         Fix misspelling of 'chinese' in rx (Bug#16237).
4693         * emacs-lisp/rx.el (rx-categories): Correct spelling of
4694         chinese-two-byte.
4696         Change subword regexps back to vars (Bug#16296).
4697         * progmodes/subword.el (subword-forward-regexp)
4698         (subword-backward-regexp): Change these back to variables.
4700 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4702         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4703         syntax-begin-function (bug#16247).
4705 2014-01-03  Chong Yidong  <cyd@gnu.org>
4707         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4708         (advice--docstring): Delete variable.
4709         (advice--make-1): Leave the docstring empty.
4710         (advice-add): Use function-documentation for advised docstring.
4712         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4713         Ignore function-documentation property when getting documentation.
4714         (ad-activate-advised-definition): Use function-documentation
4715         generate the docstring.
4716         (ad-make-advised-definition): Don't call
4717         ad-make-advised-definition-docstring.
4718         (ad-make-advised-definition-docstring, ad-advised-definition-p):
4719         Delete functions.
4721         * progmodes/sql.el (sql-help): Use function-documentation instead
4722         of dynamic-docstring-function property.  No need to autoload now.
4723         (sql--help-docstring): New variable.
4724         (sql--make-help-docstring): Use it.
4726 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4728         * ielm.el (ielm-tab): Retarget.
4729         (ielm-map): Use ielm-tab for tab.
4730         (ielm-complete-filename): Use comint-filename-completion.
4731         (ielm-complete-symbol): Remove.
4732         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4733         remove ielm-tab from completion-at-point-functions (bug#16224).
4735         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4736         Beware signals raised by predicates (bug#16201).
4738 2014-01-02  Richard Stallman  <rms@gnu.org>
4740         * dired-aux.el (dired-do-print): Handle printer-name.
4742         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4743         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4744         (rmail-epa-decrypt): Turn off mime processing.
4746         * mail/rmail.el (rmail-make-in-reply-to-field):
4747         Add parens in message-id.
4749         * mail/rmail.el (rmail-get-coding-function): Variable.
4750         (rmail-get-coding-system): Use it.
4752 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
4754         * international/mule-conf.el: Unify the charset indian-is13194.
4755         (indian-is13194): Specify unify-map.
4757 2013-12-31  Leo Liu  <sdl.web@gmail.com>
4759         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
4761 2013-12-30  Daniel Colascione  <dancol@dancol.org>
4763         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4764         of printing a useless when we resume from sleep.
4766         * progmodes/sh-script.el
4767         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4768         in indentation code.  (Bug#16233)
4770 2013-12-28  João Távora  <joaotavora@gmail.com>
4772         * elec-pair.el (electric-pair-post-self-insert-function):
4773         Don't open extra newlines at beginning of buffer.  (Bug#16272)
4775 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
4777         * frame.el (window-system-for-display): Don't allow to create a
4778         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
4780 2013-12-28  Glenn Morris  <rgm@gnu.org>
4782         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4783         Update callers.
4785         * apropos.el (apropos-match-face):
4786         * calculator.el (calculator-displayer):
4787         * dabbrev.el (dabbrev-search-these-buffers-only):
4788         * face-remap.el (buffer-face-mode-face):
4789         * simple.el (yank-handled-properties):
4790         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4791         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4792         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4793         (hashcash-double-spend-database):
4794         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4795         (ruby-deep-indent-paren-style):
4796         * textmodes/flyspell.el (flyspell-auto-correct-binding):
4797         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4798         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4799         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4800         Specify custom types.
4802         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4803         * bookmark.el (bookmark-bmenu-use-header-line):
4804         * doc-view.el (doc-view-scale-internally):
4805         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4806         * register.el (register-preview-delay):
4807         * net/shr.el (shr-bullet):
4808         * progmodes/cfengine.el (cfengine-cf-promises)
4809         (cfengine-parameters-indent):
4810         * progmodes/octave.el (inferior-octave-error-regexp-alist):
4811         * textmodes/reftex-vars.el (reftex-label-regexps):
4812         * vc/log-edit.el (log-edit-setup-add-author): Add version.
4814         * net/tls.el (tls-certtool-program): Fix default value.
4816         * desktop.el (desktop-restore-in-current-display):
4817         * newcomment.el (comment-empty-lines):
4818         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4819         (idlwave-pad-keyword):
4820         * progmodes/tcl.el (tcl-tab-always-indent):
4821         * textmodes/reftex-vars.el (reftex-index-default-tag):
4822         * elec-pair.el (electric-pair-skip-whitespace):
4823         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4825         * emacs-lisp/authors.el (authors-ignored-files)
4826         (authors-valid-file-names, authors-renamed-files-alist): Additions.
4828 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
4830         * shell.el (shell-dynamic-complete-command): Doc fix.
4831         (shell--command-completion-data): Shell completion now matches
4832         executable filenames from the current buffer's directory, on
4833         systems in which this behavior is the default (windows-nt, ms-dos).
4835 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
4837         * net/shr.el (shr-insert): Don't infloop if the width is zero.
4839 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4841         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4842         (bug#16251).
4844         * electric.el: Move all electric-pair-* to elec-pair.el.
4845         * elec-pair.el: New file, split from electric.el.
4847 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
4849         * net/shr.el (shr-find-fill-point): Don't try to fill if the
4850         indentation level is larger than the width, because that will
4851         infloop.
4852         (shr-insert): Fill repeatedly long texts, so that Japanese is
4853         formatted correctly (bug#16263).
4854         (shr-find-fill-point): Off by one error in comparison with the
4855         indentation.
4857 2013-12-26  João Távora  <joaotavora@gmail.com>
4859         * electric.el (electric-pair-mode): More flexible engine for skip-
4860         and inhibit predicates, new options for pairing-related functionality.
4861         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4862         if that keeps or improves their balance in buffers.
4863         (electric-pair-delete-adjacent-pairs): Delete the pair when
4864         backspacing over adjacent matched delimiters.
4865         (electric-pair-open-extra-newline): Open extra newline when
4866         inserting newlines between adjacent matched delimiters.
4867         (electric--sort-post-self-insertion-hook):
4868         Sort post-self-insert-hook according to priority values when
4869         minor-modes are activated.
4870         * simple.el (newline-and-indent): Call newline with interactive
4871         set to t.
4872         (blink-paren-post-self-insert-function): Set priority to 100.
4873         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4874         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4875         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
4876         electric-pair-open-newline-between-pairs to nil.
4878 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4880         * progmodes/python.el: Use lexical-binding.
4881         (python-nav-beginning-of-defun): Stop searching ASAP.
4883 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
4885         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4886         Fix interactive spec.  Doc fix.  (Bug#15754)
4888 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
4890         * emacs-lisp/byte-run.el (eval-when-compile):
4891         * progmodes/cc-defs.el (cc-eval-when-compile):
4892         Fix edebug spec (bug#16184).
4894 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
4896         * net/shr.el (shr-visit-file): Remove debugging function.
4897         (shr-insert): Don't infloop if we can't find a good place to break
4898         the line (bug#16256).
4900 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4902         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4903         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
4904         python-nav-lisp-forward-sexp-safe.
4905         (python-nav--forward-sexp): New argument SAFE allows switching
4906         forward sexp movement behavior for parens.
4907         (python-nav-forward-sexp): Throw errors on unterminated parens
4908         (Bug#16191).
4909         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4910         (python-nav-backward-sexp-safe): New functions.
4911         (python-shell-buffer-substring):
4912         Use `python-nav-forward-sexp-safe'.
4914 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
4916         * net/shr.el (shr-find-fill-point): Don't break lines before a
4917         quotation mark.
4918         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4919         (shr-find-fill-point): Remove the special checks for the quotation
4920         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4922 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
4924         * net/eww.el (eww-form-textarea): Use a different face for
4925         textareas than text input since they have different keymaps
4926         (bug#16142).
4928 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4930         * progmodes/python.el (python-nav-beginning-of-statement):
4931         Speed up (Bug#15295).
4933 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
4935         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4936         the window configuration.
4938 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
4940         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4941         we run on MS-Windows or MS-DOS.
4943 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
4945         * window.el (balance-windows-area): Call window-size instead of
4946         window-height and window-width.  Bug#16241.
4948 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
4950         * net/eww.el (eww-bookmark-quit): Remove.
4951         (eww-bookmark-browse): Restore the window configuration when you
4952         choose a bookmark (bug#16144).
4954 2013-12-24  Daniel Colascione  <dancol@dancol.org>
4956         * icomplete.el: Remove redundant :group arguments to `defcustom'
4957         throughout.
4958         (icomplete-show-matches-on-no-input): New customizable variable.
4959         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4960         we have something to show.
4961         (icomplete-exhibit): Compute completions even if we have no user input.
4963 2013-12-23  Daniel Colascione  <dancol@dancol.org>
4965         * icomplete.el: Move `provide' to end of file.
4967 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
4969         * net/gnutls.el (gnutls-verify-error): Add version tag.
4971 2013-12-23  Chong Yidong  <cyd@gnu.org>
4973         * subr.el (set-transient-map): Rename from
4974         set-temporary-overlay-map.  Doc fix.
4976         * face-remap.el (text-scale-adjust):
4977         * indent.el (indent-rigidly):
4978         * kmacro.el (kmacro-call-macro):
4979         * minibuffer.el (minibuffer-force-complete):
4980         * repeat.el (repeat):
4981         * simple.el (universal-argument--mode):
4982         * calendar/todo-mode.el (todo-insert-item--next-param):
4983         * progmodes/f90.el (f90-abbrev-start): Callers changed.
4985         * indent.el (indent-rigidly): Use substitute-command-keys.
4987 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
4989         * net/eww.el (eww-tag-select): Add text-property to jump to next
4990         select field.
4991         (eww): Add non-supported ftp error.
4993 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
4995         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4996         comments.  Handle electric indent after typing `?' and `!'.
4998 2013-12-22  Chong Yidong  <cyd@gnu.org>
5000         * faces.el (face-spec-recalc): If the theme specs are not
5001         applicable to a frame, fall back on the defface spec.
5002         This prevents themes from obliterating faces on low-color terminals.
5004 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
5006         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5007         after `{'.  We need it after block openers, and it doesn't seem
5008         to hurt after hash openers.
5010 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
5012         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5013         extracted from `ruby-smie-rules'.
5014         (ruby--electric-indent-chars): New variable.
5015         (ruby--electric-indent-p): New function.
5016         (ruby-mode): Use `electric-indent-functions' instead of
5017         `electric-indent-chars'.
5019 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
5021         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5022         docstring.
5023         (ruby-smie-rules): Indent plus one level after `=>'.
5025 2013-12-21  Richard Stallman  <rms@gnu.org>
5027         * simple.el (newline): Doc fix.
5029 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5031         * net/eww.el (eww-list-histories, eww-list-histories)
5032         (eww-history-browse, eww-history-quit, eww-history-kill)
5033         (eww-history-mode-map, eww-history-mode): New command and
5034         functions to list browser histories.
5035         (eww-form-text): Support text form with disabled
5036         and readonly attributes.
5037         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5039 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5041         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5042         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5043         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5044         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5045         Use `user-error'.
5046         (eww-bookmark-mode-map): Add menu.
5047         (eww-render, eww-mode): Use `setq-local'.
5048         (eww-tool-bar-map): New variable.
5049         (eww-mode): Set `tool-bar-map'.
5050         (eww-view-source): Check for `html-mode' with `fboundp'.
5052 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5054         * net/shr.el (shr--extract-best-source): Don't bug out on audio
5055         elements with text inside.  Also remove debugging.
5057 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
5059         * cus-start.el (all): Add ns-use-srgb-colorspace.
5061 2013-12-21  Chong Yidong  <cyd@gnu.org>
5063         * custom.el (custom-theme-recalc-face): Do nothing if the face is
5064         undefined.  Thus, theme settings for undefined faces do not take
5065         effect until the faces are defined with defface, the same as with
5066         theme variables.
5068         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5069         (face-spec-reset-face): Don't assign extra properties in temacs.
5070         (face-spec-recalc): Apply X resources too.
5072 2013-12-21  Chong Yidong  <cyd@gnu.org>
5074         * faces.el (face-spec-set):
5075         * cus-face.el (custom-theme-set-faces, custom-set-faces):
5076         * custom.el (defface): Doc fixes (Bug#16203).
5078         * indent.el (indent-rigidly-map): Add docstring, and move commands
5079         into named functions.
5080         (indent-rigidly-left, indent-rigidly-right)
5081         (indent-rigidly-left-to-tab-stop)
5082         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
5083         indentation direction based on bidi direction, and accumulate
5084         sequential commands in a single undo boundary.
5085         (indent-rigidly--pop-undo): New utility function.
5087 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
5089         * faces.el (read-face-name): Require crm.el when using crm-separator.
5091 2013-12-20  Daniel Colascione  <dancol@dancol.org>
5093         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5094         so that we don't reflow comments into the shebang line.
5096 2013-12-20  Juri Linkov  <juri@jurta.org>
5098         * saveplace.el (save-place-to-alist): Add `dired-filename' as
5099         a position when `dired-directory' is non-nil.  Check integer
5100         positions with `integerp'.
5101         (toggle-save-place, save-places-to-alist): Add check for
5102         `dired-directory'.
5103         (save-place-find-file-hook): Check integer positions with
5104         `integerp'.
5105         (save-place-dired-hook): Use `dired-goto-file' when
5106         `dired-filename' is found in the assoc list.  Check integer
5107         positions with `integerp'.
5108         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5110         * dired.el (dired-initial-position-hook): Rename back from
5111         `dired-initial-point-hook'.
5112         (dired-initial-position): Rename `dired-initial-point-hook' to
5113         `dired-initial-position-hook'.
5114         (dired-file-name-at-point): Doc fix.  (Bug#15329)
5116 2013-12-20  Juri Linkov  <juri@jurta.org>
5118         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5119         (read-regexp-suggestions): New function.
5120         (read-regexp): Use `read-regexp-defaults-function' to get default values.
5121         Use `read-regexp-suggestions'.  Add non-empty default to history
5122         for empty input.
5123         (occur-read-regexp-defaults-function): Remove function.
5124         (occur-read-primary-args): Use `regexp-history-last' instead of
5125         `occur-read-regexp-defaults-function'.
5127         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5128         (hi-lock-line-face-buffer, hi-lock-face-buffer)
5129         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5130         `hi-lock-read-regexp-defaults-function'.  Doc fix.
5131         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5132         with `find-tag-default-as-symbol-regexp'.  Doc fix.
5133         (hi-lock-read-regexp-defaults): Remove function.
5134         (hi-lock-regexp-okay): Add check for null.
5136         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5137         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
5139         * subr.el (find-tag-default-as-symbol-regexp): New function.
5140         (find-tag-default-as-regexp): Move symbol regexp formatting to
5141         `find-tag-default-as-symbol-regexp'.
5143 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
5145         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5146         (Bug#14179)
5148 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
5150         * calendar/todo-mode.el: New implementation of item insertion
5151         commands and key bindings.
5152         (todo-key-prompt): New face.
5153         (todo-insert-item): New command.
5154         (todo-insert-item--parameters): New defconst, replacing defvar
5155         todo-insertion-commands-args-genlist.
5156         (todo-insert-item--param-key-alist): New defconst, replacing
5157         defvar todo-insertion-commands-arg-key-list.
5158         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5159         (todo-insert-item--argsleft, todo-insert-item--apply-args)
5160         (todo-insert-item--next-param): New functions.
5161         (todo-insert-item--args, todo-insert-item--argleft)
5162         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5163         New variables.
5164         (todo-key-bindings-t): Change binding of "i" from
5165         todo-insertion-map to todo-insert-item.
5166         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5167         (todo-insertion-command-name, todo-insertion-commands-names)
5168         (todo-define-insertion-command, todo-insertion-commands)
5169         (todo-insertion-key-bindings, todo-insertion-map): Remove.
5171 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
5173         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5174         (todo-toggle-item-highlighting): Use eval-and-compile instead of
5175         eval-when-compile.
5176         (todo-move-category): Allow choosing a non-existing todo file to
5177         move the category to, and create that file.
5178         (todo-default-priority): New user option.
5179         (todo-set-item-priority): Use it.
5180         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5181         (desktop-restore-file-buffer): Declare.
5182         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5183         (todo-modes-set-2): Locally set desktop-save-buffer to
5184         todo-desktop-save-buffer.
5185         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5186         (auto-mode-alist): Add autoload cookie.
5188 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
5190         * emacs-lisp/subr-x.el: Renamed from helpers.el.
5191         helpers.el was a poor choice of name.
5192         (string-remove-prefix): New function.
5193         (string-remove-suffix): New function.
5195 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
5197         Fix assignment for new window total sizes.
5198         * window.el (window--pixel-to-size): Remove function.
5199         (window--pixel-to-total-1, window--pixel-to-total):
5200         Fix calculation of new total sizes.
5202 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
5204         * comint.el (comint-output-filter): Fix rear-nonsticky property
5205         placement (Bug#16010).
5207 2013-12-20  Chong Yidong  <cyd@gnu.org>
5209         * faces.el (read-color): Minor fix for completion function.
5211 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
5213         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5214         New option.  (Bug#16182)
5215         (ruby-smie--indent-to-stmt-p): Use it.
5216         (ruby-smie-rules): Revert the logic in the handling of `when'.
5217         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5218         (ruby-deep-arglist, ruby-deep-indent-paren)
5219         (ruby-deep-indent-paren-style): Update docstrings to note that the
5220         vars don't have any effect with SMIE.
5222 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
5224         * calc/calc.el (calc-enter, calc-pop): Use the variable
5225         `calc-context-sensitive-enter'.
5227 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5229         * net/shr.el (shr-insert): Protect against infloops in degenerate
5230         tables.
5232 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5234         * progmodes/octave.el (octave): Add link to manual and octave
5235         homepage.
5236         (octave-mode-menu): Link to octave-mode manual.
5238 2013-12-20  Leo Liu  <sdl.web@gmail.com>
5240         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5241         insertion using skeleton-end-newline.  (Bug#16138)
5243 2013-12-20  Juri Linkov  <juri@jurta.org>
5245         * replace.el (occur-engine): Use `add-face-text-property'
5246         to add the face property to matches and titles.  (Bug#14645)
5248         * hi-lock.el (hi-green): Use lighter color "light green" closer to
5249         the palette of other hi-lock colors.
5250         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5252 2013-12-19  Juri Linkov  <juri@jurta.org>
5254         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5255         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
5256         (minibuffer-history-symbol): Move variable declaration closer to
5257         its usage.
5259         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5260         (Bug#14785)
5262 2013-12-19  Juri Linkov  <juri@jurta.org>
5264         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5265         New function.
5266         (log-edit-hook): Add it to :options.  (Bug#16170)
5268 2013-12-19  Juri Linkov  <juri@jurta.org>
5270         * simple.el (eval-expression-print-format): Don't check for
5271         command names and the last command.  Always display additional
5272         formats of the integer result in the echo area, and insert them
5273         to the current buffer only with a zero prefix arg.
5274         Display character when char-displayable-p is non-nil.
5275         (eval-expression): With a zero prefix arg, set `print-length' and
5276         `print-level' to nil, and insert the integer values from
5277         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
5279         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5280         `eval-last-sexp-arg-internal'.  Doc fix.
5281         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5282         `eval-last-sexp-print-value'.  Doc fix.
5283         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5284         Set `print-length' and `print-level' to nil when arg is zero.
5285         (eval-last-sexp): Doc fix.
5286         (eval-defun-2): Print the integer values from
5287         `eval-expression-print-format' at the end.
5289         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5290         values from `eval-expression-print-format' at the end.
5292         * ielm.el (ielm-eval-input): Print the integer
5293         values from `eval-expression-print-format' at the end.
5295 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
5297         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5298         2013-12-11T19:01:44Z!tzz@lifelogs.com.
5300 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5302         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
5303         (hl-line-highlight, global-hl-line-highlight): Use it.
5304         (hl-line-overlay): Use defvar-local.
5306 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
5308         * term/ns-win.el: Require dnd.
5309         (global-map): Remove drag items.
5310         (ns-insert-text, ns-set-foreground-at-mouse)
5311         (ns-set-background-at-mouse):
5312         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5313         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5314         New functions.
5316 2013-12-19  Glenn Morris  <rgm@gnu.org>
5318         * emacs-lisp/ert.el (ert-select-tests):
5319         Fix string/symbol mixup.  (Bug#16121)
5321 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
5323         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5324         keywords to their parent.
5326 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
5328         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5329         first arg to be a string (fixed dead code), or an operator symbol.
5330         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5331         operator symbols.
5332         (ruby-smie-rules): Remove parent token check in the `.' clause, it
5333         did nothing.  Don't respond to `(:after ".")', it will be called
5334         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
5335         change anything.  Only return indentation for binary operators
5336         when they are hanging.  De-dent opening paren when its parent is
5337         `.', otherwise it looks bad when the dot is not at bol or eol
5338         (bug#16182).
5340 2013-12-19  Juri Linkov  <juri@jurta.org>
5342         * replace.el (query-replace-read-args): Split a non-negative arg
5343         and a negative arg into separate elements.
5344         (query-replace, query-replace-regexp, replace-string)
5345         (replace-regexp): Add arg `backward'.  Doc fix.
5346         (replace-match-maybe-edit): When new arg `backward' is non-nil,
5347         move point to the beginning of the match.
5348         (replace-search, replace-highlight): Use new arg `backward'
5349         to set the value of `isearch-forward'.
5350         (perform-replace): Add arg `backward' and use it to perform
5351         replacement backward.  (Bug#14979)
5353         * isearch.el (isearch-query-replace): Use a negative prefix arg
5354         to call `perform-replace' with a non-nil arg `backward'.
5356 2013-12-18  Juri Linkov  <juri@jurta.org>
5358         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5359         to the default list.  Move `log-edit-show-files' to the end.
5360         Add more available functions to options.
5361         (log-edit): Move default specific settings to
5362         `log-edit-insert-message-template'.  Don't move point.
5363         (log-edit-insert-message-template): New function.
5364         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5365         (Bug#16170)
5367 2013-12-18  Juri Linkov  <juri@jurta.org>
5369         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5370         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
5372 2013-12-18  Leo Liu  <sdl.web@gmail.com>
5374         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5375         (Bug#16186)
5377 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
5379         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5380         formats for displaying file sizes when the -s switch is given.
5381         Instead, compute a separate format for displaying the size in
5382         blocks, which is displayed in addition to the "regular" size.
5383         When -h is given in addition to -s, produce size in blocks in
5384         human-readable form as well.  (Bug#16179)
5386 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
5388         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5389         Reference tables with ~\ref{...} instead of only \ref{...}.
5391 2013-12-18  Chong Yidong  <cyd@gnu.org>
5393         * cus-edit.el (custom-magic-alist): Fix "themed" description
5394         (Bug#14348).
5396         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5397         is non-nil, do not create a new entry in the symbol's theme-value
5398         or theme-face property; update theme-settings only (Bug#14664).
5399         (custom-available-themes): Doc fix.
5401         * cus-theme.el (custom-new-theme-mode-map): Add bindings
5402         (Bug#15674).
5404         * replace.el (occur-engine): Avoid infloop (Bug#7593).
5406 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
5408         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5409         (Bug#13914).
5411 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
5413         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5415 2013-12-18  Glenn Morris  <rgm@gnu.org>
5417         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5418         * cus-start.el (load-prefer-newer): New option.
5420 2013-12-18  Le Wang  <l26wang@gmail.com>
5422         * comint.el (comint-previous-matching-input-from-input):
5423         Retain point (Bug#13404).
5425 2013-12-18  Chong Yidong  <cyd@gnu.org>
5427         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5429 2013-12-18  Glenn Morris  <rgm@gnu.org>
5431         * mail/emacsbug.el (report-emacs-bug):
5432         Only mention enable-multibyte-characters if non-standard.
5434 2013-12-17  Juri Linkov  <juri@jurta.org>
5436         * arc-mode.el (archive-extract-by-file): Check if directory exists
5437         before deletion to not show irrelevant errors if it doesn't exist.
5439 2013-12-17  Juri Linkov  <juri@jurta.org>
5441         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5442         (Bug#14751)
5444         * net/eww.el (browse-web): Add alias to `eww'.
5445         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5446         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
5448         * net/browse-url.el (browse-url-browser-function): Move `eww'
5449         closer to similar functions.
5451         * startup.el (fancy-startup-screen, fancy-about-screen):
5452         Set browse-url-browser-function to eww-browse-url locally.
5453         (Bug#14751)
5455 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5457         * window.el (window--pixel-to-total): Remove unused `mini' var.
5458         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5459         (split-window): Remove unused `new' var.
5460         (window--display-buffer): Remove unused `frame' and `delta' vars.
5461         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5462         and display-width'.
5464 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
5466         * dired.el (dired-mark-pop-up):
5467         * register.el (register-preview): Don't bind
5468         split-height-threshold here since it's now done in
5469         display-buffer-below-selected.
5471 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
5473         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5474         xterm-rgb-convert-to-16bit.
5475         (rxvt-register-default-colors): Standardize with
5476         xterm-register-default-colors (Bug#14078).
5478 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
5480         * simple.el (kill-region): Pass mark first, then point, so that
5481         kill-append works right (Bug#12819).
5482         (copy-region-as-kill, kill-ring-save): Likewise.
5484 2013-12-17  Leo Liu  <sdl.web@gmail.com>
5486         * net/rcirc.el (rcirc-add-face):
5487         * eshell/em-prompt.el (eshell-emit-prompt):
5488         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5489         (Bug#16167)
5491 2013-12-17  Chong Yidong  <cyd@gnu.org>
5493         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5494         Suggested by Xue Fuqiao.
5496 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
5498         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5500 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5502         * net/shr.el (shr-insert-document): Remove unused var
5503         `shr-preliminary-table-render'.
5504         (shr-rescale-image): Remove unused arg `force'.
5505         (shr-put-image): Update calls accordingly.
5506         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5508 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
5510         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5511         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5512         :close-all, to see which indentation method to use (Bug#16116).
5513         (smie-rules-function): Document the method :close-all.
5515 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5517         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5519         * net/eww.el (eww-display-html): If we can't find the anchor we're
5520         looking for, then go to point-min.
5522 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
5524         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5525         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5526         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5527         Expand dir too, in case it's relative.
5529 2013-12-16  Juri Linkov  <juri@jurta.org>
5531         * desktop.el (desktop-auto-save-timeout): Change default to
5532         `auto-save-timeout'.  Doc fix.
5533         (desktop-save): Skip the timestamp in desktop-saved-frameset
5534         when checking for auto-save changes.
5535         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5536         `desktop-auto-save' is called repeatedly by the idle timer.
5537         (desktop-auto-save-set-timer): Replace `run-with-timer' with
5538         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
5539         (Bug#15331)
5541 2013-12-16  Juri Linkov  <juri@jurta.org>
5543         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5544         (Bug#16035)
5545         (isearch-pre-command-hook): Check `this-command' for symbolp.
5547 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5549         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5551 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
5553         * progmodes/cfengine.el (cfengine3--current-word): Remove.
5554         (cfengine3--current-function): Bring in the current-function
5555         functionality from `cfengine3--current-word'.
5556         (cfengine3-completion-function): Bring in the
5557         bounds-of-current-word functionality from
5558         `cfengine3--current-word'.
5560 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
5562         * window.el (display-buffer-below-selected):
5563         Bind split-height-threshold to 0 as suggested by Juri Linkov.
5565 2013-12-16  Leo Liu  <sdl.web@gmail.com>
5567         * progmodes/compile.el (compile-goto-error): Do not push-mark.
5568         Remove NOMSG arg and all uses changed.
5570 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5572         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5573         (cua--deactivate-rectangle): Don't deactivate the mark.
5574         (cua-set-rectangle-mark): Don't set mark-active since
5575         cua--activate-rectangle already does it for us.
5576         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5577         non-rectangular region.
5579         * emulation/cua-base.el (cua-repeat-replace-region):
5580         Use with-current-buffer.
5582         * net/gnutls.el: Use cl-lib.
5583         (gnutls-negotiate): `mapcan' -> cl-mapcan.
5585 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
5587         * emacs-lisp/package.el (package-built-in-p): Support both
5588         built-in and the package.el converted package descriptions.
5589         (package-show-package-list): Allow keywords.
5590         (package-keyword-button-action): Use it instead of
5591         `finder-list-matches'.
5592         (package-menu-filter-interactive): Interactive filtering (by
5593         keyword) function.
5594         (package-menu--generate): Support keywords and change keymappings
5595         and headers when they are given.
5596         (package--has-keyword-p): Helper function.
5597         (package-menu--refresh): Use it.
5598         (package--mapc): Helper function.
5599         (package-all-keywords): Use it.
5600         (package-menu-mode-map): Set up menu items and keybindings to
5601         provide a filtering UI.
5603 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
5605         * net/gnutls.el (gnutls-verify-error): New defcustom to control
5606         the behavior when a certificate fails validation.  Defaults to
5607         old behavior: never abort, just warn.
5608         (gnutls-negotiate): Use it.
5610 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
5612         * window.el (display-buffer-below-selected): Never split window
5613         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
5615 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
5617         * emacs-lisp/package.el (package--prepare-dependencies): New function.
5618         (package-buffer-info): Use it (bug#15108).
5620 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5622         * icomplete.el (icomplete-completions): Make sure the prefix is already
5623         displayed elsewhere before hiding it (bug#16219).
5625 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
5627         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5628         open-paren tokens when preceded by a open-paren, too.
5629         (ruby-smie-rules): Handle virtual indentation after open-paren
5630         tokens specially.  If there is code between it and eol, return the
5631         column where is starts (Bug#16118).
5633 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
5635         * progmodes/cfengine.el: Fix `add-hook' doc.
5636         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5637         (cfengine3--current-word): Fix parameters.
5638         (cfengine3-make-syntax-cache): Simplify further.
5639         (cfengine3-completion-function, cfengine3--current-function):
5640         Use `assq' for symbols.
5641         (cfengine3--current-function): Fix `cfengine3--current-word' call.
5643 2013-12-13  Glenn Morris  <rgm@gnu.org>
5645         * loadup.el (load-path): Warn if site-load or site-init changes it.
5646         No more need to reset it when bootstrapping.
5648 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
5650         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5651         locations for cf-promises.
5652         (cfengine-mode-syntax-functions-regex): New caching variable.
5653         (cfengine3-fallback-syntax): Fallback syntax for cases where
5654         cf-promises doesn't run.
5655         (cfengine3--current-word): Reimplement using
5656         `cfengine-mode-syntax-functions-regex'.
5657         (cfengine3-completion-function, cfengine3--current-function):
5658         Use `cfengine3-make-syntax-cache' directly.
5659         (cfengine3-clear-syntax-cache): New function.
5660         (cfengine3-make-syntax-cache): Simplify and create
5661         `cfengine-mode-syntax-functions-regex' on demand.
5662         (cfengine3-format-function-docstring): Don't call
5663         `cfengine3-make-syntax-cache' explicitly.
5665 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
5667         Fix windmove-find-other-window broken after pixelwise resizing
5668         (Bug#16017).
5669         * windmove.el (windmove-other-window-loc): Revert change from
5670         2013-12-04.
5671         (windmove-find-other-window): Call window-in-direction.
5672         * window.el (window-in-direction): New arguments SIGN, WRAP and
5673         MINI to emulate original windmove-find-other-window behavior.
5675 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
5677         * simple.el (blink-matching--overlay): New variable.
5678         (blink-matching-open): Instead of moving point, highlight the
5679         matching paren with an overlay
5680         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5682         * faces.el (paren-showing-faces, show-paren-match)
5683         (show-paren-mismatch): Move from paren.el.
5685 2013-12-13  Leo Liu  <sdl.web@gmail.com>
5687         * indent.el (indent-region): Disable progress reporter in
5688         minibuffer.  (Bug#16108)
5690         * bindings.el (visual-order-cursor-movement): Fix version.
5692 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5694         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5695         Also match after beginning of line.
5696         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5697         files.  Thanks to Russell Sim.  (Bug#15378)
5699 2013-12-13  Juri Linkov  <juri@jurta.org>
5701         * simple.el <Keypad support>: Remove key bindings duplicated
5702         with bindings.el.  (Bug#14397)
5704 2013-12-13  Juri Linkov  <juri@jurta.org>
5706         * comint.el (comint-mode-map): Replace `delete-char' with
5707         `delete-forward-char'.  (Bug#16109)
5709 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5711         * progmodes/python.el (python-indent-calculate-indentation):
5712         Fix de-denters cornercase.  (Bug#15731)
5714 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5716         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5717         (advice--make): Pay attention to `depth'.
5718         (advice--make-1): Don't autoload commands eagerly.
5719         * emacs-lisp/elp.el (elp-instrument-function):
5720         * emacs-lisp/trace.el (trace-function-internal):
5721         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5723         * iswitchb.el (iswitchb-mode): Don't belittle ido.
5725 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
5727         * term/w32-win.el (w32-handle-dropped-file):
5728         * startup.el (normal-top-level):
5729         * net/browse-url.el (browse-url-file-url):
5730         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5731         decode file names using 'utf-8' rather than
5732         file-name-coding-system.
5734 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5736         * progmodes/python.el (python-indent-context)
5737         (python-indent-calculate-indentation): Fix auto-identation
5738         behavior for comment blocks.  (Bug#15916)
5740 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
5742         * progmodes/python.el (python-indent-calculate-indentation):
5743         When determining indentation, don't treat "return", "pass", etc., as
5744         operators when they are just string constituents.  (Bug#15812)
5746 2013-12-12  Juri Linkov  <juri@jurta.org>
5748         * uniquify.el (uniquify-buffer-name-style): Change default to
5749         `post-forward-angle-brackets'.
5751         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5752         `uniquify'.  Change default to `post-forward-angle-brackets'.
5754 2013-12-11  Glenn Morris  <rgm@gnu.org>
5756         * emacs-lisp/package.el (finder-list-matches):
5757         Autoload rather than falsely declaring.
5759 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
5761         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5762         (eww-mode-map): Use them.
5764 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
5766         * window.el (display-buffer-in-side-window): Fix doc-string
5767         (Bug#16115).
5769 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
5771         * vc/vc-git.el: Silence byte-compiler warnings.
5772         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5773         (log-edit-set-header): Declare.
5775 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
5777         * Makefile.in (custom-deps, finder-data): Run output file names
5778         through unmsys--file-name.  (Bug#16099)
5780 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5782         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5783         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5785         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5786         instead of deleting the selection "by hand" (bug#16098).
5787         Rely on insert-for-yank to yank rectangles.
5788         (cua-highlight-region-shift-only): Mark obsolete.
5789         (cua-mode): Don't enable/disable transient-mark-mode,
5790         shift-select-mode (cua-mode works both with and without them), and
5791         pc-selection-mode (obsolete).
5792         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5793         (cua--deactivate-rectangle): Deactivate it.
5795         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5796         (delete-selection-helper): Make sure yank starts at the top of the
5797         deleted region.
5798         (minibuffer-keyboard-quit): Use region-active-p.
5800         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5802         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5803         to `delete' (bug#16109).
5805 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5807         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5808         info manual and show keybindings and set `:group' keyword.
5810 2013-12-11  Juri Linkov  <juri@jurta.org>
5812         * delsel.el (delete-active-region): Let-bind `this-command'
5813         to prevent `kill-region' from changing its original value.
5814         (delete-selection-helper): Handle `overwrite-mode' for the type
5815         `kill' exactly the same way as for the type `t'.
5816         (insert-char, quoted-insert, reindent-then-newline-and-indent):
5817         Support more commands.  (Bug#13312)
5819 2013-12-11  Juri Linkov  <juri@jurta.org>
5821         * bindings.el: Map kp keys to non-kp keys systematically
5822         with basic modifiers control, meta and shift.  (Bug#14397)
5824 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5826         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5827         "Close browser" menu items.  Fix wrong function of "List
5828         bookmarks".
5830 2013-12-11  Juri Linkov  <juri@jurta.org>
5832         * misearch.el (multi-isearch-buffers): Set the value of
5833         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
5834         arg of isearch-forward to t.
5835         (multi-isearch-buffers-regexp): Set the value of
5836         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
5837         arg of isearch-forward-regexp to t.
5838         (multi-isearch-files): Set the value of
5839         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
5840         arg of isearch-forward to t.
5841         (multi-isearch-files-regexp): Set the value of
5842         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
5843         arg of isearch-forward-regexp to t.  (Bug#16035)
5845         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5846         arg of isearch-forward to t.
5847         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5848         arg of isearch-forward-regexp to t.
5849         (dired-isearch-filter-filenames): Remove unnecessary check for
5850         `dired-isearch-filenames'.
5852         * comint.el (comint-history-isearch-backward):
5853         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5854         (comint-history-isearch-backward-regexp):
5855         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5857 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
5859         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5860         unmsys--file-name.  (Bug#16099)
5862 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
5864         * emacs-lisp/package.el (package-keyword-button-action):
5865         Remove finder.el require dependency.
5867 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
5869         * emacs-lisp/package.el: Require finder.el.
5870         (describe-package-1): Add keyword buttons.
5871         (package-make-button): New convenience function.
5872         (package-keyword-button-action): Keyword button action using
5873         `finder-list-matches'.
5875 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
5877         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5878         last commit.
5880 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
5882         * autorevert.el (auto-revert-notify-add-watch): Do not handle
5883         symlinked files.
5885 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
5887         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5888         after the end of a percent literal.
5890 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
5892         * progmodes/ruby-mode.el (ruby-forward-string): Document.
5893         Handle caret-delimited strings (Bug#16079).
5895 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
5897         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5898         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5899         `ruby-parse-partial' (Bug#16078).
5901 2013-12-09  Leo Liu  <sdl.web@gmail.com>
5903         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
5905 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
5907         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5908         (js-switch-indent-offset): New option.
5909         (js--proper-indentation): Use it.  And handle the case when
5910         "default" is actually a key in an object literal.
5911         (js--same-line): New function.
5912         (js--multi-line-declaration-indentation): Use it.
5913         (js--indent-in-array-comp, js--array-comp-indentation):
5914         New functions.
5915         (js--proper-indentation): Use them, to handle array comprehension
5916         continuations.
5918 2013-12-08  Leo Liu  <sdl.web@gmail.com>
5920         * progmodes/flymake.el (flymake-highlight-line): Re-write.
5921         (flymake-make-overlay): Remove arg MOUSE-FACE.
5922         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5924 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5926         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5927         New function.
5928         (redisplay-highlight-region-function): Use it.
5930         * emulation/cua-base.el (cua--explicit-region-start)
5931         (cua--last-region-shifted): Remove.
5932         (cua--deactivate): Use deactivate-mark.
5933         (cua--pre-command-handler-1): Don't handle shift-selection.
5934         (cua--post-command-handler-1): Don't change transient-mark-mode.
5935         (cua--select-keymaps): Use region-active-p rather than
5936         cua--explicit-region-start or cua--last-region-shifted.
5937         (cua-mode): Enable shift-select-mode.
5939 2013-12-08  Leo Liu  <sdl.web@gmail.com>
5941         * progmodes/flymake.el (flymake-popup-current-error-menu):
5942         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
5943         (flymake-posn-at-point-as-event, flymake-popup-menu)
5944         (flymake-make-emacs-menu): Remove.  (Bug#16077)
5946 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5948         * rect.el (rectangle-mark-mode): Activate mark even if
5949         transient-mark-mode is off (bug#16066).
5950         (rectangle--highlight-for-redisplay): Fix boundary condition when point
5951         is > mark and at bolp.
5953         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5954         (region-extract-function): Use it.
5955         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5956         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5957         Delete functions.
5958         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5959         kill-ring-save, kill-region, delete-char, delete-forward-char.
5960         Ignore self-insert-iso.
5962         * emulation/cua-gmrk.el (cua--init-global-mark):
5963         Ignore `self-insert-iso'.
5965         * emulation/cua-base.el (cua--prefix-copy-handler)
5966         (cua--prefix-cut-handler): Rely on region-extract-function rather than
5967         checking cua--rectangle.
5968         (cua-delete-region): Use region-extract-function.
5969         (cua-replace-region): Delete function.
5970         (cua-copy-region, cua-cut-region): Obey region-extract-function.
5971         (cua--pre-command-handler-1): Don't do the delete-selection thing.
5972         (cua--self-insert-char-p): Ignore `self-insert-iso'.
5973         (cua--init-keymaps): Don't remap delete-selection commands.
5974         (cua-mode): Use delete-selection-mode instead of rolling our own
5975         (bug#16085).
5977         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5978         Obey region-extract-function.
5980         Make registers and delete-selection-mode work on rectangles.
5981         * register.el (describe-register-1): Don't modify the register's value.
5982         (copy-to-register): Obey region-extract-function.
5983         * delsel.el (delete-active-region): Obey region-extract-function.
5985 2013-12-08  Leo Liu  <sdl.web@gmail.com>
5987         * progmodes/flymake.el (flymake, flymake-error-bitmap)
5988         (flymake-warning-bitmap, flymake-fringe-indicator-position)
5989         (flymake-compilation-prevents-syntax-check)
5990         (flymake-start-syntax-check-on-newline)
5991         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5992         (flymake-start-syntax-check-on-find-file, flymake-log-level)
5993         (flymake-xml-program, flymake-master-file-dirs)
5994         (flymake-master-file-count-limit)
5995         (flymake-allowed-file-name-masks): Relocate.
5996         (flymake-makehash, flymake-float-time)
5997         (flymake-replace-regexp-in-string, flymake-split-string)
5998         (flymake-get-temp-dir): Remove.
5999         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6000         (flymake-current-row, flymake-selected-frame)
6001         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6002         related functions.  (Bug#16077)
6004 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
6006         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6008 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
6010         * help-fns.el (describe-function-1): Use new advice-* functions
6011         rather than old ad-* functions.  Fix function type description and
6012         source links for advised functions and subrs.
6014 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6016         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6018 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
6020         * progmodes/compile.el (compilation-start):
6021         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6023         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6024         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
6026 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
6028         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6029         Touch up the last change.
6031 2013-12-06  Leo Liu  <sdl.web@gmail.com>
6033         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6034         (inferior-octave-startup): Always use "octave> " for prompt.
6035         (octave-goto-function-definition)
6036         (octave-sync-function-file-names)
6037         (octave-find-definition-default-filename): Remove redundant backquotes.
6039 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
6041         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6042         syntax for `?'.
6043         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6044         where appropriate already.
6045         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6046         end of method names (Bug#15874).
6048 2013-12-06  Juri Linkov  <juri@jurta.org>
6050         * isearch.el (isearch--saved-overriding-local-map):
6051         New internal variable.
6052         (isearch-mode): Set it to the initial value of
6053         `overriding-terminal-local-map'.
6054         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6055         with `isearch--saved-overriding-local-map'.  (Bug#16035)
6057 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
6059         * progmodes/octave.el (inferior-octave-completion-table):
6060         Turn back into function, use `completion-table-with-cache'
6061         (Bug#11906).  Update all references.
6063         * minibuffer.el (completion-table-with-cache): New function.
6065 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
6067         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6069 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
6071         * net/eww.el (eww-current-source): New variable to store page
6072         source.
6073         (eww-display-html, eww-mode, eww-save-history)
6074         (eww-restore-history): Use it.
6075         (eww-view-source): New command to view page source.
6076         Opportunistically uses `html-mode' to highlight the buffer.
6077         (eww-mode-map): Install it.
6079 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
6081         * net/dbus.el (dbus-unregister-service)
6082         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6083         Fix docstring.
6084         (dbus-unregister-service): Skip :serial entries in
6085         `dbus-registered-objects-table'.
6086         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6088 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
6090         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6091         around keywords with extra `split-string' argument.
6093 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
6095         * windmove.el (windmove-other-window-loc): Handle navigation
6096         between windows (excluding the minibuffer window - Bug#16017).
6098 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
6100         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6101         in D-Bus type syntax.
6102         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6103         preserve unibyte strings.  (Bug#16048)
6105 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6107         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6108         Call force-mode-line-update is the proper buffer (bug#16042).
6110 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
6112         * vc/log-edit.el (log-edit-add-new-comment): Rename to
6113         `log-edit-remember-comment', make argument optional.  Adjust all
6114         callers.
6115         (log-edit-mode): Add `log-edit-remember-comment' to
6116         `kill-buffer-hook' locally.
6117         (log-edit-kill-buffer): Don't remember comment explicitly since
6118         the buffer is killed anyway.
6120 2013-12-04  Juri Linkov  <juri@jurta.org>
6122         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6123         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
6125 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
6127         * notifications.el (notifications-close-notification): Call the
6128         D-Bus method with ID being a `:uint32'.  (Bug#16030)
6130 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
6132         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6134 2013-12-03  Juri Linkov  <juri@jurta.org>
6136         * progmodes/compile.el (compilation-start): Rename window alist
6137         entry `no-display-ok' to `allow-no-window'.
6139         * simple.el (shell-command): Add window alist entry
6140         `allow-no-window' to `display-buffer'.
6141         (async-shell-command): Doc fix.
6143         * window.el (display-buffer-no-window): New action function.
6144         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
6146 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
6148         * vc/log-edit.el (log-edit-set-header): Extract from
6149         `log-edit-toggle-header'.
6150         (log-edit-extract-headers): Separate the summary, when extracted
6151         from header, from the rest of the message with an empty line.
6153         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6154         line, if present, to the Summary header.
6156 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6158         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6159         in current-buffer (bug#16029).
6161 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
6163         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6164         (debugger-mode-map): Bind it.
6165         (debugger--backtrace-base): New function.
6166         (debugger-eval-expression): Use it.
6167         (debugger-frame-number): Skip local vars when present.
6168         (debugger--locals-visible-p, debugger--insert-locals)
6169         (debugger--show-locals, debugger--hide-locals): New functions.
6171 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
6173         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6174         "LC_ALL".
6175         (tramp-get-remote-locale): New defun.
6176         (tramp-open-connection-setup-interactive-shell): Use it.
6178 2013-12-02  Leo Liu  <sdl.web@gmail.com>
6180         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
6182         * progmodes/sh-script.el (sh-shell-process):
6183         * progmodes/octave.el (inferior-octave-process-live-p):
6184         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6185         (gdb-inferior-io-sentinel):
6186         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6188 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
6190         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6191         `save-selected-window' to `log-edit-hide-buf'.  This makes
6192         `log-edit-show-files' idempotent.
6193         (log-edit-show-files): Mark the new window as dedicated.
6195 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
6197         * vc/log-edit.el (log-edit-mode-map): Add binding for
6198         `log-edit-kill-biffer'.
6199         (log-edit-hide-buf): Add a FIXME comment.
6200         (log-edit-add-new-comment): New function, extracted from
6201         `log-edit-done'.
6202         (log-edit-done, log-edit-add-to-changelog): Use it.
6203         (log-edit-kill-buffer): New command.
6205 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6207         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6208         instead of killing the buffer.
6210 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6212         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6214 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6216         * net/eww.el (eww-form-checkbox-selected-symbol)
6217         (eww-form-checkbox-symbol): New customizable variable.
6218         (eww-form-checkbox, eww-toggle-checkbox):
6219         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6221         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6222         (shr--get-media-pref, shr--extract-best-source): New function.
6223         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6224         no :src tag was specified.
6226         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6227         (eww-render): Handle `eww-use-external-browser-for-content-type'.
6228         Use \\` to match beginning of string instead of ^.
6229         (eww-browse-with-external-browser): Provide optional URL parameter.
6230         (eww-render): Set `eww-current-title' back to "".
6232         * net/shr.el (shr-tag-video): Display content for video if no
6233         poster is available.
6234         (shr-tag-audio): Add support for <audio> tag.
6236         * net/eww.el (eww-text-input-types): New const.
6237         (eww-process-text-input): Treat input types in
6238         `eww-text-input-types' as text.
6240         * net/shr.el (shr-tag-table): Fix comment typo.
6242 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6244         * net/eww.el (eww-follow-link): New command to avoid reloading
6245         pages when we follow #target links (bug#15243).
6246         (eww-quit): Special mode buffers shouldn't query before exiting.
6248 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6250         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6251         forms.
6253 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6255         * net/eww.el (eww-restore-history): Update the window title after
6256         moving in the history.
6257         (eww-current-dom): New variable used to save the current DOM.
6259 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
6261         * vc/log-edit.el (log-edit-mode-map): Add binding for
6262         `log-edit-beginning-of-line'.
6263         (log-edit-setup-add-author): New user option.
6264         (log-edit-beginning-of-line): New command.
6265         (log-edit): Move major mode call above the contents setup so that
6266         the local variable values are already applied.
6267         (log-edit): Only insert "Author: " when
6268         `log-edit-setup-add-author' is non-nil.
6269         (log-edit): When SETUP is non-nil, position point after ": "
6270         instead of point-min.
6272 2013-12-01  Glenn Morris  <rgm@gnu.org>
6274         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6276 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
6278         * startup.el (fancy-splash-frame): On MS-Windows, trigger
6279         redisplay to make sure the initial frame gets a chance to become
6280         visible.  (Bug#16014)
6282 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
6284         Support resizing frames and windows pixelwise.
6285         * cus-start.el (frame-resize-pixelwise)
6286         (window-resize-pixelwise): New entries.
6287         * emacs-lisp/debug.el (debug): Use window-total-height instead
6288         of window-total-size.
6289         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6290         * help.el (describe-bindings-internal): Use help-buffer as
6291         argument for with-help-window.
6292         (temp-buffer-max-width): New option.
6293         (resize-temp-buffer-window, help-window-setup)
6294         (with-help-window): Rewrite.
6295         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
6296         dragging dividers.
6297         * window.el (frame-char-size, window-min-pixel-height)
6298         (window-safe-min-pixel-height, window-safe-min-pixel-width)
6299         (window-min-pixel-width, window-safe-min-pixel-size)
6300         (window-combination-p, window-safe-min-size)
6301         (window-resizable-p, window--size-to-pixel)
6302         (window--pixel-to-size, window--resize-apply-p): New functions.
6303         (window-safe-min-height): Fix doc-string.
6304         (window-size, window-min-size, window--min-size-1)
6305         (window-sizable, window-sizable-p, window--min-delta-1)
6306         (window-min-delta, window--max-delta-1, window-max-delta)
6307         (window--resizable, window--resizable-p, window-resizable)
6308         (window-full-height-p, window-full-width-p, window-at-side-p)
6309         (window--in-direction-2, window-in-direction)
6310         (window--resize-reset-1, window--resize-mini-window)
6311         (window-resize, window-resize-no-error)
6312         (window--resize-child-windows-normal)
6313         (window--resize-child-windows, window--resize-siblings)
6314         (window--resize-this-window, window--resize-root-window)
6315         (window--resize-root-window-vertically)
6316         (adjust-window-trailing-edge, enlarge-window, shrink-window)
6317         (maximize-window, minimize-window, delete-window)
6318         (quit-restore-window, window-split-min-size, split-window)
6319         (balance-windows-2, balance-windows)
6320         (balance-windows-area-adjust, balance-windows-area)
6321         (window--state-get-1, window-state-get, window--state-put-1)
6322         (window--state-put-2, window-state-put)
6323         (display-buffer-record-window, window--display-buffer):
6324         Make functions handle pixelwise sizing of windows.
6325         (display-buffer--action-function-custom-type)
6326         (display-buffer-fallback-action):
6327         Add display-buffer-in-previous-window.
6328         (display-buffer-use-some-window): Resize window to height it had
6329         before.
6330         (fit-window-to-buffer-horizontally): New option.
6331         (fit-frame-to-buffer): Describe new values.
6332         (fit-frame-to-buffer-bottom-margin): Replace with
6333         fit-frame-to-buffer-margins.
6334         (window--sanitize-margin): New function.
6335         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6336         using window-text-pixel-size.
6338 2013-11-30  Glenn Morris  <rgm@gnu.org>
6340         * emacs-lisp/bytecomp.el (byte-compile-form):
6341         Make the `interactive-only' warning like the `obsolete' one.
6342         * comint.el (comint-run):
6343         * files.el (insert-file-literally, insert-file):
6344         * replace.el (replace-string, replace-regexp):
6345         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6346         (goto-line, insert-buffer, next-line, previous-line):
6347         Tweak `interactive-only' spec.
6349         Stop keeping (most) generated cedet grammar files in the repository.
6350         * Makefile.in (semantic): New.
6351         (compile-main): Depend on semantic.
6353 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6355         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6356         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6358         * uniquify.el (uniquify-buffer-name-style): Change default.
6360         * loadup.el: Preload "uniquify".
6362         * time.el (display-time-update): Update all mode lines (bug#15999).
6364         * electric.el (electric-indent-mode): Enable by default.
6365         * loadup.el: Preload "electric".
6367 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
6369         * emacs-lisp/helpers.el (string-empty-p): New function.
6370         (string-blank-p): New function.
6372 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
6374         * imenu.el (imenu--index-alist): Add missing dot to the docstring
6375         (Bug#14029).
6377 2013-11-29  Andreas Politz  <politza@fh-trier.de>
6378         * imenu.el (imenu--subalist-p): Don't error on non-conses and
6379         allow non-lambda lists as functions.
6380         (imenu--in-alist): Don't recurse into non-subalists.
6381         (imenu): Don't pass function itself as an argument (Bug#14029).
6383 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6385         * progmodes/python.el (python-mode-map): Remove binding for ":".
6386         (python-indent-electric-colon): Remove command.
6387         (python-indent-post-self-insert-function): Integrate the previous code
6388         of python-indent-electric-colon.  Make it conditional on
6389         electric-indent-mode.
6390         (python-mode): Add ?: to electric-indent-chars.
6391         Move python-indent-post-self-insert-function to the end of
6392         post-self-insert-hook.
6394 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6396         * doc-view.el (doc-view-goto-page): Update mode-line.
6398         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6400 2013-11-27  Glenn Morris  <rgm@gnu.org>
6402         * international/charprop.el, international/uni-bidi.el:
6403         * international/uni-category.el, international/uni-combining.el:
6404         * international/uni-comment.el, international/uni-decimal.el:
6405         * international/uni-decomposition.el, international/uni-digit.el:
6406         * international/uni-lowercase.el, international/uni-mirrored.el:
6407         * international/uni-name.el, international/uni-numeric.el:
6408         * international/uni-old-name.el, international/uni-titlecase.el:
6409         * international/uni-uppercase.el:
6410         Remove generated files from VCS repository.
6412 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
6414         * filenotify.el (file-notify-add-watch): Don't special-case
6415         w32notify when computing the directory to watch.
6417 2013-11-27  Glenn Morris  <rgm@gnu.org>
6419         Make bootstrap without generated uni-*.el files possible again.
6420         * loadup.el: Update command-line-args checking for unidata-gen.
6421         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6422         * composite.el, international/characters.el:
6423         Handle unicode tables being undefined.
6425         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6426         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6427         (compile-main): Depend on leim rule.
6428         (leim): New rule.
6429         * loadup.el: Move leim-list.el to leim/ subdirectory.
6430         * startup.el (normal-top-level): No more leim directory.
6431         * international/ja-dic-cnv.el (skkdic-convert):
6432         Disable version-control and autoloads in output files.
6433         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6434         Disable version-control and autoloads in output files.
6435         * leim/quail: Move here from ../leim.
6436         * leim/quail/hangul.el (hangul-input-method-activate):
6437         Add autoload cookie.
6438         (generated-autoload-load-name): Set file-local value.
6439         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6440         (generated-autoload-load-name): Set file-local value.
6442 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
6444         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6445         (eww-add-bookmark): Ask confirmation when add to bookmarks.
6446         (eww-quit): Ask confirmation before quitting eww.
6448 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
6450         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6451         reading output from Diff on MS-Windows and MS-DOS.
6453 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
6455         * emacs-lisp/helpers.el (string-reverse): New function.
6457 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
6459         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6460         names on MS Windows, like "/[::1]:".
6462         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6463         SWITCHES.
6465 2013-11-26  Glenn Morris  <rgm@gnu.org>
6467         * progmodes/python.el (python-indent-guess-indent-offset):
6468         Avoid corner-case error.  (Bug#15975)
6470         Preload leim-list.el.  (Bug#4789)
6471         * loadup.el: Load leim-list.el when found.
6472         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6474 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
6476         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6478         * emacs-lisp/helpers.el (string-join): New function.
6480 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
6482         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6483         Mark as obsolete and replace it with a symbol property.
6484         (byte-compile-form): Use new 'interactive-only property.
6485         * comint.el, files.el, replace.el, simple.el:
6486         Apply new 'interactive-only properly.
6488 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
6490         * window.el (display-buffer-at-bottom): Make sure that
6491         split-window-sensibly creates the new window on bottom
6492         (Bug#15961).
6494 2013-11-23  David Kastrup  <dak@gnu.org>
6496         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6497         on the conflict markers when available.
6498         (smerge--get-marker): New function.
6499         (smerge-end-re, smerge-base-re): Add subgroup.
6501 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6503         * frame.el (handle-focus-in, handle-focus-out): Add missing
6504         interactive spec.
6506 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
6508         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6509         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6511 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6513         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
6514         (gomoku--last-pos): New var.
6515         (gomoku--intangible-chars): New const.
6516         (gomoku--intangible): New function.
6517         (gomoku-mode): Use it.  Derive from special-mode.
6518         (gomoku-move-up): Adjust line count.
6519         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6520         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6521         Simplify accordingly.
6523         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6524         Remove blink-cursor code.
6525         (blink-cursor-timer-function, blink-cursor-suspend):
6526         Don't special-case GUIs.
6527         (blink-cursor-mode): Use focus-in/out-hook.
6529 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
6531         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6532         work when annotation is invisible (Bug#13886).
6534 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
6536         * json.el (json-alist-p): Only return non-nil if the alist has
6537         simple keys (Bug#13518).
6539 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
6541         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6542         when control-statement is the first statement in a buffer (Bug#15956).
6544 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
6546         * imenu.el (imenu-generic-skip-comments-and-strings):
6547         New option (Bug#15560).
6548         (imenu--generic-function): Use it.
6550 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
6552         * minibuffer.el (completion--in-region-1): Scroll the correct window.
6553         (Bug#13898)
6555 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
6557         * emacs-lisp/helpers.el: Add some string helpers.
6558         (string-trim-left): Removes leading whitespace.
6559         (string-trim-right): Removes trailing whitespace.
6560         (string-trim): Removes leading and trailing whitespace.
6562         * subr.el (string-suffix-p): New function.
6564 2013-11-23  Glenn Morris  <rgm@gnu.org>
6566         * progmodes/python.el (python-shell-send-file):
6567         Add option to delete file when done.  (Bug#15647)
6568         (python-shell-send-string, python-shell-send-region): Use it.
6570 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
6572         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6573         to set buffer-read-only to t, never to nil.  (Bug#15938)
6575         * textmodes/tex-mode.el (latex-noindent-environments):
6576         Add safe-local-variable property.  (Bug#15936)
6578 2013-11-23  Glenn Morris  <rgm@gnu.org>
6580         * textmodes/enriched.el (enriched-mode): Doc fix.
6581         * emacs-lisp/authors.el (authors-renamed-files-alist):
6582         Add enriched.doc -> enriched.txt.
6584         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6586 2013-11-22  Leo Liu  <sdl.web@gmail.com>
6588         * progmodes/octave.el (inferior-octave-startup): Spit out error
6589         message.
6591 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
6593         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6594         Improve docstring.
6595         Add :version.
6596         (ruby-encoding-magic-comment-style): Add :version.
6598 2013-11-22  Leo Liu  <sdl.web@gmail.com>
6600         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6601         (Bug#15076)
6602         (octave-help-mode): Adapt to change to help-mode-finish to use
6603         derived-mode-p on 2013-09-17.
6604         (inferior-octave-prompt): Also match octave-gui.
6605         (octave-kill-process): Don't ask twice.  (Bug#10564)
6607 2013-11-22  Leo Liu  <sdl.web@gmail.com>
6609         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6610         (inferior-octave-startup, inferior-octave-check-process)
6611         (inferior-octave-track-window-width-change)
6612         (octave-completion-at-point, octave-eldoc-function): Use it.
6613         (octave-kill-process): Provide confirmation.  (Bug#10564)
6615 2013-11-21  Leo Liu  <sdl.web@gmail.com>
6617         * progmodes/octave.el (octave-mode, inferior-octave-mode):
6618         Fix obsolete variable comment-use-global-state.
6620 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6622         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6623         Add `octave-source-file'.
6624         (octave-source-file): New function.  (Bug#15935)
6626 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
6628         * net/eww.el (eww-local-regex): New variable.
6629         (eww): Use it to detect localhost and similar.
6631 2013-11-21  Leo Liu  <sdl.web@gmail.com>
6633         Add completion for command `ag'.
6634         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6635         (pcomplete/ag): New function.
6636         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
6638 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6640         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6641         (bug#14646).
6642         (make-obsolete): Remove interactive spec.
6644 2013-11-21  Glenn Morris  <rgm@gnu.org>
6646         * startup.el (command-line-1): Use path-separator with -L.
6648 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
6650         * emacs-lisp/package.el (describe-package-1): Add package archive
6651         to shown fields.
6653 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
6655         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6656         Change default to "# encoding: %s" to differentiate it from the
6657         default Ruby encoding comment template.
6659 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
6661         * ses.el (ses-mode): Doc fix.  (Bug#14748)
6663 2013-11-20  Leo Liu  <sdl.web@gmail.com>
6665         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
6667 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
6669         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6670         when rebase or bisect are in progress.
6672 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
6674         * filenotify.el (file-notify-add-watch): Doc fix.
6676 2013-11-19  Leo Liu  <sdl.web@gmail.com>
6678         * obsolete/rcompile.el: Mark obsolete.
6680         * progmodes/compile.el (compilation-start)
6681         (compilation-goto-locus, compilation-find-file):
6682         Pass no-display-ok and handle nil value from display-buffer.
6683         (Bug#13594)
6685         * window.el (display-buffer-alist, display-buffer): Document the
6686         new parameter no-display-ok.  Return either a window or nil
6687         but never a non-window value.
6689 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6691         * electric.el (electric-indent-mode-map): Remove.
6692         (electric-indent-mode): Change the global-map instead (bug#15915).
6694         * textmodes/text-mode.el (paragraph-indent-minor-mode):
6695         Use add-function.
6697 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6699         * emacs-lisp/nadvice.el (remove-function): Align with
6700         add-function's behavior.
6702         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6703         (gdb--string-regexp): New constant.
6704         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6705         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6706         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6707         submatch 1.
6708         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6709         Adjust use accordingly.
6710         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6712 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
6714         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6715         interpolation curlies (Bug#15914).
6717 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
6719         * calc/calc.el (calc-context-sensitive-enter): New variable.
6720         (calc-enter): Use `calc-context-sensitive-enter'.
6722 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
6724         * progmodes/cfengine.el: Version bump.
6725         (cfengine-cf-promises): New defcustom to locate cf-promises.
6726         (cfengine3-vartypes): Add new "data" type.
6727         (cfengine3--current-word): New function to get current name-like
6728         word or its bounds.
6729         (cfengine3--current-function): New function to look up a CFEngine
6730         function's definition.
6731         (cfengine3-format-function-docstring): New function.
6732         (cfengine3-make-syntax-cache): New function.
6733         (cfengine3-documentation-function): New function: ElDoc glue.
6734         (cfengine3-completion-function): New function: completion glue.
6735         (cfengine3-mode): Set `compile-command',
6736         `eldoc-documentation-function', and add to
6737         `completion-at-point-functions'.
6739 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
6741         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6742         `tramp-current-connection'.
6744 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
6746         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6747         nil/self/true/false with "end of symbol".
6749 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
6751         * subr.el (version-regexp-alist): Fix a typo.
6753 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
6755         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6756         "en_US.utf8" and "LC_CTYPE" to "".
6757         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6758         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6760 2013-11-15  Leo Liu  <sdl.web@gmail.com>
6762         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
6764 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6766         * progmodes/gud.el (ctl-x-map):
6767         Remove C-x SPC binding.  (Bug#12342)
6768         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6770 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
6772         * subr.el (version-regexp-alist):
6773         Recognize hg, svn and darcs versions as snapshot versions.
6775         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6776         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6777         (ruby--encoding-comment-required-p): Extract from
6778         `ruby-mode-set-encoding'.
6779         (ruby-mode-set-encoding): Add the ability to always insert an
6780         utf-8 encoding comment.  Fix and simplify coding comment update
6781         logic.
6783 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
6785         * net/tramp-gvfs.el (top): Run init code only when
6786         `tramp-gvfs-enabled' is not nil.
6787         (tramp-gvfs-enabled): Check also :system bus.
6789 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6791         Sync with upstream verilog-mode revision 78e66ba.
6792         * progmodes/verilog-mode.el (verilog-end-of-defun)
6793         (verilog-type-completion, verilog-get-list): Remove unused funcs.
6794         (verilog-get-end-of-defun): Remove unused argument.
6795         (verilog-comment-depth): Remove unused local `e'.
6796         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6797         Don't pass arg to verilog-get-end-of-defun.
6799 2013-11-14  Glenn Morris  <rgm@gnu.org>
6801         * obsolete/assoc.el (aget): Prefix dynamic variable.
6803         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6805 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6807         * widget.el, hfy-cmap.el: Remove bogus package version number.
6809 2013-11-13  Glenn Morris  <rgm@gnu.org>
6811         * replace.el (replace-eval-replacement):
6812         Try to give more helpful error message.  (Bug#15836)
6814         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6815         (archive-7z-update): Avoid custom type mismatches.
6817         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6819 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
6821         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6822         address can be empty.
6824         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6825         Accept nil SWITCHES.
6826         (tramp-gvfs-handle-write-region): Implement APPEND.
6828 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
6830         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6831         binary "|" operator and closing block args delimiter.
6832         Remove FIXME comment referring to Ruby 1.8-only syntax.
6833         (ruby-smie--implicit-semi-p): Not after "|" operator.
6834         (ruby-smie--closing-pipe-p): New function.
6835         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6836         (ruby-smie-rules): Indent after "|".
6838 2013-11-12  Glenn Morris  <rgm@gnu.org>
6840         * ps-print.el (ps-face-attribute-list):
6841         Handle anonymous faces.  (Bug#15827)
6843 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
6845         * window.el (display-buffer-other-frame): Fix doc-string.
6846         (Bug#15868)
6848 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6850         * subr.el (force-mode-line-update): Delete, move to buffer.c.
6852 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
6854         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6855         (tramp-sh-handle-file-local-copy): Don't write a message when
6856         saving temporary files.
6858         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6859         both directories are remote.
6860         (tramp-smb-handle-directory-files): Do not return double entries.
6861         Do not expand full file names.
6862         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6863         (tramp-smb-handle-write-region): Implement APPEND.
6864         (tramp-smb-get-stat-capability): Fix a stupid bug.
6866 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6868         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6870 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
6872         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6873         throwing error over malformed let/let* (bug#15814).
6875 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6877         * iswitchb.el (iswitchb-mode): Mark obsolete.
6879 2013-11-11  Glenn Morris  <rgm@gnu.org>
6881         * international/uni-bidi.el, international/uni-category.el:
6882         * international/uni-name.el, international/uni-numeric.el:
6883         Regenerate for Unicode 6.3.0.
6885 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
6887         * net/tramp.el (tramp-methods):
6888         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6889         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6891 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
6893         * progmodes/sh-script.el (sh-font-lock-keywords-var):
6894         Force highlighting text after Summary keyword in doc face for rpm.
6896 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
6898         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6899         available and the word has no wildcards, append one to the grep pattern.
6900         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6901         (ispell-complete-word): Call `ispell-lookup-words' with the value
6902         independent of `ispell-look-p'.
6904 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
6906         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6907         Not after "||".
6908         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6909         their parent.
6911 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6913         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
6914         (ruby-font-lock-keywords): Use backquote.
6916 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
6918         * progmodes/ruby-mode.el (ruby-smie--forward-token)
6919         (ruby-smie--backward-token): Only consider full-string matches.
6921 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
6923         * faces.el (describe-face): Add distant-foreground.
6925 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
6927         * progmodes/ruby-mode.el: Improve encoding comment handling.
6928         (ruby-encoding-magic-comment-style): New option.
6929         (ruby-custom-encoding-magic-comment-template): New option.
6930         (ruby--insert-coding-comment, ruby--detect-encoding):
6931         New functions extracted from `ruby-mode-set-encoding'.
6932         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6933         to control the style of the auto-inserted encoding comment.
6935 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
6937         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6938         Use `smie-backward-sexp' with token argument.
6940 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
6942         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6943         Remove instrumentation code.
6945 2013-11-08  Glenn Morris  <rgm@gnu.org>
6947         * progmodes/autoconf.el (autoconf-mode):
6948         Tweak comment-start-skip.  (Bug#15822)
6950 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6952         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6953         at bobp (bug#15826).
6954         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6956 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
6958         * man.el (Man-start-calling): New macro, extracted from
6959         Man-getpage-in-background.
6960         (Man-getpage-in-background): Use it.
6961         (Man-update-manpage): New command.
6962         (Man-mode-map): Bind it.
6964 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
6966         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6967         of "and", "or", "&&" and "||".
6968         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6969         argument.  Prohibit opening curly brace because it could only be a
6970         block opener in that position.
6971         (ruby-smie--forward-token, ruby-smie--backward-token):
6972         Separate "|" from "&" or "*" going after it.  That can happen in block
6973         arguments.
6974         (ruby-smie--indent-to-stmt): New function, seeks the end of
6975         previous statement or beginning of buffer.
6976         (ruby-smie-rules): Use it.
6977         (ruby-smie-rules): Check if there's a ":" before a curly block
6978         opener candidate; if there is, it's a hash.
6980 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6982         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6983         (cl--block-wrapper): Fix last accidental change.
6985 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
6987         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6988         Instrument, in order to hunt failure on hydra.
6990 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
6992         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6993         malformed bindings form (bug#15814).
6995 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
6997         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6998         "." compared to " @ ".  This incidentally fixes some indentation
6999         examples with "do".
7000         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7001         (ruby-smie-grammar): New tokens: "and" and "or".
7002         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7003         Exclude "and" and "or".  Remove "do" in order to work around token
7004         priorities.
7005         (ruby-smie-rules): Add all infix tokens.  Handle the case of
7006         beginning-of-buffer.
7008 2013-11-06  Glenn Morris  <rgm@gnu.org>
7010         * Makefile.in (setwins_almost, setwins_for_subdirs):
7011         Avoid accidental matches.
7013 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7015         * menu-bar.el (popup-menu): Use key-binding.
7017 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
7019         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7020         menus, support also the menus produced by minor modes.
7021         (Bug#15817)
7023 2013-11-06  Leo Liu  <sdl.web@gmail.com>
7025         * thingatpt.el (thing-at-point-looking-at): Add optional arg
7026         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
7028 2013-11-06  Glenn Morris  <rgm@gnu.org>
7030         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7031         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7032         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7034 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7036         * electric.el (electric-indent-just-newline): New command.
7037         (electric-indent-mode-map): New keymap.
7038         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7039         Re-add :group which weren't redundant.
7041         * electric.el (electric-indent-local-mode): New minor mode.
7042         (electric-indent-functions-without-reindent): New var.
7043         (electric-indent-post-self-insert-function): Use it.
7044         * emacs-lisp/gv.el (buffer-local-value): Add setter.
7046 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
7048         * international/quail.el (quail-help): Be more explicit about the
7049         meaning of the labels shown on the keys.  (Bug#15800)
7051         * startup.el (normal-top-level): Load the subdirs.el files before
7052         setting the locale environment.  (Bug#15805)
7054 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7056         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7057         via arguments so as to get the right ones (bug#15418).
7059         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7061 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
7063         Fix problems found while writing a test suite.
7065         * net/tramp-compat.el (tramp-compat-load): New defun.
7066         * net/tramp.el (tramp-handle-load): Use it.
7068         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7069         "(numberp ok-if-already-exists)" correctly.
7071 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
7073         * international/characters.el (glyphless-char-display-control):
7074         Add usage note.
7076 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
7078         * progmodes/python.el (python-mode):
7079         * progmodes/scheme.el (scheme-mode):
7080         * progmodes/prolog.el (prolog-mode):
7081         * progmodes/ruby-mode.el (ruby-mode):
7082         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7083         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7085 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7087         * rect.el (rectangle--highlight-for-redisplay):
7088         * emacs-lisp/smie.el (smie--next-indent-change):
7089         Use buffer-chars-modified-tick.
7091         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7093         * electric.el (electric-indent-post-self-insert-function):
7094         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7096 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
7098         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7100 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7102         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7103         (bug#15786).
7105 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7107         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
7109         * progmodes/python.el: Fix up last change.
7110         (python-shell--save-temp-file): New function.
7111         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
7112         `string' comes from the current buffer.
7113         (python-shell-send-string-no-output): Remove `msg' arg.
7114         (python--use-fake-loc): New var.
7115         (python-shell-buffer-substring): Obey it.  Try to compensate for the
7116         extra coding line added by python-shell--save-temp-file.
7117         (python-shell-send-region): Use python-shell--save-temp-file and
7118         python-shell-send-file directly.  Add `nomain' argument.
7119         (python-shell-send-buffer): Use python-shell-send-region.
7120         (python-electric-pair-string-delimiter): New function.
7121         (python-mode): Use it.
7123 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
7125         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7126         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7127         environment and decoding all of the default-directory's to here
7128         from command-line.
7129         (command-line): Decode also argv[0].
7131         * loadup.el: Error out if default-directory is a multibyte string
7132         when we are dumping.
7134         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
7136 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
7138         * emacs-lisp/package.el (package-menu-mode)
7139         (package-menu--print-info, package-menu--archive-predicate):
7140         Add Archive column to package list.
7142 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
7144         Fix problems found while writing a test suite.
7146         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7147         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7148         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7149         to nil when running original file name handler.  Otherwise,
7150         there are problems with constructs like "$$FOO".
7152         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7153         for `localname'.
7155 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
7157         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7159         * subr.el (version<, version<=, version=):
7160         Update docstrings with information for snapshot versions.
7162         * helpers.el: New library for misc helper functions.
7163         (hash-table-keys): New function returning a list of hash keys.
7164         (hash-table-values): New function returning a list of hash values.
7166 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
7168         * progmodes/ruby-mode.el (ruby-smie--forward-token)
7169         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7171 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
7173         * textmodes/fill.el (fill-single-char-nobreak-p): New function
7174         checking whether point is after a 1-letter word.
7176 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7178         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7179         Don't infloop when expanding region over `multiline' syntax-type that
7180         begins a line (bug#15778).
7182 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7184         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7185         Make it into a proper minor mode.
7186         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7187         (rectangle-mark-mode-map): New keymap.
7188         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7190 2013-11-04  Glenn Morris  <rgm@gnu.org>
7192         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7194 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7196         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7197         (ruby-smie-rules): Use smie-rule-parent instead.
7199         * emacs-lisp/smie.el (smie-rule-parent): Always call
7200         smie-indent-virtual rather than only for hanging tokens.
7201         (smie--next-indent-change): New helper command.
7203 2013-11-03  Glenn Morris  <rgm@gnu.org>
7205         * Makefile.in (abs_srcdir): Remove.
7206         (emacs): Unset EMACSLOADPATH.
7208 2013-11-02  Glenn Morris  <rgm@gnu.org>
7210         * Makefile.in (EMACS): Use a relative filename.
7211         (abs_top_builddir): Remove.
7212         (custom-deps, finder-data, autoloads): Use --chdir.
7214         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7216         Use relative filenames in TAGS files.
7217         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7218         (lisptagsfiles4, TAGS): Use relative file names.
7219         (TAGS-LISP): Remove.
7220         (maintainer-clean): No more TAGS-LISP file.
7222         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7223         (lisptagsfiles4): Use absolute filenames again.
7224         (TAGS, TAGS-LISP): Not everything needs to run in one line.
7225         Remove all *loaddefs files, not just the first.  Remove esh-groups.
7226         (maintainer-clean): Delete TAGS, TAGS-LISP.
7228 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
7230         * emacs-lisp/package.el (package-version-join):
7231         Recognize snapshot versions.
7233 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
7235         * subr.el (version-regexp-alist): Add support for snapshot versions.
7237 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
7239         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7240         New function, replacement for `smie-rule-parent' for when we want to
7241         skip over our direct parent if it's an assignment token..
7242         (ruby-smie-rules): Use it.
7244 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
7246         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7247         unconditionally.  Remove now unnecessary forward declarations.
7248         Remove XEmacs-specific setup.
7249         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7250         (ruby-font-lock-syntactic-keywords)
7251         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7252         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7253         (ruby-here-doc-end-syntax): Remove.
7254         (ruby-mode): Don't check whether `syntax-propertize-rules' is
7255         defined as function.
7257 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
7259         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7261 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
7263         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7264         table and abbrev table, `define-derived-mode' does that for us
7265         anyway.
7267 2013-11-01  Glenn Morris  <rgm@gnu.org>
7269         * Makefile.in: Remove manual mh-e dependencies (writing .elc
7270         files is atomic for some time, so no parallel compilation issues).
7272 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
7274         * faces.el (face-x-resources): Add :distant-foreground.
7275         (region): Use :distant-foreground for gtk and ns.
7277 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
7279         Allow multiple bibliographies when BibLaTeX is used rather than
7280         BibTeX.
7281         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7282         (reftex-locate-bibliography-files): Us it.
7284 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
7286         * image.el (image-type-header-regexps): Fix the 'pbm' part to
7287         allow comments in pbm files.
7289         * term/w32-win.el (dynamic-library-alist): Support newer versions
7290         of libjpeg starting with v7: look only for the DLL from the
7291         version against which Emacs was built.
7292         Support versions of libpng beyond 1.4.x.
7293         Support libtiff v4.x.
7295 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
7297         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7298         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7299         Add property :safe.
7300         (ruby-deep-arglist): Add property :type.
7302 2013-10-31  Glenn Morris  <rgm@gnu.org>
7304         * Makefile.in (custom-deps, finder-data): No need to setq the target
7305         variables, we are in the right directory and the defaults work fine.
7307 2013-10-30  Glenn Morris  <rgm@gnu.org>
7309         * Makefile.in (autoloads): Do not use abs_lisp.
7311         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7312         `newline' does not respect `standard-output', so use `princ'.
7314 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
7316         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
7317         * buff-menu.el (Buffer-menu--unmark): New function.
7318         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7320 2013-10-30  Glenn Morris  <rgm@gnu.org>
7322         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7324         * emacs-lisp/package.el (lm-homepage): Declare.
7326         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7327         Fix doc typos.
7329         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7331         * Makefile.in (finder-data, autoloads, update-subdirs)
7332         (compile-main, compile-clean, compile-always, bootstrap-clean):
7333         Check return value of cd.
7334         (compile-calc): Remove.
7336 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7338         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7340         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7341         (byte-compile-and-folded): New function.
7342         (=, <, >, <=, >=): Use it.
7344         * dos-w32.el (minibuffer-history-case-insensitive-variables)
7345         (path-separator, null-device, buffer-file-coding-system)
7346         (lpr-headers-switches): Check system-type before modifying them.
7347         (find-buffer-file-type-coding-system): Mark obsolete.
7348         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7349         find-file-not-found-set-buffer-file-coding-system.
7350         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7351         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7352         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7353         (w32-direct-print-region-helper, w32-direct-print-region-function)
7354         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7355         * startup.el (normal-top-level-add-subdirs-to-load-path):
7356         * ps-print.el (ps-print-region-function):
7357         * lpr.el (print-region-function): Use new name.
7359         * subr.el (custom-declare-variable-early): Remove function.
7360         (custom-declare-variable-list): Remove var.
7361         (error, user-error): Remove `while' loop.
7362         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7363         (user-emacs-directory-warning, locate-user-emacs-file):
7364         Move to files.el.
7365         * simple.el (read-quoted-char-radix, read-quoted-char):
7366         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7367         Move from subr.el.
7368         * custom.el (custom-declare-variable-list): Don't process
7369         custom-declare-variable-list.
7371         * progmodes/python.el (python-shell-get-buffer): New function.
7372         (python-shell-get-process): Use it.
7373         (python-shell-send-string): Always use utf-8 and add a cookie to tell
7374         Python which encoding was used.  Don't split-string since we only care
7375         about the first line.  Return the temp-file, if applicable.
7376         (python-shell-send-region): Tell compile.el how to turn locations in
7377         the temp-file into locations in the source buffer.
7379 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7381         * subr.el (undefined): Add missing behavior from the C code for
7382         unbound keys.
7384         * rect.el: Use lexical-binding.  Add new rectangular region support.
7385         (rectangle-mark): New command.
7386         (rectangle--region): New var.
7387         (deactivate-mark-hook): Reset rectangle--region.
7388         (rectangle--extract-region, rectangle--insert-for-yank)
7389         (rectangle--highlight-for-redisplay)
7390         (rectangle--unhighlight-for-redisplay): New functions.
7391         (region-extract-function, redisplay-unhighlight-region-function)
7392         (redisplay-highlight-region-function): Use them to handle
7393         rectangular region.
7394         * simple.el (region-extract-function): New var.
7395         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7396         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7397         (kill-region): Replace obsolete `yank-handler' arg with `region'.
7398         (copy-region-as-kill, kill-ring-save): Add `region' argument.
7399         (redisplay-unhighlight-region-function)
7400         (redisplay-highlight-region-function): New vars.
7401         (redisplay--update-region-highlight): New function.
7402         (pre-redisplay-function): Use it.
7403         (exchange-point-and-mark): Don't deactivate the mark before
7404         reactivate-it anyway.
7405         * comint.el (comint-kill-region): Remove yank-handler argument.
7406         * delsel.el (delete-backward-char, backward-delete-char-untabify)
7407         (delete-char): Remove property, since it's now part of their
7408         default behavior.
7409         (self-insert-iso): Remove property since this command doesn't exist.
7411         * emacs-lisp/package.el (package--download-one-archive)
7412         (describe-package-1): Don't query the user about final newline.
7414 2013-10-29  Daniel Colascione  <dancol@dancol.org>
7416         * net/tramp.el (tramp-methods): Document new functionality.
7417         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7418         tramp-hostname-checker if method provides one instead of scanning
7419         argument list for "%h" to decide hostname acceptability.
7421 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
7423         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7424         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7425         Handle COPY-CONTENTS.  (Bug#15737)
7427 2013-10-28  Daiki Ueno  <ueno@gnu.org>
7429         * epa-file.el
7430         (epa-file-cache-passphrase-for-symmetric-encryption):
7431         Document that this option has no effect with GnuPG 2.0 (bug#15552).
7433 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
7435         * image.el (defimage, image-load-path): Doc fixes.
7437 2013-10-27  Alan Mackenzie  <acm@muc.de>
7439         Indent statements in macros following "##" correctly.
7440         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7441         Modify the "#" arm of a cond form to handle "#" and "##" operators.
7443 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7445         * linum.el (linum-update-window): Fix boundary test (bug#13446).
7447 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
7449         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7450         after `=' is probably a new expression.
7452 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7454         * man.el (man-imenu-title): New option.
7455         (Man-mode-map): Add menu.  (Bug#15722)
7456         (Man-mode): Add imenu to menu.
7458 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
7460         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7461         specific in what the first arg can be: a non-keyword word,
7462         string/regexp/percent literal opener, opening paren, or unary
7463         operator followed directly by word.
7465 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7467         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7468         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7469         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7470         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7471         Remove vars, they do not apply any more.
7472         (prolog-mode-abbrev-table): Remove redundant declaration.
7473         (prolog-upper-case-string, prolog-lower-case-string): Remove.
7474         (prolog-use-smie): Remove.
7475         (prolog-smie-rules): Add indentation rule for the if-then-else layout
7476         supported by prolog-electric-if-then-else-flag.
7477         (prolog-mode-variables, prolog-menu): Use setq-local.
7478         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7479         Remove binding to `Backspace' since this key doesn't exist anyway.
7480         Remove bindings for electric self-inserting keys.
7481         (prog-mode): Assume it's defined.
7482         (prolog-post-self-insert): New function.
7483         (prolog-mode): Use it.
7484         (prolog-indent-line, prolog-indent-level)
7485         (prolog-find-indent-of-matching-paren)
7486         (prolog-indentation-level-of-line, prolog-goto-comment-column)
7487         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7488         (prolog-goto-next-paren, prolog-in-string-or-comment)
7489         (prolog-tokenize, prolog-inside-mline-comment)
7490         (prolog-find-start-of-mline-comment): Remove functions.
7491         (prolog-find-unmatched-paren, prolog-clause-end)
7492         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7493         (prolog-electric--if-then-else): Rename from
7494         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7495         (prolog-tokenize-searchkey): Remove const.
7496         (prolog-clause-info): Use forward-sexp.
7497         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7498         (prolog-electric-if-then-else): Remove commands.
7499         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7500         for use in post-self-insert-hook.
7501         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7502         for use in post-self-insert-hook.
7503         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7504         for use in post-self-insert-hook.
7505         (prolog-electric--underscore): Rename from prolog-electric--underscore;
7506         adapt it for use in post-self-insert-hook.
7508 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
7510         * emacs-lisp/ert.el (ert-run-tests-interactively):
7511         Use `completing-read'.  (Bug#9756)
7513 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
7515         * simple.el (line-move): Call line-move-1 instead of
7516         line-move-visual when the current window hscroll is zero, but
7517         temporary-goal-column indicates we will need to hscroll as result
7518         of the movement.  (Bug#15712)
7520 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
7522         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7523         capitalization.  Use :visible instead of :active.
7524         Fix `ruby-indent-exp' reference.  Add menu items for the generic
7525         commands that are used with SMIE.
7526         (ruby-do-end-to-brace): Insert space after `{'.
7528 2013-10-25  John Anthony  <john@jo.hnanthony.com>
7530         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
7532         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
7534 2013-10-25  Glenn Morris  <rgm@gnu.org>
7536         * vc/vc.el (vc-print-log): Don't use a working revision unless
7537         one was explicitly specified.  (Bug#15322)
7539 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7541         * subr.el (add-to-list): Preserve return value in compiler-macro
7542         (bug#15692).
7544 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7546         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7547         result.  Ask user to retry using '-all' flag.  (Bug#15701)
7549 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7551         * emacs-lisp/smie.el: New smie-config system.
7552         (smie-config): New defcustom.
7553         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7554         (smie-config-guess, smie-config-save): New commands.
7555         (smie-config--mode-local, smie-config--buffer-local)
7556         (smie-config--trace, smie-config--modefuns): New vars.
7557         (smie-config--advice, smie-config--mode-hook)
7558         (smie-config--setter, smie-config-local, smie-config--get-trace)
7559         (smie-config--guess-value, smie-config--guess): New functions.
7560         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7561         text properties.  Treat "string fence" syntax like string syntax.
7563         * progmodes/sh-script.el (sh-use-smie): Change default.
7564         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7565         (sh-var-value): Simplify by CSE.
7566         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7567         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7568         is used.
7569         (sh-guess-basic-offset): Use cl-incf.
7570         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7572 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
7574         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7575         (bug#15699).
7577 2013-10-24  Glenn Morris  <rgm@gnu.org>
7579         * Makefile.in (abs_top_srcdir): Remove.
7580         (update-subdirs): Use relative path to update-subdirs.
7582 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
7584         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7585         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7586         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7587         Call unmsys--file-name before expand-file-name, not after it.
7589 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
7591         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7592         (ert-test-skipped): New error.
7593         (ert-skip, ert-stats-skipped): New defuns.
7594         (ert--skip-unless): New macro.
7595         (ert-test-skipped): New struct.
7596         (ert--run-test-debugger, ert-test-result-type-p)
7597         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7598         (ert--stats-set-test-and-result, ert-char-for-test-result)
7599         (ert-string-for-test-result, ert-run-tests-batch)
7600         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7601         Handle skipped tests.  (Bug#9803)
7603 2013-10-24  Glenn Morris  <rgm@gnu.org>
7605         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7607         * Makefile.in (abs_top_srcdir): New, set by configure.
7608         (update-subdirs): Correct build-aux location.
7610 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
7612         * vc/vc.el (vc-print-root-log): Always set `default-directory'
7613         value, whether we could auto-deduce `backend', or not.
7615         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7616         with parameters" example.  Simplify the "is it block or is it
7617         hash" check, but also make it more thorough.
7619 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
7621         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
7623 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7625         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7626         { if it is hanging.
7628         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7629         :before ";".
7631 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
7633         * progmodes/compile.el (compilation-directory-matcher)
7634         (compilation-page-delimiter):
7635         Support GNU Make-4.0 directory quoting.  (Bug#15678)
7637 2013-10-23  Leo Liu  <sdl.web@gmail.com>
7639         * ido.el (ido-tidy): Handle read-only text.
7641 2013-10-23  Glenn Morris  <rgm@gnu.org>
7643         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7644         (emacs, compile, compile-always):
7645         Quote entities that might contain whitespace.
7646         (custom-deps, finder-data, autoloads): Use abs_lisp.
7647         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7648         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7649         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7651 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
7653         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7654         Use `following-char'.
7656 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7658         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7659         * progmodes/ruby-mode.el (ruby-smie-rules):
7660         Remove corresponding workaround.  Fix indentation rule of ";" so it
7661         also applies when ";" is the parent.
7663 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
7665         * frame.el (display-screens, display-pixel-height)
7666         (display-pixel-width, display-mm-width, display-backing-store)
7667         (display-save-under, display-planes, display-color-cells)
7668         (display-visual-class, display-monitor-attributes-list):
7669         Mention the optional ‘display’ argument in doc strings.
7671 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
7673         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7674         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
7676 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
7678         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7679         TODO.  Add "." after " @ ".
7680         (ruby-smie--at-dot-call): New function.  Checks if point at method
7681         call with explicit target.
7682         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7683         to the method name tokens when it precedes them.
7684         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7685         (ruby-smie-rules): Add rule for indentation before and after "."
7686         token.
7688 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7690         * textmodes/remember.el (remember-diary-extract-entries):
7691         Avoid add-to-list.
7693         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7694         an instruction.
7696 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
7698         * progmodes/ruby-mode.el (ruby-smie-grammar):
7699         Add (almost) all infix operators.
7700         (ruby-smie--implicit-semi-p): Add new operator chars.
7702         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7703         `smie-down-list'.
7704         (ruby-smie--args-separator-p): Check that there's no newline
7705         between method call and its arguments.
7707 2013-10-20  Alan Mackenzie  <acm@muc.de>
7709         Allow comma separated lists after Java "implements".
7711         * progmodes/cc-engine.el (c-backward-over-enum-header):
7712         Parse commas.
7713         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7714         from a "disallowed" list in enum fontification.
7716 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
7718         * startup.el (default-frame-background-mode): Remove unused defvar.
7720         * progmodes/verilog-mode.el (verilog-mode): Don't set
7721         comment-indent-function globally.
7723 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
7725         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7726         Move Info menu item creation to ns-win.el.
7728         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7729         in menu bar.
7731         * menu-bar.el: Move GNUstep specific menus...
7733         * term/ns-win.el (ns-initialize-window-system): ... to here.
7735 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7737         * simple.el (newline): Only run post-self-insert-hook when
7738         called interactively.
7740 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
7742         * icomplete.el (icomplete-with-completion-tables): Add :version.
7744 2013-10-19  Alan Mackenzie  <acm@muc.de>
7746         Fix fontification bugs with constructors and const.
7748         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7749         CASE 2) Remove the check for the absence of a suffix construct
7750         after a function declaration with only types (no identifiers) in
7751         the parentheses.  Also, accept a function declaration with just a
7752         type inside the parentheses, if this type can be positively
7753         recognised as such, or if a prefix keyword like "explicit" nails
7754         down the construct as a declaration.
7756 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
7758         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7759         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
7760         the problem whereby selecting a menu item that leads to a
7761         minibuffer prompt moves the cursor out of the minibuffer window,
7762         making it hard to type at the prompt.  Suggested by Stefan Monnier
7763         <monnier@iro.umontreal.ca>.
7765 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
7767         * menu-bar.el: Don't make Services menu.
7769 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7771         * ffap.el: Handle "/usr/include/c++/<version>" directories.
7772         (ffap-alist): Use ffap-c++-mode for c++-mode.
7773         (ffap-c++-path): New variable.
7774         (ffap-c++-mode): New function.
7776 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
7778         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
7780 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
7782         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7783         introduced on 2013-09-08, which results in an infinite loop
7784         requesting a password.
7786 2013-10-18  Glenn Morris  <rgm@gnu.org>
7788         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7790 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
7792         Sync with upstream verilog-mode revision 1a6ecec7.
7793         * progmodes/verilog-mode.el (verilog-mode-version): Update.
7794         (verilog-mode-release-date): Remove.
7795         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7796         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7797         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7798         (verilog-auto-tieoff-ignore-regexp)
7799         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7800         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7801         (verilog-signals-with, verilog-dir-cache-preserving)
7802         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7803         Doc fixes.
7804         (verilog-case-fold): New option, to control case folding in
7805         regexp searches, bug597.
7806         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7807         (verilog-string-match-fold, verilog-in-paren-count)
7808         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7809         (verilog-at-close-struct-p): New functions.
7810         (verilog-beg-block-re-ordered, verilog-extended-case-re)
7811         (verilog-forward-sexp, verilog-set-auto-endcomments)
7812         (verilog-leap-to-case-head): Handle "unique0" case.
7813         (verilog-in-constraint-re): New constant.
7814         (verilog-keywords, verilog-type-font-keywords):
7815         Add some SystemVerilog 1800-2012 keywords.
7816         (verilog-label-be): Remove unimplemented argument, bug669.
7817         (verilog-batch-execute-func): When batch expanding clear
7818         create-lockfiles to prevent spurious user locks when a file ends
7819         up not changing.
7820         (verilog-calculate-indent, verilog-calc-1)
7821         (verilog-at-close-constraint-p, verilog-at-constraint-p)
7822         (verilog-do-indent): Fix indentation of nested constraints
7823         and structures.
7824         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7825         (verilog-auto-inst-param): Use verilog-string-match-fold.
7826         (verilog-read-inst-module-matcher):
7827         Fix AUTOINST on gate primitives with #1.
7828         (verilog-read-decls): Fix double-declaring user-defined typed signals.
7829         Reads all user-defined typed variables.
7830         (verilog-read-defines): Fix reading definitions inside comments, bug647.
7831         (verilog-signals-matching-regexp)
7832         (verilog-signals-not-matching-regexp, verilog-auto):
7833         Respect verilog-case-fold.
7834         (verilog-diff-report): Fix line count.
7835         (verilog-auto-assign-modport): Remove unused local `modi'.
7836         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7837         better handle multidimensional arrays.
7838         Fix packed array ports misadding bit index in AUTOINST, bug637.
7839         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7840         to not double-declare existing outputs and inputs, respectively.
7841         (verilog-template-map): Bind U to verilog-sk-uvm-component.
7842         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7843         (verilog-sk-uvm-component): New skeleton.
7844         (verilog-submit-bug-report): Add verilog-case-fold,
7845         remove verilog-mode-release-date.
7847 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
7849         * subr.el (sit-for): Call (input-pending-p t) so as to behave
7850         as before.
7852 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
7854         * textmodes/remember.el (remember): Set buffer-offer-save in
7855         remember buffers (bug#13566).
7857 2013-10-18  Daniel Colascione  <dancol@dancol.org>
7859         When evaluating forms in ielm, direct standard output to ielm
7860         buffer.  Add new ielm-return-for-effect command.  Remove trailing
7861         whitespace throughout.
7863         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7864         (ielm-return-for-effect): New command.
7865         (ielm-send-input): Accept optional `for-effect' parameter.
7866         (ielm-eval-input): Accept optional `for-effect' parameter.
7867         Bind `standard-output' to stream we create using
7868         `ielm-standard-output-impl'.  Suppress printing result when
7869         `for-effect'.
7870         (ielm-standard-output-impl): New function.
7871         (inferior-emacs-lisp-mode): Explain new features in documentation.
7873 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
7875         Code cleanup.
7877         * net/tramp.el (tramp-debug-message): Do not check for connection
7878         buffer.
7879         (tramp-message): Use "vector" connection property.
7881         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7882         (tramp-equal-remote, tramp-eshell-directory-change)
7883         * net/tramp-adb.el (tramp-adb-handle-copy-file)
7884         (tramp-adb-handle-rename-file)
7885         * net/tramp-cmds.el (tramp-list-remote-buffers)
7886         (tramp-cleanup-connection, tramp-cleanup-this-connection)
7887         * net/tramp-compat.el (tramp-compat-process-running-p)
7888         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7889         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7890         (tramp-gvfs-handle-rename-file)
7891         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7892         (tramp-set-file-uid-gid)
7893         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7894         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7895         of `file-remote-p'.
7897         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7898         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7899         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7900         (tramp-gw-open-network-stream): Suppress unrelated traces.
7902         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7903         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7904         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7905         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7906         connection property.
7908         * net/tramp-cache.el (top): Suppress traces when reading
7909         persistency file.
7911         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7912         Refactor common code.  Improve debug message.
7913         (tramp-maybe-open-connection)
7914         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7915         connection buffer too early.
7917         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7918         from `tramp-smb-actions-with-acl'.
7919         (tramp-smb-actions-set-acl): New defconst.
7920         (tramp-smb-handle-copy-directory)
7921         (tramp-smb-action-get-acl): New defun, renamed from
7922         `tramp-smb-action-with-acl'.
7923         (tramp-smb-action-set-acl): New defun.
7924         (tramp-smb-handle-set-file-acl): Rewrite.
7926 2013-10-17  Glenn Morris  <rgm@gnu.org>
7928         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
7930 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7932         * skeleton.el (skeleton-newline): Remove.
7933         (skeleton-internal-1): Use (insert "\n") instead.
7935         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7936         let-bindings.
7938         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7939         forward-sexp-function while we redo its job (bug#15613).
7941 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
7943         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7944         represented by lists.
7946 2013-10-16  Glenn Morris  <rgm@gnu.org>
7948         * tmm.el (tmm--history): New dynamic variable.
7949         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
7951 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
7953         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7954         (tramp-smb-errors): Add error messages.
7955         (tramp-smb-actions-with-acl): New defconst.
7956         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7957         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7958         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7959         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7960         (tramp-smb-get-stat-capability): Fix tests.
7962 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
7964         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7965         (bug#15580).
7967 2013-10-16  Glenn Morris  <rgm@gnu.org>
7969         * ansi-color.el (ansi-color-drop-regexp):
7970         Add 1J, 1K, 2K.  (Bug#15617)
7972         * files.el (hack-local-variables--warned-lexical): New.
7973         (hack-local-variables):
7974         Warn about misplaced lexical-binding.  (Bug#15616)
7976         * net/eww.el (eww-render): Always set eww-current-url,
7977         and update header line.  (Bug#15622)
7978         (eww-display-html): ... Rather than just doing it here.
7980 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
7982         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7983         menu navigations commands.
7985 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
7987         * progmodes/subword.el (subword-capitalize): Be careful when
7988         the search for [[:alpha:]] fails (bug#15580).
7990 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
7992         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7993         to commands that scroll the menu.
7995 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
7997         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7998         Handle methods ending with `?' and `!'.
8000 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
8002         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8003         `japanese-cp932' to `cp932' to fix the problem where saving a
8004         source file written in Shift_JIS twice would end up having
8005         `coding: japanese-cp932' which Ruby could not recognize.
8006         (ruby-mode-set-encoding): Add support for encodings mapped to nil
8007         in `ruby-encoding-map'.
8008         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8009         doesn't need to be explicitly declared in magic comment.
8010         (ruby-encoding-map): Add type declaration for better customize UI.
8012 2013-10-13  Glenn Morris  <rgm@gnu.org>
8014         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8015         Occur buffers are read-only.  http://bugs.debian.org/720775
8017         * emacs-lisp/authors.el (authors-fixed-entries):
8018         Comment out old alpha stuff.
8020 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
8022         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8023         to `after-save-hook' instead of `before-save-hook'.
8024         (ruby-mode-set-encoding): Use the value of coding system used to
8025         write the file.  Call `basic-save-buffer-1' after modifying the
8026         buffer.
8028 2013-10-13  Alan Mackenzie  <acm@muc.de>
8030         Fix indentation/fontification of Java enum with
8031         "implements"/generic.
8033         * progmodes/cc-engine.el (c-backward-over-enum-header):
8034         Extracted from the three other places and enhanced to handle generics.
8035         (c-inside-bracelist-p): Uses new function above.
8036         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8037         function above.
8038         (c-font-lock-enum-tail): Uses new function above.
8040 2013-10-13  Kenichi Handa  <handa@gnu.org>
8042         * international/mule-cmds.el (select-safe-coding-system): Remove a
8043         superfluous condition in chekcing whether a coding system is safe
8044         or not.
8046 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
8048         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
8050 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
8052         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
8054 2013-10-13  Glenn Morris  <rgm@gnu.org>
8056         * menu-bar.el (menu-bar-update-buffers):
8057         Unify Buffers menu prompt string.  (Bug#15576)
8059         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
8061         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8062         Add some entries.
8063         (authors-fixed-entries): Use accented form of name.
8065 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8067         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8068         method calls (bug#15594).
8069         (ruby-smie--args-separator-p): New function.
8070         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8071         recognize paren-free method calls.
8073         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8074         internals of universal-argument.
8076 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
8078         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8079         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8080         dropped menu on second mouse click on the menu bar.
8082 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8084         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8085         (explicit-shell-file-name): Declare.
8086         (sh--vars-before-point, sh--cmd-completion-table): New functions.
8087         (sh-completion-at-point-function): New function.
8088         (sh-mode): Use it.
8089         (sh-smie--keyword-p): Remove unused argument.
8090         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8091         vars.
8092         (sh-set-shell): Always setup SMIE, even if we use the
8093         old indentation code.
8095 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
8097         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8098         cases of ? and =.
8099         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
8100         predicate would return nil are almost non-existent.
8101         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8103         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8104         cache also after commands that modify the buffer but don't move
8105         point.
8107 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8109         * env.el (substitute-env-in-file-name): New function.
8110         (substitute-env-vars): Extend the meaning of the optional arg.
8112 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
8114         * term/w32-win.el (dynamic-library-alist): Define separate lists
8115         of GIF DLLs for versions before and after 5.0.0 of giflib.
8116         (Bug#15531)
8118 2013-10-10  João Távora  <joaotavora@gmail.com>
8120         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8121         not locked, use last revision and current source as
8122         defaults.  (Bug#15569)
8124 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
8126         * menu-bar.el (menu-bar-open): Don't use popup-menu if
8127         menu-bar is hidden.
8129 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
8131         * window.el (pop-to-buffer-same-window): Fix doc-string.
8132         (Bug#15492)
8134 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8136         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8138 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
8140         * calendar/icalendar.el (icalendar-import-file):
8141         Fix interactive spec.  (Bug#15482)
8143 2013-10-10  Glenn Morris  <rgm@gnu.org>
8145         * desktop.el (desktop-save): Default to saving in .emacs.d,
8146         since PWD is no longer in desktop-path by default.  (Bug#15319)
8148         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8149         now that text mode has a menu with the same entry.
8150         (menu-bar-text-mode-auto-fill): Remove now unused func.
8151         * textmodes/text-mode.el (text-mode-map):
8152         Use auto-fill help text from menu-bar.el.
8154 2013-10-10  John Anthony  <john@jo.hnanthony.com>
8156         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
8158 2013-10-09  Juri Linkov  <juri@jurta.org>
8160         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8161         instead of this-command-keys.  Add universal-argument-more and
8162         universal-argument-minus to the list of prefix commands.  (Bug#15568)
8164 2013-10-09  Glenn Morris  <rgm@gnu.org>
8166         * vc/vc-svn.el (vc-svn-create-repo):
8167         Expand paths in file://... url.  (Bug#15446)
8169         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8170         Add some entries.
8171         (authors): Remove unused local variables.
8173 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8175         * profiler.el: Create a more coherent calltree from partial backtraces.
8176         (profiler-format): Hide the tail with `invisible' so that C-s can still
8177         find the hidden elements.
8178         (profiler-calltree-depth): Don't recurse so enthusiastically.
8179         (profiler-function-equal): New hash-table-test.
8180         (profiler-calltree-build-unified): New function.
8181         (profiler-calltree-build): Use it.
8182         (profiler-report-make-name-part): Indent the calltree less.
8183         (profiler-report-mode): Add visibility specs for profiler-format.
8184         (profiler-report-expand-entry, profiler-report-toggle-entry):
8185         Expand the whole subtree when provided with a prefix arg.
8187 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
8189         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8190         iuwu-mod token.
8191         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8192         hanging iuwu-mod token.
8193         (ruby-smie--forward-token): Do not include a dot after a token in
8194         that token.
8195         (ruby-smie--backward-token): Likewise.
8197 2013-10-08  Juri Linkov  <juri@jurta.org>
8199         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8200         to isearch-other-control-char.
8201         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8202         and isearch-post-command-hook to post-command-hook.
8203         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8204         and isearch-post-command-hook from post-command-hook.
8205         (isearch-unread-key-sequence)
8206         (isearch-reread-key-sequence-naturally)
8207         (isearch-lookup-scroll-key, isearch-other-control-char)
8208         (isearch-other-meta-char): Remove functions.
8209         (isearch-pre-command-hook, isearch-post-command-hook):
8210         New functions based on isearch-other-meta-char rewritten
8211         relying on the new behavior of overriding-terminal-local-map
8212         that does not replace the local keymaps any more.  (Bug#15200)
8214 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
8216         Support menus on text-mode terminals.
8217         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8218         functionality.
8220         * tooltip.el (tooltip-mode): Don't error out on TTYs.
8222         * menu-bar.el (popup-menu, popup-menu-normalize-position):
8223         Move here from mouse.el.
8224         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8225         and arrow keys.
8226         (tty-menu-navigation-map): New map for TTY menu navigation.
8228         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8230         * frame.el (display-mouse-p): Report text-mode mouse as available
8231         on w32.
8232         (display-popup-menus-p): Report availability if mouse is
8233         available; don't condition on window-system.
8235         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8236         (tty-menu-selected-face): New faces.
8238 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8240         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8241         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8242         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8243         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8244         New constants.
8245         (lisp-mode-variables): New `elisp' argument.
8246         (emacs-lisp-mode): Use it.
8247         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8248         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8250         * indent.el: Use lexical-binding.
8251         (indent-region): Add progress reporter.
8252         (tab-stop-list): Make it implicitly extend to infinity by repeating the
8253         last step.
8254         (indent--next-tab-stop): New function to implement this behavior.
8255         (tab-to-tab-stop, move-to-tab-stop): Use it.
8257 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
8259         * indent.el (indent-rigidly--current-indentation): New function.
8260         (indent-rigidly-map): New var.
8261         (indent-rigidly): Use it to provide interactive mode (bug#8196).
8263 2013-10-08  Bastien Guerry  <bzg@gnu.org>
8265         * register.el (insert-register): Fix 2013-10-07 change.
8267 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8269         * progmodes/perl-mode.el: Use lexical-binding.
8270         Remove redundant :group args.
8271         (perl-nochange): Change default to be closer to other major modes's
8272         standard behavior.
8273         (perl-indent-line): Don't consider text on current line as a
8274         valid beginning of function from which to indent.
8276         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8277         with more than one argument (bug#15538).
8279         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8281         * vc/pcvs.el: Use lexical-binding.
8282         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8283         environment of `eval'.
8284         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8285         than a list of expressions.  Adjust callers.
8286         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8288 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
8290         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8291         case of the dot in a chained method call being on the following line.
8293 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8295         * electric.el (electric-indent-inhibit): New var.
8296         (electric-indent-post-self-insert-function): Use it.
8297         * progmodes/python.el (python-mode): Set it.
8299         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8300         open braces.
8302         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8304         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8305         (css-mode): Use electric-indent-chars.
8307         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8308         (font-lock-beg, font-lock-end): Move before first use.
8309         (nxml-mode): Use syntax-propertize-function.
8310         (nxml-after-change, nxml-after-change1): Adjust accordingly.
8311         (nxml-extend-after-change-region): Remove.
8312         * nxml/xmltok.el: Use lexical-binding.
8313         (xmltok-save): Use `declare'.
8314         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8315         * nxml/nxml-util.el: Use lexical-binding.
8316         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8317         Use `declare'.
8318         * nxml/nxml-ns.el: Use lexical-binding.
8319         (nxml-ns-save): Use `declare'.
8320         (nxml-ns-prefixes-for): Avoid add-to-list.
8321         * nxml/rng-match.el: Use lexical-binding.
8322         (rng--ipattern): Use cl-defstruct.
8323         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8324         (rng-cons-group-after, rng-subst-group-after)
8325         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8326         Use closures instead of `(lambda...).
8328 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
8330         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8331         of BEG and END.
8333         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8334         Use `tramp-handle-insert-file-contents'.
8335         (tramp-gvfs-handle-insert-file-contents): Remove function.
8337         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8338         Use `save-restriction' in order to keep markers.
8340         * net/trampver.el: Update release number.
8342 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8344         * progmodes/compile.el (compilation-parse-errors):
8345         Use compilation--put-prop.
8346         (compilation--ensure-parse): Check compilation-multiline.
8348         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8350         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8351         lexical-binding.
8353         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8355         * progmodes/ruby-mode.el: Fix recently added tests.
8356         (ruby-smie-grammar): Add - and +.
8357         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8358         (ruby-smie--backward-id): New functions.
8359         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8360         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
8361         any more.
8363 2013-10-07  Leo Liu  <sdl.web@gmail.com>
8365         * register.el (register-preview-delay)
8366         (register-preview-functions): New variables.
8367         (register-read-with-preview, register-preview)
8368         (register-describe-oneline): New functions.
8369         (point-to-register, window-configuration-to-register)
8370         (frame-configuration-to-register, jump-to-register)
8371         (number-to-register, view-register, insert-register)
8372         (copy-to-register, append-to-register, prepend-to-register)
8373         (copy-rectangle-to-register): Use register-read-with-preview to
8374         read register.  (Bug#15525)
8376 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
8378         * net/network-stream.el (network-stream-open-starttls): Don't add
8379         --insecure if it's already present, because that gnutls-cli
8380         rejects getting that parameter twice.
8382 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
8384         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8385         keyword, too.
8387 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
8389         * newcomment.el (comment-use-global-state): Change default value
8390         to t, mark obsolete (Bug#15251).
8391         (comment-beginning): In addition to `comment-to-syntax', check the
8392         value of `comment-use-global-state'.
8394 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8396         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8397         (ruby-comment-column): Follow the global default, by default.
8398         (ruby-smie-grammar): Add assignment syntax.
8399         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8400         open-paren, a comma, or a \.
8401         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8402         and line continuations.
8403         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8404         followed by implicit semi-colons.  Add rule for string concatenation
8405         and for indentation at BOB.
8406         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8408         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8409         calling next-sexp, since next-token may have skipped chars which
8410         next-sexp doesn't know should be skipped!
8412 2013-10-05  Leo Liu  <sdl.web@gmail.com>
8414         * progmodes/octave.el (octave-send-region):
8415         Call compilation-forget-errors.
8417 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
8419         * vc/vc-svn.el (vc-svn-find-admin-dir):
8420         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8421         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8422         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8423         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8425 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8427         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8429 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8431         * subr.el (read-passwd): Hide chars even when called within a context
8432         where after-change-functions is disabled (bug#15501).
8433         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8434         until we removed ourself from overriding-terminal-local-map.
8436 2013-10-04  Leo Liu  <sdl.web@gmail.com>
8438         * progmodes/octave.el (inferior-octave-mode):
8439         Call compilation-forget-errors.
8441 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
8443         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8445 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
8447         * net/secrets.el (secrets-create-collection): Add optional
8448         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
8449         dbus-call-method argument.  (Bug#15516)
8451 2013-10-04  Leo Liu  <sdl.web@gmail.com>
8453         * progmodes/octave.el (inferior-octave-error-regexp-alist)
8454         (inferior-octave-compilation-font-lock-keywords): New variables.
8455         (compilation-error-regexp-alist)
8456         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8457         (inferior-octave-mode): Use compilation-shell-minor-mode.
8459 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
8461         * minibuffer.el (completion--replace): Be careful that `end' might be
8462         a marker.
8464 2013-10-03  Daiki Ueno  <ueno@gnu.org>
8466         Add support for package signature checking.
8467         * emacs-lisp/package.el (url-http-file-exists-p)
8468         (epg-make-context, epg-context-set-home-directory)
8469         (epg-verify-string, epg-context-result-for)
8470         (epg-signature-status, epg-signature-to-string)
8471         (epg-check-configuration, epg-configuration)
8472         (epg-import-keys-from-file): Declare.
8473         (package-check-signature): New user option.
8474         (package-unsigned-archives): New user option.
8475         (package-desc): Add `signed' field.
8476         (package-load-descriptor): Set `signed' field if .signed file exists.
8477         (package--archive-file-exists-p): New function.
8478         (package--check-signature): New function.
8479         (package-install-from-archive): Check package signature.
8480         (package--download-one-archive): Check archive signature.
8481         (package-delete): Remove .signed file.
8482         (package-import-keyring): New command.
8483         (package-refresh-contents): Import default keyring.
8484         (package-desc-status): Add "unsigned" status.
8485         (describe-package-1, package-menu--print-info)
8486         (package-menu-mark-delete, package-menu--find-upgrades)
8487         (package-menu--status-predicate): Support "unsigned" status.
8489 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8491         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8492         the new compilation scheme using the new byte-codes.
8494         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8495         (byte-pophandler): New byte codes.
8496         (byte-goto-ops): Adjust accordingly.
8497         (byte-compile--use-old-handlers): New var.
8498         (byte-compile-catch): Use new byte codes depending on
8499         byte-compile--use-old-handlers.
8500         (byte-compile-condition-case--old): Rename from
8501         byte-compile-condition-case.
8502         (byte-compile-condition-case--new): New function.
8503         (byte-compile-condition-case): New function that dispatches depending
8504         on byte-compile--use-old-handlers.
8505         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8506         when we can.
8508         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8509         Optimize under `condition-case' and `catch' if
8510         byte-compile--use-old-handlers is nil.
8511         (disassemble-offset): Handle new bytecodes.
8513 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8515         * subr.el (error): Use `declare'.
8516         (decode-char, encode-char): Use advertised-calling-convention instead
8517         of the docstring to discourage use of the `restriction' arg.
8519 2013-10-03  Daiki Ueno  <ueno@gnu.org>
8521         * epg.el (epg-verify-file): Add a comment saying that it does not
8522         notify verification error as a return value nor a signal.
8523         (epg-verify-string): Ditto.
8525 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
8527         * progmodes/compile.el (compilation-start): Try globbing the arg to
8528         `cd' (bug#15417).
8530 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
8532         Sync with Tramp 2.2.8.
8534         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8535         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8536         * net/trampver.el: Update release number.
8538 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
8540         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8541         and default-process-coding-system for darwin only.
8543 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8545         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8547 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
8549         * vc/vc-git.el (vc-git-grep): Disable pager.
8551 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
8553         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8554         Use :url instead of :homepage, as per
8555         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8557         * newcomment.el (comment-beginning): When `comment-use-syntax' is
8558         non-nil, use `syntax-ppss' (Bug#15251).
8560 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8562         * progmodes/octave.el (inferior-octave-startup-file):
8563         Prefer ~/.emacs.d/init_octave.m.
8565 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
8567         * emacs-lisp/package.el (package-desc-from-define):
8568         Accept additional arguments as plist, convert them to an alist and store
8569         them in the `extras' slot.
8570         (package-generate-description-file): Convert extras alist back to
8571         plist and append to the `define-package' form arguments.
8572         (package--alist-to-plist): New function.
8573         (package--ac-desc): Add `extras' slot.
8574         (package--add-to-archive-contents): Check if the archive-contents
8575         vector is long enough, and if it is, pass its `extras' slot value
8576         to `package-desc-create'.
8577         (package-buffer-info): Call `lm-homepage', pass the returned value
8578         to `package-desc-from-define'.
8579         (describe-package-1): Render the homepage button (Bug#13291).
8581         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8582         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8584 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
8586         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8587         and default-process-coding-system to utf-8-unix (Bug#15402).
8589 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
8591         * subr.el (looking-back): Do not recommend using looking-back.
8593 2013-09-28  Alan Mackenzie  <acm@muc.de>
8595         Fix indentation/fontification of Java enum with "implements".
8597         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8598         regexp which matches "implements", etc., in Java.
8599         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8600         specifier clauses coming after "enum".
8601         * progmodes/cc-fonts.el (c-font-lock-declarations)
8602         (c-font-lock-enum-tail): Check for extra specifier clauses coming
8603         after "enum".
8605 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
8607         * faces.el (region): Change ns_selection_color to
8608         ns_selection_fg_color, add ns_selection_bg_color.
8610 2013-09-28  Leo Liu  <sdl.web@gmail.com>
8612         * progmodes/octave.el (inferior-octave-completion-table)
8613         (inferior-octave-completion-at-point): Minor tweaks.
8615         * textmodes/ispell.el (ispell-lookup-words): Rename from
8616         lookup-words.  (Bug#15460)
8617         (lookup-words): Obsolete.
8618         (ispell-complete-word, ispell-command-loop): All uses changed.
8620 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8622         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8623         (octave-mode-menu): Add octave-send-buffer.
8624         (octave-send-buffer): New function.
8626 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8628         * progmodes/octave.el (octave-mode-map): Add key binding for
8629         octave-lookfor.
8630         (octave-mode-menu): Add octave-lookfor.
8631         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8632         octave-lookfor.
8633         (octave-lookfor): New function.
8635 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8637         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8638         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8639         its convention.
8640         (cl--loop-set-iterator-function): New function.
8641         (cl-loop): Adjust accordingly, so as not to use cl-subst.
8642         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8643         Bind `it' with `let' instead of substituting it with `cl-subst'.
8644         (cl--unused-var-p): New function.
8645         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8646         Eliminate some unused variable warnings (bug#15326).
8648 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
8650         * doc-view.el (doc-view-scale-reset): Rename from
8651         `doc-view-reset-zoom-level'.
8652         (doc-view-scale-adjust): New command.
8653         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8654         `doc-view-scale-adjust'.
8656 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
8658         * doc-view.el (doc-view-reset-zoom-level): New command.
8659         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8660         zoom commands (bug#15466).
8662 2013-09-26  Kenichi Handa  <handa@gnu.org>
8664         * international/quail.el (quail-help): Make it not a command.
8666 2013-09-26  Leo Liu  <sdl.web@gmail.com>
8668         * minibuffer.el (completion-all-sorted-completions): Make args
8669         optional as they are.
8671 2013-09-25  Daniel Colascione  <dancol@dancol.org>
8673         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8674         specs are and that they're not evaluated.
8676 2013-09-24  Sam Steingold  <sds@gnu.org>
8678         * midnight.el (clean-buffer-list-kill-regexps)
8679         (clean-buffer-list-kill-buffer-names): Update for the new Man
8680         buffer naming which includes the object name.
8682 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8684         * eshell/esh-cmd.el (eshell--sep-terms): New var.
8685         (eshell-parse-command, eshell-parse-pipeline): Use it since
8686         eshell-separate-commands requires a dynamic scoped var.
8687         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8689 2013-09-23  Leo Liu  <sdl.web@gmail.com>
8691         * autoinsert.el (auto-insert-alist): Make the value of
8692         lexical-binding match its file setting.
8694 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
8696         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8698         * autoarg.el (autoarg-kp-digit-argument):
8699         * electric.el (Electric-command-loop):
8700         * kmacro.el (kmacro-step-edit-insert):
8701         Do not set universal-argument-num-events.
8703 2013-09-22  Leo Liu  <sdl.web@gmail.com>
8705         * files.el (interpreter-mode-alist): Add octave.
8707 2013-09-21  Alan Mackenzie  <acm@muc.de>
8709         C++: fontify identifier in declaration following "public:" correctly.
8710         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8711         to match "public", etc.
8712         (c-decl-prefix-re): Add ":" into the C++ value.
8713         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8714         bit.  Add a check for a ":" preceded by "public", etc.
8716 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
8718         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8719         recognized by GDB 7.5 and later.
8721 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
8723         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8725 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8727         * subr.el (internal--call-interactively): New const.
8728         (called-interactively-p): Use it (bug#3984).
8730 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
8732         * vc/pcvs.el (cvs-mode-ignore):
8733         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8734         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8736 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8738         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
8739         (eshell-ls-orig-insert-directory): Remove.
8740         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
8741         (eshell-ls-use-in-dired): Use advice-add/remove.
8742         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8743         Add `orig-fun' arg for use in :around advice.
8744         Make it check (redundantly) eshell-ls-use-in-dired.
8746 2013-09-19  Glenn Morris  <rgm@gnu.org>
8748         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8750         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8752         * emacs-lisp/eieio.el (class-parent): Undo previous change.
8754 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
8756         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8757         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8758         (tramp-get-remote-python): New defuns.
8759         (tramp-get-remote-uid-with-perl)
8760         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
8761         contributed by yary <not.com@gmail.com> (tiny change).
8762         (tramp-get-remote-uid-with-python)
8763         (tramp-get-remote-gid-with-python): New defuns.  Python code
8764         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8765         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8767 2013-09-19  Glenn Morris  <rgm@gnu.org>
8769         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8771         * eshell/em-unix.el (eshell-remove-entries):
8772         Rename argument to avoid name-clash with global `top-level'.
8774         * eshell/esh-proc.el (eshell-kill-process-function):
8775         Remove eshell-reset-after-proc from eshell-kill-hook if present.
8776         (eshell-reset-after-proc): Remove unused arg `proc'.
8778         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8779         (directory-files-and-attributes): Mark unused arg.
8781         * eshell/em-unix.el (eshell-remove-entries):
8782         Remove unused arg `path'.  Update callers.
8784         * eshell/em-hist.el (eshell-hist-parse-arguments):
8785         Remove unused arg `silent'.  Update callers.
8787         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8788         Fix (f)boundp mix-up.
8790         * eshell/em-smart.el (eshell-smart-scroll-window)
8791         (eshell-disable-after-change):
8792         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8794 2013-09-18  Alan Mackenzie  <acm@muc.de>
8796         Fix fontification of type when followed by "const".
8797         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8798         "known" types from fontification.
8800 2013-09-18  Glenn Morris  <rgm@gnu.org>
8802         * emacs-lisp/chart.el (x-display-color-cells): Declare.
8803         (chart-face-list): Drop Emacsen without display-color-p.
8805         * net/eww.el (libxml-parse-html-region): Declare.
8806         (eww-display-html): Explicit error if no libxml2 support.
8808         * doc-view.el (doc-view-mode): Silence --without-x compilation.
8810         * image.el (image-type-from-buffer, image-multi-frame-p):
8811         Remove --without-x warning/error.
8813         * mouse.el (mouse-yank-primary):
8814         * term.el (term-mouse-paste):
8815         Reorder to silence --without-x compilation.
8817         * mpc.el (doc-view-mode): Silence --without-x compilation.
8819         * mail/rmailmm.el (rmail-mime-set-bulk-data):
8820         Silence --without-x compilation.
8822         * progmodes/gud.el (gud-find-file, gud-mode):
8823         Silence --without-x compilation.
8824         (tooltip-mode): Declare.
8826         * wdired.el (dired-backup-overwrite): Remove declaration.
8827         (wdired-mode-map): Add doc string.
8829         * custom.el (x-get-resource): Declare.
8831         * eshell/em-glob.el (ange-cache):
8832         * eshell/em-unix.el (ange-cache): Declare.
8834         * faces.el (x-display-list, x-open-connection, x-get-resource):
8835         Declare.
8837         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8838         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8839         Declare.
8841         * frame.el (x-display-grayscale-p, x-display-name): Declare.
8843         * net/gnutls.el (gnutls-log-level): Declare.
8845         * net/shr.el (image-size, image-animate): Declare.
8847         * simple.el (font-info): Declare.
8849         * subr.el (x-popup-dialog): Declare.
8851         * term/common-win.el (x-select-enable-primary)
8852         (x-last-selected-text-primary, x-last-selected-text-clipboard):
8853         Declare.
8855         * term/ns-win.el (x-handle-args): Declare.
8857         * term/x-win.el (x-select-enable-clipboard): Declare.
8859         * term/w32-win.el (create-default-fontset): Declare.
8861         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8862         Declare.
8864         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8865         (fit-frame-to-buffer): Explicit error if --without-x.
8866         (mouse-autoselect-window-select): Silence compiler.
8868         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8870         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8871         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8872         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8873         * eshell/esh-util.el (eshell-sublist):
8874         Remove unused local variables.
8876         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8878         * textmodes/two-column.el: Make 2C-split work for --without-x.
8879         (scroll-bar-columns): Autoload.
8880         (top-level): Require fringe when compiling.
8882 2013-09-18  Leo Liu  <sdl.web@gmail.com>
8884         * subr.el (add-hook): Robustify to handle closure as well.
8886 2013-09-17  Glenn Morris  <rgm@gnu.org>
8888         * simple.el (messages-buffer-mode-map): Unbind "g".
8890 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8892         * help-mode.el (help-mode-finish): Use derived-mode-p.
8893         Remove obsolete highlighting.
8895         * play/life.el (life-mode): Use define-derived-mode.  Derive from
8896         special-mode.
8897         (life): Let-bind inhibit-read-only.
8898         (life-setup): Avoid `setq'.  Use `life-mode'.
8900         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8901         which should not be needed any more.
8902         (package-menu-refresh, package-menu-describe-package): Use user-error.
8904         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8905         (eshell-post-rewrite-command-hook): Make obsolete.
8906         (eshell-parse-command): Simplify.
8907         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8908         (eshell--cmd): Declare.
8909         (eshell-parse-pipeline): Remove unused var `final-p'.
8910         Pass a dynvar to eshell-post-rewrite-command-hook.
8911         Implement the new eshell-post-rewrite-command-function.
8912         (eshell-invoke-directly): Remove unused arg `input'.
8913         * eshell/esh-io.el (eshell-io-initialize):
8914         Use eshell-post-rewrite-command-function (bug#15399).
8915         (eshell--apply-redirections): Rename from eshell-apply-redirections;
8916         adjust to new calling convention.
8917         (eshell-create-handles): Rename args to avoid clashing with dynvar
8918         `standard-output'.
8920 2013-09-17  Glenn Morris  <rgm@gnu.org>
8922         * simple.el (messages-buffer-mode): New major mode.
8923         (messages-buffer): New function.
8924         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8925         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8926         (ert-run-test): Use `messages-buffer' function.
8927         (ert--force-message-log-buffer-truncation): Ignore read-only.
8928         * help.el (view-echo-area-messages): Use `messages-buffer' function.
8929         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8931 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8933         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8935         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8937 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8939         * icomplete.el (icomplete-in-buffer): New var.
8940         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8941         vars and replace them with functions.
8942         (icomplete-minibuffer-setup): Adjust accordingly.
8943         (icomplete--completion-table, icomplete--completion-predicate)
8944         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8945         New functions.
8946         (icomplete-forward-completions, icomplete-backward-completions)
8947         (icomplete-simple-completing-p, icomplete-exhibit)
8948         (icomplete-completions): Use them.
8949         (icomplete--in-region-buffer): New var.
8950         (icomplete--in-region-setup): New function.
8951         (icomplete-mode): Use it.
8953         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8954         (bug#15379).
8955         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8956         return args and options.
8957         (eshell-eval-using-options): Use the new return value of
8958         eshell--do-opts to set the options's vars in their scope.
8959         (eshell--set-option): Rename from eshell-set-option.
8960         Add arg `opt-vals'.
8961         (eshell--process-option): Rename from eshell-process-option.
8962         Add arg `opt-vals'.
8963         (eshell--process-args): Use an `opt-vals' alist to store the options's
8964         values during their processing and return them additionally to the
8965         remaining args.
8967 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
8969         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8970         continuation character an operator, as far as indentation is
8971         concerned (Bug#15369).
8973 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
8975         * window.el (window--state-put-2): Don't process buffer state
8976         when buffer doesn't exist any more (Bug#15382).
8978 2013-09-15  Glenn Morris  <rgm@gnu.org>
8980         * eshell/em-unix.el (eshell/rm):
8981         Make -f ignore missing files.  (Bug#15373)
8983         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
8984         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8985         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8987 2013-09-14  Glenn Morris  <rgm@gnu.org>
8989         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8991 2013-09-13  Glenn Morris  <rgm@gnu.org>
8993         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8994         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
8996 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
8998         * frame.el (x-focus-frame): Mark as declared in frame.c.
9000 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9002         * ls-lisp.el: Use advice-add.
9003         (original-insert-directory): Remove.
9004         (ls-lisp--insert-directory): Rename from insert-directory; add
9005         `orig-fun' argument.
9006         (insert-directory): Advise.
9008 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
9010         * term.el (term-emulate-terminal): Decode the command string
9011         before passing it to term-command-hook.  (Bug#15337)
9013 2013-09-13  Glenn Morris  <rgm@gnu.org>
9015         * eshell/esh-util.el (ange-cache): Move declaration earlier.
9017         * eshell/esh-ext.el (eshell-search-path): Declare.
9019         * eshell/em-prompt.el (eshell/pwd): Autoload it.
9020         Otherwise an error occurs if eshell-dirs module not loaded.
9022         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9024 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
9026         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9027         `tramp-check-proper-host'.  Check for a valid method name.
9029         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9030         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9031         * net/tramp-sh.el (tramp-maybe-open-connection):
9032         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9034         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9035         also for hash values.
9037 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9039         * term/ns-win.el (parameters): Don't declare as dynamic.
9040         (before-make-frame-hook): Don't add ineffective function.
9042         * eshell/*.el: Use lexical-binding (bug#15231).
9044 2013-09-12  Kenichi Handa  <handa@gnu.org>
9046         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9048 2013-09-12  Glenn Morris  <rgm@gnu.org>
9050         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9051         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9053         * subr.el (do-after-load-evaluation): Also give compiler warnings
9054         when obsolete files are used (except by obsolete files).
9056         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9057         in the status output, assume `filename' is the first.  (Bug#15322)
9059         * vc/vc.el (vc-deduce-fileset): Doc fix.
9061         * calc/calc-help.el (Info-goto-node):
9062         * progmodes/cperl-mode.el (Info-find-node):
9063         * vc/ediff.el (Info-goto-node): Update declarations.
9065         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9067         * vc/vc-bzr.el (vc-compilation-mode): Declare.
9068         (vc-bzr-pull): Require vc-dispatcher.
9069         * vc/vc-git.el (vc-compilation-mode): Declare.
9070         (vc-git-pull): Require vc-dispatcher.
9072         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9074         * progmodes/octave.el (help-button-action): Declare.
9076         * shell.el (shell-directory-tracker): Output error as a message
9077         rather than just returning it as a string.
9078         (shell-process-pushd): Remove useless use of message.
9080         * dframe.el (dframe-timer-fn):
9081         * files.el (dir-locals-read-from-file):
9082         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9083         (mpc-format):
9084         * reveal.el (reveal-post-command):
9085         * saveplace.el (load-save-place-alist-from-file):
9086         * shell.el (shell-resync-dirs):
9087         * w32-common-fns.el (x-get-selection-value):
9088         * emacs-lisp/copyright.el (copyright-find-copyright):
9089         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9090         * emulation/tpu-edt.el (tpu-copy-keyfile):
9091         * play/bubbles.el (bubbles--mark-neighbourhood):
9092         * progmodes/executable.el
9093         (executable-make-buffer-file-executable-if-script-p):
9094         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9096 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9098         Cleanup Eshell to rely less on dynamic scoping.
9099         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9100         last-value, and ext-command here.  Bind `args' closer to `body'.
9101         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9102         (eshell--args): Declare new dynamic var.
9103         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
9104         last-value, and ext-command.  Pass `args' to `body'.
9105         (eshell-process-args): Bind eshell--args.
9106         (eshell-set-option): Use eshell--args.
9107         * eshell/eshell.el (eshell): Use derived-mode-p.
9108         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9109         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9110         (eshell-glob-function): Declare.
9111         * eshell/esh-util.el: Require cl-lib.
9112         (eshell-read-hosts-file): Avoid add-to-list.
9113         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9114         `err'.
9115         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9116         Declare.
9117         (eshell/diff): Remove unused var `err'.
9118         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9119         `killflag'.
9120         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9121         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9122         first use.
9123         * eshell/em-glob.el (eshell-glob-matches, message-shown):
9124         Move declaration before first use.
9125         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9126         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9127         rely on cl-return.
9129 2013-09-12  Glenn Morris  <rgm@gnu.org>
9131         * term/ns-win.el (global-map): Remove binding for ispell-next,
9132         deleted 1999-05-29.  (Bug#15357)
9134 2013-09-11  Glenn Morris  <rgm@gnu.org>
9136         * echistory.el (electric-command-history): Remove call to deleted func.
9138         * play/landmark.el (landmark-mode): Fix typos.
9140         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9141         Check cvs-sort-ignore-file is bound.
9143         * savehist.el: No need for cl when compiling on Emacs.
9145 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9147         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9148         (bug#15338).
9149         (eshell-self-insert-command, eshell-send-invisible):
9150         Remove unused argument.
9151         (eshell-handle-control-codes): Remove unused var `orig'.
9152         Avoid delete-backward-char.
9154         * files.el (set-auto-mode): Simplify a bit further.
9156 2013-09-11  Glenn Morris  <rgm@gnu.org>
9158         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9159         (set-auto-mode): Don't regexp-quote elements.
9160         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9161         * progmodes/cc-mode.el (interpreter-mode-alist):
9162         * progmodes/ruby-mode.el (interpreter-mode-alist):
9163         Revert previous change.
9165 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9167         * play/snake.el (snake-mode):
9168         * play/mpuz.el (mpuz-mode):
9169         * play/landmark.el (lm-mode):
9170         * play/blackbox.el (blackbox-mode):
9171         * play/5x5.el (5x5-mode):
9172         * obsolete/options.el (Edit-options-mode):
9173         * net/quickurl.el (quickurl-list-mode):
9174         * net/newst-treeview.el (newsticker-treeview-mode):
9175         * mail/rmailsum.el (rmail-summary-mode):
9176         * mail/mspools.el (mspools-mode):
9177         * locate.el (locate-mode):
9178         * ibuffer.el (ibuffer-mode):
9179         * emulation/ws-mode.el (wordstar-mode):
9180         * emacs-lisp/debug.el (debugger-mode):
9181         * array.el (array-mode):
9182         * net/eudc.el (eudc-mode): Use define-derived-mode.
9183         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9184         Move initialization into declaration.
9185         (mairix-searches-mode): Use define-derived-mode.
9186         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9187         (eudc-edit-hotlist): Use dolist.
9188         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9189         (Man-mode): Use define-derived-mode.
9190         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9191         (Info-edit-mode): Use define-derived-mode.
9192         (Info-cease-edit): Use Info-mode.
9193         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9194         into declaration.
9195         (eshell-mode): Use define-derived-mode.
9196         * chistory.el (command-history-mode-map): Rename from
9197         command-history-map.
9198         (command-history-mode): Use define-derived-mode.
9199         (Command-history-setup): Remove function.
9200         * calc/calc.el (calc-trail-mode-map): New var.
9201         (calc-trail-mode): Use define-derived-mode.
9202         (calc-trail-buffer): Set calc-main-buffer manually.
9203         * bookmark.el (bookmark-insert-annotation): New function.
9204         (bookmark-edit-annotation): Use it.
9205         (bookmark-edit-annotation-mode): Make it a proper major mode.
9206         (bookmark-send-edited-annotation): Use derived-mode-p.
9207         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9208         closer to its ideal place.  Use \' to match EOS.
9210         * profiler.el (profiler-calltree-find): Use function-equal.
9212 2013-09-10  Glenn Morris  <rgm@gnu.org>
9214         * files.el (interpreter-mode-alist): Convert to regexps.
9215         (set-auto-mode): Adapt for this.  (Bug#15306)
9216         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9217         Comment out unused variable.
9218         * progmodes/cc-mode.el (interpreter-mode-alist):
9219         * progmodes/python.el (interpreter-mode-alist):
9220         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9221         * progmodes/sh-script.el (sh-set-shell):
9222         No longer use interpreter-mode-alist to get list of shells.
9224         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9226 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9228         * simple.el: Use set-temporary-overlay-map for universal-argument.
9229         (universal-argument-map): Don't use default-bindings (bug#15317).
9230         Bind switch-frame explicitly.  Replace universal-argument-minus with
9231         a conditional binding.
9232         (universal-argument-num-events, saved-overriding-map): Remove.
9233         (restore-overriding-map): Remove.
9234         (universal-argument--mode): Rename from save&set-overriding-map,
9235         and rewrite.
9236         (universal-argument, universal-argument-more, negative-argument)
9237         (digit-argument): Adjust accordingly.
9238         (universal-argument-minus): Remove.
9239         (universal-argument-other-key): Remove.
9241         * subr.el (with-demoted-errors): Add `format' argument.
9243 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
9245         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
9246         `tramp-cleanup-connection'.
9248         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9249         parameters KEEP-DEBUG and KEEP-PASSWORD.
9251         * net/tramp.el (tramp-file-name-handler):
9252         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9253         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9254         (tramp-maybe-open-connection):
9255         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9256         Use `tramp-cleanup-connection'.
9258         * net/tramp-sh.el (tramp-maybe-open-connection):
9259         Catch 'uname-changed inside the progress reporter.
9261 2013-09-10  Glenn Morris  <rgm@gnu.org>
9263         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
9265         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9266         returns "alternate access method" in mode (eg "-rw-r--r--.").
9268 2013-09-08  Glenn Morris  <rgm@gnu.org>
9270         * saveplace.el (load-save-place-alist-from-file):
9271         Demote errors.  (Bug#15305)
9273 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
9275         Improve compatibility with older Emacsen, and XEmacs.
9277         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9278         only if it is bound.  It isn't for XEmacs.
9279         (with-tramp-progress-reporter): Do not let-bind `result'.
9280         This yields to scoping errors in XEmacs.
9281         (tramp-handle-make-auto-save-file-name): New function, moved from
9282         tramp-sh.el.
9284         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9285         for `make-auto-save-file-name'.
9286         (tramp-adb--gnu-switches-to-ash):
9287         Use `tramp-compat-replace-regexp-in-string'.
9289         * net/tramp-cache.el (tramp-cache-print): Call
9290         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
9292         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9293         bound.  It isn't for XEmacs.
9295         * net/tramp-compat.el (tramp-compat-copy-file):
9296         Catch `wrong-number-of-arguments' error.
9297         (tramp-compat-replace-regexp-in-string): New defun.
9299         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9300         for `make-auto-save-file-name'.
9301         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9302         `copy-file'.
9303         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9304         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9305         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9307         * net/tramp-gw.el (tramp-gw-open-network-stream):
9308         Use `tramp-compat-replace-regexp-in-string'.
9310         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9311         Call `tramp-handle-make-auto-save-file-name'.
9312         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9313         (tramp-sh-file-gvfs-monitor-dir-process-filter)
9314         (tramp-sh-file-inotifywait-process-filter):
9315         Use `tramp-compat-replace-regexp-in-string'.
9316         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9318         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9319         for `make-auto-save-file-name'.
9320         (tramp-smb-handle-copy-directory):
9321         Call `tramp-compat-replace-regexp-in-string'.
9322         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9323         (tramp-smb-handle-copy-file): Improve error message.
9324         (tramp-smb-handle-rename-file): Rename directly only in case
9325         `newname' does not exist yet.  This is a restriction of smbclient.
9326         (tramp-smb-maybe-open-connection): Rerun the function only when
9327         `auth-sources' is non-nil.
9329 2013-09-08  Kenichi Handa  <handa@gnu.org>
9331         * international/characters.el: Set category "^" (Combining) for
9332         more characters.
9334 2013-09-07  Alan Mackenzie  <acm@muc.de>
9336         Correctly fontify Java class constructors.
9337         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9338         in Java Mode.
9339         (c-recognize-typeless-decls): Set the Java value to t.
9340         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9341         While handling a "(", add a check for, effectively, Java, and handle a
9342         "typeless" declaration there.
9344 2013-09-07  Roland Winkler  <winkler@gnu.org>
9346         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9347         field subtitle for entry type book.
9349 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9351         * minibuffer.el: Make minibuffer-complete call completion-in-region
9352         rather than other way around.
9353         (completion--some, completion-pcm--find-all-completions):
9354         Don't delay signals when debugging.
9355         (minibuffer-completion-contents): Beware fields within the
9356         minibuffer contents.
9357         (completion-all-sorted-completions): Use defvar-local.
9358         (completion--do-completion, completion--cache-all-sorted-completions)
9359         (completion-all-sorted-completions, minibuffer-force-complete):
9360         Add args `beg' and `end'.
9361         (completion--in-region-1): New fun, extracted from minibuffer-complete.
9362         (minibuffer-complete): Use completion-in-region.
9363         (completion-complete-and-exit): New fun, extracted from
9364         minibuffer-complete-and-exit.
9365         (minibuffer-complete-and-exit): Use it.
9366         (completion--complete-and-exit): Rename from
9367         minibuffer--complete-and-exit.
9368         (completion-in-region--single-word): New function, extracted from
9369         minibuffer-complete-word.
9370         (minibuffer-complete-word): Use it.
9371         (display-completion-list): Make `common-substring' argument obsolete.
9372         (completion--in-region): Call completion--in-region-1 instead of
9373         minibuffer-complete.
9374         (completion-help-at-point): Pass boundaries to
9375         minibuffer-completion-help as args rather than via an overlay.
9376         (completion-pcm--string->pattern): Use `any-delim'.
9377         (completion-pcm--optimize-pattern): New function.
9378         (completion-pcm--pattern->regex): Handle `any-delim'.
9379         * icomplete.el (icomplete-forward-completions)
9380         (icomplete-backward-completions, icomplete-completions):
9381         Adjust calls to completion-all-sorted-completions and
9382         completion--cache-all-sorted-completions.
9383         (icomplete-with-completion-tables): Default to t.
9384         * emacs-lisp/crm.el (crm--current-element): Rename from
9385         crm--select-current-element.  Don't put an overlay but return the
9386         boundaries instead.
9387         (crm--completion-command): Take two new args to bind to the boundaries.
9388         (crm-completion-help): Adjust accordingly.
9389         (crm-complete): Use completion-in-region.
9390         (crm-complete-word): Use completion-in-region--single-word.
9391         (crm-complete-and-exit): Use completion-complete-and-exit.
9393 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9395         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9396         than dynamically.
9398 2013-09-06  Juri Linkov  <juri@jurta.org>
9400         * info.el (Info-display-images-node): When image file doesn't exist
9401         display text version of the image if it's provided in the Info file.
9402         Otherwise, display the location of missing image from SRC attribute.
9403         Add help-echo text property from ALT attribute.  (Bug#15279)
9405 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9407         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9408         (edit-abbrevs-mode): Use define-derived-mode.
9410         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9411         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9412         that it's defined.
9413         (epa-key-list-mode, epa-key-mode, epa-info-mode):
9414         Use define-derived-mode.
9416         * epg.el (epg-start-encrypt): Minor CSE simplification.
9418 2013-09-06  William Xu  <william.xwl@gmail.com>
9420         * arc-mode.el: Add support for 7za (bug#15264).
9421         (archive-7z-program): New var.
9422         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9423         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9424         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9426 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
9428         Remove URL syntax.
9430         * net/tramp.el (tramp-syntax, tramp-prefix-format)
9431         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9432         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9433         (tramp-postfix-host-format, tramp-file-name-regexp)
9434         (tramp-completion-file-name-regexp)
9435         (tramp-completion-dissect-file-name)
9436         (tramp-handle-substitute-in-file-name): Remove 'url case.
9437         (tramp-file-name-regexp-url)
9438         (tramp-completion-file-name-regexp-url): Remove constants.
9440 2013-09-06  Glenn Morris  <rgm@gnu.org>
9442         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
9444 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
9446         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9447         keywords" below "here-doc beginnings" (Bug#15270).
9449 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9451         * subr.el (pop): Use `car-safe'.
9452         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9453         to detect unused `pop' return value.
9455         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9456         var `block-regexp'.
9457         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9458         (python-fill-string): Remove unused var `marker'.
9459         (python-skeleton-add-menu-items): Remove unused var `items'.
9461         * international/mule-cmds.el: Require CL.
9462         (find-coding-systems-for-charsets): Avoid add-to-list.
9463         (sanitize-coding-system-list): New function, extracted from
9464         select-safe-coding-system-interactively.
9465         (select-safe-coding-system-interactively): Use it.
9466         (read-input-method-name): Accept symbols for `default'.
9468         * emacs-lisp/advice.el (defadvice): Add indent rule.
9470 2013-09-05  Daniel Hackney  <dan@haxney.org>
9472         * dired-x.el:
9473         * net/ange-ftp.el:
9474         * net/browse-url.el:
9475         * net/dbus.el:
9476         * net/eudc.el:
9477         * net/eudcb-ldap.el:
9478         * net/eww.el:
9479         * net/imap.el:
9480         * printing.el:
9481         * vc/ediff-diff.el:
9482         * vc/ediff-init.el:
9483         * vc/ediff-merg.el:
9484         * vc/ediff-mult.el:
9485         * vc/ediff-util.el:
9486         * vc/ediff-wind.el:
9487         * vc/ediff.el:
9488         * vc/emerge.el:
9489         * vc/pcvs.el:
9490         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9491         byte compiler.  Remove some unused let-bound variables.
9493 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9495         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9496         a "ref-cell", since it gets better optimized (bug#14883).
9498 2013-09-05  Glenn Morris  <rgm@gnu.org>
9500         * progmodes/cc-awk.el (c-forward-sws): Declare.
9502 2013-09-04  Glenn Morris  <rgm@gnu.org>
9504         * generic-x.el [rul-generic-mode]: Require cc-mode.
9505         (c++-mode-syntax-table): Declare.
9506         (rul-generic-mode-syntax-table): Init in the defvar.
9508 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9510         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9511         (vc-do-command, vc-set-async-update):
9512         * vc/vc-mtn.el (vc-mtn-dir-status):
9513         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9514         (vc-hg-pull, vc-hg-merge-branch):
9515         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9516         (vc-git-merge-branch):
9517         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9518         (vc-cvs-dir-status-files):
9519         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9520         (vc-bzr-dir-status-files):
9521         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9522         * vc/vc-annotate.el: Use lexical-binding.
9523         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9524         (vc-sentinel-movepoint): Declare.
9525         (vc-annotate): Don't use `goto-line'.
9526         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9527         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9528         (vc-sentinel-movepoint): Declare.
9529         * vc/vc-svn.el: Use lexical-binding.
9530         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9531         * vc/vc-sccs.el:
9532         * vc/vc-rcs.el: Use lexical-binding.
9534         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9535         `deleted'.  Don't drop errors silently.
9537         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9539 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
9541         * vc/vc.el (vc-ignore): Rewrite.
9542         (vc-default-ignore): New function.
9543         (vc-default-ignore-completion-table): Use find-ignore-file.
9545         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9546         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9547         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9548         Remove.  Most code moved to vc.el.
9550 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9552         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9553         * net/tramp-smb.el (tramp-smb-get-file-entries):
9554         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9555         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9557         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9558         Update call to it.
9559         (eww-change-select): Remove unused var `properties'.
9560         (eww-make-unique-file-name): Remove unused var `base'.
9562         * finder.el (finder-compile-keywords): Don't mess with windows.
9564         * calculator.el (calculator-funcall): Fix typo in last change.
9566         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9568         * emacs-lisp/package.el (package-activate-1): Don't let a missing
9569         <pkg>-autoloads.el file stop us.
9571         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9572         warnings, and factor out common code.
9574 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
9576         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9577         two-character operators and whether the character preceding them
9578         changes their meaning (Bug#15208).
9580 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9582         Format code sent to Python shell for robustness.
9583         * progmodes/python.el (python-shell-buffer-substring):
9584         New function.
9585         (python-shell-send-region, python-shell-send-buffer): Use it.
9587 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
9589         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9590         * net/tramp.el (tramp-user-error): ... here.
9591         (tramp-find-method, tramp-check-proper-host)
9592         (tramp-dissect-file-name, tramp-debug-message)
9593         (tramp-handle-shell-command):
9594         * net/tramp-adb.el (tramp-adb-handle-shell-command):
9595         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9597         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9599 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
9601         * avoid.el (mouse-avoidance-point-position)
9602         (mouse-avoidance-too-close-p): Handle case where posn-at-point
9603         returns nil.
9605 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9607         * progmodes/python.el (python-shell-completion-get-completions):
9608         Drop use of deleted `comint-last-prompt-overlay'.
9609         (python-nav-if-name-main): New command.
9611 2013-09-01  Glenn Morris  <rgm@gnu.org>
9613         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9614         Avoid leading space in $wins.  Otherwise the sed command used by
9615         eg compile-main ends up containing "/*.el".  (Bug#15170)
9617         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
9619 2013-08-30  Glenn Morris  <rgm@gnu.org>
9621         * emacs-lisp/bytecomp.el (byte-recompile-directory):
9622         Fix is-this-a-directory logic.  (Bug#15220)
9624 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9626         * textmodes/css-mode.el: Use SMIE.
9627         (css-smie-grammar): New var.
9628         (css-smie--forward-token, css-smie--backward-token)
9629         (css-smie-rules): New functions.
9630         (css-mode): Use them.
9631         (css-navigation-syntax-table): Remove var.
9632         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9633         (css-indent-calculate, css-indent-line): Remove functions.
9635         Misc changes to reduce use of `(lambda...); and other cleanups.
9636         * cus-edit.el: Use lexical-binding.
9637         (customize-push-and-save, customize-apropos)
9638         (custom-buffer-create-internal): Use closures.
9639         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9640         * progmodes/ada-xref.el: Use setq.
9641         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9642         * dframe.el: Use lexical-binding.
9643         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
9644         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9645         * descr-text.el: Use lexical-binding.
9646         (describe-text-widget, describe-text-sexp, describe-property-list):
9647         Use closures.
9648         * comint.el (comint-history-isearch-push-state): Use a closure.
9649         * calculator.el: Use lexical-binding.
9650         (calculator-number-to-string): Make it work with lexical-binding.
9651         (calculator-funcall): Same and use cl-letf.
9653         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9654         (lisp--company-doc-string, lisp--company-location): New functions.
9655         (lisp-completion-at-point): Use them to improve Company support.
9657         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9658         params of lambda expressions.
9659         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9660         (ruby-smie--opening-pipe-p): New function.
9661         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9662         symbols and matched |...| for formal params.
9663         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9664         from being treated as hanging.  Handle "rescue".
9666 2013-08-29  Glenn Morris  <rgm@gnu.org>
9668         * progmodes/cc-engine.el (c-pull-open-brace):
9669         Move definition before use.
9671 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9673         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9674         are immutable.  Don't use `unsafe' any more.
9675         (cl--defsubst-expand): Don't substitute at the same time as keeping
9676         a residual unused let-binding.  Don't use `unsafe' any more.
9678 2013-08-29  Glenn Morris  <rgm@gnu.org>
9680         * calendar/cal-china.el (calendar-chinese-year-cache):
9681         Recenter on 2015.
9683         * nxml/nxml-util.el (nxml-debug-clear-inside):
9684         Use cl-loop rather than loop.
9686         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9688         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9690 2013-08-28  Glenn Morris  <rgm@gnu.org>
9692         * progmodes/antlr-mode.el: No need to require cc-mode twice.
9694         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9696         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9698 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9700         * simple.el (repeat-complex-command--called-interactively-skip):
9701         New function.
9702         (repeat-complex-command): Use it (bug#14136).
9704         * progmodes/cc-mode.el: Minor cleanup of var declarations.
9705         (c-define-abbrev-table): Add `doc' argument.
9706         (c-mode-abbrev-table, c++-mode-abbrev-table)
9707         (objc-mode-abbrev-table, java-mode-abbrev-table)
9708         (idl-mode-abbrev-table, pike-mode-abbrev-table)
9709         (awk-mode-abbrev-table): Use it.
9710         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9711         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9712         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9713         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9714         Move initialization into the declaration; and remove any
9715         autoload cookie.
9717         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9718         and dynamic let binding.
9720         * vc/smerge-mode.el: Remove redundant :group args.
9722         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9723         to load-path.
9725 2013-08-28  Juri Linkov  <juri@jurta.org>
9727         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9728         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9729         (isearch-other-meta-char): Handle an undefined shifted printing
9730         character by downshifting it.  (Bug#15200)
9732 2013-08-28  Juri Linkov  <juri@jurta.org>
9734         * isearch.el (isearch-search): Change regexp error message for
9735         non-regexp searches.  (Bug#15166)
9737 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
9739         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9740         for portability to hosts where /bin/sh has problems.
9742 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9744         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9746 2013-08-27  Juri Linkov  <juri@jurta.org>
9748         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9749         in the keyboard macro.  (Bug#15126)
9751 2013-08-27  Juri Linkov  <juri@jurta.org>
9753         * isearch.el (isearch-quote-char): Comment out converting unibyte
9754         to multibyte, thus syncing with its `quoted-insert' counterpart.
9755         (Bug#15166)
9757 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
9759         * window.el (display-buffer-use-some-window): Add missing
9760         argument in call of get-largest-window (Bug#15185).
9761         Reported by Stephen Leake.
9763 2013-08-27  Glenn Morris  <rgm@gnu.org>
9765         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9767 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9769         * progmodes/python.el (python-font-lock-keywords): Don't return nil
9770         from a matcher-function unless there's no more matches (bug#15161).
9772 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
9774         * minibuffer.el: Revert change from 2013-08-20.
9776         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9777         with text property `tramp-default', if appropriate.
9778         (tramp-check-proper-host): New defun.
9779         (tramp-dissect-file-name): Do not check hostname.  Revert change
9780         of 2013-03-18.
9781         (tramp-backtrace): Make VEC-OR-PROC optional.
9783         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9784         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9785         * net/tramp-sh.el (tramp-maybe-open-connection):
9786         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9787         Apply `tramp-check-proper-host'.
9789 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
9791         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9792         lambda expression in order to have `describe-variable' display it.
9794 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
9796         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9797         BUF can be optional.  (Bug#15186)
9799 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
9801         * progmodes/flymake.el (flymake-get-real-file-name-function):
9802         Fix broken customization.  (Bug#15184)
9804 2013-08-25  Alan Mackenzie  <acm@muc.de>
9806         Improve indentation of bracelists defined by macros (without "=").
9808         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9809         expansion begins with "{", regard it as bracelist when it doesn't
9810         contain a ";".
9812         Parse C++ inher-intro when there's a template split over 2 lines.
9814         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9815         rigorously the search for "class" etc. followed by ":".
9817         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9818         random languages a regexp which never matches rather than nil.
9820         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9822         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9823         (c-awk-regexp-one-line-possibly-open-char-list-re)
9824         (c-awk-one-line-possibly-open-regexp-re)
9825         (c-awk-one-line-non-syn-ws*-re): Remove.
9826         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9827         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9828         (c-awk-space*-unclosed-regexp-/-re): New constants.
9829         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9830         aren't regexp delimiters.
9832         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9833         handling for a rare situation in AWK Mode involving unterminated
9834         strings/regexps.
9836 2013-08-23  Glenn Morris  <rgm@gnu.org>
9838         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9840         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9842         * files.el (create-file-buffer): If the result would begin with
9843         spaces, prepend a "|" instead of removing them.  (Bug#15162)
9845 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9847         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9848         text-properties (bug#15155).
9850         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9851         exist any more.
9852         (calc-keypad-redraw): Remove unused var `pad'.
9853         (calc-keypad-press): Remove unused var `menu'.
9855 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
9857         * window.el (display-buffer-pop-up-frame):
9858         Call pop-up-frame-function with BUFFER current so `make-frame' will
9859         use it as the new frame's buffer (Bug#15133).
9861 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9863         * calendar/timeclock.el: Minor cleanups.
9864         (timeclock-ask-before-exiting, timeclock-use-display-time):
9865         Use `symbol'.
9866         (timeclock-modeline-display): Define as alias before the
9867         actual definition.
9868         (timeclock-mode-line-display): Use define-minor-mode.
9869         (timeclock-day-list-template): Make it a function, add an argument.
9870         (timeclock-day-list-required, timeclock-day-list-length)
9871         (timeclock-day-list-debt, timeclock-day-list-span)
9872         (timeclock-day-list-break): Adjust calls accordingly.
9874 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9876         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9877         Use read--expression so that completion works again.
9879 2013-08-21  Sam Steingold  <sds@gnu.org>
9881         Add rudimentary inferior shell interaction
9882         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9883         (sh-set-shell): Reset it.
9884         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9885         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9887 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9889         * align.el: Use lexical-binding.
9890         (align-region): Simplify accordingly.
9892 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
9894         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9896         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9897         `non-essential' up.
9899 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
9901         * net/tramp.el:
9902         * net/tramp-adb.el:
9903         * net/tramp-cmds.el:
9904         * net/tramp-ftp.el:
9905         * net/tramp-gvfs.el:
9906         * net/tramp-gw.el:
9907         * net/tramp-sh.el: Don't wrap external variable declarations by
9908         `eval-when-compile'.
9910 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9912         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9913         now that Emacs supports ImageMagick animations.
9915 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
9917         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9918         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9920 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
9922         * window.el (mouse-autoselect-window-select): Do autoselect when
9923         mouse pointer is on margin.
9925 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
9927         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
9929 2013-08-16  Glenn Morris  <rgm@gnu.org>
9931         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9932         Handle "Remote Directory" response of some clients.  (Bug#15058)
9934         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9935         Tweak warning.  (Bug#14926)
9937         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9938         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
9940         * image-mode.el (image-mode-map): Add menu items to reverse,
9941         increase, decrease, reset animation speed.
9942         (image--set-speed, image-increase-speed, image-decrease-speed)
9943         (image-reverse-speed, image-reset-speed): New functions.
9944         (image-mode-map): Add bindings for speed commands.
9946         * image.el (image-animate-get-speed, image-animate-set-speed):
9947         New functions.
9948         (image-animate-timeout): Respect image :speed property.
9950 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9952         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9953         previous line (bug#15101).
9954         (debugger-eval-expression, debugger-record-expression):
9955         Use read--expression (bug#15102).
9957 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
9959         Remove byte compiler warnings, visible when compiling with
9960         `byte-compile-force-lexical-warnings' set to t.
9962         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9963         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9964         (tramp-handle-unhandled-file-name-directory)
9965         (tramp-handle-file-notify-add-watch, tramp-action-login)
9966         (tramp-action-succeed, tramp-action-permission-denied)
9967         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9968         arguments with "_".
9970         * net/tramp-adb.el (tramp-adb-parse-device-names)
9971         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9972         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9973         (tramp-adb-handle-file-truename): Remove unused arguments.
9975         * net/tramp-cache.el (tramp-flush-directory-property)
9976         (tramp-flush-connection-property, tramp-list-connections)
9977         (tramp-parse-connection-properties): Prefix unused arguments with "_".
9979         * net/tramp-compat.el (tramp-compat-make-temp-file):
9980         Rename FILENAME to F.
9982         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9983         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9984         (tramp-zeroconf-parse-workstation-device-names)
9985         (tramp-zeroconf-parse-webdav-device-names)
9986         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9988         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9989         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9991         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9992         arguments.
9993         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9994         (tramp-sh-handle-insert-file-contents-literally)
9995         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9996         with "_".
9997         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9998         Remove unused variables.
10000         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10001         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10002         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10004         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10005         Make them a defconst.
10006         (tramp-uuencode-region): Remove unused variable.
10008 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
10010         * frameset.el (frameset--prop-setter): New function.
10011         (frameset-prop): Add gv-setter declaration.
10012         (frameset-filter-minibuffer): Deal with the case that the minibuffer
10013         parameter was already set in FILTERED.  Doc fix.
10014         (frameset--record-minibuffer-relationships): Allow saving a
10015         minibufferless frame without its corresponding minibuffer frame.
10016         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10017         frame, if the frame id matches.
10018         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10019         frames before orphaned ones.
10020         (frameset-restore): Warn about orphaned windows, instead of error out.
10022 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
10024         * window.el (window-make-atom): Don't overwrite parameter
10025         already present.
10026         (display-buffer-in-atom-window): Handle special case where we
10027         split an already atomic window.
10028         (window--major-non-side-window, display-buffer-in-side-window)
10029         (window--side-check): Ignore minibuffer window when walking
10030         window tree.
10031         (window-deletable-p): Return 'frame only if no other frame uses
10032         our minibuffer window.
10033         (record-window-buffer): Run buffer-list-update-hook.
10034         (split-window): Make sure window--check-frame won't destroy an
10035         existing atomic window in case the new window gets nested
10036         inside.
10037         (display-buffer-at-bottom): Ignore minibuffer window when
10038         walking window tree.  Don't split a side window.
10039         (pop-to-buffer): Don't set-buffer here, the select-window call
10040         should do that.
10041         (mouse-autoselect-window-select): Autoselect only if we are in the
10042         text portion of the window.
10044 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10046         * net/shr.el (shr-parse-image-data): New function to grab both the
10047         data itself and the Content-Type.
10048         (shr-put-image): Use it.
10050         * net/eww.el (eww-display-image): Ditto.
10052         * image.el (image-content-type-suffixes): New variable.
10054 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10056         * progmodes/python.el (python-imenu--build-tree)
10057         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10059 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
10061         * simple.el (backward-word): Mention the optional argument.
10063 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10065         * frameset.el (frameset--make): Rename constructor from make-frameset.
10066         (frameset-p, frameset-valid-p): Don't autoload.
10067         (frameset-valid-p): Use normal accessors.
10069 2013-08-13  Glenn Morris  <rgm@gnu.org>
10071         * progmodes/compile.el (compile-command): Tweak example in doc.
10072         * obsolete/scribe.el (scribe-mode):
10073         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
10075         * mail/feedmail.el (feedmail-confirm-outgoing)
10076         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10078         * cus-start.el (truncate-partial-width-windows): Fix type.
10080         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10082         * net/shr.el (shr-table-horizontal-line): Fix custom type.
10084 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10086         * emacs-lisp/timer.el (timer--time-setter): New function.
10087         (timer--time): Use it as gv-setter.
10089         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10090         setter is not a symbol.
10092 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
10094         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10095         if sending fails.  This makes debugging easier.
10097 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
10099         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10100         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10101         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10103 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
10105         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10107 2013-08-12  Glenn Morris  <rgm@gnu.org>
10109         * format.el (format-annotate-function):
10110         Handle read-only text properties in the source.  (Bug#14887)
10112 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10114         * net/eww.el (eww-display-html): Ignore coding system errors.
10115         One web site uses "utf-8lias" as the coding system.
10117 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
10119         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10121 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
10123         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10124         (tutorial--detailed-help): Remove unused local variables.
10125         (tutorial--save-tutorial-to): Use ignore-errors.
10126         (help-with-tutorial): Use looking-at-p.
10128         * view.el (view-buffer-other-window, view-buffer-other-frame):
10129         Mark unused arguments.
10131         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10132         (woman-select-symbol-fonts, woman, woman-find-file)
10133         (woman-insert-file-contents, woman-non-underline-faces):
10134         Use string-match-p.
10135         (woman1-unquote): Move declaration.
10137         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10138         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
10139         argument.  Remove unused local variable.
10140         (xml-parse-elem-type): Use string-match-p.
10141         (xml-substitute-numeric-entities): Use ignore-errors.
10143         * calculator.el (calculator): Mark unused argument.
10144         (calculator-paste, calculator-quit, calculator-integer-p):
10145         Use ignore-errors.
10146         (calculator-string-to-number, calculator-decimal, calculator-exp)
10147         (calculator-op-or-exp): Use string-match-p.
10149         * dired.el (dired-buffer-more-recently-used-p): Declare.
10150         (dired-insert-set-properties, dired-insert-old-subdirs):
10151         Use ignore-errors.
10153         * dired-aux.el (dired-compress): Use ignore-errors.
10154         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10155         (dired-do-async-shell-command, dired-do-shell-command)
10156         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10157         (dired-insert-subdir-validate): Use string-match-p.
10158         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10159         (dired-add-entry): Use string-match-p, looking-at-p.
10160         (dired-insert-subdir-newpos): Remove unused local variable.
10162         * filenotify.el (file-notify-callback): Remove unused local variable.
10164         * filesets.el (filesets-error): Mark unused argument.
10165         (filesets-which-command-p, filesets-filter-dir-names)
10166         (filesets-directory-files, filesets-get-external-viewer)
10167         (filesets-ingroup-get-data): Use string-match-p.
10169         * find-file.el (ff-other-file-name, ff-other-file-name)
10170         (ff-find-the-other-file, ff-cc-hh-converter):
10171         Remove unused local variables.
10172         (ff-get-file-name): Use string-match-p.
10173         (ff-all-dirs-under): Use ignore-errors.
10175         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10176         (follow-select-if-visible): Remove unused local variable.
10178         * forms.el (read-file-filter): Move declaration.
10179         (forms--make-format, forms--make-parser, forms-insert-record):
10180         Quote function with #'.
10181         (forms--update): Use string-match-p.  Quote function with #'.
10183         * help-mode.el (help-dir-local-var-def): Mark unused argument.
10184         (help-make-xrefs): Use looking-at-p.
10185         (help-xref-on-pp): Use looking-at-p, ignore-errors.
10187         * ibuffer.el (ibuffer-ext-visible-p): Declare.
10188         (ibuffer-confirm-operation-on): Use string-match-p.
10190         * msb.el (msb-item-handler, msb-dired-item-handler):
10191         Mark unused arguments.
10193         * ses.el (ses-decode-cell-symbol)
10194         (ses-kill-override): Remove unused local variable.
10195         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10196         (ses-load): Use ignore-errors, looking-at-p.
10197         (ses-jump-safe): Use ignore-errors.
10198         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10200         * tabify.el (untabify, tabify): Mark unused arguments.
10202         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10203         Mark unused argument.
10204         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10205         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10207         * emacs-lisp/timer.el (timer--time): Define setter with
10208         gv-define-setter to avoid deprecation warning.
10210         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10211         (*record-cmpl-statistics-p*): Remove (was commented out).
10212         (cmpl-statistics-block): Remove (body was commented out).
10213         All callers changed.
10214         (add-completions-from-buffer, load-completions-from-file):
10215         Remove unused variables.
10217 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
10219         * filecache.el (file-cache-delete-file-list):
10220         Print message only when told so.
10221         (file-cache-files-matching): Use #' in mapconcat argument.
10223         * ffap.el (ffap-url-at-point): Fix reference to variable
10224         thing-at-point-default-mail-uri-scheme.
10226 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10228         * subr.el (define-error): New function.
10229         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10230         error-file-not-found and define with define-error.
10231         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10232         and define with define-error.
10233         * userlock.el (file-locked, file-supersession):
10234         * simple.el (mark-inactive):
10235         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10236         * progmodes/ada-mode.el (ada-mode-errors):
10237         * play/life.el (life-extinct):
10238         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10239         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10240         * nxml/rng-util.el (rng-error):
10241         * nxml/rng-uri.el (rng-uri-error):
10242         * nxml/rng-match.el (rng-compile-error):
10243         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10244         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10245         * nxml/nxml-rap.el (nxml-scan-error):
10246         * nxml/nxml-outln.el (nxml-outline-error):
10247         * net/soap-client.el (soap-error):
10248         * net/gnutls.el (gnutls-error):
10249         * net/ange-ftp.el (ftp-error):
10250         * mpc.el (mpc-proc-error):
10251         * json.el (json-error, json-readtable-error, json-unknown-keyword)
10252         (json-number-format, json-string-escape, json-string-format)
10253         (json-key-format, json-object-format):
10254         * jka-compr.el (compression-error):
10255         * international/quail.el (quail-error):
10256         * international/kkc.el (kkc-error):
10257         * emacs-lisp/ert.el (ert-test-failed):
10258         * calc/calc.el (calc-error, inexact-result, math-overflow)
10259         (math-underflow):
10260         * bookmark.el (bookmark-error-no-filename):
10261         * epg.el (epg-error): Define with define-error.
10263         * time.el (display-time-event-handler)
10264         (display-time-next-load-average): Don't call sit-for since it seems
10265         unnecessary (bug#15045).
10267         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10268         Use #' instead of ' to quote functions.
10269         (checkdoc-output-mode): Use setq-local.
10270         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10271         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10272         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10273         (checkdoc-ispell, checkdoc-ispell-current-buffer)
10274         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10275         (checkdoc-ispell-message-text, checkdoc-ispell-start)
10276         (checkdoc-ispell-continue, checkdoc-ispell-comments)
10277         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10279         * ido.el (ido-completion-help): Fix up compiler warning.
10281 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
10283         * frameset.el (frameset-p): Add autoload cookie.
10284         (frameset--jump-to-register): New function, based on code moved from
10285         register.el.
10286         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
10288         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10289         (frameset-restore, frameset-save, frameset-session-filter-alist):
10290         Remove declarations.
10291         (register-alist): Doc fix.
10292         (frameset-to-register): Move to frameset.el.
10293         (jump-to-register, describe-register-1): Remove frameset-specific code.
10295 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10297         * allout-widgets.el (allout-widgets-pre-command-business)
10298         (allout-widgets-post-command-business)
10299         (allout-widgets-after-change-handler)
10300         (allout-decorate-item-and-context, allout-set-boundary-marker)
10301         (allout-body-modification-handler)
10302         (allout-graphics-modification-handler): Mark ignored arguments.
10303         (allout-widgets-post-command-business)
10304         (allout-widgets-exposure-change-processor)
10305         (allout-widgets-exposure-undo-processor)
10306         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10307         (allout-parse-item-at-point, allout-decorate-item-guides)
10308         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10309         * allout.el (epa-passphrase-callback-function): Declare.
10310         (allout-overlay-insert-in-front-handler)
10311         (allout-overlay-interior-modification-handler)
10312         (allout-isearch-end-handler, allout-chart-siblings)
10313         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10314         (allout-yank-processing, allout-process-exposed)
10315         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10316         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10317         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10318         (lisp-indent-defform): Mark ignored arguments.
10319         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
10320         (calculate-lisp-indent): Remove unused variables.
10321         * international/characters.el (indian-2-column, arabic-2-column)
10322         (tibetan): Mark ignored arguments.
10323         (use-cjk-char-width-table): Mark ignored arguments.
10324         Remove unused variables.
10325         * international/fontset.el (build-default-fontset-data)
10326         (x-compose-font-name, create-fontset-from-fontset-spec):
10327         Mark ignored arguments.
10328         (fontset-plain-name): Remove unused variables.
10329         * international/mule.el (charset-id, charset-bytes, generic-char-p)
10330         (keyboard-coding-system): Mark ignored arguments.
10331         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
10332         * help.el (resize-temp-buffer-window):
10333         * window.el (display-buffer-in-major-side-window)
10334         (display-buffer-in-side-window, display-buffer-in-previous-window):
10335         Remove unused variables.
10336         * isearch.el (isearch-forward-symbol):
10337         * version.el (emacs-bzr-version-bzr):
10338         * international/mule-cmds.el (current-language-environment):
10339         * term/common-win.el (x-handle-iconic, x-handle-geometry)
10340         (x-handle-display):
10341         * term/pc-win.el (x-list-fonts, x-display-planes)
10342         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10343         (x-server-version, x-display-screens, x-display-mm-height)
10344         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10345         (x-selection-owner-p, x-own-selection-internal)
10346         (x-disown-selection-internal, x-get-selection-internal)
10347         (msdos-initialize-window-system):
10348         * term/tty-colors.el (tty-color-alist, tty-color-clear):
10349         * term/x-win.el (x-handle-no-bitmap-icon):
10350         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10351         (vc-default-find-file-hook, vc-default-extra-menu):
10352         Mark ignored arguments.
10354 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10356         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10357         break-condition in the context of the debugged code (bug#12685).
10359 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
10361         * comint.el:
10362         Do not use an overlay to highlight the last prompt.  (Bug#14744)
10363         (comint-mode): Make comint-last-prompt buffer local.
10364         (comint-last-prompt): New variable.
10365         (comint-last-prompt-overlay): Remove.  Superseded by
10366         comint-last-prompt.
10367         (comint-snapshot-last-prompt, comint-output-filter):
10368         Use comint-last-prompt.
10370 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10372         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
10373         (frameset-save): Check validity of the resulting frameset.
10375 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
10377         * ido.el (ido-record-command): Add doc string.
10379 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10381         * frameset.el (frameset): Do not disable creation of the default
10382         frameset-p predicate.  Doc fix.
10383         (frameset-valid-p): New function, copied from the old predicate-p.
10384         Add additional checks.
10385         (frameset-restore): Check with frameset-valid-p.
10386         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10387         (frameset-name, frameset-description, frameset-properties)
10388         (frameset-states): Add docstring.
10389         (frameset-session-filter-alist, frameset-persistent-filter-alist)
10390         (frameset-filter-alist): Doc fixes.
10392 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10394         * frameset.el (frameset-p, frameset-prop): Doc fixes.
10396 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10398         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10399         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10400         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10401         (byte-compile-normal-call): Remove obsolescence check.
10403 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10405         * frameset.el (frameset-restore): Doc fix.
10407         * register.el (frameset-frame-id, frameset-frame-with-id)
10408         (frameset-p, frameset-restore, frameset-save): Declare.
10409         (register-alist): Document framesets.
10410         (frameset-session-filter-alist): Declare.
10411         (frameset-to-register): New function.
10412         (jump-to-register): Implement jumping to framesets.  Doc fix.
10413         (describe-register-1): Describe framesets.
10415         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10417 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
10419         * desktop.el (desktop-save-frameset): Use new frameset-save args.
10420         Use lexical-binding.
10422         * frameset.el (frameset): Use type vector, not list (incompatible
10423         change).  Do not declare a new constructor, use the default one.
10424         Upgrade suggested properties `app', `name' and `desc' to slots `app',
10425         `name' and `description', respectively, and add read-only slot
10426         `timestamp'.  Doc fixes.
10427         (frameset-copy, frameset-persistent-filter-alist)
10428         (frameset-filter-alist, frameset-switch-to-gui-p)
10429         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10430         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10431         (frameset-filter-iconified, frameset-keep-original-display-p):
10432         Doc fixes.
10433         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10434         Rename from frameset-filter-(save|restore)-param.  All callers changed.
10435         Doc fix.
10436         (frameset-p): Adapt to change to vector and be more thorough.
10437         Change arg name to OBJECT.  Doc fix.
10438         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
10439         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10440         All callers changed.
10441         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10442         All callers changed.
10443         (frameset--record-minibuffer-relationships): Rename from
10444         frameset--process-minibuffer-frames.  All callers changed.
10445         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10446         Use new default constructor (again).  Doc fix.
10447         (frameset--find-frame-if): Rename from `frameset--find-frame'.
10448         All callers changed.
10449         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10450         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10451         Doc fix.
10452         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10453         PARAMETERS and WINDOW-STATE, respectively.
10454         (frameset-restore): Add new keyword argument PREDICATE.
10455         Reset frameset--target-display to nil.  Doc fix.
10457 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10459         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10460         (bat-mode): Use it.
10461         (bat-mode-syntax-table): Mark \n as end-of-comment.
10462         (bat-font-lock-keywords): Remove comment rule.
10464         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
10465         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
10467         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10468         (byte-compile-callargs-warn): Use `push'.
10469         (byte-compile-arglist-warn): Ignore higher-order "calls".
10470         (byte-compile-file-form-autoload): Use `pcase'.
10471         (byte-compile-function-form): If quoting a symbol, check that it exists.
10473 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
10475         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10476         and add a few popular commands found in batch files.
10477         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10478         (dos-mode): Doc fixes.
10480 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10482         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10483         (dos-mode): Use setq-local.  Add space after "rem".
10484         (dos-mode-syntax-table): Don't use "w" for symbol chars.
10485         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10487 2013-08-07  Arni Magnusson  <arnima@hafro.is>
10489         * progmodes/dos.el: New file.
10490         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10491         dos-mode.
10493 2013-08-06  Glenn Morris  <rgm@gnu.org>
10495         * calendar/calendar.el: Add new faces, and day-header-array.
10496         (calendar-weekday-header, calendar-weekend-header)
10497         (calendar-month-header): New faces.
10498         (calendar-day-header-construct): New function.
10499         (calendar-day-header-width): Also :set calendar-day-header-array.
10500         (calendar-american-month-header, calendar-european-month-header)
10501         (calendar-iso-month-header): Use calendar- faces.
10502         (calendar-generate-month):
10503         Use calendar-day-header-array for day headers; apply faces to them.
10504         (calendar-mode): Check calendar-font-lock-keywords non-nil.
10505         (calendar-abbrev-construct): Add optional maxlen argument.
10506         (calendar-day-name-array): Doc fix.
10507         (calendar-day-name-array, calendar-abbrev-length)
10508         (calendar-day-abbrev-array):
10509         Also :set calendar-day-header-array, and maybe redraw.
10510         (calendar-day-header-array): New option.  (Bug#15007)
10511         (calendar-font-lock-keywords): Set to nil and make obsolete.
10512         (calendar-day-name): Add option to use header array.
10514 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10516         * net/shr.el (shr-render-td): Remove debugging.
10517         (shr-render-td): Make width computation consistent by defaulting
10518         all zero-width columns to 10 characters.  This may not be optimal,
10519         but it's at least consistent.
10520         (shr-make-table-1): Redo last change to fix the real problem in
10521         colspan handling.
10523 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
10525         * files.el (cache-long-line-scans):
10526         Make obsolete alias to `cache-long-scans'.
10528 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
10530         * frameset.el (frameset, frameset-filter-alist)
10531         (frameset-filter-params, frameset-save, frameset--reuse-frame)
10532         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10533         (frameset-compute-pos): Rename from frameset--compute-pos,
10534         and add docstring.
10535         (frameset-move-onscreen): Use frameset-compute-pos.
10536         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10538         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10539         Fix typos in docstrings.
10541 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
10543         * frame.el (get-other-frame): Tiny cleanup.
10545 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
10547         * vc/vc.el (vc-default-ignore-completion-table):
10548         Silence byte-compiler warning.
10550         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10551         slot, which can indeed be nil.
10552         (frameset-live-filter-alist, frameset-persistent-filter-alist):
10553         Move entry for `left' from persistent to live filter alist.
10554         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10555         Doc fixes.
10556         (frameset-filter-params): When restoring a frame, copy items added to
10557         `filtered', to avoid unwittingly modifying the original parameters.
10558         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
10559         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10561         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10562         to use looking-at-p instead of looking-at.  (Bug#15028)
10564 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10566         Revert introduction of isearch-filter-predicates (bug#14714).
10567         Rely on add-function instead.
10568         * isearch.el (isearch-filter-predicates): Rename it back to
10569         isearch-filter-predicate.
10570         (isearch-message-prefix): Use advice-function-mapc and advice
10571         properties to get the isearch-message-prefix.
10572         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10573         instead of run-hook-with-args-until-failure.
10574         (isearch-filter-visible): Not obsolete any more.
10575         * loadup.el: Preload nadvice.
10576         * replace.el (perform-replace): Revert to funcall
10577         instead of run-hook-with-args-until-failure.
10578         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10579         * dired-aux.el (dired-isearch-filenames-mode): Rename from
10580         dired-isearch-filenames-toggle; make it into a proper minor mode.
10581         Use add/remove-function.
10582         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10583         Call the minor-mode rather than add/remove-hook.
10584         (dired-isearch-filter-filenames):
10585         Remove isearch-message-prefix property.
10586         * info.el (Info--search-loop): New function, extracted from Info-search.
10587         Funcall isearch-filter-predicate instead of
10588         run-hook-with-args-until-failure isearch-filter-predicates.
10589         (Info-search): Use it.
10590         (Info-mode): Use isearch-filter-predicate instead of
10591         isearch-filter-predicates.
10593 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
10595         Do not call to `selected-window' where it is assumed by default.
10596         Affected functions are `window-minibuffer-p', `window-dedicated-p',
10597         `window-hscroll', `window-width', `window-height', `window-buffer',
10598         `window-frame', `window-start', `window-point', `next-window'
10599         and `window-display-table'.
10600         * abbrev.el (abbrev--default-expand):
10601         * bs.el (bs--show-with-configuration):
10602         * buff-menu.el (Buffer-menu-mouse-select):
10603         * calc/calc.el (calc):
10604         * calendar/calendar.el (calendar-generate-window):
10605         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10606         (diary-make-entry):
10607         * comint.el (send-invisible, comint-dynamic-complete-filename)
10608         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10609         * completion.el (complete):
10610         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10611         * disp-table.el (describe-current-display-table):
10612         * doc-view.el (doc-view-insert-image):
10613         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10614         * ehelp.el (with-electric-help):
10615         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10616         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10617         * emacs-lisp/helper.el (Helper-help-scroller):
10618         * emulation/cua-base.el (cua--post-command-handler-1):
10619         * eshell/esh-mode.el (eshell-output-filter):
10620         * ffap.el (ffap-gnus-wrapper):
10621         * help-macro.el (make-help-screen):
10622         * hilit-chg.el (highlight-compare-buffers):
10623         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10624         * hl-line.el (global-hl-line-highlight):
10625         * icomplete.el (icomplete-simple-completing-p):
10626         * isearch.el (isearch-done):
10627         * jit-lock.el (jit-lock-stealth-fontify):
10628         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10629         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10630         * mpc.el (mpc-tagbrowser, mpc):
10631         * net/rcirc.el (rcirc-any-buffer):
10632         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10633         * play/landmark.el (landmark-max-width, landmark-max-height):
10634         * play/zone.el (zone):
10635         * progmodes/compile.el (compilation-goto-locus):
10636         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10637         * progmodes/etags.el (find-tag-other-window):
10638         * progmodes/fortran.el (fortran-column-ruler):
10639         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10640         * progmodes/verilog-mode.el (verilog-point-text):
10641         * reposition.el (reposition-window):
10642         * rot13.el (toggle-rot13-mode):
10643         * server.el (server-switch-buffer):
10644         * shell.el (shell-dynamic-complete-command)
10645         (shell-dynamic-complete-environment-variable):
10646         * simple.el (insert-buffer, set-selective-display)
10647         (delete-completion-window):
10648         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10649         (speedbar-recenter):
10650         * startup.el (fancy-splash-head):
10651         * textmodes/ispell.el (ispell-command-loop):
10652         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10653         * tutorial.el (help-with-tutorial):
10654         * vc/add-log.el (add-change-log-entry):
10655         * vc/compare-w.el (compare-windows):
10656         * vc/ediff-help.el (ediff-indent-help-message):
10657         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10658         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10659         (ediff-setup-control-frame):
10660         * vc/emerge.el (emerge-position-region):
10661         * vc/pcvs-util.el (cvs-bury-buffer):
10662         * window.el (walk-windows, mouse-autoselect-window-select):
10663         * winner.el (winner-set-conf, winner-undo): Related users changed.
10665 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
10667         * frameset.el (frameset--set-id): Doc fix.
10668         (frameset-frame-id, frameset-frame-id-equal-p)
10669         (frameset-locate-frame-id): New functions.
10670         (frameset--process-minibuffer-frames, frameset--reuse-frame)
10671         (frameset-restore): Use them.
10673 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
10675         Do not call to `selected-frame' where it is assumed by default.
10676         Affected functions are `raise-frame', `redraw-frame',
10677         `frame-first-window', `frame-terminal' and `delete-frame'.
10678         * calendar/appt.el (appt-disp-window):
10679         * epg.el (epg-wait-for-completion):
10680         * follow.el (follow-delete-other-windows-and-split)
10681         (follow-avoid-tail-recenter):
10682         * international/mule.el (set-terminal-coding-system):
10683         * mail/rmail.el (rmail-mail-return):
10684         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10685         * progmodes/f90.el (f90-add-imenu-menu):
10686         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10687         * server.el (server-switch-buffer):
10688         * simple.el (delete-completion-window):
10689         * talk.el (talk):
10690         * term/xterm.el (terminal-init-xterm-modify-other-keys)
10691         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10692         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10693         * vc/ediff.el (ediff-documentation): Related users changed.
10694         * frame.el (selected-terminal): Remove the leftover.
10696 2013-08-05  Glenn Morris  <rgm@gnu.org>
10698         * calendar/calendar.el (calendar-generate-month):
10699         Fix for calendar-column-width != 1 + calendar-day-digit-width.
10700         (calendar-generate-month, calendar-font-lock-keywords):
10701         Fix for calendar-day-header-width > length of any day name.
10703 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
10705         * desktop.el (desktop-clear): Use new name of sort predicate.
10707         * frameset.el (frameset): Add docstring.  Move :version property to its
10708         own `version' slot.
10709         (frameset-copy): Rename from copy-frameset.
10710         (frameset-p): Check more thoroughly.
10711         (frameset-prop): Do not check for :version, which is no longer a prop.
10712         (frameset-live-filter-alist, frameset-persistent-filter-alist):
10713         Use new :never value instead of t.
10714         (frameset-filter-alist): Expand and clarify docstring.
10715         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10716         (frameset-filter-minibuffer, frameset-filter-save-param)
10717         (frameset-filter-restore-param, frameset-filter-iconified):
10718         Add pointer to docstring of frameset-filter-alist.
10719         (frameset-filter-params): Rename filter values to be more meaningful:
10720         :never instead of t, and reverse the meanings of :save and :restore.
10721         (frameset--process-minibuffer-frames): Clarify error message.
10722         (frameset-save): Avoid unnecessary and confusing call to framep.
10723         Use new BOA constructor for framesets.
10724         (frameset--reuse-list): Doc fix.
10725         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
10726         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10727         (frameset-minibufferless-first-p): Doc fix.
10728         Rename from frameset-sort-frames-for-deletion.
10729         (frameset-restore): Doc fixes.  Use new function names.
10730         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10732 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
10734         * desktop.el (desktop-restore-forces-onscreen)
10735         (desktop-restore-reuses-frames): Document :keyword constant values.
10736         (desktop-filter-parameters-alist): Remove, now identical to
10737         frameset-filter-alist.
10738         (desktop--filter-tty*): Remove, moved to frameset.el.
10739         (desktop-save-frameset, desktop-restore-frameset):
10740         Do not pass :filters argument.
10742         * frameset.el (frameset-live-filter-alist)
10743         (frameset-persistent-filter-alist): New variables.
10744         (frameset-filter-alist): Use them.  Add autoload cookie.
10745         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10746         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10747         `frameset--id' (it's supposed to be internal to frameset.el).
10748         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
10749         (frameset--initial-params): New function.
10750         (frameset--get-frame): Use it.  Doc fix.
10751         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10752         Accept :all, not 'all.
10753         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10754         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
10755         with fbound symbols.  Fix frame id matching, and remove matching ids if
10756         the frame being restored is deleted.  Obey :delete.
10758 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10760         * subr.el (macrop): New function.
10761         (text-clone--maintaining): New var.
10762         (text-clone--maintain): Rename from text-clone-maintain.  Use it
10763         instead of inhibit-modification-hooks.
10765         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10766         a proxy, so as handle autoloads and redefinitions of the target.
10767         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10769         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10770         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
10771         (pcase--mutually-exclusive-p): New function.
10772         (pcase--split-consp): Use it.
10773         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
10774         mutually exclusive with the current predicate.
10776         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10777         (edebug-macrop): Remove.  Use `macrop' instead.
10778         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
10779         (ad-macro-p):
10780         * eshell/esh-cmd.el (eshell-macrop):
10781         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
10783 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10785         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10786         (advice-mapc): New function, using it.
10787         (advice-function-member-p): New function.
10788         (advice--normalize): Store the cdr in advice--saved-rewrite since
10789         that's the part that will be changed.
10790         (advice--symbol-function): New function.
10791         (advice-remove): Handle removal before the function is defined.
10792         Adjust to new advice--saved-rewrite.
10793         (advice-member-p): Use advice-function-member-p and
10794         advice--symbol-function.
10796 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
10798         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10799         (frameset-filter-minibuffer): Doc fix.
10800         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
10801         (frameset--set-id, frameset--process-minibuffer-frames)
10802         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10803         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10805         * desktop.el (desktop-clear): Only delete frames when called
10806         interactively and desktop-restore-frames is non-nil.  Doc fix.
10807         (desktop-read): Set desktop-saved-frameset to nil.
10809 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
10811         * vc/vc.el (vc-ignore): Rewrite.
10812         (vc-default-ignore-completion-table, vc--read-lines)
10813         (vc--add-line, vc--remove-regexp): New functions.
10815         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10816         (vc-svn-ignore-completion-table): New function.
10818         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10819         (vc-hg-ignore-completion-table)
10820         (vc-hg-find-ignore-file): New functions.
10822         * vc/vc-git.el (vc-git-ignore): Rewrite.
10823         (vc-git-ignore-completion-table)
10824         (vc-git-find-ignore-file): New functions.
10826         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10828         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10829         (vc-bzr-ignore-completion-table)
10830         (vc-bzr-find-ignore-file): New functions.
10832 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
10834         * frameset.el (frameset-prop): New function and setter.
10835         (frameset-save): Do not modify frame list passed by the caller.
10837 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10839         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10841 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10843         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10844         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10846         * custom.el (custom-initialize-default, custom-initialize-set)
10847         (custom-initialize-reset, custom-initialize-changed): Affect the
10848         toplevel-default-value (bug#6275, bug#14586).
10849         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10850         for bug#6275.
10852 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
10854         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10855         Add cl-def* expressions.
10857         * frameset.el (frameset-filter-params): Fix order of arguments.
10859 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
10861         Move code related to saving frames to frameset.el.
10862         * desktop.el: Require frameset.
10863         (desktop-restore-frames): Doc fix.
10864         (desktop-restore-reuses-frames): Rename from
10865         desktop-restoring-reuses-frames.
10866         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10867         (desktop-clear): Clear frames too.
10868         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10869         (desktop--filter-tty*, desktop-save, desktop-read):
10870         Use frameset functions.
10871         (desktop-before-saving-frames-functions, desktop--filter-*-color)
10872         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10873         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10874         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10875         (desktop--process-minibuffer-frames, desktop-save-frames)
10876         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10877         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10878         (desktop--sort-states, desktop-restoring-frames-p)
10879         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
10880         (desktop-restoring-frameset-p, desktop-restore-frameset)
10881         (desktop--check-dont-save, desktop-save-frameset): New functions.
10882         (desktop--app-id): New constant.
10883         (desktop-first-buffer, desktop-buffer-ok-count)
10884         (desktop-buffer-fail-count): Move before first use.
10885         * frameset.el: New file.
10887 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10889         * files.el: Use lexical-binding.
10890         (dir-locals-read-from-file): Remove unused `err' variable.
10891         (hack-dir-local-variables--warned-coding): New var.
10892         (hack-dir-local-variables): Use it to avoid repeated warnings.
10893         (make-backup-file-name--default-function): New function.
10894         (make-backup-file-name-function): Use it as default.
10895         (buffer-stale--default-function): New function.
10896         (buffer-stale-function): Use it as default.
10897         (revert-buffer-insert-file-contents--default-function): New function.
10898         (revert-buffer-insert-file-contents-function): Use it as default.
10899         (insert-directory): Avoid add-to-list.
10901         * autorevert.el (auto-revert-handler): Simplify.
10902         Use buffer-stale--default-function.
10904 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
10906         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10908         * whitespace.el (whitespace-ensure-local-variables): New function.
10909         (whitespace-cleanup-region): Call it.
10910         (whitespace-turn-on): Call it.
10912 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
10914         Complete file name handlers.
10916         * net/tramp.el (tramp-handle-set-visited-file-modtime)
10917         (tramp-handle-verify-visited-file-modtime)
10918         (tramp-handle-file-notify-rm-watch): New functions.
10919         (tramp-call-process): Do not bind `default-directory'.
10921         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10922         Order alphabetically.
10923         <access-file, add-name-to-file, dired-call-process>:
10924         <dired-compress-file, file-acl, file-notify-rm-watch>:
10925         <file-ownership-preserved-p, file-selinux-context>:
10926         <make-directory-internal, make-symbolic-link, set-file-acl>:
10927         <set-file-selinux-context, set-visited-file-modtime>:
10928         <verify-visited-file-modtime>: Add handler.
10929         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10931         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10932         <file-notify-add-watch, file-notify-rm-watch>:
10933         <set-file-times, set-visited-file-modtime>:
10934         <verify-visited-file-modtime>: Add handler.
10935         (with-tramp-gvfs-error-message)
10936         (tramp-gvfs-handle-set-visited-file-modtime)
10937         (tramp-gvfs-fuse-file-name): Remove.
10938         (tramp-gvfs-handle-file-notify-add-watch)
10939         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10940         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10942         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10943         Order alphabetically.
10944         <file-notify-rm-watch>: Use default Tramp handler.
10945         <executable-find>: Remove private handler.
10946         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10947         `default-directory'.
10948         (tramp-sh-handle-executable-find)
10949         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10950         (tramp-sh-file-gvfs-monitor-dir-process-filter)
10951         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10952         Do not use `format' in `tramp-message'.
10954         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10955         <file-notify-rm-watch, set-visited-file-modtime>:
10956         <verify-visited-file-modtime>: Add handler.
10957         (tramp-smb-call-winexe): Do not bind `default-directory'.
10959 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
10961         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10963 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
10965         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10966         use it.
10967         (log-view-diff-changeset): Same.
10968         (log-view-diff-common): Call backend command `previous-revision'
10969         to find out the previous revision, in both cases.  Swap the
10970         variables `to' and `fr', so that `fr' usually refers to the
10971         earlier revision (Bug#14989).
10973 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
10975         * ibuf-ext.el (ibuffer-filter-by-filename):
10976         Make it work with dired buffers too.
10978 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
10980         * emacs-lisp/re-builder.el (reb-color-display-p):
10981         * files.el (save-buffers-kill-terminal):
10982         * net/browse-url.el (browse-url):
10983         * server.el (server-save-buffers-kill-terminal):
10984         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10985         Prefer nil to selected-frame for the first arg of frame-parameter.
10987 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
10989         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10991 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
10993         * minibuffer.el (completion--twq-all): Try and preserve each
10994         completion's case choice (bug#14907).
10996 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10998         * net/network-stream.el (open-network-stream): Mention the new
10999         :nogreeting parameter.
11000         (network-stream-open-starttls): Use the :nogreeting parameter
11001         (bug#14938).
11003         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11005         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11006         more natural than popping.
11008         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11009         (shr-urlify): Highlight under mouse.
11011 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
11013         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11015         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11017         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
11018         buffer for output.
11020         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
11021         point-min==1.  Fix search string.  Fix parentheses missing.
11023         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
11024         assume point-min==1.  Fix search string.  Fix parentheses missing.
11026         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11028         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
11029         buffer for output.
11031 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
11033         * frame.el (frame-notice-user-settings): Avoid inflooping when the
11034         initial frame is minibuffer-less.  (Bug#14841)
11036 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
11038         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11039         option.
11041         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11042         (tramp-maybe-open-connection): Use it.
11044 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
11046         * desktop.el (desktop--make-frame): Include `minibuffer' in the
11047         minimal set of parameters passed when creating a frame, because
11048         the minibuffer status of a frame cannot be changed later.
11050 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
11052         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11053         replace-regexp-in-string and inadvertent omissions in previous change.
11054         (todo-filter-items): Ensure only file names are comma-separated in
11055         name of filtered items buffer.
11057 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
11059         * desktop.el: Optionally force offscreen frames back onscreen.
11060         (desktop-restoring-reuses-frames): New option.
11061         (desktop--compute-pos, desktop--move-onscreen): New functions.
11062         (desktop--make-frame): Use desktop--move-onscreen.
11064 2013-07-27  Alan Mackenzie  <acm@muc.de>
11066         Fontify a Java generic method as a function.
11067         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11068         value to t.
11070 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
11072         * calendar/todo-mode.el: Add command to rename todo files.
11073         (todo-rename-file): New command.
11074         (todo-key-bindings-t): Add key binding for it.  Change the
11075         bindings of todo-filter-regexp-items(-multifile) to use `x'
11076         instead of `r', since the latter is better suited to the new
11077         renaming command.
11079 2013-07-27  Alan Mackenzie  <acm@muc.de>
11081         Make Java try-with-resources statement parse properly.
11082         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11083         (c-block-stmt-1-2-key): New language constants/variables.
11084         * progmodes/cc-engine.el (c-beginning-of-statement-1)
11085         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11086         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11087         with c-block-stmt-1-2-key.
11089 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
11091         * desktop.el (desktop--make-frame): Apply most frame parameters after
11092         creating the frame to force (partially or totally) offscreen frames to
11093         be restored as such.
11095 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
11097         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11098         (Bug#14948)
11100 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11102         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11103         `base' arg of backtrace-frame.
11105 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
11107         * simple.el (list-processes): Doc fix.
11109 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
11111         * desktop.el (desktop--select-frame):
11112         Try harder to reuse existing frames.
11114 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11116         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11117         (edebug-eval): Use backtrace-eval.
11118         (edebug--display, edebug--recursive-edit): Don't let-bind the
11119         edebug-outer-* vars that keep track of variables we locally let-bind.
11120         (edebug-outside-excursion): Don't restore outside values of locally
11121         let-bound vars.
11122         (edebug--display): Use user-error.
11123         (cl-lexical-debug, cl-debug-env): Remove.
11125 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
11127         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11128         are restored to be sure that they are visible before deleting any
11129         remaining ones.
11131 2013-07-26  Matthias Meulien  <orontee@gmail.com>
11133         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11134         vc-print-root-log.  (Bug#14948)
11136 2013-07-26  Richard Stallman  <rms@gnu.org>
11138         Add aliases for encrypting mail.
11139         * epa.el (epa-mail-aliases): New option.
11140         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11141         Bind inhibit-read-only so read-only text doesn't ruin everything.
11142         (epa-mail-default-recipients): New subroutine broken out.
11143         Handle epa-mail-aliases.
11145 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11147         Add support for lexical variables to the debugger's `e' command.
11148         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11149         vars, except for debugger-outer-match-data.
11150         (debugger-frame-number): Move check for "on a function call" from
11151         callers into it.  Add `skip-base' argument.
11152         (debugger-frame, debugger-frame-clear): Simplify accordingly.
11153         (debugger-env-macro): Only reset the state stored in non-variables,
11154         i.e. current-buffer and match-data.
11155         (debugger-eval-expression): Rewrite using backtrace-eval.
11156         * subr.el (internal--called-interactively-p--get-frame): Remove.
11157         (called-interactively-p):
11158         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11159         `base' arg of backtrace-frame instead.
11161 2013-07-26  Glenn Morris  <rgm@gnu.org>
11163         * align.el (align-regexp): Doc fix.  (Bug#14857)
11164         (align-region): Explicit error if subexpression missing/does not match.
11166         * simple.el (global-visual-line-mode):
11167         Do not duplicate the mode lighter.  (Bug#14858)
11169 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
11171         * window.el (display-buffer): In display-buffer bind
11172         split-window-keep-point to t, bug#14829.
11174 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
11176         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11177         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11178         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11179         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11180         Change accordingly.
11181         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11182         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11184 2013-07-25  Glenn Morris  <rgm@gnu.org>
11186         * dired-x.el (dired-mark-extension): Convert comment to doc string.
11188 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
11190         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11191         parameter to modify-frame-parameters if the value has not changed;
11192         this is a workaround for bug#14949.
11193         (desktop--make-frame): On cl-delete-if call, check parameter name,
11194         not full parameter.
11196 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
11198         * vc/vc.el (vc-ignore): New function.
11200         * vc/vc-svn.el (vc-svn-ignore): New function.
11202         * vc/vc-hg.el (vc-hg-ignore): New function.
11204         * vc/vc-git.el (vc-git-ignore): New function.
11206         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11207         (vc-dir-ignore): New function.
11209         * vc/vc-cvs.el (vc-cvs-ignore): New function.
11210         (cvs-append-to-ignore): Move here from pcvs.el.
11212         * vc/vc-bzr.el (vc-bzr-ignore): New function.
11214         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11216 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
11218         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11219         (desktop-restore-frames): Warn when deleting an existing frame failed.
11221 2013-07-24  Glenn Morris  <rgm@gnu.org>
11223         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
11225 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
11227         * filenotify.el (file-notify-supported-p):
11228         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11229         Remove functions.
11231         * autorevert.el (auto-revert-use-notify)
11232         (auto-revert-notify-add-watch):
11233         * net/tramp.el (tramp-file-name-for-operation):
11234         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11235         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11236         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11237         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11238         Remove `file-notify-supported-p' entry.
11240 2013-07-24  Glenn Morris  <rgm@gnu.org>
11242         * printing.el: Replace all uses of deleted ps-windows-system,
11243         ps-lp-system, ps-flatten-list with lpr- versions.
11245 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11247         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11248         checked with memq (bug#14935).
11250         * files.el (revert-buffer-function): Use a non-nil default.
11251         (revert-buffer-preserve-modes): Declare var to
11252         provide access to the `preserve-modes' argument.
11253         (revert-buffer): Let-bind it.
11254         (revert-buffer--default): New function, extracted from revert-buffer.
11256 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11258         * lpr.el: Signal print errors more prominently.
11259         (print-region-function): Don't default to nil.
11260         (lpr-print-region): New function, extracted from print-region-1.
11261         Check lpr's return value and signal an error in case of problem.
11262         (print-region-1): Use it.
11263         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
11264         versions instead.
11265         (ps-printer-name): Default to nil.
11266         (ps-printer-name-option): Default to lpr-printer-switch.
11267         (ps-print-region-function): Don't default to nil.
11268         (ps-postscript-code-directory): Simplify default.
11269         (ps-do-despool): Use lpr-print-region to properly check the outcome.
11270         (ps-string-list, ps-eval-switch, ps-flatten-list)
11271         (ps-flatten-list-1): Remove.
11272         (ps-multibyte-buffer): Avoid setq.
11273         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11274         (print-region-function, ps-print-region-function): Don't set them here.
11276 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
11278         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11279         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11280         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11281         (ido-decorations): Doc fix.
11283         * ansi-color.el: Fix old URL.
11285 2013-07-23  Michael R. Mauger  <michael@mauger.com>
11287         * progmodes/sql.el: Version 3.3
11288         (sql-product-alist): Improve oracle :prompt-cont-regexp.
11289         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11290         (sql-interactive-remove-continuation-prompt): Rewrite, use
11291         functions above.  Fix continuation prompt and complete output line
11292         handling.
11293         (sql-redirect-one, sql-execute): Use `read-only-mode' on
11294         redirected output buffer.
11295         (sql-mode): Restore deleted code (Bug#13591).
11297 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
11299         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11301 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
11303         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11305         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11306         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11307         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11309 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
11311         * desktop.el (desktop-clear): Simplify; remove useless checks
11312         against invalid buffer names.
11313         (desktop-list*): Use cl-list*.
11314         (desktop-buffer-info, desktop-create-buffer): Simplify.
11316 2013-07-23  Leo Liu  <sdl.web@gmail.com>
11318         * bookmark.el (bookmark-make-record): Restore NAME as a default
11319         value.  (Bug#14933)
11321 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11323         * emacs-lisp/autoload.el (autoload--setup-output): New function,
11324         extracted from autoload--insert-text.
11325         (autoload--insert-text): Remove.
11326         (autoload--print-cookie-text): New function, extracted from
11327         autoload--insert-cookie-text.
11328         (autoload--insert-cookie-text): Remove.
11329         (autoload-generate-file-autoloads): Adjust calls accordingly.
11331         * winner.el (winner-hook-installed-p): Remove.
11332         (winner-mode): Simplify accordingly.
11334         * subr.el (add-to-list): Fix compiler-macro when `append' is
11335         not constant.  Don't use `cl-member' for the base case.
11337         * progmodes/subword.el: Fix boundary case (bug#13758).
11338         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
11339         own group.
11340         (subword-backward-regexp): Make it a constant.
11341         (subword-forward-internal): Don't treat a trailing capital as the
11342         beginning of a word.
11344 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
11346         * emacs-lisp/package.el (package-menu-mode): Don't modify the
11347         global value of tabulated-list-revert-hook (bug#14930).
11349 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
11351         * desktop.el: Require 'cl-lib.
11352         (desktop-before-saving-frames-functions): New hook.
11353         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11354         for frames being saved.  Rename from desktop--save-minibuffer-frames.
11355         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11356         Do not save frames with non-nil `desktop-dont-save' parameter.
11357         Filter out deleted frames.
11358         (desktop--find-frame): Use cl-find-if.
11359         (desktop--select-frame): Use cl-(first|second|third) to access values
11360         of desktop-mini.
11361         (desktop--make-frame): Use cl-delete-if.
11362         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11363         (desktop-restore-frames): Use cl-(first|second|third) to access values
11364         of desktop-mini.  Look for visible frame at the end, not while
11365         restoring frames.
11367         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11368         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11369         Use string-match-p, looking-at-p (bug#14927).
11371 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
11373         * desktop.el (desktop-saved-frame-states):
11374         Rename from desktop--saved-states; all users changed.
11375         (desktop-save-frames): Rename from desktop--save-frames.
11376         Do not save state to desktop file.
11377         (desktop-save): Save desktop-saved-frame-states to desktop file
11378         and reset to nil.
11379         (desktop-restoring-frames-p): New function.
11380         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
11381         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
11382         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
11384         * desktop.el: Correctly restore iconified frames.
11385         (desktop--filter-iconified-position): New function.
11386         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11388 2013-07-20  Glenn Morris  <rgm@gnu.org>
11390         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11391         Let `message' do the formatting.
11392         (def-gdb-preempt-display-buffer): Add explicit format.
11394         * image-dired.el (image-dired-track-original-file):
11395         Use with-current-buffer.
11396         (image-dired-track-thumbnail): Use with-current-buffer.
11397         Avoid changing point of wrong window.
11399         * image-dired.el (image-dired-track-original-file):
11400         Avoid changing point of wrong window.  (Bug#14909)
11402 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
11404         * progmodes/gdb-mi.el (gdb-done-or-error):
11405         Guard against "%" in gdb output.  (Bug#14127)
11407 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
11409         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11410         (Bug#14826)
11412         * international/mule.el (coding-system-iso-2022-flags): Fix last
11413         change.
11415 2013-07-20  Kenichi Handa  <handa@gnu.org>
11417         * international/mule.el (coding-system-iso-2022-flags):
11418         Add `8-bit-level-4'.  (Bug#8522)
11420 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11422         * net/shr.el (shr-mouse-browse-url): New command and keystroke
11423         (bug#14815).
11425         * net/eww.el (eww-process-text-input): Allow inputting when the
11426         point is at the start of the line, as the properties aren't
11427         front-sticky.
11429         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11430         degenerate widths.
11432 2013-07-19  Richard Stallman  <rms@gnu.org>
11434         * epa.el (epa-popup-info-window): Doc fix.
11436         * subr.el (split-string): New arg TRIM.
11438 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
11440         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11441         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11443 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
11445         * filenotify.el (file-notify--library): Rename from
11446         `file-notify-support'.  Do not autoload.  Adapt all uses.
11447         (file-notify-supported-p): New defun.
11449         * autorevert.el (auto-revert-use-notify):
11450         Use `file-notify-supported-p' instead of `file-notify-support'.
11451         Adapt docstring.
11452         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11454         * net/tramp.el (tramp-file-name-for-operation):
11455         Add `file-notify-supported-p'.
11457         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11458         New defun.
11459         (tramp-sh-file-name-handler-alist): Add it as handler for
11460         `file-notify-supported-p '.
11462         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11463         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11464         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11465         Add `ignore' as handler for `file-notify-*' functions.
11467 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
11469         * simple.el (line-move-partial, line-move): Don't start vscroll or
11470         scroll-up if the current line is not taller than the window.
11471         (Bug#14881)
11473 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
11475         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11476         highlight question marks in the method names as strings.
11477         (ruby-block-beg-keywords): Inline.
11478         (ruby-font-lock-keyword-beg-re): Extract from
11479         `ruby-font-lock-keywords'.
11481 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
11483         * frame.el (blink-cursor-blinks): New defcustom.
11484         (blink-cursor-blinks-done): New defvar.
11485         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11486         (blink-cursor-timer-function): Check if number of blinks has been
11487         done on X and NS.
11488         (blink-cursor-suspend, blink-cursor-check): New defuns.
11490 2013-07-15  Glenn Morris  <rgm@gnu.org>
11492         * edmacro.el (edmacro-format-keys): Fix previous change.
11494 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
11496         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11497         The hack didn't work outside English locales anyway.
11499 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
11501         * simple.el (define-alternatives): Rename from alternatives-define,
11502         per RMS' suggestion.
11504 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
11506         * desktop.el (desktop-restore-frames): Change default to t.
11507         (desktop-restore-in-current-display): Now offer more options.
11508         (desktop-restoring-reuses-frames): New customization option.
11509         (desktop--saved-states): Doc fix.
11510         (desktop-filter-parameters-alist): New variable, renamed and expanded
11511         from desktop--excluded-frame-parameters.
11512         (desktop--target-display): New variable.
11513         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11514         (desktop--filter-tty*, desktop--filter-*-color)
11515         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11516         (desktop--filter-save-desktop-parm)
11517         (desktop-restore-in-original-display-p): New functions.
11518         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11519         (desktop--save-minibuffer-frames): New function, inspired by a similar
11520         function from Martin Rudalics.
11521         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11522         (desktop--restore-in-this-display-p): Remove.
11523         (desktop--find-frame): Rename from desktop--find-frame-in-display
11524         and add predicate argument.
11525         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11526         (desktop--reuse-list): New variable.
11527         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11528         New functions.
11529         (desktop--restore-frames): Add support for "minibuffer-special" frames.
11531 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
11533         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11535 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
11537         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11538         Highlight conversion methods on Kernel.
11540 2013-07-13  Alan Mackenzie  <acm@muc.de>
11542         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11543         and comment it out.  This out-commenting enables certain C++
11544         declarations to be parsed correctly.
11546 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
11548         * international/mule.el (define-coding-system): Doc fix.
11550         * simple.el (default-font-height): Don't call font-info if the
11551         frame's default font didn't change since the frame was created.
11552         (Bug#14838)
11554 2013-07-13  Leo Liu  <sdl.web@gmail.com>
11556         * ido.el (ido-read-file-name): Guard against non-symbol value.
11558 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11560         * progmodes/python.el (python-imenu--build-tree): Fix corner case
11561         in nested defuns.
11563 2013-07-13  Leo Liu  <sdl.web@gmail.com>
11565         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11566         ido-set-matches call.  (Bug#6852)
11568 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
11570         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11571         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11572         Ruby 2.0.
11573         (ruby-font-lock-keywords): Distinguish calls to functions with
11574         module-like names from module references.  Highlight character
11575         literals.
11577 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
11579         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11580         (gdb-send): Handle continued commands.  (Bug#14847)
11582 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
11584         * desktop.el (desktop--v2s): Remove unused local variable.
11585         (desktop-save-buffer): Make defvar-local; adjust docstring.
11586         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11587         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11589 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
11591         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11593 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
11595         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11596         (Bug#14842)
11598 2013-07-12  Glenn Morris  <rgm@gnu.org>
11600         * doc-view.el: Require cl-lib at runtime too.
11601         (doc-view-remove-if): Remove.
11602         (doc-view-search-next-match, doc-view-search-previous-match):
11603         Use cl-remove-if.
11605         * edmacro.el: Require cl-lib at runtime too.
11606         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11607         (edmacro-mismatch, edmacro-subseq): Remove.
11609         * shadowfile.el: Require cl-lib.
11610         (shadow-remove-if): Remove.
11611         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11612         Use cl-remove-if.
11614         * wid-edit.el: Require cl-lib.
11615         (widget-choose): Use cl-remove-if.
11616         (widget-remove-if): Remove.
11618         * progmodes/ebrowse.el: Require cl-lib at runtime too.
11619         (ebrowse-delete-if-not): Remove.
11620         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11621         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11622         Use cl-delete-if-not.
11624 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
11626         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11627         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11629 2013-07-12  Leo Liu  <sdl.web@gmail.com>
11631         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
11633 2013-07-11  Glenn Morris  <rgm@gnu.org>
11635         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11636         (edebug-gensym-index, edebug-gensym):
11637         Remove reimplementation of cl-gensym.
11638         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11640         * thumbs.el: Require cl-lib at run-time too.
11641         (thumbs-gensym-counter, thumbs-gensym):
11642         Remove reimplementation of cl-gensym.
11643         (thumbs-temp-file): Use cl-gensym.
11645         * emacs-lisp/ert.el: Require cl-lib at runtime too.
11646         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11647         (ert--intersection, ert--set-difference, ert--set-difference-eq)
11648         (ert--union, ert--gensym-counter, ert--gensym-counter)
11649         (ert--coerce-to-vector, ert--remove*, ert--string-position)
11650         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11651         (ert-make-test-unbound, ert--expand-should-1)
11652         (ert--expand-should, ert--should-error-handle-error)
11653         (should-error, ert--explain-equal-rec)
11654         (ert--plist-difference-explanation, ert-select-tests)
11655         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11656         Use cl-lib functions rather than reimplementations.
11658 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
11660         * net/tramp.el (tramp-methods): Extend docstring.
11661         (tramp-connection-timeout): New defcustom.
11662         (tramp-error-with-buffer): Reset timestamp only when appropriate.
11663         (with-tramp-progress-reporter): Simplify.
11664         (tramp-process-actions): Improve messages.
11666         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11667         * net/tramp-sh.el (tramp-maybe-open-connection):
11668         Use `tramp-connection-timeout'.
11669         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11670         (Bug#14808)
11672 2013-07-11  Leo Liu  <sdl.web@gmail.com>
11674         * ido.el (ido-read-file-name): Conform to the requirements of
11675         read-file-name.  (Bug#11861)
11676         (ido-read-directory-name): Conform to the requirements of
11677         read-directory-name.
11679 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
11681         * subr.el (delay-warning): New function.
11683 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
11685         * simple.el (default-line-height): New function.
11686         (line-move-partial, line-move): Use it instead of computing the
11687         line height inline.
11688         (line-move-partial): Always compute ROWH.  If the last line is
11689         partially-visible, but its text is completely visible, allow
11690         cursor to enter such a partially-visible line.
11692 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
11694         Improve error messages.  (Bug#14808)
11696         * net/tramp.el (tramp-current-connection): New defvar, moved from
11697         tramp-sh.el.
11698         (tramp-message-show-progress-reporter-message): Remove, not
11699         needed anymore.
11700         (tramp-error-with-buffer): Show message in minibuffer.
11701         Discard input before waiting.  Reset connection timestamp.
11702         (with-tramp-progress-reporter): Improve messages.
11703         (tramp-process-actions): Use progress reporter.  Delete process in
11704         case of error.  Improve messages.
11706         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11707         Call `tramp-error-with-buffer' with vector and buffer.
11708         (tramp-current-connection): Remove.
11709         (tramp-maybe-open-connection): The car of
11710         `tramp-current-connection' are the first 3 slots of the vector.
11712 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
11714         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11715         inside continued strings.
11717 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
11719         Timestamp fixes for undo (Bug#14824).
11720         * files.el (clear-visited-file-modtime): Move here from fileio.c.
11722 2013-07-10  Leo Liu  <sdl.web@gmail.com>
11724         * files.el (require-final-newline): Allow safe local value.
11725         (Bug#14834)
11727 2013-07-09  Leo Liu  <sdl.web@gmail.com>
11729         * ido.el (ido-read-directory-name): Handle fallback.
11730         (ido-read-file-name): Update DIR to ido-current-directory.
11731         (Bug#1516)
11732         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
11734 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
11736         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11737         "autoload".  Remove "warn lower camel case" section, previously
11738         commented out.  Highlight negation char.  Do not highlight the
11739         target in singleton method definitions.
11741 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11743         * faces.el (tty-setup-hook): Declare the hook.
11745         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11746         and detect when a guard/pred depends on local vars (bug#14773).
11747         (pcase--u1): Adjust caller.
11749 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
11751         * simple.el (line-move-partial, line-move): Account for
11752         line-spacing.
11753         (line-move-partial): Avoid setting vscroll when the last
11754         partially-visible line in window is of default height.
11756 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11758         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11759         been used a while.
11761 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
11763         * subr.el (read-quoted-char): Remove unused local variable `char'.
11765 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
11767         * vc/ediff.el (ediff-version): Version update.
11768         (ediff-files-command, ediff3-files-command, ediff-merge-command)
11769         (ediff-merge-with-ancestor-command, ediff-directories-command)
11770         (ediff-directories3-command, ediff-merge-directories-command)
11771         (ediff-merge-directories-with-ancestor-command): New functions.
11772         All are command-line interfaces to ediff: to facilitate calling
11773         Emacs with the appropriate ediff functions invoked.
11775         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11776         New function.
11777         (viper-save-kill-buffer): Check if buffer is modified.
11779         * emulation/viper.el (viper-version): Version update.
11780         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11782 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11784         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11785         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11786         (viper-intercept-ESC-key): Simplify.
11787         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11788         don't use kbd.
11789         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11790         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11791         (viper-setup-ESC-to-escape): New functions.
11792         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11793         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
11795 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
11797         * simple.el (default-font-height, window-screen-lines):
11798         New functions.
11799         (line-move, line-move-partial): Use them instead of
11800         frame-char-height and window-text-height.  This makes scrolling
11801         text smoother when the buffer's default face uses a font that is
11802         different from the frame's default font.
11804 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
11806         * files.el (write-file): Do not display confirm dialog for NS,
11807         it does its own dialog, which can't be canceled (Bug#14578).
11809 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
11811         * simple.el (line-move-partial): Adjust the row returned by
11812         posn-at-point for the current window-vscroll.  (Bug#14567)
11814 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
11816         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11817         (tramp-sh-file-inotifywait-process-filter): Handle file names with
11818         spaces.
11820 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
11822         * window.el (window-state-put-stale-windows): New variable.
11823         (window--state-put-2): Save list of windows without matching buffer.
11824         (window-state-put): Remove "bufferless" windows if possible.
11826 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
11828         * simple.el (alternatives-define): Remove leftover :group keyword.
11829         Tweak docstring.
11831 2013-07-06  Leo Liu  <sdl.web@gmail.com>
11833         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11834         (ido-enable-virtual-buffers): New variable.
11835         (ido-buffer-internal, ido-toggle-virtual-buffers)
11836         (ido-make-buffer-list): Use it.
11837         (ido-exhibit): Support turning on and off virtual buffers
11838         automatically.
11840 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
11842         * simple.el (alternatives-define): New macro.
11844 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11846         * subr.el (read-quoted-char): Use read-key.
11847         (sit-for): Let read-event decode tty input (bug#14782).
11849 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
11851         * calendar/todo-mode.el: Add handling of file deletion, both by
11852         mode command and externally.  Fix various related bugs.
11853         Clarify Commentary and improve some documentation strings and code.
11854         (todo-delete-file): New command.
11855         (todo-check-file): New function.
11856         (todo-show): Handle external deletion of the file we're trying to
11857         show (bug#14688).  Replace called-interactively-p by an optional
11858         prefix argument to avoid problematic interaction with catch form
11859         when byte compiled (bug#14702).
11860         (todo-quit): Handle external deletion of the archive's todo file.
11861         Make sure the buffer that was visiting the archive file is still
11862         live before trying to bury it.
11863         (todo-category-completions): Handle external deletion of any
11864         category completion files.
11865         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11866         of todo files, in case of external deletion.
11867         (todo-add-file): Replace unnecessary setq by let-binding.
11868         (todo-find-archive): Check whether there are any archives.
11869         Replace unnecessary setq by let-binding.
11870         (todo-archive-done-item): Use find-file-noselect to get the
11871         archive buffer whether or not the archive already exists.
11872         Remove superfluous code.  Use file size instead of buffer-file-name to
11873         check if the archive is new; if it is, update list of archives.
11874         (todo-default-todo-file): Allow nil to be a valid value for when
11875         there are no todo files.
11876         (todo-reevaluate-default-file-defcustom): Use corrected definition
11877         of todo-default-todo-file.
11878         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11879         (todo-delete-category, todo-show-categories-table)
11880         (todo-category-number): Clarify comment.
11881         (todo-filter-items): Clarify documentation string.
11882         (todo-show-current-file, todo-display-as-todo-file)
11883         (todo-reset-and-enable-done-separator): Tweak documentation string.
11884         (todo-done-separator): Make separator length window-width, since
11885         bug#2749 is now fixed.
11887 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
11889         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11890         Support both "gvfs-monitor-dir" and "inotifywait".
11891         (tramp-sh-file-inotifywait-process-filter): Rename from
11892         `tramp-sh-file-notify-process-filter'.
11893         (tramp-sh-file-gvfs-monitor-dir-process-filter)
11894         (tramp-get-remote-gvfs-monitor-dir): New defuns.
11896 2013-07-05  Leo Liu  <sdl.web@gmail.com>
11898         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11900 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11902         * frame.el (display-pixel-height, display-pixel-width)
11903         (display-mm-height, display-mm-width): Mention behavior on
11904         multi-monitor setups in docstrings.
11905         (w32-display-monitor-attributes-list): Declare function.
11906         (display-monitor-attributes-list): Use it.
11908 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
11910         * filenotify.el: New package.
11912         * autorevert.el (top): Require filenotify.el.
11913         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
11914         instead.
11915         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11916         (auto-revert-notify-handler): Use `file-notify-*' functions.
11918         * subr.el (file-notify-handle-event): Move function to filenotify.el.
11920         * net/tramp.el (tramp-file-name-for-operation):
11921         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11923         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11924         for `file-notify-add-watch' and `file-notify-rm-watch'.
11925         (tramp-process-sentinel): Improve trace.
11926         (tramp-sh-handle-file-notify-add-watch)
11927         (tramp-sh-file-notify-process-filter)
11928         (tramp-sh-handle-file-notify-rm-watch)
11929         (tramp-get-remote-inotifywait): New defuns.
11931 2013-07-03  Juri Linkov  <juri@jurta.org>
11933         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11934         call of `occur-read-primary-args' to interactive spec.
11936         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11937         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
11939 2013-07-03  Matthias Meulien  <orontee@gmail.com>
11941         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11942         `Buffer-menu-multi-occur'.  Add it to the menu.
11943         (Buffer-menu-mode): Document it in docstring.
11944         (Buffer-menu-multi-occur): New command.  (Bug#14673)
11946 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
11948         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11949         keywords and built-ins.
11951 2013-07-03  Glenn Morris  <rgm@gnu.org>
11953         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
11955         Make info-xref checks case-sensitive by default
11956         * info.el (Info-find-node, Info-find-in-tag-table)
11957         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11958         Add option for exact case matching of nodes.
11959         * info-xref.el (info-xref): New custom group.
11960         (info-xref-case-fold): New option.
11961         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11963 2013-07-03  Leo Liu  <sdl.web@gmail.com>
11965         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11967 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
11969         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11970         middle of block statement initially, lower the depth.  Remove
11971         FIXME comment, not longer valid.  Remove middle of block statement
11972         detection, no need to do that anymore since we've been using
11973         `ruby-parse-region' here.
11975 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
11977         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11979 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
11981         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11983 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
11985         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11986         (desktop-restore-in-current-display): New customization option.
11987         (desktop--excluded-frame-parameters): Add `font'.
11988         (desktop--save-frames): Rename from desktop--save-windows.
11989         (desktop--restore-in-this-display-p): New function.
11990         (desktop--make-full-frame): Remove unwanted width/height from
11991         full(width|height) frames.
11992         (desktop--restore-frames): Rename from desktop--restore-windows.
11993         Obey desktop-restore-current-display.  Do not delete old frames or
11994         select a new frame unless we were able to restore at least one frame.
11996 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
11998         * files.el (find-file-noselect): Simplify conditional expression.
12000         * textmodes/remember.el (remember-append-to-file):
12001         Don't mix `find-buffer-visiting' and `get-file-buffer'.
12003         Add `remember-notes' function to store random notes across Emacs
12004         restarts.
12005         * textmodes/remember.el (remember-data-file): Add :set callback to
12006         affect notes buffer (if any).
12007         (remember-notes): New command.
12008         (remember-notes-buffer-name, bury-remember-notes-on-kill):
12009         New defcustoms for the `remember-notes' function.
12010         (remember-notes-save-and-bury-buffer): New command.
12011         (remember-notes-mode-map): New variable.
12012         (remember-mode): New minor mode.
12013         (remember-notes--kill-buffer-query): New function.
12014         * startup.el (initial-buffer-choice): Add notes to custom type.
12016 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
12018         * bindings.el (right-char, left-char): Don't call sit-for, this is
12019         no longer needed.  Use arithmetic comparison only for numerical
12020         arguments.
12022         * international/mule-cmds.el (select-safe-coding-system):
12023         Handle the case of FROM being a string correctly.  (Bug#14755)
12025 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12027         * net/shr.el (shr-make-table-1): Add a sanity check that allows
12028         progression on degenerate tables.
12029         (shr-rescale-image): ImageMagick animated images currently don't work.
12031 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
12033         Some fixes and improvements for desktop frame restoration.
12034         It is still experimental and disabled by default.
12035         * desktop.el (desktop--save-windows): Put the selected frame at
12036         the head of the list.
12037         (desktop--make-full-frame): New function.
12038         (desktop--restore-windows): Try to re-select the frame that was
12039         selected upon saving.  Do not abort if some frames fail to restore,
12040         just show an error message and continue.  Set up maximized frames
12041         so they have default non-maximized dimensions.
12043 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
12045         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12046         Don't start heredoc inside a string or comment.
12048 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
12050         * bindings.el (visual-order-cursor-movement): New defcustom.
12051         (right-char, left-char): Provide visual-order cursor motion by
12052         calling move-point-visually.  Update the doc strings.
12054 2013-06-28  Kenichi Handa  <handa@gnu.org>
12056         * international/mule.el (define-coding-system): New coding system
12057         properties :inhibit-null-byte-detection,
12058         :inhibit-iso-escape-detection, and :prefer-utf-8.
12059         (set-buffer-file-coding-system): If :charset-list property of
12060         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12061         appropriate for setting.
12063         * international/mule-cmds.el (select-safe-coding-system):
12064         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12065         multibyte characters, return utf-8 (or one of its siblings).
12067         * international/mule-conf.el (prefer-utf-8): New coding system.
12068         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12069         files.
12071 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
12073         * net/shr.el (shr-render-region): New function.
12075         * net/eww.el: Autoload `eww-browse-url'.
12077 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
12079         * emacs-lisp/package-x.el (package-upload-buffer-internal):
12080         Adapt to `package-desc-version' being a list.
12081         Use `package--ac-desc-version' to retrieve version from a package
12082         archive element.
12084 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
12086         New experimental feature to save&restore window and frame setup.
12087         * desktop.el (desktop-save-windows): New defcustom.
12088         (desktop--saved-states): New var.
12089         (desktop--excluded-frame-parameters): New defconst.
12090         (desktop--filter-frame-parms, desktop--find-frame-in-display)
12091         (desktop--restore-windows, desktop--save-windows): New functions.
12092         (desktop-save): Call `desktop--save-windows'.
12093         (desktop-read): Call `desktop--restore-windows'.
12095 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12097         * net/shr.el (add-face-text-property): Remove compat definition.
12099 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
12101         * info.el (Info-try-follow-nearest-node): Move search for footnote
12102         above search for node name to prevent missing a footnote (bug#14717).
12104 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
12106         * obsolete/otodo-mode.el: Add obsolescence info to file header.
12108 2013-06-27  Leo Liu  <sdl.web@gmail.com>
12110         * net/eww.el (eww-read-bookmarks): Check file size.
12112 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12114         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12115         advice--pending if newdef is nil or an autoload (bug#13820).
12116         (advice-mapc): New function.
12118 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12120         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12121         probably.
12122         (eww-mode-map): Add a menu bar.
12123         (eww-add-bookmark): New command.
12124         (eww-bookmark-mode): New mode and commands.
12125         (eww-add-bookmark): Remove newlines from the title.
12126         (eww-bookmark-browse): Don't bug out if it's the only window.
12128 2013-06-26  Glenn Morris  <rgm@gnu.org>
12130         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12131         (hfy-size): Handle ttys.  (Bug#14668)
12133         * info-xref.el: Update for Texinfo 5 change in *note format.
12134         (info-xref-node-re, info-xref-note-re): New constants.
12135         (info-xref-check-buffer): Use info-xref-note-re.
12137 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12139         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12141         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12142         nil terminate the loop (bug#14718).
12144 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12146         * net/eww.el: Rework history traversal.  When going forward/back,
12147         put these actions into the history, too, so that they can be
12148         replayed.
12149         (eww-render): Move the history reset to the correct buffer.
12151 2013-06-25  Juri Linkov  <juri@jurta.org>
12153         * files-x.el (modify-dir-local-variable): Change the header comment
12154         in the file with directory local variables.  (Bug#14692)
12156         * files-x.el (read-file-local-variable-value): Add `default'.
12157         (Bug#14710)
12159 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12161         * net/eww.el (eww-make-unique-file-name): Create a unique file
12162         name before saving to entering `y' accidentally asynchronously.
12164 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
12166         * net/eww.el (eww-download): New command and keystroke.
12168 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12170         * net/eww.el (eww-copy-page-url): Change name of command.
12172         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12173         be more consistent with Info and dired.
12175         * net/eww.el (eww-mode-map): Ditto.
12177 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12179         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
12180         packages from archives.
12181         (package-archive-contents): Change format; include obsolete packages.
12182         (package-desc): Use `dir' to mark builtin packages.
12183         (package--from-builtin): Set the `dir' field to `builtin'.
12184         (generated-autoload-file, version-control): Declare.
12185         (package-compute-transaction): Change first arg and return value to be
12186         lists of package-descs.  Adjust to new package-archive-contents format.
12187         (package--add-to-archive-contents): Adjust to new
12188         package-archive-contents format.
12189         (package-download-transaction): Arg is now a list of package-descs.
12190         (package-install): If `pkg' is a package name, pass it as
12191         a requirement, so it is subject to the usual (e.g. disabled) checks.
12192         (describe-package): Accept package-desc as well.
12193         (describe-package-1): Describe a specific package-desc.  Add links to
12194         other package-descs for the same package name.
12195         (package-menu-describe-package): Pass the actual package-desc.
12196         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12197         works correctly.
12198         (package-desc-status): New function.
12199         (package-menu--refresh): New function, extracted
12200         from package-menu--generate.
12201         (package-menu--generate): Use it.
12202         (package-delete): Update package-alist.
12203         (package-menu-execute): Don't call package-initialize.
12205         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12206         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12207         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12208         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12209         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12210         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12212 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
12214         * window.el (window--state-get-1): Workaround for bug#14527.
12215         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12217 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12219         * net/eww.el (eww-back-url): Implement the history by stashing all
12220         the data into a list.
12221         (eww-forward-url): Allow going forward in the history, too.
12223 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12225         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12226         for values and use read--expression for expressions (bug#14710).
12227         (read-file-local-variable): Avoid setq.
12228         (read-file-local-variable-mode): Use minor-mode-list.
12230 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12232         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12233         for DOI URLs.
12235 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12237         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12238         Update imenu-support when dialect changes.
12240 2013-06-25  Leo Liu  <sdl.web@gmail.com>
12242         * ido.el (ido-read-internal): Allow forward slash on windows.
12244 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12246         * net/eww.el (eww): Start of strings is \\`, not ^.
12248 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
12250         * net/shr.el (shr-browse-url): Fix interactive spec.
12252         * net/eww.el (eww): Add a trailing slash to domain names.
12254 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
12256         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12258 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12260         * net/shr.el (shr-browse-url): Use an external browser if given a
12261         prefix.
12263         * net/eww.el (eww-external-browser): Move to shr.
12265 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
12267         * net/eww.el (eww): Work more correctly for file: URLs.
12268         (eww-detect-charset): Allow quoted charsets.
12269         (eww-yank-page-url): New command and keystroke.
12271 2013-06-24  Daiki Ueno  <ueno@gnu.org>
12273         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12274         file name of gpg executable.
12275         (epg-context-program): New function.
12276         (epg-context-home-directory): New function.
12277         (epg-context-set-program): New function.
12278         (epg-context-set-home-directory): New function.
12279         (epg--start): Use `epg-context-program' instead of
12280         'epg-gpg-program'.
12281         (epg--list-keys-1): Likewise.
12283 2013-06-24  Leo Liu  <sdl.web@gmail.com>
12285         * ido.el (ido-read-internal): Fix bug#14620.
12287 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
12289         * faces.el (face-documentation): Simplify.
12290         (read-face-attribute, tty-find-type, x-resolve-font-name):
12291         Use `string-match-p'.
12292         (list-faces-display): Use `string-match-p'.  Simplify.
12293         (face-spec-recalc): Check face to avoid face alias loops.
12294         (read-color): Use `string-match-p' and non-capturing parenthesis.
12296 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12298         * net/shr.el (shr-rescale-image): Use the new
12299         :max-width/:max-height functionality.
12301 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
12303         * net/eww.el (eww-search-prefix): New variable.
12304         (eww): Use it.
12305         (eww-external-browser): New variable.
12306         (eww-mode-map): New keystroke.
12307         (eww-browse-with-external-browser): New command.
12309         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12311 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
12313         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12314         Don't skip aligning the next header field when padding is 0;
12315         otherwise, field width is not respected unless the title is as
12316         wide as the field.
12318 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12320         * emacs-lisp/package.el (package-el-version): Remove.
12321         (package-process-define-package): Fix inf-loop.
12322         (package-install): Allow symbols as arguments again.
12324 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
12326         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12327         add some more keyword-like methods.
12328         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12330 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
12332         * bs.el (bs-buffer-show-mark): Make defvar-local.
12333         (bs-mode): Use setq-local.
12335         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12336         (emacs-lock--try-unlocking): Make defvar-local.
12338 2013-06-22  Glenn Morris  <rgm@gnu.org>
12340         * play/cookie1.el (cookie-apropos): Minor simplification.
12342         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12344 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
12346         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12347         `regexp-opt', it breaks the build during dumping.
12349 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
12351         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12352         Highlight keyword-like methods on Kernel and Module with
12353         font-lock-builtin-face.
12354         (auto-mode-alist): Consolidate different entries into one regexp
12355         and add more *file-s.
12357 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
12359         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12361         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12362         (diary-entry): Use it in the action of this button type instead of
12363         diary-goto-entry.
12365         * calendar/todo-mode.el: New version.
12366         (todo-add-category): Append new category to end of file and give
12367         it the highest number, instead of putting it at the beginning and
12368         giving it 0.  Incorporate noninteractive functionality.
12369         (todo-forward-category): Adapt to 1-based category numbering.
12370         Allow skipping over archived categories.
12371         (todo-backward-category): Derive from todo-forward-category.
12372         (todo-backward-item, todo-forward-item): Make noninteractive and
12373         delegate interactive part to new commands.  Make sensitive to done items.
12374         (todo-categories): Make value an alist of category names and
12375         vectors of item counts.
12376         (todo-category-beg): Make a defconst.
12377         (todo-category-number): Use 1 instead of 0 as initial value.
12378         (todo-category-select): Make sensitive to overlays, optional item
12379         highlighting and done items.
12380         (todo-delete-item): Make sensitive to overlays and marked and done items.
12381         (todo-edit-item): Make sensitive to overlays and editing of
12382         date/time header optional.  Add format checks.
12383         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
12384         no-op if point is not on an item.  Advertise using todo-edit-quit.
12385         (todo-edit-mode): Make sensitive to new format, font-locking, and
12386         multiple todo files.
12387         (todo-insert-item, todo-insert-item-here): Derive from
12388         todo-basic-insert-item and extend functionality.
12389         (todo-item-end, todo-item-start): Make sensitive to done items.
12390         (todo-item-string): Don't return text properties.  Restore point.
12391         (todo-jump-to-category): Make sensitive to multiple todo files and
12392         todo archives.  Use extended category completion.
12393         (todo-lower-item, todo-raise-item): Rename to *-priority and
12394         derive from todo-set-item-priority.
12395         (todo-mode): Derive from special-mode.  Make sensitive to new
12396         format, font-locking and multiple todo files.  Make read-only.
12397         (todo-mode-map): Don't suppress digit keys, so they can supply
12398         prefix arguments.  Add many new key bindings.
12399         (todo-prefix): Insert as an overlay instead of file text.
12400         Change semantics from diary date expression to purely visual mark.
12401         (todo-print): Rename to todo-print-buffer.  Make buffer display
12402         features printable.  Remove option to restrict number of items
12403         printed.  Add option to print to file.
12404         (todo-print-function): Rename to todo-print-buffer-function.
12405         (todo-quit): Extend to handle exiting new todo modes.
12406         (todo-remove-item): Make sensitive to overlays.
12407         (todo-save): Extend to buffers of filtered items.
12408         (todo-show): Make sensitive to done items, multiple todo files and
12409         new todo modes.  Offer to convert legacy todo file before creating
12410         first new todo file.
12411         (todo-show-priorities): Rename to todo-top-priorities.
12412         Change semantics of value 0.
12413         (todo-top-priorities): Rename to todo-filter-top-priorities,
12414         derive from todo-filter-items and extend functionality.
12415         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12416         and extend functionality to other types of filtered items.
12417         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12418         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12419         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12420         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12421         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12422         (todo-edit-mode-hook, todo-entry-prefix-function)
12423         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12424         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12425         (todo-initials, todo-insert-threshold, todo-item-string-start)
12426         (todo-line-string, todo-menu, todo-mode-hook)
12427         (todo-more-important-p, todo-previous-answer, todo-previous-line)
12428         (todo-print-priorities, todo-remove-separator)
12429         (todo-save-top-priorities-too, todo-string-count-lines)
12430         (todo-string-multiline-p, todo-time-string-format)
12431         (todo-tmp-buffer-name): Remove.
12432         (todo-add-file, todo-archive-done-item, todo-choose-archive)
12433         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12434         (todo-edit-category-diary-inclusion)
12435         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12436         (todo-edit-file, todo-edit-item-date-day)
12437         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12438         (todo-edit-item-date-month, todo-edit-item-date-to-today)
12439         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12440         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12441         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12442         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12443         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12444         (todo-filter-top-priorities-multifile, todo-find-archive)
12445         (todo-find-filtered-items-file, todo-go-to-source-item)
12446         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12447         (todo-jump-to-archive-category, todo-lower-category)
12448         (todo-mark-category, todo-marked-item-p, todo-merge-category)
12449         (todo-move-category, todo-move-item, todo-next-button)
12450         (todo-next-item, todo-padded-string, todo-powerset)
12451         (todo-previous-button, todo-previous-item)
12452         (todo-print-buffer-to-file, todo-raise-category)
12453         (todo-rename-category, todo-repair-categories-sexp, todo-search)
12454         (todo-set-category-number, todo-set-item-priority)
12455         (todo-set-top-priorities-in-category)
12456         (todo-set-top-priorities-in-file, todo-show-categories-table)
12457         (todo-sort-categories-alphabetically-or-numerically)
12458         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12459         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12460         (todo-toggle-item-header, todo-toggle-item-highlighting)
12461         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12462         (todo-toggle-view-done-items, todo-toggle-view-done-only)
12463         (todo-unarchive-items, todo-unmark-category): New commands.
12464         (todo-absolute-file-name, todo-add-to-buffer-list)
12465         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12466         (todo-basic-insert-item, todo-category-completions)
12467         (todo-category-number, todo-category-string-matcher-1)
12468         (todo-category-string-matcher-2, todo-check-filtered-items-file)
12469         (todo-check-format, todo-clear-matches)
12470         (todo-comment-string-matcher, todo-convert-legacy-date-time)
12471         (todo-current-category, todo-date-string-matcher)
12472         (todo-define-insertion-command, todo-diary-expired-matcher)
12473         (todo-diary-goto-entry, todo-diary-item-p)
12474         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12475         (todo-display-categories, todo-display-sorted, todo-done-item-p)
12476         (todo-done-item-section-p, todo-done-separator)
12477         (todo-done-string-matcher, todo-files, todo-filter-items)
12478         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12479         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12480         (todo-insert-category-line, todo-insert-item-from-calendar)
12481         (todo-insert-sort-button, todo-insert-with-overlays)
12482         (todo-insertion-command-name, todo-insertion-key-bindings)
12483         (todo-label-to-key, todo-longest-category-name-length)
12484         (todo-make-categories-list, todo-mode-external-set)
12485         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12486         (todo-modes-set-3, todo-multiple-filter-files)
12487         (todo-nondiary-marker-matcher, todo-prefix-overlays)
12488         (todo-read-category, todo-read-date, todo-read-dayname)
12489         (todo-read-file-name, todo-read-time)
12490         (todo-reevaluate-category-completions-files-defcustom)
12491         (todo-reevaluate-default-file-defcustom)
12492         (todo-reevaluate-filelist-defcustoms)
12493         (todo-reevaluate-filter-files-defcustom)
12494         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12495         (todo-reset-done-separator, todo-reset-done-separator-string)
12496         (todo-reset-done-string, todo-reset-global-current-todo-file)
12497         (todo-reset-highlight-item, todo-reset-nondiary-marker)
12498         (todo-reset-prefix, todo-set-categories)
12499         (todo-set-date-from-calendar, todo-set-show-current-file)
12500         (todo-set-top-priorities, todo-short-file-name)
12501         (todo-show-current-file, todo-sort, todo-time-string-matcher)
12502         (todo-total-item-counts, todo-update-buffer-list)
12503         (todo-update-categories-display, todo-update-categories-sexp)
12504         (todo-update-count, todo-validate-name, todo-y-or-n-p):
12505         New functions.
12506         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12507         New major modes.
12508         (todo-categories, todo-display, todo-edit, todo-faces)
12509         (todo-filtered): New defgroups.
12510         (todo-archived-only, todo-button, todo-category-string, todo-date)
12511         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12512         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12513         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12514         (todo-add-item-if-new-category, todo-always-add-time-string)
12515         (todo-categories-align, todo-categories-archived-label)
12516         (todo-categories-category-label, todo-categories-diary-label)
12517         (todo-categories-done-label, todo-categories-number-separator)
12518         (todo-categories-todo-label, todo-categories-totals-label)
12519         (todo-category-completions-files, todo-completion-ignore-case)
12520         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12521         (todo-done-separator-string, todo-done-string)
12522         (todo-files-function, todo-filter-done-items, todo-filter-files)
12523         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12524         (todo-initial-category, todo-initial-file, todo-item-mark)
12525         (todo-legacy-date-time-regexp, todo-mode-line-function)
12526         (todo-nondiary-marker, todo-number-prefix)
12527         (todo-print-buffer-function, todo-show-current-file)
12528         (todo-show-done-only, todo-show-first, todo-show-with-done)
12529         (todo-skip-archived-categories, todo-top-priorities-overrides)
12530         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12531         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12532         New defcustoms.
12533         (todo-category-done, todo-date-pattern, todo-date-string-start)
12534         (todo-diary-items-buffer, todo-done-string-start)
12535         (todo-filtered-items-buffer, todo-item-start)
12536         (todo-month-abbrev-array, todo-month-name-array)
12537         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12538         (todo-top-priorities-buffer): New defconsts.
12539         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12540         (todo-categories-with-marks, todo-category-string-face)
12541         (todo-comment-face, todo-comment-string, todo-current-todo-file)
12542         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12543         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12544         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12545         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12546         (todo-font-lock-keywords, todo-global-current-todo-file)
12547         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12548         (todo-insertion-commands-args)
12549         (todo-insertion-commands-args-genlist)
12550         (todo-insertion-commands-names, todo-insertion-map)
12551         (todo-key-bindings-t, todo-key-bindings-t+a)
12552         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12553         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12554         (todo-nondiary-face, todo-print-buffer, todo-time-face)
12555         (todo-visited): New variables.
12557 2013-06-21  Glenn Morris  <rgm@gnu.org>
12559         * play/cookie1.el (cookie-apropos): Add optional display argument.
12560         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12561         (psychoanalyze-pinhead): Use cookie-doctor.
12563 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
12565         * emacs-lisp/package.el (tar-get-file-descriptor)
12566         (tar--extract): Declare.
12568 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
12570         Extend flymake's warning predicate to be a function (bug#14217).
12571         * progmodes/flymake.el (flymake-warning-predicate): New.
12572         (flymake-parse-line): Use it.
12573         (flymake-warning-re): Make obsolete alias to
12574         `flymake-warning-predicate'.
12576 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12578         * emacs-lisp/package.el (package-alist): Include obsolete packages.
12579         (package-obsolete-list): Remove.
12580         (package-activate): Remove min-version argument.  Add `force' argument.
12581         Adjust to new package-alist format.
12582         (package-mark-obsolete): Remove.
12583         (package-unpack): Force reload of the package's autoloads.
12584         (package-installed-p): Check builtins if the installed package is not
12585         recent enough.
12586         (package-initialize): Don't reset package-obsolete-list.
12587         Don't specify which package version to activate.
12588         (package-process-define-package, describe-package-1)
12589         (package-menu--generate): Adjust to new package-alist format.
12591 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
12593         * allout-widgets.el (allout-widgets-mode-off)
12594         (allout-widgets-mode-on, allout-widgets-pre-command-business)
12595         (allout-widgets-post-command-business)
12596         (allout-widgets-after-copy-or-kill-function)
12597         (allout-widgets-after-undo-function, allout-test-range-overlaps)
12598         (allout-decorate-item-and-context)
12599         (allout-graphics-modification-handler): Fix typos in docstrings.
12600         (allout-get-or-create-parent-widget): Use `looking-at-p'.
12602         * cmuscheme.el (scheme-start-file): Doc fix.
12603         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12604         (scheme-input-filter): Use `string-match-p'.
12606         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12608         * dired-x.el: Use Dired consistently in docstrings.
12610         * dired.el: Use Dired consistently in docstrings.
12611         (dired-readin, dired-mode): Use `setq-local'.
12612         (dired-switches-alist): Make defvar-local.
12613         (dired-buffers-for-dir): Use `zerop'.
12614         (dired-safe-switches-p, dired-switches-escape-p)
12615         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12616         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12617         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12618         (dired-goto-next-nontrivial-file): Use `string-match-p'.
12619         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12620         (dired-toggle-marks, dired-mark-files-containing-regexp)
12621         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12622         (dired-flag-auto-save-files, dired-flag-backup-files):
12623         Use `looking-at-p'.
12624         (dired-mark-files-regexp, dired-build-subdir-alist):
12625         Use `string-match-p', `looking-at-p'.
12627         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12628         (direct-print-region-helper): Use `string-match-p'.
12630 2013-06-21  Leo Liu  <sdl.web@gmail.com>
12632         * comint.el (comint-redirect-results-list-from-process):
12633         Fix infinite loop.
12635 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12637         * net/eww.el (eww-update-header-line-format): Quote % characters.
12639 2013-06-21  Glenn Morris  <rgm@gnu.org>
12641         * play/cookie1.el (cookie): New custom group.
12642         (cookie-file): New option.
12643         (cookie-check-file): New function.
12644         (cookie): Make it interactive.  Make start and end messages optional.
12645         Interactively, display the result.  Default to cookie-file.
12646         (cookie-insert): Default to cookie-file.
12647         (cookie-snarf): Make start and end messages optional.
12648         Default to cookie-file.  Use with-temp-buffer.
12649         (cookie-read): Rename from read-cookie.
12650         Make start and end messages optional.  Default to cookie-file.
12651         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
12652         Do not autoload it.
12653         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12654         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12656 2013-06-21  Leo Liu  <sdl.web@gmail.com>
12658         * progmodes/octave.el (octave-mode): Backward compatibility fix.
12660 2013-06-21  Glenn Morris  <rgm@gnu.org>
12662         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12664 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12665             Daniel Hackney  <dan@haxney.org>
12667         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12668         Consolidate the single-file vs tarball code.
12669         (package-desc-suffix): New function.
12670         (package-desc-full-name): Don't bother inlining it.
12671         (package-load-descriptor): Return the new package-desc.
12672         (package-mark-obsolete): Remove unused arg `package'.
12673         (package-unpack): Make it work for single files as well.
12674         Make it update package-alist.
12675         (package--make-autoloads-and-stuff): Rename from
12676         package--make-autoloads-and-compile.  Don't compile any more.
12677         (package--compile): New function.
12678         (package-generate-description-file): New function, extracted from
12679         package-unpack-single.
12680         (package-unpack-single): Remove.
12681         (package--with-work-buffer): Add indentation and debugging info.
12682         (package-download-single): Remove.
12683         (package-install-from-archive): Rename from package-download-tar, make
12684         it take a pkg-desc, and make it work for single files as well.
12685         (package-download-transaction): Simplify.
12686         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
12687         external tar program.
12688         (package-install-from-buffer): Remove `pkg-desc' argument.
12689         Use package-tar-file-info for tar-mode buffers.
12690         (package-install-file): Simplify accordingly.
12691         (package-archive-base): Change to take a pkg-desc.
12692         * tar-mode.el (tar--check-descriptor): New function, extracted from
12693         tar-get-descriptor.
12694         (tar-get-descriptor): Use it.
12695         (tar-get-file-descriptor): New function.
12696         (tar--extract): New function, extracted from tar-extract.
12697         (tar--extract): Use it.
12698         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12699         case the summary uses non-ascii.  Adjust to new calling convention of
12700         package-tar-file-info.
12702 2013-06-21  Leo Liu  <sdl.web@gmail.com>
12704         * comint.el (comint-redirect-results-list-from-process):
12705         Fix random delay.  (Bug#14681)
12707 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
12709         * profiler.el (profiler-format-number): Use log, not log10.
12711 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
12713         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12715 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12717         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12718         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12719         yet available.
12720         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12721         (AUTOGENEL): ... here.
12722         * emacs-lisp/cl-macs.el (cl--sublis): New function.
12723         (cl--defsubst-expand): Use it.
12725 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
12727         * subr.el (log10): Move here from C code, and declare as obsolete.
12728         All uses of (log10 X) replaced with (log X 10).
12730 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
12732         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12733         Declare with `defvar-local'.
12734         (tabulated-list-use-header-line, tabulated-list-entries)
12735         (tabulated-list-padding, tabulated-list-printer)
12736         (tabulated-list-sort-key): Declare with `defvar-local'.
12737         (tabulated-list-init-header, tabulated-list-print-fake-header):
12738         Use `setq-local'.
12740 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
12742         * arc-mode.el (archive-mode): Add `archive-write-file' to
12743         `write-contents-functions' also for remote files.  (Bug#14652)
12745 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
12747         * cus-edit.el (custom-commands): Fix typos.
12748         (custom-display): Fix tooltip text.
12749         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12750         Fix typos in docstrings.
12751         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12752         (custom-unlispify-menu-entry, custom-magic-value-create)
12753         (custom-add-see-also, custom-group-value-create): Use ?\s.
12754         (custom-guess-type, customize-apropos, editable-field)
12755         (custom-face-value-create): Use `string-match-p'.
12756         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12758         * custom.el (custom-load-symbol): Use `string-match-p'.
12760         * ansi-color.el: Convert to lexical binding.
12761         (ansi-colors): Fix URL.
12762         (ansi-color-context, ansi-color-context-region): Use defvar-local.
12763         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12764         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12766 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12768         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12770         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12772 2013-06-19  Tom Tromey  <tromey@redhat.com>
12774         * net/eww.el (eww-top-url): Remove.
12775         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12776         (eww-render): Set new variables.  Don't set eww-top-url.
12777         (eww-handle-link): Handle "prev", "home", and "contents".
12778         Downcase the rel text.
12779         (eww-top-url): Choose best top URL.
12781 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12783         * net/eww.el: Rewrite to implement form elements "by hand" instead of
12784         relying in widget.el.  Using widget.el leads to too many
12785         user interface inconsistencies.
12786         (eww-self-insert): Implement entering commands in text fields.
12787         (eww-process-text-input): New function to make text input field editing
12788         work.
12789         (eww-submit): Rewrite to use the new-style form methods.
12790         (eww-select-display): Display the correct selected item.
12791         (eww-change-select): Implement changing the select value.
12792         (eww-toggle-checkbox): Implement radio/checkboxes.
12793         (eww-update-field): Fix compilation error.
12794         (eww-tag-textarea): Implement <textarea>.
12796         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12797         we don't shadow mode-specific bindings.
12799         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12800         nothing to push.
12802         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12804 2013-06-19  Glenn Morris  <rgm@gnu.org>
12806         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12808 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
12810         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12811         not needed.
12813         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12815 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12817         * net/browse-url.el (browse-url-browser-function):
12818         `eww-browse-url' has the right calling signature, `eww' does not.
12820 2013-06-19  Glenn Morris  <rgm@gnu.org>
12822         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12823         Only eval autoloaded macros.
12824         (byte-compile-autoload): Only give the macro warning for macros.
12826         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12827         (ps-underlined-faces): Declare.
12829         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12830         (speedbar-add-supported-extension): Declare.
12832         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12833         Don't include a date stamp in the header of the generated file;
12834         it leads to needless differences between output files.
12836 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
12838         * net/secrets.el (secrets-struct-secret-content-type):
12839         Replace check of introspection data by a test call of "CreateItem".
12840         Some servers do not offer introspection.
12842 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12844         * electric.el (electric-pair-mode): Improve interaction with
12845         electric-layout-mode.
12846         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12847         (electric-pair-syntax): Use text-mode-syntax-table in comments
12848         and strings.
12849         (electric-pair--insert): New function.
12850         (electric-pair-post-self-insert-function): Use it and
12851         electric--after-char-pos.
12853 2013-06-19  Leo Liu  <sdl.web@gmail.com>
12855         * progmodes/octave.el (octave-help): Fix regexp.
12857 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12859         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12860         (shr-table-horizontal-line): Allow nil as a value, and change the
12861         default.
12862         (shr-insert-table-ruler): Respect the nil value.
12864 2013-06-18  Tom Tromey  <tromey@barimba>
12866         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12867         New defvars.
12868         (eww-open-file): New defun.
12869         (eww-render): Initialize new variables.
12870         (eww-display-html): Handle "link" and "a".
12871         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12872         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
12873         (eww-back-url): Rename from eww-previous-url.
12874         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12875         New defuns.
12877 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
12879         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12880         Distinguish ternary operator tokens from slash symbol and slash
12881         char literal.
12883 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
12885         Convert symbol prettification into minor mode and global minor mode.
12887         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12888         `prog-prettify-symbols', and make a local defvar instead of defcustom.
12889         (prettify-symbols--keywords): Rename from
12890         `prog-prettify-symbols-alist' and make a local defvar.
12891         (prettify-symbols--compose-symbol): Rename from
12892         `prog--prettify-font-lock-compose-symbol'.
12893         (prettify-symbols--make-keywords): Rename from
12894         `prog-prettify-font-lock-symbols-keywords' and simplify.
12895         (prog-prettify-install): Remove.
12896         (prettify-symbols-mode): New minor mode, based on
12897         `prog-prettify-install'.
12898         (turn-on-prettify-symbols-mode): New function.
12899         (global-prettify-symbols-mode): New globalized minor mode.
12901         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12902         * progmodes/cfengine.el (cfengine3-mode):
12903         * progmodes/perl-mode.el (perl-mode): Don't call
12904         `prog-prettify-install'; set `prettify-symbols-alist' instead.
12906 2013-06-18  Juri Linkov  <juri@jurta.org>
12908         * files-x.el (modify-file-local-variable-message): New function.
12909         (modify-file-local-variable)
12910         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12911         and call `modify-file-local-variable-message' when it's non-nil.
12912         (add-file-local-variable, delete-file-local-variable)
12913         (add-file-local-variable-prop-line)
12914         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12915         and use it.  (Bug#9820)
12917 2013-06-18  Juri Linkov  <juri@jurta.org>
12919         * emulation/vi.el (vi-shell-op):
12920         * emulation/vip.el (vip-execute-com, ex-command):
12921         * emulation/viper-cmd.el (viper-exec-bang):
12922         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12923         the call of `shell-command-on-region'.  (Bug#14637)
12925         * simple.el (shell-command-on-region): Doc fix.
12927 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12929         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12930         (bug#14633).
12932 2013-06-18  Glenn Morris  <rgm@gnu.org>
12934         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12936         * newcomment.el (comment-search-forward, comment-search-backward):
12937         Doc fix.  (Bug#14376)
12939 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
12941         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12942         (buffer-face-mode-invoke): Doc fix.
12944 2013-06-18  Matthias Meulien  <orontee@gmail.com>
12946         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12947         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12949 2013-06-18  Glenn Morris  <rgm@gnu.org>
12951         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12952         Replace obsolete function generic-make-keywords with its expansion.
12954         * progmodes/python.el (ffap-alist): Declare.
12956         * textmodes/reftex.el (bibtex-mode-map): Declare.
12958 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12960         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12961         (package-unpack, package-unpack-single): Return the pkg-dir.
12962         (package-download-transaction): Use it to update package-alist.
12964 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12966         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12967         possible choice.
12969 2013-06-17  Juri Linkov  <juri@jurta.org>
12971         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12973 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
12975         * emacs-lisp/package.el (package-load-descriptor):
12976         Remove `with-syntax-table' call, `read' doesn't need it.
12977         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12979 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
12981         * startup.el (command-line): Expand package name returned by
12982         `package--description-file' (bug#14639).
12984 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
12986         * emacs-lisp/package.el (package-load-descriptor): Do not call
12987         `emacs-lisp-mode', just use its syntax table.
12989 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
12991         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12992         `font-lock-extra-managed-props' if any prettifying keyword is added.
12993         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12994         (prog-mode): Use `setq-local'.
12996 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12998         * international/characters.el (standard-case-table): Set syntax of ?»
12999         and ?« to punctuation.
13001 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
13003         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13004         Save relevant match data before calling `syntax-ppss' (bug#14595).
13006 2013-06-15  Juri Linkov  <juri@jurta.org>
13008         * files-x.el (modify-file-local-variable-prop-line): Add local
13009         variables to the end of the existing comment on the first line.
13010         Use `file-auto-mode-skip' to skip interpreter magic line,
13011         and also skip XML declaration.
13013 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13015         * startup.el (package--builtin-versions): New var.
13016         (package-subdirectory-regexp): Remove.
13017         (package--description-file): Hard code its value instead.
13019         * emacs-lisp/package.el: Don't activate packages older than builtin.
13020         (package-obsolete-list): Rename from package-obsolete-alist, and make
13021         it into a simple list of package-desc.
13022         (package-strip-version): Remove.
13023         (package-built-in-p): Use package--builtin-versions.
13024         (package-mark-obsolete): Simplify.
13025         (package-process-define-package): Mark it obsolete if older than the
13026         builtin version.
13027         (package-handle-response): Use line-end-position.
13028         (package-read-archive-contents, package--download-one-archive):
13029         Simplify.
13030         (package--add-to-archive-contents): Skip if older than the builtin or
13031         installed version.
13032         (package-menu-describe-package): Fix last change.
13033         (package-list-unversioned): New var.
13034         (package-menu--generate): Use it.
13036         * emacs-lisp/autoload.el: Manage package--builtin-versions.
13037         (autoload--insert-text, autoload--insert-cookie-text): New functions.
13038         (autoload-builtin-package-versions): New variable.
13039         (autoload-generate-file-autoloads): Use them.
13040         Remove the list of autoloaded functions/macros from the
13041         (autoload...) comments.
13043         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13045 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
13047         * simple.el (line-move-partial): Don't jump to the next screen
13048         line as soon as it becomes visible.  Instead, continue enlarging
13049         the vscroll until the portion of a tall screen line that's left on
13050         display is about the height of the frame's default font.
13051         (Bug#14567)
13053 2013-06-15  Glenn Morris  <rgm@gnu.org>
13055         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13056         compilation-error-regexp-alist void, or local while let-bound.
13058         * progmodes/make-mode.el (makefile-mode-syntax-table):
13059         Treat "=" as punctuation.  (Bug#14614)
13061 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
13063         * help-fns.el (describe-variable):
13064         Add extra line for permanent-local variables.
13066 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
13068         * progmodes/scheme.el (scheme-font-lock-keywords-2):
13069         Add export, import, library.  (Bug#9164)
13070         (library): Set indent function.
13072 2013-06-14  Glenn Morris  <rgm@gnu.org>
13074         * term/xterm.el (xterm--query):
13075         Stop after first matching handler.  (Bug#14615)
13077 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
13079         Add support for dired in saveplace.
13080         * dired.el (dired-initial-position-hook): New variable.
13081         (dired-initial-position): Call hook to place cursor position.
13082         * saveplace.el (save-place-to-alist): Add dired position.
13083         (save-place-dired-hook): New function.
13085 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13087         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13088         through a symbol rather than letrec.
13090         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
13091         (package-desc): Add `dir' field.
13092         (package-desc-full-name): New function.
13093         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
13094         (package-maybe-load-descriptor): Remove.
13095         (package-load-all-descriptors): Just call package-load-descriptor.
13096         (package--disabled-p): New function.
13097         (package-desc-vers, package-desc-doc): Remove aliases.
13098         (package--dir): Remove function.
13099         (package-activate): Check if a package is disabled.
13100         (package-process-define-package): New function, extracted from
13101         define-package.
13102         (define-package): Turn into a place holder.
13103         (package-unpack-single, package-tar-file-info):
13104         Use package--description-file.
13105         (package-compute-transaction): Use package--disabled-p.
13106         (package-download-transaction): Don't call
13107         package-maybe-load-descriptor since they're all loaded anyway.
13108         (package-install): Change argument to be a pkg-desc.
13109         (package-delete): Use a single pkg-desc argument.
13110         (describe-package-1): Use package-desc-dir instead of package--dir.
13111         Use package-desc property instead of package-symbol.
13112         (package-install-button-action): Adjust accordingly.
13113         (package--push): Rewrite.
13114         (package-menu--print-info): Adjust accordingly.  Change the ID format
13115         to be a pkg-desc.
13116         (package-menu-describe-package, package-menu-get-status)
13117         (package-menu--find-upgrades, package-menu-mark-upgrades)
13118         (package-menu-execute, package-menu--name-predicate):
13119         Adjust accordingly.
13120         * startup.el (package--description-file): New function.
13121         (command-line): Use it.
13122         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13123         Use package-desc-version.
13125         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13126         (byte-compile-preprocess): Use it.
13127         (byte-compile-file-form-defalias): Try a bit harder to use macros we
13128         can't quite recognize.
13129         (byte-compile-add-to-list): Remove.
13130         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13131         (cconv-closure-convert): Add assertion.
13133         * emacs-lisp/map-ynp.el: Use lexical-binding.
13134         (map-y-or-n-p): Remove unused vars `tail' and `object'.
13135         Factor out some repeated code.
13137 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13139         * subr.el (with-eval-after-load): New macro.
13140         (eval-after-load): Allow form to be a function.
13141         take advantage of lexical-binding.
13142         (do-after-load-evaluation): Use dolist and adjust to new format.
13143         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13145 2013-06-13  Juri Linkov  <juri@jurta.org>
13147         * replace.el (perform-replace): Display "symbol " and other search
13148         modes from `isearch-message-prefix' in the *Help* buffer.
13150         * isearch.el (isearch-query-replace): Add " symbol" and other
13151         possible search modes from `isearch-message-prefix' to the prompt.
13152         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13153         when reading a regexp to collect.
13155 2013-06-13  Juri Linkov  <juri@jurta.org>
13157         * isearch.el (word-search-regexp): Match whitespace if the search
13158         string begins or ends in whitespace.  The LAX arg is applied to
13159         both ends of the search string.  Use `regexp-quote' and explicit
13160         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
13161         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13162         boundaries are replaced with symbol boundaries, and characters
13163         between symbols match non-word non-symbol syntax.  (Bug#14602)
13165 2013-06-13  Juri Linkov  <juri@jurta.org>
13167         * isearch.el (isearch-del-char): Don't exceed the length of
13168         `isearch-string' by the prefix arg.  (Bug#14563)
13170 2013-06-13  Juri Linkov  <juri@jurta.org>
13172         * isearch.el (isearch-yank-word, isearch-yank-line)
13173         (isearch-char-by-name, isearch-quote-char)
13174         (isearch-printing-char, isearch-process-search-char):
13175         Add optional count prefix arg.  (Bug#14563)
13177         * international/isearch-x.el
13178         (isearch-process-search-multibyte-characters):
13179         Add optional count prefix arg.
13181 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13183         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13184         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13185         lexical-binding.
13187 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
13189         * subr.el (set-temporary-overlay-map): Add on-exit argument.
13191 2013-06-13  Glenn Morris  <rgm@gnu.org>
13193         * startup.el (tty-handle-args):
13194         Don't just discard "--" and anything after.  (Bug#14608)
13196         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13198 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
13200         Implement changes in Secret Service API.  Make it backward compatible.
13201         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13202         (secrets-create-item): Use it.  Prefix properties with interface.
13204 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
13206         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
13207         (term-emulate-terminal): Respect term-suppress-hard-newline.
13209 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
13211         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13212         Only remove a `thumb-file' overlay.  (Bug#14548)
13214 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
13216         * mail/reporter.el (reporter-submit-bug-report):
13217         Handle missing package-name.  (Bug#14600)
13219 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13221         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13222         (reftex-citation-prompt, reftex-default-bibliography)
13223         (reftex-bib-or-thebib, reftex-get-bibfile-list)
13224         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13225         (reftex-bib-sort-author, reftex-bib-sort-year)
13226         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13227         (reftex-extract-bib-entries-from-thebibliography)
13228         (reftex-get-bibkey-default, reftex-get-bib-names)
13229         (reftex-parse-bibtex-entry, reftex-get-bib-field)
13230         (reftex-format-bib-entry, reftex-parse-bibitem)
13231         (reftex-format-bibitem, reftex-do-citation)
13232         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13233         (reftex-restrict-bib-matches, reftex-extract-bib-file)
13234         (reftex-insert-bib-matches, reftex-format-citation)
13235         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13236         (reftex-create-bibtex-file): Add docstrings, mostly by converting
13237         existing comments into docstrings.
13239 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
13241         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13243 2013-06-12  Andreas Schwab  <schwab@suse.de>
13245         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13246         for auto-save files.
13248 2013-06-12  Glenn Morris  <rgm@gnu.org>
13250         * ido.el (ido-delete-ignored-files): Remove.
13251         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13252         Go back to calling ido-ignore-item-p directly.
13254 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
13256         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13258         * ido.el (ido-delete-ignored-files): New function,
13259         split from ido-make-file-list-1.
13260         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
13261         (ido-make-file-list-1): Use ido-delete-ignored-files.
13263 2013-06-12  Leo Liu  <sdl.web@gmail.com>
13265         * progmodes/octave.el (inferior-octave-startup)
13266         (inferior-octave-completion-table)
13267         (inferior-octave-track-window-width-change)
13268         (octave-eldoc-function-signatures, octave-help)
13269         (octave-find-definition): Use single quoted strings.
13270         (inferior-octave-startup-args): Change default value.
13271         (inferior-octave-startup): Do not hard code "-i" and
13272         "--no-line-editing".
13273         (inferior-octave-resync-dirs): Add optional arg NOERROR.
13274         (inferior-octave-directory-tracker): Use it.
13275         (octave-goto-function-definition): Robustify.
13276         (octave-help): Support highlighting operators in 'See also'.
13277         (octave-find-definition): Find subfunctions only in Octave mode.
13279 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13281         * help-fns.el (help-fns--compiler-macro): If the handler function is
13282         named, then put a link to it.
13283         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13284         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13285         (cl-typep): Use it.
13286         (cl-eval-when): Simplify debug spec.
13287         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
13288         compiler-macro function instead of setting `compiler-macro-file'.
13290 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
13292         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13293         * vc/vc-hooks.el (vc-stay-local): Doc fix.
13295 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13296             Daniel Hackney  <dan@haxney.org>
13298         First part of Daniel Hackney's patch to package.el.
13299         * emacs-lisp/package.el: Use defstruct.
13300         (package-desc): New, main struct.
13301         (package--bi-desc, package--ac-desc): New structs, used to describe the
13302         format in external files.
13303         (package-desc-vers): Replace with package-desc-version accessor.
13304         (package-desc-doc): Replace with package-desc-summary accessor.
13305         (package-activate-1): Remove `package' arg since the pkg-vec now
13306         includes the name.
13307         (define-package): Use package-desc-from-define.
13308         (package-unpack-single): Change file-name arg to be a symbol.
13309         (package--add-to-archive-contents): Use package-desc-create and new
13310         accessor functions to package--ac-desc.
13311         (package-buffer-info, package-tar-file-info): Return a package-desc.
13312         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
13313         arg to be a package-desc.
13314         (package-install-file): Adjust accordingly.  Use \' to match EOS.
13315         (package--from-builtin): New function.
13316         (describe-package-1, package-menu--generate): Use it.
13317         (package--make-autoloads-and-compile): Change name arg to be a symbol.
13318         (package-generate-autoloads): Idem and return the name of the file.
13319         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13320         Change pkg-info arg to be a package-desc.
13321         Use package-make-ac-desc.
13322         (package-upload-file): Use \' to match EOS.
13323         * finder.el (finder-compile-keywords): Use package-make-builtin.
13325 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13327         * vc/vc.el (vc-deduce-fileset): Change error message.
13328         (vc-read-backend): New function.
13329         (vc-next-action): Use it.
13331         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13333         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13334         (prolog-font-lock-keywords): Use regexp-opt instead.
13335         Don't manually highlight strings.
13336         (prolog-mode-variables): Simplify comment-start-skip.
13337         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
13339         * emacs-lisp/generic.el (generic--normalise-comments)
13340         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13341         (generic-mode-set-comments): Use them.
13342         (generic-bracket-support): Use setq-local.
13343         (generic-make-keywords-list): Declare obsolete.
13345 2013-06-11  Glenn Morris  <rgm@gnu.org>
13347         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13348         Prettify after setting font-lock-defaults.  (Bug#14574)
13350 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
13352         * replace.el (query-replace, occur-read-regexp-defaults-function)
13353         (replace-search):
13354         * subr.el (declare-function, number-sequence, local-set-key)
13355         (substitute-key-definition, locate-user-emacs-file)
13356         (with-silent-modifications, split-string, eval-after-load):
13357         Fix typos, remove unneeded backslashes and reflow some docstrings.
13359 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13361         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13362         default for Elisp files.
13364 2013-06-11  Glenn Morris  <rgm@gnu.org>
13366         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13367         although define-derived-mode was doing this anyway.  (Bug#14583)
13369 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
13371         * allout.el (allout-encryption-plaintext-sanitization-regexps):
13372         Fix make-variable-buffer-local call to refer to the correct variable.
13374 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
13376         * eshell/em-term.el (eshell-visual-commands)
13377         (eshell-visual-subcommands, eshell-visual-options):
13378         Add summary line to docstrings.  Add cross-references.
13380 2013-06-10  Glenn Morris  <rgm@gnu.org>
13382         * epa.el (epa-read-file-name): New function.  (Bug#14510)
13383         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
13385 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
13387         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13388         output redirection to be ignored with visual commands.
13390 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
13392         * eshell/em-term.el (eshell-visual-command-p): New function.
13393         (eshell-term-initialize): Move long lambda to separate function
13394         eshell-visual-command-p.
13395         * eshell/em-dirs.el (eshell-dirs-initialize):
13396         * eshell/em-script.el (eshell-script-initialize):
13397         Add missing #' to lambda.
13399 2013-06-08  Leo Liu  <sdl.web@gmail.com>
13401         * progmodes/octave.el (octave-add-log-current-defun): New function.
13402         (octave-mode): Set add-log-current-defun-function.
13403         (octave-goto-function-definition): Do not move point if not found.
13404         (octave-find-definition): Enhance to try subfunctions first.
13406 2013-06-08  Glenn Morris  <rgm@gnu.org>
13408         * emacs-lisp/bytecomp.el (byte-compile-char-before)
13409         (byte-compile-backward-char, byte-compile-backward-word):
13410         Improve previous change, to handle non-explicit nil.
13412 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13414         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13415         (smie--opener/closer-at-point): New function.
13416         (smie--matching-block-data): Use it.  Don't match from right after an
13417         opener or right before a closer.  Obey smie-blink-matching-inners.
13418         Don't signal a mismatch for repeated inners like "switch..case..case".
13420 2013-06-07  Leo Liu  <sdl.web@gmail.com>
13422         * progmodes/octave.el (octave-mode): Set comment-use-global-state
13423         to t.  (Bug#14303)
13424         (octave-function-header-regexp): Fix.  (Bug#14570)
13425         (octave-help-mode-finish-hook, octave-help-mode-finish):
13426         Remove.  Just use temp-buffer-show-hook.
13428         * newcomment.el (comment-search-backward): Revert last change.
13429         (Bug#14434)
13431         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13433 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
13435         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13436         through xargs, to avoid failure due to MS-Windows limitations on
13437         command-line length.
13439 2013-06-06  Glenn Morris  <rgm@gnu.org>
13441         * font-lock.el (lisp-font-lock-keywords-2):
13442         Treat user-error like error.
13444         * emacs-lisp/bytecomp.el (byte-compile-char-before)
13445         (byte-compile-backward-char, byte-compile-backward-word):
13446         Handle explicit nil arguments.  (Bug#14565)
13448 2013-06-05  Alan Mackenzie  <acm@muc.de>
13450         * isearch.el (isearch-allow-prefix): New user option.
13451         (isearch-other-meta-char): Don't exit isearch when a prefix
13452         argument is typed whilst `isearch-allow-prefix' is non-nil.
13453         (Bug#9706)
13455 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13457         * autorevert.el (auto-revert-notify-handler): Use memq.
13458         Hide assertion failure.
13460         * skeleton.el: Use cl-lib.
13461         (skeleton-further-elements): Use defvar-local.
13462         (skeleton-insert): Use cl-progv.
13464 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
13466         * progmodes/prog-mode.el (prog-prettify-symbols)
13467         (prog-prettify-install): Update docstrings.
13469 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13471         * simple.el: Move all the prog-mode code to prog-mode.el.
13472         * progmodes/prog-mode.el: New file.
13473         * loadup.el: Add prog-mode.el.
13475 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
13477         * simple.el (prog-prettify-symbols): Add version.
13478         (prog-prettify-install): Add convenience function to prettify symbols.
13480         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13481         (perl--augmented-font-lock-keywords-1)
13482         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13483         variables and use it.
13485         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13486         (cfengine3-mode): Remove unneeded variable and use it.
13488         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13489         (lisp--augmented-font-lock-keywords-1)
13490         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13491         Remove unneeded variables and use it.
13493 2013-06-05  João Távora  <joaotavora@gmail.com>
13495         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13496         to point when opening the connection.  (Bug#14380)
13498 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13500         * subr.el (load-history-regexp, load-history-filename-element)
13501         (eval-after-load, after-load-functions, do-after-load-evaluation)
13502         (eval-next-after-load, display-delayed-warnings)
13503         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13504         definition of save-match-data.
13505         (overriding-local-map): Remove accidental obsolescence declaration.
13507         * emacs-lisp/edebug.el (edebug-result): Move before first use.
13509 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
13511         Generalize symbol prettify support to prog-mode and implement it
13512         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13513         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13514         (prog--prettify-font-lock-compose-symbol)
13515         (prog-prettify-font-lock-symbols-keywords): New variables and
13516         functions to support symbol prettification.
13517         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13518         (lisp--augmented-font-lock-keywords-1)
13519         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13520         (lisp--prettify-symbols-alist): Implement prettify of lambda.
13521         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13522         (cfengine3--prettify-symbols-alist, cfengine3-mode):
13523         Implement prettify of -> => :: strings.
13524         * progmodes/perl-mode.el (perl-prettify-symbols)
13525         (perl--font-lock-compose-symbol)
13526         (perl--font-lock-symbols-keywords): Move to prog-mode.
13527         (perl--prettify-symbols-alist): Prettify -> => :: strings.
13528         (perl-font-lock-keywords-1)
13529         (perl-font-lock-keywords-2): Remove explicit prettify support.
13530         (perl--augmented-font-lock-keywords)
13531         (perl--augmented-font-lock-keywords-1)
13532         (perl--augmented-font-lock-keywords-2, perl-mode):
13533         Implement prettify support.
13535 2013-06-05  Leo Liu  <sdl.web@gmail.com>
13537         Re-implement SMIE matching block highlight using
13538         show-paren-data-function.  (Bug#14395)
13539         * emacs-lisp/smie.el (smie-matching-block-highlight)
13540         (smie--highlight-matching-block-overlay)
13541         (smie--highlight-matching-block-lastpos)
13542         (smie-highlight-matching-block)
13543         (smie-highlight-matching-block-mode): Remove.
13544         (smie--matching-block-data-cache): New variable.
13545         (smie--matching-block-data): New function.
13546         (smie-setup): Use smie--matching-block-data for
13547         show-paren-data-function.
13549         * progmodes/octave.el (octave-mode-menu): Fix.
13550         (octave-find-definition): Skip garbage lines.
13552 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13554         Fix compilation error with simultaneous dynamic+lexical scoping.
13555         Add warning when a defvar appears after the first let-binding.
13556         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13557         (byte-compile-close-variables): Initialize it.
13558         (byte-compile--declare-var): New function.
13559         (byte-compile-file-form-defvar)
13560         (byte-compile-file-form-define-abbrev-table)
13561         (byte-compile-file-form-custom-declare-variable): Use it.
13562         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
13563         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13564         (byte-compile-bind): Handle dynamic bindings that shadow
13565         lexical bindings.
13566         (byte-compile-unbind): Make arg non-optional.
13567         (byte-compile-let): Simplify.
13568         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13569         (cconv--analyse-function, cconv-analyse-form): Populate it.
13570         Protect byte-compile-bound-variables to limit the scope of defvars.
13571         (cconv-analyse-form): Add missing rule for (defvar <foo>).
13572         Remove unneeded rule for `declare'.
13574         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13575         so as to avoid depending on cl-adjoin at run-time.
13576         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13578         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13579         (macroexp--warn-and-return): Use it.
13581 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13583         * subr.el: Convert to lexical binding.
13584         (overriding-local-map): Make obsolete.
13585         (add-to-list): Doc fix.  Add compiler macro.
13586         (read-key): Swap values of local maps.
13588 2013-06-05  Leo Liu  <sdl.web@gmail.com>
13590         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13592 2013-06-04  Leo Liu  <sdl.web@gmail.com>
13594         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13595         (compilation-auto-jump): Suppress the "Mark set" message to give
13596         way to exit message.
13598 2013-06-04  Alan Mackenzie  <acm@muc.de>
13600         Remove faulty optimisation from indentation calculation.
13601         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13602         search limit based on 2000 characters back from indent-point.
13604 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
13606         * eshell/em-term.el (cl-lib): Require `cl-lib'.
13608 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13610         * emacs-lisp/lisp.el: Use lexical-binding.
13611         (lisp--local-variables-1, lisp--local-variables): New functions.
13612         (lisp--local-variables-completion-table): New var.
13613         (lisp-completion-at-point): Use it complete let-bound vars.
13615         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13616         eagerly (bug#14422).
13618 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
13620         * autorevert.el (auto-revert-notify-enabled)
13621         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13622         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13623         (auto-revert-notify-handler): Handle also gfilenotify.
13625         * subr.el (file-notify-handle-event): New defun.  Replacing ...
13626         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13627         Remove.
13629 2013-06-03  Juri Linkov  <juri@jurta.org>
13631         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13632         `M-s h .'.  (Bug#14427)
13634         * hi-lock.el (highlight-symbol-at-point): New alias for the new
13635         command `hi-lock-face-symbol-at-point'.
13636         (hi-lock-face-symbol-at-point): New command.
13637         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13638         (hi-lock-menu): Add `highlight-symbol-at-point'.
13639         (hi-lock-mode): Doc fix.
13641         * isearch.el (isearch-forward-symbol-at-point): New command.
13642         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13643         (isearch-highlight-regexp): Add a regexp which matches
13644         words/symbols for word/symbol mode.
13646         * subr.el (find-tag-default-bounds): New function with the body
13647         mostly moved from `find-tag-default'.
13648         (find-tag-default): Move most code to `find-tag-default-bounds',
13649         call it and apply `buffer-substring-no-properties' afterwards.
13651 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
13653         * eshell/em-term.el (eshell-term-initialize):
13654         Use `cl-intersection' rather than `intersection'.
13656 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
13658         * vc/log-view.el: Doc fix.
13659         (log-view-mode-map): Copy keymap from `special-mode-map'.
13661 2013-06-02  Eric Ludlam  <zappo@gnu.org>
13663         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13664         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13665         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13666         (eieio-unbound, eieio-default-superclass)
13667         (eieio--define-field-accessors, method-static, method-before)
13668         (method-primary, method-after, method-num-lists)
13669         (method-generic-before, method-generic-primary)
13670         (method-generic-after, method-num-slots)
13671         (eieio-specialized-key-to-generic-key)
13672         (eieio--check-type, class-v, class-p)
13673         (eieio-class-name, define-obsolete-function-alias)
13674         (eieio-class-parents-fast, eieio-class-children-fast)
13675         (same-class-fast-p, class-constructor, generic-p)
13676         (generic-primary-only-p, generic-primary-only-one-p)
13677         (class-option-assoc, class-option, eieio-object-p)
13678         (class-abstract-p, class-method-invocation-order)
13679         (eieio-defclass-autoload-map, eieio-defclass-autoload)
13680         (eieio-class-un-autoload, eieio-defclass)
13681         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13682         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13683         (eieio--defgeneric-init-form, eieio-defgeneric-form)
13684         (eieio-defgeneric-reset-generic-form)
13685         (eieio-defgeneric-form-primary-only)
13686         (eieio-defgeneric-reset-generic-form-primary-only)
13687         (eieio-defgeneric-form-primary-only-one)
13688         (eieio-defgeneric-reset-generic-form-primary-only-one)
13689         (eieio-unbind-method-implementations)
13690         (eieio--defmethod, eieio--typep)
13691         (eieio-perform-slot-validation, eieio-validate-slot-value)
13692         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13693         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13694         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13695         (eieio-slot-name-index, eieio-class-slot-name-index)
13696         (eieio-set-defaults, eieio-initarg-to-attribute)
13697         (eieio-attribute-to-initarg, eieio-c3-candidate)
13698         (eieio-c3-merge-lists, eieio-class-precedence-c3)
13699         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13700         (eieio-class-precedence-list, eieio-generic-call-methodname)
13701         (eieio-generic-call-arglst, eieio-generic-call-key)
13702         (eieio-generic-call-next-method-list)
13703         (eieio-pre-method-execution-functions, eieio-generic-call)
13704         (eieio-generic-call-primary-only, eieiomt-method-list)
13705         (eieiomt-optimizing-obarray, eieiomt-install)
13706         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13707         (eieio-generic-form, eieio-defmethod, make-obsolete)
13708         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13709         (defclass): Remove `eval-and-compile' from macro.
13710         (call-next-method, shared-initialize): Instead of using
13711         `scoped-class' variable, use new eieio--scoped-class, and
13712         eieio--with-scoped-class.
13713         (initialize-instance): Rename local variable 'scoped-class' to
13714         'this-class' to remove ambiguitity from old global.
13716         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
13717         eieio.el.
13718         (eieio--scoped-class-stack): New variable.
13719         (eieio--scoped-class): New fcn.
13720         (eieio--with-scoped-class): New scoping macro.
13721         (eieio-defclass): Use pushnew instead of add-to-list.
13722         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13723         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13724         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13725         `scoped-class' variable, use new eieio--scoped-class, and
13726         eieio--with-scoped-class.
13728         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13730 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
13732         * eshell/esh-ext.el (eshell-external-command): Pass args to
13733         `eshell-find-interpreter'.
13734         (eshell-find-interpreter): Add new second parameter ARGS.
13736         * eshell/em-script.el (eshell-script-initialize): Add second arg
13737         to the function added as MATCH to `eshell-interpreter-alist'.
13739         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13740         the function added as MATCH to `eshell-interpreter-alist'.
13742         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13743         (eshell-visual-options): New defcustom.
13744         (eshell-escape-control-x): Adapt docstring.
13745         (eshell-term-initialize): Test `eshell-visual-subcommands' and
13746         `eshell-visual-options' in addition to `eshell-visual-commands'.
13747         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13749 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13751         * progmodes/python.el (python-indent-block-enders): Add break,
13752         continue and raise keywords.
13754 2013-06-01  Glenn Morris  <rgm@gnu.org>
13756         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13758         Plain (f)boundp silences compilation warnings since Emacs 22.1.
13759         * progmodes/cc-cmds.el (delete-forward-p):
13760         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13761         * progmodes/cc-engine.el (buffer-syntactic-context):
13762         * progmodes/cc-fonts.el (face-property-instance):
13763         * progmodes/cc-mode.el (set-keymap-parents):
13764         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13765         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13766         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13767         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13768         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13770         * progmodes/cc-vars.el (other): Emacs has this widget since
13771         at least 21.1, so don't (re)define it.
13773         * eshell/em-cmpl.el (eshell-cmpl-initialize):
13774         Replace the obsolete alias pcomplete-arg-quote-list.
13776 2013-06-01  Leo Liu  <sdl.web@gmail.com>
13778         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13779         punctuation syntax.
13780         (inferior-octave-minimal-columns)
13781         (inferior-octave-last-column-width): New variables.
13782         (inferior-octave-track-window-width-change): New function.
13783         (inferior-octave-mode): Adjust column width so that Octave output,
13784         for example from 'ls', can fit into the window nicely.
13786 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
13788         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13789         Highlight expansions inside regexp literals.
13791 2013-05-31  Glenn Morris  <rgm@gnu.org>
13793         * obsolete/sym-comp.el (symbol-complete):
13794         Replace obsolete completion-annotate-function.
13796         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13798 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
13800         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13801         New function, checks if point is inside a literal that allows
13802         expression expansion.
13803         (ruby-syntax-propertize-expansion): Use it.
13804         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13805         around the body.
13807 2013-05-30  Juri Linkov  <juri@jurta.org>
13809         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13810         to "\M-si".
13811         (isearch-invisible): New variable.
13812         (isearch-forward): Doc fix.
13813         (isearch-mode): Set `isearch-invisible'
13814         to the value of `search-invisible'.
13815         (isearch-toggle-case-fold): Doc fix.
13816         (isearch-toggle-invisible): New command.
13817         (isearch-query-replace): Let-bind `search-invisible'
13818         to the value of `isearch-invisible'.
13819         (isearch-search): Use `isearch-invisible' instead of
13820         `search-invisible'.  Let-bind `search-invisible'
13821         to the value of `isearch-invisible'.  (Bug#11378)
13823 2013-05-30  Juri Linkov  <juri@jurta.org>
13825         * replace.el (perform-replace): Avoid `isearch-range-invisible'
13826         call when `query-flag' is nil and `search-invisible' is non-nil.
13827         (Bug#11746)
13829 2013-05-30  Glenn Morris  <rgm@gnu.org>
13831         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13833         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13834         (cc-require): Suppress spurious "noruntime" warnings.
13835         (cc-require-when-compile): Use fboundp, for sake of compiler.
13837         * progmodes/cc-mode.el: Move load of cc-vars before that of
13838         cc-langs (which in turn loads cc-vars), to quieten compiler.
13840 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13842         * paren.el: Simplify the code.
13843         (show-paren-mode): Always start the timer.
13844         (show-paren--idle-timer): Rename from show-paren-idle-timer.
13845         (show-paren--overlay, show-paren--overlay-1): Rename from
13846         show-paren-overlay and show-paren-overlay-1, and initialize to an
13847         overlay rather than to nil.
13848         (show-paren-function): Misc cleanup and simplifications.
13850 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13852         * paren.el (show-paren-data-function): New hook.
13853         (show-paren--default): New function, extracted from show-paren-function.
13854         (show-paren-function): Use show-paren-data-function.
13856 2013-05-30  Glenn Morris  <rgm@gnu.org>
13858         * ielm.el (ielm-map, ielm-complete-symbol):
13859         Use completion-at-point rather than obsolete functions.
13860         (inferior-emacs-lisp-mode): Doc fix.
13861         Set completion-at-point-functions, rather than
13862         comint-dynamic-complete-functions.
13864         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13865         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13866         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13868         * image.el (image-animated-p): Tweak definition.
13870         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13871         (rlogin-process-connection-type): Tweak default.  Add set-after.
13872         (rlogin-host): Doc fix.
13873         (rlogin): Tweak prompt.
13874         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13876         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13877         * progmodes/tcl.el (inferior-tcl-mode-map):
13878         Use completion-at-point rather than obsolete alias.
13880         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13882         * minibuffer.el (read-file-name-completion-ignore-case):
13883         Move before completion--in-region, for eager macro expansion.
13885 2013-05-29  Juri Linkov  <juri@jurta.org>
13887         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13888         for total count of matching lines.  Add `global-matches' for total
13889         count of matches.  Rename `matches' to `lines' for count of
13890         matching lines.  Add `matches' for count of matches.
13891         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
13892         to `prev-line' for line number of prev match endpt.
13893         Increment `matches' for every match.  Print the number of
13894         matching lines in the header.
13895         (occur-context-lines): Rename `lines' to `curr-line'.
13896         Rename `prev-lines' to `prev-line'.  (Bug#14017)
13898 2013-05-29  Juri Linkov  <juri@jurta.org>
13900         * replace.el (perform-replace): Add `skip-read-only-count',
13901         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13902         Increment them for corresponding conditions and report the number
13903         of skipped occurrences in the final message.  (Bug#11746)
13904         (query-replace, query-replace-regexp, query-replace-regexp-eval)
13905         (replace-string, replace-regexp): Doc fix.
13907 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13909         * emacs-lisp/trace.el (trace--read-args): Provide a default.
13911         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13912         prog-mode-map (bug#14504).
13914 2013-05-29  Leo Liu  <sdl.web@gmail.com>
13916         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13917         (octave-help): Small simplification.
13919         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13920         off the highlight first.
13922 2013-05-29  Glenn Morris  <rgm@gnu.org>
13924         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13925         Handle idlwave-last-system-routine-info-cons-cell being nil.
13927         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13928         (idlwave-write-paths): Simplify via with-temp-buffer.
13930         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13931         * emulation/cua-rect.el: Also load cua-base at run time.
13933         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13934         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13935         (cperl-imenu-on-info): Require imenu.
13937 2013-05-28  Alan Mackenzie  <acm@muc.de>
13939         Handle "capitalised keywords" correctly.
13940         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13942 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
13944         * eshell/em-unix.el: Add -r option to cp.
13946 2013-05-28  Glenn Morris  <rgm@gnu.org>
13948         * vc/vc-arch.el (vc-exec-after): Declare.
13949         (vc-switches): Autoload.
13950         * vc/vc-bzr.el: No need to require vc when compiling.
13951         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13952         (vc-resynch-buffer, vc-dir-refresh): Declare.
13953         (vc-setup-buffer, vc-switches): Autoload.
13954         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13955         (vc-resynch-buffer): Declare.
13956         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13957         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13958         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13959         (grep-read-regexp, grep-read-files, grep-expand-template)
13960         (vc-dir-refresh): Declare.
13961         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13962         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13963         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13964         * vc/vc-mtn.el (vc-exec-after): Declare.
13965         (vc-switches): Autoload.
13966         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13967         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13968         (vc-file-tree-walk): Declare.
13969         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13970         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13971         (vc-tag-precondition, vc-rename-master): Autoload.
13972         * vc/vc-svn.el (vc-exec-after): Declare.
13973         (vc-switches, vc-setup-buffer): Autoload.
13974         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13975         Autoload.
13976         (vc-resynch-buffer): Declare.
13978         * obsolete/fast-lock.el (byte-compile-warnings):
13979         Don't warn about obsolete features in this obsolete file.
13981         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13982         Move definition before use.
13984         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13985         (dun-unix-verbs): Remove dun-zippy.
13986         (dun-zippy): Remove function.
13988         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13990 2013-05-27  Juri Linkov  <juri@jurta.org>
13992         * replace.el (replace-search): New function with code moved out
13993         from `perform-replace'.
13994         (replace-highlight, replace-dehighlight): Move function definitions
13995         up closer to `replace-search'.  (Bug#11746)
13997 2013-05-27  Juri Linkov  <juri@jurta.org>
13999         * replace.el (perform-replace): Ignore invisible matches.
14000         In addition to checking `query-replace-skip-read-only', also
14001         filter out matches by calling `run-hook-with-args-until-failure'
14002         on `isearch-filter-predicates', and also check `search-invisible'
14003         for t or call `isearch-range-invisible'.
14004         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
14006 2013-05-27  Juri Linkov  <juri@jurta.org>
14008         * isearch.el (isearch-filter-predicates): Rename from
14009         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
14010         (isearch-message-prefix): Display text from the property
14011         `isearch-message-prefix' of the currently active filters.
14012         (isearch-search): Don't compare `isearch-filter-predicate' with
14013         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
14014         on `isearch-filter-predicates'.  Also check `search-invisible' for t
14015         or call `isearch-range-invisible'.
14016         (isearch-filter-visible): Make obsolete.
14017         (isearch-lazy-highlight-search):
14018         Call `run-hook-with-args-until-failure' on
14019         `isearch-filter-predicates' and use `isearch-range-invisible'.
14021         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14022         `isearch-filter-predicates' instead of `funcall'ing
14023         `isearch-filter-predicate'.
14024         (Info-mode): Set `Info-isearch-filter' to
14025         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14027         * dired-aux.el (dired-isearch-filter-predicate-orig):
14028         Remove variable.
14029         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14030         (dired-isearch-filenames-end): Add and remove
14031         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14032         instead of changing the value of `isearch-filter-predicate'.
14033         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14034         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14035         Put property `isearch-message-prefix' to "filename " on
14036         `dired-isearch-filter-filenames'.
14038         * wdired.el (wdired-change-to-wdired-mode):
14039         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14040         locally instead of changing `isearch-filter-predicate'.
14041         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14043 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
14045         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14046         return the commit hash (Bug#14459).  Also set the
14047         `vc-git-detached' property.
14048         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14049         (vc-git-mode-line-string): Use the same help-echo format whether
14050         in detached mode or not, because we know the actual revision now.
14051         When in detached mode, shorten the revision to 7 chars.
14053 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14055         * emacs-lisp/easy-mmode.el (define-minor-mode):
14056         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14057         mode hook and provide a docstring.
14059 2013-05-27  Alan Mackenzie  <acm@muc.de>
14061         Remove spurious syntax-table text properties inserted by C-y.
14062         * progmodes/cc-mode.el (c-after-change): Also clear hard
14063         syntax-table property with value nil.
14065 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
14067         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14068         when reading the events; the buffer layout shall not be changed.
14070 2013-05-27  Leo Liu  <sdl.web@gmail.com>
14072         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14073         New variable.
14074         (inferior-octave-directory-tracker): Automatically re-sync
14075         default-directory.
14076         (octave-help): Improve handling of 'See also'.
14078 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14080         * doc-view.el: Minor naming convention tweaks.
14081         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14083         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14084         even if there's no `display' property yet (bug#14435).
14086 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
14088         * subr.el (unmsys--file-name): Rename from reveal-filename.
14090         * Makefile.in (custom-deps, finder-data, autoloads)
14091         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14092         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14093         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14095 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14097         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14098         error-completion on the first 2 args of condition-case (bug#14446).
14099         Don't burp at EOB.
14101 2013-05-25  Leo Liu  <sdl.web@gmail.com>
14103         * comint.el (comint-previous-matching-input): Do not flood the
14104         *Messages* buffer with trivial messages.
14106 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14108         * progmodes/flymake.el (flymake-nop): Don't return a string.
14109         (flymake-set-at): Fix typo.
14111         * simple.el (read--expression): New function, extracted from
14112         eval-expression.  Set completion-at-point-functions (bug#14465).
14113         (eval-expression, eval-minibuffer): Use it.
14115 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
14117         * progmodes/flymake.el (flymake-save-buffer-in-file)
14118         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14119         (flymake-selected-frame, flymake-log, flymake-ins-after)
14120         (flymake-set-at, flymake-get-buildfile-from-cache)
14121         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14122         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14123         Refine the doc string.
14124         (flymake-get-file-name-mode-and-masks): Reformat.
14125         (flymake-get-real-file-name-function): Fix a minor bug.
14127 2013-05-24  Juri Linkov  <juri@jurta.org>
14129         * progmodes/grep.el (grep-mode-font-lock-keywords):
14130         Support =linenumber= format used by git-grep for lines with
14131         function names.  (Bug#13549)
14133 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14135         * progmodes/octave.el (octave-smie-rules): Return nil rather than
14136         0 after a semi-colon; it works better for smie-auto-fill.
14137         (octave--indent-new-comment-line): New function.
14138         (octave-indent-new-comment-line): Use it (indirectly).
14139         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
14140         modify comment-line-break-function.
14142         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14143         (smie-setup): Use add-function to set it.
14145 2013-05-24  Sam Steingold  <sds@gnu.org>
14147         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14148         argument (before the `interactive' argument).
14150 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14152         * image-mode.el (image-mode-winprops): Add winprops to
14153         image-mode-winprops-alist before running
14154         image-mode-new-window-functions.
14155         * doc-view.el (doc-view-new-window-function): Don't delay
14156         doc-view-goto-page via timers (bug#14435).
14158 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
14160         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
14161         (doc-view-desktop-save-buffer): New function.
14162         (doc-view-restore-desktop-buffer): New function.
14163         (desktop-buffer-mode-handlers):
14164         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14165         handler.
14166         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14167         `desktop-save-buffer' function.
14169 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
14171         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14172         (tramp-gvfs-file-name-handler): Raise a user error when
14173         `tramp-gvfs-enabled' is nil.
14174         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14175         Do not raise a user error when loading package.  (Bug#14447)
14177         * net/xesam.el: Move to obsolete/.
14179 2013-05-24  Glenn Morris  <rgm@gnu.org>
14181         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14183         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14185         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14186         (Info-find-node, Man-getpage-in-background): Declare.
14188         * mail/unrmail.el (unrmail):
14189         Replace obsolete detect-coding-with-priority.
14191         * net/socks.el (socks-split-string): Use this rather than split-string.
14192         (socks-nslookup-host): Update for above change.
14193         (dynamic-choice, s5-dynamic-choice-match)
14194         (s5-dynamic-choice-match-inline, s5-widget-value-create):
14195         Comment out unused code.
14197         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14198         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14199         (gud-tooltip-echo-area): Make obsolete.
14200         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14202         * progmodes/js.el (js--optimize-arglist): Declare.
14204         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14206         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14207         (ediff-window-C): Declare.
14209         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14210         Tweak requires to silence compiler.
14212         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14213         (he-search-string, he-tried-table, he-expand-list)
14214         (he-init-string, he-string-member, he-substitute-string)
14215         (he-reset-string): Declare.
14217         * obsolete/options.el (list-options): Use custom-variable-p,
14218         rather than obsolete alias.
14220 2013-05-23  Sam Steingold  <sds@gnu.org>
14222         * simple.el (shell-command-on-region): Pass the `replace' argument
14223         down to `call-process-region' to comply with the doc as reported on
14224         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14226 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14228         * emacs-lisp/smie.el (smie-indent-forward-token)
14229         (smie-indent-backward-token): Handle string tokens (bug#14381).
14231 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14233         * ielm.el (ielm-menu): New menu.
14234         (inferior-emacs-lisp-mode): Set comment-start.
14236 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14238         * textmodes/reftex.el (reftex-ref-style-toggle):
14239         Fix deactivate action.
14241         * textmodes/reftex-vars.el (reftex-ref-style-alist):
14242         Add cleveref macros.
14244         * textmodes/reftex-parse.el
14245         (reftex-locate-bibliography-files): Accept options for
14246         bibliography commands.
14247         * textmodes/reftex-vars.el (reftex-bibliography-commands):
14248         Add addbibresource.  Basic Biblatex support.
14250 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
14252         * net/tramp-gvfs.el (top):
14253         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14254         when loading package.  (Bug#14447)
14256 2013-05-23  Glenn Morris  <rgm@gnu.org>
14258         * progmodes/js.el: No need to load comint when compiling.
14259         (ring-insert, comint-send-string, comint-send-input)
14260         (comint-last-input-end, ido-chop): Declare.
14262         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14263         * vc/ediff-mult.el: Adjust requires.
14264         (ediff-directories-internal, ediff-directory-revisions-internal)
14265         (ediff-patch-file-internal): Declare.
14266         * vc/ediff-ptch.el: Adjust requires.
14267         (ediff-use-last-dir, ediff-buffers-internal): Declare.
14268         (ediff-find-file): Autoload.
14269         * vc/ediff-util.el: No need to load ediff when compiling.
14270         (ediff-regions-internal): Declare.
14271         * vc/ediff-wind.el: Adjust requires.
14272         (ediff-compute-toolbar-width): Define when compiling.
14273         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14274         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14275         (dired-get-filename, dired-get-marked-files)
14276         (ediff-last-dir-patch, ediff-patch-default-directory)
14277         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14278         (ediff-patch-buffer-internal): Declare.
14280         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14281         (ispell-process, ispell-buffer-local-words, lm-summary)
14282         (lm-section-start, lm-section-end): Declare.
14283         (checkdoc-ispell-init): Simplify.
14285         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14286         (he-string-member, he-reset-string, he-substitute-string): Declare.
14288         * eshell/em-ls.el: Adjust requires.
14289         (eshell-glob-regexp): Declare.
14290         * eshell/em-tramp.el: Adjust requires.
14291         (eshell-parse-command): Autoload.
14292         * eshell/em-xtra.el: Adjust requires.
14293         (eshell-parse-command): Autoload.
14294         * eshell/esh-ext.el: Adjust requires.
14295         (eshell-parse-command, eshell-close-handles): Autoload.
14296         * eshell/esh-io.el: Adjust requires.
14297         (eshell-output-filter): Autoload.
14298         * eshell/esh-util.el: No need to load tramp when compiling.
14299         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14300         Declare.
14301         (eshell-parse-ange-ls): Require ange-ftp and tramp.
14302         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14303         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14304         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14305         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14306         * eshell/esh-opt.el, eshell/esh-proc.el:
14307         * eshell/esh-var.el: Adjust requires.
14308         * eshell/eshell.el: Do not require esh-util twice.
14309         (eshell-add-input-to-history): Declare.
14310         (eshell-command): Check history module is active before using it.
14312         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14314 2013-05-22  Leo Liu  <sdl.web@gmail.com>
14316         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14318 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
14320         * autorevert.el (auto-revert-notify-add-watch)
14321         (auto-revert-notify-handler): Add `attrib' for the inotify case,
14322         it indicates changes in file modification time.
14324 2013-05-22  Glenn Morris  <rgm@gnu.org>
14326         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14327         Always delete the autoloaded function from the noruntime and
14328         unresolved functions lists.
14330         * allout.el: No need to load epa, epg, overlay when compiling.
14331         (epg-context-set-passphrase-callback, epg-list-keys)
14332         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14333         (epg-key-user-id-list): Declare.
14335         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14336         (viper-set-parsing-style-toggling-macro)
14337         (viper-set-emacs-state-searchstyle-macros):
14338         Use called-interactively-p on Emacs.
14339         (viper-looking-back): Make it an obsolete alias.  Update callers.
14340         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14341         Use looking-back rather than viper-looking-back.
14342         (viper-tmp-insert-at-eob, viper-enlarge-region)
14343         (viper-read-string-with-history, viper-register-to-point)
14344         (viper-append-to-register, viper-change-state-to-vi)
14345         (viper-backward-char-carefully, viper-forward-char-carefully)
14346         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14347         (viper-change-state-to-emacs): Declare.
14348         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14349         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14350         * emulation/viper-mous.el: Do not load viper-cmd.
14351         (viper-backward-char-carefully, viper-forward-char-carefully)
14352         (viper-forward-word, viper-adjust-window): Declare.
14354         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14356         * progmodes/idlw-help.el (idlwave-help-fontify):
14357         Use called-interactively-p.
14359         * term/w32console.el (w32-get-console-codepage)
14360         (w32-get-console-output-codepage): Declare.
14362         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14363         Remove unnecessary declarations.
14364         (dframe-message): Doc fix.
14366         * info.el (dframe-select-attached-frame, dframe-current-frame):
14367         Declare.
14369         * speedbar.el (speedbar-message): Make it an obsolete alias.
14370         Update all callers.
14371         (speedbar-with-attached-buffer)
14372         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14373         (speedbar-with-writable): Use backquote.
14374         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14375         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14376         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14377         rather than speedbar- aliases.
14378         * mail/rmail.el: Load dframe rather than speedbar when compiling.
14379         (speedbar-make-specialized-keymap, speedbar-insert-button)
14380         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14381         (speedbar-do-function-pointer): Declare.
14382         (rmail-speedbar-button, rmail-speedbar-find-file)
14383         (rmail-speedbar-move-message):
14384         Use dframe-with-attached-buffer rather than speedbar- alias.
14385         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14386         (dframe-message, speedbar-make-specialized-keymap)
14387         (speedbar-add-expansion-list, speedbar-mode-functions-list)
14388         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14389         (speedbar-insert-button, dframe-select-attached-frame)
14390         (dframe-maybee-jump-to-attached-frame)
14391         (speedbar-change-initial-expansion-list)
14392         (speedbar-previously-used-expansion-list-name): Declare.
14393         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14394         Use dframe-message, dframe-with-attached-buffer rather than
14395         speedbar- aliases.
14396         (gud-sentinel): Silence compiler.
14397         * progmodes/vhdl-mode.el (speedbar-refresh)
14398         (speedbar-do-function-pointer, speedbar-add-supported-extension)
14399         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14400         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14401         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14402         (speedbar-file-lists, speedbar-make-tag-line)
14403         (speedbar-line-directory, speedbar-goto-this-file)
14404         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14405         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14406         (speedbar-make-button, speedbar-reset-scanners)
14407         (speedbar-files-item-info, speedbar-line-text)
14408         (speedbar-find-file-in-frame, speedbar-set-timer)
14409         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14410         (speedbar-with-writable): Do not (re)define it.
14411         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14412         rather than speedbar- alias.
14414 2013-05-21  Leo Liu  <sdl.web@gmail.com>
14416         * progmodes/octave.el (octave-mode-menu): Update and re-organize
14417         menu items.
14418         (octave-mode): Tweak fill-nobreak-predicate.
14419         (inferior-octave-startup): Check process to avoid infinite loop.
14420         (inferior-octave): Pop to buffer first to show abornmal process
14421         exit information.
14423 2013-05-21  Glenn Morris  <rgm@gnu.org>
14425         * printing.el (pr-menu-bar): Define when compiling.
14427 2013-05-21  Leo Liu  <sdl.web@gmail.com>
14429         * progmodes/octave.el (octave-auto-fill): Remove.
14430         (octave-indent-new-comment-line): Improve.
14431         (octave-mode): Use auto fill mode through
14432         comment-line-break-function and fill-nobreak-predicate.
14433         (octave-goto-function-definition): Support DEFUN_DLD.
14434         (octave-beginning-of-defun): Small tweak.
14435         (octave-help): Show parent directory.
14437 2013-05-21  Glenn Morris  <rgm@gnu.org>
14439         * files.el (dired-unmark):
14440         * progmodes/gud.el (gdb-input): Update declarations.
14442         * calculator.el (electric, ehelp): No need to load when compiling.
14443         (Electric-command-loop, electric-describe-mode): Declare.
14445         * doc-view.el (doc-view-current-converter-processes): Move before use.
14447         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14448         Move MODE-set-explicitly definition before use.
14450         * international/mule-diag.el (mule-diag):
14451         Don't use obsolete window-system-version.
14453         * mail/feedmail.el (smtpmail): No need to load when compiling.
14454         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14456         * mail/mail-utils.el (rfc822): No need to load when compiling.
14457         (rfc822-addresses): Autoload it.
14458         (mail-strip-quoted-names): Trivial simplification.
14460         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14461         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14463         * net/snmp-mode.el (tempo): Don't duplicate requires.
14465         * progmodes/prolog.el (info): No need to load when compiling.
14466         (comint): Require before shell requires it.
14467         (Info-goto-node): Autoload it.
14468         (Info-follow-nearest-node): Declare.
14469         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14471         * textmodes/artist.el (picture-mode-exit): Declare.
14473         * textmodes/reftex-parse.el (reftex-parse-from-file):
14474         Trivial rewrite so the compiler can parse it better.
14476 2013-05-20  Leo Liu  <sdl.web@gmail.com>
14478         * progmodes/octave.el (octave-help-mode-map)
14479         (octave-help-mode-finish-hook): New variables.
14480         (octave-help-mode, octave-help-mode-finish): New functions.
14481         (octave-help): Use octave-help-mode.
14483 2013-05-20  Glenn Morris  <rgm@gnu.org>
14485         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
14487 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
14489         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14490         start at point, so that expansion starting right after opening
14491         slash in a regexp is recognized.
14492         (ruby-syntax-before-regexp-re): New defvar, extracted from
14493         ruby-syntax-propertize-function.  Since the value of this regexp
14494         is looked up at runtime now, we should be able to turn
14495         `ruby-syntax-methods-before-regexp' into a defcustom later.
14496         (ruby-syntax-propertize-function): Split regexp matching into two
14497         parts, for opening and closing slashes.  That allows us to skip
14498         over string interpolations and support multiline regexps.
14499         Don't call `ruby-syntax-propertize-expansions', instead use another rule
14500         for them, which calls `ruby-syntax-propertize-expansion'.
14501         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14502         call to `ruby-syntax-propertize-function'.
14503         (ruby-syntax-propertize-expansion): Extracted from
14504         `ruby-syntax-propertize-expansions'.  Handles one expansion.
14505         (ruby-syntax-propertize-percent-literal): Leave point right after
14506         the percent symbol, so that the expression expansion rule can
14507         propertize the contents.
14508         (ruby-syntax-propertize-heredoc): Leave point at bol following the
14509         heredoc openers.
14510         (ruby-syntax-propertize-expansions): Remove.
14512 2013-05-18  Juri Linkov  <juri@jurta.org>
14514         * man.el (Man-default-man-entry): Remove `-' from the end
14515         of the default value.  (Bug#14400)
14517 2013-05-18  Glenn Morris  <rgm@gnu.org>
14519         * comint.el (comint-password-prompt-regexp):
14520         Allow "password for XXX" where XXX contains colons (eg https://...).
14522 2013-05-18  Leo Liu  <sdl.web@gmail.com>
14524         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14525         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
14526         (octave-source-directories): Don't check process.
14527         (octave-source-directories, octave-find-definition): Doc fix.
14529 2013-05-18  Glenn Morris  <rgm@gnu.org>
14531         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14532         Remove backspace/delete bindings.  (Bug#14392)
14534         * cus-dep.el (custom-make-dependencies): Sort the output.
14535         (custom-versions-load-alist): Convert comment to doc.
14537 2013-05-17  Leo Liu  <sdl.web@gmail.com>
14539         * newcomment.el (comment-search-backward): Stricter in finding
14540         comment start.  (Bug#14303)
14542         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14543         (octave-comment-start-skip): Properly anchored.
14545 2013-05-17  Leo Liu  <sdl.web@gmail.com>
14547         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14548         Clean up when turned off.  (Bug#14395)
14549         (smie--highlight-matching-block-overlay): No longer buffer-local.
14550         (smie-highlight-matching-block): Adjust.
14552 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
14554         Doc string fix for "nanoseconds" (Bug#14406).
14555         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14556         Fix doc string typo that had "nanoseconds" instead of "microseconds".
14558 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
14560         * calc/calc-units.el (math-extract-units): Preserve powers
14561         of units.
14563 2013-05-17  Leo Liu  <sdl.web@gmail.com>
14565         * subr.el (delete-consecutive-dups): New function.
14566         * ido.el (ido-set-matches-1): Use it.
14567         * progmodes/octave.el (inferior-octave-completion-table): Use it.
14568         * ido.el (ido-remove-consecutive-dups): Remove.
14570 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14572         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14573         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14574         regexp-opt's `words'.
14576 2013-05-16  Leo Liu  <sdl.web@gmail.com>
14578         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14579         (smie--highlight-matching-block-overlay)
14580         (smie--highlight-matching-block-lastpos)
14581         (smie--highlight-matching-block-timer): New variables.
14582         (smie-highlight-matching-block): New function.
14583         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
14584         (smie-setup): Conditionally enable smie-blink-matching-open.
14586 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
14588         Sync with upstream verilog-mode r840.
14589         * progmodes/verilog-mode.el (verilog-mode-version)
14590         (verilog-mode-release-date): Update.
14591         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14592         (verilog-sig-tieoff): Fix string error on
14593         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
14594         (verilog-read-decls): Fix parameters confusing
14595         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
14597 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
14599         * subr.el (reveal-filename): New function.
14601         * loadup.el: Compute Emacs executable versions on MS-Windows,
14602         where executables have the .exe extension.  Add a hard link
14603         emacs-XX.YY.ZZ.exe on MS-Windows.
14605         * Makefile.in (XARGS_LIMIT): New variable.
14606         (custom-deps, finder-data, autoloads)
14607         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14608         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14609         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14610         (compile-main): Limit xargs according to $(XARGS_LIMIT).
14612 2013-05-16  Leo Liu  <sdl.web@gmail.com>
14614         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14615         (octave-mode-menu, octave-mode-map): Remove its uses.
14617 2013-05-16  Reto Zimmermann  <reto@gnu.org>
14619         Sync with upstream vhdl mode v3.34.2.
14620         * progmodes/vhdl-mode.el: Use `push' throughout.
14621         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14622         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14623         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
14624         (vhdl-actual-generic-name): New option to derive actual generic name.
14625         (vhdl-port-paste-signals): Replace formal by actual generics.
14626         (vhdl-beautify): New name for old group vhdl-align.  Update users.
14627         (vhdl-beautify-options): New option.
14628         (vhdl-last-input-event): New compat alias.  Use throughout.
14629         (vhdl-goto-line): Replace user level function `goto-line'.
14630         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14631         vhdl-fix-statement-buffer.
14632         (vhdl-create-mode-menu): Add some entries.
14633         (vhdl-align-region-groups): Respect vhdl-beautify-options.
14634         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14635         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14636         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14637         to force statements on one line.
14638         (vhdl-remove-trailing-spaces-region):
14639         New, split from vhdl-remove-trailing-spaces.
14640         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14641         Respect vhdl-beautify-options.
14642         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14643         (vhdl-update-sensitivity-list): Not add with index if exists without.
14644         Not include array index with signal.  Ignore keywords in comments.
14645         (vhdl-get-visible-signals): Regexp tweaks.
14646         (vhdl-template-component-inst): Handle empty library.
14647         (vhdl-template-type): Add template for 'enum' type.
14648         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14649         Use vhdl-replace-string.
14650         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14651         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14652         (vhdl-speedbar-initialize): Update for above name change.
14653         (vhdl-compose-wire-components): Fix in handling of constants.
14654         (vhdl-error-regexp-emacs-alist): New variable.
14655         (vhdl-error-regexp-add-emacs): New function;
14656         adds support for new compile.el (Emacs 22+)
14657         (vhdl-generate-makefile-1): Change target order for single lib. units.
14658         Allow use of absolute file names.
14660 2013-05-16  Leo Liu  <sdl.web@gmail.com>
14662         * simple.el (prog-indent-sexp): Indent enclosing defun.
14664 2013-05-15  Glenn Morris  <rgm@gnu.org>
14666         * cus-start.el (show-trailing-whitespace): Move to editing basics.
14667         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14668         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14669         (whitespace-highlight): Move to whitespace group.
14671         * comint.el (comint-source):
14672         * pcmpl-linux.el (pcmpl-linux):
14673         * shell.el (shell-faces):
14674         * eshell/esh-opt.el (eshell-opt):
14675         * international/ccl.el (ccl): Remove empty custom groups.
14677         * completion.el (dynamic-completion-mode):
14678         * jit-lock.el (jit-lock-debug-mode):
14679         * minibuffer.el (completion-in-region-mode):
14680         * type-break.el (type-break-mode-line-message-mode)
14681         (type-break-query-mode):
14682         * emulation/tpu-edt.el (tpu-edt-mode):
14683         * progmodes/subword.el (global-subword-mode, global-superword-mode):
14684         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14685         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14687         * term/xterm.el (xterm): Change parent group to terminals.
14689         * master.el (master): Remove empty custom group.
14690         (master-mode): Remove unused :group argument.
14691         * textmodes/refill.el (refill): Remove empty custom group.
14692         (refill-mode): Remove unused :group argument.
14694         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14696         * cus-dep.el: Provide a feature.
14697         (custom-make-dependencies): Ignore dotfiles (dir-locals).
14698         Don't mistakenly ignore files whose basenames match a basename
14699         from preloaded-file-list (eg cedet/ede/simple.el).
14700         Add a fallback method for getting :group.
14702 2013-05-15  Juri Linkov  <juri@jurta.org>
14704         * isearch.el (isearch-char-by-name): Rename from
14705         `isearch-insert-char-by-name'.  Doc fix.
14706         (isearch-forward): Mention `isearch-char-by-name' in
14707         the docstring.  (Bug#13348)
14709         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14710         `exit-minibuffer' instead of
14711         `isearch-nonincremental-exit-minibuffer'.
14712         (isearch-edit-string): Remove mention of
14713         `isearch-nonincremental-exit-minibuffer' from docstring.
14714         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14715         (isearch-forward-exit-minibuffer)
14716         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
14718 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14720         * loadup.el: Just use unversioned DOC.
14722         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14723         literals as extending to EOB.
14724         (nxml-last-fontify-end): Remove unused variable.
14725         (nxml-after-change1): Use with-silent-modifications.
14726         (nxml-extend-after-change-region): Simplify.
14727         (nxml-extend-after-change-region1): Remove function.
14728         (nxml-after-change1): Don't adjust for dependent regions.
14729         (nxml-fontify-matcher): Simplify.
14730         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14731         (xmltok-add-dependent): Remove function.
14732         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14733         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14734         (xmltok-scan-prolog-after-processing-instruction-open): Treat
14735         unclosed <[[, <?, comment, and other literals as extending to EOB.
14736         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14737         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14738         Remove functions.
14739         (rng-do-some-validation-1): Don't mark dependent regions.
14740         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14741         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14742         (nxml-clear-dependent-regions): Remove functions.
14743         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14744         (nxml-ensure-scan-up-to-date):
14745         Don't clear&mark dependent regions.
14747 2013-05-15  Leo Liu  <sdl.web@gmail.com>
14749         * progmodes/octave.el (octave-goto-function-definition):
14750         Improve and fix callers.
14752 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14754         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14755         the setter (bug#14387).
14757         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14758         surrounding group (bug#14402).
14760 2013-05-14  Juri Linkov  <juri@jurta.org>
14762         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14763         (Bug#14390)
14765 2013-05-14  Glenn Morris  <rgm@gnu.org>
14767         * progmodes/f90.el (f90-imenu-generic-expression):
14768         Fix typo in 2013-05-08 change.  (Bug#14402)
14770 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
14772         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14773         Remove signals for which replies are never received.
14775 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
14777         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14778         (gdb-handler-alist, gdb-handler-number): Remove variables.
14779         (gdb-handler-list): New variable.
14780         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14781         (gdb-pending-handler-p, gdb-handle-reply)
14782         (gdb-remove-all-pending-triggers): New functions.
14783         (gdb-discard-unordered-replies): New defcustom.
14784         (gdb-handler): New defstruct.
14785         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
14786         instead of gdb-pending-triggers.  Update docstring.
14787         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
14788         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14789         (gdb-var-update-handler, def-gdb-auto-update-trigger)
14790         (def-gdb-auto-update-handler, gdb-get-changed-registers)
14791         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14792         (gdb-frame-handler): Pending triggers are now automatically managed.
14793         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14794         Remove argument.
14795         (gdb-input): Automatically handles pending triggers.  Update docstring.
14796         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14797         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14798         Update comments.
14799         (gdb-done-or-error): Now use gdb-handle-reply.
14801 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
14803         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14804         gdb-debug-log.
14806 2013-05-14  Glenn Morris  <rgm@gnu.org>
14808         * subr.el (user-emacs-directory-warning): New option.
14809         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
14811 2013-05-14  Leo Liu  <sdl.web@gmail.com>
14813         * progmodes/octave.el (octave-font-lock-keywords): Fix error
14814         during redisplay.
14815         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14816         (octave-font-lock-texinfo-comment): Fix invalid search bound
14817         error: wrong side of point.
14819 2013-05-14  Glenn Morris  <rgm@gnu.org>
14821         * progmodes/flymake.el (flymake-xml-program): New option.
14822         (flymake-xml-init): Use it.
14824         * term/xterm.el: Provide a feature.
14826         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
14828 2013-05-13  Glenn Morris  <rgm@gnu.org>
14830         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14831         Add compat aliases as a hack workaround.  (Bug#14384)
14833 2013-05-13  Leo Liu  <sdl.web@gmail.com>
14835         * progmodes/octave.el (octave-indent-comment): Fix indentation for
14836         ###, and %!.
14837         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14838         C-M-q.
14839         (octave-comment-start-skip): Include %!.
14840         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14842 2013-05-12  Leo Liu  <sdl.web@gmail.com>
14844         * progmodes/octave.el (inferior-octave-startup): Store the value
14845         of __octave_srcdir__ for octave-source-directories.
14846         (inferior-octave-check-process): New function refactored out of
14847         inferior-octave-send-list-and-digest.
14848         (octave-source-directories)
14849         (octave-find-definition-filename-function): New variables.
14850         (octave-source-directories)
14851         (octave-find-definition-default-filename): New functions.
14852         (octave-find-definition): Improve to find functions implemented in C++.
14854 2013-05-12  Glenn Morris  <rgm@gnu.org>
14856         * calendar/diary-lib.el (diary-outlook-format-1):
14857         Don't include dayname in the output.  (Bug#14349)
14859 2013-05-11  Glenn Morris  <rgm@gnu.org>
14861         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14863         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14864         Treat cc-provide like provide.
14866 2013-05-11  Kevin Ryde  <user42@zip.com.au>
14868         * cus-dep.el (custom-make-dependencies):
14869         Use generated-autoload-load-name for the sake of files such
14870         such cedet/semantic/bovine/c.el, where the base file name
14871         is not in load-path.  (Bug#5277)
14873 2013-05-11  Glenn Morris  <rgm@gnu.org>
14875         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14876         Provide features.
14878 2013-05-11  Leo Liu  <sdl.web@gmail.com>
14880         * progmodes/octave.el (octave-indent-comment): Improve.
14881         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14882         (octave-eldoc-function-signatures, octave-eldoc-function):
14883         New functions.
14884         (octave-mode, inferior-octave-mode): Add eldoc support.
14886 2013-05-11  Richard Stallman  <rms@gnu.org>
14888         * epa.el (epa-decrypt-file): Take output file name as argument
14889         and read it using `interactive'.
14891 2013-05-11  Leo Liu  <sdl.web@gmail.com>
14893         * progmodes/octave.el (octave-beginning-of-line)
14894         (octave-end-of-line): Check before using up-list because it jumps
14895         out of more syntactic contructs since moving to smie.
14896         (octave-indent-comment): New function.
14897         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
14898         (octave-begin-keywords, octave-end-keywords)
14899         (octave-reserved-words, octave-smie-bnf-table)
14900         (octave-smie-rules): Add new keywords from Octave 3.6.4.
14902 2013-05-11  Glenn Morris  <rgm@gnu.org>
14904         * faces.el (internal-face-x-get-resource):
14905         * frame.el (ns-display-monitor-attributes-list):
14906         * calc/calc-aent.el (math-to-radians-2):
14907         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14908         Fix declarations.
14910         * calc/calc-menu.el: Make it loadable in isolation.
14912         * net/eudcb-bbdb.el: Make it loadable without bbdb.
14913         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14914         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14915         (eudc-bbdb-query-internal): Require 'bbdb.
14917         * lpr.el (lpr-headers-switches):
14918         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14920         * progmodes/sql.el (sql-login-params): Fix and improve :type.
14922         * emulation/edt-mapper.el: In batch mode, error rather than hang.
14924         * term.el (term-set-escape-char): Make it idempotent.
14926 2013-05-10  Leo Liu  <sdl.web@gmail.com>
14928         * progmodes/octave.el (inferior-octave-completion-table):
14929         No longer a function and all uses changed.  Use cache to speed up
14930         completion due to bug#11906.
14931         (octave-beginning-of-defun): Re-write to be more general.
14933 2013-05-10  Glenn Morris  <rgm@gnu.org>
14935         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14937 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14939         * comint.el (comint-redirect-send-command-to-process): Use :around
14940         rather than :override for comint-redirect-filter.
14941         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14942         Call it instead of comint-redirect-original-filter-function (which
14943         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
14945 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
14947         * frame.el (display-monitor-attributes-list): Add NS case.
14948         (ns-display-monitor-attributes-list): Declare.
14950 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
14952         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
14954 2013-05-09  Glenn Morris  <rgm@gnu.org>
14956         * international/fontset.el (vertical-centering-font-regexp):
14957         Set standard-value.
14959         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14961         * bookmark.el (bookmark-search-delay):
14962         * cus-start.el (vertical-centering-font-regexp):
14963         * ps-mule.el (ps-mule-font-info-database-default):
14964         * ps-print.el (ps-default-fg, ps-default-bg):
14965         * type-break.el (type-break-good-break-interval):
14966         * whitespace.el (whitespace-indentation-regexp)
14967         (whitespace-space-after-tab-regexp):
14968         * emacs-lisp/testcover.el (testcover-1value-functions)
14969         (testcover-noreturn-functions, testcover-progn-functions)
14970         (testcover-prog1-functions):
14971         * emulation/viper-init.el (viper-emacs-state-cursor-color):
14972         * eshell/em-glob.el (eshell-glob-translate-alist):
14973         * play/tetris.el (tetris-tty-colors):
14974         * progmodes/cpp.el (cpp-face-default-list):
14975         * progmodes/flymake.el (flymake-allowed-file-name-masks):
14976         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14977         (idlwave-help-browser-generic-args):
14978         * progmodes/make-mode.el (makefile-special-targets-list):
14979         * progmodes/python.el (python-shell-virtualenv-path):
14980         * progmodes/verilog-mode.el (verilog-active-low-regexp)
14981         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14982         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14983         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14984         * textmodes/reftex-vars.el (reftex-format-label-function):
14985         * textmodes/remember.el (remember-diary-file): Fix custom types.
14987         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14988         Add :version.
14990 2013-05-09  Leo Liu  <sdl.web@gmail.com>
14992         * progmodes/octave.el (inferior-octave-completion-at-point):
14993         Restore file completion.  (Bug#14300)
14994         (inferior-octave-startup): Fix incorrect highlighting for the
14995         first prompt.
14997 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14999         * progmodes/ruby-mode.el: First cut at SMIE support.
15000         (ruby-use-smie): New var.
15001         (ruby-smie-grammar): New constant.
15002         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15003         (ruby-smie--forward-token, ruby-smie--backward-token)
15004         (ruby-smie-rules): New functions.
15005         (ruby-mode-variables): Setup SMIE if applicable.
15007 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
15009         * simple.el (line-move-visual): Signal beginning/end of buffer
15010         only if vertical-motion moved less than it was requested.  Avoids
15011         silly incorrect error messages when there are display strings with
15012         multiple newlines at EOL.
15014 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15016         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15017         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15018         (prolog-char-quote-workaround):
15019         * progmodes/cperl-mode.el (cperl-under-as-char):
15020         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15021         Mark as obsolete.
15022         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15023         their declaration.
15024         (vhdl-mode-syntax-table-init): Remove.
15026         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15027         last change.
15029         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15030         syntax for "_".
15031         (ld-script-font-lock-keywords):
15032         Change regexps to use things like \_< and \_>.
15034         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15035         Change all regexps to use things like \_< and \_>.
15037         * progmodes/autoconf.el (autoconf-definition-regexp)
15038         (autoconf-font-lock-keywords, autoconf-current-defun-function):
15039         Handle a _ with symbol syntax.
15040         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15042         * progmodes/ada-mode.el (ada-mode-abbrev-table):
15043         Consolidate declaration.
15044         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15045         the declaration.
15046         (ada-create-syntax-table): Remove.
15047         (ada-capitalize-word): Don't mess with the syntax of "_" since it
15048         already has the right syntax nowadays.
15049         (ada-goto-next-word): Don't change the syntax of "_".
15051         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15052         with-wrapper-hook.
15054 2013-05-08  Sam Steingold  <sds@gnu.org>
15056         * thingatpt.el (thing-at-point): Accept optional second argument
15057         NO-PROPERTIES to strip the text properties from the return value.
15058         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15059         to `thing-at-point' instead of stripping the properties ourselves.
15060         Also, when `thing-at-point' fails to find a url, prepend "http://"
15061         to the filename at point on the assumption that the user is
15062         pointing at something like gnu.org/gnu.
15064 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
15066         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15067         * faces.el (crm-separator):
15068         Silence byte-compiler.
15070         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15071         (tool-bar-map): Remove unneeded defvars.
15073 2013-05-08  Leo Liu  <sdl.web@gmail.com>
15075         Re-work a fix for bug#10994 based on Le Wang's patch.
15076         * ido.el (ido-remove-consecutive-dups): New helper.
15077         (ido-completing-read): Use it.
15078         (ido-chop): Revert fix for bug#10994.
15080 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
15082         * cus-edit.el (custom-save-variables):
15083         Pretty-print long values.  (Bug#14187)
15085 2013-05-08  Glenn Morris  <rgm@gnu.org>
15087         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15088         (m4-mode-syntax-table): Init in the defvar.
15089         (m4-mode-abbrev-table): Let define-derived-mode define it.
15091 2013-05-08  Tom Tromey  <tromey@redhat.com>
15093         * progmodes/m4-mode.el (m4-mode-syntax-table):
15094         Do not treat "_" as word constituent.  (Bug#14167)
15096 2013-05-07  Glenn Morris  <rgm@gnu.org>
15098         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15099         Remove explicit eshell-isearch-cancel-map.
15101         * progmodes/f90.el (f90-smart-end-names): New option.
15102         (f90-smart-end): Doc fix.
15103         (f90-end-block-optional-name): New constant.
15104         (f90-block-match): Respect f90-smart-end-names.
15106 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15108         * progmodes/octave.el (octave-smie-forward-token): Be more careful
15109         about implicit semi-colons (bug#14218).
15111 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15113         * frame.el (display-monitor-attributes-list)
15114         (frame-monitor-attributes): New functions.
15116 2013-05-06  Leo Liu  <sdl.web@gmail.com>
15118         * progmodes/octave.el (octave-syntax-propertize-function): Change
15119         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
15120         (octave-font-lock-keywords): Use octave-operator-regexp.
15121         (octave-completion-at-point): Rename from
15122         octave-completion-at-point-function.
15123         (inferior-octave-directory-tracker): Robustify.
15124         (octave-text-functions): Remove and fix its uses.  No such things
15125         any more.
15127 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15129         * emacs-lisp/trace.el (trace--display-buffer): New function.
15130         (trace-make-advice): Use it.
15132 2013-05-06  Juri Linkov  <juri@jurta.org>
15134         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
15135         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15136         Doc fix.
15137         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15138         in the help string.  (Bug#12985)
15140 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
15142         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
15144 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15146         * progmodes/perl-mode.el: Add support for here documents.
15147         (perl-syntax-propertize-function): Match here-doc markers.
15148         (perl-syntax-propertize-special-constructs): Find their end.
15149         (perl-imenu-generic-expression): Use [:alnum:].
15151         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15152         (advice--add-function): Refresh the advice if already present
15153         (bug#14317).
15155 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
15157         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
15159 2013-05-06  Glenn Morris  <rgm@gnu.org>
15161         * w32-fns.el (w32-charset-info-alist): Declare.
15163         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15164         of its defcustom properties.
15165         (eshell-cmpl-initialize): No need to load pcomplete.
15167         * generic-x.el: No need to require comint when compiling.
15169         * net/eudc-export.el: Make it loadable without bbdb.
15170         (top-level): Use require rather than load-library.
15171         (eudc-create-bbdb-record, eudc-bbdbify-phone)
15172         (eudc-batch-export-records-to-bbdb)
15173         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15174         Require bbdb.
15176 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15178         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15179         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15180         some tweaks, instead.
15182 2013-05-05  Leo Liu  <sdl.web@gmail.com>
15184         * progmodes/octave.el (octave-font-lock-keywords)
15185         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15186         (inferior-octave-send-list-and-digest): Improve error message.
15187         (octave-mode, inferior-octave-mode): Use setq-local.
15188         (octave-help): Set info-lookup-mode.
15190 2013-05-05  Richard Stallman  <rms@gnu.org>
15192         * vc/compare-w.el (compare-windows-whitespace):
15193         Treat no-break space as whitespace.
15195         * mail/rmailsum.el (rmail-summary-rmail-update):
15196         Detect empty summary and don't change selected message.
15197         (rmail-summary-goto-msg): Likewise.
15199         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15200         Doc fixes, rename args.
15202 2013-05-05  Alan Mackenzie  <acm@muc.de>
15204         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15206 2013-05-05  Juri Linkov  <juri@jurta.org>
15208         * info.el (Info-read-subfile): Use (point-min) instead of (point)
15209         to not add the length of the summary segment to the return value.
15210         (Bug#14125)
15212 2013-05-05  Leo Liu  <sdl.web@gmail.com>
15214         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15215         (inferior-octave-output-filter): Remove.
15216         (octave-send-region, inferior-octave-startup): Fix callers.
15217         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15218         (octave-binary-file-extensions): New user variable.
15219         (octave-find-definition): Confirm if opening binary files.
15220         (octave-help-file): Use octave-find-definition to get the binary
15221         confirmation.
15222         (octave-help): Adjust for octave-help-file change.
15224 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15226         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15227         Merge the two entries that handle function definitions.
15228         (pascal--syntax-propertize): New const.
15229         (pascal-mode): Use it.  Use setq-local.
15231 2013-05-04  Glenn Morris  <rgm@gnu.org>
15233         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15234         (diary-from-outlook): Respect diary-from-outlook-function.
15236 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15238         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15239         Move the declaration from C.
15240         (read-minibuffer, eval-minibuffer): Move from C.
15241         (completion-setup-function): Avoid minibuffer-completion-contents.
15243 2013-05-03  Leo Liu  <sdl.web@gmail.com>
15245         * progmodes/octave.el (octave-font-lock-keywords): Do not
15246         dehighlight 'end' in comments or strings.
15247         (octave-completing-read, octave-goto-function-definition):
15248         New helpers.
15249         (octave-help-buffer): New user variable.
15250         (octave-help-file, octave-help-function): New button types.
15251         (octave-help): New command and bind it to C-h ;.
15252         (octave-find-definition): New command and bind it to M-.
15253         (user-error): Alias to error if not defined.
15255 2013-05-02  Leo Liu  <sdl.web@gmail.com>
15257         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15258         for \.  (bug#14332)
15259         (octave-font-lock-keywords): Include [ and {.
15261 2013-05-02  Leo Liu  <sdl.web@gmail.com>
15263         * progmodes/octave.el (inferior-octave-startup-file): Change default.
15264         (inferior-octave): Remove calling comint-mode and return the buffer.
15265         (inferior-octave-startup): Cosmetic changes.
15267 2013-05-02  Leo Liu  <sdl.web@gmail.com>
15269         * progmodes/octave.el (octave-syntax-propertize-function):
15270         Include the case when ' is at line beginning.  (Bug#14336)
15272 2013-05-02  Glenn Morris  <rgm@gnu.org>
15274         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15275         * desktop.el (vc-dir-mode): Just autoload it here.
15277 2013-05-02  Alan Mackenzie  <acm@muc.de>
15279         Eliminate variable c-standard-font-lock-fontify-region-function.
15280         * progmodes/cc-mode.el
15281         (c-standard-font-lock-fontify-region-function): Remove.
15282         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15284 2013-05-01  Leo Liu  <sdl.web@gmail.com>
15286         * progmodes/octave.el: Compatible with older emacs-24 releases.
15287         (inferior-octave-has-built-in-variables): Remove.  Built-in
15288         variables were removed from Octave in 2007.
15289         (inferior-octave-startup): Fix uses.
15290         (comint-line-beginning-position): Remove compatibility code for
15291         emacs 21.
15293 2013-05-01  Juri Linkov  <juri@jurta.org>
15295         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
15297 2013-05-01  Juri Linkov  <juri@jurta.org>
15299         * comint.el (comint-previous-matching-input): Don't print message
15300         "History item: %d" when `isearch-mode' is active.
15301         (comint-history-isearch-message): Print message "History item: %d"
15302         when `comint-input-ring-index' is not empty and this function is
15303         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
15305 2013-05-01  Leo Liu  <sdl.web@gmail.com>
15307         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15308         definitions.  Use completion-at-point to insert keywords.
15309         (octave-abbrev-start): Remove.
15310         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15312 2013-04-30  Leo Liu  <sdl.web@gmail.com>
15314         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15315         change.
15317 2013-04-30  Alan Mackenzie  <acm@muc.de>
15319         Handle arbitrarily long C++ member initialisation lists.
15320         * progmodes/cc-engine.el (c-back-over-member-initializers):
15321         new function.
15322         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15323         (most) member init lists.
15325 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15327         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15328         variable.
15330 2013-04-30  Leo Liu  <sdl.web@gmail.com>
15332         * progmodes/octave.el (octave-variables): Remove.  No builtin
15333         variables any more.  All converted to functions.
15334         (octave-font-lock-keywords, octave-completion-at-point-function):
15335         Fix uses.
15336         (octave-font-lock-texinfo-comment): New user variable.
15337         (octave-texinfo-font-lock-keywords): New variable for texinfo
15338         comment block.
15339         (octave-function-comment-block): New face.
15340         (octave-font-lock-texinfo-comment): New function.
15341         (octave-mode): Font lock texinfo comment block.
15343 2013-04-29  Leo Liu  <sdl.web@gmail.com>
15345         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15346         indexing expression.
15347         (octave-continuation-string): Do not use \.
15348         (inferior-octave-complete-impossible): Remove.
15349         (inferior-octave-completion-table)
15350         (inferior-octave-completion-at-point): Remove its uses.
15351         (inferior-octave-startup): completion_matches was introduced to
15352         Octave in 1996 so safe to assume it.
15353         (octave-function-file-comment): Improve to follow how Octave does it.
15354         (octave-update-function-file-comment): Tweak.
15356 2013-04-29  Leo Liu  <sdl.web@gmail.com>
15358         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15359         (inferior-octave-startup): Remove inferior-octave-startup-hook.
15360         (octave-function-file-comment): Fix typo.
15361         (octave-sync-function-file-names): Use read-char-choice.
15363 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
15365         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15366         to t for the less important warnings.
15368 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
15370         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
15372 2013-04-27  Glenn Morris  <rgm@gnu.org>
15374         * vc/log-view.el (log-view-current-entry):
15375         Treat "---" separator lines as part of the following rev.  (Bug#14169)
15377 2013-04-27  Juri Linkov  <juri@jurta.org>
15379         * subr.el (read-number): Doc fix about using it by interactive
15380         code letter `n'.  (Bug#14254)
15382 2013-04-27  Juri Linkov  <juri@jurta.org>
15384         * desktop.el (desktop-auto-save-timeout): New option.
15385         (desktop-file-checksum): New variable.
15386         (desktop-save): Add optional arg `auto-save' and don't auto-save
15387         if nothing changed.
15388         (desktop-auto-save-timer): New variable.
15389         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15390         (after-init-hook): Call `desktop-auto-save-set-timer'.
15391         Suggested by Reuben Thomas <rrt@sc3d.org> in
15392         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15394 2013-04-27  Leo Liu  <sdl.web@gmail.com>
15396         * progmodes/octave.el (octave-function-file-p)
15397         (octave-skip-comment-forward, octave-function-file-comment)
15398         (octave-update-function-file-comment): New functions.
15399         (octave-mode-map): Bind C-c ; to
15400         octave-update-function-file-comment.
15401         (octave-mode-menu): Add octave-update-function-file-comment.
15402         (octave-mode, inferior-octave-mode): Fix doc-string.
15403         (octave-insert-defun): Conform to Octave's coding convention.
15404         (Bug#14285)
15406         * files.el (basic-save-buffer): Don't let errors in
15407         before-save-hook prevent saving buffer.
15409 2013-04-20  Roland Winkler  <winkler@gnu.org>
15411         * faces.el (read-face-name): Use completing-read if arg multiple
15412         is nil.
15414 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
15416         * ls-lisp.el (ls-lisp-insert-directory): If no files are
15417         displayed, move point to after the totals line.
15418         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15419         for the details.
15421 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15423         * emacs-lisp/package.el (package-autoload-ensure-default-file):
15424         Add current dir to the load-path.
15425         (package-generate-autoloads): Don't rely on
15426         autoload-ensure-default-file.
15428 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
15430         * textmodes/remember.el (remember-store-in-files): Document that
15431         the file name format is passed to `format-time-string'.
15433 2013-04-26  Leo Liu  <sdl.web@gmail.com>
15435         * progmodes/octave.el (octave-sync-function-file-names): New function.
15436         (octave-mode): Use it in before-save-hook.
15438 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15440         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15441         (bug#14274).
15443         * progmodes/octave.el (octave-smie-forward-token): Properly skip
15444         \n and comment, even if it's not an implicit ; (bug#14218).
15446 2013-04-26  Glenn Morris  <rgm@gnu.org>
15448         * subr.el (read-number): Once more use `read' rather than
15449         `string-to-number', to trap non-numeric input.  (Bug#14254)
15451 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
15453         * emacs-lisp/syntax.el (syntax-propertize-multiline):
15454         Use `syntax-multiline' text property consistently instead of
15455         `font-lock-multiline'.  (Bug#14237)
15457 2013-04-26  Glenn Morris  <rgm@gnu.org>
15459         * emacs-lisp/shadow.el (list-load-path-shadows):
15460         No longer necessary to check for duplicate simple.el, since
15461         2012-07-07 change to init_lread to not include installation lisp
15462         directories in load-path when running uninstalled.  (Bug#14270)
15464 2013-04-26  Leo Liu  <sdl.web@gmail.com>
15466         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15467         (octave-mode, inferior-octave-mode): Use setq-local.
15468         (octave-not-in-string-or-comment-p): Rename to
15469         octave-in-string-or-comment-p.
15470         (octave-in-comment-p, octave-in-string-p)
15471         (octave-in-string-or-comment-p): Replace defsubst with defun.
15473 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
15475         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15477 2013-04-25  Bastien Guerry  <bzg@gnu.org>
15479         * textmodes/remember.el (remember-data-directory)
15480         (remember-directory-file-name-format): Fix custom types.
15482 2013-04-25  Leo Liu  <sdl.web@gmail.com>
15484         * progmodes/octave.el (octave-completion-at-point-function):
15485         Make use of inferior octave process.
15486         (octave-initialize-completions): Remove.
15487         (inferior-octave-completion-table): New function.
15488         (inferior-octave-completion-at-point): Use it.
15489         (octave-completion-alist): Remove.
15491 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15493         * progmodes/opascal.el: Use font-lock and syntax-propertize.
15494         (opascal-mode-syntax-table): New var.
15495         (opascal-literal-kind, opascal-is-literal-end)
15496         (opascal-literal-token-at): Rewrite.
15497         (opascal--literal-start-re, opascal-font-lock-keywords)
15498         (opascal--syntax-propertize): New constants.
15499         (opascal-font-lock-defaults): Adjust.
15500         (opascal-mode): Use them.  Set comment-<foo> variables as well.
15501         (delphi-comment-face, opascal-comment-face, delphi-string-face)
15502         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15503         (delphi-other-face, opascal-other-face): Remove face variables.
15504         (opascal-save-state): Remove macro.
15505         (opascal-fontifying-progress-step): Remove constant.
15506         (opascal--ignore-changes): Remove var.
15507         (opascal-set-token-property, opascal-parse-next-literal)
15508         (opascal-is-stable-literal, opascal-complete-literal)
15509         (opascal-is-literal-start, opascal-face-of)
15510         (opascal-parse-region, opascal-parse-region-until-stable)
15511         (opascal-fontify-region, opascal-after-change)
15512         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15513         (opascal-debug-parse-region, opascal-debug-parse-window)
15514         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15515         (opascal-debug-fontify-buffer): Remove.
15516         (opascal-debug-mode-map): Adjust accordingly.
15518 2013-04-25  Leo Liu  <sdl.web@gmail.com>
15520         Merge octave-mod.el and octave-inf.el into octave.el with some
15521         cleanups.
15522         * progmodes/octave.el: New file renamed from octave-mod.el.
15523         * progmodes/octave-inf.el: Merged into octave.el.
15524         * progmodes/octave-mod.el: Renamed to octave.el.
15526 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
15528         * textmodes/reftex-vars.el
15529         (reftex-label-ignored-macros-and-environments): New defcustom.
15531         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15533 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15535         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15536         (smie-indent-keyword): Improve the check to ensure that the next
15537         comment is really on the same line.
15538         (smie-indent-comment): Don't align with a subsequent closer (or eob).
15540         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15541         semi-colons if the line is not otherwise empty (bug#14218).
15543 2013-04-25  Glenn Morris  <rgm@gnu.org>
15545         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15547 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15549         * progmodes/opascal.el (opascal-set-token-property): Rename from
15550         opascal-set-text-properties and only set `token' (bug#14134).
15551         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15552         (opascal-literal-text-properties): Remove.
15553         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15554         Adjust callers.
15556 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
15558         * textmodes/remember.el (remember-handler-functions): Add an
15559         option for a new handler `remember-store-in-files'.
15560         (remember-data-directory, remember-directory-file-name-format):
15561         New options.
15562         (remember-store-in-files): New function to store remember notes
15563         as separate files within a directory.
15565 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
15567         * progmodes/compile.el (compilation-next-error-function):
15568         Pass "formats" to compilation-find-file (bug#11777).
15570 2013-04-24  Glenn Morris  <rgm@gnu.org>
15572         * vc/vc-bzr.el (vc-bzr-print-log):
15573         * vc/vc-hg.el (vc-hg-print-log):
15574         * vc/vc-svn.el (vc-svn-print-log):
15575         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
15577         * vc/vc-bzr.el (vc-bzr-print-log):
15578         * vc/vc-cvs.el (vc-cvs-print-log):
15579         * vc/vc-git.el (vc-git-print-log):
15580         * vc/vc-hg.el (vc-hg-print-log):
15581         * vc/vc-mtn.el (vc-mtn-print-log):
15582         * vc/vc-rcs.el (vc-rcs-print-log):
15583         * vc/vc-sccs.el (vc-sccs-print-log):
15584         * vc/vc-svn.el (vc-svn-print-log):
15585         * vc/vc.el (vc-print-log-internal): Doc fixes.
15587 2013-04-23  Glenn Morris  <rgm@gnu.org>
15589         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15590         Remove venerable code attempting to avoid substitute-command-keys.
15592 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
15594         * textmodes/reftex-vars.el (reftex-label-regexps):
15595         Call `reftex-compile-variables' after changes to this variable.
15597 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15599         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15600         Use lexical-binding.
15601         (jit-lock-force-redisplay): Use markers, check buffer's continued
15602         existence and beware narrowed buffers.
15603         (jit-lock-fontify-now): Adjust call accordingly.
15605 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15607         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15608         to avoid misleading the user.
15610 2013-04-22  Leo Liu  <sdl.web@gmail.com>
15612         * info-look.el: Prefer latex2e.info.  (Bug#14240)
15614 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
15616         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
15618         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15619         * net/tramp.el (tramp-call-process): ... here.
15620         (tramp-set-completion-function, tramp-parse-putty):
15621         * net/tramp-adb.el (tramp-adb-execute-adb-command):
15622         * net/tramp-gvfs.el (tramp-gvfs-send-command):
15623         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15624         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15625         (tramp-call-local-coding-command): Use `tramp-call-process'
15626         instead of `tramp-compat-call-process'.
15628         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15629         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15630         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15631         (tramp-find-inline-compress): Improve traces.
15632         (tramp-maybe-send-script): Check for Perl binary.
15633         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15635 2013-04-22  Daiki Ueno  <ueno@gnu.org>
15637         * epg.el (epg-context-pinentry-mode): New function.
15638         (epg-context-set-pinentry-mode): New function.
15639         (epg--start): Pass --pinentry-mode option to gpg command.
15641 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
15643         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15644         `comint-dynamic-complete' is obsolete since 24.1, replaced by
15645         `completion-at-point'.  (Bug#13774)
15647         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15648         default key binding for `describe-distribution' has been moved to
15649         `C-h C-o'.  (Bug#13970)
15651 2013-04-21  Glenn Morris  <rgm@gnu.org>
15653         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15654         Add doc strings.
15655         (vc-print-log): Clarify interactive prompt.
15657 2013-04-20  Glenn Morris  <rgm@gnu.org>
15659         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15660         No longer include timestamp etc information.
15662 2013-04-20  Roland Winkler  <winkler@gnu.org>
15664         * faces.el (read-face-name): Bug fix, return just one face if arg
15665         multiple is nil.  (Bug#14209)
15667 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15669         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15670         (remove-function): Autoload.
15672         * comint.el (comint-redirect-original-filter-function): Remove.
15673         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15674         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15675         (vc-cvs-annotate-command):
15676         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15677         * progmodes/prolog.el (prolog-consult-compile):
15678         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15679         Use add/remove-function instead.
15680         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15681         (gud-tooltip-process-output, gud-tooltip-tips):
15682         Use add/remove-function instead.
15683         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15684         (scheme-interaction-mode, exit-scheme-interaction-mode):
15685         Use add/remove-function instead.
15687         * vc/vc-dispatcher.el: Use lexical-binding.
15688         (vc--process-sentinel): Rename from vc-process-sentinel.
15689         Change last arg to be the code to run.  Don't use vc-previous-sentinel
15690         and vc-sentinel-commands any more.
15691         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
15692         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15694 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
15696         * progmodes/sh-script.el (sh-imenu-generic-expression):
15697         Handle function names with a single character.  (Bug#14111)
15699 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
15701         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15702         for subroutines defined in an eval (bug#14182).
15704 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15706         * bookmark.el (bookmark-completing-read): Improve handling of empty
15707         string (bug#14176).
15709 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15711         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15713 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15715         New faster Imenu implementation (bug#14058).
15716         * progmodes/python.el:
15717         (python-imenu-prev-index-position):
15718         (python-imenu-format-item-label-function)
15719         (python-imenu-format-parent-item-label-function)
15720         (python-imenu-format-parent-item-jump-label-function):
15721         New vars.
15722         (python-imenu-format-item-label)
15723         (python-imenu-format-parent-item-label)
15724         (python-imenu-format-parent-item-jump-label)
15725         (python-imenu--put-parent, python-imenu--build-tree)
15726         (python-imenu-create-index, python-imenu-create-flat-index)
15727         (python-util-popn): New functions.
15728         (python-mode): Set imenu-create-index-function to
15729         python-imenu-create-index.
15731 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15733         * winner.el (winner-active-region): Use region-active-p, activate-mark
15734         and deactivate-mark (bug#14225).
15736         * simple.el (deactivate-mark): Don't inline it.
15738 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
15740         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15742 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
15744         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15745         file extensions from the archive-mode entry in order to prefer
15746         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15748 2013-04-18  Leo Liu  <sdl.web@gmail.com>
15750         * bindings.el (help-event-list): Add ?\?.
15752 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15754         * subr.el (with-wrapper-hook): Declare obsolete.
15755         * simple.el (filter-buffer-substring-function): New hook.
15756         (filter-buffer-substring): Use it.
15757         (filter-buffer-substring-functions): Mark obsolete.
15758         * minibuffer.el (completion-in-region-function): New hook.
15759         (completion-in-region): Use it.
15760         (completion-in-region-functions): Mark obsolete.
15761         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15762         * abbrev.el (abbrev-expand-function): New hook.
15763         (expand-abbrev): Use it.
15764         (abbrev-expand-functions): Mark obsolete.
15765         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15766         and :filter-return.
15768 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15770         * progmodes/python.el (python-nav--syntactically): Fix cornercases
15771         and do not care about match data.
15773 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15775         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15776         completion tables when completing error conditions and
15777         `declare' arguments.
15778         (lisp-complete-symbol, field-complete): Mark as obsolete.
15779         (check-parens): Unmatched parens are user errors.
15780         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15782 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
15784         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15785         command changed buffer (ie. `flyspell-pre-buffer' is not current
15786         buffer), which prevents making decisions based on invalid value of
15787         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
15788         cause an error when `flyspell-pre-point' was nil after switching
15789         buffers.
15790         (flyspell-post-command-hook): No longer needs to change buffers when
15791         checking pre-word.  While at it remove unnecessary progn.
15793 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
15795         * textmodes/ispell.el (ispell-add-per-file-word-list):
15796         Fix `flyspell-correct-word-before-point' error when accepting
15797         words and `coment-padding' is an integer by using
15798         `comment-normalize-vars' (Bug #14214).
15800 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15802         New defun movement commands.
15803         * progmodes/python.el (python-nav--syntactically)
15804         (python-nav--forward-defun, python-nav-backward-defun)
15805         (python-nav-forward-defun): New functions.
15807 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15809         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15810         (python-syntax-context): Use named compiler-macro for backwards
15811         compatibility with Emacs 24.x.
15813 2013-04-17  Leo Liu  <sdl.web@gmail.com>
15815         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15816         octave-hide-process-buffer.
15818 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15820         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15821         (bug#14216).
15823 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
15825         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15826         Fix adjustment of offset when receiving incomplete responses from GDB
15827         (bug#14129).
15829 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15831         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15832         python-mode-abbrev-table.
15833         (python-skeleton-define): Adjust accordingly.
15834         (python-mode-abbrev-table): New table that inherits from it so that
15835         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15837         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15838         (abbrev-symbol): Use it.
15839         (abbrev--before-point): Use it since we already handle inheritance.
15841 2013-04-16  Leo Liu  <sdl.web@gmail.com>
15843         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15844         binding to info-lookup-symbol.
15846 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
15848         * minibuffer.el (completion--twq-all):
15849         * term/ns-win.el (ns-initialize-window-system):
15850         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15852 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15854         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15855         global bindings.
15857         * doc-view.el (doc-view-start-process): Handle url-handler directories.
15859 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
15861         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15862         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15863         to nil.
15864         (ruby-end-of-defun): Remove the unused arg, change the docstring
15865         to reflect that this function is only used as the value of
15866         `end-of-defun-function'.
15867         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15868         to reflect an earlier change that beginning/end-of-defun functions
15869         jump between methods in a class definition, as well as top-level
15870         functions.
15872 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15874         * minibuffer.el (minibuffer-complete): Don't just scroll
15875         a *Completions* that's been iconified.
15876         (minibuffer-force-complete): Make sure repetitions do cycle when going
15877         through completion-in-region -> minibuffer-complete.
15879 2013-04-15  Alan Mackenzie  <acm@muc.de>
15881         Correct the placement of c-cpp-delimiters when there're #s not at
15882         col 0.
15884         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15885         place a submatch around the #.
15886         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15887         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
15888         on the #, not BOL.
15890 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15892         * emacs-lisp/nadvice.el: Properly test names when adding advice.
15893         (advice--member-p): New arg `name'.
15894         (advice--add-function, advice-member-p): Use it (bug#14202).
15896 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
15898         Reformulate java imenu-generic-expression.
15899         The old expression contained ill formed regexps.
15901         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15902         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15903         (cc-imenu-java-method-arg-regexp): New defconsts.
15904         (cc-imenu-java-build-type-args-regex): New defun.
15905         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15906         handling of spaces in the regexp.
15908 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
15910         * textmodes/ispell.el (ispell-command-loop): Remove
15911         flyspell highlight of a word when ispell accepts it (bug #14178).
15913 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
15915         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15916         uses code from the previous `ange-ftp-run-real-handler'.
15917         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15918         only in case that function exist.  This is needed for proper
15919         unloading of Tramp.
15921 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
15923         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15925         * textmodes/reftex.el (reftex-compile-variables): Use it.
15927 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15929         * files.el (normal-mode): Only use default major-mode if no other mode
15930         was specified.
15932         * emacs-lisp/trace.el (trace-values): New function.
15934         * files.el: Allow : in local variables (bug#14089).
15935         (hack-local-variable-regexp): New var.
15936         (hack-local-variables-prop-line, hack-local-variables): Use it.
15938 2013-04-13  Roland Winkler  <winkler@gnu.org>
15940         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
15941         data before it gets modified by bibtex-beginning-of-entry.
15943 2013-04-13  Roland Winkler  <winkler@gnu.org>
15945         * textmodes/bibtex.el (bibtex-url): Doc fix.
15947 2013-04-13  Roland Winkler  <winkler@gnu.org>
15949         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15950         does not visit a BibTeX file, exclude it from the list of buffers
15951         returned by bibtex-initialize.
15953 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
15955         * window.el (split-window): Remove interactive form, since as a
15956         command this function is a special case of split-window-below.
15957         Correct doc string.
15959 2013-04-12  Roland Winkler  <winkler@gnu.org>
15961         * faces.el (read-face-name): Do not override value of arg default.
15962         Allow single faces and strings as default values.  Remove those
15963         elements from return value that are not faces.
15964         (describe-face): Simplify.
15965         (face-at-point): New optional args thing and multiple so that this
15966         function can provide the same functionality previously provided by
15967         read-face-name.
15968         (make-face-bold, make-face-unbold, make-face-italic)
15969         (make-face-unitalic, make-face-bold-italic, invert-face)
15970         (modify-face, read-face-and-attribute): Use face-at-point.
15972         * cus-edit.el (customize-face, customize-face-other-window)
15973         * cus-theme.el (custom-theme-add-face)
15974         * face-remap.el (buffer-face-set)
15975         * facemenu.el (facemenu-set-face): Use face-at-point.
15977 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
15979         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15981 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
15983         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15984         off leading { and trailing } from field values.
15986 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15988         * emacs-lisp/timer.el (timer--check): New function.
15989         (timer--time, timer-set-function, timer-event-handler): Use it.
15990         (timer-set-idle-time): Simplify.
15991         (timer--activate): CSE.
15992         (timer-event-handler): Give more info in error message.
15993         (internal-timer-start-idle): New function, moved from C.
15995         * mpc.el (mpc-proc): Add `restart' argument.
15996         (mpc-proc-cmd): Use it.
15997         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15998         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15999         less often.
16001 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
16003         * progmodes/sh-script.el: Implement `sh-mode' own
16004         `add-log-current-defun-function' (bug#14112).
16005         (sh-current-defun-name): New function.
16006         (sh-mode): Use the function.
16008 2013-04-09  Bastien Guerry  <bzg@gnu.org>
16010         * simple.el (choose-completion-string): Fix docstring (bug#14163).
16012 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16014         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16016         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16017         timer (bug#14156).
16019 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
16021         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16022         declaration.
16024 2013-04-07  Leo Liu  <sdl.web@gmail.com>
16026         * pcmpl-x.el: New file.
16028 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
16030         Do not set x-display-name until X connection is established.
16031         This is needed to prevent from weird situation described at
16032         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16033         * frame.el (make-frame): Set x-display-name after call to
16034         window system initialization function, not before.
16035         * term/x-win.el (x-initialize-window-system): Add optional
16036         display argument and use it.
16037         * term/w32-win.el (w32-initialize-window-system):
16038         * term/ns-win.el (ns-initialize-window-system):
16039         * term/pc-win.el (msdos-initialize-window-system):
16040         Add compatible optional display argument.
16042 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
16044         * files.el (normal-backup-enable-predicate): On MS-Windows and
16045         MS-DOS compare truenames of temporary-file-directory and of the
16046         file, so that 8+3 aliases (usually found in $TEMP on Windows)
16047         don't fail comparison by compare-strings.  Also, compare file
16048         names case-insensitively on MS-Windows and MS-DOS.
16050 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16052         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16053         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16055 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
16057         * whitespace.el (whitespace-color-on, whitespace-color-off):
16058         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16060 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
16062         * ispell.el (ispell-set-spellchecker-params):
16063         Really set `ispell-args' for all equivs.
16065 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16067         * ido.el (ido-completions): Use extra elements of ido-decorations
16068         (bug#14143).
16069         (ido-decorations): Update docstring.
16071 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
16073         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16074         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16075         nil during initialization, in order not to miss changes since the
16076         file was opened.  (Bug#14140)
16078 2013-04-05  Leo Liu  <sdl.web@gmail.com>
16080         * kmacro.el (kmacro-call-macro): Fix bug#14135.
16082 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
16084         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16086 2013-04-04  Glenn Morris  <rgm@gnu.org>
16088         * electric.el (electric-pair-inhibit-predicate): Add :version.
16090 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16092         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16093         when a package is required several times (bug#14082).
16095 2013-04-04  Roland Winkler  <winkler@gnu.org>
16097         * faces.el (read-face-name): Behave as promised by the docstring.
16098         Assume that arg default is a list of faces.
16099         (describe-face): Call read-face-name with list of default faces.
16101 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16103         * bookmark.el: Fix deletion of bookmarks (bug#13972).
16104         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16105         (bookmark-bmenu-execute-deletions): Only skip first line if it's
16106         the header.
16107         (bookmark-exit-hook-internal): Save even if list is empty.
16109 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
16111         * emacs-lisp/package.el (package-pinned-packages): New var.
16112         (package--add-to-archive-contents): Obey it (bug#14118).
16114 2013-04-03  Alan Mackenzie  <acm@muc.de>
16116         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16117         Also adapt to the new values of element 7 of a parse state.
16119         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16120         parameter `not-in-delimiter'.  Handle being inside comment opener.
16121         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16122         character in case we're typing a '*' after a '/'.
16123         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16124         instead by passing the parameter to c-state-pp-to-literal.
16126         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16127         for elt. 7 of a parse state.
16129 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
16131         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16132         * international/latin1-disp.el, international/mule-util.el:
16133         * language/cyril-util.el, language/european.el, language/ind-util.el:
16134         * language/lao-util.el, language/thai.el, language/tibet-util.el:
16135         * language/tibetan.el, language/viet-util.el:
16136         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16138 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16140         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16141         (electric-pair-post-self-insert-function): Use it.
16142         (electric-pair-default-inhibit): New function, extracted from
16143         electric-pair-post-self-insert-function.
16145 2013-03-31  Roland Winkler  <winkler@gnu.org>
16147         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16149 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16151         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16153 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
16155         Un-indent after "pass" and "return" statements (Bug#13888)
16156         * progmodes/python.el (python-indent-block-enders): New var.
16157         (python-indent-calculate-indentation): Use it.
16159 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
16161         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16162         defun.  Defining it as defalias could introduce too eager
16163         byte-compiler optimization.  (Bug#14030)
16165 2013-03-30  Chong Yidong  <cyd@gnu.org>
16167         * iswitchb.el (iswitchb-read-buffer): Fix typo.
16169 2013-03-30  Leo Liu  <sdl.web@gmail.com>
16171         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16172         (kmacro-execute-from-register): Pass the keyboard macro to
16173         kmacro-call-macro or repeating won't work correctly.
16175 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
16177         * progmodes/subword.el: Back to using `forward-symbol'.
16179         * subr.el (forward-whitespace, forward-symbol)
16180         (forward-same-syntax): Move from thingatpt.el.
16182 2013-03-29  Leo Liu  <sdl.web@gmail.com>
16184         * kmacro.el (kmacro-to-register): New command.
16185         (kmacro-execute-from-register): New function.
16186         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
16188 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16190         * mpc.el: Use defvar-local and setq-local.
16191         (mpc--proc-connect): Connection failures are not bugs.
16192         (mpc-mode-map): `follow-link' only applies to the buffer's content.
16193         (mpc-volume-map): Bind to the up-events.
16195 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
16197         * progmodes/subword.el (superword-mode): Use `forward-sexp'
16198         instead of `forward-symbol'.
16200 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16202         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16203         (edebug--recursive-edit): Use it.
16204         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16205         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16207 2013-03-28  Leo Liu  <sdl.web@gmail.com>
16209         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
16211 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
16213         * facemenu.el (list-colors-callback): New defvar.
16214         (list-colors-redisplay): New function.
16215         (list-colors-display): Install list-colors-redisplay as the
16216         revert-buffer-function.  (Bug#14063)
16218 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16220         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16221         and suffixes don't overlap (bug#14061).
16223         * case-table.el: Use lexical-binding.
16224         (case-table-get-table): New function.
16225         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
16227 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
16229         * progmodes/subword.el: Add `superword-mode' to do word motion
16230         over symbol_words (parallels and leverages `subword-mode' which
16231         does word motion inside MixedCaseWords).
16233 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
16235         * eshell/em-unix.el: Move su and sudo to...
16236         * eshell/em-tramp.el: ...Eshell tramp module.
16238 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16240         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16241         Change return value to be a sexp.  Delay `get-buffer' to after
16242         restoring the desktop (bug#13951).
16244 2013-03-26  Leo Liu  <sdl.web@gmail.com>
16246         * register.el: Move semantic tag handling back to
16247         cedet/semantic/senator.el.  (Bug#14052)
16249 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16251         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16252         into the prompt either (bug#13963).
16254 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16256         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16257         part of "(error-foo)".
16259 2013-03-24  Juri Linkov  <juri@jurta.org>
16261         * replace.el (list-matching-lines-prefix-face): New defcustom.
16262         (occur-1): Pass `list-matching-lines-prefix-face' to the function
16263         `occur-engine' if `face-differs-from-default-p' returns t.
16264         (occur-engine): Add `,' inside backquote construct to evaluate
16265         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
16266         Pass `prefix-face' to the functions `occur-context-lines' and
16267         `occur-engine-add-prefix'.
16268         (occur-engine-add-prefix, occur-context-lines): Add optional arg
16269         `prefix-face' and propertize the prefix with `prefix-face'.
16270         (Bug#14017)
16272 2013-03-24  Leo Liu  <sdl.web@gmail.com>
16274         * nxml/rng-valid.el (rng-validate-while-idle)
16275         (rng-validate-quick-while-idle): Guard against deleted buffer.
16276         (Bug#13999)
16278         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16279         is the last entry in kill-buffer-hook.
16281         * files.el (kill-buffer-hook): Doc fix.
16283 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
16285         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16286         Make it safe-local.
16288         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16290 2013-03-23  Leo Liu  <sdl.web@gmail.com>
16292         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16293         Remove.
16295         * nxml/rng-valid.el (rng-validate-mode)
16296         (rng-after-change-function, rng-do-some-validation):
16297         * nxml/rng-maint.el (rng-validate-buffer):
16298         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16299         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16300         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16301         (nxml-extend-after-change-region): Use with-silent-modifications.
16303         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16304         timer-idle-list.
16306         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16307         (rng-next-error-1, rng-previous-error-1): Do not let-bind
16308         timer-idle-list.  (Bug#13999)
16310 2013-03-23  Juri Linkov  <juri@jurta.org>
16312         * info.el (info-index-match): New face.
16313         (Info-index, Info-apropos-matches): Add a nested subgroup to the
16314         main pattern and add text properties with the new face to matches
16315         in index entries relative to the beginning of the index entry.
16316         (Bug#14015)
16318 2013-03-21  Eric Ludlam  <zappo@gnu.org>
16320         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16321         Inhibit read only while inserting objects.
16323 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
16325         * progmodes/cfengine.el: Update docs to mention
16326         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
16327         symbol motion.  Remove "_" from the word syntax.
16329 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
16331         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16332         syntax for both `cfengine2-mode' and `cfengine3-mode'.
16334 2013-03-20  Juri Linkov  <juri@jurta.org>
16336         * info.el (Info-next-reference-or-link)
16337         (Info-prev-reference-or-link): New functions.
16338         (Info-next-reference, Info-prev-reference): Use them.
16339         (Info-try-follow-nearest-node): Handle footnote navigation.
16340         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
16342 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16344         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16345         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16347 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
16349         Suppress unnecessary non-ASCII chatter during build process.
16350         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16351         (batch-skkdic-convert): Suppress most of the chatter.
16352         It's not needed so much now that machines are faster,
16353         and its non-ASCII component was confusing; see Dmitry Gutov in
16354         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16356 2013-03-20  Leo Liu  <sdl.web@gmail.com>
16358         * ido.el (ido-chop): Fix bug#10994.
16360 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
16362         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16363         Remove vars.
16364         (whitespace-color-on, whitespace-color-off):
16365         Use `font-lock-fontify-buffer' (Bug#13817).
16367 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16369         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16370         remapping in mode-line.
16371         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16373 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
16375         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16376         value for `whitespace-line' face (Bug#13875).
16377         (whitespace-font-lock-keywords): Change description.
16378         (whitespace-color-on): Don't save `font-lock-keywords' value, save
16379         the constructed keywords instead.
16380         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16382 2013-03-19  Leo Liu  <sdl.web@gmail.com>
16384         * progmodes/compile.el (compilation-display-error): New command.
16385         (compilation-mode-map, compilation-minor-mode-map): Bind it to
16386         C-o.  (Bug#13992)
16388 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
16390         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16392 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
16394         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16396 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
16398         * net/tramp-compat.el (tramp-compat-user-error): New defun.
16400         * net/tramp-adb.el (tramp-adb-handle-shell-command):
16401         * net/tramp-gvfs.el (top):
16402         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16403         (tramp-handle-shell-command): Use it.
16404         (tramp-dissect-file-name): Raise an error when hostname is a
16405         method name, and neither method nor user is specified.
16407         * net/trampver.el: Update release number.
16409 2013-03-18  Leo Liu  <sdl.web@gmail.com>
16411         Make sure eldoc can be turned off properly.
16412         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16413         eldoc-mode.
16414         (eldoc-display-message-p): Revert last change.
16415         (eldoc-display-message-no-interference-p)
16416         (eldoc-print-current-symbol-info): Tweak.
16418 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
16420         * doc-view.el (doc-view-new-window-function): Check the new window
16421         overlay's display property instead the char property of the
16422         buffer's first char.  Use `with-selected-window' instead of
16423         `save-window-excursion' with `select-window'.
16424         (doc-view-document->bitmap): Check the current doc-view overlay's
16425         display property instead the char property of the buffer's first char.
16427 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
16429         Automate the build of ja-dic.el (Bug#13984).
16430         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16431         from the input, rather than assume that it's been done for us by the
16432         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
16433         the current date into a ja-dic.el comment, as that complicates
16434         regression testing.
16436 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16438         * whitespace.el: Fix double evaluation.
16439         (whitespace-space, whitespace-hspace, whitespace-tab)
16440         (whitespace-newline, whitespace-trailing, whitespace-line)
16441         (whitespace-space-before-tab, whitespace-indentation)
16442         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16443         obsolete defvars.
16444         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16445         (whitespace-color-on): Use a single font-lock-add-keywords call.
16446         Fix double-evaluation of face variables.
16448 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
16450         * net/tramp-adb.el (tramp-adb-parse-device-names):
16451         Use `start-process' instead of `call-process'.  Otherwise, the
16452         function might be blocked under MS Windows.  (Bug#13299)
16454 2013-03-17  Leo Liu  <sdl.web@gmail.com>
16456         Extend eldoc to display info in the mode-line.  (Bug#13978)
16457         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16458         (eldoc-mode-line-string): New variable.
16459         (eldoc-minibuffer-message): New function.
16460         (eldoc-message-function): New variable.
16461         (eldoc-message): Use it.
16462         (eldoc-display-message-p)
16463         (eldoc-display-message-no-interference-p):
16464         Support eldoc-post-insert-mode.
16466         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16467         (eval-expression): Run it.
16469 2013-03-17  Roland Winkler  <winkler@gnu.org>
16471         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16472         strings in the list of return values.
16474 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
16476         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16477         radix before checking for HMS forms.
16479 2013-03-16  Leo Liu  <sdl.web@gmail.com>
16481         * progmodes/scheme.el: Add indentation and font-locking for λ.
16482         (Bug#13975)
16484 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16486         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16487         token before point (bug#13942).
16489 2013-03-16  Leo Liu  <sdl.web@gmail.com>
16491         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
16493 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
16495         * startup.el (command-line-normalize-file-name): Fix handling of
16496         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
16497         <xfq.free@gmail.com> in
16498         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16500 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
16502         Sync with Tramp 2.2.7.
16504         * net/trampver.el: Update release number.
16506 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
16508         * doc-view.el: Fix bug#13887.
16509         (doc-view-insert-image): Don't modify overlay associated to
16510         non-live windows, and implement horizontal centering of image in
16511         case it's smaller than the window.
16512         (doc-view-new-window-function): Force redisplay of new windows on
16513         doc-view buffers.
16515 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
16517         * saveplace.el (save-place-alist-to-file): Don't sort
16518         `save-place-alist', just pretty-print it (bug#13882).
16520 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
16522         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16523         Check whether `default-file-name-coding-system' is bound.
16524         It isn't in XEmacs.
16526 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16528         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16529         backquotes for `obsolete' (bug#13929).
16531         * international/mule.el (find-auto-coding): Include file name in
16532         obsolescence warning (bug#13922).
16534 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
16536         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16537         for CFEngine 3-specific indentation.
16538         (cfengine3-indent-line): Use it.  Fix up category regex.
16539         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16541 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16543         * type-break.el (type-break-file-name):
16544         * textmodes/remember.el (remember-data-file):
16545         * strokes.el (strokes-file):
16546         * shadowfile.el (shadow-initialize):
16547         * saveplace.el (save-place-file):
16548         * ps-bdf.el (bdf-cache-file):
16549         * progmodes/idlwave.el (idlwave-config-directory):
16550         * net/quickurl.el (quickurl-url-file):
16551         * international/kkc.el (kkc-init-file-name):
16552         * ido.el (ido-save-directory-list-file):
16553         * emulation/viper.el (viper-custom-file-name):
16554         * emulation/vip.el (vip-startup-file):
16555         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16556         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16558 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
16560         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16561         * language/thai-word.el: Switch to UTF-8.
16563 See ChangeLog.16 for earlier changes.
16565 ;; Local Variables:
16566 ;; coding: utf-8
16567 ;; End:
16569   Copyright (C) 2011-2014 Free Software Foundation, Inc.
16571   This file is part of GNU Emacs.
16573   GNU Emacs is free software: you can redistribute it and/or modify
16574   it under the terms of the GNU General Public License as published by
16575   the Free Software Foundation, either version 3 of the License, or
16576   (at your option) any later version.
16578   GNU Emacs is distributed in the hope that it will be useful,
16579   but WITHOUT ANY WARRANTY; without even the implied warranty of
16580   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16581   GNU General Public License for more details.
16583   You should have received a copy of the GNU General Public License
16584   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.