Use "~1" instead of "^" in vc-git.el to specify the parent of a Git commit.
[emacs.git] / lisp / ChangeLog
blob1ce22d0fdbd1188d58c5800243ec03cb796e8331
1 2014-11-21  Eli Zaretskii  <eliz@gnu.org>
3         * vc/vc-git.el (vc-git-command, vc-git--call): Bind
4         coding-system-for-read and coding-system-for-write to
5         vc-git-commits-coding-system.
6         (vc-git-previous-revision): Use "~1" instead of "^", since the
7         latter is a special character for MS-Windows system shells.
9 2014-11-20  Michael Albinus  <michael.albinus@gmx.de>
11         Improve XEmacs compatibility.
13         * net/tramp.el (tramp-autoload-file-name-handler):
14         Wrap `temporary-file-directory' by `symbol-value', it doesn't
15         exist in XEmacs.
16         (tramp-read-passwd): Don't use `with-timeout-suspend' and
17         `with-timeout-unsuspend' if they don't exist, like in XEmacs.
18         (tramp-time-less-p, tramp-time-subtract): Remove functions.
19         (tramp-handle-file-newer-than-file-p, tramp-time-diff):
20         * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
21         * net/tramp-cache.el (tramp-get-file-property):
22         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
23         Use `time-less-p' and `time-subtract, respectively.
25         * net/tramp-adb.el (top): Do not require time-date.el.
27         * net/tramp-compat.el (top): Require time-date.el for XEmacs.
29         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
30         Check, whether `utf-8' is a valid coding system.
32 2014-11-19  Eli Zaretskii  <eliz@gnu.org>
34         * vc/vc.el (vc-retrieve-tag): Doc fix.
36 2014-11-17  Eli Zaretskii  <eliz@gnu.org>
38         * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
39         Don't assume --long is the default for "bzr log", always specify
40         it explicitly, in case the user defined an alias for 'log' that
41         uses some other format.
43 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
45         * progmodes/python.el (python-eldoc--get-doc-at-point): Strip
46         shell output before returning.  (bug#18794)
48 2014-11-16  Dmitry Gutov  <dgutov@yandex.ru>
50         Fix indentation before `!=' and after `+='.  Originally reported
51         in https://github.com/mooz/js2-mode/issues/174.
52         * progmodes/js.el (js--indent-operator-re): Make assignments and
53         (in)equality operator a separate case.
54         (js--continued-expression-p): Escape the second `+' in the regexp.
56 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
58         * window.el (handle-select-window): Deactivate shift-region (bug#19003).
60 2014-11-15  Andreas Schwab  <schwab@linux-m68k.org>
62         * version.el (emacs-repository-get-version): Use git rev-parse
63         instead of git log.
65 2014-11-15  Fabián Ezequiel Gallina  <fgallina@gnu.org>
67         * progmodes/python.el (python-indent-calculate-levels): Fix
68         indentation behavior multiline dedenter statement.  (Bug#18432)
70 2014-11-15  Fabián Ezequiel Gallina  <fgallina@gnu.org>
72         * progmodes/python.el (python-indent-region): Use
73         python-indent-line and skip special cases.  (Bug#18843)
75 2014-11-15  Michael Albinus  <michael.albinus@gmx.de>
77         * vc/vc-hg.el (vc-hg-state): Disable pager.  (Bug#18940)
79 2014-10-28  Peder O. Klingenberg  <peder@klingenberg.no>  (tiny change)
81         * mail/emacsbug.el (report-emacs-bug): Make a better guess at
82           envelope-from when reporting through sendmail (bug#19054).
84 2014-11-14  Ivan Andrus  <darthandrus@gmail.com>
86         * progmodes/python.el (python-ffap-module-path): Use
87         `derived-mode-p' instead of equality test on `major-mode'.
89 2014-11-13  Ulrich Müller  <ulm@gentoo.org>
91         * version.el (emacs-repository-get-version): Call `git log'
92         command with proper format argument (bug#19049).
94 2014-11-10  Glenn Morris  <rgm@gnu.org>
96         * startup.el (command-line): Handle nil elements in load-path.
98 2014-11-08  Glenn Morris  <rgm@gnu.org>
100         * emacs-lisp/bytecomp.el (byte-compile-report-error):
101         Allow the argument to be a string.  Due to the vague doc,
102         it was already being used this way.
104 2014-11-07  Michael Albinus  <michael.albinus@gmx.de>
106         * net/tramp.el (tramp-check-cached-permissions): Include hop in
107         the constructed Tramp file name.  (Bug#18943)
109 2014-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
111         * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
112         (bug#18952).
113         (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
114         * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
116 2014-11-07  Michael Albinus  <michael.albinus@gmx.de>
118         * files.el (file-name-non-special): Wrap the call of
119         `insert-file-contents' by `unwind-protect', in order to set the
120         buffer's file name anyway.  (Bug#18891)
122 2014-11-07  Daiki Ueno  <ueno@gnu.org>
124         * epg.el (epg--list-keys-1): Ignore fields after the 15th field
125         (bug#18979).  Reported by Hideki Saito.
127 2014-10-18  Alan Mackenzie  <acm@muc.de>
129         Check that a "macro" found near point-min isn't a ## operator.
130         Fixes bug #18749.  Backported from trunk, 2014-11-05.
131         * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
132         (c-beginning-of-macro): Use the above new function.
134 2014-11-05  Alan Mackenzie  <acm@muc.de>
136         Fix wrong bound to c-font-lock-declarators.  Fixes bug #18948.
137         * progmodes/cc-fonts.el (c-font-lock-declarations): Pass
138         "(point-max)" as bound to c-font-lock-declarators, not "limit", as
139         the buffer is sometimes narrowed to less than "limit" (e.g., in
140         the presence of macros).
142 2014-11-05  Michael Albinus  <michael.albinus@gmx.de>
144         * net/tramp.el (tramp-error-with-buffer): Show connection buffer
145         only when message appeared in minibuffer.  (Bug#18891)
147         * net/tramp-adb.el (tramp-adb-handle-file-attributes):
148         * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
149         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
150         case of errors.
152 2014-11-04  Eli Zaretskii  <eliz@gnu.org>
154         * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
155         returned by load-average.
157 2014-11-04  Michael Albinus  <michael.albinus@gmx.de>
159         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
160         a local copy; setting `inhibit-file-name-handlers' proper might be
161         more performant.  (Bug#18751)
163 2014-11-04  Glenn Morris  <rgm@gnu.org>
165         * mail/emacsbug.el (report-emacs-bug): No longer include
166         recent-keys in the report.  (Bug#18900)
168 2014-11-03  Michael Albinus  <michael.albinus@gmx.de>
170         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
171         local copy of FILENAME, when it is remote.  (Bug#18751)
173 2014-11-02  Michael Albinus  <michael.albinus@gmx.de>
175         * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
176         an error when the command fails; the return code must indicate.
177         (tramp-adb-send-command-and-check): Fix docstring.
179 2014-11-01  Michael Albinus  <michael.albinus@gmx.de>
181         * net/tramp-cache.el (tramp-get-file-property)
182         (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
183         and `tramp-cache-set-count-*' are bound.  Otherwise, there might
184         be compiler warnings.
186         * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
187         Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
189 2014-11-01  Eli Zaretskii  <eliz@gnu.org>
191         * progmodes/compile.el (compilation-mode): Turn off deferred
192         fontifications locally.  (Bug#18856)
194 2014-11-01  Wolfgang Jenkner  <wjenkner@inode.at>
196         * net/tramp-sh.el (tramp-send-command): Fix the case where the
197         remote-echo connection property is non-nil (bug#18858).
199 2014-11-01  Michael Albinus  <michael.albinus@gmx.de>
201         Backport Tramp changes from trunk.
203         * net/tramp.el (tramp-methods): Tweak docstring.
204         (tramp-file-name-handler): Apply `cons' where appropriate.
205         (tramp-handle-file-accessible-directory-p): Check for
206         `file-readable-p' instead of `file-executable-p'.
207         (tramp-handle-shell-command): Use `display-buffer'.  (Bug#18326)
208         (tramp-handle-unhandled-file-name-directory): Return "/".
209         (tramp-check-cached-permissions):
210         Use `tramp-compat-file-attributes'.
211         (tramp-call-process): Add new argument VEC.  Adapt callees in all
212         tramp*.el files.
214         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
215         (tramp-adb-handle-write-region): Improve messages.
216         (tramp-adb-maybe-open-connection): Don't set
217         `tramp-current-*' variables.
219         * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
220         Suppress debug messages.
222         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
223         (tramp-ftp-file-name-handler):
225         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
226         (tramp-gvfs-methods-mounttracker)
227         (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
228         during initialization.  (Bug#18774)
229         (tramp-gvfs-handle-delete-file): Flush file properties, not
230         directory properties.
231         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
232         reading "unix::mode".
233         (tramp-gvfs-handle-file-name-all-completions):
234         Use "-h" option for "gvfs-ls".
235         (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
236         `user' and `localname' could be nil.
237         (tramp-gvfs-send-command): Simplify traces.
239         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
240         (vc-git-program, vc-hg-program): Declare.
241         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
242         (tramp-methods) <nc>: Add new method.
243         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
244         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
245         `tramp-login-args'.
246         (tramp-default-user-alist): Add "nc".
247         (top): Remove completion function for "sftp".  Add completion
248         functions for "nc" and "psftp".
249         (tramp-sh-handle-set-visited-file-modtime):
250         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
251         (tramp-do-copy-or-rename-file-out-of-band):
252         Use cached "remote-copy-args" value, if available.  (Bug#18199)
253         Tweak docstring.  Implement support for "nc" method.
254         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
255         (tramp-remote-coding-commands, tramp-call-local-coding-command):
256         Tweak docstring.
257         (tramp-sh-handle-start-file-process): Expand `default-directory'.
258         (tramp-sh-handle-write-region): Tweak error message.
259         (tramp-sh-handle-vc-registered): Remove backends when the remote
260         binary does not exist.
261         (tramp-open-connection-setup-interactive-shell):
262         Prefer utf-8 coding.  (Bug#17859)
263         (tramp-find-inline-encoding): Do not raise an error.
264         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
265         the "nc" case.  Quote result also locally.
266         (tramp-get-remote-id): Check also for "gid".
267         (tramp-get-remote-python):
269         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
270         (tramp-smb-handle-set-file-acl): Use `start-process'.
271         (tramp-smb-handle-insert-directory): Use progress reporter.
272         (tramp-smb-handle-rename-file): Flush also file properties of
273         FILENAME.
275         * net/trampver.el: Update release number.
277 2014-11-01  Reuben Thomas  <rrt@sc3d.org>
279         * net/tramp.el (tramp-handle-file-symlink-p):
280         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
281         about VMS, which we no longer support.
283 2014-11-01  Stefan Monnier  <monnier@iro.umontreal.ca>
285         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
286         the global vc-handled-backends (bug#18535).
288 2014-11-01  Jérémy Compostella  <jeremy.compostella@intel.com>
289             Michael Albinus  <michael.albinus@gmx.de>
291         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
292         Reduce the amount of set environment variable commands.
294 2014-11-01  Paul Eggert  <eggert@cs.ucla.edu>
296         * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
297         current-time.
299 2014-11-01  Emilio C. Lopes  <eclig@gmx.net>
301         * net/tramp-sh.el (tramp-get-remote-python): Also search for
302         executables named "python2" or "python3".
303         (tramp-get-remote-uid-with-python): Use parentheses around
304         arguments to `print' to make it compatible with Python 3.
305         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
307 2014-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
309         * simple.el (newline): Add assertions to try and help catch bug#18913.
311         * emulation/cua-base.el (cua-delete-region): Use delete-active-region
312         (bug#18886).
313         (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
315 2014-10-31  Eli Zaretskii  <eliz@gnu.org>
317         * Makefile.in (repo-update): Fix a typo and slightly reword
318         commentary.
320 2014-10-31  Eric S. Raymond  <esr@thyrsus.com>
322         * Makefile.in: Change some production names so they're neutral
323         about the repository type.
325 2014-10-30  Kim F. Storm  <storm@cua.dk>
327         Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
328         * delsel.el (delete-selection-save-to-register)
329         (delsel--replace-text-or-position): New vars.
330         (delete-active-region): Use them.
331         (delete-selection-repeat-replace-region): New command, moved from
332         cua-base.el.
333         * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
334         (cua-repeat-replace-region): Move command to delsel.el.
335         (cua--init-keymaps): Update binding accordingly.
336         (cua-mode): Set delete-selection-save-to-register.
338 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
340         * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
341         (c-lang-defconst):
342         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
344 2014-10-29  Eli Zaretskii  <eliz@gnu.org>
346         * progmodes/compile.el (compilation-start):
347         If compilation-scroll-output is non-nil, don't force window-start of
348         the compilation buffer to be at beginning of buffer.  (Bug#18874)
350 2014-10-23  Tassilo Horn  <tsdh@gnu.org>
352         * doc-view.el (doc-view-open-text): View the document's plain text
353         in the current buffer instead of a new one.
354         (doc-view-toggle-display): Handle the case where the current
355         buffer contains the plain text contents of the document.
356         (doc-view-initiate-display): Don't switch to fallback mode if the
357         user wants to view the doc's plain text.  [Backport]
359 2014-10-23  Eli Zaretskii  <eliz@gnu.org>
361         * startup.el (fancy-about-text): Read the entire tutorial, not
362         just its first 256 bytes.  (Bug#18760)
364 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
366         * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
367         * emacs-lisp/cl-extra.el: Add missing provide.
369 2014-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
371         * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
372         all args are copyable (bug#18767).
373         (=, <, >, <=, >=): Re-enable the optimization.
375 2014-10-20  Santiago Payà i Miralta  <santiagopim@gmail.com>
377         * vc/vc-hg.el (vc-hg-log-graph): New var.
378         (vc-hg-print-log): Use it.
379         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
380         graph output (bug#17515).
382 2014-10-20  Juri Linkov  <juri@jurta.org>
384         * vc/diff-mode.el (diff-refine-changed): Rename from
385         `diff-refine-change' for consistency with `diff-changed'.
386         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
388         * vc/smerge-mode.el (smerge-refined-changed): Rename from
389         `smerge-refined-change'.
390         (smerge-refined-change): Add obsolete face alias.
392 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
394         * subr.el (call-process-shell-command, process-file-shell-command):
395         Make the `args' obsolete (bug#18409).
396         (start-process-shell-command, start-file-process-shell-command):
397         Use `declare'.
399 2014-10-20  Juanma Barranquero  <lekktu@gmail.com>
401         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
403 2014-10-20  Glenn Morris  <rgm@gnu.org>
405         * dired.el (dired-read-regexp): Make obsolete.
406         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
407         (dired-flag-files-regexp):
408         * dired-aux.el (dired-mark-read-regexp):
409         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
411 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
413         * progmodes/python.el (inferior-python-mode): Use add-hook.
415         * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
417 2014-10-20  Glenn Morris  <rgm@gnu.org>
419         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
420         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
421         * emulation/ws-mode.el: Move to obsolete/.  [Backport]
423 2014-10-20  Glenn Morris  <rgm@gnu.org>
425         * cus-start.el (history-length): Bump :version.  [Backport]
427 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
429         * obsolete/cc-compat.el: Make obsolete (bug#18561).
431         * epg-config.el (epg-gpg-program): Don't use absolute names by default.
433         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
434         case (bug#18767).
436 2014-10-20  Glenn Morris  <rgm@gnu.org>
438         * Version 24.4 released.
440 2014-10-15  Alan Mackenzie  <acm@muc.de>
442         * cus-edit.el (custom-command-apply): Specify the return value in
443         the doc string.
444         (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
445         custom-command-apply has returned non-nil.
447 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
449         * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
450         Backported (bug#18688).
452 2014-10-14  Eli Zaretskii  <eliz@gnu.org>
454         * emacs-lisp/tabulated-list.el (tabulated-list-mode):
455         Force bidi-paragraph-direction to 'left-to-right'.  This fixes
456         buffer-menu display when the first buffer happens to start with
457         R2L letter.
459 2014-10-13  Glenn Morris  <rgm@gnu.org>
461         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
462         (authors-obsolete-files-regexps): Additions.
463         (authors-no-scan-regexps): New constant.
464         (authors-no-scan-file-p): New function.
465         (authors): Respect authors-no-scan-file-p.
467 2014-10-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
469         Fix import completion.  (Bug#18582)
470         * progmodes/python.el (python-shell-completion-get-completions):
471         Fix import case regexp.
473 2014-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
475         * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
476         (bug#18622).  Reported by Arni Magnusson <arnima@hafro.is>.
477         * progmodes/prolog.el (prolog-electric--underscore): Same.
479 2014-10-09  Glenn Morris  <rgm@gnu.org>
481         * frame.el (display-monitor-attributes-list): Doc tweaks.
483 2014-10-08  Eli Zaretskii  <eliz@gnu.org>
485         * faces.el (display-grayscale-p): Mention in the doc string that
486         the argument can be either a display name or a frame.
488         * frame.el (display-pixel-height, display-pixel-width)
489         (display-mm-height, display-mm-width, display-backing-store)
490         (display-save-under, display-planes, display-color-cells)
491         (display-visual-class, display-monitor-attributes-list)
492         (display-screens): Mention in the doc string that the argument can
493         be either a display name or a frame.  Improve the docs of the
494         monitor attributes.  (Bug#18636)
496 2014-10-06  Martin Rudalics  <rudalics@gmx.at>
498         * term.el (term-window-width): Subtract 1 from the width when
499         any fringe has zero width, not just the right fringe.  (Bug#18601)
501 2014-10-05  Leo Liu  <sdl.web@gmail.com>
503         * imenu.el (imenu-default-goto-function): Fix typo.
505 2014-10-04  Glenn Morris  <rgm@gnu.org>
507         * frame.el (frame-monitor-attributes)
508         (display-monitor-attributes-list): Doc fixes.
510 2014-10-03  Dmitry Gutov  <dgutov@yandex.ru>
512         * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
513         (vc-svn-ignore): Use it.  (Bug#18619)
515 2014-10-03  Martin Rudalics  <rudalics@gmx.at>
517         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
518         In doc-string mention need to set `frame-resize-pixelwise'.
520 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
522         * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
523         similarly to Rogers's 2010-06-16 change for the remote case
524         (bug#18605).
526 2014-10-01  Glenn Morris  <rgm@gnu.org>
528         * emacs-lisp/package.el (package-import-keyring):
529         Create gnupg directory private.  (Bug#17625#155)
531 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
533         * progmodes/python.el (python-shell-completion-get-completions):
534         Use python-shell--prompt-calculated-input-regexp from the
535         process buffer (bug#18582).
536         Don't assume that `line' comes from the process buffer.
538 2014-09-30  Leonardo Nobrega  <leonobr@gmail.com>  (tiny change)
540         * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
541         (bug#18462).
543 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
545         * emacs-lisp/package.el (package-check-signature): Default to nil if
546         GPG is not available.
547         (package-refresh-contents): Don't mess with the keyring if we won't
548         check the signatures anyway.
550 2014-09-18  Kan-Ru Chen  <kanru@kanru.info>
552         * window.el (fit-window-to-buffer): When counting buffer width,
553         count the whole visible buffer.  Correctly convert the body-height
554         to pixel size for window-text-pixel-size (Bug#18498).
556 2014-09-14  Glenn Morris  <rgm@gnu.org>
558         * image.el (image-multi-frame-p): Fix thinko - do not force
559         a delay if none was specified.  (Bug#18334)
561 2014-09-12  Kan-Ru Chen  <kanru@kanru.info>
563         * window.el (fit-window-to-buffer): Doc fix.
565 2014-09-10  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
567         * desktop.el (desktop-create-buffer): Check that buffers are still live
568         before burying them (bug#18373).
570 2014-09-09  Glenn Morris  <rgm@gnu.org>
572         * calendar/diary-lib.el (diary-list-entries):
573         Restore 24.3 display behavior.  (Bug#18381)
575 2014-09-09  Eli Zaretskii  <eliz@gnu.org>
577         * mouse.el (mouse-drag-line): On text-mode frames, count the mode
578         line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
579         discrepancy between window-pixel-edges and mouse events, and
580         avoids moving mode line up when the mouse click is on the modeline
581         and no drag is attempted.
583 2014-09-08  Glenn Morris  <rgm@gnu.org>
585         * calendar/calendar.el (calendar-basic-setup):
586         Avoid clobbering calendar with diary.  (Bug#18381)
588 2014-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
590         * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
592 2014-09-04  Lars Ljung  <lars@matholka.se>  (tiny change)
594         * isearch.el (isearch-yank-word-or-char): Obey superword-mode
595         as well (bug#18400).
597 2014-09-04  Eli Zaretskii  <eliz@gnu.org>
599         * subr.el (posn-actual-col-row): Doc fix.  (Bug#18385)
601 2014-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
603         * emacs-lisp/package.el (package-generate-description-file):
604         Properly quote the arguments (bug#18332).  Change second arg.
605         (package--alist-to-plist-args): Rename from package--alist-to-plist and
606         quote the elements.
607         (package--make-autoloads-and-stuff): Fix the test for pre-existence of
608         the *-pkg.el file.  Adjust to new calling convention of
609         package-generate-description-file.
611         * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
612         (gud-gdb-completions): Remove obsolete workaround.
614 2014-09-02  Eli Zaretskii  <eliz@gnu.org>
616         * subr.el (posn-col-row): Revert the change from commit
617         2010-11-13T21:07:58Z!eliz@gnu.org, which
618         was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
619         monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
620         introduced an off-by-one error in the reported row when there is a
621         header line.  (Bug#18384)
623 2014-09-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
625         * progmodes/python.el (python-indent-post-self-insert-function):
626         Avoid electric colon at beginning-of-defun.  (Bug#18228)
628 2014-09-01  Glenn Morris  <rgm@gnu.org>
630         * tutorial.el (tutorial--display-changes):
631         Fix 2014-07-29 change.  (Bug#18382)
633 2014-08-29  Ken Brown  <kbrown@cornell.edu>
635         * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
636         the Cygwin-w32 build.  (Bug#18347)
638 2014-08-28  Glenn Morris  <rgm@gnu.org>
640         * tar-mode.el (tar--extract, tar-extract):
641         Avoid permanently disabling undo in extracted buffers.  (Bug#18344)
643 2014-08-27  Michael Albinus  <michael.albinus@gmx.de>
645         * emacs-lisp/authors.el (authors-aliases): Addition.
647         * net/tramp-adb.el: Spell author name correctly.
649 2014-08-27  João Távora  <joaotavora@gmail.com>
651         * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
652         use url-expand-file-name.  (Bug#18310)
654 2014-08-25  Glenn Morris  <rgm@gnu.org>
656         * emulation/cua-rect.el (cua--highlight-rectangle):
657         Avoid error at point-min.  (Bug#18309)
659 2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
661         * progmodes/python.el (python-shell-prompt-detect): Remove redundant
662         executable-find (bug#18244).
664         * simple.el (self-insert-uses-region-functions): Defvar.
666 2014-08-13  Leo Liu  <sdl.web@gmail.com>
668         * speedbar.el (speedbar-generic-list-tag-p): Allow special
669         elements from imenu.
671 2014-08-11  Glenn Morris  <rgm@gnu.org>
673         * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
675         * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
676         chose coding system for writing before backing up, since it causes
677         a more serious problem than the one it solves.  (Closes Bug#18141,
678         reopens Bug#13522.)
680 2014-08-10  Martin Rudalics  <rudalics@gmx.at>
682         * window.el (window-total-size): Make doc-string more
683         self-contained.
685 2014-08-09  Martin Rudalics  <rudalics@gmx.at>
687         * window.el (display-buffer-below-selected): Restore original
688         behavior if buffer is already displayed in the window below the
689         selected one (Bug#18181).
691 2014-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
693         * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
694         event (bug#18212).
696 2014-08-08  Eli Zaretskii  <eliz@gnu.org>
698         * info.el (info): Doc fix.
700 2014-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
702         * info.el (Info-mode-map): Override a global down-mouse-2 binding
703         (bug#18212).
705 2014-08-05  Eli Zaretskii  <eliz@gnu.org>
707         * simple.el (default-line-height): A floating-point value of
708         line-spacing means a fraction of the default frame font's height,
709         not of the font currently used by the 'default' face.
710         Truncate the pixel value, like the display engine does.
711         (window-screen-lines): Use window-inside-pixel-edges for
712         determining the window height in pixels.  (Bug#18195)
714 2014-07-29  Eli Zaretskii  <eliz@gnu.org>
716         * tutorial.el (tutorial--display-changes): Accept punctuation
717         characters before the key binding.  (Bug#18146)
719 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
721         * doc-view.el (doc-view-open-text): Don't require that the
722         document is saved in a file (e.g., email attachment).
724 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
726         * window.el (window--pixel-to-total): Use FRAME's root window, not
727         that of the selected frame.  (Bug#18112, Bug#16674)
729 2014-07-27  Andreas Schwab  <schwab@linux-m68k.org>
731         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
732         (Bug#18117)
734 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
736         * progmodes/python.el (inferior-python-mode): Doc fix.
738 2014-07-25  Stephen Berman  <stephen.berman@gmx.net>
740         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
741         not a character, ignore it instead of raising an error.
743 2014-07-25  Stephen Berman  <stephen.berman@gmx.net>
745         * calendar/todo-mode.el: Fix handling of marked items and make
746         minor code improvements.
747         (todo-edit-item): If there are marked items, ensure user can only
748         invoke editing commands that work with marked items.
749         (todo-edit-item--text): When there are marked items, make it a
750         noop if invoked with point not on an item; otherwise, ensure it
751         applies only to item at point.
752         (todo-item-undone): If there are marked not-done items, return
753         point to its original position before signaling user error.
754         (todo--user-error-if-marked-done-item): New function.
755         (todo-edit-item--header, todo-edit-item--diary-inclusion)
756         (todo-item-done): Use it.
758 2014-07-25  Glenn Morris  <rgm@gnu.org>
760         * files.el (toggle-read-only): Re-add basic doc-string.
761         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
763         * progmodes/prolog.el (prolog-mode-keybindings-edit):
764         Replace missing `switch-to-prolog' with `run-prolog'.
765         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
767 2014-07-22  Stephen Berman  <stephen.berman@gmx.net>
769         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
770         of file-wide setting when changing category-wide setting.
772 2014-07-21  Glenn Morris  <rgm@gnu.org>
774         * progmodes/hideif.el (hide-ifdef-mode-submap):
775         Also substitute read-only-mode.
776         * bindings.el (mode-line-toggle-read-only):
777         * bs.el (bs-toggle-readonly):
778         * buff-menu.el (Buffer-menu-toggle-read-only):
779         * dired.el (dired-toggle-read-only):
780         * files.el (view-read-only, find-file-read-only)
781         (find-file-read-only-other-window)
782         (find-file-read-only-other-frame):
783         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
784         Doc fixes re toggle-read-only.
786 2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
788         * progmodes/python.el: Add comment about pipe buffering and
789         solutions for missing/delayed output in inferior Python shells.
790         (Bug#17304)
792 2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
794         * progmodes/python.el (python-mode): Don't set
795         mode-require-final-newline.  (Bug#17990)
797 2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
799         Make python.el work with IPython automatically.  (Bug#15510)
800         * progmodes/python.el:
801         (python-shell-completion-setup-code): New value supporting iPython.
802         (python-shell-completion-string-code): New value supporting iPython.
803         (python-shell-completion-get-completions): Use them.
804         (python-shell-completion-module-string-code): Make obsolete.
805         (python-shell-prompt-input-regexps)
806         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
807         (python-shell-output-filter): Fix comment typo.
809 2014-07-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
811         Fix Python shell prompts detection for remote hosts.
812         * progmodes/python.el (python-shell-prompt-detect):
813         Replace call-process with process-file and make it more robust.
815 2014-07-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
817         Autodetect Python shell prompts.  (Bug#17370)
818         * progmodes/python.el:
819         (python-shell-interpreter-interactive-arg)
820         (python-shell-prompt-detect-enabled)
821         (python-shell-prompt-detect-failure-warning)
822         (python-shell-prompt-input-regexps)
823         (python-shell-prompt-output-regexps): New vars.
824         (python-shell-prompt-calculated-input-regexp)
825         (python-shell-prompt-calculated-output-regexp): New vars.
826         (python-shell-get-process-name)
827         (python-shell-internal-get-process-name)
828         (python-shell-output-filter)
829         (python-shell-completion-get-completions): Use them.
830         (python-shell-prompt-detect)
831         (python-shell-prompt-validate-regexps): New functions.
832         (python-shell-prompt-set-calculated-regexps): New function.
833         (inferior-python-mode): Use it.  Also honor overridden
834         python-shell-interpreter and python-shell-interpreter-args.
835         (python-shell-make-comint): Honor overridden
836         python-shell-interpreter and python-shell-interpreter-args.
837         (python-shell-get-or-create-process): Make it testable by allowing
838         to call run-python non-interactively.
839         (python-util-valid-regexp-p): New function.
840         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
841         (python-shell-prompt-output-regexp)
842         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
844 2014-07-16  Glenn Morris  <rgm@gnu.org>
846         * desktop.el (after-init-hook): Disable startup frame restoration
847         in non-graphical situations.  (Bug#17693)
849 2014-07-14  Glenn Morris  <rgm@gnu.org>
851         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
852         if it was "empty", or used for a different set of files.  (Bug#17884)
854 2014-07-13  Eli Zaretskii  <eliz@gnu.org>
856         * bindings.el (mode-line-remote): If default-directory is not a
857         string, don't call file-remote-p on it; instead state in the
858         help-echo that it is nil.  (Bug#17986)
860 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
862         Fix bug: C-x v v discarded existing log message (Bug#17884).
863         * vc/vc-dispatcher.el (vc-log-edit):
864         Don't clobber an already-existing log message.
866 2014-07-10  Glenn Morris  <rgm@gnu.org>
868         * vc/log-edit.el (log-edit-changelog-entries):
869         Check for a visited-but-never-saved ChangeLog.
871 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
873         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
874         a non-existing file (bug#17970).
876         * faces.el (face-name): Undo last change.
877         (x-resolve-font-name): Don't call face-name (bug#17956).
879 2014-07-09  Fabián Ezequiel Gallina  <fgallina@gnu.org>
881         Fix dedenters and electric colon handling. (Bug#15163)
883         * progmodes/python.el
884         (python-rx-constituents): Add dedenter and block-ender.
885         (python-indent-dedenters, python-indent-block-enders): Delete.
886         (python-indent-context): Return new case for dedenter-statement.
887         (python-indent-calculate-indentation): Handle new case.
888         (python-indent-calculate-levels): Fix levels calculation for
889         dedenter statements.
890         (python-indent-post-self-insert-function): Fix colon handling.
891         (python-info-dedenter-opening-block-message): New function.
892         (python-indent-line): Use it.
893         (python-info-closing-block)
894         (python-info-closing-block-message): Remove.
895         (python-info-dedenter-opening-block-position)
896         (python-info-dedenter-opening-block-positions)
897         (python-info-dedenter-statement-p): New functions.
899 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
901         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
902         the middle of a line (bug#17896).
904 2014-07-08  Juri Linkov  <juri@jurta.org>
906         * startup.el (command-line): Append displaying the warning about
907         the errors in the init file to the end of `after-init-hook'.
908         (Bug#17927)
910 2014-07-08  Juri Linkov  <juri@jurta.org>
912         * faces.el (face-name): Return input arg `face' as is
913         when it's not a symbol.
914         (x-resolve-font-name): Don't check if the face is a symbol.
915         (Bug#17956)
917 2014-07-08  Juri Linkov  <juri@jurta.org>
919         * facemenu.el (list-colors-print): In help-echo format use %.2f
920         instead of %d because now HSV values are floating-point components
921         between 0.0 and 1.0.
923 2014-07-06  Glenn Morris  <rgm@gnu.org>
925         * emulation/cua-rect.el (cua--activate-rectangle):
926         Avoid setting cua--rectangle to nil.  (Bug#17877)
928 2014-07-06  Stephen Berman  <stephen.berman@gmx.net>
930         * calendar/todo-mode.el: Fix wrong-type-argument error when
931         marking multiple consecutive items.
932         (todo-toggle-mark-item): Don't try to mark the empty lines at the
933         end of the todo and done items sections.  Note in doc string that
934         items marked by passing a numeric prefix argument can include the
935         last todo and first done items.
936         (todo-mark-category): Don't try to mark the empty line between the
937         todo and done items sections.
939 2014-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
941         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
942         proper Lisp quoting (bug#17934).
944         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
945         require-final-newline since prog-mode already took care of it (bug#17947).
947 2014-07-04  Stephen Berman  <stephen.berman@gmx.net>
949         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
950         refer to the Todo mode Info manual.  Update the comment on
951         requiring cl-lib.
952         (todo-find-filtered-items-file): Add todo-prefix overlays.
953         (todo-filter-items): Reorder a let-bound variable to avoid a
954         wrong-type-argument error on canceling the file choice dialog.
956 2014-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
958         * progmodes/octave.el (inferior-octave-mode):
959         Set comint-input-ring-size to a number (bug#17912).
961 2014-07-03  Juri Linkov  <juri@jurta.org>
963         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
964         and `isearch-mode' associated with nil.  (Bug#17849)
966 2014-07-02  Juri Linkov  <juri@jurta.org>
968         * desktop.el (desktop-save): Rename arg `auto-save' to
969         `only-if-changed'.  Doc fix.  (Bug#17873)
971 2014-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
973         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
974         Use insert-for-yank (bug#17271).
976 2014-07-02  Leo Liu  <sdl.web@gmail.com>
978         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
979         Support lexical-binding.
981 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
983         * vc/log-edit.el (log-edit-goto-eoh): New function.
984         (log-edit--match-first-line): Use it (bug#17861).
986 2014-07-01  Glenn Morris  <rgm@gnu.org>
988         * vc/log-edit.el (log-edit-hook): Add missing :version.
990 2014-07-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
992         * progmodes/python.el (python-indent-post-self-insert-function):
993         Enhancements to electric indentation behavior inside
994         parens. (Bug#17658)
996 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
998         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
999         buffer-invisibility-spec (bug#17867).
1001 2014-06-29  Andreas Schwab  <schwab@linux-m68k.org>
1003         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1004         pass "-a".
1006 2014-06-29  Glenn Morris  <rgm@gnu.org>
1008         * cus-edit.el (help):
1009         * finder.el (finder-known-keywords):
1010         * help.el (help-for-help-internal):
1011         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1012         (ediff-redraw-registry-buffer):
1013         * vc/ediff-ptch.el (ediff-patch-file-internal):
1014         Doc fixes re "online" help.  (Bug#17803)
1016         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1017         (idlwave-mode): Doc URL update.
1019 2014-06-27  Stephen Berman  <stephen.berman@gmx.net>
1021         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1022         account for file-wide setting of todo-top-priorities-overrides.
1023         Make code a bit cleaner.
1025 2014-06-27  Leo Liu  <sdl.web@gmail.com>
1027         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
1029 2014-06-27  Glenn Morris  <rgm@gnu.org>
1031         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
1033 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
1035         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1036         category-wide setting of todo-top-priorities-overrides, check for
1037         a file-wide setting and fontify accordingly.
1039 2014-06-26  Glenn Morris  <rgm@gnu.org>
1041         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
1043 2014-06-26  Daiki Ueno  <ueno@gnu.org>
1045         * emacs-lisp/package.el (package--check-signature):
1046         If package-check-signature is allow-unsigned, don't signal error when
1047         we can't verify signature because of missing public key
1048         (backport for bug#17625).
1050 2014-06-26  Glenn Morris  <rgm@gnu.org>
1052         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1053         Remove outdated declaration.
1055         * emacs-lisp/authors.el (authors-valid-file-names)
1056         (authors-renamed-files-alist): Additions.
1058 2014-06-25  Leo Liu  <sdl.web@gmail.com>
1060         * textmodes/picture.el (picture-set-tab-stops):
1061         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1062         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1064         * progmodes/asm-mode.el (asm-calculate-indentation):
1065         Use indent-next-tab-stop.
1067         * indent.el (indent-accumulate-tab-stops): New function.
1069 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1071         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1072         (package-desc-status): Obey it.
1074 2014-06-25  Stephen Berman  <stephen.berman@gmx.net>
1076         * calendar/todo-mode.el: Fix two bugs.
1077         (todo-insert-item--basic): If user cancels item insertion to
1078         another category before setting priority, show original category
1079         whether it is in the same or a different file.
1080         (todo-set-item-priority): After selecting category, instead of
1081         moving point to top, which extends an active region, restore it.
1083 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1085         * help-fns.el (describe-function-1): Check file-name is a string before
1086         calling help-fns--autoloaded-p (bug#17564).
1088 2014-06-24  Juri Linkov  <juri@jurta.org>
1090         * desktop.el (desktop-auto-save-enable)
1091         (desktop-auto-save-disable): New functions.
1092         (desktop-save-mode, desktop-auto-save-timeout): Use them.
1093         (desktop-read): Disable the autosave before loading the desktop,
1094         and enable afterwards.  (Bug#17351)
1096 2014-06-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1098         Fix some indentation problem with \; and pipes (bug#17842).
1099         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1100         (sh-smie--default-forward-token, sh-smie--default-backward-token):
1101         New functions.
1102         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1103         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1104         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1106 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
1108         * international/fontset.el (script-representative-chars):
1109         Add representative characters for scripts added in Unicode 7.0.
1110         (otf-script-alist): Synchronize with the latest registry of OTF
1111         script tags.
1113         * international/characters.el (char-script-table): Update for
1114         scripts added and codepoint ranges changed in Unicode 7.0.
1116 2014-06-23  Leo Liu  <sdl.web@gmail.com>
1118         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1119         tab-stop-list to nil.  (Bug#16381)
1121         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1122         (indent-rigidly-left-to-tab-stop)
1123         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1124         (move-to-tab-stop): Change callers.
1126 2014-06-22  Eli Zaretskii  <eliz@gnu.org>
1128         * skeleton.el (skeleton-insert): Yet another fix of the doc string
1129         wrt behavior of \n as the first/last element of a skeleton.
1131 2014-06-22  Michael Albinus  <michael.albinus@gmx.de>
1133         * net/tramp-adb.el (tramp-adb-handle-process-file):
1134         * net/tramp-sh.el (tramp-sh-handle-process-file):
1135         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1136         the output buffer when DISPLAY is non-nil.  (Bug#17815)
1138 2014-06-21  Glenn Morris  <rgm@gnu.org>
1140         * play/landmark.el (landmark-move-down, landmark-move-up):
1141         Fix 2007-10-20 change - preserve horizontal position.
1143 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1145         Fix completion retrieval parsing (bug#17209).
1146         * progmodes/python.el (python-mode):
1147         (python-util-strip-string): New function.
1148         (python-shell-completion-get-completions): Use it.
1150 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1152         * skeleton.el (skeleton-insert): Fix last change.
1154 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1156         Enhancements for outline integration (bug#17796).
1157         * progmodes/python.el (python-mode): Properly set
1158         outline-heading-end-regexp so that comments after colons for
1159         defuns are supported.
1161 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1163         * skeleton.el (skeleton-insert): Doc fix.
1165 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1167         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1168         (smie-config-guess): Use smie-config-local so the rules are obeyed
1169         (bug#17818).
1171         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1172         since it's already done inside the loop (bug#17819).
1174 2014-06-20  Martin Rudalics  <rudalics@gmx.at>
1176         * mouse.el (mouse-drag-line): Re-remove code initially removed
1177         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1178         (Bug#17819).
1180 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1182         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1183         align with the surrounding parent (bug#17721).
1185 2014-06-20  Eli Zaretskii  <eliz@gnu.org>
1187         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1188         locally to nil.
1189         (texinfo-insert-block, texinfo-insert-@end)
1190         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1191         local setting of skeleton-end-newline by adding an explicit \n to
1192         the skeletons where appropriate.  (Bug#17801)
1194 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1196         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1197         (smie-indent--hanging-p): Use it.
1198         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1200 2014-06-20  Leo Liu  <sdl.web@gmail.com>
1202         * simple.el (read-quoted-char): Don't let help chars pop up help
1203         buffer.  (Bug#16617)
1205 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1207         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1208         for | (bug#17621).
1210 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1212         * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1213         (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1214         burping.
1216 2014-06-18  Eli Zaretskii  <eliz@gnu.org>
1218         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1219         and later.  (Bug#17790)
1221 2014-06-18  Juri Linkov  <juri@jurta.org>
1223         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1224         to `soft'.  (Bug#17554)
1226 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1228         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1229         (bug#17737).
1231 2014-06-16  Dmitry Gutov  <dgutov@yandex.ru>
1233         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1234         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
1236 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
1238         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1239         `unread-command-events'.
1241 2014-06-14  Glenn Morris  <rgm@gnu.org>
1243         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
1244         Replace delete-duplicates and mapcan by cl- versions throughout.
1245         And cl-macroexpand-all by macroexpand-all.
1246         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1248 2014-06-14  Eli Zaretskii  <eliz@gnu.org>
1250         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
1252 2014-06-14  Juri Linkov  <juri@jurta.org>
1254         * bindings.el: Put `ascii-character' property on keypad keys
1255         mapped to characters.  (Bug#17759)
1257 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1259         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1260         bumping forward into a closing paren (bug#17761).
1262         * term/xterm.el (xterm--version-handler): Work around for OSX
1263         Terminal.app (bug#17607).
1265 2014-06-08  Glenn Morris  <rgm@gnu.org>
1267         * startup.el (initial-buffer-choice): Doc fix.
1268         Reset :version (adding an option does not merit a :version bump).
1270         * bookmark.el (bookmark-load):
1271         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1273 2014-06-06  Juri Linkov  <juri@jurta.org>
1275         * desktop.el: Activate auto-saving on window configuration changes.
1276         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1277         `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1278         (desktop-auto-save-set-timer): Change REPEAT arg of
1279         `run-with-idle-timer' from t to nil.
1280         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1282 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
1284         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1285         vc-hg-command (bug#17570).
1287 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1289         * international/mule-cmds.el (ucs-names): Add special entry for BEL
1290         (bug#17702).
1292 2014-06-06  Glenn Morris  <rgm@gnu.org>
1294         * startup.el (window-setup-hook): Doc fix.
1296 2014-06-05  Glenn Morris  <rgm@gnu.org>
1298         * emacs-lisp/package.el (package-check-signature)
1299         (package-unsigned-archives): Doc fixes.
1301 2014-06-03  Martin Rudalics  <rudalics@gmx.at>
1303         * window.el (display-buffer-use-some-window): Don't make window
1304         used smaller than it was before (Bug#17671).
1306 2014-06-03  Eli Zaretskii  <eliz@gnu.org>
1308         * menu-bar.el (menu-bar-open): Fix last change: use the PC
1309         'redisplay' instead of '(sit-for 0)'.
1311 2014-06-03  Michael Albinus  <michael.albinus@gmx.de>
1313         * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1314         regexp.  (Bug#17653)
1316 2014-06-03  Glenn Morris  <rgm@gnu.org>
1318         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1320 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
1322         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1324 2014-06-01  Eli Zaretskii  <eliz@gnu.org>
1326         * simple.el (keyboard-quit): Force update of mode lines, to remove
1327         the "Def" indicator, if we were defining a macro.  (Bug#17615)
1329 2014-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1331         * minibuffer.el (minibuffer-force-complete-and-exit):
1332         Obey minibuffer-default (bug#17545).
1334         * progmodes/js.el (js-indent-line): Don't mix columns and chars
1335         (bug#17619).
1337 2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1339         * subr.el (set-transient-map): Don't wait for some "nested"
1340         transient-map to finish if we're only supposed to be active for
1341         the next command (bug#17642).
1343 2014-05-31  Leo Liu  <sdl.web@gmail.com>
1345         * emacs-lisp/gv.el (window-buffer, window-display-table)
1346         (window-dedicated-p, window-hscroll, window-point, window-start):
1347         Fix gv-expander.  (Bug#17630)
1349 2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1351         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1352         clicks (bug#17633).
1354         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1355         for the single comma, since ", " is *very* common in normal French text
1356         (bug#17643).
1358 2014-05-30  Glenn Morris  <rgm@gnu.org>
1360         * emacs-lisp/package.el (package-check-signature)
1361         (package-unsigned-archives): Fix :version.
1363 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1365         * subr.el (sit-for): Don't run input-methods (bug#15614).
1367 2014-05-28  Glenn Morris  <rgm@gnu.org>
1369         * cus-start.el: Fix some :version numbers.
1371 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1373         * simple.el (deactivate-mark): Set mark-active to nil even if
1374         deactivation is done via setting transient-mark-mode to nil,
1375         since one is buffer-local and the other is global.
1377         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1378         there can't be more than 2 arguments (bug#17584).
1380 2014-05-27  Glenn Morris  <rgm@gnu.org>
1382         * simple.el (filter-buffer-substring-functions)
1383         (filter-buffer-substring-function, buffer-substring-filters)
1384         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1386         * minibuffer.el (completion-in-region-functions, completion-in-region)
1387         (completion--in-region): Doc fixes.
1389         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1390         (expand-abbrev, abbrev--default-expand): Doc fixes.
1392 2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
1394         Include sources used to create macuvs.h.
1395         * international/README: Refer to the Unicode Terms of Use rather
1396         than copying it bodily here, as that simplifies maintenance.
1398 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
1400         * cus-face.el (custom-face-attributes): Add :distant-foreground.
1402 2014-05-25  Martin Rudalics  <rudalics@gmx.at>
1404         * window.el (window--dump-frame): Remove interactive
1405         specification.
1407 2014-05-23  Glenn Morris  <rgm@gnu.org>
1409         * hippie-exp.el (he-line-search-regexp):
1410         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
1412 2014-05-23  Stephen Berman  <stephen.berman@gmx.net>
1414         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1415         to avoid errors when trying to create or visit a file foo.todo
1416         located outside to todo-directory, and to allow having such files
1417         without them being tied to Todo mode (bug#17482).
1418         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1419         (todo-archive-done-item, todo-find-filtered-items-file)
1420         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1421         (todo-category-completions, todo-read-category): When visiting a
1422         Todo file, make sure we're in the right mode and the buffer local
1423         variables are set.
1424         (todo-make-categories-list, todo-reset-nondiary-marker)
1425         (todo-reset-done-string, todo-reset-comment-string):
1426         After processing all Todo files, kill the buffers of those files that
1427         weren't being visited before the processing.
1428         (todo-display-as-todo-file, todo-add-to-buffer-list)
1429         (todo-visit-files-commands): Comment out.
1430         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1431         (auto-mode-alist): Remove add-to-list calls making Todo file
1432         extensions unrestrictedly tied to Todo modes.
1434 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1436         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1437         (advice-function-member-p): Tell it to check both names and functions
1438         (bug#17531).
1439         (advice--add-function): Adjust call accordingly.
1441 2014-05-23  Stephen Berman  <stephen.berman@gmx.net>
1443         * calendar/todo-mode.el: Miscellaneous bug fixes.
1444         (todo-delete-file): When deleting an archive but not its todo
1445         file, make sure to update the todo file's category sexp.
1446         (todo-move-category): Keep the moved category's name unless the
1447         file moved to already has a category with that name.  If the
1448         numerically last category of the source file was moved, make the
1449         first category current to avoid selecting a nonexisting category.
1450         (todo-merge-category): Fix implementation to make merging to a
1451         category in another file work as documented.  Eliminate now
1452         insufficient and unnecessary renaming of archive category, correct
1453         document string accordingly, and clarify it.  If the numerically
1454         last category of the source file was merged, make the first
1455         category current to avoid selecting a nonexisting category.
1456         (todo-archive-done-item): When there are marked items and point
1457         happens to be on an unmarked item, ignore the latter.  Don't leave
1458         point below last item after archiving marked items.
1459         (todo-unarchive-items): Fix logic to ensure unarchiving an item
1460         from an archive with only one category deletes the archive only
1461         when the category is empty after unarchiving.  Make sure the todo
1462         file's category sexp is updated.
1463         (todo-read-file-name): Allow an existing file name even when it is
1464         not required (todo-move-category needs this to work as documented).
1465         (todo-add-file): Call todo-validate-name to reject the name of an
1466         existing todo file (needed due to fix in todo-read-file-name).
1467         (todo-reset-nondiary-marker): Also reset in filtered items files.
1468         (todo-reset-done-string, todo-reset-comment-string): Also reset in
1469         regexp filtered items files.
1470         (todo-reset-highlight-item): Also reset in filtered items files.
1471         Fix incorrect variable reference in document string.
1473 2014-05-22  Glenn Morris  <rgm@gnu.org>
1475         * window.el (window--dump-frame): Avoid error in --without-x builds.
1477 2014-05-21  Glenn Morris  <rgm@gnu.org>
1479         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1481 2014-05-21  Eli Zaretskii  <eliz@gnu.org>
1483         * frame.el (set-frame-font): Doc fix.
1485         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
1487 2014-05-21  Dmitry Gutov  <dgutov@yandex.ru>
1489         * emacs-lisp/package.el (package--download-one-archive):
1490         Use `write-region' instead of `save-buffer' to avoid running various
1491         hooks.  (Bug#17155)
1492         (describe-package-1): Same.  Insert newline at the end of the
1493         buffer if appropriate.
1495 2014-05-20  Juri Linkov  <juri@jurta.org>
1497         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1498         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1499         Add more modifiers: meta, control, shift, hyper, super, alt.
1500         (Bug#17439)
1502         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1503         to allow changing its value with `set-variable'.
1505 2014-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1507         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1508         #; comments.
1509         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1510         New functions.
1511         (scheme-mode-variables): Set syntax-propertize-function instead of
1512         font-lock-syntactic-face-function.
1513         (scheme-font-lock-syntactic-face-function): Delete.
1515         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1517 2014-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1519         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1520         (bug#17392).
1522 2014-05-17  Michael Albinus  <michael.albinus@gmx.de>
1524         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1525         for a temporary file name.
1527 2014-05-17  Eli Zaretskii  <eliz@gnu.org>
1529         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
1531 2014-05-16  Michael Albinus  <michael.albinus@gmx.de>
1533         * net/dbus.el (dbus-init-bus, dbus-call-method)
1534         (dbus-call-method-asynchronously, dbus-send-signal)
1535         (dbus-method-return-internal, dbus-method-error-internal):
1536         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
1538 2014-05-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1540         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1541         methods which do not have a doc string.  (Bug#17490)
1543 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
1544             Stefan Monnier  <monnier@iro.umontreal.ca>
1546         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1547         suffix (bug#15419).
1549 2014-05-14  Glenn Morris  <rgm@gnu.org>
1551         * vc/emerge.el (emerge-temp-file-prefix):
1552         Make pointless option obsolete.
1553         (emerge-temp-file-mode): Make non-functional option obsolete.
1555 2014-05-13  Michael Albinus  <michael.albinus@gmx.de>
1557         * net/browse-url.el (browse-url):
1558         Use `unhandled-file-name-directory' when setting `default-directory',
1559         in order to circumvent stalled remote connections.  (Bug#17425)
1561 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1563         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1564         into autoloading just because of a silly indirection.
1566 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
1568         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
1570 2014-05-11  Glenn Morris  <rgm@gnu.org>
1572         * emacs-lisp/find-gc.el: Move to ../admin.
1574 2014-05-10  Glenn Morris  <rgm@gnu.org>
1576         * printing.el (pr-version):
1577         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1579         * net/browse-url.el (browse-url-mosaic):
1580         Create /tmp/Mosaic.PID as a private file.
1582 2014-05-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1584         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1585         (advice--member-p): If name is given, only compare the name.
1586         (advice--remove-function): Don't stop at the first match.
1587         (advice--normalize-place): New function.
1588         (add-function, remove-function): Use it.
1589         (advice--add-function): Pass the name, if any, to
1590         advice--remove-function.
1592 2014-05-09  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
1594         * electric.el (electric-indent-post-self-insert-function): Don't use
1595         `pos' after modifying the buffer (bug#17449).
1597 2014-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1599         * subr.el (function-put): Add function.
1601 2014-05-09  Stephen Berman  <stephen.berman@gmx.net>
1603         * calendar/todo-mode.el (todo-insert-item-from-calendar):
1604         Correct argument list to conform to todo-insert-item--basic.
1606 2014-05-09  Glenn Morris  <rgm@gnu.org>
1608         * files.el (cd-absolute): Test if directory is accessible
1609         rather than executable.  (Bug#17330)
1611         * progmodes/compile.el (recompile):
1612         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
1614 2014-05-08  Juri Linkov  <juri@jurta.org>
1616         * dired.el (dired-check-switches, dired-switches-recursive-p):
1617         New functions.  (Bug#17218)
1618         (dired-switches-escape-p, dired-move-to-end-of-filename):
1619         Use `dired-check-switches'.
1620         (dired-insert-old-subdirs, dired-build-subdir-alist)
1621         (dired-sort-R-check): Use `dired-switches-recursive-p'.
1623 2014-05-08  Glenn Morris  <rgm@gnu.org>
1625         * net/browse-url.el (browse-url-mosaic):
1626         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
1627         This is CVE-2014-3423.
1629 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1631         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1632         (xterm-mouse--read-event-sequence-1000): Return nil if something
1633         looks fishy.
1634         (xterm-mouse-event): Propagate it.
1635         (xterm-mouse-translate-1): Handle it.
1637 2014-05-07  Stephen Berman  <stephen.berman@gmx.net>
1639         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1640         four slots of the parameter list are filled, make sure to pass it
1641         to the argument list of todo-insert-item--basic.
1643 2014-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1645         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1646         Add optional `seen' argument to detect and break infinite loops.
1648 2014-05-06  Eli Zaretskii  <eliz@gnu.org>
1650         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1651         (trace-unsafe, trace-use-tree): Make parentheses style be
1652         according to Emacs style.
1654 2014-05-06  Michael Albinus  <michael.albinus@gmx.de>
1656         * net/tramp-sh.el (tramp-remote-process-environment):
1657         Remove HISTFILE and HISTSIZE; it's too late to set them here.
1658         Add :version entry.
1659         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1660         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
1661         extra "PSx=..." commands.
1662         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1663         (Bug#17295)
1665         (tramp-uudecode): Replace the hard-coded temporary file name by a
1666         format specifier.
1667         (tramp-remote-coding-commands): Enhance docstring.
1668         (tramp-find-inline-encoding): Replace "%t" by a temporary file
1669         name.  (Bug#17415)
1670         This is CVE-2014-3424.
1672 2014-05-06  Glenn Morris  <rgm@gnu.org>
1674         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1675         (find-gc-source-files): Update some names.
1676         (trace-call-tree): Simplify and update.
1677         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
1678         This is CVE-2014-3422.
1680 2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1682         * minibuffer.el (completion--try-word-completion): Revert fix for
1683         Bug#15980 (bug#17375).
1685         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1686         Always store button numbers in the same way in xterm-mouse-last;
1687         Don't burp is xterm-mouse-last is not set as expected.
1688         Never return negative indices.
1690 2014-05-05  Dmitry Gutov  <dgutov@yandex.ru>
1692         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1693         Backtrack one char if the global/char-literal var matcher hits
1694         inside a string.  The next char could be the beginning of an
1695         expression expansion.
1697 2014-05-05  Glenn Morris  <rgm@gnu.org>
1699         * help-fns.el (describe-function-1): Test for an autoload before a
1700         macro, since `macrop' works on autoloads.  (Bug#17410)
1702 2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1704         * electric.el (electric-indent-functions-without-reindent): Add yaml.
1706         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1707         Make sure the new point we return is within the new string (bug#17239).
1709 2014-05-03  Eli Zaretskii  <eliz@gnu.org>
1711         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1713 2014-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1715         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1716         Use nil rather than `default' for the "default" appearance (bug#17388).
1717         * vc/ediff-util.el (ediff-inferior-compare-regions)
1718         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1719         a misleading `default' value when it's really a boolean.
1720         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1721         overlay is not visible.
1723 2014-05-02  Stephen Berman  <stephen.berman@gmx.net>
1725         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1726         (todo-menu): Uncomment and update.
1728 2014-05-02  Stephen Berman  <stephen.berman@gmx.net>
1730         * calendar/todo-mode.el: Reimplement item editing to have the same
1731         basic user interface as item insertion, and make small UI and
1732         larger internal improvements to the latter.
1733         (todo-insert-item): Add reference to the Todo mode user manual to
1734         the documentation string.
1735         (todo-insert-item--basic): Rename from todo-basic-insert-item and
1736         adjust all callers.  Change signature to combine diary and
1737         nonmarking arguments.  Incorporate functionality of deleted item
1738         copying command and add error checking.  Remove detailed
1739         descriptions of the arguments from the documentation string, since
1740         this is treated in the Todo mode user manual.
1741         (todo-copy-item, todo-edit-multiline-item)
1742         (todo-edit-done-item-comment, todo-edit-item-header)
1743         (todo-edit-item-time, todo-edit-item-date-from-calendar)
1744         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1745         (todo-edit-item-date-year, todo-edit-item-date-month)
1746         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1747         Remove.
1748         (todo-edit-item): Reimplement as wrapper command for
1749         todo-edit-item--next-key and make it distinguish done and not done
1750         todo items.
1751         (todo-edit-item--text): New function, replacing old command
1752         todo-edit-item and incorporating deleted commands
1753         todo-edit-multiline-item and todo-edit-done-item-comment.
1754         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1755         Use only numeric value of prefix argument.  Remove detailed
1756         descriptions of the arguments from the documentation string, since
1757         this is treated in the Todo mode user manual.
1758         (todo-edit-item--diary-inclusion): New function, replacing old
1759         command todo-edit-item-diary-inclusion and incorporating and fixing
1760         functionality of deleted command todo-edit-item-diary-nonmarking,
1761         making sure to remove todo-nondiary-marker when adding
1762         diary-nonmarking-symbol.
1763         (todo-edit-category-diary-inclusion): Make sure to delete
1764         diary-nonmarking-symbol when adding todo-nondiary-marker.
1765         (todo-edit-category-diary-nonmarking): Fix indentation.
1766         (todo-insert-item--parameters): Group diary and nonmarking
1767         parameters together.
1768         (todo-insert-item--apply-args): Adjust to signature of
1769         todo-insert-item--basic and incorporate copy parameter.
1770         Make small code improvements.
1771         (todo-insert-item--next-param): Improve prompt and adjust it to
1772         new parameter grouping.  Remove obsolete code.
1773         (todo-edit-item--param-key-alist)
1774         (todo-edit-item--date-param-key-alist)
1775         (todo-edit-done-item--param-key-alist): New defconsts.
1776         (todo-edit-item--prompt): New variable.
1777         (todo-edit-item--next-key): New function.
1778         (todo-key-bindings-t): Bind "e" to todo-edit-item.
1779         Remove bindings of deleted commands.
1781 2014-05-02  Leo Liu  <sdl.web@gmail.com>
1783         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1785 2014-05-01  Glenn Morris  <rgm@gnu.org>
1787         * allout-widgets.el (allout-widgets-tally)
1788         (allout-decorate-item-guides):
1789         * menu-bar.el (menu-bar-positive-p):
1790         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1791         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1792         * progmodes/js.el (js--inside-param-list-p)
1793         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1794         * progmodes/prolog.el (region-exists-p):
1795         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1796         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1797         Doc fixes (replace `iff').
1799 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1801         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1803 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
1805         * dired.el (dired-initial-position-hook, dired-initial-position):
1806         Doc string fixes.
1808 2014-04-29  Glenn Morris  <rgm@gnu.org>
1810         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
1812 2014-04-27  Matthias Dahl  <matthias.dahl@binary-island.eu>
1814         * faces.el (face-spec-recalc): Apply X resources only after the
1815         defface spec has been applied. Thus, X resources are no longer
1816         overridden by the defface spec which also fixes issues on win32 where
1817         the toolbar coloring was wrong because it is set through X resources
1818         and was (wrongfully) overridden.  (Bug#16694)
1820 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1822         * textmodes/rst.el (electric-pair-pairs): Declare.
1823         (rst-mode): Set it (bug#17131).
1825 2014-04-27  Juri Linkov  <juri@jurta.org>
1827         * desktop.el (desktop-value-to-string): Let-bind `print-length'
1828         and `print-level' to nil.  (Bug#17351)
1830 2014-04-25  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1832         * battery.el (battery-update): Handle the case where battery
1833         status is "N/A" (bug#17319).
1835 2014-04-24  Eli Zaretskii  <eliz@gnu.org>
1837         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1838         Use equal-including-properties to compare help-echo strings (bug#17331).
1840 2014-04-24  Leo Liu  <sdl.web@gmail.com>
1842         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1843         Fix syntax for @.  (Bug#17325)
1845 2014-04-24  Daniel Colascione  <dancol@dancol.org>
1847         * emacs-lisp/cl.el (gv): Require gv early to break eager
1848         macro-expansion cycles.
1850 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1852         * simple.el (region-active-p): Check there's a mark (bug#17324).
1854         * simple.el (completion-list-mode-map): Use choose-completion for the
1855         mouse binding as well (bug#17302).
1856         (completion-list-mode, completion-setup-function): Adjust docstring and
1857         echo area message accordingly.
1858         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1859         calling convention of choose-completion.
1860         * comint.el (comint-dynamic-list-completions):
1861         * term.el (term-dynamic-list-completions): Accept choose-completion.
1863         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1864         &, |, +, - and * can't be a division (bug#17317).
1866 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1868         * term/xterm.el (xterm--version-handler): Don't use modern xterm
1869         features on gnome-terminal (bug#16988).
1871 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
1873         * dired.el (dired-insert-set-properties): Do not consider
1874         subdirectory headings and empty lines to be information that
1875         `dired-hide-details-mode' should hide.  (Bug#17228)
1877 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
1879         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1880         Remove test messages.
1881         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1882         and `target' twice.
1884 2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1886         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1887         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1889         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1891 2014-04-21  Michael Albinus  <michael.albinus@gmx.de>
1893         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1894         Set "IFS=" when using read builtin, in order to preserve spaces in
1895         the file name.  Add test messages for hunting a bug on hydra.
1896         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
1898 2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1900         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1901         Don't prettify a word within a symbol.
1903 2014-04-20  Michael Albinus  <michael.albinus@gmx.de>
1905         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1906         possible.
1908 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1910         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1911         assignments such as "case=hello" (bug#17297).
1913 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
1915         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1916         Do not autoload.
1917         (tramp-file-name-handler, tramp-completion-file-name-handler):
1918         Revert patch from 2014-04-10, it isn't necessary anymore.
1919         (tramp-autoload-file-name-handler)
1920         (tramp-register-autoload-file-name-handlers): New defuns.
1921         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1922         (tramp-register-file-name-handlers): Remove also
1923         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1924         Do not autoload its invocation, but eval it after loading of 'tramp.
1926         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1928         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1930 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1932         * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
1933         was done (bug#17264).
1934         * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
1935         comment to EOB.
1937         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1938         here-documents (bug#17262).
1940 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
1942         * term/pc-win.el (x-list-fonts, x-get-selection-value):
1943         Provide doc strings, as required by snarf-documentation.
1945 2014-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1947         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1948         arg of overlays-at.  Use `invisible-p'.
1950         * obsolete/lucid.el (extent-at):
1951         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1952         overlays-at.
1953         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1955 2014-04-14  João Távora  <joaotavora@gmail.com>
1957         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1958         links.  (Bug#17217).
1960 2014-04-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
1962         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1963         Use mapc to loop over a vector.  (Bug#17257).
1965 2014-04-13  Michael Albinus  <michael.albinus@gmx.de>
1967         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1968         patch, there are new problems with file names containing spaces.
1969         Get rid of backticks.  (Bug#17238)
1971 2014-04-13  João Távora  <joaotavora@gmail.com>
1973         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1974         possible bug.
1976 2014-04-13  Eli Zaretskii  <eliz@gnu.org>
1978         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1979         (blink-cursor-mode): Mention customization variables and the
1980         effect of 'blink-cursor-blinks'.
1982 2014-04-12  Barry O'Reilly  <gundaetiapo@gmail.com>
1984         * simple.el (undo): Prevent insertion of identity mapping into
1985         undo-equiv-table so as undo-only does not inf loop in the presence
1986         of consecutive nils in undo list.
1988 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
1990         * faces.el (make-face): Deprecate optional argument as it is no
1991         longer needed/used since the conditional X resources handling
1992         has been pushed down to make-face-x-resource-internal itself.
1993         (make-empty-face): Don't pass optional argument to make-face.
1995 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
1997         * international/characters.el <standard-case-table>: Add entries
1998         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
1999         Set category of Coptic characters be 'g' (Greek).
2001 2014-04-12  Leo Liu  <sdl.web@gmail.com>
2003         * progmodes/octave.el (completion-table-with-cache): Define if not
2004         available.
2005         (octave-goto-function-definition)
2006         (octave-sync-function-file-names)
2007         (octave-find-definition-default-filename): Backquote upattern for
2008         compatibility.
2010 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
2012         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2013         name twice due to backticks.  (Bug#17238)
2015 2014-04-11  Glenn Morris  <rgm@gnu.org>
2017         * term/w32-win.el (x-win-suspend-error):
2018         * term/x-win.el (x-win-suspend-error): Sync docs.
2020 2014-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2022         Ediff's overlay priorities cause more trouble than they solve.
2023         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2024         (ediff-highest-priority): Remove function (bug#17234).
2025         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2026         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2027         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2028         overlay priorities.
2030 2014-04-10  Feng Li  <fengli@gmail.com>  (tiny change)
2032         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2033         entry; use symbol boundaries to avoid mis-matches.
2035 2014-04-10  Michael Albinus  <michael.albinus@gmx.de>
2037         * net/tramp.el (tramp-file-name-handler)
2038         (tramp-completion-file-name-handler): Avoid recursive loading.
2040         * net/tramp-sh.el (tramp-make-copy-program-file-name):
2041         Quote result also locally.
2043 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
2045         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2046         Module methods.  (Bug#17216)
2048 2014-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2050         * help.el (describe-bindings): Fix buffer handling (bug#17210).
2051         (describe-bindings-internal): Mark obsolete.
2053 2014-04-07  João Távora  <joaotavora@gmail.com>
2055         * elec-pair.el:
2056         (electric-pair--syntax-ppss): When inside comments parse from
2057         comment beginning.
2058         (electric-pair--balance-info): Fix typo in comment.
2059         (electric-pair--in-unterminated-string-p): Delete.
2060         (electric-pair--unbalanced-strings-p): New function.
2061         (electric-pair-string-bound-function): New var.
2062         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2063         according to `electric-pair--in-unterminated-string-p'
2065 2014-04-07  João Távora  <joaotavora@gmail.com>
2067         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2068         Inhibit quote pairing if point-max is inside an unterminated string.
2069         (electric-pair--looking-at-unterminated-string-p): Delete.
2070         (electric-pair--in-unterminated-string-p): New function.
2072 2014-04-07  Glenn Morris  <rgm@gnu.org>
2074         * shell.el (shell-directory-tracker):
2075         Go back to just ignoring failures.  (Bug#17159)
2077 2014-04-06  João Távora  <joaotavora@gmail.com>
2079         Fix `electric-pair-delete-adjacent-pairs' in modes binding
2080         backspace. (bug#16981)
2081         * elec-pair.el (electric-pair-backward-delete-char): Delete.
2082         (electric-pair-backward-delete-char-untabify): Delete.
2083         (electric-pair-mode-map): Bind backspace to a menu item filtering
2084         a new `electric-pair-delete-pair' command.
2085         (electric-pair-delete-pair): New command.
2087 2014-04-06  João Távora  <joaotavora@gmail.com>
2089         * progmodes/python.el (python-electric-pair-string-delimiter):
2090         Fix triple-quoting electricity.  (Bug#17192)
2092 2014-04-06  João Távora  <joaotavora@gmail.com>
2094         * elec-pair.el (electric-pair-post-self-insert-function):
2095         Don't skip whitespace when `electric-pair-text-pairs' and
2096         `electric-pair-pairs' were used. syntax to
2097         electric-pair--skip-whitespace.  (Bug#17183)
2099 2014-04-06  Eli Zaretskii  <eliz@gnu.org>
2101         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2102         "<F>".  (Bug#17199)
2104 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2106         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2107         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2109 2014-04-05  Glenn Morris  <rgm@gnu.org>
2111         * help.el (view-lossage): Doc tweak.
2113 2014-04-05  Matthias Dahl  <matthias.dahl@binary-island.eu>
2115         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2116         only when inhibit-x-resources is nil, and do that earlier in the
2117         function.  Doc fix.  (Bug#16694)
2118         (face-spec-choose): Accept additional optional argument, whose
2119         value is returned if no matching attributes are found.
2120         (face-spec-recalc): Use the new optional argument when calling
2121         face-spec-choose.  (Bug#16378)
2122         (make-face-x-resource-internal): Do nothing when
2123         inhibit-x-resources is non-nil.  Don't touch the default face if
2124         reversed video is given--as was done in previous versions of Emacs.
2125         (face-set-after-frame-default): Don't call
2126         make-face-x-resource-internal here.  (Bug#16434)
2128 2014-04-04  Tassilo Horn  <tsdh@gnu.org>
2130         * doc-view.el (doc-view-bookmark-jump):
2131         Use `bookmark-after-jump-hook' to jump to the right page after the
2132         buffer is shown in a window.  (bug#16090)
2134 2014-04-04  Eli Zaretskii  <eliz@gnu.org>
2136         * international/characters.el (mirroring): Fix last change:
2137         instead of loading uni-mirrored.el explicitly, do that implicitly
2138         by creating the 'mirroring' uniprop table.  This avoids announcing
2139         the loading of uni-mirrored.el.
2141 2014-04-04  Glenn Morris  <rgm@gnu.org>
2143         * files.el (buffer-stale--default-function)
2144         (buffer-stale-function, revert-buffer--default):
2145         * autorevert.el (auto-revert-buffers): Doc tweaks.
2147 2014-04-03  Eli Zaretskii  <eliz@gnu.org>
2149         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
2151 2014-04-03  Glenn Morris  <rgm@gnu.org>
2153         * files.el (make-backup-file-name-function)
2154         (make-backup-file-name, make-backup-file-name--default-function)
2155         (make-backup-file-name-1, find-backup-file-name)
2156         (revert-buffer-function, revert-buffer-insert-file-contents-function)
2157         (buffer-stale--default-function, buffer-stale-function)
2158         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2159         (revert-buffer, revert-buffer--default)
2160         (revert-buffer-insert-file-contents--default-function):
2161         Doc fixes related to defaults no longer being nil.
2162         (make-backup-file-name-function): Bump :version.
2163         Restore nil as a valid but deprecated custom type.
2165 2014-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2167         * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2168         used as a variable (bug#17174).
2170 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2172         * progmodes/perl-mode.el (perl-indent-new-calculate):
2173         Handle forward-sexp failure (bug#16985).
2174         (perl-syntax-propertize-function): Add "foreach" and "for" statement
2175         modifiers introducing expressions (bug#17116).
2177 2014-04-02  Glenn Morris  <rgm@gnu.org>
2179         * menu-bar.el (menu-bar-file-menu):
2180         * vc/ediff.el (ediff-current-file):
2181         Update for revert-buffer-function no longer being nil by default.
2183         * simple.el (command-execute): Respect nil disabled-command-function.
2185 2014-04-01  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2187         * simple.el (command-execute): Do not execute the command when it
2188         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
2190 2014-03-29  Juri Linkov  <juri@jurta.org>
2192         * dired-aux.el (dired-compress-file): Don't use string-match-p
2193         because its match data is used afterwards.
2195 2014-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2197         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2198         0 like nil.
2200 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
2202         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2203         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
2205         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2206         Don't propertize `?' or `!' as symbol constituent when after
2207         colon.  (Bug#17097)
2209 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
2211         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2212         which is no longer needed and causes trouble in GTK builds (bug#17046).
2214         * emacs-lisp/package-x.el (package--archive-contents-from-url):
2215         Use url-insert-file-contents; package-handle-response no longer exists.
2217 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
2219         * emacs-lisp/package.el: Fix bug#16733 (again).
2220         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2221         (url-http-target-url): Remove unused declarations.
2222         (package-handle-response): Remove.
2223         (package--with-work-buffer): Use url-insert-file-contents and simplify.
2224         (package--download-one-archive): Use current-buffer instead of
2225         dynamic binding of `buffer'.
2226         (describe-package-1): Do not decode readme-string.
2228 2014-03-25  Barry O'Reilly  <gundaetiapo@gmail.com>
2230         * simple.el (primitive-undo): Correction to 2014-03-24 change.
2232 2014-03-25  Michael Albinus  <michael.albinus@gmx.de>
2234         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2236         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2237         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
2238         `remote-file-name-inhibit-cache' to nil in the second pass.
2239         (tramp-find-executable): Do not call "which" on SunOS.
2240         (tramp-send-command-and-check): Fix docstring.
2241         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2242         check whether source directory has set the sticky bit.
2244 2014-03-24  Barry O'Reilly  <gundaetiapo@gmail.com>
2246         * simple.el (primitive-undo): Only process marker adjustments
2247         validated against their corresponding (TEXT . POS).  Issue warning
2248         for lone marker adjustments in undo history.  (Bug#16818)
2249         (undo-make-selective-list): Add marker adjustments to selective
2250         undo list based on whether their corresponding (TEXT . POS) is in
2251         the region.  Remove variable adjusted-markers, which was unused
2252         and only non nil during undo-make-selective-list.
2253         (undo-elt-in-region): Return nil when passed a marker adjustment
2254         and explain in function doc.
2256 2014-03-24  Dmitry Gutov  <dgutov@yandex.ru>
2258         * emacs-lisp/package.el (package--add-to-archive-contents):
2259         Include already installed and built-in packages in
2260         `package-archive-contents'.
2261         (package-install): Don't include already installed packages in the
2262         options during interactive invocation.  (Bug#16762)
2264 2014-03-24  Daniel Colascione  <dancol@dancol.org>
2266         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2267         instead of cl-loop search function.
2269 2014-03-24  Juanma Barranquero  <lekktu@gmail.com>
2271         * frameset.el (frameset--initial-params): Fix typo in parameter name.
2273 2014-03-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2275         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2277 2014-03-24  Dmitry Gutov  <dgutov@yandex.ru>
2279         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2280         Match special global variables without curlies, too.
2281         (ruby-font-lock-keywords): Simplify the matcher for special global
2282         variables.  Don't require a non-word character after the variable.
2283         (Bug#17057)
2285 2014-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2287         * simple.el (redisplay-highlight-region-function): Increase priority of
2288         overlay to make sure boundaries are visible (bug#15899).
2290 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
2292         * frameset.el (frameset-restore): Compare display strings with equal.
2294         * frame.el (make-frame): Don't quote display name in error message,
2295         it is already a string.
2297 2014-03-23  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2299         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2300         the password.
2302 2014-03-23  Dmitry Gutov  <dgutov@yandex.ru>
2304         * emacs-lisp/package.el (package-show-package-list): If the buffer
2305         is already displayed in another window, switch to that window.
2307 2014-03-21  Daniel Colascione  <dancol@dancol.org>
2309         * mail/emacsbug.el (report-emacs-bug): Include memory usage
2310         information in bug reports.
2312 2014-03-23  Daniel Colascione  <dancol@dancol.org>
2314         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2315         list to look for keyword arguments instead of `memq', fixing
2316         (Bug#3647) --- unfortunately, only for freshly-compiled code.
2317         Please make bootstrap.
2319 2014-03-23  Richard Stallman  <rms@gnu.org>
2321         * battery.el (battery-linux-sysfs): Search for each field
2322         from the beginning of the buffer.
2324 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
2326         * emacs-lisp/package.el (package-desc): Use the contents of the
2327         quoted form, not its cdr.  (Bug#16873)
2329 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
2331         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2332         benefit of doc.c; change parameter profile to match the X function.
2334 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
2336         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2337         and `tramp-copy-env'.
2339         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2340         (tramp-maybe-open-connection): Handle `tramp-login-env'.
2342 2014-03-21  Glenn Morris  <rgm@gnu.org>
2344         * electric.el (electric-indent-post-self-insert-function): Add doc.
2346 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
2348         * emacs-lisp/package.el (package-compute-transaction):
2349         Use `version-list-<=' to compare the requirement version against
2350         the version of package already to be installed.  Update the error
2351         message.  (Bug#16826)
2353         * progmodes/ruby-mode.el (ruby-smie-rules):
2354         Add indentation rule for ` @ '.  (Bug#17050)
2356 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
2358         * align.el (align-regexp): Remove superfluous backslash.
2360         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2361         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2362         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2363         Fix docstring typos.
2364         (ffap-next): Use C-u in docstring.
2365         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2366         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2367         Remove superfluous backslashes.
2368         (ffap-string-at-point): Reflow docstring.
2370         * server.el (server-host): Reflow docstring.
2371         (server-unload-function): Fix docstring typo.
2372         (server-eval-at): Remove superfluous backslash.
2374         * skeleton.el (skeleton-insert): Remove superfluous backslash.
2375         (skeleton-insert): Doc fix.
2376         (skeleton-insert): Reflow docstring.
2378         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2379         (tty-color-approximate, tty-color-by-index, tty-color-values)
2380         (tty-color-desc): Remove superfluous backslashes.
2382 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2384         * electric.el (electric-newline-and-maybe-indent): New command.
2385         Bind it globally to C-j.
2386         (electric-indent-mode): Don't mess with the global map any more.
2387         Don't drop the post-self-insert-hook is some buffer is still using it
2388         (bug#16770).
2390         * bindings.el (global-map): Remove C-j binding.
2392         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2393         the docstring of functions advised before dumping (bug#16993).
2395 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
2397         * ps-print.el (ps-generate-postscript-with-faces):
2398         Explicitly deactivate the mark (bug#16866).
2399         * simple.el (deactivate-mark): Update region highlight.
2401 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
2403         * emacs-lisp/package.el (describe-package-1):
2404         Decode commentary (bug#16733).
2406 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
2408         * custom.el (defcustom): Doc fix: recommend avoiding destructive
2409         modification of the value argument of :set (bug#16755).
2411 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2413         * simple.el (newline-and-indent): Do autofill (bug#17031).
2415 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
2417         * newcomment.el (comment-normalize-vars): Only add escaping check
2418         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
2419         (comment-beginning): Use `narrow-to-region' instead of moving back
2420         one character.
2421         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2422         (comment-start-skip): Update the docstring.
2424 2014-03-18  Richard Stallman  <rms@gnu.org>
2426         * dired.el (dired-display-file): Force use of other window.
2428 2014-03-18  Daniel Colascione  <dancol@dancol.org>
2430         * startup.el (tty-handle-args): Remove debug message from 2007.
2432 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2434         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2435         (advice--make-interactive-form): Use it to avoid (auto)loading function.
2436         (advice--make-1, advice-add, advice-remove):
2437         Remove braindead :advice-pending hack.
2439 2014-03-17  Glenn Morris  <rgm@gnu.org>
2441         * calendar/calendar.el (calendar-generate-month): Apply weekend
2442         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
2444 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
2446         * net/tramp.el (tramp-action-out-of-band): Read pending output.
2447         (tramp-call-process): Trace also DESTINATION.
2449         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2450         Quote file names when they are local.  Remove superfluous trace.
2452 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
2454         * newcomment.el (comment-beginning): If `comment-start-skip'
2455         doesn't match, move back one char and try again.  (Bug#16971)
2457         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2458         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2459         Set `comment-start-skip' to a simpler value that doesn't try to
2460         check if the semicolon is escaped (this is handled by
2461         `syntax-ppss' now).  (Bug#16971)
2463         * progmodes/scheme.el (scheme-mode-variables): Same.
2465 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
2467         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2468         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2469         current (Bug#16816, Bug#17007).
2470         (with-current-buffer-window): New macro doing the same as
2471         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2472         * help.el (help-print-return-message): Warn in doc-string to not
2473         use this in `with-help-window'.
2474         (describe-bindings-internal): Call `describe-buffer-bindings'
2475         from within help buffer.  See Juanma's scenario in (Bug#16816).
2476         (with-help-window): Update doc-string.
2477         * dired.el (dired-mark-pop-up):
2478         * files.el (save-buffers-kill-emacs):
2479         * register.el (register-preview): Use `with-current-buffer-window'
2480         instead of `with-temp-buffer-window'.
2482 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
2484         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2485         Implement inserting into current buffer, documented in their docstrings.
2486         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2487         (rst-section-tree-point, rst-forward-section, rst-indent)
2488         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2489         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2490         (rst-font-lock-handle-adornment-pre-match-form)
2491         (rst-repeat-last-character): Reflow docstrings.
2492         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2493         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2494         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2495         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2496         Fix docstring typos.
2497         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2498         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2499         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2501 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
2503         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2504         for compatibility with other ports.
2505         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
2506         from the -xrm command line argument, but in the Nextstep port its value
2507         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2509         * progmodes/python.el (defconst, python-syntax-count-quotes)
2510         (python-indent-region, python-indent-shift-right)
2511         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2512         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2513         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2514         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2515         (inferior-python-mode, python-shell-make-comint, run-python-internal)
2516         (python-shell-buffer-substring, python-shell-send-buffer)
2517         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2518         (python-completion-complete-at-point, python-fill-docstring-style)
2519         (python-eldoc-function, python-imenu-format-item-label)
2520         (python-imenu-format-parent-item-label)
2521         (python-imenu-format-parent-item-jump-label)
2522         (python-imenu--build-tree, python-imenu-create-index)
2523         (python-imenu-create-flat-index): Fix docstring typos.
2524         (python-indent-context, python-shell-prompt-regexp, run-python):
2525         Remove superfluous backslashes.
2526         (python-indent-line, python-nav-beginning-of-defun)
2527         (python-shell-get-buffer, python-shell-get-process)
2528         (python-info-current-defun, python-info-current-line-comment-p)
2529         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2530         (python-indent-post-self-insert-function, python-shell-send-file)
2531         (python-shell-completion-get-completions)
2532         (python-shell-completion-complete-or-indent)
2533         (python-eldoc--get-doc-at-point): Reflow docstrings.
2535 2014-03-14  Glenn Morris  <rgm@gnu.org>
2537         * emacs-lisp/package.el (package-menu-mode-map):
2538         Replace use of obsolete function alias.  Tweak menu item text.
2540         * info.el (Info-finder-find-node):
2541         Ignore the `emacs' metapackage.  (Bug#10813)
2543         * finder.el (finder-list-matches): Include unversioned packages
2544         in the result of a keyword search.
2546         * finder.el (finder--builtins-descriptions): New constant.
2547         (finder-compile-keywords): Use finder--builtins-descriptions.
2549 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
2551         * simple.el (blink-matching-paren): Describe the new value,
2552         `jump', enabling the old behavior.
2553         (blink-matching-open): Use that value.  (Bug#17008)
2555 2014-03-14  Glenn Morris  <rgm@gnu.org>
2557         * finder.el (finder-no-scan-regexp): Add leim-list.
2558         (finder-compile-keywords):
2559         Don't skip files with same basename.  (Bug#14010)
2560         * Makefile.in (setwins_finder): New, excluding leim.
2561         (finder-data): Use setwins_finder.
2563         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2564         (help-function-arglist, help-make-usage): Move from here...
2565         * help.el (help-split-fundoc, help-add-fundoc-usage)
2566         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
2567         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2569 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
2571         * net/socks.el (socks, socks-override-functions)
2572         (socks-find-services-entry):
2573         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2574         (hif-find-ifdef-block):
2575         * progmodes/modula2.el (m2-indent): Fix docstring typos.
2577         * net/tls.el (tls-program): Reflow docstring.
2579         * progmodes/pascal.el (pascal-mode-abbrev-table)
2580         (pascal-imenu-generic-expression, pascal-auto-endcomments)
2581         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2582         (pascal-outline-mode): Fix docstring typos.
2583         (pascal-mode): Let define-derived-mode document mode hook.
2584         (pascal-uncomment-area): Reflow.
2585         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2587         * progmodes/opascal.el (opascal-compound-block-indent)
2588         (opascal-case-label-indent): Fix docstring typos.
2589         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2591 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
2593         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2594         Fontify multiple adjacent negation chars.  (Bug#17004)
2596 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
2598         * emacs-lisp/package.el (package--prepare-dependencies):
2599         Accept requirements without explicit version (bug#14941).
2601 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
2603         * register.el (register-separator, copy-to-register): Doc fixes.
2604         (register-preview-default): Remove unnecessary call to concat.
2606         * frameset.el (frameset-restore): When checking for a visible frame,
2607         use the action map instead of calling visible-frame-list.
2609 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
2611         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2613 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
2615         * window.el (fit-frame-to-buffer): Get maximum width from
2616         display's width instead of height.
2618 2014-03-12  Glenn Morris  <rgm@gnu.org>
2620         * desktop.el (desktop-restore-frames)
2621         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2622         (desktop-restore-reuses-frames): Doc tweaks.
2624         * electric.el (electric-indent-mode): Doc fix.
2626 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
2628         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2629         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2630         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2631         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2632         (cvs-dired-use-hook): Fix docstring typos.
2633         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2634         Doc fixes.
2636         * vc/pcvs-defs.el (cvs-auto-remove-handled)
2637         (cvs-auto-remove-directories, cvs-default-ignore-marks)
2638         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2639         (cvs-execute-single-dir): Fix docstring typos.
2641         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2642         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2644         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2646         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2647         Fix docstring typos.
2649 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
2651         * frameset.el (frameset--jump-to-register): Add autoload; it could be
2652         called from jump-to-register after unloading the frameset package.
2654 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2656         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2657         (bug#16975).  Deactivate the mark before setting it to nil.
2658         (activate-mark): Do nothing if region is already active.
2660 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
2662         * frameset.el (frameset--target-display): Remove definition; declare.
2663         (frameset-save, frameset-restore): Let-bind frameset--target-display.
2665 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2667         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2668         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2669         when the advice is pending.
2670         (advice-remove): Remove this marker when not needed any more.
2672 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
2674         * frameset.el: Separate options for reusing frames and cleaning up.
2675         (frameset--reuse-list): Remove definition; declare.
2676         (frameset--action-map): Declare.
2677         (frameset--find-frame-if): Doc fix.
2678         (frameset--restore-frame): Cache frame action.
2679         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2680         how to clean up the frame list after restoring.  Remove cleaning
2681         options from REUSE-FRAMES.  Change all keyword values to symbols.
2682         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2684         * desktop.el (desktop-restore-forces-onscreen)
2685         (desktop-restore-reuses-frames): Use non-keyword values.
2686         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2688 2014-03-10  Glenn Morris  <rgm@gnu.org>
2690         * files.el (find-file): Doc fix: update info node name.
2692         * emacs-lisp/advice.el (ad-add-advice, defadvice):
2693         Doc fix: remove references to deleted info nodes.
2695 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
2697         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2698         Do not add `nil' to the environment, when there's no remote `locale'.
2699         (tramp-find-inline-encoding): Check, that the remote host has
2700         installed perl, before sending scripts.
2702 2014-03-10  Leo Liu  <sdl.web@gmail.com>
2704         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2705         Clear eldoc-last-message.  (Bug#16920)
2707 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2709         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2710         (bug#14430).
2712 2014-03-09  Juri Linkov  <juri@jurta.org>
2714         * ansi-color.el (ansi-color-names-vector): Copy default colors
2715         from `xterm-standard-colors' that look well on the default white
2716         background (and also on the black background) to avoid illegible
2717         color combinations like yellow-on-white and white-on-white.
2718         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2720 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
2722         * frameset.el (frameset-restore): When no frame is visible, do not
2723         generate a list of frames, just make visible the selected one.
2725 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
2727         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2728         it only contains the repository root.  (Bug#16897)
2730 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
2732         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2733         only when `remote-file-name-inhibit-cache' is nil.
2734         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
2736 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
2738         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2739         Fix doc-strings.
2740         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
2741         fit-frame-to-buffer variable.  Fix doc-string.
2742         (fit-window-to-buffer): Set ONLY argument in call of
2743         fit-frame-to-buffer.  Fix doc-string.
2745 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
2747         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2748         (tramp-action-password): Clear password cache if needed.
2749         (tramp-read-passwd): Do not clear password cache.
2751         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2752         cache unless it is the first password request.
2754 2014-03-06  Glenn Morris  <rgm@gnu.org>
2756         * simple.el (newline): Doc tweak.
2758         * emacs-lisp/shadow.el (load-path-shadows-find):
2759         Ignore dir-locals.  (Bug#12357)
2761 2014-03-05  Glenn Morris  <rgm@gnu.org>
2763         * files.el (interpreter-mode-alist):
2764         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
2766 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
2768         * frameset.el (frameset--initial-params): Filter out null entries.
2770 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
2772         * window.el (window-min-height, window-min-width):
2773         Rewrite doc-strings.
2774         (window-body-size): Add PIXELWISE argument to make it consistent
2775         with its callees.
2777 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
2779         * finder.el (finder-mode-map, finder-mode-syntax-table):
2780         Revert part of 2014-02-28 change.
2782 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
2784         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2785         (eww-setup-buffer): Clear next/prev/etc more reliably.
2786         (eww-textarea-map): [tab] doesn't work on tty.
2787         Reported by Mario Lang.
2789         * net/shr.el (shr-map): Ditto.
2791 2014-03-04  Glenn Morris  <rgm@gnu.org>
2793         * minibuffer.el (completion-hilit-commonality):
2794         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2796 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
2798         * hilit-chg.el (hilit-chg-unload-function): New function.
2799         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2800         (hilit-chg-map-changes): Prefer cardinal number to digit.
2801         (hilit-chg-display-changes): Reflow docstring.
2802         (highlight-changes-rotate-faces): Remove superfluous backslash.
2804 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
2806         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2807         `tramp-send-command-and-check'.
2809 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
2811         * hexl.el (hexl-address-region, hexl-ascii-region)
2812         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2813         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2814         (hexl-forward-word, hexl-previous-line, hexl-next-line):
2815         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2816         (hexl-mode): Doc fix.
2817         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2818         (hexl-mode-ruler): Fix typos in docstrings.
2820         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2821         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2822         Remove superfluous backslashes.
2823         (strokes-last-stroke, strokes-global-map, strokes-mode):
2824         Reflow docstrings.
2825         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2826         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2827         (strokes-distance-squared, strokes-global-set-stroke)
2828         (strokes-global-set-stroke-string): Doc fixes.
2829         (strokes-help): Fix typos; reflow docstring.
2831 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
2833         * window.el (window-in-direction): Fix doc-string.
2835 2014-03-04  Glenn Morris  <rgm@gnu.org>
2837         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2838         Explicit error if no grammar.
2839         (smie-config-save): Doc fix.  Fix quote typo.
2841 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2843         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2844         electric-indent-mode-hook if we obey electric-indent-mode.
2845         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2846         decide whether we obey electric-indent-mode.
2847         (c-change-set-fl-decl-start, c-extend-after-change-region):
2848         Silence warnings.
2849         (c-electric-indent-mode-hook): Assume we do want to obey
2850         electric-indent-mode.
2852         * electric.el (electric-indent-mode-has-been-called): Remove.
2853         (electric-indent-mode): Fix accordingly.
2855         * files.el (hack-local-variables): Mention file name in warning.
2857         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2859 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
2861         * bindings.el: Add comment describing why C-d binds to `delete-char'.
2862         * simple.el (delete-forward-char): Mark as interactive-only.
2864 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
2866         * icomplete.el (icomplete-completions):
2867         Follow-up to 2014-03-01 change.
2869         * icomplete.el: Miscellaneous doc fixes.
2870         Use Icomplete everywhere instead of icomplete for consistency.
2871         (icomplete-max-delay-chars): Fix typo.
2872         (icomplete-mode): Use \[].
2873         (icomplete-tidy, icomplete-exhibit): Reflow.
2874         (icomplete-minibuffer-setup-hook, icomplete-completions):
2875         Remove superfluous backlashes.
2877         * ido.el: Miscellaneous doc fixes.
2878         Use Ido everywhere instead of ido or `ido' for consistency.
2879         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2880         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2881         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2882         (ido-separator): Extract obsolescence info from docstring and declare
2883         with make-obsolete-variable.
2884         (ido-minibuffer-setup-hook): Simplify example.
2885         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2886         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2887         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2888         (ido-everywhere): Reflow docstring.
2889         (ido-toggle-vc): Doc fix.
2890         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2891         of long list of keybindings.
2893 2014-03-03  Glenn Morris  <rgm@gnu.org>
2895         * frame.el (display-pixel-height, display-pixel-width)
2896         (display-mm-dimensions-alist, display-mm-height)
2897         (display-mm-width): Doc tweaks.
2899 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
2901         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2902         case of undo in region.
2904 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
2906         * window.el (fit-window-to-buffer): Fix argument in window-size
2907         call when window is horizontally combined.
2909 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
2911         * icomplete.el (icomplete-completions): Use string-width.
2912         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2914 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
2916         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2917         Highlight regexp options.  (Bug#16914)
2919 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
2921         * window.el (window--max-delta-1): Round down when calculating
2922         how many lines/columns we can get from a window.
2924 2014-03-01  Glenn Morris  <rgm@gnu.org>
2926         * isearch.el (search-invisible): Doc fix.
2928         * minibuffer.el (completion-hilit-commonality):
2929         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
2930         * comint.el (comint-dynamic-list-completions): Doc fix.
2931         * comint.el (comint-dynamic-list-completions):
2932         * filecache.el (file-cache-minibuffer-complete):
2933         * tempo.el (tempo-display-completions):
2934         * eshell/em-hist.el (eshell-list-history):
2935         Replace use of obsolete argument of display-completion-list.
2937 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
2939         * icomplete.el (icomplete-completions):
2940         Revert back to using "..." when ?… cannot be displayed.
2942 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
2944         * finder.el (finder-unload-function): New function.
2946 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
2948         * dframe.el (dframe-detach):
2949         * find-dired.el (find-dired, find-name-dired):
2950         * finder.el (finder-mode-map, finder-mode-syntax-table)
2951         (finder-headmark, finder-select, finder-mouse-select):
2952         Fix docstring typos.
2954 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
2956         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2957         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2958         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2959         Fix doc-string based on a suggestion by Nicolas Richard
2960         <theonewiththeevillook@yahoo.fr>.
2961         * help.el (with-help-window): Fix doc-string.
2963 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
2965         * net/shr.el (shr-image-animate): New option.
2966         (shr-put-image): Respect shr-image-animate.
2968 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
2970         * net/tramp-adb.el (tramp-adb-parse-device-names):
2971         Use `accept-process-output'.
2972         (tramp-adb-handle-file-truename): Cache the localname only.
2973         (tramp-adb-handle-make-directory)
2974         (tramp-adb-handle-delete-directory): Flush file properties correctly.
2975         (tramp-adb-handle-set-file-modes): Do not raise an error when file
2976         modes cannot be changed.
2978         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2979         file properties of symlinks.
2981 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
2983         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2984         required/optional fields to match development biblatex.  (Bug#16781)
2986 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
2988         * saveplace.el (toggle-save-place):
2989         Fix argument handling.  (Bug#16673)
2991 2014-02-28  Glenn Morris  <rgm@gnu.org>
2993         * minibuffer.el (completions-first-difference)
2994         (completions-common-part, completion-hilit-commonality): Doc fixes.
2996 2014-02-28  Karl Berry  <karl@gnu.org>
2998         * info.el (Info-mode-map): Add H for describe-mode,
2999         to synchronize with standalone Info.
3001 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
3003         * progmodes/sql.el (sql-interactive-mode):
3004         Avoid setting global comint-input-ring-separator.  (Bug#16814)
3006 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
3008         * net/dbus.el (dbus--init-bus): Declare function.
3009         (dbus-path-local, dbus-interface-local): New defconst.
3010         (dbus-init-bus): Use them.
3011         (dbus-return-values-table): Extend doc.
3012         (dbus-handle-bus-disconnect): Extend error message.
3014 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
3016         * subr.el (y-or-n-p): Fix double space issue in message.
3018 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
3020         * net/tramp.el (tramp-call-process): Improve trace message.
3021         (tramp-handle-insert-file-contents): Trace error case.
3023         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3024         <insert-directory>: Use `tramp-handle-insert-directory'.
3025         (tramp-adb-handle-insert-directory): Remove function.
3026         (tramp-adb-send-command-and-check): New defun, replacing
3027         `tramp-adb-command-exit-status'.  Change all callees.
3028         (tramp-adb-handle-file-attributes)
3029         (tramp-adb-handle-directory-files-and-attributes): Use it.
3030         (tramp-adb-ls-output-name-less-p):
3031         Use `directory-listing-before-filename-regexp'.
3032         (tramp-adb-handle-delete-directory): Flush also file properties of
3033         the truename of directory.
3034         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3035         (tramp-adb-handle-file-local-copy): Make the local copy readable.
3036         (tramp-adb-handle-write-region): Implement APPEND.
3037         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
3038         properties correctly.
3039         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3040         variables.  Check for connected devices only when needed.
3042 2014-02-27  Glenn Morris  <rgm@gnu.org>
3044         * minibuffer.el (completion-table-dynamic)
3045         (completion-table-with-cache): Doc fixes.
3047         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3048         (completing-read-multiple): Doc fixes.
3050 2014-02-27  Daniel Colascione  <dancol@dancol.org>
3052         * minibuffer.el (completion--nth-completion): Fix indentation.
3054         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3055         explicit tramp path is empty.
3057 2014-02-27  Glenn Morris  <rgm@gnu.org>
3059         * emacs-lisp/crm.el (completing-read-multiple):
3060         Empower help-enable-auto-load.
3062 2014-02-26  Glenn Morris  <rgm@gnu.org>
3064         * startup.el (command-line): Don't init the tty in daemon mode.
3066         Avoid calling tty-setup-hook twice, eg if a term file
3067         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
3068         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3069         (tty-create-frame-with-faces): Use it.
3070         * startup.el (command-line): Pass run-hook argument
3071         to tty-run-terminal-initialization.
3073         * dired.el (dired-restore-desktop-buffer): Demote errors;
3074         eg in case a glob match fails.  (Bug#16884)
3076 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
3078         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3079         error from `read-from-string'.  (Bug#16850)
3081         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3082         result of `completing-read' in the interactive form.  (Bug#16854)
3084 2014-02-25  Glenn Morris  <rgm@gnu.org>
3086         * image.el (image-animate, image-animate-timeout):
3087         Stop animating images in dead buffers.  (Bug#16878)
3089         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
3091         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3092         Doc fixes.
3093         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
3094         * term/sun.el (sun-raw-prefix-hooks):
3095         Use tty-setup-hook instead of term-setup-hook.
3096         (terminal-init-sun): Construct message from bytecomp plist.
3097         * term/wyse50.el (enable-arrow-keys): Doc fix.
3099 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
3101         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3102         Fix docstring typos.
3104 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
3106         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3108 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3110         * minibuffer.el (completion--try-word-completion):
3111         Fix error when completing M-x commands (bug#16808).
3113 2014-02-24  Leo Liu  <sdl.web@gmail.com>
3115         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3117 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
3119         * apropos.el (apropos-print): Avoid formatting error when
3120         apropos-do-all and apropos-compact-layout are both t.
3122 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
3124         * apropos.el (apropos-property, apropos-all-words-regexp)
3125         (apropos-true-hit, apropos-variable, apropos-print):
3126         Fix docstring typos, and remove obsolete comment.
3128 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
3130         * net/tramp-sh.el (tramp-sh-handle-file-truename):
3131         Preserve trailing "/".  (Bug#16851)
3133 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
3135         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3136         after `=>' (bug#16811).
3137         (ruby-smie-rules): Handle the inconsistent second element of the
3138         list returned by `smie-indent--parent'.
3139         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3140         method call.
3142 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
3144         * elec-pair.el (electric-pair-text-syntax-table)
3145         (electric-pair-syntax-info, electric-pair--syntax-ppss)
3146         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3147         (electric-pair--looking-at-unterminated-string-p): Doc fix.
3148         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
3150 2014-02-22  Glenn Morris  <rgm@gnu.org>
3152         * imenu.el (imenu--generic-function): Doc fix.
3154         * register.el (frame-configuration-to-register): Make obsolete.
3156 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
3158         * desktop.el (desktop-save-buffer-p): Do not fail when
3159         desktop-files-not-to-save is nil.  Return t for true result
3160         as the doc says.
3162 2014-02-22  Daniel Colascione  <dancol@dancol.org>
3164         * net/secrets.el (secrets-create-item, secrets-search-items):
3165         Check that attribute values are strings, avoiding the construction
3166         of invalid dbus messages.
3168 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
3170         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3171         defun-declarations-alist.
3173 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3175         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3176         (bug#16829).
3178 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
3180         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3181         (whitespace-newline, whitespace-trailing, whitespace-line)
3182         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3183         (whitespace-space-after-tab): Fix typo in docstrings.
3185 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
3187         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3189         * electric.el (electric-indent-functions-without-reindent):
3190         Add `yaml-indent-line'.
3192 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
3194         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3195         It has done nothing for years; should be removed after the release.
3197         * simple.el (choose-completion): Fix docstring typo.
3198         (read-quoted-char-radix): Remove unneeded * in docstring.
3199         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3200         Don't escape parentheses unnecessarily in docstrings.
3202 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
3204         Fix handling of window-min-height/-width (Bug#16738).
3205         * window.el (window--dump-window, window--dump-frame):
3206         New functions.
3207         (window--min-size-1): Account for window dividers.
3208         When window-resize-pixelwise is nil, delay rounding till after the
3209         sum of the window components has been calculated.
3210         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3211         nil make sure at least one text line and two text columns remain
3212         fully visible.
3213         (window-resize): Signal an error when window-resize-apply fails.
3214         (window--resize-child-windows): Fix calculation of by how many
3215         pixels a window can still be shrunk via window-new-normal.
3216         (adjust-window-trailing-edge): Call window--resizable with
3217         correct TRAIL argument.
3219         (with-temp-buffer-window): Don't evaluate BODY within
3220         with-current-buffer (Bug#16816).
3222 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
3224         * net/tramp.el (tramp-check-cached-permissions):
3225         Call `file-attributes' with `suffix' being a symbol but a string.
3227 2014-02-21  Daniel Colascione  <dancol@dancol.org>
3229         * net/dbus.el (dbus-init-bus-1): Declare new subr.
3230         (dbus-init-bus): New function: call into dbus-init-bus-1
3231         and installs a handler for the disconnect signal.
3232         (dbus-call-method): Rewrite to look for result in cons.
3233         (dbus-call-method-handler): Store result in cons.
3234         (dbus-check-event): Recognize events with nil sender as valid.
3235         (dbus-handle-bus-disconnect): New function.  React to bus
3236         disconnection signal by synthesizing dbus error for each
3237         pending synchronous or asynchronous call.
3238         (dbus-notice-synchronous-call-errors): New function.
3239         (dbus-handle-event): Raise errors directly only when `dbus-debug'
3240         is true, not all the time.
3242 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
3244         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3245         Remove obsolescence declarations, these variables do not exist anymore.
3247         * savehist.el (savehist-save-minibuffer-history)
3248         (savehist-additional-variables, savehist-file, savehist-mode-hook)
3249         (savehist-save-hook, savehist-coding-system, savehist-loaded)
3250         (savehist-load, savehist-install, savehist-autosave): Fix typos;
3251         mostly, refer to "Savehist mode" when talking about the mode,
3252         and not the function.
3254         * saveplace.el (save-place): Remove redundant info in docstring.
3255         (save-place-forget-unreadable-files, toggle-save-place)
3256         (save-place-forget-unreadable-files, save-place-dired-hook):
3257         Fix typos and remove unneeded backslashes.
3259 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
3261         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3262         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3264         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3265         <insert-directory>: Use `tramp-handle-insert-directory'.
3266         (tramp-gvfs-handle-insert-directory): Remove function.
3268         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3269         Call `tramp-handle-insert-directory'.
3271 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
3273         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3274         before the start of buffer/region (bug#16799).
3276 2014-02-20  Glenn Morris  <rgm@gnu.org>
3278         * isearch.el (search-invisible): Doc fix.
3280 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
3282         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3283         (bug#16657).
3285 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
3287         * frameset.el (frameset-restore): Delay removing an old frame's
3288         duplicate id until the new frame has been correctly created.
3290 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
3292         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3293         (tramp-check-cached-permissions): Call `file-attributes' if the
3294         cache is empty.
3296         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3297         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3299         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3300         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3301         (tramp-gvfs-maybe-open-connection): Set always connection
3302         properties, even if target is mounted already.
3304         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3305         Set tramp-autoload cookie.
3306         (tramp-get-remote-touch): New defun.
3307         (tramp-sh-handle-set-file-times): Use it.
3308         (tramp-sh-handle-directory-files-and-attributes):
3309         Use `tramp-handle-directory-files-and-attributes' if neither stat
3310         nor perl are available on the remote host.
3312         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3313         "/".  Write long listing only when "l" belongs to the switches.
3315         * net/trampver.el: Update release number.
3317 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
3319         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3321 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
3323         * window.el (window-state-put): Allow WINDOW to refer to an
3324         internal window (Bug#16793).
3326 2014-02-19  Glenn Morris  <rgm@gnu.org>
3328         * textmodes/remember.el: Move provide statement to end.
3329         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3330         (remember-notes): Doc fixes.
3332 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3334         * delsel.el (delete-char): Restore incorrectly erased property
3335         (bug#16795).
3337 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
3339         * frameset.el (frameset--restore-frame): When a frame is being reused
3340         and its root window is not alive, delete all the frame's windows before
3341         restoring the window state.  This works around the issue in bug#16793.
3343 2014-02-18  Glenn Morris  <rgm@gnu.org>
3345         * textmodes/remember.el (remember-data-directory)
3346         (remember-directory-file-name-format, remember-store-in-files)
3347         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3348         (remember-notes-save-and-bury-buffer)
3349         (remember-notes--kill-buffer-query): Doc fixes.
3351         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3353 2014-02-17  Alan Mackenzie  <acm@muc.de>
3355         Connect electric-indent-mode up with CC Mode.  Bug #15478.
3356         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3357         to electric-indent-{,local-}-mode.
3358         (c-basic-common-init): Set electric-indent-inhibit.
3359         Initialise c-electric-flag from electric-indent-mode.
3360         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3361         New hook functions which propagate electric-indent-mode to CC mode.
3363         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3364         hit, toggle electric-indent-local-mode.
3366         * electric.el (electric-indent-mode-has-been-called):
3367         New variable.
3369 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
3371         * frameset.el (frameset-cfg-id): New function.
3372         (frameset--reuse-frame, frameset-restore): Use it.
3373         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3375 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3377         * ido.el (ido-file-internal): Remove unused var `d'.
3378         Use \` for to match BoS.  Fit within 80n columns.
3380 2014-02-17  Daniel Colascione  <dancol@dancol.org>
3382         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3383         dbus-call-method check for completion using a busy-wait loop with
3384         gradual backoff.
3386 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
3388         Sync with Tramp 2.2.9.
3390         * net/trampver.el: Update release number.
3392 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
3394         * ido.el (ido-file-internal): Don't add the name of an existing
3395         directory twice.  (Bug#16747)
3397 2014-02-16  Glenn Morris  <rgm@gnu.org>
3399         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3400         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
3402 2014-02-15  Michael R. Mauger  <michael@mauger.com>
3404         * progmodes/sql.el: Version 3.4
3405         (sql-oracle-options): New default value ("-L").
3406         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3407         (sql-placeholders-filter): Correct placeholder pattern.
3408         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
3409         (sql-login-delay): New variable.
3410         (sql-product-interactive): Use it.
3412 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
3414         * frameset.el (frameset--jump-to-register): Check that buffer is live
3415         (bug#16749).
3417 2014-02-15  Glenn Morris  <rgm@gnu.org>
3419         * info.el (info-initialize): Revert 2014-01-10 change.
3421 2014-02-14  Glenn Morris  <rgm@gnu.org>
3423         * replace.el (map-query-replace-regexp)
3424         (read-regexp-defaults-function, read-regexp): Doc fixes.
3426         * dired.el (dired-read-regexp):
3427         * faces.el (list-faces-display):
3428         * misearch.el (multi-isearch-read-matching-buffers)
3429         (multi-isearch-read-matching-files):
3430         * play/cookie1.el (cookie-apropos):
3431         * progmodes/grep.el (grep-read-regexp): Doc fixes.
3433         * textmodes/remember.el (remember): Use frameset-to-register
3434         rather than frame-configuration-to-register.
3436 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
3438         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3439         incorrect keybinding.
3441 2014-02-13  Daniel Colascione  <dancol@dancol.org>
3443         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3444         when adding overlays so that line numbers from compiler match line
3445         numbers we use.
3447 2014-02-13  Glenn Morris  <rgm@gnu.org>
3449         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
3451         * jit-lock.el (jit-lock-mode): Doc fix.
3453 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
3455         * apropos.el (apropos-read-pattern): When the user passes an empty
3456         string, give a more helpful error message than "Wrong type
3457         argument: stringp, nil".
3459 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3461         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3463 2014-02-13  Glenn Morris  <rgm@gnu.org>
3465         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3467 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3469         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3470         shift-select commands.
3472 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
3474         * progmodes/js.el (js-indent-line): Don't widen.
3475         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3477 2014-02-12  Glenn Morris  <rgm@gnu.org>
3479         * icomplete.el (icomplete): Add info-link to defgroup.
3480         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3481         (icomplete-minibuffer-map, icomplete-mode)
3482         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3484         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3485         (package-menu-filter): Rename from package-menu-filter-interactive.
3486         Doc fix.
3488 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
3490         * frameset.el (frameset--jump-to-register): Select the required
3491         window and buffer before restoring position (bug#16696).
3493 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
3495         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3497 2014-02-10  Glenn Morris  <rgm@gnu.org>
3499         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
3501 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
3503         * w32-common-fns.el (x-get-selection): Doc fix.
3504         * select.el (x-get-selection): Doc fix.  (Bug#15109)
3506         * face-remap.el (face-remap-add-relative)
3507         (face-remap-remove-relative, face-remap-reset-base)
3508         (face-remap-set-base): Call force-mode-line-update to redisplay
3509         the current buffer due to potential change in faces.  (Bug#16709)
3511 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
3513         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3514         script more robustly.
3516 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
3518         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3520         * simple.el (choose-completion): Doc fix (bug#14160).
3522         * subr.el (event-start): Say what a nil EVENT value means.
3524         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3525         (bug#14197).
3527         * progmodes/grep.el (find-program): Doc fix (bug#14289).
3529         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3531         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3533         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3534         predicate function (bug#15455).
3536 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
3538         * ielm.el (inferior-emacs-lisp-mode): Instead of
3539         `comment-use-global-state', set `comment-use-syntax'.
3541 2014-02-10  Glenn Morris  <rgm@gnu.org>
3543         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3545 2014-02-09  Alan Mackenzie  <acm@muc.de>
3547         Fix c-invalidate-state-cache on narrowed buffers.
3548         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3549         Widen when setting and clearing the CPP delimiter properties.
3551 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
3553         * help.el (describe-bindings): Doc fix (bug#9888).
3555         * files.el (save-buffer): Use ARG as the parameter name for
3556         consistency (bug#10346).
3557         (save-buffer): Clarify the 0 argument (bug#10346).
3559         * cus-edit.el (customize-apropos): Fix error string.
3560         (custom-buffer-create): Doc fix (bug#11122).
3561         (custom-sort-items): Doc fix (bug#11121).
3563         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3565         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3566         (icomplete-simple-completing-p): Mention the previous variable.
3568         * font-lock.el (font-lock-value-in-major-mode): Clarify the
3569         meaning of the parameter (bug#12282).
3571         * files.el (find-file-noselect): Clarify prompt when changing
3572         readedness (bug#13261).
3573         (locate-file): Suffixes aren't returned, so don't say that they
3574         are (bug#12674).
3575         (backup-inhibited): Doc clarification (bug#12525).
3577         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3578         before we actually start to delete things (bug#16331).
3580         * subr.el (event-start): Doc fix (bug#14228).
3581         (event-end): Ditto.
3583 2014-02-09  Glenn Morris  <rgm@gnu.org>
3585         * emacs-lisp/warnings.el (lwarn):
3586         Empower help-enable-auto-load.  (Bug#15940)
3588 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
3590         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3591         (Bug#16690)
3593 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
3595         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3596         Insert output at end of buffer.  (Bug#16120)
3598 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
3600         * simple.el (choose-completion-string-functions): Document new
3601         calling convention (bug#14153).
3602         (execute-extended-command): Clarify doc string (bug#13373).
3604         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3606         * find-dired.el (find-name-dired): Doc fix (bug#14290).
3607         (find-grep-dired): Doc fix (bug#14288).
3609 2014-02-08  Juri Linkov  <juri@jurta.org>
3611         * isearch.el (isearch-quote-char): Check character validity
3612         like in `quoted-insert' (bug#16677).
3614 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
3616         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3618         * isearch.el (isearch-hide-immediately): Doc clarification
3619         (bug#14723).
3621         * simple.el (line-move): Document utility function used many
3622         places in the Emacs sources (bug#14843).
3624         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3625         (dired-prev-marked-file): Doc fix (bug#14855).
3626         (dired-up-directory): Doc fix (bug#14848).
3628         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3630         * files.el (file-relative-name): Doc fix (bug#15159).
3632         * fringe.el (fringe-styles): Doc fix (bug#15239).
3634         * isearch.el (isearch-filter-predicate): Documentation typo fix
3635         (bug#15474).
3637         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3639         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3641         * replace.el (replace-match-maybe-edit): Doc clarification
3642         (bug#15632).
3644         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3646         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3648 2014-02-08  Glenn Morris  <rgm@gnu.org>
3650         * help-fns.el (describe-variable):
3651         Check {file,dir}-local-variables-alist, and buffer-file-name,
3652         in the correct buffer.
3654 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
3656         * help-fns.el (describe-variable): Fix the case where
3657         a value is directory-local with no dir-locals file.  (Bug#16635)
3659 2014-02-08  Glenn Morris  <rgm@gnu.org>
3661         * abbrev.el (edit-abbrevs-mode):
3662         Derive from fundamental-mode.  (Bug#16682)
3664 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
3666         * simple.el (quoted-insert): Check character validity (bug#16677).
3668 2014-02-07  Juri Linkov  <juri@jurta.org>
3670         * desktop.el (desktop-read): Claim the lock when the owner is not
3671         the current process.  (Bug#16157)
3673 2014-02-07  Juri Linkov  <juri@jurta.org>
3675         * desktop.el (desktop-buffers-not-to-save): Change default from nil
3676         to "\\` ".  (Bug#16651)
3678 2014-02-07  Juri Linkov  <juri@jurta.org>
3680         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3681         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3682         (desktop-auto-save-cancel-timer): New function with some code from
3683         `desktop-auto-save-set-timer'.
3684         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3685         Instead of setting `desktop-save-mode' to nil, call
3686         `desktop-save-mode' with arg 0.  (Bug#16630)
3688 2014-02-07  Glenn Morris  <rgm@gnu.org>
3690         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3691         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3692         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3694         * obsolete/iswitchb.el: Move to obsolete/.
3695         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3696         since obsolete/ is not scanned for autoloads.
3697         * emacs-lisp/authors.el (authors-valid-file-names):
3698         Add iswitchb.el.
3700         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3701         Disable now non-functional find-file-hook.
3703 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
3705         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3706         instead of ";" in order to avoid additional prompts.  Let heredoc
3707         scripts read from tty.  (Bug#16582)
3708         (tramp-send-command): No special handling of heredocs, it isn't
3709         necessary anymore.
3711 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3713         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3714         with a space (bug#16664).  Limit the symbols considered to the ones
3715         that are bound or fbound (bug#16646).
3717 2014-02-06  Glenn Morris  <rgm@gnu.org>
3719         * epa.el (epa-mail-aliases): Doc fix.
3721 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
3723         * emacs-lisp/lisp.el (lisp-completion-at-point):
3724         Use `completion-table-merge' instead of `completion-table-in-turn'
3725         (bug#16604).
3727         * minibuffer.el (completion-table-merge): New function.
3729 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
3731         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3732         (tramp-sh-handle-set-file-acl)
3733         (tramp-sh-handle-start-file-process)
3734         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3735         (tramp-find-executable, tramp-send-command): Use it.
3737 2014-02-05  Glenn Morris  <rgm@gnu.org>
3739         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
3741 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3743         * progmodes/python.el (python-shell-send-string)
3744         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3746 2014-02-04  Anders Lindgren  <andlind@gmail.com>
3748         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3749         the names (bug#16620).
3751 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
3753         * faces.el (window-divider): New default value.  Rewrite doc-string.
3754         (window-divider-first-pixel, window-divider-last-pixel): New faces.
3756 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
3758         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3759         `protected' and `public' can also be called without arguments.
3761 2014-02-03  Glenn Morris  <rgm@gnu.org>
3763         * register.el (window-configuration-to-register)
3764         (frame-configuration-to-register): Unadvertise unused argument.
3765         * frameset.el (frameset-to-register): Remove unused argument.
3767         * frameset.el (frameset-to-register):
3768         * kmacro.el (kmacro-to-register):
3769         * register.el (increment-register):
3770         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3771         (calc-append-to-register, calc-prepend-to-register):
3772         * play/gametree.el (gametree-layout-to-register)
3773         (gametree-apply-register-layout):
3774         * textmodes/picture.el (picture-clear-rectangle-to-register)
3775         (picture-yank-rectangle-from-register):
3776         * vc/emerge.el (emerge-combine-versions-register):
3777         Use register-read-with-preview to read registers.
3779 2014-02-03  João Távora  <joaotavora@gmail.com>
3781         * elec-pair.el (electric-pair-backward-delete-char): Don't error
3782         when at beginning of (possibly narrowed) buffer.
3784 2014-02-02  Daniel Colascione  <dancol@dancol.org>
3786         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3787         Also try to display local help from just before point.
3789 2014-02-02  Alan Mackenzie  <bug-cc-mode@gnu.org>
3791         c-parse-state.  Don't "append-lower-brace-pair" in certain
3792         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
3793         recognised as a comment.
3795         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3796         as well as normal comment starter.
3797         (c-parse-state-get-strategy): Extra return possibility
3798         'back-and-forward.
3799         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3800         return value list to indicate replacement of a brace-pair cons
3801         with its car.
3802         (c-parse-state-1): With 'back-and-forward, only call
3803         c-append-lower-brace-pair-to state-cache when cons-separated.
3805 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
3807         * term/ns-win.el (ns-suspend-error): New function.
3808         (ns-initialize-window-system): Add ns-suspend-error to
3809         suspend-hook (Bug#16612).
3811 2014-02-02  Daniel Colascione  <dancol@dancol.org>
3813         * progmodes/cc-defs.el (c-find-assignment-for-mode):
3814         Make loading cc-mode silent.
3816 2014-02-02  Daniel Colascione  <dancol@dancol.org>
3818         * comint.el (comint-prompt-read-only): Change doc to suggest
3819         remap keybinding.
3821 2014-02-02  Glenn Morris  <rgm@gnu.org>
3823         * register.el (register-read-with-preview, point-to-register)
3824         (window-configuration-to-register, frame-configuration-to-register)
3825         (jump-to-register, number-to-register, view-register, insert-register)
3826         (copy-to-register, append-to-register, prepend-to-register)
3827         (copy-rectangle-to-register): Doc fixes.
3829 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3831         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3832         * emacs-lisp/find-func.el (find-function-C-source): Idem.
3833         * emacs-lisp/nadvice.el (advice--cd*r): New function.
3834         * help-fns.el (describe-function-1): Use it.
3836 2014-02-02  Glenn Morris  <rgm@gnu.org>
3838         * register.el (register-preview-default): New function,
3839         split from register-preview.
3840         (register-preview-function): Rename from register-preview-functions,
3841         make it not a hook.
3842         (register-preview): Use register-preview-function.
3843         (register-read-with-preview): Error on non-character event.  (Bug#16595)
3845 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
3847         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3848         `:' before binary operators (bug#16609).  Don't check for `:'
3849         before `[' and `(', or their syntax status.  A percent literal
3850         can't end with either.
3851         (ruby-font-lock-keywords): For built-ins that require arguments,
3852         check that they're followed by something that looks like argument
3853         (bug#16610).
3855 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
3857         * subr.el (butlast): Document what an omitted N means (bug#13437).
3858         (nbutlast): Ditto.
3860 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
3862         * net/shr.el (shr-generic): Make into a defsubst to make the stack
3863         depth shallower (bug#16587).
3864         (shr-tag-svg): Respect `shr-inhibit-images'.
3865         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3867 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
3869         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3870         (ruby-smie-grammar): Make "." right-associative.  Make its priority
3871         lower than the ternary and all binary operators.
3872         (ruby-smie-rules): Indent "(" relative to the first non-"."
3873         parent, or the first "." parent at indentation.
3874         Use `ruby-align-chained-calls' for indentation of "." tokens.
3875         (Bug#16593)
3877 2014-01-31  Juri Linkov  <juri@jurta.org>
3879         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3880         from `make-hash-table'.
3882         * textmodes/ispell.el (ispell-init-process): Change message format
3883         to be consistent with other messages.
3885 2014-01-31  Glenn Morris  <rgm@gnu.org>
3887         * delsel.el (delete-selection-mode): Doc fix.
3889         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3890         (trace-function-background): Doc fixes.
3892         * ido.el (ido-use-virtual-buffers): Doc fix.
3893         Reset :version, since the default value has not changed.
3895         * register.el (register-preview-delay, register-read-with-preview):
3896         Doc fixes.
3898         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3899         do not mess with mail-buffer position (fixes 2009-11-03 change).
3900         * progmodes/cc-mode.el (c-submit-bug-report):
3901         Check auto-fill-mode is bound.  (Bug#16592)
3903 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
3905         * startup.el (fancy-splash-image-file): New function,
3906         split from fancy-splash-head.
3907         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3908         so that we are both using the same image.  (Bug#16574)
3910 2014-01-30  Glenn Morris  <rgm@gnu.org>
3912         * simple.el (eval-expression): Doc fix.
3914         * hexl.el (hexl-mode-hook):
3915         * ielm.el (ielm-mode-hook):
3916         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3917         (lisp-interaction-mode-hook):
3918         * progmodes/cfengine.el (cfengine3-documentation-function):
3919         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3921 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3923         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3924         is a symbol (bug#16584).
3926 2014-01-30  Glenn Morris  <rgm@gnu.org>
3928         * help.el (help-for-help-internal): Add "P" to text.
3930 2014-01-29  Glenn Morris  <rgm@gnu.org>
3932         * simple.el (just-one-space, cycle-spacing): Doc fixes.
3934 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
3936         * window.el (fit-frame-to-buffer): Fix calculations for margins and
3937         height constraints.
3939 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
3941         * progmodes/hideif.el: Extend to full CPP expression syntax.
3942         (hif-token-alist): Add missing tokens.
3943         (hif-token-regexp): Add support for float/octal/hex immediates.
3944         (hif-string-literal-regexp): New const.
3945         (hif-tokenize): Recognize strings and float/octal/hex immediates.
3946         (hif-exprlist): New function.
3947         (hif-parse-if-exp): Use it.
3948         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3949         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3950         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3951         (hif-logxor, hif-comma): New functions.
3953 2014-01-28  Glenn Morris  <rgm@gnu.org>
3955         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3957         * indent.el (tab-stop-list): Doc fix.  Add :version.
3959         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3960         (cvs-append-to-ignore): Add compatibility alias.
3962 2014-01-27  Glenn Morris  <rgm@gnu.org>
3964         * dired.el (dired-hide-details-mode): Don't autoload it,
3965         since it cannot be used outside Dired buffers anyway.
3967         * emulation/cua-base.el (cua-mode): Doc fix.
3969         * dired.el (dired-hide-details-hide-symlink-targets)
3970         (dired-hide-details-hide-information-lines)
3971         (dired-hide-details-mode): Doc fixes.
3973         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3974         * strokes.el (strokes-file): Doc fix.  Bump :version.
3975         (strokes-help): Doc fix.
3976         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3977         * emulation/viper.el (viper): Doc fix for custom group.
3978         (top-level): Remove oh-so-no-longer-relevant text about vip.
3979         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3981         * ido.el (ido-save-directory-list-file):
3982         * saveplace.el (save-place-file):
3983         * calendar/timeclock.el (timeclock-file):
3984         * net/quickurl.el (quickurl-url-file):
3985         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3986         * progmodes/idlwave.el (idlwave-config-directory):
3987         * textmodes/remember.el (remember-data-file):
3988         Bump :version.
3990 2014-01-26  Glenn Morris  <rgm@gnu.org>
3992         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3993         Doc fix.  Make obsolete.
3994         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3996         * sort.el (delete-duplicate-lines): Doc fix.
3998 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4000         * progmodes/ada-mode.el (ada):
4001         * woman.el (woman): Link to info manual and Commentary section.
4003         * progmodes/flymake.el (flymake):
4004         * nxml/nxml-mode.el (nxml):
4005         * net/eww.el (eww):
4006         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4007         * htmlfontify.el (htmlfontify):
4008         * ses.el (ses):
4009         * epa.el (epa):
4010         * ido.el (ido): Link to info manual.
4012 2014-01-25  Leo Liu  <sdl.web@gmail.com>
4014         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4016 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
4018         * net/shr.el (shr-tag-img): Prefer the title over the alt text
4019         (bug#16537).
4021 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
4023         * net/eww.el (eww-download-callback):
4024         Fix reference to eww-download-directory.
4026         * emacs-lisp/bytecomp.el (byte-compile-file):
4027         Remove unused local variable `file-name'.
4029 2014-01-24  Glenn Morris  <rgm@gnu.org>
4031         * woman.el (woman-default-faces, woman-monochrome-faces):
4032         Fix obsolescence specification.
4034         * subr.el (with-demoted-errors): Doc fix.
4036 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4038         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4039         (cl--macroexp-fboundp): New function.
4040         (cl--make-type-test): Use it.
4042 2014-01-23  Glenn Morris  <rgm@gnu.org>
4044         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4045         * simple.el (eval-expression): Doc fixes.
4047 2014-01-22  Glenn Morris  <rgm@gnu.org>
4049         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4051 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4053         * emacs-lisp/package.el: Write files silently.
4054         (package-autoload-ensure-default-file, package--write-file-no-coding)
4055         (package-generate-description-file, package--download-one-archive)
4056         (package-install-from-archive): Tell `write-region' to stay quiet.
4057         (package-menu-mode, package-menu--print-info): Omit the Archive column
4058         if there's only one archive.
4059         (package-all-keywords, package--has-keyword-p): Remove dead code.
4061 2014-01-22  Glenn Morris  <rgm@gnu.org>
4063         * version.el (emacs-bzr-version-bzr): Fix typo.
4065         * version.el (emacs-repository-get-version):
4066         Check either .bzr or .git, but not both.
4067         Make the git case actually use the DIR argument, and return nil
4068         rather than the empty string.
4069         Avoid error if .git exists but the git executable is not found.
4071 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
4073         Fixes in window size functions around Bug#16430 and Bug#16470.
4074         * window.el (window-total-size, window-size): New argument ROUND.
4075         (window--min-delta-1, window-min-delta, window--max-delta-1):
4076         Be more conservative when calculating the numbers of lines or
4077         columns a window can shrink (Bug#16430).
4078         (fit-window-to-buffer): Simplify code.
4079         * term.el (term-window-width): Call window-body-width again.
4081 2014-01-22  Glenn Morris  <rgm@gnu.org>
4083         * image.el (image-format-suffixes): Doc fix.
4085         * international/quail.el (quail-define-package): Doc fix.
4087         * emacs-lisp/authors.el (authors-valid-file-names)
4088         (authors-renamed-files-alist): Additions.
4090         * vc/vc-git.el (vc-git-print-log): Remove --follow;
4091         reverts 2014-01-09 change.  (Bug#16422)
4093         * calc/calc-embed.el (thing-at-point-looking-at):
4094         * emacs-lisp/map-ynp.el (x-popup-dialog):
4095         * obsolete/lmenu.el (x-popup-dialog):
4096         * emacs-lisp/package.el (url-recreate-url):
4097         * mail/mailclient.el (clipboard-kill-ring-save):
4098         * subr.el (x-popup-dialog): Update declaration.
4099         * mail/rmail.el (rmail-mime-message-p):
4100         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4102 2014-01-21  Daniel Colascione  <dancol@dancol.org>
4104         * progmodes/sh-script.el (sh--inside-noncommand-expression):
4105         Correctly detect when we're inside an arithmetic expansion form
4106         containing nested parenthesis.
4107         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4108         to detect cases where we shouldn't expand "<<" to a heredoc
4109         skeleton.
4111 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4113         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4114         (eldoc--message-command-p): New function.
4115         (eldoc-display-message-p): Use it.
4116         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4117         message is not automatically erased for us.
4118         (eldoc-print-current-symbol-info): Erase previous message, if any.
4120 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
4122         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4123         specify it's an interactive function.
4125         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4126         Fix regex used for scanning for citation keys which failed for
4127         citations with optional arguments.
4129 2014-01-21  Leo Liu  <sdl.web@gmail.com>
4131         * simple.el (read--expression): Don't enable eldoc-mode.
4133 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4135         * simple.el (move-beginning-of-line): Make sure we don't move forward
4136         (bug#16497).
4138 2014-01-20  Juri Linkov  <juri@jurta.org>
4140         * saveplace.el (toggle-save-place, save-place-to-alist)
4141         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4142         'dired-mode) before checking for dired-directory.  (Bug#16477)
4144 2014-01-20  Juri Linkov  <juri@jurta.org>
4146         * indent.el (indent-line-to): Use backward-to-indentation
4147         instead of back-to-indentation.  (Bug#16461)
4149 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
4151         Revert some of the CANNOT_DUMP fix (Bug#16494).
4152         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4153         but fixing this can wait until after the next release.
4154         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4156 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
4158         * eshell/esh-mode.el (eshell-password-prompt-regexp):
4159         Use `password-word-equivalents'.
4160         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4161         to t.  (Bug#5664, Bug#13124)
4163 2014-01-19  Alan Mackenzie  <acm@muc.de>
4165         Bind open-paren-in-column-0-is-defun-start to nil at some entry
4166         points.
4167         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4168         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4169         * progmodes/cc-mode.el (c-before-change, c-after-change)
4170         (c-font-lock-fontify-region): Bind it here.
4172 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
4174         * term.el (term-window-width): Call window-text-width instead of
4175         window-width (Bug#16470).
4177 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
4179         * simple.el (password-word-equivalents): Remove duplicates.
4180         Sort, to make this easier next time.
4181         Downcase.  Omit ": " after "jelszó".
4183 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
4185         * term/common-win.el (saved-region-selection): Defvar it.
4186         (x-select-text): Set saved-region-selection (Bug#16382).
4188 2014-01-18  Glenn Morris  <rgm@gnu.org>
4190         * emacs-lisp/authors.el (authors-aliases)
4191         (authors-renamed-files-alist): Add some entries.
4193 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
4195         * net/tramp.el (tramp-password-prompt-regexp):
4196         Use `password-word-equivalents' if available.
4197         (tramp-action-password, tramp-process-one-action)
4198         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
4200 2014-01-17  Chong Yidong  <cyd@gnu.org>
4202         * simple.el (password-word-equivalents): New defcustom.
4203         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
4204         to 24.4.
4205         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4206         to t.  (Bug#13124)
4208 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
4210         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4211         (ruby-align-to-stmt-keywords): Change the default value.
4212         Use `ruby-alignable-keywords' to generate the possible customization
4213         choices.
4214         (ruby-smie-rules): Instead of using a hardcoded list of alignable
4215         keywords, check against the value of `ruby-alignable-keywords'
4216         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4218 2014-01-17  Glenn Morris  <rgm@gnu.org>
4220         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4222         Make M-x authors return zero *Authors Errors* from current logs.
4223         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4224         (authors-ignored-files): Add some entries, remove others.
4225         (authors-ambiguous-files, authors-valid-file-names):
4226         Add some entries.
4227         (authors-renamed-files-alist): Add, remove, and adjust entries.
4228         (authors-renamed-files-regexps): Add some entries.
4229         Remove some very broad ones.  Make some entries `lax'.
4230         (authors-lax-changelogs): New constant.
4231         (authors-disambiguate-file-name): Treat top-level specially.
4232         (authors-lax-changelog-p): New function.
4233         (authors-canonical-file-name): Check file as written against
4234         authors-valid-file-names.  Do not special-case etc/.
4235         Handle `lax' logs and authors-renamed-files-regexps elements.
4237 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
4239         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4240         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
4241         callers.
4243 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4245         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4246         Assume we're already in the proper buffer.
4247         Inspired by Anders Lindgren <andlind@gmail.com>.
4248         (follow-post-command-hook): Call it from the right buffer.
4249         (follow-comint-scroll-to-bottom): Adjust call.
4250         (follow-all-followers): Use get-buffer-window-list.
4252 2014-01-15  Daniel Colascione  <dancol@dancol.org>
4254         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4255         `buffer-file-name' in interactive-form so that we don't leave
4256         pathless file names in `file-name-history'.
4258 2014-01-15  Juri Linkov  <juri@jurta.org>
4260         * indent.el (indent-rigidly): Set deactivate-mark to nil
4261         in transient indentation mode.  (Bug#16438)
4263 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
4265         * emacs-lisp/package.el (package-desc-keywords): New function
4266         (Bug#16222).
4267         (describe-package-1, package-all-keywords)
4268         (package--has-keyword-p): Use it.
4270 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4272         * simple.el (define-alternatives): When creating the
4273         COMMAND-alternatives variable, assign COMMAND as its definition
4274         name so that `describe-variable' can relocate it.
4276 2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)
4278         * font-lock.el (font-lock-keywords): Fix typo in docstring
4279         (bug#16307).
4281 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4283         * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4284         line instead of wrongly reset `add-coment' (bug#13577).
4286 2014-01-14  Daiki Ueno  <ueno@gnu.org>
4288         * epa-file.el (epa-file-write-region): Encode the region according
4289         to `buffer-file-format'.  Problem reported at:
4290         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4292 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4294         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4295         so it applies in the right buffer (bug#16410).
4297 2014-01-13  Daniel Colascione  <dancol@dancol.org>
4299         * textmodes/rst.el (rst-define-key): Provide deprecated
4300         keybindings through named functions instead of anonymous ones so
4301         that "??" doesn't appear in describe-mode output.
4303 2014-01-13  Bastien Guerry  <bzg@gnu.org>
4305         * simple.el (define-alternatives): Call the selected command
4306         interactively.  When setting `COMMAND--implementation' for the
4307         first time, tell the user how to chose another implementation.
4308         Enhance the docstring.
4310 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4312         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4313         (log-edit--match-first-line): New function.
4314         (log-edit-font-lock-keywords): Use it.
4315         (log-edit-mode): Make jit-lock-defer-multiline work.
4317 2014-01-13  Bastien Guerry  <bzg@gnu.org>
4319         * rect.el (rectangle-mark-mode): When the region is not active,
4320         display a message saying that the mark as been set and that
4321         rectangle mode is in use.
4322         (rectangle--highlight-for-redisplay): Only put an overlay with a
4323         visible vertical bar when (display-graphic-p) is non-nil.
4324         This partially fixes Bug#16403.
4326 2014-01-13  Juri Linkov  <juri@jurta.org>
4328         * info.el (Info-find-file): Go to DIR before displaying the error
4329         about a nonexistent file if no previous Info file is visited.
4330         Use `user-error' instead of `error' for "Info file %s does not exist".
4331         (Info-find-node-2): In case of a nonexistent node in unwind forms
4332         go to the Top node if there is no previous node to revert to.
4333         (Bug#16405)
4335 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
4337         fit-frame/window-to-buffer code fixes including one for Bug#14096.
4338         * window.el (fit-frame-to-buffer): Fix doc-string.
4339         Respect window-min-height/-width.  Fit pixelwise when
4340         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
4341         when avoiding that frame goes partially off-screen.
4342         (fit-window-to-buffer): Respect window-min-height/-width
4343         (Bug#14096).
4345 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4347         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4348         after an empty line.
4350 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4352         * net/shr.el (shr-render-region): Autoload.
4354 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
4356         * net/eww.el (eww-download-directory): Rename from
4357         `eww-download-path' (Bug#16419).
4359 2014-01-12  Leo Liu  <sdl.web@gmail.com>
4361         * dired-x.el (dired-mode-map): Fix last change.
4363         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4365 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
4367         Spelling fixes.
4368         * emacs-lisp/generic.el (generic--normalize-comments):
4369         Rename from generic--normalise-comments.  All uses changed.
4370         * play/bubbles.el (bubbles--neighborhood-score)
4371         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4372         (bubbles--neighborhood-available)
4373         (bubbles--update-neighborhood-score):
4374         Rename from names with 'neighbourhood'.  All uses changed.
4376 2014-01-12  Leo Liu  <sdl.web@gmail.com>
4378         Re-implement the feature of showing eldoc info after editing.
4379         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4380         (eldoc-edit-message-commands): New function.
4381         (eldoc-print-after-edit): New variable.
4382         (eldoc-pre-command-refresh-echo-area): Emit message only by
4383         eldoc-message-commands.
4384         (eldoc-mode): Restrict eldoc-message-commands to editing commands
4385         if eldoc-print-after-edit is set.  (Bug#16346)
4386         * simple.el (read--expression): Enable eldoc-mode.
4387         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4389 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
4390             Eric S. Raymond  <esr@thyrsus.com>
4392         * version.el (emacs-repository-get-version): Enhance so the
4393         function works correctly in either a Bazaar or Git repo.
4395 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
4397         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4398         Goes with removal of the joke manpages from /etc.
4400 2014-01-10  Kenichi Handa  <handa@gnu.org>
4402         * mail/rmail.el (rmail-get-coding-system):
4403         Check rmail-get-coding-function before "funcall"ing it.
4405 2014-01-10  Glenn Morris  <rgm@gnu.org>
4407         * emacs-lisp/authors.el (authors-fixed-entries):
4408         Update for files that no longer exist.
4410 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
4412         * version.el (emacs-bzr-get-version): Restore compatibilty with
4413         24.3 (Tested).
4415 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
4417         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4418         and Podfile.
4420 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
4422         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4424 2014-01-10  Chong Yidong  <cyd@gnu.org>
4426         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4428 2014-01-10  Anders Lindgren  <andlind@gmail.com>
4430         * follow.el (follow-cache-command-list): Include right-char and
4431         left-char.
4433 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4435         Spelling fixes.
4436         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4437         * woman.el (woman-mark-horizontal-position):
4438         Rename from woman-mark-horizonal-position.  Use changed.
4440 2014-01-10  Glenn Morris  <rgm@gnu.org>
4442         * info.el (info-initialize): If running uninstalled, ensure our
4443         own info files are always found first, even if INFOPATH is set.
4445         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4447 2014-01-09  David Engster  <deng@randomsample.de>
4449         * emacs-lisp/eieio-custom.el:
4450         * emacs-lisp/eieio-opt.el: Set generated autoload file to
4451         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4452         * emacs-lisp/eieio.el: Regenerate autoloads.
4454 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
4456         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4457         following renames.  (Bug#8756)
4459 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4461         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4462         (bug#16382).
4463         (activate-mark): Add `no-tmm' argument.
4464         (set-mark, push-mark-command): Use it instead of running
4465         activate-mark-hook by hand.
4467 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
4469         In preparation for the move to git, sanitize out some
4470         Bazaar-specific names.
4472         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4474         * version.el (emacs-bzr-version): Name changed to
4475         emacs-repository-version.  Obsolete-variable alias made.
4476         * loadup.el: Follow through on this name change.
4477         * mail/emacsbug.el (report-emacs-bug): Factor out any
4478         assumption about the version control system in use.
4480 2014-01-08  David Engster  <deng@randomsample.de>
4482         * help-fns.el (help-fns-describe-function-functions):
4483         New variable to call functions for augmenting help buffers.
4484         (describe-function-1): Remove explicit calls to
4485         `help-fns--compiler-macro', `help-fns--parent-mode' and
4486         `help-fns--obsolete'.  Put them in above new variable instead, and
4487         call them through `run-hook-with-args'.
4488         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4489         `eieio-describe-class'.  Not meant for interactive use anymore,
4490         but to augment existing help buffers.  Remove optional second
4491         argument.  Create proper button for file location.
4492         Rewrite function to use `insert' instead of `princ' and `prin1' where
4493         possible.
4494         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4495         (eieio-method-def, eieio-class-def): Move further up.
4496         (describe-method, describe-generic, eieio-describe-method):
4497         Remove aliases.
4498         (eieio-help-constructor, eieio-help-generic): Rename from
4499         `eieio-describe-constructor' and `eieio-describe-generic', resp.
4500         Rewrite to use `insert' in the current buffer and use proper help
4501         buttons.
4502         (eieio-help-find-method-definition)
4503         (eieio-help-find-class-definition): Also accept symbols as
4504         arguments.
4505         (eieio-help-mode-augmentation-maybee): Remove.
4506         (eieio-describe-class-sb): Use `describe-function'.
4507         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4508         Add `eieio-help-generic' and `eieio-help-constructor'.
4510 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
4512         Spelling fixes.
4513         * language/china-util.el (hz-ascii-designation):
4514         Rename from hz-ascii-designnation.
4515         (hz-ascii-designation): Rename from hz-ascii-designnation.
4516         All uses changed.
4518 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4520         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4521         package-alist.
4523 2014-01-08  Bastien Guerry  <bzg@gnu.org>
4525         * emacs-lisp/package.el (package-delete):
4526         Correctly delete the package from package-alist.
4528 2014-01-08  Daiki Ueno  <ueno@gnu.org>
4530         * emacs-lisp/package.el (url-recreate-url): Declare.
4531         (url-http-target-url): Declare.
4532         (package-handle-response): Include requested URL in the error message.
4533         (package--check-signature): Don't re-signal errors from
4534         package--with-work-buffer.  Suggested by Stefan Monnier.
4536 2014-01-07  Bastien Guerry  <bzg@gnu.org>
4538         * minibuffer.el (completion--try-word-completion): When both a
4539         hyphen and a space are possible candidates for the character
4540         following a word, display both candidates.  (Bug#15980)
4542 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
4544         * window.el (balance-windows-2): While rounding don't give a
4545         window more than the remainder.  Bug#16351, bug#16383.
4547 2014-01-07  Glenn Morris  <rgm@gnu.org>
4549         * menu-bar.el (menu-bar-help-extra-packages): Remove.
4550         (menu-bar-help-menu): Use view-external-packages instead.
4552 2014-01-07  Bastien Guerry  <bzg@gnu.org>
4554         * emacs-lisp/package.el (package-delete): Also delete the package
4555         name from `package-alist', not its description only.
4557 2014-01-07  Glenn Morris  <rgm@gnu.org>
4559         * help.el (view-external-packages):
4560         * menu-bar.el (menu-bar-help-extra-packages):
4561         Visit efaq.info rather than etc/MORE.STUFF.
4563 2014-01-07  Juri Linkov  <juri@jurta.org>
4565         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4566         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
4568         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4569         that shadows RET.  (Bug#16342)
4571 2014-01-07  Chong Yidong  <cyd@gnu.org>
4573         * isearch.el (isearch-yank-char, isearch-yank-word)
4574         (isearch-yank-line): Doc fix.
4576 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4578         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4579         * emacs-lisp/elint.el (elint-find-builtins):
4580         * emacs-lisp/eldoc.el (eldoc-symbol-function):
4581         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4582         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4583         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4584         * apropos.el (apropos-safe-documentation):
4585         * subr.el (symbol-file): Remove redundant fboundp.
4586         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4588 2014-01-06  Bastien Guerry  <bzg@gnu.org>
4590         * hl-line.el (global-hl-line-overlay): Make a local variable.
4591         (global-hl-line-overlays): New variable to store all overlays.
4592         (global-hl-line-mode): Don't delete overlays from the current
4593         buffer when `global-hl-line-sticky-flag' is non-nil.
4594         (global-hl-line-highlight): Add new overlays to
4595         `global-hl-line-overlays'.
4596         (global-hl-line-unhighlight-all): New function to delete all
4597         overlays when turning off `global-hl-line-mode'.
4598         This fixes Bug#16183.
4600 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4602         * subr.el (set-transient-map): Fix nested case and docstring.
4604 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
4606         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4607         `Texinfo' entry.
4609 2014-01-06  Daniel Colascione  <dancol@dancol.org>
4611         Fix defun navigation in vc log view.
4613         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4614         like `beginning-of-defun'.
4615         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4616         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
4617         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4618         (log-view-extract-comment): Call `log-view-current-entry' directly
4619         instead of relying on broken `log-view-beginning-of-defun' behavior.
4621 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
4623         Spelling fixes.
4624         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4625         * emacs-lisp/debug.el (cancel-debug-on-entry):
4626         * epg.el (epg-error-to-string):
4627         * files.el (recover-file):
4628         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4629         * mail/emacsbug.el (report-emacs-bug-hook):
4630         * mail/sendmail.el (mail-recover):
4631         * ses.el (ses-yank-resize):
4632         * term/ns-win.el (ns-print-buffer):
4633         Spelling fixes in diagnostics, mostly for "canceled" with one L.
4634         * epg.el (epg-key-capability-alist): Rename from misspelled version.
4635         All uses changed.
4636         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4638 2014-01-06  Leo Liu  <sdl.web@gmail.com>
4640         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4641         to avoid shadowing global key.  (Bug#16354)
4643 2014-01-06  Daniel Colascione  <dancol@dancol.org>
4645         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4646         rst-mode.
4648 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
4650         * window.el (balance-windows): Add mising t to fix Bug#16351.
4652 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4654         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4655         (bug#16285).
4656         (shr-insert): If we have a word that's longer than `shr-width',
4657         break after it anyway.  Otherwise we'll do no breaking once we get
4658         such a long word.
4660 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
4662         * net/eww.el (eww): Support single/double quote for search.
4663         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4664         (eww-history-quit): Delete and use quit-window.
4665         (eww-history-kill): Delete, because it doesn't work well and
4666         not necessary.
4667         (eww-history-mode-map): Delete some keys and add easy-menu.
4669 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
4671         Fix misspelling of 'chinese' in rx (Bug#16237).
4672         * emacs-lisp/rx.el (rx-categories): Correct spelling of
4673         chinese-two-byte.
4675         Change subword regexps back to vars (Bug#16296).
4676         * progmodes/subword.el (subword-forward-regexp)
4677         (subword-backward-regexp): Change these back to variables.
4679 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4681         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4682         syntax-begin-function (bug#16247).
4684 2014-01-03  Chong Yidong  <cyd@gnu.org>
4686         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4687         (advice--docstring): Delete variable.
4688         (advice--make-1): Leave the docstring empty.
4689         (advice-add): Use function-documentation for advised docstring.
4691         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4692         Ignore function-documentation property when getting documentation.
4693         (ad-activate-advised-definition): Use function-documentation
4694         generate the docstring.
4695         (ad-make-advised-definition): Don't call
4696         ad-make-advised-definition-docstring.
4697         (ad-make-advised-definition-docstring, ad-advised-definition-p):
4698         Delete functions.
4700         * progmodes/sql.el (sql-help): Use function-documentation instead
4701         of dynamic-docstring-function property.  No need to autoload now.
4702         (sql--help-docstring): New variable.
4703         (sql--make-help-docstring): Use it.
4705 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4707         * ielm.el (ielm-tab): Retarget.
4708         (ielm-map): Use ielm-tab for tab.
4709         (ielm-complete-filename): Use comint-filename-completion.
4710         (ielm-complete-symbol): Remove.
4711         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4712         remove ielm-tab from completion-at-point-functions (bug#16224).
4714         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4715         Beware signals raised by predicates (bug#16201).
4717 2014-01-02  Richard Stallman  <rms@gnu.org>
4719         * dired-aux.el (dired-do-print): Handle printer-name.
4721         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4722         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4723         (rmail-epa-decrypt): Turn off mime processing.
4725         * mail/rmail.el (rmail-make-in-reply-to-field):
4726         Add parens in message-id.
4728         * mail/rmail.el (rmail-get-coding-function): Variable.
4729         (rmail-get-coding-system): Use it.
4731 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
4733         * international/mule-conf.el: Unify the charset indian-is13194.
4734         (indian-is13194): Specify unify-map.
4736 2013-12-31  Leo Liu  <sdl.web@gmail.com>
4738         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
4740 2013-12-30  Daniel Colascione  <dancol@dancol.org>
4742         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4743         of printing a useless when we resume from sleep.
4745         * progmodes/sh-script.el
4746         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4747         in indentation code.  (Bug#16233)
4749 2013-12-28  João Távora  <joaotavora@gmail.com>
4751         * elec-pair.el (electric-pair-post-self-insert-function):
4752         Don't open extra newlines at beginning of buffer.  (Bug#16272)
4754 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
4756         * frame.el (window-system-for-display): Don't allow to create a
4757         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
4759 2013-12-28  Glenn Morris  <rgm@gnu.org>
4761         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4762         Update callers.
4764         * apropos.el (apropos-match-face):
4765         * calculator.el (calculator-displayer):
4766         * dabbrev.el (dabbrev-search-these-buffers-only):
4767         * face-remap.el (buffer-face-mode-face):
4768         * simple.el (yank-handled-properties):
4769         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4770         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4771         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4772         (hashcash-double-spend-database):
4773         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4774         (ruby-deep-indent-paren-style):
4775         * textmodes/flyspell.el (flyspell-auto-correct-binding):
4776         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4777         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4778         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4779         Specify custom types.
4781         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4782         * bookmark.el (bookmark-bmenu-use-header-line):
4783         * doc-view.el (doc-view-scale-internally):
4784         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4785         * register.el (register-preview-delay):
4786         * net/shr.el (shr-bullet):
4787         * progmodes/cfengine.el (cfengine-cf-promises)
4788         (cfengine-parameters-indent):
4789         * progmodes/octave.el (inferior-octave-error-regexp-alist):
4790         * textmodes/reftex-vars.el (reftex-label-regexps):
4791         * vc/log-edit.el (log-edit-setup-add-author): Add version.
4793         * net/tls.el (tls-certtool-program): Fix default value.
4795         * desktop.el (desktop-restore-in-current-display):
4796         * newcomment.el (comment-empty-lines):
4797         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4798         (idlwave-pad-keyword):
4799         * progmodes/tcl.el (tcl-tab-always-indent):
4800         * textmodes/reftex-vars.el (reftex-index-default-tag):
4801         * elec-pair.el (electric-pair-skip-whitespace):
4802         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4804         * emacs-lisp/authors.el (authors-ignored-files)
4805         (authors-valid-file-names, authors-renamed-files-alist): Additions.
4807 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
4809         * shell.el (shell-dynamic-complete-command): Doc fix.
4810         (shell--command-completion-data): Shell completion now matches
4811         executable filenames from the current buffer's directory, on
4812         systems in which this behavior is the default (windows-nt, ms-dos).
4814 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
4816         * net/shr.el (shr-insert): Don't infloop if the width is zero.
4818 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4820         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4821         (bug#16251).
4823         * electric.el: Move all electric-pair-* to elec-pair.el.
4824         * elec-pair.el: New file, split from electric.el.
4826 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
4828         * net/shr.el (shr-find-fill-point): Don't try to fill if the
4829         indentation level is larger than the width, because that will
4830         infloop.
4831         (shr-insert): Fill repeatedly long texts, so that Japanese is
4832         formatted correctly (bug#16263).
4833         (shr-find-fill-point): Off by one error in comparison with the
4834         indentation.
4836 2013-12-26  João Távora  <joaotavora@gmail.com>
4838         * electric.el (electric-pair-mode): More flexible engine for skip-
4839         and inhibit predicates, new options for pairing-related functionality.
4840         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4841         if that keeps or improves their balance in buffers.
4842         (electric-pair-delete-adjacent-pairs): Delete the pair when
4843         backspacing over adjacent matched delimiters.
4844         (electric-pair-open-extra-newline): Open extra newline when
4845         inserting newlines between adjacent matched delimiters.
4846         (electric--sort-post-self-insertion-hook):
4847         Sort post-self-insert-hook according to priority values when
4848         minor-modes are activated.
4849         * simple.el (newline-and-indent): Call newline with interactive
4850         set to t.
4851         (blink-paren-post-self-insert-function): Set priority to 100.
4852         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4853         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4854         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
4855         electric-pair-open-newline-between-pairs to nil.
4857 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4859         * progmodes/python.el: Use lexical-binding.
4860         (python-nav-beginning-of-defun): Stop searching ASAP.
4862 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
4864         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4865         Fix interactive spec.  Doc fix.  (Bug#15754)
4867 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
4869         * emacs-lisp/byte-run.el (eval-when-compile):
4870         * progmodes/cc-defs.el (cc-eval-when-compile):
4871         Fix edebug spec (bug#16184).
4873 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
4875         * net/shr.el (shr-visit-file): Remove debugging function.
4876         (shr-insert): Don't infloop if we can't find a good place to break
4877         the line (bug#16256).
4879 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4881         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4882         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
4883         python-nav-lisp-forward-sexp-safe.
4884         (python-nav--forward-sexp): New argument SAFE allows switching
4885         forward sexp movement behavior for parens.
4886         (python-nav-forward-sexp): Throw errors on unterminated parens
4887         (Bug#16191).
4888         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4889         (python-nav-backward-sexp-safe): New functions.
4890         (python-shell-buffer-substring):
4891         Use `python-nav-forward-sexp-safe'.
4893 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
4895         * net/shr.el (shr-find-fill-point): Don't break lines before a
4896         quotation mark.
4897         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4898         (shr-find-fill-point): Remove the special checks for the quotation
4899         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4901 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
4903         * net/eww.el (eww-form-textarea): Use a different face for
4904         textareas than text input since they have different keymaps
4905         (bug#16142).
4907 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4909         * progmodes/python.el (python-nav-beginning-of-statement):
4910         Speed up (Bug#15295).
4912 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
4914         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4915         the window configuration.
4917 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
4919         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4920         we run on MS-Windows or MS-DOS.
4922 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
4924         * window.el (balance-windows-area): Call window-size instead of
4925         window-height and window-width.  Bug#16241.
4927 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
4929         * net/eww.el (eww-bookmark-quit): Remove.
4930         (eww-bookmark-browse): Restore the window configuration when you
4931         choose a bookmark (bug#16144).
4933 2013-12-24  Daniel Colascione  <dancol@dancol.org>
4935         * icomplete.el: Remove redundant :group arguments to `defcustom'
4936         throughout.
4937         (icomplete-show-matches-on-no-input): New customizable variable.
4938         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4939         we have something to show.
4940         (icomplete-exhibit): Compute completions even if we have no user input.
4942 2013-12-23  Daniel Colascione  <dancol@dancol.org>
4944         * icomplete.el: Move `provide' to end of file.
4946 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
4948         * net/gnutls.el (gnutls-verify-error): Add version tag.
4950 2013-12-23  Chong Yidong  <cyd@gnu.org>
4952         * subr.el (set-transient-map): Rename from
4953         set-temporary-overlay-map.  Doc fix.
4955         * face-remap.el (text-scale-adjust):
4956         * indent.el (indent-rigidly):
4957         * kmacro.el (kmacro-call-macro):
4958         * minibuffer.el (minibuffer-force-complete):
4959         * repeat.el (repeat):
4960         * simple.el (universal-argument--mode):
4961         * calendar/todo-mode.el (todo-insert-item--next-param):
4962         * progmodes/f90.el (f90-abbrev-start): Callers changed.
4964         * indent.el (indent-rigidly): Use substitute-command-keys.
4966 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
4968         * net/eww.el (eww-tag-select): Add text-property to jump to next
4969         select field.
4970         (eww): Add non-supported ftp error.
4972 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
4974         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4975         comments.  Handle electric indent after typing `?' and `!'.
4977 2013-12-22  Chong Yidong  <cyd@gnu.org>
4979         * faces.el (face-spec-recalc): If the theme specs are not
4980         applicable to a frame, fall back on the defface spec.
4981         This prevents themes from obliterating faces on low-color terminals.
4983 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
4985         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4986         after `{'.  We need it after block openers, and it doesn't seem
4987         to hurt after hash openers.
4989 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
4991         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4992         extracted from `ruby-smie-rules'.
4993         (ruby--electric-indent-chars): New variable.
4994         (ruby--electric-indent-p): New function.
4995         (ruby-mode): Use `electric-indent-functions' instead of
4996         `electric-indent-chars'.
4998 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
5000         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5001         docstring.
5002         (ruby-smie-rules): Indent plus one level after `=>'.
5004 2013-12-21  Richard Stallman  <rms@gnu.org>
5006         * simple.el (newline): Doc fix.
5008 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5010         * net/eww.el (eww-list-histories, eww-list-histories)
5011         (eww-history-browse, eww-history-quit, eww-history-kill)
5012         (eww-history-mode-map, eww-history-mode): New command and
5013         functions to list browser histories.
5014         (eww-form-text): Support text form with disabled
5015         and readonly attributes.
5016         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5018 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5020         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5021         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5022         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5023         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5024         Use `user-error'.
5025         (eww-bookmark-mode-map): Add menu.
5026         (eww-render, eww-mode): Use `setq-local'.
5027         (eww-tool-bar-map): New variable.
5028         (eww-mode): Set `tool-bar-map'.
5029         (eww-view-source): Check for `html-mode' with `fboundp'.
5031 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5033         * net/shr.el (shr--extract-best-source): Don't bug out on audio
5034         elements with text inside.  Also remove debugging.
5036 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
5038         * cus-start.el (all): Add ns-use-srgb-colorspace.
5040 2013-12-21  Chong Yidong  <cyd@gnu.org>
5042         * custom.el (custom-theme-recalc-face): Do nothing if the face is
5043         undefined.  Thus, theme settings for undefined faces do not take
5044         effect until the faces are defined with defface, the same as with
5045         theme variables.
5047         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5048         (face-spec-reset-face): Don't assign extra properties in temacs.
5049         (face-spec-recalc): Apply X resources too.
5051 2013-12-21  Chong Yidong  <cyd@gnu.org>
5053         * faces.el (face-spec-set):
5054         * cus-face.el (custom-theme-set-faces, custom-set-faces):
5055         * custom.el (defface): Doc fixes (Bug#16203).
5057         * indent.el (indent-rigidly-map): Add docstring, and move commands
5058         into named functions.
5059         (indent-rigidly-left, indent-rigidly-right)
5060         (indent-rigidly-left-to-tab-stop)
5061         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
5062         indentation direction based on bidi direction, and accumulate
5063         sequential commands in a single undo boundary.
5064         (indent-rigidly--pop-undo): New utility function.
5066 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
5068         * faces.el (read-face-name): Require crm.el when using crm-separator.
5070 2013-12-20  Daniel Colascione  <dancol@dancol.org>
5072         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5073         so that we don't reflow comments into the shebang line.
5075 2013-12-20  Juri Linkov  <juri@jurta.org>
5077         * saveplace.el (save-place-to-alist): Add `dired-filename' as
5078         a position when `dired-directory' is non-nil.  Check integer
5079         positions with `integerp'.
5080         (toggle-save-place, save-places-to-alist): Add check for
5081         `dired-directory'.
5082         (save-place-find-file-hook): Check integer positions with
5083         `integerp'.
5084         (save-place-dired-hook): Use `dired-goto-file' when
5085         `dired-filename' is found in the assoc list.  Check integer
5086         positions with `integerp'.
5087         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5089         * dired.el (dired-initial-position-hook): Rename back from
5090         `dired-initial-point-hook'.
5091         (dired-initial-position): Rename `dired-initial-point-hook' to
5092         `dired-initial-position-hook'.
5093         (dired-file-name-at-point): Doc fix.  (Bug#15329)
5095 2013-12-20  Juri Linkov  <juri@jurta.org>
5097         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5098         (read-regexp-suggestions): New function.
5099         (read-regexp): Use `read-regexp-defaults-function' to get default values.
5100         Use `read-regexp-suggestions'.  Add non-empty default to history
5101         for empty input.
5102         (occur-read-regexp-defaults-function): Remove function.
5103         (occur-read-primary-args): Use `regexp-history-last' instead of
5104         `occur-read-regexp-defaults-function'.
5106         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5107         (hi-lock-line-face-buffer, hi-lock-face-buffer)
5108         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5109         `hi-lock-read-regexp-defaults-function'.  Doc fix.
5110         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5111         with `find-tag-default-as-symbol-regexp'.  Doc fix.
5112         (hi-lock-read-regexp-defaults): Remove function.
5113         (hi-lock-regexp-okay): Add check for null.
5115         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5116         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
5118         * subr.el (find-tag-default-as-symbol-regexp): New function.
5119         (find-tag-default-as-regexp): Move symbol regexp formatting to
5120         `find-tag-default-as-symbol-regexp'.
5122 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
5124         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5125         (Bug#14179)
5127 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
5129         * calendar/todo-mode.el: New implementation of item insertion
5130         commands and key bindings.
5131         (todo-key-prompt): New face.
5132         (todo-insert-item): New command.
5133         (todo-insert-item--parameters): New defconst, replacing defvar
5134         todo-insertion-commands-args-genlist.
5135         (todo-insert-item--param-key-alist): New defconst, replacing
5136         defvar todo-insertion-commands-arg-key-list.
5137         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5138         (todo-insert-item--argsleft, todo-insert-item--apply-args)
5139         (todo-insert-item--next-param): New functions.
5140         (todo-insert-item--args, todo-insert-item--argleft)
5141         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5142         New variables.
5143         (todo-key-bindings-t): Change binding of "i" from
5144         todo-insertion-map to todo-insert-item.
5145         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5146         (todo-insertion-command-name, todo-insertion-commands-names)
5147         (todo-define-insertion-command, todo-insertion-commands)
5148         (todo-insertion-key-bindings, todo-insertion-map): Remove.
5150 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
5152         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5153         (todo-toggle-item-highlighting): Use eval-and-compile instead of
5154         eval-when-compile.
5155         (todo-move-category): Allow choosing a non-existing todo file to
5156         move the category to, and create that file.
5157         (todo-default-priority): New user option.
5158         (todo-set-item-priority): Use it.
5159         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5160         (desktop-restore-file-buffer): Declare.
5161         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5162         (todo-modes-set-2): Locally set desktop-save-buffer to
5163         todo-desktop-save-buffer.
5164         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5165         (auto-mode-alist): Add autoload cookie.
5167 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
5169         * emacs-lisp/subr-x.el: Renamed from helpers.el.
5170         helpers.el was a poor choice of name.
5171         (string-remove-prefix): New function.
5172         (string-remove-suffix): New function.
5174 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
5176         Fix assignment for new window total sizes.
5177         * window.el (window--pixel-to-size): Remove function.
5178         (window--pixel-to-total-1, window--pixel-to-total):
5179         Fix calculation of new total sizes.
5181 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
5183         * comint.el (comint-output-filter): Fix rear-nonsticky property
5184         placement (Bug#16010).
5186 2013-12-20  Chong Yidong  <cyd@gnu.org>
5188         * faces.el (read-color): Minor fix for completion function.
5190 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
5192         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5193         New option.  (Bug#16182)
5194         (ruby-smie--indent-to-stmt-p): Use it.
5195         (ruby-smie-rules): Revert the logic in the handling of `when'.
5196         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5197         (ruby-deep-arglist, ruby-deep-indent-paren)
5198         (ruby-deep-indent-paren-style): Update docstrings to note that the
5199         vars don't have any effect with SMIE.
5201 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
5203         * calc/calc.el (calc-enter, calc-pop): Use the variable
5204         `calc-context-sensitive-enter'.
5206 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5208         * net/shr.el (shr-insert): Protect against infloops in degenerate
5209         tables.
5211 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5213         * progmodes/octave.el (octave): Add link to manual and octave
5214         homepage.
5215         (octave-mode-menu): Link to octave-mode manual.
5217 2013-12-20  Leo Liu  <sdl.web@gmail.com>
5219         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5220         insertion using skeleton-end-newline.  (Bug#16138)
5222 2013-12-20  Juri Linkov  <juri@jurta.org>
5224         * replace.el (occur-engine): Use `add-face-text-property'
5225         to add the face property to matches and titles.  (Bug#14645)
5227         * hi-lock.el (hi-green): Use lighter color "light green" closer to
5228         the palette of other hi-lock colors.
5229         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5231 2013-12-19  Juri Linkov  <juri@jurta.org>
5233         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5234         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
5235         (minibuffer-history-symbol): Move variable declaration closer to
5236         its usage.
5238         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5239         (Bug#14785)
5241 2013-12-19  Juri Linkov  <juri@jurta.org>
5243         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5244         New function.
5245         (log-edit-hook): Add it to :options.  (Bug#16170)
5247 2013-12-19  Juri Linkov  <juri@jurta.org>
5249         * simple.el (eval-expression-print-format): Don't check for
5250         command names and the last command.  Always display additional
5251         formats of the integer result in the echo area, and insert them
5252         to the current buffer only with a zero prefix arg.
5253         Display character when char-displayable-p is non-nil.
5254         (eval-expression): With a zero prefix arg, set `print-length' and
5255         `print-level' to nil, and insert the integer values from
5256         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
5258         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5259         `eval-last-sexp-arg-internal'.  Doc fix.
5260         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5261         `eval-last-sexp-print-value'.  Doc fix.
5262         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5263         Set `print-length' and `print-level' to nil when arg is zero.
5264         (eval-last-sexp): Doc fix.
5265         (eval-defun-2): Print the integer values from
5266         `eval-expression-print-format' at the end.
5268         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5269         values from `eval-expression-print-format' at the end.
5271         * ielm.el (ielm-eval-input): Print the integer
5272         values from `eval-expression-print-format' at the end.
5274 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
5276         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5277         2013-12-11T19:01:44Z!tzz@lifelogs.com.
5279 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5281         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
5282         (hl-line-highlight, global-hl-line-highlight): Use it.
5283         (hl-line-overlay): Use defvar-local.
5285 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
5287         * term/ns-win.el: Require dnd.
5288         (global-map): Remove drag items.
5289         (ns-insert-text, ns-set-foreground-at-mouse)
5290         (ns-set-background-at-mouse):
5291         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5292         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5293         New functions.
5295 2013-12-19  Glenn Morris  <rgm@gnu.org>
5297         * emacs-lisp/ert.el (ert-select-tests):
5298         Fix string/symbol mixup.  (Bug#16121)
5300 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
5302         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5303         keywords to their parent.
5305 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
5307         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5308         first arg to be a string (fixed dead code), or an operator symbol.
5309         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5310         operator symbols.
5311         (ruby-smie-rules): Remove parent token check in the `.' clause, it
5312         did nothing.  Don't respond to `(:after ".")', it will be called
5313         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
5314         change anything.  Only return indentation for binary operators
5315         when they are hanging.  De-dent opening paren when its parent is
5316         `.', otherwise it looks bad when the dot is not at bol or eol
5317         (bug#16182).
5319 2013-12-19  Juri Linkov  <juri@jurta.org>
5321         * replace.el (query-replace-read-args): Split a non-negative arg
5322         and a negative arg into separate elements.
5323         (query-replace, query-replace-regexp, replace-string)
5324         (replace-regexp): Add arg `backward'.  Doc fix.
5325         (replace-match-maybe-edit): When new arg `backward' is non-nil,
5326         move point to the beginning of the match.
5327         (replace-search, replace-highlight): Use new arg `backward'
5328         to set the value of `isearch-forward'.
5329         (perform-replace): Add arg `backward' and use it to perform
5330         replacement backward.  (Bug#14979)
5332         * isearch.el (isearch-query-replace): Use a negative prefix arg
5333         to call `perform-replace' with a non-nil arg `backward'.
5335 2013-12-18  Juri Linkov  <juri@jurta.org>
5337         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5338         to the default list.  Move `log-edit-show-files' to the end.
5339         Add more available functions to options.
5340         (log-edit): Move default specific settings to
5341         `log-edit-insert-message-template'.  Don't move point.
5342         (log-edit-insert-message-template): New function.
5343         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5344         (Bug#16170)
5346 2013-12-18  Juri Linkov  <juri@jurta.org>
5348         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5349         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
5351 2013-12-18  Leo Liu  <sdl.web@gmail.com>
5353         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5354         (Bug#16186)
5356 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
5358         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5359         formats for displaying file sizes when the -s switch is given.
5360         Instead, compute a separate format for displaying the size in
5361         blocks, which is displayed in addition to the "regular" size.
5362         When -h is given in addition to -s, produce size in blocks in
5363         human-readable form as well.  (Bug#16179)
5365 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
5367         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5368         Reference tables with ~\ref{...} instead of only \ref{...}.
5370 2013-12-18  Chong Yidong  <cyd@gnu.org>
5372         * cus-edit.el (custom-magic-alist): Fix "themed" description
5373         (Bug#14348).
5375         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5376         is non-nil, do not create a new entry in the symbol's theme-value
5377         or theme-face property; update theme-settings only (Bug#14664).
5378         (custom-available-themes): Doc fix.
5380         * cus-theme.el (custom-new-theme-mode-map): Add bindings
5381         (Bug#15674).
5383         * replace.el (occur-engine): Avoid infloop (Bug#7593).
5385 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
5387         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5388         (Bug#13914).
5390 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
5392         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5394 2013-12-18  Glenn Morris  <rgm@gnu.org>
5396         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5397         * cus-start.el (load-prefer-newer): New option.
5399 2013-12-18  Le Wang  <l26wang@gmail.com>
5401         * comint.el (comint-previous-matching-input-from-input):
5402         Retain point (Bug#13404).
5404 2013-12-18  Chong Yidong  <cyd@gnu.org>
5406         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5408 2013-12-18  Glenn Morris  <rgm@gnu.org>
5410         * mail/emacsbug.el (report-emacs-bug):
5411         Only mention enable-multibyte-characters if non-standard.
5413 2013-12-17  Juri Linkov  <juri@jurta.org>
5415         * arc-mode.el (archive-extract-by-file): Check if directory exists
5416         before deletion to not show irrelevant errors if it doesn't exist.
5418 2013-12-17  Juri Linkov  <juri@jurta.org>
5420         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5421         (Bug#14751)
5423         * net/eww.el (browse-web): Add alias to `eww'.
5424         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5425         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
5427         * net/browse-url.el (browse-url-browser-function): Move `eww'
5428         closer to similar functions.
5430         * startup.el (fancy-startup-screen, fancy-about-screen):
5431         Set browse-url-browser-function to eww-browse-url locally.
5432         (Bug#14751)
5434 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5436         * window.el (window--pixel-to-total): Remove unused `mini' var.
5437         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5438         (split-window): Remove unused `new' var.
5439         (window--display-buffer): Remove unused `frame' and `delta' vars.
5440         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5441         and display-width'.
5443 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
5445         * dired.el (dired-mark-pop-up):
5446         * register.el (register-preview): Don't bind
5447         split-height-threshold here since it's now done in
5448         display-buffer-below-selected.
5450 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
5452         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5453         xterm-rgb-convert-to-16bit.
5454         (rxvt-register-default-colors): Standardize with
5455         xterm-register-default-colors (Bug#14078).
5457 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
5459         * simple.el (kill-region): Pass mark first, then point, so that
5460         kill-append works right (Bug#12819).
5461         (copy-region-as-kill, kill-ring-save): Likewise.
5463 2013-12-17  Leo Liu  <sdl.web@gmail.com>
5465         * net/rcirc.el (rcirc-add-face):
5466         * eshell/em-prompt.el (eshell-emit-prompt):
5467         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5468         (Bug#16167)
5470 2013-12-17  Chong Yidong  <cyd@gnu.org>
5472         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5473         Suggested by Xue Fuqiao.
5475 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
5477         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5479 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5481         * net/shr.el (shr-insert-document): Remove unused var
5482         `shr-preliminary-table-render'.
5483         (shr-rescale-image): Remove unused arg `force'.
5484         (shr-put-image): Update calls accordingly.
5485         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5487 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
5489         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5490         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5491         :close-all, to see which indentation method to use (Bug#16116).
5492         (smie-rules-function): Document the method :close-all.
5494 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5496         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5498         * net/eww.el (eww-display-html): If we can't find the anchor we're
5499         looking for, then go to point-min.
5501 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
5503         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5504         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5505         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5506         Expand dir too, in case it's relative.
5508 2013-12-16  Juri Linkov  <juri@jurta.org>
5510         * desktop.el (desktop-auto-save-timeout): Change default to
5511         `auto-save-timeout'.  Doc fix.
5512         (desktop-save): Skip the timestamp in desktop-saved-frameset
5513         when checking for auto-save changes.
5514         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5515         `desktop-auto-save' is called repeatedly by the idle timer.
5516         (desktop-auto-save-set-timer): Replace `run-with-timer' with
5517         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
5518         (Bug#15331)
5520 2013-12-16  Juri Linkov  <juri@jurta.org>
5522         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5523         (Bug#16035)
5524         (isearch-pre-command-hook): Check `this-command' for symbolp.
5526 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5528         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5530 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
5532         * progmodes/cfengine.el (cfengine3--current-word): Remove.
5533         (cfengine3--current-function): Bring in the current-function
5534         functionality from `cfengine3--current-word'.
5535         (cfengine3-completion-function): Bring in the
5536         bounds-of-current-word functionality from
5537         `cfengine3--current-word'.
5539 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
5541         * window.el (display-buffer-below-selected):
5542         Bind split-height-threshold to 0 as suggested by Juri Linkov.
5544 2013-12-16  Leo Liu  <sdl.web@gmail.com>
5546         * progmodes/compile.el (compile-goto-error): Do not push-mark.
5547         Remove NOMSG arg and all uses changed.
5549 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5551         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5552         (cua--deactivate-rectangle): Don't deactivate the mark.
5553         (cua-set-rectangle-mark): Don't set mark-active since
5554         cua--activate-rectangle already does it for us.
5555         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5556         non-rectangular region.
5558         * emulation/cua-base.el (cua-repeat-replace-region):
5559         Use with-current-buffer.
5561         * net/gnutls.el: Use cl-lib.
5562         (gnutls-negotiate): `mapcan' -> cl-mapcan.
5564 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
5566         * emacs-lisp/package.el (package-built-in-p): Support both
5567         built-in and the package.el converted package descriptions.
5568         (package-show-package-list): Allow keywords.
5569         (package-keyword-button-action): Use it instead of
5570         `finder-list-matches'.
5571         (package-menu-filter-interactive): Interactive filtering (by
5572         keyword) function.
5573         (package-menu--generate): Support keywords and change keymappings
5574         and headers when they are given.
5575         (package--has-keyword-p): Helper function.
5576         (package-menu--refresh): Use it.
5577         (package--mapc): Helper function.
5578         (package-all-keywords): Use it.
5579         (package-menu-mode-map): Set up menu items and keybindings to
5580         provide a filtering UI.
5582 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
5584         * net/gnutls.el (gnutls-verify-error): New defcustom to control
5585         the behavior when a certificate fails validation.  Defaults to
5586         old behavior: never abort, just warn.
5587         (gnutls-negotiate): Use it.
5589 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
5591         * window.el (display-buffer-below-selected): Never split window
5592         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
5594 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
5596         * emacs-lisp/package.el (package--prepare-dependencies): New function.
5597         (package-buffer-info): Use it (bug#15108).
5599 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5601         * icomplete.el (icomplete-completions): Make sure the prefix is already
5602         displayed elsewhere before hiding it (bug#16219).
5604 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
5606         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5607         open-paren tokens when preceded by a open-paren, too.
5608         (ruby-smie-rules): Handle virtual indentation after open-paren
5609         tokens specially.  If there is code between it and eol, return the
5610         column where is starts (Bug#16118).
5612 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
5614         * progmodes/cfengine.el: Fix `add-hook' doc.
5615         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5616         (cfengine3--current-word): Fix parameters.
5617         (cfengine3-make-syntax-cache): Simplify further.
5618         (cfengine3-completion-function, cfengine3--current-function):
5619         Use `assq' for symbols.
5620         (cfengine3--current-function): Fix `cfengine3--current-word' call.
5622 2013-12-13  Glenn Morris  <rgm@gnu.org>
5624         * loadup.el (load-path): Warn if site-load or site-init changes it.
5625         No more need to reset it when bootstrapping.
5627 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
5629         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5630         locations for cf-promises.
5631         (cfengine-mode-syntax-functions-regex): New caching variable.
5632         (cfengine3-fallback-syntax): Fallback syntax for cases where
5633         cf-promises doesn't run.
5634         (cfengine3--current-word): Reimplement using
5635         `cfengine-mode-syntax-functions-regex'.
5636         (cfengine3-completion-function, cfengine3--current-function):
5637         Use `cfengine3-make-syntax-cache' directly.
5638         (cfengine3-clear-syntax-cache): New function.
5639         (cfengine3-make-syntax-cache): Simplify and create
5640         `cfengine-mode-syntax-functions-regex' on demand.
5641         (cfengine3-format-function-docstring): Don't call
5642         `cfengine3-make-syntax-cache' explicitly.
5644 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
5646         Fix windmove-find-other-window broken after pixelwise resizing
5647         (Bug#16017).
5648         * windmove.el (windmove-other-window-loc): Revert change from
5649         2013-12-04.
5650         (windmove-find-other-window): Call window-in-direction.
5651         * window.el (window-in-direction): New arguments SIGN, WRAP and
5652         MINI to emulate original windmove-find-other-window behavior.
5654 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
5656         * simple.el (blink-matching--overlay): New variable.
5657         (blink-matching-open): Instead of moving point, highlight the
5658         matching paren with an overlay
5659         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5661         * faces.el (paren-showing-faces, show-paren-match)
5662         (show-paren-mismatch): Move from paren.el.
5664 2013-12-13  Leo Liu  <sdl.web@gmail.com>
5666         * indent.el (indent-region): Disable progress reporter in
5667         minibuffer.  (Bug#16108)
5669         * bindings.el (visual-order-cursor-movement): Fix version.
5671 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5673         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5674         Also match after beginning of line.
5675         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5676         files.  Thanks to Russell Sim.  (Bug#15378)
5678 2013-12-13  Juri Linkov  <juri@jurta.org>
5680         * simple.el <Keypad support>: Remove key bindings duplicated
5681         with bindings.el.  (Bug#14397)
5683 2013-12-13  Juri Linkov  <juri@jurta.org>
5685         * comint.el (comint-mode-map): Replace `delete-char' with
5686         `delete-forward-char'.  (Bug#16109)
5688 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5690         * progmodes/python.el (python-indent-calculate-indentation):
5691         Fix de-denters cornercase.  (Bug#15731)
5693 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5695         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5696         (advice--make): Pay attention to `depth'.
5697         (advice--make-1): Don't autoload commands eagerly.
5698         * emacs-lisp/elp.el (elp-instrument-function):
5699         * emacs-lisp/trace.el (trace-function-internal):
5700         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5702         * iswitchb.el (iswitchb-mode): Don't belittle ido.
5704 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
5706         * term/w32-win.el (w32-handle-dropped-file):
5707         * startup.el (normal-top-level):
5708         * net/browse-url.el (browse-url-file-url):
5709         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5710         decode file names using 'utf-8' rather than
5711         file-name-coding-system.
5713 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5715         * progmodes/python.el (python-indent-context)
5716         (python-indent-calculate-indentation): Fix auto-identation
5717         behavior for comment blocks.  (Bug#15916)
5719 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
5721         * progmodes/python.el (python-indent-calculate-indentation):
5722         When determining indentation, don't treat "return", "pass", etc., as
5723         operators when they are just string constituents.  (Bug#15812)
5725 2013-12-12  Juri Linkov  <juri@jurta.org>
5727         * uniquify.el (uniquify-buffer-name-style): Change default to
5728         `post-forward-angle-brackets'.
5730         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5731         `uniquify'.  Change default to `post-forward-angle-brackets'.
5733 2013-12-11  Glenn Morris  <rgm@gnu.org>
5735         * emacs-lisp/package.el (finder-list-matches):
5736         Autoload rather than falsely declaring.
5738 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
5740         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5741         (eww-mode-map): Use them.
5743 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
5745         * window.el (display-buffer-in-side-window): Fix doc-string
5746         (Bug#16115).
5748 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
5750         * vc/vc-git.el: Silence byte-compiler warnings.
5751         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5752         (log-edit-set-header): Declare.
5754 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
5756         * Makefile.in (custom-deps, finder-data): Run output file names
5757         through unmsys--file-name.  (Bug#16099)
5759 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5761         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5762         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5764         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5765         instead of deleting the selection "by hand" (bug#16098).
5766         Rely on insert-for-yank to yank rectangles.
5767         (cua-highlight-region-shift-only): Mark obsolete.
5768         (cua-mode): Don't enable/disable transient-mark-mode,
5769         shift-select-mode (cua-mode works both with and without them), and
5770         pc-selection-mode (obsolete).
5771         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5772         (cua--deactivate-rectangle): Deactivate it.
5774         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5775         (delete-selection-helper): Make sure yank starts at the top of the
5776         deleted region.
5777         (minibuffer-keyboard-quit): Use region-active-p.
5779         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5781         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5782         to `delete' (bug#16109).
5784 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5786         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5787         info manual and show keybindings and set `:group' keyword.
5789 2013-12-11  Juri Linkov  <juri@jurta.org>
5791         * delsel.el (delete-active-region): Let-bind `this-command'
5792         to prevent `kill-region' from changing its original value.
5793         (delete-selection-helper): Handle `overwrite-mode' for the type
5794         `kill' exactly the same way as for the type `t'.
5795         (insert-char, quoted-insert, reindent-then-newline-and-indent):
5796         Support more commands.  (Bug#13312)
5798 2013-12-11  Juri Linkov  <juri@jurta.org>
5800         * bindings.el: Map kp keys to non-kp keys systematically
5801         with basic modifiers control, meta and shift.  (Bug#14397)
5803 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5805         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5806         "Close browser" menu items.  Fix wrong function of "List
5807         bookmarks".
5809 2013-12-11  Juri Linkov  <juri@jurta.org>
5811         * misearch.el (multi-isearch-buffers): Set the value of
5812         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
5813         arg of isearch-forward to t.
5814         (multi-isearch-buffers-regexp): Set the value of
5815         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
5816         arg of isearch-forward-regexp to t.
5817         (multi-isearch-files): Set the value of
5818         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
5819         arg of isearch-forward to t.
5820         (multi-isearch-files-regexp): Set the value of
5821         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
5822         arg of isearch-forward-regexp to t.  (Bug#16035)
5824         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5825         arg of isearch-forward to t.
5826         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5827         arg of isearch-forward-regexp to t.
5828         (dired-isearch-filter-filenames): Remove unnecessary check for
5829         `dired-isearch-filenames'.
5831         * comint.el (comint-history-isearch-backward):
5832         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5833         (comint-history-isearch-backward-regexp):
5834         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5836 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
5838         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5839         unmsys--file-name.  (Bug#16099)
5841 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
5843         * emacs-lisp/package.el (package-keyword-button-action):
5844         Remove finder.el require dependency.
5846 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
5848         * emacs-lisp/package.el: Require finder.el.
5849         (describe-package-1): Add keyword buttons.
5850         (package-make-button): New convenience function.
5851         (package-keyword-button-action): Keyword button action using
5852         `finder-list-matches'.
5854 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
5856         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5857         last commit.
5859 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
5861         * autorevert.el (auto-revert-notify-add-watch): Do not handle
5862         symlinked files.
5864 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
5866         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5867         after the end of a percent literal.
5869 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
5871         * progmodes/ruby-mode.el (ruby-forward-string): Document.
5872         Handle caret-delimited strings (Bug#16079).
5874 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
5876         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5877         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5878         `ruby-parse-partial' (Bug#16078).
5880 2013-12-09  Leo Liu  <sdl.web@gmail.com>
5882         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
5884 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
5886         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5887         (js-switch-indent-offset): New option.
5888         (js--proper-indentation): Use it.  And handle the case when
5889         "default" is actually a key in an object literal.
5890         (js--same-line): New function.
5891         (js--multi-line-declaration-indentation): Use it.
5892         (js--indent-in-array-comp, js--array-comp-indentation):
5893         New functions.
5894         (js--proper-indentation): Use them, to handle array comprehension
5895         continuations.
5897 2013-12-08  Leo Liu  <sdl.web@gmail.com>
5899         * progmodes/flymake.el (flymake-highlight-line): Re-write.
5900         (flymake-make-overlay): Remove arg MOUSE-FACE.
5901         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5903 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5905         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5906         New function.
5907         (redisplay-highlight-region-function): Use it.
5909         * emulation/cua-base.el (cua--explicit-region-start)
5910         (cua--last-region-shifted): Remove.
5911         (cua--deactivate): Use deactivate-mark.
5912         (cua--pre-command-handler-1): Don't handle shift-selection.
5913         (cua--post-command-handler-1): Don't change transient-mark-mode.
5914         (cua--select-keymaps): Use region-active-p rather than
5915         cua--explicit-region-start or cua--last-region-shifted.
5916         (cua-mode): Enable shift-select-mode.
5918 2013-12-08  Leo Liu  <sdl.web@gmail.com>
5920         * progmodes/flymake.el (flymake-popup-current-error-menu):
5921         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
5922         (flymake-posn-at-point-as-event, flymake-popup-menu)
5923         (flymake-make-emacs-menu): Remove.  (Bug#16077)
5925 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5927         * rect.el (rectangle-mark-mode): Activate mark even if
5928         transient-mark-mode is off (bug#16066).
5929         (rectangle--highlight-for-redisplay): Fix boundary condition when point
5930         is > mark and at bolp.
5932         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5933         (region-extract-function): Use it.
5934         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5935         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5936         Delete functions.
5937         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5938         kill-ring-save, kill-region, delete-char, delete-forward-char.
5939         Ignore self-insert-iso.
5941         * emulation/cua-gmrk.el (cua--init-global-mark):
5942         Ignore `self-insert-iso'.
5944         * emulation/cua-base.el (cua--prefix-copy-handler)
5945         (cua--prefix-cut-handler): Rely on region-extract-function rather than
5946         checking cua--rectangle.
5947         (cua-delete-region): Use region-extract-function.
5948         (cua-replace-region): Delete function.
5949         (cua-copy-region, cua-cut-region): Obey region-extract-function.
5950         (cua--pre-command-handler-1): Don't do the delete-selection thing.
5951         (cua--self-insert-char-p): Ignore `self-insert-iso'.
5952         (cua--init-keymaps): Don't remap delete-selection commands.
5953         (cua-mode): Use delete-selection-mode instead of rolling our own
5954         (bug#16085).
5956         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5957         Obey region-extract-function.
5959         Make registers and delete-selection-mode work on rectangles.
5960         * register.el (describe-register-1): Don't modify the register's value.
5961         (copy-to-register): Obey region-extract-function.
5962         * delsel.el (delete-active-region): Obey region-extract-function.
5964 2013-12-08  Leo Liu  <sdl.web@gmail.com>
5966         * progmodes/flymake.el (flymake, flymake-error-bitmap)
5967         (flymake-warning-bitmap, flymake-fringe-indicator-position)
5968         (flymake-compilation-prevents-syntax-check)
5969         (flymake-start-syntax-check-on-newline)
5970         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5971         (flymake-start-syntax-check-on-find-file, flymake-log-level)
5972         (flymake-xml-program, flymake-master-file-dirs)
5973         (flymake-master-file-count-limit)
5974         (flymake-allowed-file-name-masks): Relocate.
5975         (flymake-makehash, flymake-float-time)
5976         (flymake-replace-regexp-in-string, flymake-split-string)
5977         (flymake-get-temp-dir): Remove.
5978         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5979         (flymake-current-row, flymake-selected-frame)
5980         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5981         related functions.  (Bug#16077)
5983 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
5985         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5987 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
5989         * help-fns.el (describe-function-1): Use new advice-* functions
5990         rather than old ad-* functions.  Fix function type description and
5991         source links for advised functions and subrs.
5993 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5995         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5997 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
5999         * progmodes/compile.el (compilation-start):
6000         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6002         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6003         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
6005 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
6007         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6008         Touch up the last change.
6010 2013-12-06  Leo Liu  <sdl.web@gmail.com>
6012         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6013         (inferior-octave-startup): Always use "octave> " for prompt.
6014         (octave-goto-function-definition)
6015         (octave-sync-function-file-names)
6016         (octave-find-definition-default-filename): Remove redundant backquotes.
6018 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
6020         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6021         syntax for `?'.
6022         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6023         where appropriate already.
6024         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6025         end of method names (Bug#15874).
6027 2013-12-06  Juri Linkov  <juri@jurta.org>
6029         * isearch.el (isearch--saved-overriding-local-map):
6030         New internal variable.
6031         (isearch-mode): Set it to the initial value of
6032         `overriding-terminal-local-map'.
6033         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6034         with `isearch--saved-overriding-local-map'.  (Bug#16035)
6036 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
6038         * progmodes/octave.el (inferior-octave-completion-table):
6039         Turn back into function, use `completion-table-with-cache'
6040         (Bug#11906).  Update all references.
6042         * minibuffer.el (completion-table-with-cache): New function.
6044 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
6046         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6048 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
6050         * net/eww.el (eww-current-source): New variable to store page
6051         source.
6052         (eww-display-html, eww-mode, eww-save-history)
6053         (eww-restore-history): Use it.
6054         (eww-view-source): New command to view page source.
6055         Opportunistically uses `html-mode' to highlight the buffer.
6056         (eww-mode-map): Install it.
6058 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
6060         * net/dbus.el (dbus-unregister-service)
6061         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6062         Fix docstring.
6063         (dbus-unregister-service): Skip :serial entries in
6064         `dbus-registered-objects-table'.
6065         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6067 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
6069         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6070         around keywords with extra `split-string' argument.
6072 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
6074         * windmove.el (windmove-other-window-loc): Handle navigation
6075         between windows (excluding the minibuffer window - Bug#16017).
6077 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
6079         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6080         in D-Bus type syntax.
6081         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6082         preserve unibyte strings.  (Bug#16048)
6084 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6086         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6087         Call force-mode-line-update is the proper buffer (bug#16042).
6089 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
6091         * vc/log-edit.el (log-edit-add-new-comment): Rename to
6092         `log-edit-remember-comment', make argument optional.  Adjust all
6093         callers.
6094         (log-edit-mode): Add `log-edit-remember-comment' to
6095         `kill-buffer-hook' locally.
6096         (log-edit-kill-buffer): Don't remember comment explicitly since
6097         the buffer is killed anyway.
6099 2013-12-04  Juri Linkov  <juri@jurta.org>
6101         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6102         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
6104 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
6106         * notifications.el (notifications-close-notification): Call the
6107         D-Bus method with ID being a `:uint32'.  (Bug#16030)
6109 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
6111         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6113 2013-12-03  Juri Linkov  <juri@jurta.org>
6115         * progmodes/compile.el (compilation-start): Rename window alist
6116         entry `no-display-ok' to `allow-no-window'.
6118         * simple.el (shell-command): Add window alist entry
6119         `allow-no-window' to `display-buffer'.
6120         (async-shell-command): Doc fix.
6122         * window.el (display-buffer-no-window): New action function.
6123         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
6125 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
6127         * vc/log-edit.el (log-edit-set-header): Extract from
6128         `log-edit-toggle-header'.
6129         (log-edit-extract-headers): Separate the summary, when extracted
6130         from header, from the rest of the message with an empty line.
6132         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6133         line, if present, to the Summary header.
6135 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6137         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6138         in current-buffer (bug#16029).
6140 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
6142         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6143         (debugger-mode-map): Bind it.
6144         (debugger--backtrace-base): New function.
6145         (debugger-eval-expression): Use it.
6146         (debugger-frame-number): Skip local vars when present.
6147         (debugger--locals-visible-p, debugger--insert-locals)
6148         (debugger--show-locals, debugger--hide-locals): New functions.
6150 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
6152         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6153         "LC_ALL".
6154         (tramp-get-remote-locale): New defun.
6155         (tramp-open-connection-setup-interactive-shell): Use it.
6157 2013-12-02  Leo Liu  <sdl.web@gmail.com>
6159         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
6161         * progmodes/sh-script.el (sh-shell-process):
6162         * progmodes/octave.el (inferior-octave-process-live-p):
6163         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6164         (gdb-inferior-io-sentinel):
6165         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6167 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
6169         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6170         `save-selected-window' to `log-edit-hide-buf'.  This makes
6171         `log-edit-show-files' idempotent.
6172         (log-edit-show-files): Mark the new window as dedicated.
6174 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
6176         * vc/log-edit.el (log-edit-mode-map): Add binding for
6177         `log-edit-kill-biffer'.
6178         (log-edit-hide-buf): Add a FIXME comment.
6179         (log-edit-add-new-comment): New function, extracted from
6180         `log-edit-done'.
6181         (log-edit-done, log-edit-add-to-changelog): Use it.
6182         (log-edit-kill-buffer): New command.
6184 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6186         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6187         instead of killing the buffer.
6189 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6191         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6193 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6195         * net/eww.el (eww-form-checkbox-selected-symbol)
6196         (eww-form-checkbox-symbol): New customizable variable.
6197         (eww-form-checkbox, eww-toggle-checkbox):
6198         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6200         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6201         (shr--get-media-pref, shr--extract-best-source): New function.
6202         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6203         no :src tag was specified.
6205         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6206         (eww-render): Handle `eww-use-external-browser-for-content-type'.
6207         Use \\` to match beginning of string instead of ^.
6208         (eww-browse-with-external-browser): Provide optional URL parameter.
6209         (eww-render): Set `eww-current-title' back to "".
6211         * net/shr.el (shr-tag-video): Display content for video if no
6212         poster is available.
6213         (shr-tag-audio): Add support for <audio> tag.
6215         * net/eww.el (eww-text-input-types): New const.
6216         (eww-process-text-input): Treat input types in
6217         `eww-text-input-types' as text.
6219         * net/shr.el (shr-tag-table): Fix comment typo.
6221 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6223         * net/eww.el (eww-follow-link): New command to avoid reloading
6224         pages when we follow #target links (bug#15243).
6225         (eww-quit): Special mode buffers shouldn't query before exiting.
6227 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6229         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6230         forms.
6232 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6234         * net/eww.el (eww-restore-history): Update the window title after
6235         moving in the history.
6236         (eww-current-dom): New variable used to save the current DOM.
6238 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
6240         * vc/log-edit.el (log-edit-mode-map): Add binding for
6241         `log-edit-beginning-of-line'.
6242         (log-edit-setup-add-author): New user option.
6243         (log-edit-beginning-of-line): New command.
6244         (log-edit): Move major mode call above the contents setup so that
6245         the local variable values are already applied.
6246         (log-edit): Only insert "Author: " when
6247         `log-edit-setup-add-author' is non-nil.
6248         (log-edit): When SETUP is non-nil, position point after ": "
6249         instead of point-min.
6251 2013-12-01  Glenn Morris  <rgm@gnu.org>
6253         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6255 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
6257         * startup.el (fancy-splash-frame): On MS-Windows, trigger
6258         redisplay to make sure the initial frame gets a chance to become
6259         visible.  (Bug#16014)
6261 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
6263         Support resizing frames and windows pixelwise.
6264         * cus-start.el (frame-resize-pixelwise)
6265         (window-resize-pixelwise): New entries.
6266         * emacs-lisp/debug.el (debug): Use window-total-height instead
6267         of window-total-size.
6268         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6269         * help.el (describe-bindings-internal): Use help-buffer as
6270         argument for with-help-window.
6271         (temp-buffer-max-width): New option.
6272         (resize-temp-buffer-window, help-window-setup)
6273         (with-help-window): Rewrite.
6274         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
6275         dragging dividers.
6276         * window.el (frame-char-size, window-min-pixel-height)
6277         (window-safe-min-pixel-height, window-safe-min-pixel-width)
6278         (window-min-pixel-width, window-safe-min-pixel-size)
6279         (window-combination-p, window-safe-min-size)
6280         (window-resizable-p, window--size-to-pixel)
6281         (window--pixel-to-size, window--resize-apply-p): New functions.
6282         (window-safe-min-height): Fix doc-string.
6283         (window-size, window-min-size, window--min-size-1)
6284         (window-sizable, window-sizable-p, window--min-delta-1)
6285         (window-min-delta, window--max-delta-1, window-max-delta)
6286         (window--resizable, window--resizable-p, window-resizable)
6287         (window-full-height-p, window-full-width-p, window-at-side-p)
6288         (window--in-direction-2, window-in-direction)
6289         (window--resize-reset-1, window--resize-mini-window)
6290         (window-resize, window-resize-no-error)
6291         (window--resize-child-windows-normal)
6292         (window--resize-child-windows, window--resize-siblings)
6293         (window--resize-this-window, window--resize-root-window)
6294         (window--resize-root-window-vertically)
6295         (adjust-window-trailing-edge, enlarge-window, shrink-window)
6296         (maximize-window, minimize-window, delete-window)
6297         (quit-restore-window, window-split-min-size, split-window)
6298         (balance-windows-2, balance-windows)
6299         (balance-windows-area-adjust, balance-windows-area)
6300         (window--state-get-1, window-state-get, window--state-put-1)
6301         (window--state-put-2, window-state-put)
6302         (display-buffer-record-window, window--display-buffer):
6303         Make functions handle pixelwise sizing of windows.
6304         (display-buffer--action-function-custom-type)
6305         (display-buffer-fallback-action):
6306         Add display-buffer-in-previous-window.
6307         (display-buffer-use-some-window): Resize window to height it had
6308         before.
6309         (fit-window-to-buffer-horizontally): New option.
6310         (fit-frame-to-buffer): Describe new values.
6311         (fit-frame-to-buffer-bottom-margin): Replace with
6312         fit-frame-to-buffer-margins.
6313         (window--sanitize-margin): New function.
6314         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6315         using window-text-pixel-size.
6317 2013-11-30  Glenn Morris  <rgm@gnu.org>
6319         * emacs-lisp/bytecomp.el (byte-compile-form):
6320         Make the `interactive-only' warning like the `obsolete' one.
6321         * comint.el (comint-run):
6322         * files.el (insert-file-literally, insert-file):
6323         * replace.el (replace-string, replace-regexp):
6324         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6325         (goto-line, insert-buffer, next-line, previous-line):
6326         Tweak `interactive-only' spec.
6328         Stop keeping (most) generated cedet grammar files in the repository.
6329         * Makefile.in (semantic): New.
6330         (compile-main): Depend on semantic.
6332 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6334         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6335         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6337         * uniquify.el (uniquify-buffer-name-style): Change default.
6339         * loadup.el: Preload "uniquify".
6341         * time.el (display-time-update): Update all mode lines (bug#15999).
6343         * electric.el (electric-indent-mode): Enable by default.
6344         * loadup.el: Preload "electric".
6346 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
6348         * emacs-lisp/helpers.el (string-empty-p): New function.
6349         (string-blank-p): New function.
6351 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
6353         * imenu.el (imenu--index-alist): Add missing dot to the docstring
6354         (Bug#14029).
6356 2013-11-29  Andreas Politz  <politza@fh-trier.de>
6357         * imenu.el (imenu--subalist-p): Don't error on non-conses and
6358         allow non-lambda lists as functions.
6359         (imenu--in-alist): Don't recurse into non-subalists.
6360         (imenu): Don't pass function itself as an argument (Bug#14029).
6362 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6364         * progmodes/python.el (python-mode-map): Remove binding for ":".
6365         (python-indent-electric-colon): Remove command.
6366         (python-indent-post-self-insert-function): Integrate the previous code
6367         of python-indent-electric-colon.  Make it conditional on
6368         electric-indent-mode.
6369         (python-mode): Add ?: to electric-indent-chars.
6370         Move python-indent-post-self-insert-function to the end of
6371         post-self-insert-hook.
6373 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6375         * doc-view.el (doc-view-goto-page): Update mode-line.
6377         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6379 2013-11-27  Glenn Morris  <rgm@gnu.org>
6381         * international/charprop.el, international/uni-bidi.el:
6382         * international/uni-category.el, international/uni-combining.el:
6383         * international/uni-comment.el, international/uni-decimal.el:
6384         * international/uni-decomposition.el, international/uni-digit.el:
6385         * international/uni-lowercase.el, international/uni-mirrored.el:
6386         * international/uni-name.el, international/uni-numeric.el:
6387         * international/uni-old-name.el, international/uni-titlecase.el:
6388         * international/uni-uppercase.el:
6389         Remove generated files from VCS repository.
6391 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
6393         * filenotify.el (file-notify-add-watch): Don't special-case
6394         w32notify when computing the directory to watch.
6396 2013-11-27  Glenn Morris  <rgm@gnu.org>
6398         Make bootstrap without generated uni-*.el files possible again.
6399         * loadup.el: Update command-line-args checking for unidata-gen.
6400         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6401         * composite.el, international/characters.el:
6402         Handle unicode tables being undefined.
6404         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6405         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6406         (compile-main): Depend on leim rule.
6407         (leim): New rule.
6408         * loadup.el: Move leim-list.el to leim/ subdirectory.
6409         * startup.el (normal-top-level): No more leim directory.
6410         * international/ja-dic-cnv.el (skkdic-convert):
6411         Disable version-control and autoloads in output files.
6412         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6413         Disable version-control and autoloads in output files.
6414         * leim/quail: Move here from ../leim.
6415         * leim/quail/hangul.el (hangul-input-method-activate):
6416         Add autoload cookie.
6417         (generated-autoload-load-name): Set file-local value.
6418         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6419         (generated-autoload-load-name): Set file-local value.
6421 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
6423         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6424         (eww-add-bookmark): Ask confirmation when add to bookmarks.
6425         (eww-quit): Ask confirmation before quitting eww.
6427 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
6429         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6430         reading output from Diff on MS-Windows and MS-DOS.
6432 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
6434         * emacs-lisp/helpers.el (string-reverse): New function.
6436 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
6438         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6439         names on MS Windows, like "/[::1]:".
6441         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6442         SWITCHES.
6444 2013-11-26  Glenn Morris  <rgm@gnu.org>
6446         * progmodes/python.el (python-indent-guess-indent-offset):
6447         Avoid corner-case error.  (Bug#15975)
6449         Preload leim-list.el.  (Bug#4789)
6450         * loadup.el: Load leim-list.el when found.
6451         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6453 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
6455         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6457         * emacs-lisp/helpers.el (string-join): New function.
6459 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
6461         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6462         Mark as obsolete and replace it with a symbol property.
6463         (byte-compile-form): Use new 'interactive-only property.
6464         * comint.el, files.el, replace.el, simple.el:
6465         Apply new 'interactive-only properly.
6467 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
6469         * window.el (display-buffer-at-bottom): Make sure that
6470         split-window-sensibly creates the new window on bottom
6471         (Bug#15961).
6473 2013-11-23  David Kastrup  <dak@gnu.org>
6475         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6476         on the conflict markers when available.
6477         (smerge--get-marker): New function.
6478         (smerge-end-re, smerge-base-re): Add subgroup.
6480 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6482         * frame.el (handle-focus-in, handle-focus-out): Add missing
6483         interactive spec.
6485 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
6487         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6488         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6490 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6492         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
6493         (gomoku--last-pos): New var.
6494         (gomoku--intangible-chars): New const.
6495         (gomoku--intangible): New function.
6496         (gomoku-mode): Use it.  Derive from special-mode.
6497         (gomoku-move-up): Adjust line count.
6498         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6499         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6500         Simplify accordingly.
6502         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6503         Remove blink-cursor code.
6504         (blink-cursor-timer-function, blink-cursor-suspend):
6505         Don't special-case GUIs.
6506         (blink-cursor-mode): Use focus-in/out-hook.
6508 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
6510         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6511         work when annotation is invisible (Bug#13886).
6513 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
6515         * json.el (json-alist-p): Only return non-nil if the alist has
6516         simple keys (Bug#13518).
6518 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
6520         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6521         when control-statement is the first statement in a buffer (Bug#15956).
6523 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
6525         * imenu.el (imenu-generic-skip-comments-and-strings):
6526         New option (Bug#15560).
6527         (imenu--generic-function): Use it.
6529 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
6531         * minibuffer.el (completion--in-region-1): Scroll the correct window.
6532         (Bug#13898)
6534 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
6536         * emacs-lisp/helpers.el: Add some string helpers.
6537         (string-trim-left): Removes leading whitespace.
6538         (string-trim-right): Removes trailing whitespace.
6539         (string-trim): Removes leading and trailing whitespace.
6541         * subr.el (string-suffix-p): New function.
6543 2013-11-23  Glenn Morris  <rgm@gnu.org>
6545         * progmodes/python.el (python-shell-send-file):
6546         Add option to delete file when done.  (Bug#15647)
6547         (python-shell-send-string, python-shell-send-region): Use it.
6549 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
6551         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6552         to set buffer-read-only to t, never to nil.  (Bug#15938)
6554         * textmodes/tex-mode.el (latex-noindent-environments):
6555         Add safe-local-variable property.  (Bug#15936)
6557 2013-11-23  Glenn Morris  <rgm@gnu.org>
6559         * textmodes/enriched.el (enriched-mode): Doc fix.
6560         * emacs-lisp/authors.el (authors-renamed-files-alist):
6561         Add enriched.doc -> enriched.txt.
6563         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6565 2013-11-22  Leo Liu  <sdl.web@gmail.com>
6567         * progmodes/octave.el (inferior-octave-startup): Spit out error
6568         message.
6570 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
6572         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6573         Improve docstring.
6574         Add :version.
6575         (ruby-encoding-magic-comment-style): Add :version.
6577 2013-11-22  Leo Liu  <sdl.web@gmail.com>
6579         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6580         (Bug#15076)
6581         (octave-help-mode): Adapt to change to help-mode-finish to use
6582         derived-mode-p on 2013-09-17.
6583         (inferior-octave-prompt): Also match octave-gui.
6584         (octave-kill-process): Don't ask twice.  (Bug#10564)
6586 2013-11-22  Leo Liu  <sdl.web@gmail.com>
6588         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6589         (inferior-octave-startup, inferior-octave-check-process)
6590         (inferior-octave-track-window-width-change)
6591         (octave-completion-at-point, octave-eldoc-function): Use it.
6592         (octave-kill-process): Provide confirmation.  (Bug#10564)
6594 2013-11-21  Leo Liu  <sdl.web@gmail.com>
6596         * progmodes/octave.el (octave-mode, inferior-octave-mode):
6597         Fix obsolete variable comment-use-global-state.
6599 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6601         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6602         Add `octave-source-file'.
6603         (octave-source-file): New function.  (Bug#15935)
6605 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
6607         * net/eww.el (eww-local-regex): New variable.
6608         (eww): Use it to detect localhost and similar.
6610 2013-11-21  Leo Liu  <sdl.web@gmail.com>
6612         Add completion for command `ag'.
6613         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6614         (pcomplete/ag): New function.
6615         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
6617 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6619         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6620         (bug#14646).
6621         (make-obsolete): Remove interactive spec.
6623 2013-11-21  Glenn Morris  <rgm@gnu.org>
6625         * startup.el (command-line-1): Use path-separator with -L.
6627 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
6629         * emacs-lisp/package.el (describe-package-1): Add package archive
6630         to shown fields.
6632 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
6634         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6635         Change default to "# encoding: %s" to differentiate it from the
6636         default Ruby encoding comment template.
6638 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
6640         * ses.el (ses-mode): Doc fix.  (Bug#14748)
6642 2013-11-20  Leo Liu  <sdl.web@gmail.com>
6644         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
6646 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
6648         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6649         when rebase or bisect are in progress.
6651 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
6653         * filenotify.el (file-notify-add-watch): Doc fix.
6655 2013-11-19  Leo Liu  <sdl.web@gmail.com>
6657         * obsolete/rcompile.el: Mark obsolete.
6659         * progmodes/compile.el (compilation-start)
6660         (compilation-goto-locus, compilation-find-file):
6661         Pass no-display-ok and handle nil value from display-buffer.
6662         (Bug#13594)
6664         * window.el (display-buffer-alist, display-buffer): Document the
6665         new parameter no-display-ok.  Return either a window or nil
6666         but never a non-window value.
6668 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6670         * electric.el (electric-indent-mode-map): Remove.
6671         (electric-indent-mode): Change the global-map instead (bug#15915).
6673         * textmodes/text-mode.el (paragraph-indent-minor-mode):
6674         Use add-function.
6676 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6678         * emacs-lisp/nadvice.el (remove-function): Align with
6679         add-function's behavior.
6681         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6682         (gdb--string-regexp): New constant.
6683         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6684         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6685         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6686         submatch 1.
6687         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6688         Adjust use accordingly.
6689         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6691 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
6693         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6694         interpolation curlies (Bug#15914).
6696 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
6698         * calc/calc.el (calc-context-sensitive-enter): New variable.
6699         (calc-enter): Use `calc-context-sensitive-enter'.
6701 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
6703         * progmodes/cfengine.el: Version bump.
6704         (cfengine-cf-promises): New defcustom to locate cf-promises.
6705         (cfengine3-vartypes): Add new "data" type.
6706         (cfengine3--current-word): New function to get current name-like
6707         word or its bounds.
6708         (cfengine3--current-function): New function to look up a CFEngine
6709         function's definition.
6710         (cfengine3-format-function-docstring): New function.
6711         (cfengine3-make-syntax-cache): New function.
6712         (cfengine3-documentation-function): New function: ElDoc glue.
6713         (cfengine3-completion-function): New function: completion glue.
6714         (cfengine3-mode): Set `compile-command',
6715         `eldoc-documentation-function', and add to
6716         `completion-at-point-functions'.
6718 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
6720         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6721         `tramp-current-connection'.
6723 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
6725         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6726         nil/self/true/false with "end of symbol".
6728 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
6730         * subr.el (version-regexp-alist): Fix a typo.
6732 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
6734         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6735         "en_US.utf8" and "LC_CTYPE" to "".
6736         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6737         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6739 2013-11-15  Leo Liu  <sdl.web@gmail.com>
6741         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
6743 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6745         * progmodes/gud.el (ctl-x-map):
6746         Remove C-x SPC binding.  (Bug#12342)
6747         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6749 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
6751         * subr.el (version-regexp-alist):
6752         Recognize hg, svn and darcs versions as snapshot versions.
6754         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6755         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6756         (ruby--encoding-comment-required-p): Extract from
6757         `ruby-mode-set-encoding'.
6758         (ruby-mode-set-encoding): Add the ability to always insert an
6759         utf-8 encoding comment.  Fix and simplify coding comment update
6760         logic.
6762 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
6764         * net/tramp-gvfs.el (top): Run init code only when
6765         `tramp-gvfs-enabled' is not nil.
6766         (tramp-gvfs-enabled): Check also :system bus.
6768 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6770         Sync with upstream verilog-mode revision 78e66ba.
6771         * progmodes/verilog-mode.el (verilog-end-of-defun)
6772         (verilog-type-completion, verilog-get-list): Remove unused funcs.
6773         (verilog-get-end-of-defun): Remove unused argument.
6774         (verilog-comment-depth): Remove unused local `e'.
6775         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6776         Don't pass arg to verilog-get-end-of-defun.
6778 2013-11-14  Glenn Morris  <rgm@gnu.org>
6780         * obsolete/assoc.el (aget): Prefix dynamic variable.
6782         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6784 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6786         * widget.el, hfy-cmap.el: Remove bogus package version number.
6788 2013-11-13  Glenn Morris  <rgm@gnu.org>
6790         * replace.el (replace-eval-replacement):
6791         Try to give more helpful error message.  (Bug#15836)
6793         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6794         (archive-7z-update): Avoid custom type mismatches.
6796         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6798 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
6800         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6801         address can be empty.
6803         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6804         Accept nil SWITCHES.
6805         (tramp-gvfs-handle-write-region): Implement APPEND.
6807 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
6809         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6810         binary "|" operator and closing block args delimiter.
6811         Remove FIXME comment referring to Ruby 1.8-only syntax.
6812         (ruby-smie--implicit-semi-p): Not after "|" operator.
6813         (ruby-smie--closing-pipe-p): New function.
6814         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6815         (ruby-smie-rules): Indent after "|".
6817 2013-11-12  Glenn Morris  <rgm@gnu.org>
6819         * ps-print.el (ps-face-attribute-list):
6820         Handle anonymous faces.  (Bug#15827)
6822 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
6824         * window.el (display-buffer-other-frame): Fix doc-string.
6825         (Bug#15868)
6827 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6829         * subr.el (force-mode-line-update): Delete, move to buffer.c.
6831 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
6833         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6834         (tramp-sh-handle-file-local-copy): Don't write a message when
6835         saving temporary files.
6837         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6838         both directories are remote.
6839         (tramp-smb-handle-directory-files): Do not return double entries.
6840         Do not expand full file names.
6841         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6842         (tramp-smb-handle-write-region): Implement APPEND.
6843         (tramp-smb-get-stat-capability): Fix a stupid bug.
6845 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6847         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6849 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
6851         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6852         throwing error over malformed let/let* (bug#15814).
6854 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6856         * iswitchb.el (iswitchb-mode): Mark obsolete.
6858 2013-11-11  Glenn Morris  <rgm@gnu.org>
6860         * international/uni-bidi.el, international/uni-category.el:
6861         * international/uni-name.el, international/uni-numeric.el:
6862         Regenerate for Unicode 6.3.0.
6864 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
6866         * net/tramp.el (tramp-methods):
6867         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6868         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6870 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
6872         * progmodes/sh-script.el (sh-font-lock-keywords-var):
6873         Force highlighting text after Summary keyword in doc face for rpm.
6875 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
6877         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6878         available and the word has no wildcards, append one to the grep pattern.
6879         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6880         (ispell-complete-word): Call `ispell-lookup-words' with the value
6881         independent of `ispell-look-p'.
6883 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
6885         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6886         Not after "||".
6887         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6888         their parent.
6890 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6892         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
6893         (ruby-font-lock-keywords): Use backquote.
6895 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
6897         * progmodes/ruby-mode.el (ruby-smie--forward-token)
6898         (ruby-smie--backward-token): Only consider full-string matches.
6900 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
6902         * faces.el (describe-face): Add distant-foreground.
6904 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
6906         * progmodes/ruby-mode.el: Improve encoding comment handling.
6907         (ruby-encoding-magic-comment-style): New option.
6908         (ruby-custom-encoding-magic-comment-template): New option.
6909         (ruby--insert-coding-comment, ruby--detect-encoding):
6910         New functions extracted from `ruby-mode-set-encoding'.
6911         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6912         to control the style of the auto-inserted encoding comment.
6914 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
6916         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6917         Use `smie-backward-sexp' with token argument.
6919 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
6921         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6922         Remove instrumentation code.
6924 2013-11-08  Glenn Morris  <rgm@gnu.org>
6926         * progmodes/autoconf.el (autoconf-mode):
6927         Tweak comment-start-skip.  (Bug#15822)
6929 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6931         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6932         at bobp (bug#15826).
6933         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6935 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
6937         * man.el (Man-start-calling): New macro, extracted from
6938         Man-getpage-in-background.
6939         (Man-getpage-in-background): Use it.
6940         (Man-update-manpage): New command.
6941         (Man-mode-map): Bind it.
6943 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
6945         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6946         of "and", "or", "&&" and "||".
6947         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6948         argument.  Prohibit opening curly brace because it could only be a
6949         block opener in that position.
6950         (ruby-smie--forward-token, ruby-smie--backward-token):
6951         Separate "|" from "&" or "*" going after it.  That can happen in block
6952         arguments.
6953         (ruby-smie--indent-to-stmt): New function, seeks the end of
6954         previous statement or beginning of buffer.
6955         (ruby-smie-rules): Use it.
6956         (ruby-smie-rules): Check if there's a ":" before a curly block
6957         opener candidate; if there is, it's a hash.
6959 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6961         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6962         (cl--block-wrapper): Fix last accidental change.
6964 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
6966         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6967         Instrument, in order to hunt failure on hydra.
6969 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
6971         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6972         malformed bindings form (bug#15814).
6974 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
6976         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6977         "." compared to " @ ".  This incidentally fixes some indentation
6978         examples with "do".
6979         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6980         (ruby-smie-grammar): New tokens: "and" and "or".
6981         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6982         Exclude "and" and "or".  Remove "do" in order to work around token
6983         priorities.
6984         (ruby-smie-rules): Add all infix tokens.  Handle the case of
6985         beginning-of-buffer.
6987 2013-11-06  Glenn Morris  <rgm@gnu.org>
6989         * Makefile.in (setwins_almost, setwins_for_subdirs):
6990         Avoid accidental matches.
6992 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6994         * menu-bar.el (popup-menu): Use key-binding.
6996 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
6998         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6999         menus, support also the menus produced by minor modes.
7000         (Bug#15817)
7002 2013-11-06  Leo Liu  <sdl.web@gmail.com>
7004         * thingatpt.el (thing-at-point-looking-at): Add optional arg
7005         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
7007 2013-11-06  Glenn Morris  <rgm@gnu.org>
7009         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7010         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7011         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7013 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7015         * electric.el (electric-indent-just-newline): New command.
7016         (electric-indent-mode-map): New keymap.
7017         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7018         Re-add :group which weren't redundant.
7020         * electric.el (electric-indent-local-mode): New minor mode.
7021         (electric-indent-functions-without-reindent): New var.
7022         (electric-indent-post-self-insert-function): Use it.
7023         * emacs-lisp/gv.el (buffer-local-value): Add setter.
7025 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
7027         * international/quail.el (quail-help): Be more explicit about the
7028         meaning of the labels shown on the keys.  (Bug#15800)
7030         * startup.el (normal-top-level): Load the subdirs.el files before
7031         setting the locale environment.  (Bug#15805)
7033 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7035         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7036         via arguments so as to get the right ones (bug#15418).
7038         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7040 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
7042         Fix problems found while writing a test suite.
7044         * net/tramp-compat.el (tramp-compat-load): New defun.
7045         * net/tramp.el (tramp-handle-load): Use it.
7047         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7048         "(numberp ok-if-already-exists)" correctly.
7050 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
7052         * international/characters.el (glyphless-char-display-control):
7053         Add usage note.
7055 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
7057         * progmodes/python.el (python-mode):
7058         * progmodes/scheme.el (scheme-mode):
7059         * progmodes/prolog.el (prolog-mode):
7060         * progmodes/ruby-mode.el (ruby-mode):
7061         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7062         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7064 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7066         * rect.el (rectangle--highlight-for-redisplay):
7067         * emacs-lisp/smie.el (smie--next-indent-change):
7068         Use buffer-chars-modified-tick.
7070         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7072         * electric.el (electric-indent-post-self-insert-function):
7073         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7075 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
7077         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7079 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7081         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7082         (bug#15786).
7084 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7086         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
7088         * progmodes/python.el: Fix up last change.
7089         (python-shell--save-temp-file): New function.
7090         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
7091         `string' comes from the current buffer.
7092         (python-shell-send-string-no-output): Remove `msg' arg.
7093         (python--use-fake-loc): New var.
7094         (python-shell-buffer-substring): Obey it.  Try to compensate for the
7095         extra coding line added by python-shell--save-temp-file.
7096         (python-shell-send-region): Use python-shell--save-temp-file and
7097         python-shell-send-file directly.  Add `nomain' argument.
7098         (python-shell-send-buffer): Use python-shell-send-region.
7099         (python-electric-pair-string-delimiter): New function.
7100         (python-mode): Use it.
7102 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
7104         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7105         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7106         environment and decoding all of the default-directory's to here
7107         from command-line.
7108         (command-line): Decode also argv[0].
7110         * loadup.el: Error out if default-directory is a multibyte string
7111         when we are dumping.
7113         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
7115 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
7117         * emacs-lisp/package.el (package-menu-mode)
7118         (package-menu--print-info, package-menu--archive-predicate):
7119         Add Archive column to package list.
7121 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
7123         Fix problems found while writing a test suite.
7125         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7126         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7127         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7128         to nil when running original file name handler.  Otherwise,
7129         there are problems with constructs like "$$FOO".
7131         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7132         for `localname'.
7134 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
7136         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7138         * subr.el (version<, version<=, version=):
7139         Update docstrings with information for snapshot versions.
7141         * helpers.el: New library for misc helper functions.
7142         (hash-table-keys): New function returning a list of hash keys.
7143         (hash-table-values): New function returning a list of hash values.
7145 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
7147         * progmodes/ruby-mode.el (ruby-smie--forward-token)
7148         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7150 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
7152         * textmodes/fill.el (fill-single-char-nobreak-p): New function
7153         checking whether point is after a 1-letter word.
7155 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7157         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7158         Don't infloop when expanding region over `multiline' syntax-type that
7159         begins a line (bug#15778).
7161 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7163         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7164         Make it into a proper minor mode.
7165         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7166         (rectangle-mark-mode-map): New keymap.
7167         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7169 2013-11-04  Glenn Morris  <rgm@gnu.org>
7171         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7173 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7175         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7176         (ruby-smie-rules): Use smie-rule-parent instead.
7178         * emacs-lisp/smie.el (smie-rule-parent): Always call
7179         smie-indent-virtual rather than only for hanging tokens.
7180         (smie--next-indent-change): New helper command.
7182 2013-11-03  Glenn Morris  <rgm@gnu.org>
7184         * Makefile.in (abs_srcdir): Remove.
7185         (emacs): Unset EMACSLOADPATH.
7187 2013-11-02  Glenn Morris  <rgm@gnu.org>
7189         * Makefile.in (EMACS): Use a relative filename.
7190         (abs_top_builddir): Remove.
7191         (custom-deps, finder-data, autoloads): Use --chdir.
7193         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7195         Use relative filenames in TAGS files.
7196         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7197         (lisptagsfiles4, TAGS): Use relative file names.
7198         (TAGS-LISP): Remove.
7199         (maintainer-clean): No more TAGS-LISP file.
7201         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7202         (lisptagsfiles4): Use absolute filenames again.
7203         (TAGS, TAGS-LISP): Not everything needs to run in one line.
7204         Remove all *loaddefs files, not just the first.  Remove esh-groups.
7205         (maintainer-clean): Delete TAGS, TAGS-LISP.
7207 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
7209         * emacs-lisp/package.el (package-version-join):
7210         Recognize snapshot versions.
7212 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
7214         * subr.el (version-regexp-alist): Add support for snapshot versions.
7216 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
7218         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7219         New function, replacement for `smie-rule-parent' for when we want to
7220         skip over our direct parent if it's an assignment token..
7221         (ruby-smie-rules): Use it.
7223 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
7225         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7226         unconditionally.  Remove now unnecessary forward declarations.
7227         Remove XEmacs-specific setup.
7228         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7229         (ruby-font-lock-syntactic-keywords)
7230         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7231         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7232         (ruby-here-doc-end-syntax): Remove.
7233         (ruby-mode): Don't check whether `syntax-propertize-rules' is
7234         defined as function.
7236 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
7238         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7240 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
7242         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7243         table and abbrev table, `define-derived-mode' does that for us
7244         anyway.
7246 2013-11-01  Glenn Morris  <rgm@gnu.org>
7248         * Makefile.in: Remove manual mh-e dependencies (writing .elc
7249         files is atomic for some time, so no parallel compilation issues).
7251 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
7253         * faces.el (face-x-resources): Add :distant-foreground.
7254         (region): Use :distant-foreground for gtk and ns.
7256 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
7258         Allow multiple bibliographies when BibLaTeX is used rather than
7259         BibTeX.
7260         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7261         (reftex-locate-bibliography-files): Us it.
7263 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
7265         * image.el (image-type-header-regexps): Fix the 'pbm' part to
7266         allow comments in pbm files.
7268         * term/w32-win.el (dynamic-library-alist): Support newer versions
7269         of libjpeg starting with v7: look only for the DLL from the
7270         version against which Emacs was built.
7271         Support versions of libpng beyond 1.4.x.
7272         Support libtiff v4.x.
7274 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
7276         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7277         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7278         Add property :safe.
7279         (ruby-deep-arglist): Add property :type.
7281 2013-10-31  Glenn Morris  <rgm@gnu.org>
7283         * Makefile.in (custom-deps, finder-data): No need to setq the target
7284         variables, we are in the right directory and the defaults work fine.
7286 2013-10-30  Glenn Morris  <rgm@gnu.org>
7288         * Makefile.in (autoloads): Do not use abs_lisp.
7290         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7291         `newline' does not respect `standard-output', so use `princ'.
7293 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
7295         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
7296         * buff-menu.el (Buffer-menu--unmark): New function.
7297         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7299 2013-10-30  Glenn Morris  <rgm@gnu.org>
7301         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7303         * emacs-lisp/package.el (lm-homepage): Declare.
7305         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7306         Fix doc typos.
7308         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7310         * Makefile.in (finder-data, autoloads, update-subdirs)
7311         (compile-main, compile-clean, compile-always, bootstrap-clean):
7312         Check return value of cd.
7313         (compile-calc): Remove.
7315 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7317         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7319         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7320         (byte-compile-and-folded): New function.
7321         (=, <, >, <=, >=): Use it.
7323         * dos-w32.el (minibuffer-history-case-insensitive-variables)
7324         (path-separator, null-device, buffer-file-coding-system)
7325         (lpr-headers-switches): Check system-type before modifying them.
7326         (find-buffer-file-type-coding-system): Mark obsolete.
7327         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7328         find-file-not-found-set-buffer-file-coding-system.
7329         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7330         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7331         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7332         (w32-direct-print-region-helper, w32-direct-print-region-function)
7333         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7334         * startup.el (normal-top-level-add-subdirs-to-load-path):
7335         * ps-print.el (ps-print-region-function):
7336         * lpr.el (print-region-function): Use new name.
7338         * subr.el (custom-declare-variable-early): Remove function.
7339         (custom-declare-variable-list): Remove var.
7340         (error, user-error): Remove `while' loop.
7341         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7342         (user-emacs-directory-warning, locate-user-emacs-file):
7343         Move to files.el.
7344         * simple.el (read-quoted-char-radix, read-quoted-char):
7345         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7346         Move from subr.el.
7347         * custom.el (custom-declare-variable-list): Don't process
7348         custom-declare-variable-list.
7350         * progmodes/python.el (python-shell-get-buffer): New function.
7351         (python-shell-get-process): Use it.
7352         (python-shell-send-string): Always use utf-8 and add a cookie to tell
7353         Python which encoding was used.  Don't split-string since we only care
7354         about the first line.  Return the temp-file, if applicable.
7355         (python-shell-send-region): Tell compile.el how to turn locations in
7356         the temp-file into locations in the source buffer.
7358 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7360         * subr.el (undefined): Add missing behavior from the C code for
7361         unbound keys.
7363         * rect.el: Use lexical-binding.  Add new rectangular region support.
7364         (rectangle-mark): New command.
7365         (rectangle--region): New var.
7366         (deactivate-mark-hook): Reset rectangle--region.
7367         (rectangle--extract-region, rectangle--insert-for-yank)
7368         (rectangle--highlight-for-redisplay)
7369         (rectangle--unhighlight-for-redisplay): New functions.
7370         (region-extract-function, redisplay-unhighlight-region-function)
7371         (redisplay-highlight-region-function): Use them to handle
7372         rectangular region.
7373         * simple.el (region-extract-function): New var.
7374         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7375         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7376         (kill-region): Replace obsolete `yank-handler' arg with `region'.
7377         (copy-region-as-kill, kill-ring-save): Add `region' argument.
7378         (redisplay-unhighlight-region-function)
7379         (redisplay-highlight-region-function): New vars.
7380         (redisplay--update-region-highlight): New function.
7381         (pre-redisplay-function): Use it.
7382         (exchange-point-and-mark): Don't deactivate the mark before
7383         reactivate-it anyway.
7384         * comint.el (comint-kill-region): Remove yank-handler argument.
7385         * delsel.el (delete-backward-char, backward-delete-char-untabify)
7386         (delete-char): Remove property, since it's now part of their
7387         default behavior.
7388         (self-insert-iso): Remove property since this command doesn't exist.
7390         * emacs-lisp/package.el (package--download-one-archive)
7391         (describe-package-1): Don't query the user about final newline.
7393 2013-10-29  Daniel Colascione  <dancol@dancol.org>
7395         * net/tramp.el (tramp-methods): Document new functionality.
7396         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7397         tramp-hostname-checker if method provides one instead of scanning
7398         argument list for "%h" to decide hostname acceptability.
7400 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
7402         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7403         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7404         Handle COPY-CONTENTS.  (Bug#15737)
7406 2013-10-28  Daiki Ueno  <ueno@gnu.org>
7408         * epa-file.el
7409         (epa-file-cache-passphrase-for-symmetric-encryption):
7410         Document that this option has no effect with GnuPG 2.0 (bug#15552).
7412 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
7414         * image.el (defimage, image-load-path): Doc fixes.
7416 2013-10-27  Alan Mackenzie  <acm@muc.de>
7418         Indent statements in macros following "##" correctly.
7419         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7420         Modify the "#" arm of a cond form to handle "#" and "##" operators.
7422 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7424         * linum.el (linum-update-window): Fix boundary test (bug#13446).
7426 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
7428         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7429         after `=' is probably a new expression.
7431 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7433         * man.el (man-imenu-title): New option.
7434         (Man-mode-map): Add menu.  (Bug#15722)
7435         (Man-mode): Add imenu to menu.
7437 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
7439         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7440         specific in what the first arg can be: a non-keyword word,
7441         string/regexp/percent literal opener, opening paren, or unary
7442         operator followed directly by word.
7444 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7446         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7447         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7448         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7449         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7450         Remove vars, they do not apply any more.
7451         (prolog-mode-abbrev-table): Remove redundant declaration.
7452         (prolog-upper-case-string, prolog-lower-case-string): Remove.
7453         (prolog-use-smie): Remove.
7454         (prolog-smie-rules): Add indentation rule for the if-then-else layout
7455         supported by prolog-electric-if-then-else-flag.
7456         (prolog-mode-variables, prolog-menu): Use setq-local.
7457         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7458         Remove binding to `Backspace' since this key doesn't exist anyway.
7459         Remove bindings for electric self-inserting keys.
7460         (prog-mode): Assume it's defined.
7461         (prolog-post-self-insert): New function.
7462         (prolog-mode): Use it.
7463         (prolog-indent-line, prolog-indent-level)
7464         (prolog-find-indent-of-matching-paren)
7465         (prolog-indentation-level-of-line, prolog-goto-comment-column)
7466         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7467         (prolog-goto-next-paren, prolog-in-string-or-comment)
7468         (prolog-tokenize, prolog-inside-mline-comment)
7469         (prolog-find-start-of-mline-comment): Remove functions.
7470         (prolog-find-unmatched-paren, prolog-clause-end)
7471         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7472         (prolog-electric--if-then-else): Rename from
7473         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7474         (prolog-tokenize-searchkey): Remove const.
7475         (prolog-clause-info): Use forward-sexp.
7476         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7477         (prolog-electric-if-then-else): Remove commands.
7478         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7479         for use in post-self-insert-hook.
7480         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7481         for use in post-self-insert-hook.
7482         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7483         for use in post-self-insert-hook.
7484         (prolog-electric--underscore): Rename from prolog-electric--underscore;
7485         adapt it for use in post-self-insert-hook.
7487 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
7489         * emacs-lisp/ert.el (ert-run-tests-interactively):
7490         Use `completing-read'.  (Bug#9756)
7492 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
7494         * simple.el (line-move): Call line-move-1 instead of
7495         line-move-visual when the current window hscroll is zero, but
7496         temporary-goal-column indicates we will need to hscroll as result
7497         of the movement.  (Bug#15712)
7499 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
7501         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7502         capitalization.  Use :visible instead of :active.
7503         Fix `ruby-indent-exp' reference.  Add menu items for the generic
7504         commands that are used with SMIE.
7505         (ruby-do-end-to-brace): Insert space after `{'.
7507 2013-10-25  John Anthony  <john@jo.hnanthony.com>
7509         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
7511         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
7513 2013-10-25  Glenn Morris  <rgm@gnu.org>
7515         * vc/vc.el (vc-print-log): Don't use a working revision unless
7516         one was explicitly specified.  (Bug#15322)
7518 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7520         * subr.el (add-to-list): Preserve return value in compiler-macro
7521         (bug#15692).
7523 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7525         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7526         result.  Ask user to retry using '-all' flag.  (Bug#15701)
7528 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7530         * emacs-lisp/smie.el: New smie-config system.
7531         (smie-config): New defcustom.
7532         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7533         (smie-config-guess, smie-config-save): New commands.
7534         (smie-config--mode-local, smie-config--buffer-local)
7535         (smie-config--trace, smie-config--modefuns): New vars.
7536         (smie-config--advice, smie-config--mode-hook)
7537         (smie-config--setter, smie-config-local, smie-config--get-trace)
7538         (smie-config--guess-value, smie-config--guess): New functions.
7539         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7540         text properties.  Treat "string fence" syntax like string syntax.
7542         * progmodes/sh-script.el (sh-use-smie): Change default.
7543         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7544         (sh-var-value): Simplify by CSE.
7545         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7546         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7547         is used.
7548         (sh-guess-basic-offset): Use cl-incf.
7549         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7551 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
7553         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7554         (bug#15699).
7556 2013-10-24  Glenn Morris  <rgm@gnu.org>
7558         * Makefile.in (abs_top_srcdir): Remove.
7559         (update-subdirs): Use relative path to update-subdirs.
7561 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
7563         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7564         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7565         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7566         Call unmsys--file-name before expand-file-name, not after it.
7568 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
7570         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7571         (ert-test-skipped): New error.
7572         (ert-skip, ert-stats-skipped): New defuns.
7573         (ert--skip-unless): New macro.
7574         (ert-test-skipped): New struct.
7575         (ert--run-test-debugger, ert-test-result-type-p)
7576         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7577         (ert--stats-set-test-and-result, ert-char-for-test-result)
7578         (ert-string-for-test-result, ert-run-tests-batch)
7579         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7580         Handle skipped tests.  (Bug#9803)
7582 2013-10-24  Glenn Morris  <rgm@gnu.org>
7584         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7586         * Makefile.in (abs_top_srcdir): New, set by configure.
7587         (update-subdirs): Correct build-aux location.
7589 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
7591         * vc/vc.el (vc-print-root-log): Always set `default-directory'
7592         value, whether we could auto-deduce `backend', or not.
7594         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7595         with parameters" example.  Simplify the "is it block or is it
7596         hash" check, but also make it more thorough.
7598 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
7600         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
7602 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7604         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7605         { if it is hanging.
7607         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7608         :before ";".
7610 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
7612         * progmodes/compile.el (compilation-directory-matcher)
7613         (compilation-page-delimiter):
7614         Support GNU Make-4.0 directory quoting.  (Bug#15678)
7616 2013-10-23  Leo Liu  <sdl.web@gmail.com>
7618         * ido.el (ido-tidy): Handle read-only text.
7620 2013-10-23  Glenn Morris  <rgm@gnu.org>
7622         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7623         (emacs, compile, compile-always):
7624         Quote entities that might contain whitespace.
7625         (custom-deps, finder-data, autoloads): Use abs_lisp.
7626         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7627         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7628         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7630 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
7632         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7633         Use `following-char'.
7635 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7637         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7638         * progmodes/ruby-mode.el (ruby-smie-rules):
7639         Remove corresponding workaround.  Fix indentation rule of ";" so it
7640         also applies when ";" is the parent.
7642 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
7644         * frame.el (display-screens, display-pixel-height)
7645         (display-pixel-width, display-mm-width, display-backing-store)
7646         (display-save-under, display-planes, display-color-cells)
7647         (display-visual-class, display-monitor-attributes-list):
7648         Mention the optional ‘display’ argument in doc strings.
7650 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
7652         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7653         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
7655 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
7657         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7658         TODO.  Add "." after " @ ".
7659         (ruby-smie--at-dot-call): New function.  Checks if point at method
7660         call with explicit target.
7661         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7662         to the method name tokens when it precedes them.
7663         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7664         (ruby-smie-rules): Add rule for indentation before and after "."
7665         token.
7667 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7669         * textmodes/remember.el (remember-diary-extract-entries):
7670         Avoid add-to-list.
7672         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7673         an instruction.
7675 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
7677         * progmodes/ruby-mode.el (ruby-smie-grammar):
7678         Add (almost) all infix operators.
7679         (ruby-smie--implicit-semi-p): Add new operator chars.
7681         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7682         `smie-down-list'.
7683         (ruby-smie--args-separator-p): Check that there's no newline
7684         between method call and its arguments.
7686 2013-10-20  Alan Mackenzie  <acm@muc.de>
7688         Allow comma separated lists after Java "implements".
7690         * progmodes/cc-engine.el (c-backward-over-enum-header):
7691         Parse commas.
7692         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7693         from a "disallowed" list in enum fontification.
7695 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
7697         * startup.el (default-frame-background-mode): Remove unused defvar.
7699         * progmodes/verilog-mode.el (verilog-mode): Don't set
7700         comment-indent-function globally.
7702 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
7704         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7705         Move Info menu item creation to ns-win.el.
7707         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7708         in menu bar.
7710         * menu-bar.el: Move GNUstep specific menus...
7712         * term/ns-win.el (ns-initialize-window-system): ... to here.
7714 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7716         * simple.el (newline): Only run post-self-insert-hook when
7717         called interactively.
7719 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
7721         * icomplete.el (icomplete-with-completion-tables): Add :version.
7723 2013-10-19  Alan Mackenzie  <acm@muc.de>
7725         Fix fontification bugs with constructors and const.
7727         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7728         CASE 2) Remove the check for the absence of a suffix construct
7729         after a function declaration with only types (no identifiers) in
7730         the parentheses.  Also, accept a function declaration with just a
7731         type inside the parentheses, if this type can be positively
7732         recognised as such, or if a prefix keyword like "explicit" nails
7733         down the construct as a declaration.
7735 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
7737         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7738         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
7739         the problem whereby selecting a menu item that leads to a
7740         minibuffer prompt moves the cursor out of the minibuffer window,
7741         making it hard to type at the prompt.  Suggested by Stefan Monnier
7742         <monnier@iro.umontreal.ca>.
7744 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
7746         * menu-bar.el: Don't make Services menu.
7748 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7750         * ffap.el: Handle "/usr/include/c++/<version>" directories.
7751         (ffap-alist): Use ffap-c++-mode for c++-mode.
7752         (ffap-c++-path): New variable.
7753         (ffap-c++-mode): New function.
7755 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
7757         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
7759 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
7761         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7762         introduced on 2013-09-08, which results in an infinite loop
7763         requesting a password.
7765 2013-10-18  Glenn Morris  <rgm@gnu.org>
7767         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7769 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
7771         Sync with upstream verilog-mode revision 1a6ecec7.
7772         * progmodes/verilog-mode.el (verilog-mode-version): Update.
7773         (verilog-mode-release-date): Remove.
7774         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7775         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7776         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7777         (verilog-auto-tieoff-ignore-regexp)
7778         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7779         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7780         (verilog-signals-with, verilog-dir-cache-preserving)
7781         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7782         Doc fixes.
7783         (verilog-case-fold): New option, to control case folding in
7784         regexp searches, bug597.
7785         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7786         (verilog-string-match-fold, verilog-in-paren-count)
7787         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7788         (verilog-at-close-struct-p): New functions.
7789         (verilog-beg-block-re-ordered, verilog-extended-case-re)
7790         (verilog-forward-sexp, verilog-set-auto-endcomments)
7791         (verilog-leap-to-case-head): Handle "unique0" case.
7792         (verilog-in-constraint-re): New constant.
7793         (verilog-keywords, verilog-type-font-keywords):
7794         Add some SystemVerilog 1800-2012 keywords.
7795         (verilog-label-be): Remove unimplemented argument, bug669.
7796         (verilog-batch-execute-func): When batch expanding clear
7797         create-lockfiles to prevent spurious user locks when a file ends
7798         up not changing.
7799         (verilog-calculate-indent, verilog-calc-1)
7800         (verilog-at-close-constraint-p, verilog-at-constraint-p)
7801         (verilog-do-indent): Fix indentation of nested constraints
7802         and structures.
7803         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7804         (verilog-auto-inst-param): Use verilog-string-match-fold.
7805         (verilog-read-inst-module-matcher):
7806         Fix AUTOINST on gate primitives with #1.
7807         (verilog-read-decls): Fix double-declaring user-defined typed signals.
7808         Reads all user-defined typed variables.
7809         (verilog-read-defines): Fix reading definitions inside comments, bug647.
7810         (verilog-signals-matching-regexp)
7811         (verilog-signals-not-matching-regexp, verilog-auto):
7812         Respect verilog-case-fold.
7813         (verilog-diff-report): Fix line count.
7814         (verilog-auto-assign-modport): Remove unused local `modi'.
7815         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7816         better handle multidimensional arrays.
7817         Fix packed array ports misadding bit index in AUTOINST, bug637.
7818         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7819         to not double-declare existing outputs and inputs, respectively.
7820         (verilog-template-map): Bind U to verilog-sk-uvm-component.
7821         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7822         (verilog-sk-uvm-component): New skeleton.
7823         (verilog-submit-bug-report): Add verilog-case-fold,
7824         remove verilog-mode-release-date.
7826 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
7828         * subr.el (sit-for): Call (input-pending-p t) so as to behave
7829         as before.
7831 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
7833         * textmodes/remember.el (remember): Set buffer-offer-save in
7834         remember buffers (bug#13566).
7836 2013-10-18  Daniel Colascione  <dancol@dancol.org>
7838         When evaluating forms in ielm, direct standard output to ielm
7839         buffer.  Add new ielm-return-for-effect command.  Remove trailing
7840         whitespace throughout.
7842         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7843         (ielm-return-for-effect): New command.
7844         (ielm-send-input): Accept optional `for-effect' parameter.
7845         (ielm-eval-input): Accept optional `for-effect' parameter.
7846         Bind `standard-output' to stream we create using
7847         `ielm-standard-output-impl'.  Suppress printing result when
7848         `for-effect'.
7849         (ielm-standard-output-impl): New function.
7850         (inferior-emacs-lisp-mode): Explain new features in documentation.
7852 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
7854         Code cleanup.
7856         * net/tramp.el (tramp-debug-message): Do not check for connection
7857         buffer.
7858         (tramp-message): Use "vector" connection property.
7860         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7861         (tramp-equal-remote, tramp-eshell-directory-change)
7862         * net/tramp-adb.el (tramp-adb-handle-copy-file)
7863         (tramp-adb-handle-rename-file)
7864         * net/tramp-cmds.el (tramp-list-remote-buffers)
7865         (tramp-cleanup-connection, tramp-cleanup-this-connection)
7866         * net/tramp-compat.el (tramp-compat-process-running-p)
7867         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7868         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7869         (tramp-gvfs-handle-rename-file)
7870         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7871         (tramp-set-file-uid-gid)
7872         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7873         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7874         of `file-remote-p'.
7876         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7877         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7878         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7879         (tramp-gw-open-network-stream): Suppress unrelated traces.
7881         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7882         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7883         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7884         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7885         connection property.
7887         * net/tramp-cache.el (top): Suppress traces when reading
7888         persistency file.
7890         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7891         Refactor common code.  Improve debug message.
7892         (tramp-maybe-open-connection)
7893         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7894         connection buffer too early.
7896         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7897         from `tramp-smb-actions-with-acl'.
7898         (tramp-smb-actions-set-acl): New defconst.
7899         (tramp-smb-handle-copy-directory)
7900         (tramp-smb-action-get-acl): New defun, renamed from
7901         `tramp-smb-action-with-acl'.
7902         (tramp-smb-action-set-acl): New defun.
7903         (tramp-smb-handle-set-file-acl): Rewrite.
7905 2013-10-17  Glenn Morris  <rgm@gnu.org>
7907         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
7909 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7911         * skeleton.el (skeleton-newline): Remove.
7912         (skeleton-internal-1): Use (insert "\n") instead.
7914         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7915         let-bindings.
7917         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7918         forward-sexp-function while we redo its job (bug#15613).
7920 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
7922         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7923         represented by lists.
7925 2013-10-16  Glenn Morris  <rgm@gnu.org>
7927         * tmm.el (tmm--history): New dynamic variable.
7928         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
7930 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
7932         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7933         (tramp-smb-errors): Add error messages.
7934         (tramp-smb-actions-with-acl): New defconst.
7935         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7936         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7937         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7938         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7939         (tramp-smb-get-stat-capability): Fix tests.
7941 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
7943         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7944         (bug#15580).
7946 2013-10-16  Glenn Morris  <rgm@gnu.org>
7948         * ansi-color.el (ansi-color-drop-regexp):
7949         Add 1J, 1K, 2K.  (Bug#15617)
7951         * files.el (hack-local-variables--warned-lexical): New.
7952         (hack-local-variables):
7953         Warn about misplaced lexical-binding.  (Bug#15616)
7955         * net/eww.el (eww-render): Always set eww-current-url,
7956         and update header line.  (Bug#15622)
7957         (eww-display-html): ... Rather than just doing it here.
7959 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
7961         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7962         menu navigations commands.
7964 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
7966         * progmodes/subword.el (subword-capitalize): Be careful when
7967         the search for [[:alpha:]] fails (bug#15580).
7969 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
7971         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7972         to commands that scroll the menu.
7974 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
7976         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7977         Handle methods ending with `?' and `!'.
7979 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
7981         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7982         `japanese-cp932' to `cp932' to fix the problem where saving a
7983         source file written in Shift_JIS twice would end up having
7984         `coding: japanese-cp932' which Ruby could not recognize.
7985         (ruby-mode-set-encoding): Add support for encodings mapped to nil
7986         in `ruby-encoding-map'.
7987         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7988         doesn't need to be explicitly declared in magic comment.
7989         (ruby-encoding-map): Add type declaration for better customize UI.
7991 2013-10-13  Glenn Morris  <rgm@gnu.org>
7993         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7994         Occur buffers are read-only.  http://bugs.debian.org/720775
7996         * emacs-lisp/authors.el (authors-fixed-entries):
7997         Comment out old alpha stuff.
7999 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
8001         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8002         to `after-save-hook' instead of `before-save-hook'.
8003         (ruby-mode-set-encoding): Use the value of coding system used to
8004         write the file.  Call `basic-save-buffer-1' after modifying the
8005         buffer.
8007 2013-10-13  Alan Mackenzie  <acm@muc.de>
8009         Fix indentation/fontification of Java enum with
8010         "implements"/generic.
8012         * progmodes/cc-engine.el (c-backward-over-enum-header):
8013         Extracted from the three other places and enhanced to handle generics.
8014         (c-inside-bracelist-p): Uses new function above.
8015         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8016         function above.
8017         (c-font-lock-enum-tail): Uses new function above.
8019 2013-10-13  Kenichi Handa  <handa@gnu.org>
8021         * international/mule-cmds.el (select-safe-coding-system): Remove a
8022         superfluous condition in chekcing whether a coding system is safe
8023         or not.
8025 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
8027         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
8029 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
8031         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
8033 2013-10-13  Glenn Morris  <rgm@gnu.org>
8035         * menu-bar.el (menu-bar-update-buffers):
8036         Unify Buffers menu prompt string.  (Bug#15576)
8038         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
8040         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8041         Add some entries.
8042         (authors-fixed-entries): Use accented form of name.
8044 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8046         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8047         method calls (bug#15594).
8048         (ruby-smie--args-separator-p): New function.
8049         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8050         recognize paren-free method calls.
8052         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8053         internals of universal-argument.
8055 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
8057         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8058         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8059         dropped menu on second mouse click on the menu bar.
8061 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8063         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8064         (explicit-shell-file-name): Declare.
8065         (sh--vars-before-point, sh--cmd-completion-table): New functions.
8066         (sh-completion-at-point-function): New function.
8067         (sh-mode): Use it.
8068         (sh-smie--keyword-p): Remove unused argument.
8069         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8070         vars.
8071         (sh-set-shell): Always setup SMIE, even if we use the
8072         old indentation code.
8074 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
8076         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8077         cases of ? and =.
8078         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
8079         predicate would return nil are almost non-existent.
8080         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8082         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8083         cache also after commands that modify the buffer but don't move
8084         point.
8086 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8088         * env.el (substitute-env-in-file-name): New function.
8089         (substitute-env-vars): Extend the meaning of the optional arg.
8091 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
8093         * term/w32-win.el (dynamic-library-alist): Define separate lists
8094         of GIF DLLs for versions before and after 5.0.0 of giflib.
8095         (Bug#15531)
8097 2013-10-10  João Távora  <joaotavora@gmail.com>
8099         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8100         not locked, use last revision and current source as
8101         defaults.  (Bug#15569)
8103 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
8105         * menu-bar.el (menu-bar-open): Don't use popup-menu if
8106         menu-bar is hidden.
8108 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
8110         * window.el (pop-to-buffer-same-window): Fix doc-string.
8111         (Bug#15492)
8113 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8115         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8117 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
8119         * calendar/icalendar.el (icalendar-import-file):
8120         Fix interactive spec.  (Bug#15482)
8122 2013-10-10  Glenn Morris  <rgm@gnu.org>
8124         * desktop.el (desktop-save): Default to saving in .emacs.d,
8125         since PWD is no longer in desktop-path by default.  (Bug#15319)
8127         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8128         now that text mode has a menu with the same entry.
8129         (menu-bar-text-mode-auto-fill): Remove now unused func.
8130         * textmodes/text-mode.el (text-mode-map):
8131         Use auto-fill help text from menu-bar.el.
8133 2013-10-10  John Anthony  <john@jo.hnanthony.com>
8135         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
8137 2013-10-09  Juri Linkov  <juri@jurta.org>
8139         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8140         instead of this-command-keys.  Add universal-argument-more and
8141         universal-argument-minus to the list of prefix commands.  (Bug#15568)
8143 2013-10-09  Glenn Morris  <rgm@gnu.org>
8145         * vc/vc-svn.el (vc-svn-create-repo):
8146         Expand paths in file://... url.  (Bug#15446)
8148         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8149         Add some entries.
8150         (authors): Remove unused local variables.
8152 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8154         * profiler.el: Create a more coherent calltree from partial backtraces.
8155         (profiler-format): Hide the tail with `invisible' so that C-s can still
8156         find the hidden elements.
8157         (profiler-calltree-depth): Don't recurse so enthusiastically.
8158         (profiler-function-equal): New hash-table-test.
8159         (profiler-calltree-build-unified): New function.
8160         (profiler-calltree-build): Use it.
8161         (profiler-report-make-name-part): Indent the calltree less.
8162         (profiler-report-mode): Add visibility specs for profiler-format.
8163         (profiler-report-expand-entry, profiler-report-toggle-entry):
8164         Expand the whole subtree when provided with a prefix arg.
8166 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
8168         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8169         iuwu-mod token.
8170         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8171         hanging iuwu-mod token.
8172         (ruby-smie--forward-token): Do not include a dot after a token in
8173         that token.
8174         (ruby-smie--backward-token): Likewise.
8176 2013-10-08  Juri Linkov  <juri@jurta.org>
8178         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8179         to isearch-other-control-char.
8180         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8181         and isearch-post-command-hook to post-command-hook.
8182         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8183         and isearch-post-command-hook from post-command-hook.
8184         (isearch-unread-key-sequence)
8185         (isearch-reread-key-sequence-naturally)
8186         (isearch-lookup-scroll-key, isearch-other-control-char)
8187         (isearch-other-meta-char): Remove functions.
8188         (isearch-pre-command-hook, isearch-post-command-hook):
8189         New functions based on isearch-other-meta-char rewritten
8190         relying on the new behavior of overriding-terminal-local-map
8191         that does not replace the local keymaps any more.  (Bug#15200)
8193 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
8195         Support menus on text-mode terminals.
8196         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8197         functionality.
8199         * tooltip.el (tooltip-mode): Don't error out on TTYs.
8201         * menu-bar.el (popup-menu, popup-menu-normalize-position):
8202         Move here from mouse.el.
8203         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8204         and arrow keys.
8205         (tty-menu-navigation-map): New map for TTY menu navigation.
8207         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8209         * frame.el (display-mouse-p): Report text-mode mouse as available
8210         on w32.
8211         (display-popup-menus-p): Report availability if mouse is
8212         available; don't condition on window-system.
8214         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8215         (tty-menu-selected-face): New faces.
8217 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8219         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8220         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8221         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8222         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8223         New constants.
8224         (lisp-mode-variables): New `elisp' argument.
8225         (emacs-lisp-mode): Use it.
8226         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8227         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8229         * indent.el: Use lexical-binding.
8230         (indent-region): Add progress reporter.
8231         (tab-stop-list): Make it implicitly extend to infinity by repeating the
8232         last step.
8233         (indent--next-tab-stop): New function to implement this behavior.
8234         (tab-to-tab-stop, move-to-tab-stop): Use it.
8236 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
8238         * indent.el (indent-rigidly--current-indentation): New function.
8239         (indent-rigidly-map): New var.
8240         (indent-rigidly): Use it to provide interactive mode (bug#8196).
8242 2013-10-08  Bastien Guerry  <bzg@gnu.org>
8244         * register.el (insert-register): Fix 2013-10-07 change.
8246 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8248         * progmodes/perl-mode.el: Use lexical-binding.
8249         Remove redundant :group args.
8250         (perl-nochange): Change default to be closer to other major modes's
8251         standard behavior.
8252         (perl-indent-line): Don't consider text on current line as a
8253         valid beginning of function from which to indent.
8255         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8256         with more than one argument (bug#15538).
8258         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8260         * vc/pcvs.el: Use lexical-binding.
8261         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8262         environment of `eval'.
8263         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8264         than a list of expressions.  Adjust callers.
8265         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8267 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
8269         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8270         case of the dot in a chained method call being on the following line.
8272 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8274         * electric.el (electric-indent-inhibit): New var.
8275         (electric-indent-post-self-insert-function): Use it.
8276         * progmodes/python.el (python-mode): Set it.
8278         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8279         open braces.
8281         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8283         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8284         (css-mode): Use electric-indent-chars.
8286         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8287         (font-lock-beg, font-lock-end): Move before first use.
8288         (nxml-mode): Use syntax-propertize-function.
8289         (nxml-after-change, nxml-after-change1): Adjust accordingly.
8290         (nxml-extend-after-change-region): Remove.
8291         * nxml/xmltok.el: Use lexical-binding.
8292         (xmltok-save): Use `declare'.
8293         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8294         * nxml/nxml-util.el: Use lexical-binding.
8295         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8296         Use `declare'.
8297         * nxml/nxml-ns.el: Use lexical-binding.
8298         (nxml-ns-save): Use `declare'.
8299         (nxml-ns-prefixes-for): Avoid add-to-list.
8300         * nxml/rng-match.el: Use lexical-binding.
8301         (rng--ipattern): Use cl-defstruct.
8302         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8303         (rng-cons-group-after, rng-subst-group-after)
8304         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8305         Use closures instead of `(lambda...).
8307 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
8309         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8310         of BEG and END.
8312         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8313         Use `tramp-handle-insert-file-contents'.
8314         (tramp-gvfs-handle-insert-file-contents): Remove function.
8316         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8317         Use `save-restriction' in order to keep markers.
8319         * net/trampver.el: Update release number.
8321 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8323         * progmodes/compile.el (compilation-parse-errors):
8324         Use compilation--put-prop.
8325         (compilation--ensure-parse): Check compilation-multiline.
8327         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8329         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8330         lexical-binding.
8332         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8334         * progmodes/ruby-mode.el: Fix recently added tests.
8335         (ruby-smie-grammar): Add - and +.
8336         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8337         (ruby-smie--backward-id): New functions.
8338         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8339         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
8340         any more.
8342 2013-10-07  Leo Liu  <sdl.web@gmail.com>
8344         * register.el (register-preview-delay)
8345         (register-preview-functions): New variables.
8346         (register-read-with-preview, register-preview)
8347         (register-describe-oneline): New functions.
8348         (point-to-register, window-configuration-to-register)
8349         (frame-configuration-to-register, jump-to-register)
8350         (number-to-register, view-register, insert-register)
8351         (copy-to-register, append-to-register, prepend-to-register)
8352         (copy-rectangle-to-register): Use register-read-with-preview to
8353         read register.  (Bug#15525)
8355 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
8357         * net/network-stream.el (network-stream-open-starttls): Don't add
8358         --insecure if it's already present, because that gnutls-cli
8359         rejects getting that parameter twice.
8361 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
8363         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8364         keyword, too.
8366 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
8368         * newcomment.el (comment-use-global-state): Change default value
8369         to t, mark obsolete (Bug#15251).
8370         (comment-beginning): In addition to `comment-to-syntax', check the
8371         value of `comment-use-global-state'.
8373 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8375         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8376         (ruby-comment-column): Follow the global default, by default.
8377         (ruby-smie-grammar): Add assignment syntax.
8378         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8379         open-paren, a comma, or a \.
8380         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8381         and line continuations.
8382         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8383         followed by implicit semi-colons.  Add rule for string concatenation
8384         and for indentation at BOB.
8385         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8387         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8388         calling next-sexp, since next-token may have skipped chars which
8389         next-sexp doesn't know should be skipped!
8391 2013-10-05  Leo Liu  <sdl.web@gmail.com>
8393         * progmodes/octave.el (octave-send-region):
8394         Call compilation-forget-errors.
8396 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
8398         * vc/vc-svn.el (vc-svn-find-admin-dir):
8399         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8400         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8401         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8402         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8404 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8406         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8408 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8410         * subr.el (read-passwd): Hide chars even when called within a context
8411         where after-change-functions is disabled (bug#15501).
8412         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8413         until we removed ourself from overriding-terminal-local-map.
8415 2013-10-04  Leo Liu  <sdl.web@gmail.com>
8417         * progmodes/octave.el (inferior-octave-mode):
8418         Call compilation-forget-errors.
8420 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
8422         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8424 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
8426         * net/secrets.el (secrets-create-collection): Add optional
8427         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
8428         dbus-call-method argument.  (Bug#15516)
8430 2013-10-04  Leo Liu  <sdl.web@gmail.com>
8432         * progmodes/octave.el (inferior-octave-error-regexp-alist)
8433         (inferior-octave-compilation-font-lock-keywords): New variables.
8434         (compilation-error-regexp-alist)
8435         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8436         (inferior-octave-mode): Use compilation-shell-minor-mode.
8438 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
8440         * minibuffer.el (completion--replace): Be careful that `end' might be
8441         a marker.
8443 2013-10-03  Daiki Ueno  <ueno@gnu.org>
8445         Add support for package signature checking.
8446         * emacs-lisp/package.el (url-http-file-exists-p)
8447         (epg-make-context, epg-context-set-home-directory)
8448         (epg-verify-string, epg-context-result-for)
8449         (epg-signature-status, epg-signature-to-string)
8450         (epg-check-configuration, epg-configuration)
8451         (epg-import-keys-from-file): Declare.
8452         (package-check-signature): New user option.
8453         (package-unsigned-archives): New user option.
8454         (package-desc): Add `signed' field.
8455         (package-load-descriptor): Set `signed' field if .signed file exists.
8456         (package--archive-file-exists-p): New function.
8457         (package--check-signature): New function.
8458         (package-install-from-archive): Check package signature.
8459         (package--download-one-archive): Check archive signature.
8460         (package-delete): Remove .signed file.
8461         (package-import-keyring): New command.
8462         (package-refresh-contents): Import default keyring.
8463         (package-desc-status): Add "unsigned" status.
8464         (describe-package-1, package-menu--print-info)
8465         (package-menu-mark-delete, package-menu--find-upgrades)
8466         (package-menu--status-predicate): Support "unsigned" status.
8468 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8470         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8471         the new compilation scheme using the new byte-codes.
8473         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8474         (byte-pophandler): New byte codes.
8475         (byte-goto-ops): Adjust accordingly.
8476         (byte-compile--use-old-handlers): New var.
8477         (byte-compile-catch): Use new byte codes depending on
8478         byte-compile--use-old-handlers.
8479         (byte-compile-condition-case--old): Rename from
8480         byte-compile-condition-case.
8481         (byte-compile-condition-case--new): New function.
8482         (byte-compile-condition-case): New function that dispatches depending
8483         on byte-compile--use-old-handlers.
8484         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8485         when we can.
8487         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8488         Optimize under `condition-case' and `catch' if
8489         byte-compile--use-old-handlers is nil.
8490         (disassemble-offset): Handle new bytecodes.
8492 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8494         * subr.el (error): Use `declare'.
8495         (decode-char, encode-char): Use advertised-calling-convention instead
8496         of the docstring to discourage use of the `restriction' arg.
8498 2013-10-03  Daiki Ueno  <ueno@gnu.org>
8500         * epg.el (epg-verify-file): Add a comment saying that it does not
8501         notify verification error as a return value nor a signal.
8502         (epg-verify-string): Ditto.
8504 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
8506         * progmodes/compile.el (compilation-start): Try globbing the arg to
8507         `cd' (bug#15417).
8509 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
8511         Sync with Tramp 2.2.8.
8513         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8514         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8515         * net/trampver.el: Update release number.
8517 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
8519         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8520         and default-process-coding-system for darwin only.
8522 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8524         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8526 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
8528         * vc/vc-git.el (vc-git-grep): Disable pager.
8530 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
8532         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8533         Use :url instead of :homepage, as per
8534         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8536         * newcomment.el (comment-beginning): When `comment-use-syntax' is
8537         non-nil, use `syntax-ppss' (Bug#15251).
8539 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8541         * progmodes/octave.el (inferior-octave-startup-file):
8542         Prefer ~/.emacs.d/init_octave.m.
8544 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
8546         * emacs-lisp/package.el (package-desc-from-define):
8547         Accept additional arguments as plist, convert them to an alist and store
8548         them in the `extras' slot.
8549         (package-generate-description-file): Convert extras alist back to
8550         plist and append to the `define-package' form arguments.
8551         (package--alist-to-plist): New function.
8552         (package--ac-desc): Add `extras' slot.
8553         (package--add-to-archive-contents): Check if the archive-contents
8554         vector is long enough, and if it is, pass its `extras' slot value
8555         to `package-desc-create'.
8556         (package-buffer-info): Call `lm-homepage', pass the returned value
8557         to `package-desc-from-define'.
8558         (describe-package-1): Render the homepage button (Bug#13291).
8560         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8561         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8563 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
8565         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8566         and default-process-coding-system to utf-8-unix (Bug#15402).
8568 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
8570         * subr.el (looking-back): Do not recommend using looking-back.
8572 2013-09-28  Alan Mackenzie  <acm@muc.de>
8574         Fix indentation/fontification of Java enum with "implements".
8576         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8577         regexp which matches "implements", etc., in Java.
8578         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8579         specifier clauses coming after "enum".
8580         * progmodes/cc-fonts.el (c-font-lock-declarations)
8581         (c-font-lock-enum-tail): Check for extra specifier clauses coming
8582         after "enum".
8584 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
8586         * faces.el (region): Change ns_selection_color to
8587         ns_selection_fg_color, add ns_selection_bg_color.
8589 2013-09-28  Leo Liu  <sdl.web@gmail.com>
8591         * progmodes/octave.el (inferior-octave-completion-table)
8592         (inferior-octave-completion-at-point): Minor tweaks.
8594         * textmodes/ispell.el (ispell-lookup-words): Rename from
8595         lookup-words.  (Bug#15460)
8596         (lookup-words): Obsolete.
8597         (ispell-complete-word, ispell-command-loop): All uses changed.
8599 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8601         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8602         (octave-mode-menu): Add octave-send-buffer.
8603         (octave-send-buffer): New function.
8605 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8607         * progmodes/octave.el (octave-mode-map): Add key binding for
8608         octave-lookfor.
8609         (octave-mode-menu): Add octave-lookfor.
8610         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8611         octave-lookfor.
8612         (octave-lookfor): New function.
8614 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8616         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8617         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8618         its convention.
8619         (cl--loop-set-iterator-function): New function.
8620         (cl-loop): Adjust accordingly, so as not to use cl-subst.
8621         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8622         Bind `it' with `let' instead of substituting it with `cl-subst'.
8623         (cl--unused-var-p): New function.
8624         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8625         Eliminate some unused variable warnings (bug#15326).
8627 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
8629         * doc-view.el (doc-view-scale-reset): Rename from
8630         `doc-view-reset-zoom-level'.
8631         (doc-view-scale-adjust): New command.
8632         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8633         `doc-view-scale-adjust'.
8635 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
8637         * doc-view.el (doc-view-reset-zoom-level): New command.
8638         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8639         zoom commands (bug#15466).
8641 2013-09-26  Kenichi Handa  <handa@gnu.org>
8643         * international/quail.el (quail-help): Make it not a command.
8645 2013-09-26  Leo Liu  <sdl.web@gmail.com>
8647         * minibuffer.el (completion-all-sorted-completions): Make args
8648         optional as they are.
8650 2013-09-25  Daniel Colascione  <dancol@dancol.org>
8652         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8653         specs are and that they're not evaluated.
8655 2013-09-24  Sam Steingold  <sds@gnu.org>
8657         * midnight.el (clean-buffer-list-kill-regexps)
8658         (clean-buffer-list-kill-buffer-names): Update for the new Man
8659         buffer naming which includes the object name.
8661 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8663         * eshell/esh-cmd.el (eshell--sep-terms): New var.
8664         (eshell-parse-command, eshell-parse-pipeline): Use it since
8665         eshell-separate-commands requires a dynamic scoped var.
8666         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8668 2013-09-23  Leo Liu  <sdl.web@gmail.com>
8670         * autoinsert.el (auto-insert-alist): Make the value of
8671         lexical-binding match its file setting.
8673 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
8675         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8677         * autoarg.el (autoarg-kp-digit-argument):
8678         * electric.el (Electric-command-loop):
8679         * kmacro.el (kmacro-step-edit-insert):
8680         Do not set universal-argument-num-events.
8682 2013-09-22  Leo Liu  <sdl.web@gmail.com>
8684         * files.el (interpreter-mode-alist): Add octave.
8686 2013-09-21  Alan Mackenzie  <acm@muc.de>
8688         C++: fontify identifier in declaration following "public:" correctly.
8689         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8690         to match "public", etc.
8691         (c-decl-prefix-re): Add ":" into the C++ value.
8692         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8693         bit.  Add a check for a ":" preceded by "public", etc.
8695 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
8697         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8698         recognized by GDB 7.5 and later.
8700 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
8702         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8704 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8706         * subr.el (internal--call-interactively): New const.
8707         (called-interactively-p): Use it (bug#3984).
8709 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
8711         * vc/pcvs.el (cvs-mode-ignore):
8712         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8713         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8715 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8717         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
8718         (eshell-ls-orig-insert-directory): Remove.
8719         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
8720         (eshell-ls-use-in-dired): Use advice-add/remove.
8721         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8722         Add `orig-fun' arg for use in :around advice.
8723         Make it check (redundantly) eshell-ls-use-in-dired.
8725 2013-09-19  Glenn Morris  <rgm@gnu.org>
8727         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8729         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8731         * emacs-lisp/eieio.el (class-parent): Undo previous change.
8733 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
8735         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8736         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8737         (tramp-get-remote-python): New defuns.
8738         (tramp-get-remote-uid-with-perl)
8739         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
8740         contributed by yary <not.com@gmail.com> (tiny change).
8741         (tramp-get-remote-uid-with-python)
8742         (tramp-get-remote-gid-with-python): New defuns.  Python code
8743         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8744         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8746 2013-09-19  Glenn Morris  <rgm@gnu.org>
8748         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8750         * eshell/em-unix.el (eshell-remove-entries):
8751         Rename argument to avoid name-clash with global `top-level'.
8753         * eshell/esh-proc.el (eshell-kill-process-function):
8754         Remove eshell-reset-after-proc from eshell-kill-hook if present.
8755         (eshell-reset-after-proc): Remove unused arg `proc'.
8757         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8758         (directory-files-and-attributes): Mark unused arg.
8760         * eshell/em-unix.el (eshell-remove-entries):
8761         Remove unused arg `path'.  Update callers.
8763         * eshell/em-hist.el (eshell-hist-parse-arguments):
8764         Remove unused arg `silent'.  Update callers.
8766         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8767         Fix (f)boundp mix-up.
8769         * eshell/em-smart.el (eshell-smart-scroll-window)
8770         (eshell-disable-after-change):
8771         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8773 2013-09-18  Alan Mackenzie  <acm@muc.de>
8775         Fix fontification of type when followed by "const".
8776         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8777         "known" types from fontification.
8779 2013-09-18  Glenn Morris  <rgm@gnu.org>
8781         * emacs-lisp/chart.el (x-display-color-cells): Declare.
8782         (chart-face-list): Drop Emacsen without display-color-p.
8784         * net/eww.el (libxml-parse-html-region): Declare.
8785         (eww-display-html): Explicit error if no libxml2 support.
8787         * doc-view.el (doc-view-mode): Silence --without-x compilation.
8789         * image.el (image-type-from-buffer, image-multi-frame-p):
8790         Remove --without-x warning/error.
8792         * mouse.el (mouse-yank-primary):
8793         * term.el (term-mouse-paste):
8794         Reorder to silence --without-x compilation.
8796         * mpc.el (doc-view-mode): Silence --without-x compilation.
8798         * mail/rmailmm.el (rmail-mime-set-bulk-data):
8799         Silence --without-x compilation.
8801         * progmodes/gud.el (gud-find-file, gud-mode):
8802         Silence --without-x compilation.
8803         (tooltip-mode): Declare.
8805         * wdired.el (dired-backup-overwrite): Remove declaration.
8806         (wdired-mode-map): Add doc string.
8808         * custom.el (x-get-resource): Declare.
8810         * eshell/em-glob.el (ange-cache):
8811         * eshell/em-unix.el (ange-cache): Declare.
8813         * faces.el (x-display-list, x-open-connection, x-get-resource):
8814         Declare.
8816         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8817         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8818         Declare.
8820         * frame.el (x-display-grayscale-p, x-display-name): Declare.
8822         * net/gnutls.el (gnutls-log-level): Declare.
8824         * net/shr.el (image-size, image-animate): Declare.
8826         * simple.el (font-info): Declare.
8828         * subr.el (x-popup-dialog): Declare.
8830         * term/common-win.el (x-select-enable-primary)
8831         (x-last-selected-text-primary, x-last-selected-text-clipboard):
8832         Declare.
8834         * term/ns-win.el (x-handle-args): Declare.
8836         * term/x-win.el (x-select-enable-clipboard): Declare.
8838         * term/w32-win.el (create-default-fontset): Declare.
8840         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8841         Declare.
8843         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8844         (fit-frame-to-buffer): Explicit error if --without-x.
8845         (mouse-autoselect-window-select): Silence compiler.
8847         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8849         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8850         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8851         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8852         * eshell/esh-util.el (eshell-sublist):
8853         Remove unused local variables.
8855         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8857         * textmodes/two-column.el: Make 2C-split work for --without-x.
8858         (scroll-bar-columns): Autoload.
8859         (top-level): Require fringe when compiling.
8861 2013-09-18  Leo Liu  <sdl.web@gmail.com>
8863         * subr.el (add-hook): Robustify to handle closure as well.
8865 2013-09-17  Glenn Morris  <rgm@gnu.org>
8867         * simple.el (messages-buffer-mode-map): Unbind "g".
8869 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8871         * help-mode.el (help-mode-finish): Use derived-mode-p.
8872         Remove obsolete highlighting.
8874         * play/life.el (life-mode): Use define-derived-mode.  Derive from
8875         special-mode.
8876         (life): Let-bind inhibit-read-only.
8877         (life-setup): Avoid `setq'.  Use `life-mode'.
8879         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8880         which should not be needed any more.
8881         (package-menu-refresh, package-menu-describe-package): Use user-error.
8883         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8884         (eshell-post-rewrite-command-hook): Make obsolete.
8885         (eshell-parse-command): Simplify.
8886         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8887         (eshell--cmd): Declare.
8888         (eshell-parse-pipeline): Remove unused var `final-p'.
8889         Pass a dynvar to eshell-post-rewrite-command-hook.
8890         Implement the new eshell-post-rewrite-command-function.
8891         (eshell-invoke-directly): Remove unused arg `input'.
8892         * eshell/esh-io.el (eshell-io-initialize):
8893         Use eshell-post-rewrite-command-function (bug#15399).
8894         (eshell--apply-redirections): Rename from eshell-apply-redirections;
8895         adjust to new calling convention.
8896         (eshell-create-handles): Rename args to avoid clashing with dynvar
8897         `standard-output'.
8899 2013-09-17  Glenn Morris  <rgm@gnu.org>
8901         * simple.el (messages-buffer-mode): New major mode.
8902         (messages-buffer): New function.
8903         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8904         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8905         (ert-run-test): Use `messages-buffer' function.
8906         (ert--force-message-log-buffer-truncation): Ignore read-only.
8907         * help.el (view-echo-area-messages): Use `messages-buffer' function.
8908         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8910 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8912         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8914         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8916 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8918         * icomplete.el (icomplete-in-buffer): New var.
8919         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8920         vars and replace them with functions.
8921         (icomplete-minibuffer-setup): Adjust accordingly.
8922         (icomplete--completion-table, icomplete--completion-predicate)
8923         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8924         New functions.
8925         (icomplete-forward-completions, icomplete-backward-completions)
8926         (icomplete-simple-completing-p, icomplete-exhibit)
8927         (icomplete-completions): Use them.
8928         (icomplete--in-region-buffer): New var.
8929         (icomplete--in-region-setup): New function.
8930         (icomplete-mode): Use it.
8932         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8933         (bug#15379).
8934         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8935         return args and options.
8936         (eshell-eval-using-options): Use the new return value of
8937         eshell--do-opts to set the options's vars in their scope.
8938         (eshell--set-option): Rename from eshell-set-option.
8939         Add arg `opt-vals'.
8940         (eshell--process-option): Rename from eshell-process-option.
8941         Add arg `opt-vals'.
8942         (eshell--process-args): Use an `opt-vals' alist to store the options's
8943         values during their processing and return them additionally to the
8944         remaining args.
8946 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
8948         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8949         continuation character an operator, as far as indentation is
8950         concerned (Bug#15369).
8952 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
8954         * window.el (window--state-put-2): Don't process buffer state
8955         when buffer doesn't exist any more (Bug#15382).
8957 2013-09-15  Glenn Morris  <rgm@gnu.org>
8959         * eshell/em-unix.el (eshell/rm):
8960         Make -f ignore missing files.  (Bug#15373)
8962         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
8963         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8964         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8966 2013-09-14  Glenn Morris  <rgm@gnu.org>
8968         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8970 2013-09-13  Glenn Morris  <rgm@gnu.org>
8972         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8973         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
8975 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
8977         * frame.el (x-focus-frame): Mark as declared in frame.c.
8979 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8981         * ls-lisp.el: Use advice-add.
8982         (original-insert-directory): Remove.
8983         (ls-lisp--insert-directory): Rename from insert-directory; add
8984         `orig-fun' argument.
8985         (insert-directory): Advise.
8987 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
8989         * term.el (term-emulate-terminal): Decode the command string
8990         before passing it to term-command-hook.  (Bug#15337)
8992 2013-09-13  Glenn Morris  <rgm@gnu.org>
8994         * eshell/esh-util.el (ange-cache): Move declaration earlier.
8996         * eshell/esh-ext.el (eshell-search-path): Declare.
8998         * eshell/em-prompt.el (eshell/pwd): Autoload it.
8999         Otherwise an error occurs if eshell-dirs module not loaded.
9001         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9003 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
9005         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9006         `tramp-check-proper-host'.  Check for a valid method name.
9008         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9009         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9010         * net/tramp-sh.el (tramp-maybe-open-connection):
9011         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9013         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9014         also for hash values.
9016 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9018         * term/ns-win.el (parameters): Don't declare as dynamic.
9019         (before-make-frame-hook): Don't add ineffective function.
9021         * eshell/*.el: Use lexical-binding (bug#15231).
9023 2013-09-12  Kenichi Handa  <handa@gnu.org>
9025         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9027 2013-09-12  Glenn Morris  <rgm@gnu.org>
9029         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9030         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9032         * subr.el (do-after-load-evaluation): Also give compiler warnings
9033         when obsolete files are used (except by obsolete files).
9035         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9036         in the status output, assume `filename' is the first.  (Bug#15322)
9038         * vc/vc.el (vc-deduce-fileset): Doc fix.
9040         * calc/calc-help.el (Info-goto-node):
9041         * progmodes/cperl-mode.el (Info-find-node):
9042         * vc/ediff.el (Info-goto-node): Update declarations.
9044         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9046         * vc/vc-bzr.el (vc-compilation-mode): Declare.
9047         (vc-bzr-pull): Require vc-dispatcher.
9048         * vc/vc-git.el (vc-compilation-mode): Declare.
9049         (vc-git-pull): Require vc-dispatcher.
9051         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9053         * progmodes/octave.el (help-button-action): Declare.
9055         * shell.el (shell-directory-tracker): Output error as a message
9056         rather than just returning it as a string.
9057         (shell-process-pushd): Remove useless use of message.
9059         * dframe.el (dframe-timer-fn):
9060         * files.el (dir-locals-read-from-file):
9061         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9062         (mpc-format):
9063         * reveal.el (reveal-post-command):
9064         * saveplace.el (load-save-place-alist-from-file):
9065         * shell.el (shell-resync-dirs):
9066         * w32-common-fns.el (x-get-selection-value):
9067         * emacs-lisp/copyright.el (copyright-find-copyright):
9068         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9069         * emulation/tpu-edt.el (tpu-copy-keyfile):
9070         * play/bubbles.el (bubbles--mark-neighbourhood):
9071         * progmodes/executable.el
9072         (executable-make-buffer-file-executable-if-script-p):
9073         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9075 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9077         Cleanup Eshell to rely less on dynamic scoping.
9078         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9079         last-value, and ext-command here.  Bind `args' closer to `body'.
9080         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9081         (eshell--args): Declare new dynamic var.
9082         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
9083         last-value, and ext-command.  Pass `args' to `body'.
9084         (eshell-process-args): Bind eshell--args.
9085         (eshell-set-option): Use eshell--args.
9086         * eshell/eshell.el (eshell): Use derived-mode-p.
9087         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9088         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9089         (eshell-glob-function): Declare.
9090         * eshell/esh-util.el: Require cl-lib.
9091         (eshell-read-hosts-file): Avoid add-to-list.
9092         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9093         `err'.
9094         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9095         Declare.
9096         (eshell/diff): Remove unused var `err'.
9097         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9098         `killflag'.
9099         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9100         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9101         first use.
9102         * eshell/em-glob.el (eshell-glob-matches, message-shown):
9103         Move declaration before first use.
9104         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9105         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9106         rely on cl-return.
9108 2013-09-12  Glenn Morris  <rgm@gnu.org>
9110         * term/ns-win.el (global-map): Remove binding for ispell-next,
9111         deleted 1999-05-29.  (Bug#15357)
9113 2013-09-11  Glenn Morris  <rgm@gnu.org>
9115         * echistory.el (electric-command-history): Remove call to deleted func.
9117         * play/landmark.el (landmark-mode): Fix typos.
9119         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9120         Check cvs-sort-ignore-file is bound.
9122         * savehist.el: No need for cl when compiling on Emacs.
9124 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9126         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9127         (bug#15338).
9128         (eshell-self-insert-command, eshell-send-invisible):
9129         Remove unused argument.
9130         (eshell-handle-control-codes): Remove unused var `orig'.
9131         Avoid delete-backward-char.
9133         * files.el (set-auto-mode): Simplify a bit further.
9135 2013-09-11  Glenn Morris  <rgm@gnu.org>
9137         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9138         (set-auto-mode): Don't regexp-quote elements.
9139         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9140         * progmodes/cc-mode.el (interpreter-mode-alist):
9141         * progmodes/ruby-mode.el (interpreter-mode-alist):
9142         Revert previous change.
9144 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9146         * play/snake.el (snake-mode):
9147         * play/mpuz.el (mpuz-mode):
9148         * play/landmark.el (lm-mode):
9149         * play/blackbox.el (blackbox-mode):
9150         * play/5x5.el (5x5-mode):
9151         * obsolete/options.el (Edit-options-mode):
9152         * net/quickurl.el (quickurl-list-mode):
9153         * net/newst-treeview.el (newsticker-treeview-mode):
9154         * mail/rmailsum.el (rmail-summary-mode):
9155         * mail/mspools.el (mspools-mode):
9156         * locate.el (locate-mode):
9157         * ibuffer.el (ibuffer-mode):
9158         * emulation/ws-mode.el (wordstar-mode):
9159         * emacs-lisp/debug.el (debugger-mode):
9160         * array.el (array-mode):
9161         * net/eudc.el (eudc-mode): Use define-derived-mode.
9162         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9163         Move initialization into declaration.
9164         (mairix-searches-mode): Use define-derived-mode.
9165         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9166         (eudc-edit-hotlist): Use dolist.
9167         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9168         (Man-mode): Use define-derived-mode.
9169         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9170         (Info-edit-mode): Use define-derived-mode.
9171         (Info-cease-edit): Use Info-mode.
9172         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9173         into declaration.
9174         (eshell-mode): Use define-derived-mode.
9175         * chistory.el (command-history-mode-map): Rename from
9176         command-history-map.
9177         (command-history-mode): Use define-derived-mode.
9178         (Command-history-setup): Remove function.
9179         * calc/calc.el (calc-trail-mode-map): New var.
9180         (calc-trail-mode): Use define-derived-mode.
9181         (calc-trail-buffer): Set calc-main-buffer manually.
9182         * bookmark.el (bookmark-insert-annotation): New function.
9183         (bookmark-edit-annotation): Use it.
9184         (bookmark-edit-annotation-mode): Make it a proper major mode.
9185         (bookmark-send-edited-annotation): Use derived-mode-p.
9186         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9187         closer to its ideal place.  Use \' to match EOS.
9189         * profiler.el (profiler-calltree-find): Use function-equal.
9191 2013-09-10  Glenn Morris  <rgm@gnu.org>
9193         * files.el (interpreter-mode-alist): Convert to regexps.
9194         (set-auto-mode): Adapt for this.  (Bug#15306)
9195         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9196         Comment out unused variable.
9197         * progmodes/cc-mode.el (interpreter-mode-alist):
9198         * progmodes/python.el (interpreter-mode-alist):
9199         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9200         * progmodes/sh-script.el (sh-set-shell):
9201         No longer use interpreter-mode-alist to get list of shells.
9203         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9205 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9207         * simple.el: Use set-temporary-overlay-map for universal-argument.
9208         (universal-argument-map): Don't use default-bindings (bug#15317).
9209         Bind switch-frame explicitly.  Replace universal-argument-minus with
9210         a conditional binding.
9211         (universal-argument-num-events, saved-overriding-map): Remove.
9212         (restore-overriding-map): Remove.
9213         (universal-argument--mode): Rename from save&set-overriding-map,
9214         and rewrite.
9215         (universal-argument, universal-argument-more, negative-argument)
9216         (digit-argument): Adjust accordingly.
9217         (universal-argument-minus): Remove.
9218         (universal-argument-other-key): Remove.
9220         * subr.el (with-demoted-errors): Add `format' argument.
9222 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
9224         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
9225         `tramp-cleanup-connection'.
9227         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9228         parameters KEEP-DEBUG and KEEP-PASSWORD.
9230         * net/tramp.el (tramp-file-name-handler):
9231         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9232         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9233         (tramp-maybe-open-connection):
9234         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9235         Use `tramp-cleanup-connection'.
9237         * net/tramp-sh.el (tramp-maybe-open-connection):
9238         Catch 'uname-changed inside the progress reporter.
9240 2013-09-10  Glenn Morris  <rgm@gnu.org>
9242         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
9244         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9245         returns "alternate access method" in mode (eg "-rw-r--r--.").
9247 2013-09-08  Glenn Morris  <rgm@gnu.org>
9249         * saveplace.el (load-save-place-alist-from-file):
9250         Demote errors.  (Bug#15305)
9252 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
9254         Improve compatibility with older Emacsen, and XEmacs.
9256         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9257         only if it is bound.  It isn't for XEmacs.
9258         (with-tramp-progress-reporter): Do not let-bind `result'.
9259         This yields to scoping errors in XEmacs.
9260         (tramp-handle-make-auto-save-file-name): New function, moved from
9261         tramp-sh.el.
9263         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9264         for `make-auto-save-file-name'.
9265         (tramp-adb--gnu-switches-to-ash):
9266         Use `tramp-compat-replace-regexp-in-string'.
9268         * net/tramp-cache.el (tramp-cache-print): Call
9269         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
9271         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9272         bound.  It isn't for XEmacs.
9274         * net/tramp-compat.el (tramp-compat-copy-file):
9275         Catch `wrong-number-of-arguments' error.
9276         (tramp-compat-replace-regexp-in-string): New defun.
9278         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9279         for `make-auto-save-file-name'.
9280         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9281         `copy-file'.
9282         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9283         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9284         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9286         * net/tramp-gw.el (tramp-gw-open-network-stream):
9287         Use `tramp-compat-replace-regexp-in-string'.
9289         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9290         Call `tramp-handle-make-auto-save-file-name'.
9291         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9292         (tramp-sh-file-gvfs-monitor-dir-process-filter)
9293         (tramp-sh-file-inotifywait-process-filter):
9294         Use `tramp-compat-replace-regexp-in-string'.
9295         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9297         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9298         for `make-auto-save-file-name'.
9299         (tramp-smb-handle-copy-directory):
9300         Call `tramp-compat-replace-regexp-in-string'.
9301         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9302         (tramp-smb-handle-copy-file): Improve error message.
9303         (tramp-smb-handle-rename-file): Rename directly only in case
9304         `newname' does not exist yet.  This is a restriction of smbclient.
9305         (tramp-smb-maybe-open-connection): Rerun the function only when
9306         `auth-sources' is non-nil.
9308 2013-09-08  Kenichi Handa  <handa@gnu.org>
9310         * international/characters.el: Set category "^" (Combining) for
9311         more characters.
9313 2013-09-07  Alan Mackenzie  <acm@muc.de>
9315         Correctly fontify Java class constructors.
9316         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9317         in Java Mode.
9318         (c-recognize-typeless-decls): Set the Java value to t.
9319         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9320         While handling a "(", add a check for, effectively, Java, and handle a
9321         "typeless" declaration there.
9323 2013-09-07  Roland Winkler  <winkler@gnu.org>
9325         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9326         field subtitle for entry type book.
9328 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9330         * minibuffer.el: Make minibuffer-complete call completion-in-region
9331         rather than other way around.
9332         (completion--some, completion-pcm--find-all-completions):
9333         Don't delay signals when debugging.
9334         (minibuffer-completion-contents): Beware fields within the
9335         minibuffer contents.
9336         (completion-all-sorted-completions): Use defvar-local.
9337         (completion--do-completion, completion--cache-all-sorted-completions)
9338         (completion-all-sorted-completions, minibuffer-force-complete):
9339         Add args `beg' and `end'.
9340         (completion--in-region-1): New fun, extracted from minibuffer-complete.
9341         (minibuffer-complete): Use completion-in-region.
9342         (completion-complete-and-exit): New fun, extracted from
9343         minibuffer-complete-and-exit.
9344         (minibuffer-complete-and-exit): Use it.
9345         (completion--complete-and-exit): Rename from
9346         minibuffer--complete-and-exit.
9347         (completion-in-region--single-word): New function, extracted from
9348         minibuffer-complete-word.
9349         (minibuffer-complete-word): Use it.
9350         (display-completion-list): Make `common-substring' argument obsolete.
9351         (completion--in-region): Call completion--in-region-1 instead of
9352         minibuffer-complete.
9353         (completion-help-at-point): Pass boundaries to
9354         minibuffer-completion-help as args rather than via an overlay.
9355         (completion-pcm--string->pattern): Use `any-delim'.
9356         (completion-pcm--optimize-pattern): New function.
9357         (completion-pcm--pattern->regex): Handle `any-delim'.
9358         * icomplete.el (icomplete-forward-completions)
9359         (icomplete-backward-completions, icomplete-completions):
9360         Adjust calls to completion-all-sorted-completions and
9361         completion--cache-all-sorted-completions.
9362         (icomplete-with-completion-tables): Default to t.
9363         * emacs-lisp/crm.el (crm--current-element): Rename from
9364         crm--select-current-element.  Don't put an overlay but return the
9365         boundaries instead.
9366         (crm--completion-command): Take two new args to bind to the boundaries.
9367         (crm-completion-help): Adjust accordingly.
9368         (crm-complete): Use completion-in-region.
9369         (crm-complete-word): Use completion-in-region--single-word.
9370         (crm-complete-and-exit): Use completion-complete-and-exit.
9372 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9374         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9375         than dynamically.
9377 2013-09-06  Juri Linkov  <juri@jurta.org>
9379         * info.el (Info-display-images-node): When image file doesn't exist
9380         display text version of the image if it's provided in the Info file.
9381         Otherwise, display the location of missing image from SRC attribute.
9382         Add help-echo text property from ALT attribute.  (Bug#15279)
9384 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9386         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9387         (edit-abbrevs-mode): Use define-derived-mode.
9389         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9390         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9391         that it's defined.
9392         (epa-key-list-mode, epa-key-mode, epa-info-mode):
9393         Use define-derived-mode.
9395         * epg.el (epg-start-encrypt): Minor CSE simplification.
9397 2013-09-06  William Xu  <william.xwl@gmail.com>
9399         * arc-mode.el: Add support for 7za (bug#15264).
9400         (archive-7z-program): New var.
9401         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9402         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9403         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9405 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
9407         Remove URL syntax.
9409         * net/tramp.el (tramp-syntax, tramp-prefix-format)
9410         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9411         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9412         (tramp-postfix-host-format, tramp-file-name-regexp)
9413         (tramp-completion-file-name-regexp)
9414         (tramp-completion-dissect-file-name)
9415         (tramp-handle-substitute-in-file-name): Remove 'url case.
9416         (tramp-file-name-regexp-url)
9417         (tramp-completion-file-name-regexp-url): Remove constants.
9419 2013-09-06  Glenn Morris  <rgm@gnu.org>
9421         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
9423 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
9425         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9426         keywords" below "here-doc beginnings" (Bug#15270).
9428 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9430         * subr.el (pop): Use `car-safe'.
9431         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9432         to detect unused `pop' return value.
9434         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9435         var `block-regexp'.
9436         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9437         (python-fill-string): Remove unused var `marker'.
9438         (python-skeleton-add-menu-items): Remove unused var `items'.
9440         * international/mule-cmds.el: Require CL.
9441         (find-coding-systems-for-charsets): Avoid add-to-list.
9442         (sanitize-coding-system-list): New function, extracted from
9443         select-safe-coding-system-interactively.
9444         (select-safe-coding-system-interactively): Use it.
9445         (read-input-method-name): Accept symbols for `default'.
9447         * emacs-lisp/advice.el (defadvice): Add indent rule.
9449 2013-09-05  Daniel Hackney  <dan@haxney.org>
9451         * dired-x.el:
9452         * net/ange-ftp.el:
9453         * net/browse-url.el:
9454         * net/dbus.el:
9455         * net/eudc.el:
9456         * net/eudcb-ldap.el:
9457         * net/eww.el:
9458         * net/imap.el:
9459         * printing.el:
9460         * vc/ediff-diff.el:
9461         * vc/ediff-init.el:
9462         * vc/ediff-merg.el:
9463         * vc/ediff-mult.el:
9464         * vc/ediff-util.el:
9465         * vc/ediff-wind.el:
9466         * vc/ediff.el:
9467         * vc/emerge.el:
9468         * vc/pcvs.el:
9469         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9470         byte compiler.  Remove some unused let-bound variables.
9472 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9474         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9475         a "ref-cell", since it gets better optimized (bug#14883).
9477 2013-09-05  Glenn Morris  <rgm@gnu.org>
9479         * progmodes/cc-awk.el (c-forward-sws): Declare.
9481 2013-09-04  Glenn Morris  <rgm@gnu.org>
9483         * generic-x.el [rul-generic-mode]: Require cc-mode.
9484         (c++-mode-syntax-table): Declare.
9485         (rul-generic-mode-syntax-table): Init in the defvar.
9487 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9489         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9490         (vc-do-command, vc-set-async-update):
9491         * vc/vc-mtn.el (vc-mtn-dir-status):
9492         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9493         (vc-hg-pull, vc-hg-merge-branch):
9494         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9495         (vc-git-merge-branch):
9496         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9497         (vc-cvs-dir-status-files):
9498         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9499         (vc-bzr-dir-status-files):
9500         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9501         * vc/vc-annotate.el: Use lexical-binding.
9502         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9503         (vc-sentinel-movepoint): Declare.
9504         (vc-annotate): Don't use `goto-line'.
9505         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9506         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9507         (vc-sentinel-movepoint): Declare.
9508         * vc/vc-svn.el: Use lexical-binding.
9509         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9510         * vc/vc-sccs.el:
9511         * vc/vc-rcs.el: Use lexical-binding.
9513         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9514         `deleted'.  Don't drop errors silently.
9516         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9518 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
9520         * vc/vc.el (vc-ignore): Rewrite.
9521         (vc-default-ignore): New function.
9522         (vc-default-ignore-completion-table): Use find-ignore-file.
9524         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9525         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9526         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9527         Remove.  Most code moved to vc.el.
9529 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9531         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9532         * net/tramp-smb.el (tramp-smb-get-file-entries):
9533         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9534         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9536         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9537         Update call to it.
9538         (eww-change-select): Remove unused var `properties'.
9539         (eww-make-unique-file-name): Remove unused var `base'.
9541         * finder.el (finder-compile-keywords): Don't mess with windows.
9543         * calculator.el (calculator-funcall): Fix typo in last change.
9545         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9547         * emacs-lisp/package.el (package-activate-1): Don't let a missing
9548         <pkg>-autoloads.el file stop us.
9550         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9551         warnings, and factor out common code.
9553 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
9555         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9556         two-character operators and whether the character preceding them
9557         changes their meaning (Bug#15208).
9559 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9561         Format code sent to Python shell for robustness.
9562         * progmodes/python.el (python-shell-buffer-substring):
9563         New function.
9564         (python-shell-send-region, python-shell-send-buffer): Use it.
9566 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
9568         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9569         * net/tramp.el (tramp-user-error): ... here.
9570         (tramp-find-method, tramp-check-proper-host)
9571         (tramp-dissect-file-name, tramp-debug-message)
9572         (tramp-handle-shell-command):
9573         * net/tramp-adb.el (tramp-adb-handle-shell-command):
9574         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9576         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9578 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
9580         * avoid.el (mouse-avoidance-point-position)
9581         (mouse-avoidance-too-close-p): Handle case where posn-at-point
9582         returns nil.
9584 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9586         * progmodes/python.el (python-shell-completion-get-completions):
9587         Drop use of deleted `comint-last-prompt-overlay'.
9588         (python-nav-if-name-main): New command.
9590 2013-09-01  Glenn Morris  <rgm@gnu.org>
9592         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9593         Avoid leading space in $wins.  Otherwise the sed command used by
9594         eg compile-main ends up containing "/*.el".  (Bug#15170)
9596         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
9598 2013-08-30  Glenn Morris  <rgm@gnu.org>
9600         * emacs-lisp/bytecomp.el (byte-recompile-directory):
9601         Fix is-this-a-directory logic.  (Bug#15220)
9603 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9605         * textmodes/css-mode.el: Use SMIE.
9606         (css-smie-grammar): New var.
9607         (css-smie--forward-token, css-smie--backward-token)
9608         (css-smie-rules): New functions.
9609         (css-mode): Use them.
9610         (css-navigation-syntax-table): Remove var.
9611         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9612         (css-indent-calculate, css-indent-line): Remove functions.
9614         Misc changes to reduce use of `(lambda...); and other cleanups.
9615         * cus-edit.el: Use lexical-binding.
9616         (customize-push-and-save, customize-apropos)
9617         (custom-buffer-create-internal): Use closures.
9618         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9619         * progmodes/ada-xref.el: Use setq.
9620         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9621         * dframe.el: Use lexical-binding.
9622         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
9623         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9624         * descr-text.el: Use lexical-binding.
9625         (describe-text-widget, describe-text-sexp, describe-property-list):
9626         Use closures.
9627         * comint.el (comint-history-isearch-push-state): Use a closure.
9628         * calculator.el: Use lexical-binding.
9629         (calculator-number-to-string): Make it work with lexical-binding.
9630         (calculator-funcall): Same and use cl-letf.
9632         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9633         (lisp--company-doc-string, lisp--company-location): New functions.
9634         (lisp-completion-at-point): Use them to improve Company support.
9636         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9637         params of lambda expressions.
9638         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9639         (ruby-smie--opening-pipe-p): New function.
9640         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9641         symbols and matched |...| for formal params.
9642         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9643         from being treated as hanging.  Handle "rescue".
9645 2013-08-29  Glenn Morris  <rgm@gnu.org>
9647         * progmodes/cc-engine.el (c-pull-open-brace):
9648         Move definition before use.
9650 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9652         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9653         are immutable.  Don't use `unsafe' any more.
9654         (cl--defsubst-expand): Don't substitute at the same time as keeping
9655         a residual unused let-binding.  Don't use `unsafe' any more.
9657 2013-08-29  Glenn Morris  <rgm@gnu.org>
9659         * calendar/cal-china.el (calendar-chinese-year-cache):
9660         Recenter on 2015.
9662         * nxml/nxml-util.el (nxml-debug-clear-inside):
9663         Use cl-loop rather than loop.
9665         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9667         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9669 2013-08-28  Glenn Morris  <rgm@gnu.org>
9671         * progmodes/antlr-mode.el: No need to require cc-mode twice.
9673         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9675         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9677 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9679         * simple.el (repeat-complex-command--called-interactively-skip):
9680         New function.
9681         (repeat-complex-command): Use it (bug#14136).
9683         * progmodes/cc-mode.el: Minor cleanup of var declarations.
9684         (c-define-abbrev-table): Add `doc' argument.
9685         (c-mode-abbrev-table, c++-mode-abbrev-table)
9686         (objc-mode-abbrev-table, java-mode-abbrev-table)
9687         (idl-mode-abbrev-table, pike-mode-abbrev-table)
9688         (awk-mode-abbrev-table): Use it.
9689         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9690         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9691         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9692         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9693         Move initialization into the declaration; and remove any
9694         autoload cookie.
9696         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9697         and dynamic let binding.
9699         * vc/smerge-mode.el: Remove redundant :group args.
9701         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9702         to load-path.
9704 2013-08-28  Juri Linkov  <juri@jurta.org>
9706         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9707         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9708         (isearch-other-meta-char): Handle an undefined shifted printing
9709         character by downshifting it.  (Bug#15200)
9711 2013-08-28  Juri Linkov  <juri@jurta.org>
9713         * isearch.el (isearch-search): Change regexp error message for
9714         non-regexp searches.  (Bug#15166)
9716 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
9718         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9719         for portability to hosts where /bin/sh has problems.
9721 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9723         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9725 2013-08-27  Juri Linkov  <juri@jurta.org>
9727         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9728         in the keyboard macro.  (Bug#15126)
9730 2013-08-27  Juri Linkov  <juri@jurta.org>
9732         * isearch.el (isearch-quote-char): Comment out converting unibyte
9733         to multibyte, thus syncing with its `quoted-insert' counterpart.
9734         (Bug#15166)
9736 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
9738         * window.el (display-buffer-use-some-window): Add missing
9739         argument in call of get-largest-window (Bug#15185).
9740         Reported by Stephen Leake.
9742 2013-08-27  Glenn Morris  <rgm@gnu.org>
9744         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9746 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9748         * progmodes/python.el (python-font-lock-keywords): Don't return nil
9749         from a matcher-function unless there's no more matches (bug#15161).
9751 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
9753         * minibuffer.el: Revert change from 2013-08-20.
9755         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9756         with text property `tramp-default', if appropriate.
9757         (tramp-check-proper-host): New defun.
9758         (tramp-dissect-file-name): Do not check hostname.  Revert change
9759         of 2013-03-18.
9760         (tramp-backtrace): Make VEC-OR-PROC optional.
9762         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9763         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9764         * net/tramp-sh.el (tramp-maybe-open-connection):
9765         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9766         Apply `tramp-check-proper-host'.
9768 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
9770         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9771         lambda expression in order to have `describe-variable' display it.
9773 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
9775         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9776         BUF can be optional.  (Bug#15186)
9778 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
9780         * progmodes/flymake.el (flymake-get-real-file-name-function):
9781         Fix broken customization.  (Bug#15184)
9783 2013-08-25  Alan Mackenzie  <acm@muc.de>
9785         Improve indentation of bracelists defined by macros (without "=").
9787         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9788         expansion begins with "{", regard it as bracelist when it doesn't
9789         contain a ";".
9791         Parse C++ inher-intro when there's a template split over 2 lines.
9793         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9794         rigorously the search for "class" etc. followed by ":".
9796         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9797         random languages a regexp which never matches rather than nil.
9799         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9801         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9802         (c-awk-regexp-one-line-possibly-open-char-list-re)
9803         (c-awk-one-line-possibly-open-regexp-re)
9804         (c-awk-one-line-non-syn-ws*-re): Remove.
9805         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9806         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9807         (c-awk-space*-unclosed-regexp-/-re): New constants.
9808         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9809         aren't regexp delimiters.
9811         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9812         handling for a rare situation in AWK Mode involving unterminated
9813         strings/regexps.
9815 2013-08-23  Glenn Morris  <rgm@gnu.org>
9817         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9819         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9821         * files.el (create-file-buffer): If the result would begin with
9822         spaces, prepend a "|" instead of removing them.  (Bug#15162)
9824 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9826         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9827         text-properties (bug#15155).
9829         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9830         exist any more.
9831         (calc-keypad-redraw): Remove unused var `pad'.
9832         (calc-keypad-press): Remove unused var `menu'.
9834 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
9836         * window.el (display-buffer-pop-up-frame):
9837         Call pop-up-frame-function with BUFFER current so `make-frame' will
9838         use it as the new frame's buffer (Bug#15133).
9840 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9842         * calendar/timeclock.el: Minor cleanups.
9843         (timeclock-ask-before-exiting, timeclock-use-display-time):
9844         Use `symbol'.
9845         (timeclock-modeline-display): Define as alias before the
9846         actual definition.
9847         (timeclock-mode-line-display): Use define-minor-mode.
9848         (timeclock-day-list-template): Make it a function, add an argument.
9849         (timeclock-day-list-required, timeclock-day-list-length)
9850         (timeclock-day-list-debt, timeclock-day-list-span)
9851         (timeclock-day-list-break): Adjust calls accordingly.
9853 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9855         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9856         Use read--expression so that completion works again.
9858 2013-08-21  Sam Steingold  <sds@gnu.org>
9860         Add rudimentary inferior shell interaction
9861         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9862         (sh-set-shell): Reset it.
9863         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9864         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9866 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9868         * align.el: Use lexical-binding.
9869         (align-region): Simplify accordingly.
9871 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
9873         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9875         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9876         `non-essential' up.
9878 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
9880         * net/tramp.el:
9881         * net/tramp-adb.el:
9882         * net/tramp-cmds.el:
9883         * net/tramp-ftp.el:
9884         * net/tramp-gvfs.el:
9885         * net/tramp-gw.el:
9886         * net/tramp-sh.el: Don't wrap external variable declarations by
9887         `eval-when-compile'.
9889 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9891         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9892         now that Emacs supports ImageMagick animations.
9894 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
9896         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9897         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9899 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
9901         * window.el (mouse-autoselect-window-select): Do autoselect when
9902         mouse pointer is on margin.
9904 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
9906         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
9908 2013-08-16  Glenn Morris  <rgm@gnu.org>
9910         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9911         Handle "Remote Directory" response of some clients.  (Bug#15058)
9913         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9914         Tweak warning.  (Bug#14926)
9916         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9917         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
9919         * image-mode.el (image-mode-map): Add menu items to reverse,
9920         increase, decrease, reset animation speed.
9921         (image--set-speed, image-increase-speed, image-decrease-speed)
9922         (image-reverse-speed, image-reset-speed): New functions.
9923         (image-mode-map): Add bindings for speed commands.
9925         * image.el (image-animate-get-speed, image-animate-set-speed):
9926         New functions.
9927         (image-animate-timeout): Respect image :speed property.
9929 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9931         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9932         previous line (bug#15101).
9933         (debugger-eval-expression, debugger-record-expression):
9934         Use read--expression (bug#15102).
9936 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
9938         Remove byte compiler warnings, visible when compiling with
9939         `byte-compile-force-lexical-warnings' set to t.
9941         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9942         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9943         (tramp-handle-unhandled-file-name-directory)
9944         (tramp-handle-file-notify-add-watch, tramp-action-login)
9945         (tramp-action-succeed, tramp-action-permission-denied)
9946         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9947         arguments with "_".
9949         * net/tramp-adb.el (tramp-adb-parse-device-names)
9950         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9951         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9952         (tramp-adb-handle-file-truename): Remove unused arguments.
9954         * net/tramp-cache.el (tramp-flush-directory-property)
9955         (tramp-flush-connection-property, tramp-list-connections)
9956         (tramp-parse-connection-properties): Prefix unused arguments with "_".
9958         * net/tramp-compat.el (tramp-compat-make-temp-file):
9959         Rename FILENAME to F.
9961         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9962         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9963         (tramp-zeroconf-parse-workstation-device-names)
9964         (tramp-zeroconf-parse-webdav-device-names)
9965         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9967         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9968         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9970         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9971         arguments.
9972         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9973         (tramp-sh-handle-insert-file-contents-literally)
9974         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9975         with "_".
9976         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9977         Remove unused variables.
9979         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9980         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9981         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9983         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9984         Make them a defconst.
9985         (tramp-uuencode-region): Remove unused variable.
9987 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
9989         * frameset.el (frameset--prop-setter): New function.
9990         (frameset-prop): Add gv-setter declaration.
9991         (frameset-filter-minibuffer): Deal with the case that the minibuffer
9992         parameter was already set in FILTERED.  Doc fix.
9993         (frameset--record-minibuffer-relationships): Allow saving a
9994         minibufferless frame without its corresponding minibuffer frame.
9995         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9996         frame, if the frame id matches.
9997         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9998         frames before orphaned ones.
9999         (frameset-restore): Warn about orphaned windows, instead of error out.
10001 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
10003         * window.el (window-make-atom): Don't overwrite parameter
10004         already present.
10005         (display-buffer-in-atom-window): Handle special case where we
10006         split an already atomic window.
10007         (window--major-non-side-window, display-buffer-in-side-window)
10008         (window--side-check): Ignore minibuffer window when walking
10009         window tree.
10010         (window-deletable-p): Return 'frame only if no other frame uses
10011         our minibuffer window.
10012         (record-window-buffer): Run buffer-list-update-hook.
10013         (split-window): Make sure window--check-frame won't destroy an
10014         existing atomic window in case the new window gets nested
10015         inside.
10016         (display-buffer-at-bottom): Ignore minibuffer window when
10017         walking window tree.  Don't split a side window.
10018         (pop-to-buffer): Don't set-buffer here, the select-window call
10019         should do that.
10020         (mouse-autoselect-window-select): Autoselect only if we are in the
10021         text portion of the window.
10023 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10025         * net/shr.el (shr-parse-image-data): New function to grab both the
10026         data itself and the Content-Type.
10027         (shr-put-image): Use it.
10029         * net/eww.el (eww-display-image): Ditto.
10031         * image.el (image-content-type-suffixes): New variable.
10033 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10035         * progmodes/python.el (python-imenu--build-tree)
10036         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10038 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
10040         * simple.el (backward-word): Mention the optional argument.
10042 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10044         * frameset.el (frameset--make): Rename constructor from make-frameset.
10045         (frameset-p, frameset-valid-p): Don't autoload.
10046         (frameset-valid-p): Use normal accessors.
10048 2013-08-13  Glenn Morris  <rgm@gnu.org>
10050         * progmodes/compile.el (compile-command): Tweak example in doc.
10051         * obsolete/scribe.el (scribe-mode):
10052         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
10054         * mail/feedmail.el (feedmail-confirm-outgoing)
10055         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10057         * cus-start.el (truncate-partial-width-windows): Fix type.
10059         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10061         * net/shr.el (shr-table-horizontal-line): Fix custom type.
10063 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10065         * emacs-lisp/timer.el (timer--time-setter): New function.
10066         (timer--time): Use it as gv-setter.
10068         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10069         setter is not a symbol.
10071 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
10073         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10074         if sending fails.  This makes debugging easier.
10076 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
10078         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10079         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10080         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10082 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
10084         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10086 2013-08-12  Glenn Morris  <rgm@gnu.org>
10088         * format.el (format-annotate-function):
10089         Handle read-only text properties in the source.  (Bug#14887)
10091 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10093         * net/eww.el (eww-display-html): Ignore coding system errors.
10094         One web site uses "utf-8lias" as the coding system.
10096 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
10098         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10100 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
10102         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10103         (tutorial--detailed-help): Remove unused local variables.
10104         (tutorial--save-tutorial-to): Use ignore-errors.
10105         (help-with-tutorial): Use looking-at-p.
10107         * view.el (view-buffer-other-window, view-buffer-other-frame):
10108         Mark unused arguments.
10110         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10111         (woman-select-symbol-fonts, woman, woman-find-file)
10112         (woman-insert-file-contents, woman-non-underline-faces):
10113         Use string-match-p.
10114         (woman1-unquote): Move declaration.
10116         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10117         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
10118         argument.  Remove unused local variable.
10119         (xml-parse-elem-type): Use string-match-p.
10120         (xml-substitute-numeric-entities): Use ignore-errors.
10122         * calculator.el (calculator): Mark unused argument.
10123         (calculator-paste, calculator-quit, calculator-integer-p):
10124         Use ignore-errors.
10125         (calculator-string-to-number, calculator-decimal, calculator-exp)
10126         (calculator-op-or-exp): Use string-match-p.
10128         * dired.el (dired-buffer-more-recently-used-p): Declare.
10129         (dired-insert-set-properties, dired-insert-old-subdirs):
10130         Use ignore-errors.
10132         * dired-aux.el (dired-compress): Use ignore-errors.
10133         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10134         (dired-do-async-shell-command, dired-do-shell-command)
10135         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10136         (dired-insert-subdir-validate): Use string-match-p.
10137         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10138         (dired-add-entry): Use string-match-p, looking-at-p.
10139         (dired-insert-subdir-newpos): Remove unused local variable.
10141         * filenotify.el (file-notify-callback): Remove unused local variable.
10143         * filesets.el (filesets-error): Mark unused argument.
10144         (filesets-which-command-p, filesets-filter-dir-names)
10145         (filesets-directory-files, filesets-get-external-viewer)
10146         (filesets-ingroup-get-data): Use string-match-p.
10148         * find-file.el (ff-other-file-name, ff-other-file-name)
10149         (ff-find-the-other-file, ff-cc-hh-converter):
10150         Remove unused local variables.
10151         (ff-get-file-name): Use string-match-p.
10152         (ff-all-dirs-under): Use ignore-errors.
10154         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10155         (follow-select-if-visible): Remove unused local variable.
10157         * forms.el (read-file-filter): Move declaration.
10158         (forms--make-format, forms--make-parser, forms-insert-record):
10159         Quote function with #'.
10160         (forms--update): Use string-match-p.  Quote function with #'.
10162         * help-mode.el (help-dir-local-var-def): Mark unused argument.
10163         (help-make-xrefs): Use looking-at-p.
10164         (help-xref-on-pp): Use looking-at-p, ignore-errors.
10166         * ibuffer.el (ibuffer-ext-visible-p): Declare.
10167         (ibuffer-confirm-operation-on): Use string-match-p.
10169         * msb.el (msb-item-handler, msb-dired-item-handler):
10170         Mark unused arguments.
10172         * ses.el (ses-decode-cell-symbol)
10173         (ses-kill-override): Remove unused local variable.
10174         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10175         (ses-load): Use ignore-errors, looking-at-p.
10176         (ses-jump-safe): Use ignore-errors.
10177         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10179         * tabify.el (untabify, tabify): Mark unused arguments.
10181         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10182         Mark unused argument.
10183         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10184         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10186         * emacs-lisp/timer.el (timer--time): Define setter with
10187         gv-define-setter to avoid deprecation warning.
10189         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10190         (*record-cmpl-statistics-p*): Remove (was commented out).
10191         (cmpl-statistics-block): Remove (body was commented out).
10192         All callers changed.
10193         (add-completions-from-buffer, load-completions-from-file):
10194         Remove unused variables.
10196 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
10198         * filecache.el (file-cache-delete-file-list):
10199         Print message only when told so.
10200         (file-cache-files-matching): Use #' in mapconcat argument.
10202         * ffap.el (ffap-url-at-point): Fix reference to variable
10203         thing-at-point-default-mail-uri-scheme.
10205 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10207         * subr.el (define-error): New function.
10208         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10209         error-file-not-found and define with define-error.
10210         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10211         and define with define-error.
10212         * userlock.el (file-locked, file-supersession):
10213         * simple.el (mark-inactive):
10214         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10215         * progmodes/ada-mode.el (ada-mode-errors):
10216         * play/life.el (life-extinct):
10217         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10218         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10219         * nxml/rng-util.el (rng-error):
10220         * nxml/rng-uri.el (rng-uri-error):
10221         * nxml/rng-match.el (rng-compile-error):
10222         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10223         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10224         * nxml/nxml-rap.el (nxml-scan-error):
10225         * nxml/nxml-outln.el (nxml-outline-error):
10226         * net/soap-client.el (soap-error):
10227         * net/gnutls.el (gnutls-error):
10228         * net/ange-ftp.el (ftp-error):
10229         * mpc.el (mpc-proc-error):
10230         * json.el (json-error, json-readtable-error, json-unknown-keyword)
10231         (json-number-format, json-string-escape, json-string-format)
10232         (json-key-format, json-object-format):
10233         * jka-compr.el (compression-error):
10234         * international/quail.el (quail-error):
10235         * international/kkc.el (kkc-error):
10236         * emacs-lisp/ert.el (ert-test-failed):
10237         * calc/calc.el (calc-error, inexact-result, math-overflow)
10238         (math-underflow):
10239         * bookmark.el (bookmark-error-no-filename):
10240         * epg.el (epg-error): Define with define-error.
10242         * time.el (display-time-event-handler)
10243         (display-time-next-load-average): Don't call sit-for since it seems
10244         unnecessary (bug#15045).
10246         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10247         Use #' instead of ' to quote functions.
10248         (checkdoc-output-mode): Use setq-local.
10249         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10250         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10251         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10252         (checkdoc-ispell, checkdoc-ispell-current-buffer)
10253         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10254         (checkdoc-ispell-message-text, checkdoc-ispell-start)
10255         (checkdoc-ispell-continue, checkdoc-ispell-comments)
10256         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10258         * ido.el (ido-completion-help): Fix up compiler warning.
10260 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
10262         * frameset.el (frameset-p): Add autoload cookie.
10263         (frameset--jump-to-register): New function, based on code moved from
10264         register.el.
10265         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
10267         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10268         (frameset-restore, frameset-save, frameset-session-filter-alist):
10269         Remove declarations.
10270         (register-alist): Doc fix.
10271         (frameset-to-register): Move to frameset.el.
10272         (jump-to-register, describe-register-1): Remove frameset-specific code.
10274 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10276         * allout-widgets.el (allout-widgets-pre-command-business)
10277         (allout-widgets-post-command-business)
10278         (allout-widgets-after-change-handler)
10279         (allout-decorate-item-and-context, allout-set-boundary-marker)
10280         (allout-body-modification-handler)
10281         (allout-graphics-modification-handler): Mark ignored arguments.
10282         (allout-widgets-post-command-business)
10283         (allout-widgets-exposure-change-processor)
10284         (allout-widgets-exposure-undo-processor)
10285         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10286         (allout-parse-item-at-point, allout-decorate-item-guides)
10287         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10288         * allout.el (epa-passphrase-callback-function): Declare.
10289         (allout-overlay-insert-in-front-handler)
10290         (allout-overlay-interior-modification-handler)
10291         (allout-isearch-end-handler, allout-chart-siblings)
10292         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10293         (allout-yank-processing, allout-process-exposed)
10294         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10295         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10296         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10297         (lisp-indent-defform): Mark ignored arguments.
10298         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
10299         (calculate-lisp-indent): Remove unused variables.
10300         * international/characters.el (indian-2-column, arabic-2-column)
10301         (tibetan): Mark ignored arguments.
10302         (use-cjk-char-width-table): Mark ignored arguments.
10303         Remove unused variables.
10304         * international/fontset.el (build-default-fontset-data)
10305         (x-compose-font-name, create-fontset-from-fontset-spec):
10306         Mark ignored arguments.
10307         (fontset-plain-name): Remove unused variables.
10308         * international/mule.el (charset-id, charset-bytes, generic-char-p)
10309         (keyboard-coding-system): Mark ignored arguments.
10310         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
10311         * help.el (resize-temp-buffer-window):
10312         * window.el (display-buffer-in-major-side-window)
10313         (display-buffer-in-side-window, display-buffer-in-previous-window):
10314         Remove unused variables.
10315         * isearch.el (isearch-forward-symbol):
10316         * version.el (emacs-bzr-version-bzr):
10317         * international/mule-cmds.el (current-language-environment):
10318         * term/common-win.el (x-handle-iconic, x-handle-geometry)
10319         (x-handle-display):
10320         * term/pc-win.el (x-list-fonts, x-display-planes)
10321         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10322         (x-server-version, x-display-screens, x-display-mm-height)
10323         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10324         (x-selection-owner-p, x-own-selection-internal)
10325         (x-disown-selection-internal, x-get-selection-internal)
10326         (msdos-initialize-window-system):
10327         * term/tty-colors.el (tty-color-alist, tty-color-clear):
10328         * term/x-win.el (x-handle-no-bitmap-icon):
10329         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10330         (vc-default-find-file-hook, vc-default-extra-menu):
10331         Mark ignored arguments.
10333 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10335         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10336         break-condition in the context of the debugged code (bug#12685).
10338 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
10340         * comint.el:
10341         Do not use an overlay to highlight the last prompt.  (Bug#14744)
10342         (comint-mode): Make comint-last-prompt buffer local.
10343         (comint-last-prompt): New variable.
10344         (comint-last-prompt-overlay): Remove.  Superseded by
10345         comint-last-prompt.
10346         (comint-snapshot-last-prompt, comint-output-filter):
10347         Use comint-last-prompt.
10349 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10351         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
10352         (frameset-save): Check validity of the resulting frameset.
10354 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
10356         * ido.el (ido-record-command): Add doc string.
10358 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10360         * frameset.el (frameset): Do not disable creation of the default
10361         frameset-p predicate.  Doc fix.
10362         (frameset-valid-p): New function, copied from the old predicate-p.
10363         Add additional checks.
10364         (frameset-restore): Check with frameset-valid-p.
10365         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10366         (frameset-name, frameset-description, frameset-properties)
10367         (frameset-states): Add docstring.
10368         (frameset-session-filter-alist, frameset-persistent-filter-alist)
10369         (frameset-filter-alist): Doc fixes.
10371 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10373         * frameset.el (frameset-p, frameset-prop): Doc fixes.
10375 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10377         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10378         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10379         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10380         (byte-compile-normal-call): Remove obsolescence check.
10382 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10384         * frameset.el (frameset-restore): Doc fix.
10386         * register.el (frameset-frame-id, frameset-frame-with-id)
10387         (frameset-p, frameset-restore, frameset-save): Declare.
10388         (register-alist): Document framesets.
10389         (frameset-session-filter-alist): Declare.
10390         (frameset-to-register): New function.
10391         (jump-to-register): Implement jumping to framesets.  Doc fix.
10392         (describe-register-1): Describe framesets.
10394         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10396 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
10398         * desktop.el (desktop-save-frameset): Use new frameset-save args.
10399         Use lexical-binding.
10401         * frameset.el (frameset): Use type vector, not list (incompatible
10402         change).  Do not declare a new constructor, use the default one.
10403         Upgrade suggested properties `app', `name' and `desc' to slots `app',
10404         `name' and `description', respectively, and add read-only slot
10405         `timestamp'.  Doc fixes.
10406         (frameset-copy, frameset-persistent-filter-alist)
10407         (frameset-filter-alist, frameset-switch-to-gui-p)
10408         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10409         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10410         (frameset-filter-iconified, frameset-keep-original-display-p):
10411         Doc fixes.
10412         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10413         Rename from frameset-filter-(save|restore)-param.  All callers changed.
10414         Doc fix.
10415         (frameset-p): Adapt to change to vector and be more thorough.
10416         Change arg name to OBJECT.  Doc fix.
10417         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
10418         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10419         All callers changed.
10420         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10421         All callers changed.
10422         (frameset--record-minibuffer-relationships): Rename from
10423         frameset--process-minibuffer-frames.  All callers changed.
10424         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10425         Use new default constructor (again).  Doc fix.
10426         (frameset--find-frame-if): Rename from `frameset--find-frame'.
10427         All callers changed.
10428         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10429         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10430         Doc fix.
10431         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10432         PARAMETERS and WINDOW-STATE, respectively.
10433         (frameset-restore): Add new keyword argument PREDICATE.
10434         Reset frameset--target-display to nil.  Doc fix.
10436 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10438         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10439         (bat-mode): Use it.
10440         (bat-mode-syntax-table): Mark \n as end-of-comment.
10441         (bat-font-lock-keywords): Remove comment rule.
10443         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
10444         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
10446         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10447         (byte-compile-callargs-warn): Use `push'.
10448         (byte-compile-arglist-warn): Ignore higher-order "calls".
10449         (byte-compile-file-form-autoload): Use `pcase'.
10450         (byte-compile-function-form): If quoting a symbol, check that it exists.
10452 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
10454         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10455         and add a few popular commands found in batch files.
10456         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10457         (dos-mode): Doc fixes.
10459 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10461         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10462         (dos-mode): Use setq-local.  Add space after "rem".
10463         (dos-mode-syntax-table): Don't use "w" for symbol chars.
10464         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10466 2013-08-07  Arni Magnusson  <arnima@hafro.is>
10468         * progmodes/dos.el: New file.
10469         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10470         dos-mode.
10472 2013-08-06  Glenn Morris  <rgm@gnu.org>
10474         * calendar/calendar.el: Add new faces, and day-header-array.
10475         (calendar-weekday-header, calendar-weekend-header)
10476         (calendar-month-header): New faces.
10477         (calendar-day-header-construct): New function.
10478         (calendar-day-header-width): Also :set calendar-day-header-array.
10479         (calendar-american-month-header, calendar-european-month-header)
10480         (calendar-iso-month-header): Use calendar- faces.
10481         (calendar-generate-month):
10482         Use calendar-day-header-array for day headers; apply faces to them.
10483         (calendar-mode): Check calendar-font-lock-keywords non-nil.
10484         (calendar-abbrev-construct): Add optional maxlen argument.
10485         (calendar-day-name-array): Doc fix.
10486         (calendar-day-name-array, calendar-abbrev-length)
10487         (calendar-day-abbrev-array):
10488         Also :set calendar-day-header-array, and maybe redraw.
10489         (calendar-day-header-array): New option.  (Bug#15007)
10490         (calendar-font-lock-keywords): Set to nil and make obsolete.
10491         (calendar-day-name): Add option to use header array.
10493 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10495         * net/shr.el (shr-render-td): Remove debugging.
10496         (shr-render-td): Make width computation consistent by defaulting
10497         all zero-width columns to 10 characters.  This may not be optimal,
10498         but it's at least consistent.
10499         (shr-make-table-1): Redo last change to fix the real problem in
10500         colspan handling.
10502 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
10504         * files.el (cache-long-line-scans):
10505         Make obsolete alias to `cache-long-scans'.
10507 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
10509         * frameset.el (frameset, frameset-filter-alist)
10510         (frameset-filter-params, frameset-save, frameset--reuse-frame)
10511         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10512         (frameset-compute-pos): Rename from frameset--compute-pos,
10513         and add docstring.
10514         (frameset-move-onscreen): Use frameset-compute-pos.
10515         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10517         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10518         Fix typos in docstrings.
10520 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
10522         * frame.el (get-other-frame): Tiny cleanup.
10524 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
10526         * vc/vc.el (vc-default-ignore-completion-table):
10527         Silence byte-compiler warning.
10529         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10530         slot, which can indeed be nil.
10531         (frameset-live-filter-alist, frameset-persistent-filter-alist):
10532         Move entry for `left' from persistent to live filter alist.
10533         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10534         Doc fixes.
10535         (frameset-filter-params): When restoring a frame, copy items added to
10536         `filtered', to avoid unwittingly modifying the original parameters.
10537         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
10538         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10540         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10541         to use looking-at-p instead of looking-at.  (Bug#15028)
10543 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10545         Revert introduction of isearch-filter-predicates (bug#14714).
10546         Rely on add-function instead.
10547         * isearch.el (isearch-filter-predicates): Rename it back to
10548         isearch-filter-predicate.
10549         (isearch-message-prefix): Use advice-function-mapc and advice
10550         properties to get the isearch-message-prefix.
10551         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10552         instead of run-hook-with-args-until-failure.
10553         (isearch-filter-visible): Not obsolete any more.
10554         * loadup.el: Preload nadvice.
10555         * replace.el (perform-replace): Revert to funcall
10556         instead of run-hook-with-args-until-failure.
10557         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10558         * dired-aux.el (dired-isearch-filenames-mode): Rename from
10559         dired-isearch-filenames-toggle; make it into a proper minor mode.
10560         Use add/remove-function.
10561         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10562         Call the minor-mode rather than add/remove-hook.
10563         (dired-isearch-filter-filenames):
10564         Remove isearch-message-prefix property.
10565         * info.el (Info--search-loop): New function, extracted from Info-search.
10566         Funcall isearch-filter-predicate instead of
10567         run-hook-with-args-until-failure isearch-filter-predicates.
10568         (Info-search): Use it.
10569         (Info-mode): Use isearch-filter-predicate instead of
10570         isearch-filter-predicates.
10572 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
10574         Do not call to `selected-window' where it is assumed by default.
10575         Affected functions are `window-minibuffer-p', `window-dedicated-p',
10576         `window-hscroll', `window-width', `window-height', `window-buffer',
10577         `window-frame', `window-start', `window-point', `next-window'
10578         and `window-display-table'.
10579         * abbrev.el (abbrev--default-expand):
10580         * bs.el (bs--show-with-configuration):
10581         * buff-menu.el (Buffer-menu-mouse-select):
10582         * calc/calc.el (calc):
10583         * calendar/calendar.el (calendar-generate-window):
10584         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10585         (diary-make-entry):
10586         * comint.el (send-invisible, comint-dynamic-complete-filename)
10587         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10588         * completion.el (complete):
10589         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10590         * disp-table.el (describe-current-display-table):
10591         * doc-view.el (doc-view-insert-image):
10592         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10593         * ehelp.el (with-electric-help):
10594         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10595         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10596         * emacs-lisp/helper.el (Helper-help-scroller):
10597         * emulation/cua-base.el (cua--post-command-handler-1):
10598         * eshell/esh-mode.el (eshell-output-filter):
10599         * ffap.el (ffap-gnus-wrapper):
10600         * help-macro.el (make-help-screen):
10601         * hilit-chg.el (highlight-compare-buffers):
10602         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10603         * hl-line.el (global-hl-line-highlight):
10604         * icomplete.el (icomplete-simple-completing-p):
10605         * isearch.el (isearch-done):
10606         * jit-lock.el (jit-lock-stealth-fontify):
10607         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10608         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10609         * mpc.el (mpc-tagbrowser, mpc):
10610         * net/rcirc.el (rcirc-any-buffer):
10611         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10612         * play/landmark.el (landmark-max-width, landmark-max-height):
10613         * play/zone.el (zone):
10614         * progmodes/compile.el (compilation-goto-locus):
10615         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10616         * progmodes/etags.el (find-tag-other-window):
10617         * progmodes/fortran.el (fortran-column-ruler):
10618         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10619         * progmodes/verilog-mode.el (verilog-point-text):
10620         * reposition.el (reposition-window):
10621         * rot13.el (toggle-rot13-mode):
10622         * server.el (server-switch-buffer):
10623         * shell.el (shell-dynamic-complete-command)
10624         (shell-dynamic-complete-environment-variable):
10625         * simple.el (insert-buffer, set-selective-display)
10626         (delete-completion-window):
10627         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10628         (speedbar-recenter):
10629         * startup.el (fancy-splash-head):
10630         * textmodes/ispell.el (ispell-command-loop):
10631         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10632         * tutorial.el (help-with-tutorial):
10633         * vc/add-log.el (add-change-log-entry):
10634         * vc/compare-w.el (compare-windows):
10635         * vc/ediff-help.el (ediff-indent-help-message):
10636         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10637         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10638         (ediff-setup-control-frame):
10639         * vc/emerge.el (emerge-position-region):
10640         * vc/pcvs-util.el (cvs-bury-buffer):
10641         * window.el (walk-windows, mouse-autoselect-window-select):
10642         * winner.el (winner-set-conf, winner-undo): Related users changed.
10644 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
10646         * frameset.el (frameset--set-id): Doc fix.
10647         (frameset-frame-id, frameset-frame-id-equal-p)
10648         (frameset-locate-frame-id): New functions.
10649         (frameset--process-minibuffer-frames, frameset--reuse-frame)
10650         (frameset-restore): Use them.
10652 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
10654         Do not call to `selected-frame' where it is assumed by default.
10655         Affected functions are `raise-frame', `redraw-frame',
10656         `frame-first-window', `frame-terminal' and `delete-frame'.
10657         * calendar/appt.el (appt-disp-window):
10658         * epg.el (epg-wait-for-completion):
10659         * follow.el (follow-delete-other-windows-and-split)
10660         (follow-avoid-tail-recenter):
10661         * international/mule.el (set-terminal-coding-system):
10662         * mail/rmail.el (rmail-mail-return):
10663         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10664         * progmodes/f90.el (f90-add-imenu-menu):
10665         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10666         * server.el (server-switch-buffer):
10667         * simple.el (delete-completion-window):
10668         * talk.el (talk):
10669         * term/xterm.el (terminal-init-xterm-modify-other-keys)
10670         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10671         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10672         * vc/ediff.el (ediff-documentation): Related users changed.
10673         * frame.el (selected-terminal): Remove the leftover.
10675 2013-08-05  Glenn Morris  <rgm@gnu.org>
10677         * calendar/calendar.el (calendar-generate-month):
10678         Fix for calendar-column-width != 1 + calendar-day-digit-width.
10679         (calendar-generate-month, calendar-font-lock-keywords):
10680         Fix for calendar-day-header-width > length of any day name.
10682 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
10684         * desktop.el (desktop-clear): Use new name of sort predicate.
10686         * frameset.el (frameset): Add docstring.  Move :version property to its
10687         own `version' slot.
10688         (frameset-copy): Rename from copy-frameset.
10689         (frameset-p): Check more thoroughly.
10690         (frameset-prop): Do not check for :version, which is no longer a prop.
10691         (frameset-live-filter-alist, frameset-persistent-filter-alist):
10692         Use new :never value instead of t.
10693         (frameset-filter-alist): Expand and clarify docstring.
10694         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10695         (frameset-filter-minibuffer, frameset-filter-save-param)
10696         (frameset-filter-restore-param, frameset-filter-iconified):
10697         Add pointer to docstring of frameset-filter-alist.
10698         (frameset-filter-params): Rename filter values to be more meaningful:
10699         :never instead of t, and reverse the meanings of :save and :restore.
10700         (frameset--process-minibuffer-frames): Clarify error message.
10701         (frameset-save): Avoid unnecessary and confusing call to framep.
10702         Use new BOA constructor for framesets.
10703         (frameset--reuse-list): Doc fix.
10704         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
10705         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10706         (frameset-minibufferless-first-p): Doc fix.
10707         Rename from frameset-sort-frames-for-deletion.
10708         (frameset-restore): Doc fixes.  Use new function names.
10709         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10711 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
10713         * desktop.el (desktop-restore-forces-onscreen)
10714         (desktop-restore-reuses-frames): Document :keyword constant values.
10715         (desktop-filter-parameters-alist): Remove, now identical to
10716         frameset-filter-alist.
10717         (desktop--filter-tty*): Remove, moved to frameset.el.
10718         (desktop-save-frameset, desktop-restore-frameset):
10719         Do not pass :filters argument.
10721         * frameset.el (frameset-live-filter-alist)
10722         (frameset-persistent-filter-alist): New variables.
10723         (frameset-filter-alist): Use them.  Add autoload cookie.
10724         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10725         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10726         `frameset--id' (it's supposed to be internal to frameset.el).
10727         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
10728         (frameset--initial-params): New function.
10729         (frameset--get-frame): Use it.  Doc fix.
10730         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10731         Accept :all, not 'all.
10732         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10733         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
10734         with fbound symbols.  Fix frame id matching, and remove matching ids if
10735         the frame being restored is deleted.  Obey :delete.
10737 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10739         * subr.el (macrop): New function.
10740         (text-clone--maintaining): New var.
10741         (text-clone--maintain): Rename from text-clone-maintain.  Use it
10742         instead of inhibit-modification-hooks.
10744         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10745         a proxy, so as handle autoloads and redefinitions of the target.
10746         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10748         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10749         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
10750         (pcase--mutually-exclusive-p): New function.
10751         (pcase--split-consp): Use it.
10752         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
10753         mutually exclusive with the current predicate.
10755         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10756         (edebug-macrop): Remove.  Use `macrop' instead.
10757         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
10758         (ad-macro-p):
10759         * eshell/esh-cmd.el (eshell-macrop):
10760         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
10762 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10764         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10765         (advice-mapc): New function, using it.
10766         (advice-function-member-p): New function.
10767         (advice--normalize): Store the cdr in advice--saved-rewrite since
10768         that's the part that will be changed.
10769         (advice--symbol-function): New function.
10770         (advice-remove): Handle removal before the function is defined.
10771         Adjust to new advice--saved-rewrite.
10772         (advice-member-p): Use advice-function-member-p and
10773         advice--symbol-function.
10775 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
10777         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10778         (frameset-filter-minibuffer): Doc fix.
10779         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
10780         (frameset--set-id, frameset--process-minibuffer-frames)
10781         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10782         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10784         * desktop.el (desktop-clear): Only delete frames when called
10785         interactively and desktop-restore-frames is non-nil.  Doc fix.
10786         (desktop-read): Set desktop-saved-frameset to nil.
10788 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
10790         * vc/vc.el (vc-ignore): Rewrite.
10791         (vc-default-ignore-completion-table, vc--read-lines)
10792         (vc--add-line, vc--remove-regexp): New functions.
10794         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10795         (vc-svn-ignore-completion-table): New function.
10797         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10798         (vc-hg-ignore-completion-table)
10799         (vc-hg-find-ignore-file): New functions.
10801         * vc/vc-git.el (vc-git-ignore): Rewrite.
10802         (vc-git-ignore-completion-table)
10803         (vc-git-find-ignore-file): New functions.
10805         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10807         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10808         (vc-bzr-ignore-completion-table)
10809         (vc-bzr-find-ignore-file): New functions.
10811 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
10813         * frameset.el (frameset-prop): New function and setter.
10814         (frameset-save): Do not modify frame list passed by the caller.
10816 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10818         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10820 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10822         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10823         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10825         * custom.el (custom-initialize-default, custom-initialize-set)
10826         (custom-initialize-reset, custom-initialize-changed): Affect the
10827         toplevel-default-value (bug#6275, bug#14586).
10828         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10829         for bug#6275.
10831 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
10833         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10834         Add cl-def* expressions.
10836         * frameset.el (frameset-filter-params): Fix order of arguments.
10838 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
10840         Move code related to saving frames to frameset.el.
10841         * desktop.el: Require frameset.
10842         (desktop-restore-frames): Doc fix.
10843         (desktop-restore-reuses-frames): Rename from
10844         desktop-restoring-reuses-frames.
10845         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10846         (desktop-clear): Clear frames too.
10847         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10848         (desktop--filter-tty*, desktop-save, desktop-read):
10849         Use frameset functions.
10850         (desktop-before-saving-frames-functions, desktop--filter-*-color)
10851         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10852         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10853         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10854         (desktop--process-minibuffer-frames, desktop-save-frames)
10855         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10856         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10857         (desktop--sort-states, desktop-restoring-frames-p)
10858         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
10859         (desktop-restoring-frameset-p, desktop-restore-frameset)
10860         (desktop--check-dont-save, desktop-save-frameset): New functions.
10861         (desktop--app-id): New constant.
10862         (desktop-first-buffer, desktop-buffer-ok-count)
10863         (desktop-buffer-fail-count): Move before first use.
10864         * frameset.el: New file.
10866 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10868         * files.el: Use lexical-binding.
10869         (dir-locals-read-from-file): Remove unused `err' variable.
10870         (hack-dir-local-variables--warned-coding): New var.
10871         (hack-dir-local-variables): Use it to avoid repeated warnings.
10872         (make-backup-file-name--default-function): New function.
10873         (make-backup-file-name-function): Use it as default.
10874         (buffer-stale--default-function): New function.
10875         (buffer-stale-function): Use it as default.
10876         (revert-buffer-insert-file-contents--default-function): New function.
10877         (revert-buffer-insert-file-contents-function): Use it as default.
10878         (insert-directory): Avoid add-to-list.
10880         * autorevert.el (auto-revert-handler): Simplify.
10881         Use buffer-stale--default-function.
10883 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
10885         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10887         * whitespace.el (whitespace-ensure-local-variables): New function.
10888         (whitespace-cleanup-region): Call it.
10889         (whitespace-turn-on): Call it.
10891 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
10893         Complete file name handlers.
10895         * net/tramp.el (tramp-handle-set-visited-file-modtime)
10896         (tramp-handle-verify-visited-file-modtime)
10897         (tramp-handle-file-notify-rm-watch): New functions.
10898         (tramp-call-process): Do not bind `default-directory'.
10900         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10901         Order alphabetically.
10902         <access-file, add-name-to-file, dired-call-process>:
10903         <dired-compress-file, file-acl, file-notify-rm-watch>:
10904         <file-ownership-preserved-p, file-selinux-context>:
10905         <make-directory-internal, make-symbolic-link, set-file-acl>:
10906         <set-file-selinux-context, set-visited-file-modtime>:
10907         <verify-visited-file-modtime>: Add handler.
10908         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10910         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10911         <file-notify-add-watch, file-notify-rm-watch>:
10912         <set-file-times, set-visited-file-modtime>:
10913         <verify-visited-file-modtime>: Add handler.
10914         (with-tramp-gvfs-error-message)
10915         (tramp-gvfs-handle-set-visited-file-modtime)
10916         (tramp-gvfs-fuse-file-name): Remove.
10917         (tramp-gvfs-handle-file-notify-add-watch)
10918         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10919         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10921         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10922         Order alphabetically.
10923         <file-notify-rm-watch>: Use default Tramp handler.
10924         <executable-find>: Remove private handler.
10925         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10926         `default-directory'.
10927         (tramp-sh-handle-executable-find)
10928         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10929         (tramp-sh-file-gvfs-monitor-dir-process-filter)
10930         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10931         Do not use `format' in `tramp-message'.
10933         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10934         <file-notify-rm-watch, set-visited-file-modtime>:
10935         <verify-visited-file-modtime>: Add handler.
10936         (tramp-smb-call-winexe): Do not bind `default-directory'.
10938 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
10940         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10942 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
10944         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10945         use it.
10946         (log-view-diff-changeset): Same.
10947         (log-view-diff-common): Call backend command `previous-revision'
10948         to find out the previous revision, in both cases.  Swap the
10949         variables `to' and `fr', so that `fr' usually refers to the
10950         earlier revision (Bug#14989).
10952 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
10954         * ibuf-ext.el (ibuffer-filter-by-filename):
10955         Make it work with dired buffers too.
10957 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
10959         * emacs-lisp/re-builder.el (reb-color-display-p):
10960         * files.el (save-buffers-kill-terminal):
10961         * net/browse-url.el (browse-url):
10962         * server.el (server-save-buffers-kill-terminal):
10963         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10964         Prefer nil to selected-frame for the first arg of frame-parameter.
10966 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
10968         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10970 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
10972         * minibuffer.el (completion--twq-all): Try and preserve each
10973         completion's case choice (bug#14907).
10975 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10977         * net/network-stream.el (open-network-stream): Mention the new
10978         :nogreeting parameter.
10979         (network-stream-open-starttls): Use the :nogreeting parameter
10980         (bug#14938).
10982         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10984         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10985         more natural than popping.
10987         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10988         (shr-urlify): Highlight under mouse.
10990 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
10992         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10994         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10996         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
10997         buffer for output.
10999         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
11000         point-min==1.  Fix search string.  Fix parentheses missing.
11002         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
11003         assume point-min==1.  Fix search string.  Fix parentheses missing.
11005         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11007         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
11008         buffer for output.
11010 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
11012         * frame.el (frame-notice-user-settings): Avoid inflooping when the
11013         initial frame is minibuffer-less.  (Bug#14841)
11015 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
11017         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11018         option.
11020         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11021         (tramp-maybe-open-connection): Use it.
11023 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
11025         * desktop.el (desktop--make-frame): Include `minibuffer' in the
11026         minimal set of parameters passed when creating a frame, because
11027         the minibuffer status of a frame cannot be changed later.
11029 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
11031         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11032         replace-regexp-in-string and inadvertent omissions in previous change.
11033         (todo-filter-items): Ensure only file names are comma-separated in
11034         name of filtered items buffer.
11036 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
11038         * desktop.el: Optionally force offscreen frames back onscreen.
11039         (desktop-restoring-reuses-frames): New option.
11040         (desktop--compute-pos, desktop--move-onscreen): New functions.
11041         (desktop--make-frame): Use desktop--move-onscreen.
11043 2013-07-27  Alan Mackenzie  <acm@muc.de>
11045         Fontify a Java generic method as a function.
11046         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11047         value to t.
11049 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
11051         * calendar/todo-mode.el: Add command to rename todo files.
11052         (todo-rename-file): New command.
11053         (todo-key-bindings-t): Add key binding for it.  Change the
11054         bindings of todo-filter-regexp-items(-multifile) to use `x'
11055         instead of `r', since the latter is better suited to the new
11056         renaming command.
11058 2013-07-27  Alan Mackenzie  <acm@muc.de>
11060         Make Java try-with-resources statement parse properly.
11061         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11062         (c-block-stmt-1-2-key): New language constants/variables.
11063         * progmodes/cc-engine.el (c-beginning-of-statement-1)
11064         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11065         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11066         with c-block-stmt-1-2-key.
11068 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
11070         * desktop.el (desktop--make-frame): Apply most frame parameters after
11071         creating the frame to force (partially or totally) offscreen frames to
11072         be restored as such.
11074 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
11076         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11077         (Bug#14948)
11079 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11081         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11082         `base' arg of backtrace-frame.
11084 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
11086         * simple.el (list-processes): Doc fix.
11088 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
11090         * desktop.el (desktop--select-frame):
11091         Try harder to reuse existing frames.
11093 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11095         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11096         (edebug-eval): Use backtrace-eval.
11097         (edebug--display, edebug--recursive-edit): Don't let-bind the
11098         edebug-outer-* vars that keep track of variables we locally let-bind.
11099         (edebug-outside-excursion): Don't restore outside values of locally
11100         let-bound vars.
11101         (edebug--display): Use user-error.
11102         (cl-lexical-debug, cl-debug-env): Remove.
11104 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
11106         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11107         are restored to be sure that they are visible before deleting any
11108         remaining ones.
11110 2013-07-26  Matthias Meulien  <orontee@gmail.com>
11112         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11113         vc-print-root-log.  (Bug#14948)
11115 2013-07-26  Richard Stallman  <rms@gnu.org>
11117         Add aliases for encrypting mail.
11118         * epa.el (epa-mail-aliases): New option.
11119         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11120         Bind inhibit-read-only so read-only text doesn't ruin everything.
11121         (epa-mail-default-recipients): New subroutine broken out.
11122         Handle epa-mail-aliases.
11124 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11126         Add support for lexical variables to the debugger's `e' command.
11127         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11128         vars, except for debugger-outer-match-data.
11129         (debugger-frame-number): Move check for "on a function call" from
11130         callers into it.  Add `skip-base' argument.
11131         (debugger-frame, debugger-frame-clear): Simplify accordingly.
11132         (debugger-env-macro): Only reset the state stored in non-variables,
11133         i.e. current-buffer and match-data.
11134         (debugger-eval-expression): Rewrite using backtrace-eval.
11135         * subr.el (internal--called-interactively-p--get-frame): Remove.
11136         (called-interactively-p):
11137         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11138         `base' arg of backtrace-frame instead.
11140 2013-07-26  Glenn Morris  <rgm@gnu.org>
11142         * align.el (align-regexp): Doc fix.  (Bug#14857)
11143         (align-region): Explicit error if subexpression missing/does not match.
11145         * simple.el (global-visual-line-mode):
11146         Do not duplicate the mode lighter.  (Bug#14858)
11148 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
11150         * window.el (display-buffer): In display-buffer bind
11151         split-window-keep-point to t, bug#14829.
11153 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
11155         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11156         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11157         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11158         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11159         Change accordingly.
11160         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11161         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11163 2013-07-25  Glenn Morris  <rgm@gnu.org>
11165         * dired-x.el (dired-mark-extension): Convert comment to doc string.
11167 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
11169         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11170         parameter to modify-frame-parameters if the value has not changed;
11171         this is a workaround for bug#14949.
11172         (desktop--make-frame): On cl-delete-if call, check parameter name,
11173         not full parameter.
11175 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
11177         * vc/vc.el (vc-ignore): New function.
11179         * vc/vc-svn.el (vc-svn-ignore): New function.
11181         * vc/vc-hg.el (vc-hg-ignore): New function.
11183         * vc/vc-git.el (vc-git-ignore): New function.
11185         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11186         (vc-dir-ignore): New function.
11188         * vc/vc-cvs.el (vc-cvs-ignore): New function.
11189         (cvs-append-to-ignore): Move here from pcvs.el.
11191         * vc/vc-bzr.el (vc-bzr-ignore): New function.
11193         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11195 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
11197         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11198         (desktop-restore-frames): Warn when deleting an existing frame failed.
11200 2013-07-24  Glenn Morris  <rgm@gnu.org>
11202         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
11204 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
11206         * filenotify.el (file-notify-supported-p):
11207         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11208         Remove functions.
11210         * autorevert.el (auto-revert-use-notify)
11211         (auto-revert-notify-add-watch):
11212         * net/tramp.el (tramp-file-name-for-operation):
11213         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11214         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11215         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11216         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11217         Remove `file-notify-supported-p' entry.
11219 2013-07-24  Glenn Morris  <rgm@gnu.org>
11221         * printing.el: Replace all uses of deleted ps-windows-system,
11222         ps-lp-system, ps-flatten-list with lpr- versions.
11224 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11226         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11227         checked with memq (bug#14935).
11229         * files.el (revert-buffer-function): Use a non-nil default.
11230         (revert-buffer-preserve-modes): Declare var to
11231         provide access to the `preserve-modes' argument.
11232         (revert-buffer): Let-bind it.
11233         (revert-buffer--default): New function, extracted from revert-buffer.
11235 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11237         * lpr.el: Signal print errors more prominently.
11238         (print-region-function): Don't default to nil.
11239         (lpr-print-region): New function, extracted from print-region-1.
11240         Check lpr's return value and signal an error in case of problem.
11241         (print-region-1): Use it.
11242         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
11243         versions instead.
11244         (ps-printer-name): Default to nil.
11245         (ps-printer-name-option): Default to lpr-printer-switch.
11246         (ps-print-region-function): Don't default to nil.
11247         (ps-postscript-code-directory): Simplify default.
11248         (ps-do-despool): Use lpr-print-region to properly check the outcome.
11249         (ps-string-list, ps-eval-switch, ps-flatten-list)
11250         (ps-flatten-list-1): Remove.
11251         (ps-multibyte-buffer): Avoid setq.
11252         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11253         (print-region-function, ps-print-region-function): Don't set them here.
11255 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
11257         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11258         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11259         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11260         (ido-decorations): Doc fix.
11262         * ansi-color.el: Fix old URL.
11264 2013-07-23  Michael R. Mauger  <michael@mauger.com>
11266         * progmodes/sql.el: Version 3.3
11267         (sql-product-alist): Improve oracle :prompt-cont-regexp.
11268         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11269         (sql-interactive-remove-continuation-prompt): Rewrite, use
11270         functions above.  Fix continuation prompt and complete output line
11271         handling.
11272         (sql-redirect-one, sql-execute): Use `read-only-mode' on
11273         redirected output buffer.
11274         (sql-mode): Restore deleted code (Bug#13591).
11276 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
11278         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11280 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
11282         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11284         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11285         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11286         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11288 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
11290         * desktop.el (desktop-clear): Simplify; remove useless checks
11291         against invalid buffer names.
11292         (desktop-list*): Use cl-list*.
11293         (desktop-buffer-info, desktop-create-buffer): Simplify.
11295 2013-07-23  Leo Liu  <sdl.web@gmail.com>
11297         * bookmark.el (bookmark-make-record): Restore NAME as a default
11298         value.  (Bug#14933)
11300 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11302         * emacs-lisp/autoload.el (autoload--setup-output): New function,
11303         extracted from autoload--insert-text.
11304         (autoload--insert-text): Remove.
11305         (autoload--print-cookie-text): New function, extracted from
11306         autoload--insert-cookie-text.
11307         (autoload--insert-cookie-text): Remove.
11308         (autoload-generate-file-autoloads): Adjust calls accordingly.
11310         * winner.el (winner-hook-installed-p): Remove.
11311         (winner-mode): Simplify accordingly.
11313         * subr.el (add-to-list): Fix compiler-macro when `append' is
11314         not constant.  Don't use `cl-member' for the base case.
11316         * progmodes/subword.el: Fix boundary case (bug#13758).
11317         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
11318         own group.
11319         (subword-backward-regexp): Make it a constant.
11320         (subword-forward-internal): Don't treat a trailing capital as the
11321         beginning of a word.
11323 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
11325         * emacs-lisp/package.el (package-menu-mode): Don't modify the
11326         global value of tabulated-list-revert-hook (bug#14930).
11328 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
11330         * desktop.el: Require 'cl-lib.
11331         (desktop-before-saving-frames-functions): New hook.
11332         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11333         for frames being saved.  Rename from desktop--save-minibuffer-frames.
11334         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11335         Do not save frames with non-nil `desktop-dont-save' parameter.
11336         Filter out deleted frames.
11337         (desktop--find-frame): Use cl-find-if.
11338         (desktop--select-frame): Use cl-(first|second|third) to access values
11339         of desktop-mini.
11340         (desktop--make-frame): Use cl-delete-if.
11341         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11342         (desktop-restore-frames): Use cl-(first|second|third) to access values
11343         of desktop-mini.  Look for visible frame at the end, not while
11344         restoring frames.
11346         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11347         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11348         Use string-match-p, looking-at-p (bug#14927).
11350 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
11352         * desktop.el (desktop-saved-frame-states):
11353         Rename from desktop--saved-states; all users changed.
11354         (desktop-save-frames): Rename from desktop--save-frames.
11355         Do not save state to desktop file.
11356         (desktop-save): Save desktop-saved-frame-states to desktop file
11357         and reset to nil.
11358         (desktop-restoring-frames-p): New function.
11359         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
11360         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
11361         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
11363         * desktop.el: Correctly restore iconified frames.
11364         (desktop--filter-iconified-position): New function.
11365         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11367 2013-07-20  Glenn Morris  <rgm@gnu.org>
11369         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11370         Let `message' do the formatting.
11371         (def-gdb-preempt-display-buffer): Add explicit format.
11373         * image-dired.el (image-dired-track-original-file):
11374         Use with-current-buffer.
11375         (image-dired-track-thumbnail): Use with-current-buffer.
11376         Avoid changing point of wrong window.
11378         * image-dired.el (image-dired-track-original-file):
11379         Avoid changing point of wrong window.  (Bug#14909)
11381 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
11383         * progmodes/gdb-mi.el (gdb-done-or-error):
11384         Guard against "%" in gdb output.  (Bug#14127)
11386 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
11388         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11389         (Bug#14826)
11391         * international/mule.el (coding-system-iso-2022-flags): Fix last
11392         change.
11394 2013-07-20  Kenichi Handa  <handa@gnu.org>
11396         * international/mule.el (coding-system-iso-2022-flags):
11397         Add `8-bit-level-4'.  (Bug#8522)
11399 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11401         * net/shr.el (shr-mouse-browse-url): New command and keystroke
11402         (bug#14815).
11404         * net/eww.el (eww-process-text-input): Allow inputting when the
11405         point is at the start of the line, as the properties aren't
11406         front-sticky.
11408         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11409         degenerate widths.
11411 2013-07-19  Richard Stallman  <rms@gnu.org>
11413         * epa.el (epa-popup-info-window): Doc fix.
11415         * subr.el (split-string): New arg TRIM.
11417 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
11419         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11420         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11422 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
11424         * filenotify.el (file-notify--library): Rename from
11425         `file-notify-support'.  Do not autoload.  Adapt all uses.
11426         (file-notify-supported-p): New defun.
11428         * autorevert.el (auto-revert-use-notify):
11429         Use `file-notify-supported-p' instead of `file-notify-support'.
11430         Adapt docstring.
11431         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11433         * net/tramp.el (tramp-file-name-for-operation):
11434         Add `file-notify-supported-p'.
11436         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11437         New defun.
11438         (tramp-sh-file-name-handler-alist): Add it as handler for
11439         `file-notify-supported-p '.
11441         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11442         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11443         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11444         Add `ignore' as handler for `file-notify-*' functions.
11446 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
11448         * simple.el (line-move-partial, line-move): Don't start vscroll or
11449         scroll-up if the current line is not taller than the window.
11450         (Bug#14881)
11452 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
11454         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11455         highlight question marks in the method names as strings.
11456         (ruby-block-beg-keywords): Inline.
11457         (ruby-font-lock-keyword-beg-re): Extract from
11458         `ruby-font-lock-keywords'.
11460 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
11462         * frame.el (blink-cursor-blinks): New defcustom.
11463         (blink-cursor-blinks-done): New defvar.
11464         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11465         (blink-cursor-timer-function): Check if number of blinks has been
11466         done on X and NS.
11467         (blink-cursor-suspend, blink-cursor-check): New defuns.
11469 2013-07-15  Glenn Morris  <rgm@gnu.org>
11471         * edmacro.el (edmacro-format-keys): Fix previous change.
11473 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
11475         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11476         The hack didn't work outside English locales anyway.
11478 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
11480         * simple.el (define-alternatives): Rename from alternatives-define,
11481         per RMS' suggestion.
11483 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
11485         * desktop.el (desktop-restore-frames): Change default to t.
11486         (desktop-restore-in-current-display): Now offer more options.
11487         (desktop-restoring-reuses-frames): New customization option.
11488         (desktop--saved-states): Doc fix.
11489         (desktop-filter-parameters-alist): New variable, renamed and expanded
11490         from desktop--excluded-frame-parameters.
11491         (desktop--target-display): New variable.
11492         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11493         (desktop--filter-tty*, desktop--filter-*-color)
11494         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11495         (desktop--filter-save-desktop-parm)
11496         (desktop-restore-in-original-display-p): New functions.
11497         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11498         (desktop--save-minibuffer-frames): New function, inspired by a similar
11499         function from Martin Rudalics.
11500         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11501         (desktop--restore-in-this-display-p): Remove.
11502         (desktop--find-frame): Rename from desktop--find-frame-in-display
11503         and add predicate argument.
11504         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11505         (desktop--reuse-list): New variable.
11506         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11507         New functions.
11508         (desktop--restore-frames): Add support for "minibuffer-special" frames.
11510 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
11512         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11514 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
11516         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11517         Highlight conversion methods on Kernel.
11519 2013-07-13  Alan Mackenzie  <acm@muc.de>
11521         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11522         and comment it out.  This out-commenting enables certain C++
11523         declarations to be parsed correctly.
11525 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
11527         * international/mule.el (define-coding-system): Doc fix.
11529         * simple.el (default-font-height): Don't call font-info if the
11530         frame's default font didn't change since the frame was created.
11531         (Bug#14838)
11533 2013-07-13  Leo Liu  <sdl.web@gmail.com>
11535         * ido.el (ido-read-file-name): Guard against non-symbol value.
11537 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11539         * progmodes/python.el (python-imenu--build-tree): Fix corner case
11540         in nested defuns.
11542 2013-07-13  Leo Liu  <sdl.web@gmail.com>
11544         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11545         ido-set-matches call.  (Bug#6852)
11547 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
11549         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11550         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11551         Ruby 2.0.
11552         (ruby-font-lock-keywords): Distinguish calls to functions with
11553         module-like names from module references.  Highlight character
11554         literals.
11556 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
11558         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11559         (gdb-send): Handle continued commands.  (Bug#14847)
11561 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
11563         * desktop.el (desktop--v2s): Remove unused local variable.
11564         (desktop-save-buffer): Make defvar-local; adjust docstring.
11565         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11566         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11568 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
11570         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11572 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
11574         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11575         (Bug#14842)
11577 2013-07-12  Glenn Morris  <rgm@gnu.org>
11579         * doc-view.el: Require cl-lib at runtime too.
11580         (doc-view-remove-if): Remove.
11581         (doc-view-search-next-match, doc-view-search-previous-match):
11582         Use cl-remove-if.
11584         * edmacro.el: Require cl-lib at runtime too.
11585         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11586         (edmacro-mismatch, edmacro-subseq): Remove.
11588         * shadowfile.el: Require cl-lib.
11589         (shadow-remove-if): Remove.
11590         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11591         Use cl-remove-if.
11593         * wid-edit.el: Require cl-lib.
11594         (widget-choose): Use cl-remove-if.
11595         (widget-remove-if): Remove.
11597         * progmodes/ebrowse.el: Require cl-lib at runtime too.
11598         (ebrowse-delete-if-not): Remove.
11599         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11600         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11601         Use cl-delete-if-not.
11603 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
11605         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11606         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11608 2013-07-12  Leo Liu  <sdl.web@gmail.com>
11610         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
11612 2013-07-11  Glenn Morris  <rgm@gnu.org>
11614         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11615         (edebug-gensym-index, edebug-gensym):
11616         Remove reimplementation of cl-gensym.
11617         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11619         * thumbs.el: Require cl-lib at run-time too.
11620         (thumbs-gensym-counter, thumbs-gensym):
11621         Remove reimplementation of cl-gensym.
11622         (thumbs-temp-file): Use cl-gensym.
11624         * emacs-lisp/ert.el: Require cl-lib at runtime too.
11625         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11626         (ert--intersection, ert--set-difference, ert--set-difference-eq)
11627         (ert--union, ert--gensym-counter, ert--gensym-counter)
11628         (ert--coerce-to-vector, ert--remove*, ert--string-position)
11629         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11630         (ert-make-test-unbound, ert--expand-should-1)
11631         (ert--expand-should, ert--should-error-handle-error)
11632         (should-error, ert--explain-equal-rec)
11633         (ert--plist-difference-explanation, ert-select-tests)
11634         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11635         Use cl-lib functions rather than reimplementations.
11637 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
11639         * net/tramp.el (tramp-methods): Extend docstring.
11640         (tramp-connection-timeout): New defcustom.
11641         (tramp-error-with-buffer): Reset timestamp only when appropriate.
11642         (with-tramp-progress-reporter): Simplify.
11643         (tramp-process-actions): Improve messages.
11645         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11646         * net/tramp-sh.el (tramp-maybe-open-connection):
11647         Use `tramp-connection-timeout'.
11648         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11649         (Bug#14808)
11651 2013-07-11  Leo Liu  <sdl.web@gmail.com>
11653         * ido.el (ido-read-file-name): Conform to the requirements of
11654         read-file-name.  (Bug#11861)
11655         (ido-read-directory-name): Conform to the requirements of
11656         read-directory-name.
11658 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
11660         * subr.el (delay-warning): New function.
11662 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
11664         * simple.el (default-line-height): New function.
11665         (line-move-partial, line-move): Use it instead of computing the
11666         line height inline.
11667         (line-move-partial): Always compute ROWH.  If the last line is
11668         partially-visible, but its text is completely visible, allow
11669         cursor to enter such a partially-visible line.
11671 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
11673         Improve error messages.  (Bug#14808)
11675         * net/tramp.el (tramp-current-connection): New defvar, moved from
11676         tramp-sh.el.
11677         (tramp-message-show-progress-reporter-message): Remove, not
11678         needed anymore.
11679         (tramp-error-with-buffer): Show message in minibuffer.
11680         Discard input before waiting.  Reset connection timestamp.
11681         (with-tramp-progress-reporter): Improve messages.
11682         (tramp-process-actions): Use progress reporter.  Delete process in
11683         case of error.  Improve messages.
11685         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11686         Call `tramp-error-with-buffer' with vector and buffer.
11687         (tramp-current-connection): Remove.
11688         (tramp-maybe-open-connection): The car of
11689         `tramp-current-connection' are the first 3 slots of the vector.
11691 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
11693         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11694         inside continued strings.
11696 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
11698         Timestamp fixes for undo (Bug#14824).
11699         * files.el (clear-visited-file-modtime): Move here from fileio.c.
11701 2013-07-10  Leo Liu  <sdl.web@gmail.com>
11703         * files.el (require-final-newline): Allow safe local value.
11704         (Bug#14834)
11706 2013-07-09  Leo Liu  <sdl.web@gmail.com>
11708         * ido.el (ido-read-directory-name): Handle fallback.
11709         (ido-read-file-name): Update DIR to ido-current-directory.
11710         (Bug#1516)
11711         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
11713 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
11715         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11716         "autoload".  Remove "warn lower camel case" section, previously
11717         commented out.  Highlight negation char.  Do not highlight the
11718         target in singleton method definitions.
11720 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11722         * faces.el (tty-setup-hook): Declare the hook.
11724         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11725         and detect when a guard/pred depends on local vars (bug#14773).
11726         (pcase--u1): Adjust caller.
11728 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
11730         * simple.el (line-move-partial, line-move): Account for
11731         line-spacing.
11732         (line-move-partial): Avoid setting vscroll when the last
11733         partially-visible line in window is of default height.
11735 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11737         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11738         been used a while.
11740 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
11742         * subr.el (read-quoted-char): Remove unused local variable `char'.
11744 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
11746         * vc/ediff.el (ediff-version): Version update.
11747         (ediff-files-command, ediff3-files-command, ediff-merge-command)
11748         (ediff-merge-with-ancestor-command, ediff-directories-command)
11749         (ediff-directories3-command, ediff-merge-directories-command)
11750         (ediff-merge-directories-with-ancestor-command): New functions.
11751         All are command-line interfaces to ediff: to facilitate calling
11752         Emacs with the appropriate ediff functions invoked.
11754         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11755         New function.
11756         (viper-save-kill-buffer): Check if buffer is modified.
11758         * emulation/viper.el (viper-version): Version update.
11759         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11761 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11763         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11764         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11765         (viper-intercept-ESC-key): Simplify.
11766         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11767         don't use kbd.
11768         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11769         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11770         (viper-setup-ESC-to-escape): New functions.
11771         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11772         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
11774 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
11776         * simple.el (default-font-height, window-screen-lines):
11777         New functions.
11778         (line-move, line-move-partial): Use them instead of
11779         frame-char-height and window-text-height.  This makes scrolling
11780         text smoother when the buffer's default face uses a font that is
11781         different from the frame's default font.
11783 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
11785         * files.el (write-file): Do not display confirm dialog for NS,
11786         it does its own dialog, which can't be canceled (Bug#14578).
11788 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
11790         * simple.el (line-move-partial): Adjust the row returned by
11791         posn-at-point for the current window-vscroll.  (Bug#14567)
11793 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
11795         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11796         (tramp-sh-file-inotifywait-process-filter): Handle file names with
11797         spaces.
11799 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
11801         * window.el (window-state-put-stale-windows): New variable.
11802         (window--state-put-2): Save list of windows without matching buffer.
11803         (window-state-put): Remove "bufferless" windows if possible.
11805 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
11807         * simple.el (alternatives-define): Remove leftover :group keyword.
11808         Tweak docstring.
11810 2013-07-06  Leo Liu  <sdl.web@gmail.com>
11812         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11813         (ido-enable-virtual-buffers): New variable.
11814         (ido-buffer-internal, ido-toggle-virtual-buffers)
11815         (ido-make-buffer-list): Use it.
11816         (ido-exhibit): Support turning on and off virtual buffers
11817         automatically.
11819 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
11821         * simple.el (alternatives-define): New macro.
11823 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11825         * subr.el (read-quoted-char): Use read-key.
11826         (sit-for): Let read-event decode tty input (bug#14782).
11828 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
11830         * calendar/todo-mode.el: Add handling of file deletion, both by
11831         mode command and externally.  Fix various related bugs.
11832         Clarify Commentary and improve some documentation strings and code.
11833         (todo-delete-file): New command.
11834         (todo-check-file): New function.
11835         (todo-show): Handle external deletion of the file we're trying to
11836         show (bug#14688).  Replace called-interactively-p by an optional
11837         prefix argument to avoid problematic interaction with catch form
11838         when byte compiled (bug#14702).
11839         (todo-quit): Handle external deletion of the archive's todo file.
11840         Make sure the buffer that was visiting the archive file is still
11841         live before trying to bury it.
11842         (todo-category-completions): Handle external deletion of any
11843         category completion files.
11844         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11845         of todo files, in case of external deletion.
11846         (todo-add-file): Replace unnecessary setq by let-binding.
11847         (todo-find-archive): Check whether there are any archives.
11848         Replace unnecessary setq by let-binding.
11849         (todo-archive-done-item): Use find-file-noselect to get the
11850         archive buffer whether or not the archive already exists.
11851         Remove superfluous code.  Use file size instead of buffer-file-name to
11852         check if the archive is new; if it is, update list of archives.
11853         (todo-default-todo-file): Allow nil to be a valid value for when
11854         there are no todo files.
11855         (todo-reevaluate-default-file-defcustom): Use corrected definition
11856         of todo-default-todo-file.
11857         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11858         (todo-delete-category, todo-show-categories-table)
11859         (todo-category-number): Clarify comment.
11860         (todo-filter-items): Clarify documentation string.
11861         (todo-show-current-file, todo-display-as-todo-file)
11862         (todo-reset-and-enable-done-separator): Tweak documentation string.
11863         (todo-done-separator): Make separator length window-width, since
11864         bug#2749 is now fixed.
11866 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
11868         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11869         Support both "gvfs-monitor-dir" and "inotifywait".
11870         (tramp-sh-file-inotifywait-process-filter): Rename from
11871         `tramp-sh-file-notify-process-filter'.
11872         (tramp-sh-file-gvfs-monitor-dir-process-filter)
11873         (tramp-get-remote-gvfs-monitor-dir): New defuns.
11875 2013-07-05  Leo Liu  <sdl.web@gmail.com>
11877         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11879 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11881         * frame.el (display-pixel-height, display-pixel-width)
11882         (display-mm-height, display-mm-width): Mention behavior on
11883         multi-monitor setups in docstrings.
11884         (w32-display-monitor-attributes-list): Declare function.
11885         (display-monitor-attributes-list): Use it.
11887 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
11889         * filenotify.el: New package.
11891         * autorevert.el (top): Require filenotify.el.
11892         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
11893         instead.
11894         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11895         (auto-revert-notify-handler): Use `file-notify-*' functions.
11897         * subr.el (file-notify-handle-event): Move function to filenotify.el.
11899         * net/tramp.el (tramp-file-name-for-operation):
11900         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11902         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11903         for `file-notify-add-watch' and `file-notify-rm-watch'.
11904         (tramp-process-sentinel): Improve trace.
11905         (tramp-sh-handle-file-notify-add-watch)
11906         (tramp-sh-file-notify-process-filter)
11907         (tramp-sh-handle-file-notify-rm-watch)
11908         (tramp-get-remote-inotifywait): New defuns.
11910 2013-07-03  Juri Linkov  <juri@jurta.org>
11912         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11913         call of `occur-read-primary-args' to interactive spec.
11915         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11916         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
11918 2013-07-03  Matthias Meulien  <orontee@gmail.com>
11920         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11921         `Buffer-menu-multi-occur'.  Add it to the menu.
11922         (Buffer-menu-mode): Document it in docstring.
11923         (Buffer-menu-multi-occur): New command.  (Bug#14673)
11925 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
11927         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11928         keywords and built-ins.
11930 2013-07-03  Glenn Morris  <rgm@gnu.org>
11932         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
11934         Make info-xref checks case-sensitive by default
11935         * info.el (Info-find-node, Info-find-in-tag-table)
11936         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11937         Add option for exact case matching of nodes.
11938         * info-xref.el (info-xref): New custom group.
11939         (info-xref-case-fold): New option.
11940         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11942 2013-07-03  Leo Liu  <sdl.web@gmail.com>
11944         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11946 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
11948         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11949         middle of block statement initially, lower the depth.  Remove
11950         FIXME comment, not longer valid.  Remove middle of block statement
11951         detection, no need to do that anymore since we've been using
11952         `ruby-parse-region' here.
11954 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
11956         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11958 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
11960         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11962 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
11964         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11965         (desktop-restore-in-current-display): New customization option.
11966         (desktop--excluded-frame-parameters): Add `font'.
11967         (desktop--save-frames): Rename from desktop--save-windows.
11968         (desktop--restore-in-this-display-p): New function.
11969         (desktop--make-full-frame): Remove unwanted width/height from
11970         full(width|height) frames.
11971         (desktop--restore-frames): Rename from desktop--restore-windows.
11972         Obey desktop-restore-current-display.  Do not delete old frames or
11973         select a new frame unless we were able to restore at least one frame.
11975 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
11977         * files.el (find-file-noselect): Simplify conditional expression.
11979         * textmodes/remember.el (remember-append-to-file):
11980         Don't mix `find-buffer-visiting' and `get-file-buffer'.
11982         Add `remember-notes' function to store random notes across Emacs
11983         restarts.
11984         * textmodes/remember.el (remember-data-file): Add :set callback to
11985         affect notes buffer (if any).
11986         (remember-notes): New command.
11987         (remember-notes-buffer-name, bury-remember-notes-on-kill):
11988         New defcustoms for the `remember-notes' function.
11989         (remember-notes-save-and-bury-buffer): New command.
11990         (remember-notes-mode-map): New variable.
11991         (remember-mode): New minor mode.
11992         (remember-notes--kill-buffer-query): New function.
11993         * startup.el (initial-buffer-choice): Add notes to custom type.
11995 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
11997         * bindings.el (right-char, left-char): Don't call sit-for, this is
11998         no longer needed.  Use arithmetic comparison only for numerical
11999         arguments.
12001         * international/mule-cmds.el (select-safe-coding-system):
12002         Handle the case of FROM being a string correctly.  (Bug#14755)
12004 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12006         * net/shr.el (shr-make-table-1): Add a sanity check that allows
12007         progression on degenerate tables.
12008         (shr-rescale-image): ImageMagick animated images currently don't work.
12010 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
12012         Some fixes and improvements for desktop frame restoration.
12013         It is still experimental and disabled by default.
12014         * desktop.el (desktop--save-windows): Put the selected frame at
12015         the head of the list.
12016         (desktop--make-full-frame): New function.
12017         (desktop--restore-windows): Try to re-select the frame that was
12018         selected upon saving.  Do not abort if some frames fail to restore,
12019         just show an error message and continue.  Set up maximized frames
12020         so they have default non-maximized dimensions.
12022 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
12024         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12025         Don't start heredoc inside a string or comment.
12027 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
12029         * bindings.el (visual-order-cursor-movement): New defcustom.
12030         (right-char, left-char): Provide visual-order cursor motion by
12031         calling move-point-visually.  Update the doc strings.
12033 2013-06-28  Kenichi Handa  <handa@gnu.org>
12035         * international/mule.el (define-coding-system): New coding system
12036         properties :inhibit-null-byte-detection,
12037         :inhibit-iso-escape-detection, and :prefer-utf-8.
12038         (set-buffer-file-coding-system): If :charset-list property of
12039         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12040         appropriate for setting.
12042         * international/mule-cmds.el (select-safe-coding-system):
12043         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12044         multibyte characters, return utf-8 (or one of its siblings).
12046         * international/mule-conf.el (prefer-utf-8): New coding system.
12047         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12048         files.
12050 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
12052         * net/shr.el (shr-render-region): New function.
12054         * net/eww.el: Autoload `eww-browse-url'.
12056 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
12058         * emacs-lisp/package-x.el (package-upload-buffer-internal):
12059         Adapt to `package-desc-version' being a list.
12060         Use `package--ac-desc-version' to retrieve version from a package
12061         archive element.
12063 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
12065         New experimental feature to save&restore window and frame setup.
12066         * desktop.el (desktop-save-windows): New defcustom.
12067         (desktop--saved-states): New var.
12068         (desktop--excluded-frame-parameters): New defconst.
12069         (desktop--filter-frame-parms, desktop--find-frame-in-display)
12070         (desktop--restore-windows, desktop--save-windows): New functions.
12071         (desktop-save): Call `desktop--save-windows'.
12072         (desktop-read): Call `desktop--restore-windows'.
12074 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12076         * net/shr.el (add-face-text-property): Remove compat definition.
12078 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
12080         * info.el (Info-try-follow-nearest-node): Move search for footnote
12081         above search for node name to prevent missing a footnote (bug#14717).
12083 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
12085         * obsolete/otodo-mode.el: Add obsolescence info to file header.
12087 2013-06-27  Leo Liu  <sdl.web@gmail.com>
12089         * net/eww.el (eww-read-bookmarks): Check file size.
12091 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12093         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12094         advice--pending if newdef is nil or an autoload (bug#13820).
12095         (advice-mapc): New function.
12097 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12099         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12100         probably.
12101         (eww-mode-map): Add a menu bar.
12102         (eww-add-bookmark): New command.
12103         (eww-bookmark-mode): New mode and commands.
12104         (eww-add-bookmark): Remove newlines from the title.
12105         (eww-bookmark-browse): Don't bug out if it's the only window.
12107 2013-06-26  Glenn Morris  <rgm@gnu.org>
12109         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12110         (hfy-size): Handle ttys.  (Bug#14668)
12112         * info-xref.el: Update for Texinfo 5 change in *note format.
12113         (info-xref-node-re, info-xref-note-re): New constants.
12114         (info-xref-check-buffer): Use info-xref-note-re.
12116 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12118         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12120         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12121         nil terminate the loop (bug#14718).
12123 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12125         * net/eww.el: Rework history traversal.  When going forward/back,
12126         put these actions into the history, too, so that they can be
12127         replayed.
12128         (eww-render): Move the history reset to the correct buffer.
12130 2013-06-25  Juri Linkov  <juri@jurta.org>
12132         * files-x.el (modify-dir-local-variable): Change the header comment
12133         in the file with directory local variables.  (Bug#14692)
12135         * files-x.el (read-file-local-variable-value): Add `default'.
12136         (Bug#14710)
12138 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12140         * net/eww.el (eww-make-unique-file-name): Create a unique file
12141         name before saving to entering `y' accidentally asynchronously.
12143 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
12145         * net/eww.el (eww-download): New command and keystroke.
12147 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12149         * net/eww.el (eww-copy-page-url): Change name of command.
12151         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12152         be more consistent with Info and dired.
12154         * net/eww.el (eww-mode-map): Ditto.
12156 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12158         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
12159         packages from archives.
12160         (package-archive-contents): Change format; include obsolete packages.
12161         (package-desc): Use `dir' to mark builtin packages.
12162         (package--from-builtin): Set the `dir' field to `builtin'.
12163         (generated-autoload-file, version-control): Declare.
12164         (package-compute-transaction): Change first arg and return value to be
12165         lists of package-descs.  Adjust to new package-archive-contents format.
12166         (package--add-to-archive-contents): Adjust to new
12167         package-archive-contents format.
12168         (package-download-transaction): Arg is now a list of package-descs.
12169         (package-install): If `pkg' is a package name, pass it as
12170         a requirement, so it is subject to the usual (e.g. disabled) checks.
12171         (describe-package): Accept package-desc as well.
12172         (describe-package-1): Describe a specific package-desc.  Add links to
12173         other package-descs for the same package name.
12174         (package-menu-describe-package): Pass the actual package-desc.
12175         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12176         works correctly.
12177         (package-desc-status): New function.
12178         (package-menu--refresh): New function, extracted
12179         from package-menu--generate.
12180         (package-menu--generate): Use it.
12181         (package-delete): Update package-alist.
12182         (package-menu-execute): Don't call package-initialize.
12184         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12185         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12186         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12187         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12188         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12189         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12191 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
12193         * window.el (window--state-get-1): Workaround for bug#14527.
12194         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12196 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12198         * net/eww.el (eww-back-url): Implement the history by stashing all
12199         the data into a list.
12200         (eww-forward-url): Allow going forward in the history, too.
12202 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12204         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12205         for values and use read--expression for expressions (bug#14710).
12206         (read-file-local-variable): Avoid setq.
12207         (read-file-local-variable-mode): Use minor-mode-list.
12209 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12211         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12212         for DOI URLs.
12214 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12216         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12217         Update imenu-support when dialect changes.
12219 2013-06-25  Leo Liu  <sdl.web@gmail.com>
12221         * ido.el (ido-read-internal): Allow forward slash on windows.
12223 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12225         * net/eww.el (eww): Start of strings is \\`, not ^.
12227 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
12229         * net/shr.el (shr-browse-url): Fix interactive spec.
12231         * net/eww.el (eww): Add a trailing slash to domain names.
12233 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
12235         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12237 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12239         * net/shr.el (shr-browse-url): Use an external browser if given a
12240         prefix.
12242         * net/eww.el (eww-external-browser): Move to shr.
12244 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
12246         * net/eww.el (eww): Work more correctly for file: URLs.
12247         (eww-detect-charset): Allow quoted charsets.
12248         (eww-yank-page-url): New command and keystroke.
12250 2013-06-24  Daiki Ueno  <ueno@gnu.org>
12252         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12253         file name of gpg executable.
12254         (epg-context-program): New function.
12255         (epg-context-home-directory): New function.
12256         (epg-context-set-program): New function.
12257         (epg-context-set-home-directory): New function.
12258         (epg--start): Use `epg-context-program' instead of
12259         'epg-gpg-program'.
12260         (epg--list-keys-1): Likewise.
12262 2013-06-24  Leo Liu  <sdl.web@gmail.com>
12264         * ido.el (ido-read-internal): Fix bug#14620.
12266 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
12268         * faces.el (face-documentation): Simplify.
12269         (read-face-attribute, tty-find-type, x-resolve-font-name):
12270         Use `string-match-p'.
12271         (list-faces-display): Use `string-match-p'.  Simplify.
12272         (face-spec-recalc): Check face to avoid face alias loops.
12273         (read-color): Use `string-match-p' and non-capturing parenthesis.
12275 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12277         * net/shr.el (shr-rescale-image): Use the new
12278         :max-width/:max-height functionality.
12280 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
12282         * net/eww.el (eww-search-prefix): New variable.
12283         (eww): Use it.
12284         (eww-external-browser): New variable.
12285         (eww-mode-map): New keystroke.
12286         (eww-browse-with-external-browser): New command.
12288         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12290 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
12292         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12293         Don't skip aligning the next header field when padding is 0;
12294         otherwise, field width is not respected unless the title is as
12295         wide as the field.
12297 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12299         * emacs-lisp/package.el (package-el-version): Remove.
12300         (package-process-define-package): Fix inf-loop.
12301         (package-install): Allow symbols as arguments again.
12303 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
12305         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12306         add some more keyword-like methods.
12307         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12309 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
12311         * bs.el (bs-buffer-show-mark): Make defvar-local.
12312         (bs-mode): Use setq-local.
12314         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12315         (emacs-lock--try-unlocking): Make defvar-local.
12317 2013-06-22  Glenn Morris  <rgm@gnu.org>
12319         * play/cookie1.el (cookie-apropos): Minor simplification.
12321         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12323 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
12325         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12326         `regexp-opt', it breaks the build during dumping.
12328 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
12330         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12331         Highlight keyword-like methods on Kernel and Module with
12332         font-lock-builtin-face.
12333         (auto-mode-alist): Consolidate different entries into one regexp
12334         and add more *file-s.
12336 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
12338         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12340         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12341         (diary-entry): Use it in the action of this button type instead of
12342         diary-goto-entry.
12344         * calendar/todo-mode.el: New version.
12345         (todo-add-category): Append new category to end of file and give
12346         it the highest number, instead of putting it at the beginning and
12347         giving it 0.  Incorporate noninteractive functionality.
12348         (todo-forward-category): Adapt to 1-based category numbering.
12349         Allow skipping over archived categories.
12350         (todo-backward-category): Derive from todo-forward-category.
12351         (todo-backward-item, todo-forward-item): Make noninteractive and
12352         delegate interactive part to new commands.  Make sensitive to done items.
12353         (todo-categories): Make value an alist of category names and
12354         vectors of item counts.
12355         (todo-category-beg): Make a defconst.
12356         (todo-category-number): Use 1 instead of 0 as initial value.
12357         (todo-category-select): Make sensitive to overlays, optional item
12358         highlighting and done items.
12359         (todo-delete-item): Make sensitive to overlays and marked and done items.
12360         (todo-edit-item): Make sensitive to overlays and editing of
12361         date/time header optional.  Add format checks.
12362         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
12363         no-op if point is not on an item.  Advertise using todo-edit-quit.
12364         (todo-edit-mode): Make sensitive to new format, font-locking, and
12365         multiple todo files.
12366         (todo-insert-item, todo-insert-item-here): Derive from
12367         todo-basic-insert-item and extend functionality.
12368         (todo-item-end, todo-item-start): Make sensitive to done items.
12369         (todo-item-string): Don't return text properties.  Restore point.
12370         (todo-jump-to-category): Make sensitive to multiple todo files and
12371         todo archives.  Use extended category completion.
12372         (todo-lower-item, todo-raise-item): Rename to *-priority and
12373         derive from todo-set-item-priority.
12374         (todo-mode): Derive from special-mode.  Make sensitive to new
12375         format, font-locking and multiple todo files.  Make read-only.
12376         (todo-mode-map): Don't suppress digit keys, so they can supply
12377         prefix arguments.  Add many new key bindings.
12378         (todo-prefix): Insert as an overlay instead of file text.
12379         Change semantics from diary date expression to purely visual mark.
12380         (todo-print): Rename to todo-print-buffer.  Make buffer display
12381         features printable.  Remove option to restrict number of items
12382         printed.  Add option to print to file.
12383         (todo-print-function): Rename to todo-print-buffer-function.
12384         (todo-quit): Extend to handle exiting new todo modes.
12385         (todo-remove-item): Make sensitive to overlays.
12386         (todo-save): Extend to buffers of filtered items.
12387         (todo-show): Make sensitive to done items, multiple todo files and
12388         new todo modes.  Offer to convert legacy todo file before creating
12389         first new todo file.
12390         (todo-show-priorities): Rename to todo-top-priorities.
12391         Change semantics of value 0.
12392         (todo-top-priorities): Rename to todo-filter-top-priorities,
12393         derive from todo-filter-items and extend functionality.
12394         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12395         and extend functionality to other types of filtered items.
12396         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12397         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12398         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12399         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12400         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12401         (todo-edit-mode-hook, todo-entry-prefix-function)
12402         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12403         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12404         (todo-initials, todo-insert-threshold, todo-item-string-start)
12405         (todo-line-string, todo-menu, todo-mode-hook)
12406         (todo-more-important-p, todo-previous-answer, todo-previous-line)
12407         (todo-print-priorities, todo-remove-separator)
12408         (todo-save-top-priorities-too, todo-string-count-lines)
12409         (todo-string-multiline-p, todo-time-string-format)
12410         (todo-tmp-buffer-name): Remove.
12411         (todo-add-file, todo-archive-done-item, todo-choose-archive)
12412         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12413         (todo-edit-category-diary-inclusion)
12414         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12415         (todo-edit-file, todo-edit-item-date-day)
12416         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12417         (todo-edit-item-date-month, todo-edit-item-date-to-today)
12418         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12419         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12420         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12421         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12422         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12423         (todo-filter-top-priorities-multifile, todo-find-archive)
12424         (todo-find-filtered-items-file, todo-go-to-source-item)
12425         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12426         (todo-jump-to-archive-category, todo-lower-category)
12427         (todo-mark-category, todo-marked-item-p, todo-merge-category)
12428         (todo-move-category, todo-move-item, todo-next-button)
12429         (todo-next-item, todo-padded-string, todo-powerset)
12430         (todo-previous-button, todo-previous-item)
12431         (todo-print-buffer-to-file, todo-raise-category)
12432         (todo-rename-category, todo-repair-categories-sexp, todo-search)
12433         (todo-set-category-number, todo-set-item-priority)
12434         (todo-set-top-priorities-in-category)
12435         (todo-set-top-priorities-in-file, todo-show-categories-table)
12436         (todo-sort-categories-alphabetically-or-numerically)
12437         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12438         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12439         (todo-toggle-item-header, todo-toggle-item-highlighting)
12440         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12441         (todo-toggle-view-done-items, todo-toggle-view-done-only)
12442         (todo-unarchive-items, todo-unmark-category): New commands.
12443         (todo-absolute-file-name, todo-add-to-buffer-list)
12444         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12445         (todo-basic-insert-item, todo-category-completions)
12446         (todo-category-number, todo-category-string-matcher-1)
12447         (todo-category-string-matcher-2, todo-check-filtered-items-file)
12448         (todo-check-format, todo-clear-matches)
12449         (todo-comment-string-matcher, todo-convert-legacy-date-time)
12450         (todo-current-category, todo-date-string-matcher)
12451         (todo-define-insertion-command, todo-diary-expired-matcher)
12452         (todo-diary-goto-entry, todo-diary-item-p)
12453         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12454         (todo-display-categories, todo-display-sorted, todo-done-item-p)
12455         (todo-done-item-section-p, todo-done-separator)
12456         (todo-done-string-matcher, todo-files, todo-filter-items)
12457         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12458         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12459         (todo-insert-category-line, todo-insert-item-from-calendar)
12460         (todo-insert-sort-button, todo-insert-with-overlays)
12461         (todo-insertion-command-name, todo-insertion-key-bindings)
12462         (todo-label-to-key, todo-longest-category-name-length)
12463         (todo-make-categories-list, todo-mode-external-set)
12464         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12465         (todo-modes-set-3, todo-multiple-filter-files)
12466         (todo-nondiary-marker-matcher, todo-prefix-overlays)
12467         (todo-read-category, todo-read-date, todo-read-dayname)
12468         (todo-read-file-name, todo-read-time)
12469         (todo-reevaluate-category-completions-files-defcustom)
12470         (todo-reevaluate-default-file-defcustom)
12471         (todo-reevaluate-filelist-defcustoms)
12472         (todo-reevaluate-filter-files-defcustom)
12473         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12474         (todo-reset-done-separator, todo-reset-done-separator-string)
12475         (todo-reset-done-string, todo-reset-global-current-todo-file)
12476         (todo-reset-highlight-item, todo-reset-nondiary-marker)
12477         (todo-reset-prefix, todo-set-categories)
12478         (todo-set-date-from-calendar, todo-set-show-current-file)
12479         (todo-set-top-priorities, todo-short-file-name)
12480         (todo-show-current-file, todo-sort, todo-time-string-matcher)
12481         (todo-total-item-counts, todo-update-buffer-list)
12482         (todo-update-categories-display, todo-update-categories-sexp)
12483         (todo-update-count, todo-validate-name, todo-y-or-n-p):
12484         New functions.
12485         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12486         New major modes.
12487         (todo-categories, todo-display, todo-edit, todo-faces)
12488         (todo-filtered): New defgroups.
12489         (todo-archived-only, todo-button, todo-category-string, todo-date)
12490         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12491         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12492         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12493         (todo-add-item-if-new-category, todo-always-add-time-string)
12494         (todo-categories-align, todo-categories-archived-label)
12495         (todo-categories-category-label, todo-categories-diary-label)
12496         (todo-categories-done-label, todo-categories-number-separator)
12497         (todo-categories-todo-label, todo-categories-totals-label)
12498         (todo-category-completions-files, todo-completion-ignore-case)
12499         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12500         (todo-done-separator-string, todo-done-string)
12501         (todo-files-function, todo-filter-done-items, todo-filter-files)
12502         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12503         (todo-initial-category, todo-initial-file, todo-item-mark)
12504         (todo-legacy-date-time-regexp, todo-mode-line-function)
12505         (todo-nondiary-marker, todo-number-prefix)
12506         (todo-print-buffer-function, todo-show-current-file)
12507         (todo-show-done-only, todo-show-first, todo-show-with-done)
12508         (todo-skip-archived-categories, todo-top-priorities-overrides)
12509         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12510         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12511         New defcustoms.
12512         (todo-category-done, todo-date-pattern, todo-date-string-start)
12513         (todo-diary-items-buffer, todo-done-string-start)
12514         (todo-filtered-items-buffer, todo-item-start)
12515         (todo-month-abbrev-array, todo-month-name-array)
12516         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12517         (todo-top-priorities-buffer): New defconsts.
12518         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12519         (todo-categories-with-marks, todo-category-string-face)
12520         (todo-comment-face, todo-comment-string, todo-current-todo-file)
12521         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12522         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12523         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12524         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12525         (todo-font-lock-keywords, todo-global-current-todo-file)
12526         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12527         (todo-insertion-commands-args)
12528         (todo-insertion-commands-args-genlist)
12529         (todo-insertion-commands-names, todo-insertion-map)
12530         (todo-key-bindings-t, todo-key-bindings-t+a)
12531         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12532         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12533         (todo-nondiary-face, todo-print-buffer, todo-time-face)
12534         (todo-visited): New variables.
12536 2013-06-21  Glenn Morris  <rgm@gnu.org>
12538         * play/cookie1.el (cookie-apropos): Add optional display argument.
12539         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12540         (psychoanalyze-pinhead): Use cookie-doctor.
12542 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
12544         * emacs-lisp/package.el (tar-get-file-descriptor)
12545         (tar--extract): Declare.
12547 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
12549         Extend flymake's warning predicate to be a function (bug#14217).
12550         * progmodes/flymake.el (flymake-warning-predicate): New.
12551         (flymake-parse-line): Use it.
12552         (flymake-warning-re): Make obsolete alias to
12553         `flymake-warning-predicate'.
12555 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12557         * emacs-lisp/package.el (package-alist): Include obsolete packages.
12558         (package-obsolete-list): Remove.
12559         (package-activate): Remove min-version argument.  Add `force' argument.
12560         Adjust to new package-alist format.
12561         (package-mark-obsolete): Remove.
12562         (package-unpack): Force reload of the package's autoloads.
12563         (package-installed-p): Check builtins if the installed package is not
12564         recent enough.
12565         (package-initialize): Don't reset package-obsolete-list.
12566         Don't specify which package version to activate.
12567         (package-process-define-package, describe-package-1)
12568         (package-menu--generate): Adjust to new package-alist format.
12570 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
12572         * allout-widgets.el (allout-widgets-mode-off)
12573         (allout-widgets-mode-on, allout-widgets-pre-command-business)
12574         (allout-widgets-post-command-business)
12575         (allout-widgets-after-copy-or-kill-function)
12576         (allout-widgets-after-undo-function, allout-test-range-overlaps)
12577         (allout-decorate-item-and-context)
12578         (allout-graphics-modification-handler): Fix typos in docstrings.
12579         (allout-get-or-create-parent-widget): Use `looking-at-p'.
12581         * cmuscheme.el (scheme-start-file): Doc fix.
12582         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12583         (scheme-input-filter): Use `string-match-p'.
12585         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12587         * dired-x.el: Use Dired consistently in docstrings.
12589         * dired.el: Use Dired consistently in docstrings.
12590         (dired-readin, dired-mode): Use `setq-local'.
12591         (dired-switches-alist): Make defvar-local.
12592         (dired-buffers-for-dir): Use `zerop'.
12593         (dired-safe-switches-p, dired-switches-escape-p)
12594         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12595         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12596         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12597         (dired-goto-next-nontrivial-file): Use `string-match-p'.
12598         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12599         (dired-toggle-marks, dired-mark-files-containing-regexp)
12600         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12601         (dired-flag-auto-save-files, dired-flag-backup-files):
12602         Use `looking-at-p'.
12603         (dired-mark-files-regexp, dired-build-subdir-alist):
12604         Use `string-match-p', `looking-at-p'.
12606         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12607         (direct-print-region-helper): Use `string-match-p'.
12609 2013-06-21  Leo Liu  <sdl.web@gmail.com>
12611         * comint.el (comint-redirect-results-list-from-process):
12612         Fix infinite loop.
12614 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12616         * net/eww.el (eww-update-header-line-format): Quote % characters.
12618 2013-06-21  Glenn Morris  <rgm@gnu.org>
12620         * play/cookie1.el (cookie): New custom group.
12621         (cookie-file): New option.
12622         (cookie-check-file): New function.
12623         (cookie): Make it interactive.  Make start and end messages optional.
12624         Interactively, display the result.  Default to cookie-file.
12625         (cookie-insert): Default to cookie-file.
12626         (cookie-snarf): Make start and end messages optional.
12627         Default to cookie-file.  Use with-temp-buffer.
12628         (cookie-read): Rename from read-cookie.
12629         Make start and end messages optional.  Default to cookie-file.
12630         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
12631         Do not autoload it.
12632         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12633         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12635 2013-06-21  Leo Liu  <sdl.web@gmail.com>
12637         * progmodes/octave.el (octave-mode): Backward compatibility fix.
12639 2013-06-21  Glenn Morris  <rgm@gnu.org>
12641         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12643 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12644             Daniel Hackney  <dan@haxney.org>
12646         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12647         Consolidate the single-file vs tarball code.
12648         (package-desc-suffix): New function.
12649         (package-desc-full-name): Don't bother inlining it.
12650         (package-load-descriptor): Return the new package-desc.
12651         (package-mark-obsolete): Remove unused arg `package'.
12652         (package-unpack): Make it work for single files as well.
12653         Make it update package-alist.
12654         (package--make-autoloads-and-stuff): Rename from
12655         package--make-autoloads-and-compile.  Don't compile any more.
12656         (package--compile): New function.
12657         (package-generate-description-file): New function, extracted from
12658         package-unpack-single.
12659         (package-unpack-single): Remove.
12660         (package--with-work-buffer): Add indentation and debugging info.
12661         (package-download-single): Remove.
12662         (package-install-from-archive): Rename from package-download-tar, make
12663         it take a pkg-desc, and make it work for single files as well.
12664         (package-download-transaction): Simplify.
12665         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
12666         external tar program.
12667         (package-install-from-buffer): Remove `pkg-desc' argument.
12668         Use package-tar-file-info for tar-mode buffers.
12669         (package-install-file): Simplify accordingly.
12670         (package-archive-base): Change to take a pkg-desc.
12671         * tar-mode.el (tar--check-descriptor): New function, extracted from
12672         tar-get-descriptor.
12673         (tar-get-descriptor): Use it.
12674         (tar-get-file-descriptor): New function.
12675         (tar--extract): New function, extracted from tar-extract.
12676         (tar--extract): Use it.
12677         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12678         case the summary uses non-ascii.  Adjust to new calling convention of
12679         package-tar-file-info.
12681 2013-06-21  Leo Liu  <sdl.web@gmail.com>
12683         * comint.el (comint-redirect-results-list-from-process):
12684         Fix random delay.  (Bug#14681)
12686 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
12688         * profiler.el (profiler-format-number): Use log, not log10.
12690 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
12692         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12694 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12696         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12697         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12698         yet available.
12699         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12700         (AUTOGENEL): ... here.
12701         * emacs-lisp/cl-macs.el (cl--sublis): New function.
12702         (cl--defsubst-expand): Use it.
12704 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
12706         * subr.el (log10): Move here from C code, and declare as obsolete.
12707         All uses of (log10 X) replaced with (log X 10).
12709 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
12711         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12712         Declare with `defvar-local'.
12713         (tabulated-list-use-header-line, tabulated-list-entries)
12714         (tabulated-list-padding, tabulated-list-printer)
12715         (tabulated-list-sort-key): Declare with `defvar-local'.
12716         (tabulated-list-init-header, tabulated-list-print-fake-header):
12717         Use `setq-local'.
12719 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
12721         * arc-mode.el (archive-mode): Add `archive-write-file' to
12722         `write-contents-functions' also for remote files.  (Bug#14652)
12724 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
12726         * cus-edit.el (custom-commands): Fix typos.
12727         (custom-display): Fix tooltip text.
12728         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12729         Fix typos in docstrings.
12730         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12731         (custom-unlispify-menu-entry, custom-magic-value-create)
12732         (custom-add-see-also, custom-group-value-create): Use ?\s.
12733         (custom-guess-type, customize-apropos, editable-field)
12734         (custom-face-value-create): Use `string-match-p'.
12735         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12737         * custom.el (custom-load-symbol): Use `string-match-p'.
12739         * ansi-color.el: Convert to lexical binding.
12740         (ansi-colors): Fix URL.
12741         (ansi-color-context, ansi-color-context-region): Use defvar-local.
12742         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12743         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12745 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12747         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12749         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12751 2013-06-19  Tom Tromey  <tromey@redhat.com>
12753         * net/eww.el (eww-top-url): Remove.
12754         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12755         (eww-render): Set new variables.  Don't set eww-top-url.
12756         (eww-handle-link): Handle "prev", "home", and "contents".
12757         Downcase the rel text.
12758         (eww-top-url): Choose best top URL.
12760 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12762         * net/eww.el: Rewrite to implement form elements "by hand" instead of
12763         relying in widget.el.  Using widget.el leads to too many
12764         user interface inconsistencies.
12765         (eww-self-insert): Implement entering commands in text fields.
12766         (eww-process-text-input): New function to make text input field editing
12767         work.
12768         (eww-submit): Rewrite to use the new-style form methods.
12769         (eww-select-display): Display the correct selected item.
12770         (eww-change-select): Implement changing the select value.
12771         (eww-toggle-checkbox): Implement radio/checkboxes.
12772         (eww-update-field): Fix compilation error.
12773         (eww-tag-textarea): Implement <textarea>.
12775         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12776         we don't shadow mode-specific bindings.
12778         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12779         nothing to push.
12781         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12783 2013-06-19  Glenn Morris  <rgm@gnu.org>
12785         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12787 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
12789         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12790         not needed.
12792         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12794 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12796         * net/browse-url.el (browse-url-browser-function):
12797         `eww-browse-url' has the right calling signature, `eww' does not.
12799 2013-06-19  Glenn Morris  <rgm@gnu.org>
12801         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12802         Only eval autoloaded macros.
12803         (byte-compile-autoload): Only give the macro warning for macros.
12805         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12806         (ps-underlined-faces): Declare.
12808         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12809         (speedbar-add-supported-extension): Declare.
12811         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12812         Don't include a date stamp in the header of the generated file;
12813         it leads to needless differences between output files.
12815 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
12817         * net/secrets.el (secrets-struct-secret-content-type):
12818         Replace check of introspection data by a test call of "CreateItem".
12819         Some servers do not offer introspection.
12821 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12823         * electric.el (electric-pair-mode): Improve interaction with
12824         electric-layout-mode.
12825         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12826         (electric-pair-syntax): Use text-mode-syntax-table in comments
12827         and strings.
12828         (electric-pair--insert): New function.
12829         (electric-pair-post-self-insert-function): Use it and
12830         electric--after-char-pos.
12832 2013-06-19  Leo Liu  <sdl.web@gmail.com>
12834         * progmodes/octave.el (octave-help): Fix regexp.
12836 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12838         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12839         (shr-table-horizontal-line): Allow nil as a value, and change the
12840         default.
12841         (shr-insert-table-ruler): Respect the nil value.
12843 2013-06-18  Tom Tromey  <tromey@barimba>
12845         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12846         New defvars.
12847         (eww-open-file): New defun.
12848         (eww-render): Initialize new variables.
12849         (eww-display-html): Handle "link" and "a".
12850         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12851         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
12852         (eww-back-url): Rename from eww-previous-url.
12853         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12854         New defuns.
12856 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
12858         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12859         Distinguish ternary operator tokens from slash symbol and slash
12860         char literal.
12862 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
12864         Convert symbol prettification into minor mode and global minor mode.
12866         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12867         `prog-prettify-symbols', and make a local defvar instead of defcustom.
12868         (prettify-symbols--keywords): Rename from
12869         `prog-prettify-symbols-alist' and make a local defvar.
12870         (prettify-symbols--compose-symbol): Rename from
12871         `prog--prettify-font-lock-compose-symbol'.
12872         (prettify-symbols--make-keywords): Rename from
12873         `prog-prettify-font-lock-symbols-keywords' and simplify.
12874         (prog-prettify-install): Remove.
12875         (prettify-symbols-mode): New minor mode, based on
12876         `prog-prettify-install'.
12877         (turn-on-prettify-symbols-mode): New function.
12878         (global-prettify-symbols-mode): New globalized minor mode.
12880         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12881         * progmodes/cfengine.el (cfengine3-mode):
12882         * progmodes/perl-mode.el (perl-mode): Don't call
12883         `prog-prettify-install'; set `prettify-symbols-alist' instead.
12885 2013-06-18  Juri Linkov  <juri@jurta.org>
12887         * files-x.el (modify-file-local-variable-message): New function.
12888         (modify-file-local-variable)
12889         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12890         and call `modify-file-local-variable-message' when it's non-nil.
12891         (add-file-local-variable, delete-file-local-variable)
12892         (add-file-local-variable-prop-line)
12893         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12894         and use it.  (Bug#9820)
12896 2013-06-18  Juri Linkov  <juri@jurta.org>
12898         * emulation/vi.el (vi-shell-op):
12899         * emulation/vip.el (vip-execute-com, ex-command):
12900         * emulation/viper-cmd.el (viper-exec-bang):
12901         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12902         the call of `shell-command-on-region'.  (Bug#14637)
12904         * simple.el (shell-command-on-region): Doc fix.
12906 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12908         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12909         (bug#14633).
12911 2013-06-18  Glenn Morris  <rgm@gnu.org>
12913         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12915         * newcomment.el (comment-search-forward, comment-search-backward):
12916         Doc fix.  (Bug#14376)
12918 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
12920         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12921         (buffer-face-mode-invoke): Doc fix.
12923 2013-06-18  Matthias Meulien  <orontee@gmail.com>
12925         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12926         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12928 2013-06-18  Glenn Morris  <rgm@gnu.org>
12930         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12931         Replace obsolete function generic-make-keywords with its expansion.
12933         * progmodes/python.el (ffap-alist): Declare.
12935         * textmodes/reftex.el (bibtex-mode-map): Declare.
12937 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12939         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12940         (package-unpack, package-unpack-single): Return the pkg-dir.
12941         (package-download-transaction): Use it to update package-alist.
12943 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12945         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12946         possible choice.
12948 2013-06-17  Juri Linkov  <juri@jurta.org>
12950         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12952 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
12954         * emacs-lisp/package.el (package-load-descriptor):
12955         Remove `with-syntax-table' call, `read' doesn't need it.
12956         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12958 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
12960         * startup.el (command-line): Expand package name returned by
12961         `package--description-file' (bug#14639).
12963 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
12965         * emacs-lisp/package.el (package-load-descriptor): Do not call
12966         `emacs-lisp-mode', just use its syntax table.
12968 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
12970         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12971         `font-lock-extra-managed-props' if any prettifying keyword is added.
12972         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12973         (prog-mode): Use `setq-local'.
12975 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12977         * international/characters.el (standard-case-table): Set syntax of ?»
12978         and ?« to punctuation.
12980 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
12982         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12983         Save relevant match data before calling `syntax-ppss' (bug#14595).
12985 2013-06-15  Juri Linkov  <juri@jurta.org>
12987         * files-x.el (modify-file-local-variable-prop-line): Add local
12988         variables to the end of the existing comment on the first line.
12989         Use `file-auto-mode-skip' to skip interpreter magic line,
12990         and also skip XML declaration.
12992 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12994         * startup.el (package--builtin-versions): New var.
12995         (package-subdirectory-regexp): Remove.
12996         (package--description-file): Hard code its value instead.
12998         * emacs-lisp/package.el: Don't activate packages older than builtin.
12999         (package-obsolete-list): Rename from package-obsolete-alist, and make
13000         it into a simple list of package-desc.
13001         (package-strip-version): Remove.
13002         (package-built-in-p): Use package--builtin-versions.
13003         (package-mark-obsolete): Simplify.
13004         (package-process-define-package): Mark it obsolete if older than the
13005         builtin version.
13006         (package-handle-response): Use line-end-position.
13007         (package-read-archive-contents, package--download-one-archive):
13008         Simplify.
13009         (package--add-to-archive-contents): Skip if older than the builtin or
13010         installed version.
13011         (package-menu-describe-package): Fix last change.
13012         (package-list-unversioned): New var.
13013         (package-menu--generate): Use it.
13015         * emacs-lisp/autoload.el: Manage package--builtin-versions.
13016         (autoload--insert-text, autoload--insert-cookie-text): New functions.
13017         (autoload-builtin-package-versions): New variable.
13018         (autoload-generate-file-autoloads): Use them.
13019         Remove the list of autoloaded functions/macros from the
13020         (autoload...) comments.
13022         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13024 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
13026         * simple.el (line-move-partial): Don't jump to the next screen
13027         line as soon as it becomes visible.  Instead, continue enlarging
13028         the vscroll until the portion of a tall screen line that's left on
13029         display is about the height of the frame's default font.
13030         (Bug#14567)
13032 2013-06-15  Glenn Morris  <rgm@gnu.org>
13034         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13035         compilation-error-regexp-alist void, or local while let-bound.
13037         * progmodes/make-mode.el (makefile-mode-syntax-table):
13038         Treat "=" as punctuation.  (Bug#14614)
13040 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
13042         * help-fns.el (describe-variable):
13043         Add extra line for permanent-local variables.
13045 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
13047         * progmodes/scheme.el (scheme-font-lock-keywords-2):
13048         Add export, import, library.  (Bug#9164)
13049         (library): Set indent function.
13051 2013-06-14  Glenn Morris  <rgm@gnu.org>
13053         * term/xterm.el (xterm--query):
13054         Stop after first matching handler.  (Bug#14615)
13056 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
13058         Add support for dired in saveplace.
13059         * dired.el (dired-initial-position-hook): New variable.
13060         (dired-initial-position): Call hook to place cursor position.
13061         * saveplace.el (save-place-to-alist): Add dired position.
13062         (save-place-dired-hook): New function.
13064 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13066         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13067         through a symbol rather than letrec.
13069         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
13070         (package-desc): Add `dir' field.
13071         (package-desc-full-name): New function.
13072         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
13073         (package-maybe-load-descriptor): Remove.
13074         (package-load-all-descriptors): Just call package-load-descriptor.
13075         (package--disabled-p): New function.
13076         (package-desc-vers, package-desc-doc): Remove aliases.
13077         (package--dir): Remove function.
13078         (package-activate): Check if a package is disabled.
13079         (package-process-define-package): New function, extracted from
13080         define-package.
13081         (define-package): Turn into a place holder.
13082         (package-unpack-single, package-tar-file-info):
13083         Use package--description-file.
13084         (package-compute-transaction): Use package--disabled-p.
13085         (package-download-transaction): Don't call
13086         package-maybe-load-descriptor since they're all loaded anyway.
13087         (package-install): Change argument to be a pkg-desc.
13088         (package-delete): Use a single pkg-desc argument.
13089         (describe-package-1): Use package-desc-dir instead of package--dir.
13090         Use package-desc property instead of package-symbol.
13091         (package-install-button-action): Adjust accordingly.
13092         (package--push): Rewrite.
13093         (package-menu--print-info): Adjust accordingly.  Change the ID format
13094         to be a pkg-desc.
13095         (package-menu-describe-package, package-menu-get-status)
13096         (package-menu--find-upgrades, package-menu-mark-upgrades)
13097         (package-menu-execute, package-menu--name-predicate):
13098         Adjust accordingly.
13099         * startup.el (package--description-file): New function.
13100         (command-line): Use it.
13101         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13102         Use package-desc-version.
13104         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13105         (byte-compile-preprocess): Use it.
13106         (byte-compile-file-form-defalias): Try a bit harder to use macros we
13107         can't quite recognize.
13108         (byte-compile-add-to-list): Remove.
13109         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13110         (cconv-closure-convert): Add assertion.
13112         * emacs-lisp/map-ynp.el: Use lexical-binding.
13113         (map-y-or-n-p): Remove unused vars `tail' and `object'.
13114         Factor out some repeated code.
13116 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13118         * subr.el (with-eval-after-load): New macro.
13119         (eval-after-load): Allow form to be a function.
13120         take advantage of lexical-binding.
13121         (do-after-load-evaluation): Use dolist and adjust to new format.
13122         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13124 2013-06-13  Juri Linkov  <juri@jurta.org>
13126         * replace.el (perform-replace): Display "symbol " and other search
13127         modes from `isearch-message-prefix' in the *Help* buffer.
13129         * isearch.el (isearch-query-replace): Add " symbol" and other
13130         possible search modes from `isearch-message-prefix' to the prompt.
13131         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13132         when reading a regexp to collect.
13134 2013-06-13  Juri Linkov  <juri@jurta.org>
13136         * isearch.el (word-search-regexp): Match whitespace if the search
13137         string begins or ends in whitespace.  The LAX arg is applied to
13138         both ends of the search string.  Use `regexp-quote' and explicit
13139         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
13140         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13141         boundaries are replaced with symbol boundaries, and characters
13142         between symbols match non-word non-symbol syntax.  (Bug#14602)
13144 2013-06-13  Juri Linkov  <juri@jurta.org>
13146         * isearch.el (isearch-del-char): Don't exceed the length of
13147         `isearch-string' by the prefix arg.  (Bug#14563)
13149 2013-06-13  Juri Linkov  <juri@jurta.org>
13151         * isearch.el (isearch-yank-word, isearch-yank-line)
13152         (isearch-char-by-name, isearch-quote-char)
13153         (isearch-printing-char, isearch-process-search-char):
13154         Add optional count prefix arg.  (Bug#14563)
13156         * international/isearch-x.el
13157         (isearch-process-search-multibyte-characters):
13158         Add optional count prefix arg.
13160 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13162         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13163         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13164         lexical-binding.
13166 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
13168         * subr.el (set-temporary-overlay-map): Add on-exit argument.
13170 2013-06-13  Glenn Morris  <rgm@gnu.org>
13172         * startup.el (tty-handle-args):
13173         Don't just discard "--" and anything after.  (Bug#14608)
13175         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13177 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
13179         Implement changes in Secret Service API.  Make it backward compatible.
13180         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13181         (secrets-create-item): Use it.  Prefix properties with interface.
13183 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
13185         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
13186         (term-emulate-terminal): Respect term-suppress-hard-newline.
13188 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
13190         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13191         Only remove a `thumb-file' overlay.  (Bug#14548)
13193 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
13195         * mail/reporter.el (reporter-submit-bug-report):
13196         Handle missing package-name.  (Bug#14600)
13198 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13200         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13201         (reftex-citation-prompt, reftex-default-bibliography)
13202         (reftex-bib-or-thebib, reftex-get-bibfile-list)
13203         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13204         (reftex-bib-sort-author, reftex-bib-sort-year)
13205         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13206         (reftex-extract-bib-entries-from-thebibliography)
13207         (reftex-get-bibkey-default, reftex-get-bib-names)
13208         (reftex-parse-bibtex-entry, reftex-get-bib-field)
13209         (reftex-format-bib-entry, reftex-parse-bibitem)
13210         (reftex-format-bibitem, reftex-do-citation)
13211         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13212         (reftex-restrict-bib-matches, reftex-extract-bib-file)
13213         (reftex-insert-bib-matches, reftex-format-citation)
13214         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13215         (reftex-create-bibtex-file): Add docstrings, mostly by converting
13216         existing comments into docstrings.
13218 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
13220         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13222 2013-06-12  Andreas Schwab  <schwab@suse.de>
13224         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13225         for auto-save files.
13227 2013-06-12  Glenn Morris  <rgm@gnu.org>
13229         * ido.el (ido-delete-ignored-files): Remove.
13230         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13231         Go back to calling ido-ignore-item-p directly.
13233 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
13235         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13237         * ido.el (ido-delete-ignored-files): New function,
13238         split from ido-make-file-list-1.
13239         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
13240         (ido-make-file-list-1): Use ido-delete-ignored-files.
13242 2013-06-12  Leo Liu  <sdl.web@gmail.com>
13244         * progmodes/octave.el (inferior-octave-startup)
13245         (inferior-octave-completion-table)
13246         (inferior-octave-track-window-width-change)
13247         (octave-eldoc-function-signatures, octave-help)
13248         (octave-find-definition): Use single quoted strings.
13249         (inferior-octave-startup-args): Change default value.
13250         (inferior-octave-startup): Do not hard code "-i" and
13251         "--no-line-editing".
13252         (inferior-octave-resync-dirs): Add optional arg NOERROR.
13253         (inferior-octave-directory-tracker): Use it.
13254         (octave-goto-function-definition): Robustify.
13255         (octave-help): Support highlighting operators in 'See also'.
13256         (octave-find-definition): Find subfunctions only in Octave mode.
13258 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13260         * help-fns.el (help-fns--compiler-macro): If the handler function is
13261         named, then put a link to it.
13262         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13263         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13264         (cl-typep): Use it.
13265         (cl-eval-when): Simplify debug spec.
13266         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
13267         compiler-macro function instead of setting `compiler-macro-file'.
13269 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
13271         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13272         * vc/vc-hooks.el (vc-stay-local): Doc fix.
13274 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13275             Daniel Hackney  <dan@haxney.org>
13277         First part of Daniel Hackney's patch to package.el.
13278         * emacs-lisp/package.el: Use defstruct.
13279         (package-desc): New, main struct.
13280         (package--bi-desc, package--ac-desc): New structs, used to describe the
13281         format in external files.
13282         (package-desc-vers): Replace with package-desc-version accessor.
13283         (package-desc-doc): Replace with package-desc-summary accessor.
13284         (package-activate-1): Remove `package' arg since the pkg-vec now
13285         includes the name.
13286         (define-package): Use package-desc-from-define.
13287         (package-unpack-single): Change file-name arg to be a symbol.
13288         (package--add-to-archive-contents): Use package-desc-create and new
13289         accessor functions to package--ac-desc.
13290         (package-buffer-info, package-tar-file-info): Return a package-desc.
13291         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
13292         arg to be a package-desc.
13293         (package-install-file): Adjust accordingly.  Use \' to match EOS.
13294         (package--from-builtin): New function.
13295         (describe-package-1, package-menu--generate): Use it.
13296         (package--make-autoloads-and-compile): Change name arg to be a symbol.
13297         (package-generate-autoloads): Idem and return the name of the file.
13298         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13299         Change pkg-info arg to be a package-desc.
13300         Use package-make-ac-desc.
13301         (package-upload-file): Use \' to match EOS.
13302         * finder.el (finder-compile-keywords): Use package-make-builtin.
13304 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13306         * vc/vc.el (vc-deduce-fileset): Change error message.
13307         (vc-read-backend): New function.
13308         (vc-next-action): Use it.
13310         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13312         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13313         (prolog-font-lock-keywords): Use regexp-opt instead.
13314         Don't manually highlight strings.
13315         (prolog-mode-variables): Simplify comment-start-skip.
13316         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
13318         * emacs-lisp/generic.el (generic--normalise-comments)
13319         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13320         (generic-mode-set-comments): Use them.
13321         (generic-bracket-support): Use setq-local.
13322         (generic-make-keywords-list): Declare obsolete.
13324 2013-06-11  Glenn Morris  <rgm@gnu.org>
13326         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13327         Prettify after setting font-lock-defaults.  (Bug#14574)
13329 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
13331         * replace.el (query-replace, occur-read-regexp-defaults-function)
13332         (replace-search):
13333         * subr.el (declare-function, number-sequence, local-set-key)
13334         (substitute-key-definition, locate-user-emacs-file)
13335         (with-silent-modifications, split-string, eval-after-load):
13336         Fix typos, remove unneeded backslashes and reflow some docstrings.
13338 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13340         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13341         default for Elisp files.
13343 2013-06-11  Glenn Morris  <rgm@gnu.org>
13345         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13346         although define-derived-mode was doing this anyway.  (Bug#14583)
13348 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
13350         * allout.el (allout-encryption-plaintext-sanitization-regexps):
13351         Fix make-variable-buffer-local call to refer to the correct variable.
13353 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
13355         * eshell/em-term.el (eshell-visual-commands)
13356         (eshell-visual-subcommands, eshell-visual-options):
13357         Add summary line to docstrings.  Add cross-references.
13359 2013-06-10  Glenn Morris  <rgm@gnu.org>
13361         * epa.el (epa-read-file-name): New function.  (Bug#14510)
13362         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
13364 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
13366         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13367         output redirection to be ignored with visual commands.
13369 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
13371         * eshell/em-term.el (eshell-visual-command-p): New function.
13372         (eshell-term-initialize): Move long lambda to separate function
13373         eshell-visual-command-p.
13374         * eshell/em-dirs.el (eshell-dirs-initialize):
13375         * eshell/em-script.el (eshell-script-initialize):
13376         Add missing #' to lambda.
13378 2013-06-08  Leo Liu  <sdl.web@gmail.com>
13380         * progmodes/octave.el (octave-add-log-current-defun): New function.
13381         (octave-mode): Set add-log-current-defun-function.
13382         (octave-goto-function-definition): Do not move point if not found.
13383         (octave-find-definition): Enhance to try subfunctions first.
13385 2013-06-08  Glenn Morris  <rgm@gnu.org>
13387         * emacs-lisp/bytecomp.el (byte-compile-char-before)
13388         (byte-compile-backward-char, byte-compile-backward-word):
13389         Improve previous change, to handle non-explicit nil.
13391 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13393         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13394         (smie--opener/closer-at-point): New function.
13395         (smie--matching-block-data): Use it.  Don't match from right after an
13396         opener or right before a closer.  Obey smie-blink-matching-inners.
13397         Don't signal a mismatch for repeated inners like "switch..case..case".
13399 2013-06-07  Leo Liu  <sdl.web@gmail.com>
13401         * progmodes/octave.el (octave-mode): Set comment-use-global-state
13402         to t.  (Bug#14303)
13403         (octave-function-header-regexp): Fix.  (Bug#14570)
13404         (octave-help-mode-finish-hook, octave-help-mode-finish):
13405         Remove.  Just use temp-buffer-show-hook.
13407         * newcomment.el (comment-search-backward): Revert last change.
13408         (Bug#14434)
13410         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13412 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
13414         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13415         through xargs, to avoid failure due to MS-Windows limitations on
13416         command-line length.
13418 2013-06-06  Glenn Morris  <rgm@gnu.org>
13420         * font-lock.el (lisp-font-lock-keywords-2):
13421         Treat user-error like error.
13423         * emacs-lisp/bytecomp.el (byte-compile-char-before)
13424         (byte-compile-backward-char, byte-compile-backward-word):
13425         Handle explicit nil arguments.  (Bug#14565)
13427 2013-06-05  Alan Mackenzie  <acm@muc.de>
13429         * isearch.el (isearch-allow-prefix): New user option.
13430         (isearch-other-meta-char): Don't exit isearch when a prefix
13431         argument is typed whilst `isearch-allow-prefix' is non-nil.
13432         (Bug#9706)
13434 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13436         * autorevert.el (auto-revert-notify-handler): Use memq.
13437         Hide assertion failure.
13439         * skeleton.el: Use cl-lib.
13440         (skeleton-further-elements): Use defvar-local.
13441         (skeleton-insert): Use cl-progv.
13443 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
13445         * progmodes/prog-mode.el (prog-prettify-symbols)
13446         (prog-prettify-install): Update docstrings.
13448 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13450         * simple.el: Move all the prog-mode code to prog-mode.el.
13451         * progmodes/prog-mode.el: New file.
13452         * loadup.el: Add prog-mode.el.
13454 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
13456         * simple.el (prog-prettify-symbols): Add version.
13457         (prog-prettify-install): Add convenience function to prettify symbols.
13459         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13460         (perl--augmented-font-lock-keywords-1)
13461         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13462         variables and use it.
13464         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13465         (cfengine3-mode): Remove unneeded variable and use it.
13467         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13468         (lisp--augmented-font-lock-keywords-1)
13469         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13470         Remove unneeded variables and use it.
13472 2013-06-05  João Távora  <joaotavora@gmail.com>
13474         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13475         to point when opening the connection.  (Bug#14380)
13477 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13479         * subr.el (load-history-regexp, load-history-filename-element)
13480         (eval-after-load, after-load-functions, do-after-load-evaluation)
13481         (eval-next-after-load, display-delayed-warnings)
13482         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13483         definition of save-match-data.
13484         (overriding-local-map): Remove accidental obsolescence declaration.
13486         * emacs-lisp/edebug.el (edebug-result): Move before first use.
13488 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
13490         Generalize symbol prettify support to prog-mode and implement it
13491         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13492         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13493         (prog--prettify-font-lock-compose-symbol)
13494         (prog-prettify-font-lock-symbols-keywords): New variables and
13495         functions to support symbol prettification.
13496         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13497         (lisp--augmented-font-lock-keywords-1)
13498         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13499         (lisp--prettify-symbols-alist): Implement prettify of lambda.
13500         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13501         (cfengine3--prettify-symbols-alist, cfengine3-mode):
13502         Implement prettify of -> => :: strings.
13503         * progmodes/perl-mode.el (perl-prettify-symbols)
13504         (perl--font-lock-compose-symbol)
13505         (perl--font-lock-symbols-keywords): Move to prog-mode.
13506         (perl--prettify-symbols-alist): Prettify -> => :: strings.
13507         (perl-font-lock-keywords-1)
13508         (perl-font-lock-keywords-2): Remove explicit prettify support.
13509         (perl--augmented-font-lock-keywords)
13510         (perl--augmented-font-lock-keywords-1)
13511         (perl--augmented-font-lock-keywords-2, perl-mode):
13512         Implement prettify support.
13514 2013-06-05  Leo Liu  <sdl.web@gmail.com>
13516         Re-implement SMIE matching block highlight using
13517         show-paren-data-function.  (Bug#14395)
13518         * emacs-lisp/smie.el (smie-matching-block-highlight)
13519         (smie--highlight-matching-block-overlay)
13520         (smie--highlight-matching-block-lastpos)
13521         (smie-highlight-matching-block)
13522         (smie-highlight-matching-block-mode): Remove.
13523         (smie--matching-block-data-cache): New variable.
13524         (smie--matching-block-data): New function.
13525         (smie-setup): Use smie--matching-block-data for
13526         show-paren-data-function.
13528         * progmodes/octave.el (octave-mode-menu): Fix.
13529         (octave-find-definition): Skip garbage lines.
13531 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13533         Fix compilation error with simultaneous dynamic+lexical scoping.
13534         Add warning when a defvar appears after the first let-binding.
13535         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13536         (byte-compile-close-variables): Initialize it.
13537         (byte-compile--declare-var): New function.
13538         (byte-compile-file-form-defvar)
13539         (byte-compile-file-form-define-abbrev-table)
13540         (byte-compile-file-form-custom-declare-variable): Use it.
13541         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
13542         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13543         (byte-compile-bind): Handle dynamic bindings that shadow
13544         lexical bindings.
13545         (byte-compile-unbind): Make arg non-optional.
13546         (byte-compile-let): Simplify.
13547         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13548         (cconv--analyse-function, cconv-analyse-form): Populate it.
13549         Protect byte-compile-bound-variables to limit the scope of defvars.
13550         (cconv-analyse-form): Add missing rule for (defvar <foo>).
13551         Remove unneeded rule for `declare'.
13553         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13554         so as to avoid depending on cl-adjoin at run-time.
13555         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13557         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13558         (macroexp--warn-and-return): Use it.
13560 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13562         * subr.el: Convert to lexical binding.
13563         (overriding-local-map): Make obsolete.
13564         (add-to-list): Doc fix.  Add compiler macro.
13565         (read-key): Swap values of local maps.
13567 2013-06-05  Leo Liu  <sdl.web@gmail.com>
13569         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13571 2013-06-04  Leo Liu  <sdl.web@gmail.com>
13573         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13574         (compilation-auto-jump): Suppress the "Mark set" message to give
13575         way to exit message.
13577 2013-06-04  Alan Mackenzie  <acm@muc.de>
13579         Remove faulty optimisation from indentation calculation.
13580         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13581         search limit based on 2000 characters back from indent-point.
13583 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
13585         * eshell/em-term.el (cl-lib): Require `cl-lib'.
13587 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13589         * emacs-lisp/lisp.el: Use lexical-binding.
13590         (lisp--local-variables-1, lisp--local-variables): New functions.
13591         (lisp--local-variables-completion-table): New var.
13592         (lisp-completion-at-point): Use it complete let-bound vars.
13594         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13595         eagerly (bug#14422).
13597 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
13599         * autorevert.el (auto-revert-notify-enabled)
13600         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13601         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13602         (auto-revert-notify-handler): Handle also gfilenotify.
13604         * subr.el (file-notify-handle-event): New defun.  Replacing ...
13605         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13606         Remove.
13608 2013-06-03  Juri Linkov  <juri@jurta.org>
13610         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13611         `M-s h .'.  (Bug#14427)
13613         * hi-lock.el (highlight-symbol-at-point): New alias for the new
13614         command `hi-lock-face-symbol-at-point'.
13615         (hi-lock-face-symbol-at-point): New command.
13616         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13617         (hi-lock-menu): Add `highlight-symbol-at-point'.
13618         (hi-lock-mode): Doc fix.
13620         * isearch.el (isearch-forward-symbol-at-point): New command.
13621         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13622         (isearch-highlight-regexp): Add a regexp which matches
13623         words/symbols for word/symbol mode.
13625         * subr.el (find-tag-default-bounds): New function with the body
13626         mostly moved from `find-tag-default'.
13627         (find-tag-default): Move most code to `find-tag-default-bounds',
13628         call it and apply `buffer-substring-no-properties' afterwards.
13630 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
13632         * eshell/em-term.el (eshell-term-initialize):
13633         Use `cl-intersection' rather than `intersection'.
13635 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
13637         * vc/log-view.el: Doc fix.
13638         (log-view-mode-map): Copy keymap from `special-mode-map'.
13640 2013-06-02  Eric Ludlam  <zappo@gnu.org>
13642         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13643         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13644         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13645         (eieio-unbound, eieio-default-superclass)
13646         (eieio--define-field-accessors, method-static, method-before)
13647         (method-primary, method-after, method-num-lists)
13648         (method-generic-before, method-generic-primary)
13649         (method-generic-after, method-num-slots)
13650         (eieio-specialized-key-to-generic-key)
13651         (eieio--check-type, class-v, class-p)
13652         (eieio-class-name, define-obsolete-function-alias)
13653         (eieio-class-parents-fast, eieio-class-children-fast)
13654         (same-class-fast-p, class-constructor, generic-p)
13655         (generic-primary-only-p, generic-primary-only-one-p)
13656         (class-option-assoc, class-option, eieio-object-p)
13657         (class-abstract-p, class-method-invocation-order)
13658         (eieio-defclass-autoload-map, eieio-defclass-autoload)
13659         (eieio-class-un-autoload, eieio-defclass)
13660         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13661         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13662         (eieio--defgeneric-init-form, eieio-defgeneric-form)
13663         (eieio-defgeneric-reset-generic-form)
13664         (eieio-defgeneric-form-primary-only)
13665         (eieio-defgeneric-reset-generic-form-primary-only)
13666         (eieio-defgeneric-form-primary-only-one)
13667         (eieio-defgeneric-reset-generic-form-primary-only-one)
13668         (eieio-unbind-method-implementations)
13669         (eieio--defmethod, eieio--typep)
13670         (eieio-perform-slot-validation, eieio-validate-slot-value)
13671         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13672         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13673         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13674         (eieio-slot-name-index, eieio-class-slot-name-index)
13675         (eieio-set-defaults, eieio-initarg-to-attribute)
13676         (eieio-attribute-to-initarg, eieio-c3-candidate)
13677         (eieio-c3-merge-lists, eieio-class-precedence-c3)
13678         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13679         (eieio-class-precedence-list, eieio-generic-call-methodname)
13680         (eieio-generic-call-arglst, eieio-generic-call-key)
13681         (eieio-generic-call-next-method-list)
13682         (eieio-pre-method-execution-functions, eieio-generic-call)
13683         (eieio-generic-call-primary-only, eieiomt-method-list)
13684         (eieiomt-optimizing-obarray, eieiomt-install)
13685         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13686         (eieio-generic-form, eieio-defmethod, make-obsolete)
13687         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13688         (defclass): Remove `eval-and-compile' from macro.
13689         (call-next-method, shared-initialize): Instead of using
13690         `scoped-class' variable, use new eieio--scoped-class, and
13691         eieio--with-scoped-class.
13692         (initialize-instance): Rename local variable 'scoped-class' to
13693         'this-class' to remove ambiguitity from old global.
13695         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
13696         eieio.el.
13697         (eieio--scoped-class-stack): New variable.
13698         (eieio--scoped-class): New fcn.
13699         (eieio--with-scoped-class): New scoping macro.
13700         (eieio-defclass): Use pushnew instead of add-to-list.
13701         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13702         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13703         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13704         `scoped-class' variable, use new eieio--scoped-class, and
13705         eieio--with-scoped-class.
13707         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13709 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
13711         * eshell/esh-ext.el (eshell-external-command): Pass args to
13712         `eshell-find-interpreter'.
13713         (eshell-find-interpreter): Add new second parameter ARGS.
13715         * eshell/em-script.el (eshell-script-initialize): Add second arg
13716         to the function added as MATCH to `eshell-interpreter-alist'.
13718         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13719         the function added as MATCH to `eshell-interpreter-alist'.
13721         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13722         (eshell-visual-options): New defcustom.
13723         (eshell-escape-control-x): Adapt docstring.
13724         (eshell-term-initialize): Test `eshell-visual-subcommands' and
13725         `eshell-visual-options' in addition to `eshell-visual-commands'.
13726         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13728 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13730         * progmodes/python.el (python-indent-block-enders): Add break,
13731         continue and raise keywords.
13733 2013-06-01  Glenn Morris  <rgm@gnu.org>
13735         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13737         Plain (f)boundp silences compilation warnings since Emacs 22.1.
13738         * progmodes/cc-cmds.el (delete-forward-p):
13739         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13740         * progmodes/cc-engine.el (buffer-syntactic-context):
13741         * progmodes/cc-fonts.el (face-property-instance):
13742         * progmodes/cc-mode.el (set-keymap-parents):
13743         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13744         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13745         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13746         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13747         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13749         * progmodes/cc-vars.el (other): Emacs has this widget since
13750         at least 21.1, so don't (re)define it.
13752         * eshell/em-cmpl.el (eshell-cmpl-initialize):
13753         Replace the obsolete alias pcomplete-arg-quote-list.
13755 2013-06-01  Leo Liu  <sdl.web@gmail.com>
13757         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13758         punctuation syntax.
13759         (inferior-octave-minimal-columns)
13760         (inferior-octave-last-column-width): New variables.
13761         (inferior-octave-track-window-width-change): New function.
13762         (inferior-octave-mode): Adjust column width so that Octave output,
13763         for example from 'ls', can fit into the window nicely.
13765 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
13767         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13768         Highlight expansions inside regexp literals.
13770 2013-05-31  Glenn Morris  <rgm@gnu.org>
13772         * obsolete/sym-comp.el (symbol-complete):
13773         Replace obsolete completion-annotate-function.
13775         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13777 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
13779         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13780         New function, checks if point is inside a literal that allows
13781         expression expansion.
13782         (ruby-syntax-propertize-expansion): Use it.
13783         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13784         around the body.
13786 2013-05-30  Juri Linkov  <juri@jurta.org>
13788         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13789         to "\M-si".
13790         (isearch-invisible): New variable.
13791         (isearch-forward): Doc fix.
13792         (isearch-mode): Set `isearch-invisible'
13793         to the value of `search-invisible'.
13794         (isearch-toggle-case-fold): Doc fix.
13795         (isearch-toggle-invisible): New command.
13796         (isearch-query-replace): Let-bind `search-invisible'
13797         to the value of `isearch-invisible'.
13798         (isearch-search): Use `isearch-invisible' instead of
13799         `search-invisible'.  Let-bind `search-invisible'
13800         to the value of `isearch-invisible'.  (Bug#11378)
13802 2013-05-30  Juri Linkov  <juri@jurta.org>
13804         * replace.el (perform-replace): Avoid `isearch-range-invisible'
13805         call when `query-flag' is nil and `search-invisible' is non-nil.
13806         (Bug#11746)
13808 2013-05-30  Glenn Morris  <rgm@gnu.org>
13810         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13812         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13813         (cc-require): Suppress spurious "noruntime" warnings.
13814         (cc-require-when-compile): Use fboundp, for sake of compiler.
13816         * progmodes/cc-mode.el: Move load of cc-vars before that of
13817         cc-langs (which in turn loads cc-vars), to quieten compiler.
13819 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13821         * paren.el: Simplify the code.
13822         (show-paren-mode): Always start the timer.
13823         (show-paren--idle-timer): Rename from show-paren-idle-timer.
13824         (show-paren--overlay, show-paren--overlay-1): Rename from
13825         show-paren-overlay and show-paren-overlay-1, and initialize to an
13826         overlay rather than to nil.
13827         (show-paren-function): Misc cleanup and simplifications.
13829 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13831         * paren.el (show-paren-data-function): New hook.
13832         (show-paren--default): New function, extracted from show-paren-function.
13833         (show-paren-function): Use show-paren-data-function.
13835 2013-05-30  Glenn Morris  <rgm@gnu.org>
13837         * ielm.el (ielm-map, ielm-complete-symbol):
13838         Use completion-at-point rather than obsolete functions.
13839         (inferior-emacs-lisp-mode): Doc fix.
13840         Set completion-at-point-functions, rather than
13841         comint-dynamic-complete-functions.
13843         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13844         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13845         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13847         * image.el (image-animated-p): Tweak definition.
13849         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13850         (rlogin-process-connection-type): Tweak default.  Add set-after.
13851         (rlogin-host): Doc fix.
13852         (rlogin): Tweak prompt.
13853         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13855         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13856         * progmodes/tcl.el (inferior-tcl-mode-map):
13857         Use completion-at-point rather than obsolete alias.
13859         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13861         * minibuffer.el (read-file-name-completion-ignore-case):
13862         Move before completion--in-region, for eager macro expansion.
13864 2013-05-29  Juri Linkov  <juri@jurta.org>
13866         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13867         for total count of matching lines.  Add `global-matches' for total
13868         count of matches.  Rename `matches' to `lines' for count of
13869         matching lines.  Add `matches' for count of matches.
13870         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
13871         to `prev-line' for line number of prev match endpt.
13872         Increment `matches' for every match.  Print the number of
13873         matching lines in the header.
13874         (occur-context-lines): Rename `lines' to `curr-line'.
13875         Rename `prev-lines' to `prev-line'.  (Bug#14017)
13877 2013-05-29  Juri Linkov  <juri@jurta.org>
13879         * replace.el (perform-replace): Add `skip-read-only-count',
13880         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13881         Increment them for corresponding conditions and report the number
13882         of skipped occurrences in the final message.  (Bug#11746)
13883         (query-replace, query-replace-regexp, query-replace-regexp-eval)
13884         (replace-string, replace-regexp): Doc fix.
13886 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13888         * emacs-lisp/trace.el (trace--read-args): Provide a default.
13890         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13891         prog-mode-map (bug#14504).
13893 2013-05-29  Leo Liu  <sdl.web@gmail.com>
13895         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13896         (octave-help): Small simplification.
13898         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13899         off the highlight first.
13901 2013-05-29  Glenn Morris  <rgm@gnu.org>
13903         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13904         Handle idlwave-last-system-routine-info-cons-cell being nil.
13906         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13907         (idlwave-write-paths): Simplify via with-temp-buffer.
13909         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13910         * emulation/cua-rect.el: Also load cua-base at run time.
13912         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13913         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13914         (cperl-imenu-on-info): Require imenu.
13916 2013-05-28  Alan Mackenzie  <acm@muc.de>
13918         Handle "capitalised keywords" correctly.
13919         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13921 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
13923         * eshell/em-unix.el: Add -r option to cp.
13925 2013-05-28  Glenn Morris  <rgm@gnu.org>
13927         * vc/vc-arch.el (vc-exec-after): Declare.
13928         (vc-switches): Autoload.
13929         * vc/vc-bzr.el: No need to require vc when compiling.
13930         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13931         (vc-resynch-buffer, vc-dir-refresh): Declare.
13932         (vc-setup-buffer, vc-switches): Autoload.
13933         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13934         (vc-resynch-buffer): Declare.
13935         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13936         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13937         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13938         (grep-read-regexp, grep-read-files, grep-expand-template)
13939         (vc-dir-refresh): Declare.
13940         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13941         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13942         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13943         * vc/vc-mtn.el (vc-exec-after): Declare.
13944         (vc-switches): Autoload.
13945         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13946         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13947         (vc-file-tree-walk): Declare.
13948         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13949         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13950         (vc-tag-precondition, vc-rename-master): Autoload.
13951         * vc/vc-svn.el (vc-exec-after): Declare.
13952         (vc-switches, vc-setup-buffer): Autoload.
13953         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13954         Autoload.
13955         (vc-resynch-buffer): Declare.
13957         * obsolete/fast-lock.el (byte-compile-warnings):
13958         Don't warn about obsolete features in this obsolete file.
13960         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13961         Move definition before use.
13963         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13964         (dun-unix-verbs): Remove dun-zippy.
13965         (dun-zippy): Remove function.
13967         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13969 2013-05-27  Juri Linkov  <juri@jurta.org>
13971         * replace.el (replace-search): New function with code moved out
13972         from `perform-replace'.
13973         (replace-highlight, replace-dehighlight): Move function definitions
13974         up closer to `replace-search'.  (Bug#11746)
13976 2013-05-27  Juri Linkov  <juri@jurta.org>
13978         * replace.el (perform-replace): Ignore invisible matches.
13979         In addition to checking `query-replace-skip-read-only', also
13980         filter out matches by calling `run-hook-with-args-until-failure'
13981         on `isearch-filter-predicates', and also check `search-invisible'
13982         for t or call `isearch-range-invisible'.
13983         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
13985 2013-05-27  Juri Linkov  <juri@jurta.org>
13987         * isearch.el (isearch-filter-predicates): Rename from
13988         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
13989         (isearch-message-prefix): Display text from the property
13990         `isearch-message-prefix' of the currently active filters.
13991         (isearch-search): Don't compare `isearch-filter-predicate' with
13992         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
13993         on `isearch-filter-predicates'.  Also check `search-invisible' for t
13994         or call `isearch-range-invisible'.
13995         (isearch-filter-visible): Make obsolete.
13996         (isearch-lazy-highlight-search):
13997         Call `run-hook-with-args-until-failure' on
13998         `isearch-filter-predicates' and use `isearch-range-invisible'.
14000         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14001         `isearch-filter-predicates' instead of `funcall'ing
14002         `isearch-filter-predicate'.
14003         (Info-mode): Set `Info-isearch-filter' to
14004         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14006         * dired-aux.el (dired-isearch-filter-predicate-orig):
14007         Remove variable.
14008         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14009         (dired-isearch-filenames-end): Add and remove
14010         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14011         instead of changing the value of `isearch-filter-predicate'.
14012         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14013         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14014         Put property `isearch-message-prefix' to "filename " on
14015         `dired-isearch-filter-filenames'.
14017         * wdired.el (wdired-change-to-wdired-mode):
14018         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14019         locally instead of changing `isearch-filter-predicate'.
14020         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14022 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
14024         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14025         return the commit hash (Bug#14459).  Also set the
14026         `vc-git-detached' property.
14027         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14028         (vc-git-mode-line-string): Use the same help-echo format whether
14029         in detached mode or not, because we know the actual revision now.
14030         When in detached mode, shorten the revision to 7 chars.
14032 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14034         * emacs-lisp/easy-mmode.el (define-minor-mode):
14035         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14036         mode hook and provide a docstring.
14038 2013-05-27  Alan Mackenzie  <acm@muc.de>
14040         Remove spurious syntax-table text properties inserted by C-y.
14041         * progmodes/cc-mode.el (c-after-change): Also clear hard
14042         syntax-table property with value nil.
14044 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
14046         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14047         when reading the events; the buffer layout shall not be changed.
14049 2013-05-27  Leo Liu  <sdl.web@gmail.com>
14051         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14052         New variable.
14053         (inferior-octave-directory-tracker): Automatically re-sync
14054         default-directory.
14055         (octave-help): Improve handling of 'See also'.
14057 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14059         * doc-view.el: Minor naming convention tweaks.
14060         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14062         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14063         even if there's no `display' property yet (bug#14435).
14065 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
14067         * subr.el (unmsys--file-name): Rename from reveal-filename.
14069         * Makefile.in (custom-deps, finder-data, autoloads)
14070         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14071         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14072         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14074 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14076         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14077         error-completion on the first 2 args of condition-case (bug#14446).
14078         Don't burp at EOB.
14080 2013-05-25  Leo Liu  <sdl.web@gmail.com>
14082         * comint.el (comint-previous-matching-input): Do not flood the
14083         *Messages* buffer with trivial messages.
14085 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14087         * progmodes/flymake.el (flymake-nop): Don't return a string.
14088         (flymake-set-at): Fix typo.
14090         * simple.el (read--expression): New function, extracted from
14091         eval-expression.  Set completion-at-point-functions (bug#14465).
14092         (eval-expression, eval-minibuffer): Use it.
14094 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
14096         * progmodes/flymake.el (flymake-save-buffer-in-file)
14097         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14098         (flymake-selected-frame, flymake-log, flymake-ins-after)
14099         (flymake-set-at, flymake-get-buildfile-from-cache)
14100         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14101         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14102         Refine the doc string.
14103         (flymake-get-file-name-mode-and-masks): Reformat.
14104         (flymake-get-real-file-name-function): Fix a minor bug.
14106 2013-05-24  Juri Linkov  <juri@jurta.org>
14108         * progmodes/grep.el (grep-mode-font-lock-keywords):
14109         Support =linenumber= format used by git-grep for lines with
14110         function names.  (Bug#13549)
14112 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14114         * progmodes/octave.el (octave-smie-rules): Return nil rather than
14115         0 after a semi-colon; it works better for smie-auto-fill.
14116         (octave--indent-new-comment-line): New function.
14117         (octave-indent-new-comment-line): Use it (indirectly).
14118         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
14119         modify comment-line-break-function.
14121         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14122         (smie-setup): Use add-function to set it.
14124 2013-05-24  Sam Steingold  <sds@gnu.org>
14126         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14127         argument (before the `interactive' argument).
14129 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14131         * image-mode.el (image-mode-winprops): Add winprops to
14132         image-mode-winprops-alist before running
14133         image-mode-new-window-functions.
14134         * doc-view.el (doc-view-new-window-function): Don't delay
14135         doc-view-goto-page via timers (bug#14435).
14137 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
14139         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
14140         (doc-view-desktop-save-buffer): New function.
14141         (doc-view-restore-desktop-buffer): New function.
14142         (desktop-buffer-mode-handlers):
14143         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14144         handler.
14145         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14146         `desktop-save-buffer' function.
14148 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
14150         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14151         (tramp-gvfs-file-name-handler): Raise a user error when
14152         `tramp-gvfs-enabled' is nil.
14153         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14154         Do not raise a user error when loading package.  (Bug#14447)
14156         * net/xesam.el: Move to obsolete/.
14158 2013-05-24  Glenn Morris  <rgm@gnu.org>
14160         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14162         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14164         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14165         (Info-find-node, Man-getpage-in-background): Declare.
14167         * mail/unrmail.el (unrmail):
14168         Replace obsolete detect-coding-with-priority.
14170         * net/socks.el (socks-split-string): Use this rather than split-string.
14171         (socks-nslookup-host): Update for above change.
14172         (dynamic-choice, s5-dynamic-choice-match)
14173         (s5-dynamic-choice-match-inline, s5-widget-value-create):
14174         Comment out unused code.
14176         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14177         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14178         (gud-tooltip-echo-area): Make obsolete.
14179         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14181         * progmodes/js.el (js--optimize-arglist): Declare.
14183         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14185         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14186         (ediff-window-C): Declare.
14188         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14189         Tweak requires to silence compiler.
14191         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14192         (he-search-string, he-tried-table, he-expand-list)
14193         (he-init-string, he-string-member, he-substitute-string)
14194         (he-reset-string): Declare.
14196         * obsolete/options.el (list-options): Use custom-variable-p,
14197         rather than obsolete alias.
14199 2013-05-23  Sam Steingold  <sds@gnu.org>
14201         * simple.el (shell-command-on-region): Pass the `replace' argument
14202         down to `call-process-region' to comply with the doc as reported on
14203         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14205 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14207         * emacs-lisp/smie.el (smie-indent-forward-token)
14208         (smie-indent-backward-token): Handle string tokens (bug#14381).
14210 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14212         * ielm.el (ielm-menu): New menu.
14213         (inferior-emacs-lisp-mode): Set comment-start.
14215 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14217         * textmodes/reftex.el (reftex-ref-style-toggle):
14218         Fix deactivate action.
14220         * textmodes/reftex-vars.el (reftex-ref-style-alist):
14221         Add cleveref macros.
14223         * textmodes/reftex-parse.el
14224         (reftex-locate-bibliography-files): Accept options for
14225         bibliography commands.
14226         * textmodes/reftex-vars.el (reftex-bibliography-commands):
14227         Add addbibresource.  Basic Biblatex support.
14229 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
14231         * net/tramp-gvfs.el (top):
14232         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14233         when loading package.  (Bug#14447)
14235 2013-05-23  Glenn Morris  <rgm@gnu.org>
14237         * progmodes/js.el: No need to load comint when compiling.
14238         (ring-insert, comint-send-string, comint-send-input)
14239         (comint-last-input-end, ido-chop): Declare.
14241         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14242         * vc/ediff-mult.el: Adjust requires.
14243         (ediff-directories-internal, ediff-directory-revisions-internal)
14244         (ediff-patch-file-internal): Declare.
14245         * vc/ediff-ptch.el: Adjust requires.
14246         (ediff-use-last-dir, ediff-buffers-internal): Declare.
14247         (ediff-find-file): Autoload.
14248         * vc/ediff-util.el: No need to load ediff when compiling.
14249         (ediff-regions-internal): Declare.
14250         * vc/ediff-wind.el: Adjust requires.
14251         (ediff-compute-toolbar-width): Define when compiling.
14252         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14253         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14254         (dired-get-filename, dired-get-marked-files)
14255         (ediff-last-dir-patch, ediff-patch-default-directory)
14256         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14257         (ediff-patch-buffer-internal): Declare.
14259         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14260         (ispell-process, ispell-buffer-local-words, lm-summary)
14261         (lm-section-start, lm-section-end): Declare.
14262         (checkdoc-ispell-init): Simplify.
14264         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14265         (he-string-member, he-reset-string, he-substitute-string): Declare.
14267         * eshell/em-ls.el: Adjust requires.
14268         (eshell-glob-regexp): Declare.
14269         * eshell/em-tramp.el: Adjust requires.
14270         (eshell-parse-command): Autoload.
14271         * eshell/em-xtra.el: Adjust requires.
14272         (eshell-parse-command): Autoload.
14273         * eshell/esh-ext.el: Adjust requires.
14274         (eshell-parse-command, eshell-close-handles): Autoload.
14275         * eshell/esh-io.el: Adjust requires.
14276         (eshell-output-filter): Autoload.
14277         * eshell/esh-util.el: No need to load tramp when compiling.
14278         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14279         Declare.
14280         (eshell-parse-ange-ls): Require ange-ftp and tramp.
14281         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14282         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14283         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14284         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14285         * eshell/esh-opt.el, eshell/esh-proc.el:
14286         * eshell/esh-var.el: Adjust requires.
14287         * eshell/eshell.el: Do not require esh-util twice.
14288         (eshell-add-input-to-history): Declare.
14289         (eshell-command): Check history module is active before using it.
14291         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14293 2013-05-22  Leo Liu  <sdl.web@gmail.com>
14295         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14297 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
14299         * autorevert.el (auto-revert-notify-add-watch)
14300         (auto-revert-notify-handler): Add `attrib' for the inotify case,
14301         it indicates changes in file modification time.
14303 2013-05-22  Glenn Morris  <rgm@gnu.org>
14305         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14306         Always delete the autoloaded function from the noruntime and
14307         unresolved functions lists.
14309         * allout.el: No need to load epa, epg, overlay when compiling.
14310         (epg-context-set-passphrase-callback, epg-list-keys)
14311         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14312         (epg-key-user-id-list): Declare.
14314         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14315         (viper-set-parsing-style-toggling-macro)
14316         (viper-set-emacs-state-searchstyle-macros):
14317         Use called-interactively-p on Emacs.
14318         (viper-looking-back): Make it an obsolete alias.  Update callers.
14319         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14320         Use looking-back rather than viper-looking-back.
14321         (viper-tmp-insert-at-eob, viper-enlarge-region)
14322         (viper-read-string-with-history, viper-register-to-point)
14323         (viper-append-to-register, viper-change-state-to-vi)
14324         (viper-backward-char-carefully, viper-forward-char-carefully)
14325         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14326         (viper-change-state-to-emacs): Declare.
14327         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14328         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14329         * emulation/viper-mous.el: Do not load viper-cmd.
14330         (viper-backward-char-carefully, viper-forward-char-carefully)
14331         (viper-forward-word, viper-adjust-window): Declare.
14333         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14335         * progmodes/idlw-help.el (idlwave-help-fontify):
14336         Use called-interactively-p.
14338         * term/w32console.el (w32-get-console-codepage)
14339         (w32-get-console-output-codepage): Declare.
14341         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14342         Remove unnecessary declarations.
14343         (dframe-message): Doc fix.
14345         * info.el (dframe-select-attached-frame, dframe-current-frame):
14346         Declare.
14348         * speedbar.el (speedbar-message): Make it an obsolete alias.
14349         Update all callers.
14350         (speedbar-with-attached-buffer)
14351         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14352         (speedbar-with-writable): Use backquote.
14353         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14354         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14355         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14356         rather than speedbar- aliases.
14357         * mail/rmail.el: Load dframe rather than speedbar when compiling.
14358         (speedbar-make-specialized-keymap, speedbar-insert-button)
14359         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14360         (speedbar-do-function-pointer): Declare.
14361         (rmail-speedbar-button, rmail-speedbar-find-file)
14362         (rmail-speedbar-move-message):
14363         Use dframe-with-attached-buffer rather than speedbar- alias.
14364         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14365         (dframe-message, speedbar-make-specialized-keymap)
14366         (speedbar-add-expansion-list, speedbar-mode-functions-list)
14367         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14368         (speedbar-insert-button, dframe-select-attached-frame)
14369         (dframe-maybee-jump-to-attached-frame)
14370         (speedbar-change-initial-expansion-list)
14371         (speedbar-previously-used-expansion-list-name): Declare.
14372         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14373         Use dframe-message, dframe-with-attached-buffer rather than
14374         speedbar- aliases.
14375         (gud-sentinel): Silence compiler.
14376         * progmodes/vhdl-mode.el (speedbar-refresh)
14377         (speedbar-do-function-pointer, speedbar-add-supported-extension)
14378         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14379         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14380         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14381         (speedbar-file-lists, speedbar-make-tag-line)
14382         (speedbar-line-directory, speedbar-goto-this-file)
14383         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14384         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14385         (speedbar-make-button, speedbar-reset-scanners)
14386         (speedbar-files-item-info, speedbar-line-text)
14387         (speedbar-find-file-in-frame, speedbar-set-timer)
14388         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14389         (speedbar-with-writable): Do not (re)define it.
14390         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14391         rather than speedbar- alias.
14393 2013-05-21  Leo Liu  <sdl.web@gmail.com>
14395         * progmodes/octave.el (octave-mode-menu): Update and re-organize
14396         menu items.
14397         (octave-mode): Tweak fill-nobreak-predicate.
14398         (inferior-octave-startup): Check process to avoid infinite loop.
14399         (inferior-octave): Pop to buffer first to show abornmal process
14400         exit information.
14402 2013-05-21  Glenn Morris  <rgm@gnu.org>
14404         * printing.el (pr-menu-bar): Define when compiling.
14406 2013-05-21  Leo Liu  <sdl.web@gmail.com>
14408         * progmodes/octave.el (octave-auto-fill): Remove.
14409         (octave-indent-new-comment-line): Improve.
14410         (octave-mode): Use auto fill mode through
14411         comment-line-break-function and fill-nobreak-predicate.
14412         (octave-goto-function-definition): Support DEFUN_DLD.
14413         (octave-beginning-of-defun): Small tweak.
14414         (octave-help): Show parent directory.
14416 2013-05-21  Glenn Morris  <rgm@gnu.org>
14418         * files.el (dired-unmark):
14419         * progmodes/gud.el (gdb-input): Update declarations.
14421         * calculator.el (electric, ehelp): No need to load when compiling.
14422         (Electric-command-loop, electric-describe-mode): Declare.
14424         * doc-view.el (doc-view-current-converter-processes): Move before use.
14426         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14427         Move MODE-set-explicitly definition before use.
14429         * international/mule-diag.el (mule-diag):
14430         Don't use obsolete window-system-version.
14432         * mail/feedmail.el (smtpmail): No need to load when compiling.
14433         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14435         * mail/mail-utils.el (rfc822): No need to load when compiling.
14436         (rfc822-addresses): Autoload it.
14437         (mail-strip-quoted-names): Trivial simplification.
14439         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14440         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14442         * net/snmp-mode.el (tempo): Don't duplicate requires.
14444         * progmodes/prolog.el (info): No need to load when compiling.
14445         (comint): Require before shell requires it.
14446         (Info-goto-node): Autoload it.
14447         (Info-follow-nearest-node): Declare.
14448         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14450         * textmodes/artist.el (picture-mode-exit): Declare.
14452         * textmodes/reftex-parse.el (reftex-parse-from-file):
14453         Trivial rewrite so the compiler can parse it better.
14455 2013-05-20  Leo Liu  <sdl.web@gmail.com>
14457         * progmodes/octave.el (octave-help-mode-map)
14458         (octave-help-mode-finish-hook): New variables.
14459         (octave-help-mode, octave-help-mode-finish): New functions.
14460         (octave-help): Use octave-help-mode.
14462 2013-05-20  Glenn Morris  <rgm@gnu.org>
14464         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
14466 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
14468         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14469         start at point, so that expansion starting right after opening
14470         slash in a regexp is recognized.
14471         (ruby-syntax-before-regexp-re): New defvar, extracted from
14472         ruby-syntax-propertize-function.  Since the value of this regexp
14473         is looked up at runtime now, we should be able to turn
14474         `ruby-syntax-methods-before-regexp' into a defcustom later.
14475         (ruby-syntax-propertize-function): Split regexp matching into two
14476         parts, for opening and closing slashes.  That allows us to skip
14477         over string interpolations and support multiline regexps.
14478         Don't call `ruby-syntax-propertize-expansions', instead use another rule
14479         for them, which calls `ruby-syntax-propertize-expansion'.
14480         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14481         call to `ruby-syntax-propertize-function'.
14482         (ruby-syntax-propertize-expansion): Extracted from
14483         `ruby-syntax-propertize-expansions'.  Handles one expansion.
14484         (ruby-syntax-propertize-percent-literal): Leave point right after
14485         the percent symbol, so that the expression expansion rule can
14486         propertize the contents.
14487         (ruby-syntax-propertize-heredoc): Leave point at bol following the
14488         heredoc openers.
14489         (ruby-syntax-propertize-expansions): Remove.
14491 2013-05-18  Juri Linkov  <juri@jurta.org>
14493         * man.el (Man-default-man-entry): Remove `-' from the end
14494         of the default value.  (Bug#14400)
14496 2013-05-18  Glenn Morris  <rgm@gnu.org>
14498         * comint.el (comint-password-prompt-regexp):
14499         Allow "password for XXX" where XXX contains colons (eg https://...).
14501 2013-05-18  Leo Liu  <sdl.web@gmail.com>
14503         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14504         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
14505         (octave-source-directories): Don't check process.
14506         (octave-source-directories, octave-find-definition): Doc fix.
14508 2013-05-18  Glenn Morris  <rgm@gnu.org>
14510         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14511         Remove backspace/delete bindings.  (Bug#14392)
14513         * cus-dep.el (custom-make-dependencies): Sort the output.
14514         (custom-versions-load-alist): Convert comment to doc.
14516 2013-05-17  Leo Liu  <sdl.web@gmail.com>
14518         * newcomment.el (comment-search-backward): Stricter in finding
14519         comment start.  (Bug#14303)
14521         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14522         (octave-comment-start-skip): Properly anchored.
14524 2013-05-17  Leo Liu  <sdl.web@gmail.com>
14526         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14527         Clean up when turned off.  (Bug#14395)
14528         (smie--highlight-matching-block-overlay): No longer buffer-local.
14529         (smie-highlight-matching-block): Adjust.
14531 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
14533         Doc string fix for "nanoseconds" (Bug#14406).
14534         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14535         Fix doc string typo that had "nanoseconds" instead of "microseconds".
14537 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
14539         * calc/calc-units.el (math-extract-units): Preserve powers
14540         of units.
14542 2013-05-17  Leo Liu  <sdl.web@gmail.com>
14544         * subr.el (delete-consecutive-dups): New function.
14545         * ido.el (ido-set-matches-1): Use it.
14546         * progmodes/octave.el (inferior-octave-completion-table): Use it.
14547         * ido.el (ido-remove-consecutive-dups): Remove.
14549 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14551         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14552         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14553         regexp-opt's `words'.
14555 2013-05-16  Leo Liu  <sdl.web@gmail.com>
14557         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14558         (smie--highlight-matching-block-overlay)
14559         (smie--highlight-matching-block-lastpos)
14560         (smie--highlight-matching-block-timer): New variables.
14561         (smie-highlight-matching-block): New function.
14562         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
14563         (smie-setup): Conditionally enable smie-blink-matching-open.
14565 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
14567         Sync with upstream verilog-mode r840.
14568         * progmodes/verilog-mode.el (verilog-mode-version)
14569         (verilog-mode-release-date): Update.
14570         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14571         (verilog-sig-tieoff): Fix string error on
14572         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
14573         (verilog-read-decls): Fix parameters confusing
14574         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
14576 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
14578         * subr.el (reveal-filename): New function.
14580         * loadup.el: Compute Emacs executable versions on MS-Windows,
14581         where executables have the .exe extension.  Add a hard link
14582         emacs-XX.YY.ZZ.exe on MS-Windows.
14584         * Makefile.in (XARGS_LIMIT): New variable.
14585         (custom-deps, finder-data, autoloads)
14586         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14587         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14588         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14589         (compile-main): Limit xargs according to $(XARGS_LIMIT).
14591 2013-05-16  Leo Liu  <sdl.web@gmail.com>
14593         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14594         (octave-mode-menu, octave-mode-map): Remove its uses.
14596 2013-05-16  Reto Zimmermann  <reto@gnu.org>
14598         Sync with upstream vhdl mode v3.34.2.
14599         * progmodes/vhdl-mode.el: Use `push' throughout.
14600         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14601         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14602         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
14603         (vhdl-actual-generic-name): New option to derive actual generic name.
14604         (vhdl-port-paste-signals): Replace formal by actual generics.
14605         (vhdl-beautify): New name for old group vhdl-align.  Update users.
14606         (vhdl-beautify-options): New option.
14607         (vhdl-last-input-event): New compat alias.  Use throughout.
14608         (vhdl-goto-line): Replace user level function `goto-line'.
14609         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14610         vhdl-fix-statement-buffer.
14611         (vhdl-create-mode-menu): Add some entries.
14612         (vhdl-align-region-groups): Respect vhdl-beautify-options.
14613         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14614         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14615         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14616         to force statements on one line.
14617         (vhdl-remove-trailing-spaces-region):
14618         New, split from vhdl-remove-trailing-spaces.
14619         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14620         Respect vhdl-beautify-options.
14621         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14622         (vhdl-update-sensitivity-list): Not add with index if exists without.
14623         Not include array index with signal.  Ignore keywords in comments.
14624         (vhdl-get-visible-signals): Regexp tweaks.
14625         (vhdl-template-component-inst): Handle empty library.
14626         (vhdl-template-type): Add template for 'enum' type.
14627         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14628         Use vhdl-replace-string.
14629         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14630         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14631         (vhdl-speedbar-initialize): Update for above name change.
14632         (vhdl-compose-wire-components): Fix in handling of constants.
14633         (vhdl-error-regexp-emacs-alist): New variable.
14634         (vhdl-error-regexp-add-emacs): New function;
14635         adds support for new compile.el (Emacs 22+)
14636         (vhdl-generate-makefile-1): Change target order for single lib. units.
14637         Allow use of absolute file names.
14639 2013-05-16  Leo Liu  <sdl.web@gmail.com>
14641         * simple.el (prog-indent-sexp): Indent enclosing defun.
14643 2013-05-15  Glenn Morris  <rgm@gnu.org>
14645         * cus-start.el (show-trailing-whitespace): Move to editing basics.
14646         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14647         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14648         (whitespace-highlight): Move to whitespace group.
14650         * comint.el (comint-source):
14651         * pcmpl-linux.el (pcmpl-linux):
14652         * shell.el (shell-faces):
14653         * eshell/esh-opt.el (eshell-opt):
14654         * international/ccl.el (ccl): Remove empty custom groups.
14656         * completion.el (dynamic-completion-mode):
14657         * jit-lock.el (jit-lock-debug-mode):
14658         * minibuffer.el (completion-in-region-mode):
14659         * type-break.el (type-break-mode-line-message-mode)
14660         (type-break-query-mode):
14661         * emulation/tpu-edt.el (tpu-edt-mode):
14662         * progmodes/subword.el (global-subword-mode, global-superword-mode):
14663         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14664         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14666         * term/xterm.el (xterm): Change parent group to terminals.
14668         * master.el (master): Remove empty custom group.
14669         (master-mode): Remove unused :group argument.
14670         * textmodes/refill.el (refill): Remove empty custom group.
14671         (refill-mode): Remove unused :group argument.
14673         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14675         * cus-dep.el: Provide a feature.
14676         (custom-make-dependencies): Ignore dotfiles (dir-locals).
14677         Don't mistakenly ignore files whose basenames match a basename
14678         from preloaded-file-list (eg cedet/ede/simple.el).
14679         Add a fallback method for getting :group.
14681 2013-05-15  Juri Linkov  <juri@jurta.org>
14683         * isearch.el (isearch-char-by-name): Rename from
14684         `isearch-insert-char-by-name'.  Doc fix.
14685         (isearch-forward): Mention `isearch-char-by-name' in
14686         the docstring.  (Bug#13348)
14688         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14689         `exit-minibuffer' instead of
14690         `isearch-nonincremental-exit-minibuffer'.
14691         (isearch-edit-string): Remove mention of
14692         `isearch-nonincremental-exit-minibuffer' from docstring.
14693         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14694         (isearch-forward-exit-minibuffer)
14695         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
14697 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14699         * loadup.el: Just use unversioned DOC.
14701         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14702         literals as extending to EOB.
14703         (nxml-last-fontify-end): Remove unused variable.
14704         (nxml-after-change1): Use with-silent-modifications.
14705         (nxml-extend-after-change-region): Simplify.
14706         (nxml-extend-after-change-region1): Remove function.
14707         (nxml-after-change1): Don't adjust for dependent regions.
14708         (nxml-fontify-matcher): Simplify.
14709         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14710         (xmltok-add-dependent): Remove function.
14711         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14712         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14713         (xmltok-scan-prolog-after-processing-instruction-open): Treat
14714         unclosed <[[, <?, comment, and other literals as extending to EOB.
14715         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14716         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14717         Remove functions.
14718         (rng-do-some-validation-1): Don't mark dependent regions.
14719         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14720         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14721         (nxml-clear-dependent-regions): Remove functions.
14722         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14723         (nxml-ensure-scan-up-to-date):
14724         Don't clear&mark dependent regions.
14726 2013-05-15  Leo Liu  <sdl.web@gmail.com>
14728         * progmodes/octave.el (octave-goto-function-definition):
14729         Improve and fix callers.
14731 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14733         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14734         the setter (bug#14387).
14736         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14737         surrounding group (bug#14402).
14739 2013-05-14  Juri Linkov  <juri@jurta.org>
14741         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14742         (Bug#14390)
14744 2013-05-14  Glenn Morris  <rgm@gnu.org>
14746         * progmodes/f90.el (f90-imenu-generic-expression):
14747         Fix typo in 2013-05-08 change.  (Bug#14402)
14749 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
14751         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14752         Remove signals for which replies are never received.
14754 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
14756         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14757         (gdb-handler-alist, gdb-handler-number): Remove variables.
14758         (gdb-handler-list): New variable.
14759         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14760         (gdb-pending-handler-p, gdb-handle-reply)
14761         (gdb-remove-all-pending-triggers): New functions.
14762         (gdb-discard-unordered-replies): New defcustom.
14763         (gdb-handler): New defstruct.
14764         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
14765         instead of gdb-pending-triggers.  Update docstring.
14766         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
14767         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14768         (gdb-var-update-handler, def-gdb-auto-update-trigger)
14769         (def-gdb-auto-update-handler, gdb-get-changed-registers)
14770         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14771         (gdb-frame-handler): Pending triggers are now automatically managed.
14772         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14773         Remove argument.
14774         (gdb-input): Automatically handles pending triggers.  Update docstring.
14775         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14776         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14777         Update comments.
14778         (gdb-done-or-error): Now use gdb-handle-reply.
14780 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
14782         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14783         gdb-debug-log.
14785 2013-05-14  Glenn Morris  <rgm@gnu.org>
14787         * subr.el (user-emacs-directory-warning): New option.
14788         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
14790 2013-05-14  Leo Liu  <sdl.web@gmail.com>
14792         * progmodes/octave.el (octave-font-lock-keywords): Fix error
14793         during redisplay.
14794         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14795         (octave-font-lock-texinfo-comment): Fix invalid search bound
14796         error: wrong side of point.
14798 2013-05-14  Glenn Morris  <rgm@gnu.org>
14800         * progmodes/flymake.el (flymake-xml-program): New option.
14801         (flymake-xml-init): Use it.
14803         * term/xterm.el: Provide a feature.
14805         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
14807 2013-05-13  Glenn Morris  <rgm@gnu.org>
14809         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14810         Add compat aliases as a hack workaround.  (Bug#14384)
14812 2013-05-13  Leo Liu  <sdl.web@gmail.com>
14814         * progmodes/octave.el (octave-indent-comment): Fix indentation for
14815         ###, and %!.
14816         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14817         C-M-q.
14818         (octave-comment-start-skip): Include %!.
14819         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14821 2013-05-12  Leo Liu  <sdl.web@gmail.com>
14823         * progmodes/octave.el (inferior-octave-startup): Store the value
14824         of __octave_srcdir__ for octave-source-directories.
14825         (inferior-octave-check-process): New function refactored out of
14826         inferior-octave-send-list-and-digest.
14827         (octave-source-directories)
14828         (octave-find-definition-filename-function): New variables.
14829         (octave-source-directories)
14830         (octave-find-definition-default-filename): New functions.
14831         (octave-find-definition): Improve to find functions implemented in C++.
14833 2013-05-12  Glenn Morris  <rgm@gnu.org>
14835         * calendar/diary-lib.el (diary-outlook-format-1):
14836         Don't include dayname in the output.  (Bug#14349)
14838 2013-05-11  Glenn Morris  <rgm@gnu.org>
14840         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14842         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14843         Treat cc-provide like provide.
14845 2013-05-11  Kevin Ryde  <user42@zip.com.au>
14847         * cus-dep.el (custom-make-dependencies):
14848         Use generated-autoload-load-name for the sake of files such
14849         such cedet/semantic/bovine/c.el, where the base file name
14850         is not in load-path.  (Bug#5277)
14852 2013-05-11  Glenn Morris  <rgm@gnu.org>
14854         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14855         Provide features.
14857 2013-05-11  Leo Liu  <sdl.web@gmail.com>
14859         * progmodes/octave.el (octave-indent-comment): Improve.
14860         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14861         (octave-eldoc-function-signatures, octave-eldoc-function):
14862         New functions.
14863         (octave-mode, inferior-octave-mode): Add eldoc support.
14865 2013-05-11  Richard Stallman  <rms@gnu.org>
14867         * epa.el (epa-decrypt-file): Take output file name as argument
14868         and read it using `interactive'.
14870 2013-05-11  Leo Liu  <sdl.web@gmail.com>
14872         * progmodes/octave.el (octave-beginning-of-line)
14873         (octave-end-of-line): Check before using up-list because it jumps
14874         out of more syntactic contructs since moving to smie.
14875         (octave-indent-comment): New function.
14876         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
14877         (octave-begin-keywords, octave-end-keywords)
14878         (octave-reserved-words, octave-smie-bnf-table)
14879         (octave-smie-rules): Add new keywords from Octave 3.6.4.
14881 2013-05-11  Glenn Morris  <rgm@gnu.org>
14883         * faces.el (internal-face-x-get-resource):
14884         * frame.el (ns-display-monitor-attributes-list):
14885         * calc/calc-aent.el (math-to-radians-2):
14886         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14887         Fix declarations.
14889         * calc/calc-menu.el: Make it loadable in isolation.
14891         * net/eudcb-bbdb.el: Make it loadable without bbdb.
14892         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14893         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14894         (eudc-bbdb-query-internal): Require 'bbdb.
14896         * lpr.el (lpr-headers-switches):
14897         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14899         * progmodes/sql.el (sql-login-params): Fix and improve :type.
14901         * emulation/edt-mapper.el: In batch mode, error rather than hang.
14903         * term.el (term-set-escape-char): Make it idempotent.
14905 2013-05-10  Leo Liu  <sdl.web@gmail.com>
14907         * progmodes/octave.el (inferior-octave-completion-table):
14908         No longer a function and all uses changed.  Use cache to speed up
14909         completion due to bug#11906.
14910         (octave-beginning-of-defun): Re-write to be more general.
14912 2013-05-10  Glenn Morris  <rgm@gnu.org>
14914         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14916 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14918         * comint.el (comint-redirect-send-command-to-process): Use :around
14919         rather than :override for comint-redirect-filter.
14920         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14921         Call it instead of comint-redirect-original-filter-function (which
14922         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
14924 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
14926         * frame.el (display-monitor-attributes-list): Add NS case.
14927         (ns-display-monitor-attributes-list): Declare.
14929 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
14931         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
14933 2013-05-09  Glenn Morris  <rgm@gnu.org>
14935         * international/fontset.el (vertical-centering-font-regexp):
14936         Set standard-value.
14938         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14940         * bookmark.el (bookmark-search-delay):
14941         * cus-start.el (vertical-centering-font-regexp):
14942         * ps-mule.el (ps-mule-font-info-database-default):
14943         * ps-print.el (ps-default-fg, ps-default-bg):
14944         * type-break.el (type-break-good-break-interval):
14945         * whitespace.el (whitespace-indentation-regexp)
14946         (whitespace-space-after-tab-regexp):
14947         * emacs-lisp/testcover.el (testcover-1value-functions)
14948         (testcover-noreturn-functions, testcover-progn-functions)
14949         (testcover-prog1-functions):
14950         * emulation/viper-init.el (viper-emacs-state-cursor-color):
14951         * eshell/em-glob.el (eshell-glob-translate-alist):
14952         * play/tetris.el (tetris-tty-colors):
14953         * progmodes/cpp.el (cpp-face-default-list):
14954         * progmodes/flymake.el (flymake-allowed-file-name-masks):
14955         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14956         (idlwave-help-browser-generic-args):
14957         * progmodes/make-mode.el (makefile-special-targets-list):
14958         * progmodes/python.el (python-shell-virtualenv-path):
14959         * progmodes/verilog-mode.el (verilog-active-low-regexp)
14960         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14961         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14962         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14963         * textmodes/reftex-vars.el (reftex-format-label-function):
14964         * textmodes/remember.el (remember-diary-file): Fix custom types.
14966         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14967         Add :version.
14969 2013-05-09  Leo Liu  <sdl.web@gmail.com>
14971         * progmodes/octave.el (inferior-octave-completion-at-point):
14972         Restore file completion.  (Bug#14300)
14973         (inferior-octave-startup): Fix incorrect highlighting for the
14974         first prompt.
14976 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14978         * progmodes/ruby-mode.el: First cut at SMIE support.
14979         (ruby-use-smie): New var.
14980         (ruby-smie-grammar): New constant.
14981         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14982         (ruby-smie--forward-token, ruby-smie--backward-token)
14983         (ruby-smie-rules): New functions.
14984         (ruby-mode-variables): Setup SMIE if applicable.
14986 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
14988         * simple.el (line-move-visual): Signal beginning/end of buffer
14989         only if vertical-motion moved less than it was requested.  Avoids
14990         silly incorrect error messages when there are display strings with
14991         multiple newlines at EOL.
14993 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14995         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14996         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14997         (prolog-char-quote-workaround):
14998         * progmodes/cperl-mode.el (cperl-under-as-char):
14999         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15000         Mark as obsolete.
15001         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15002         their declaration.
15003         (vhdl-mode-syntax-table-init): Remove.
15005         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15006         last change.
15008         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15009         syntax for "_".
15010         (ld-script-font-lock-keywords):
15011         Change regexps to use things like \_< and \_>.
15013         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15014         Change all regexps to use things like \_< and \_>.
15016         * progmodes/autoconf.el (autoconf-definition-regexp)
15017         (autoconf-font-lock-keywords, autoconf-current-defun-function):
15018         Handle a _ with symbol syntax.
15019         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15021         * progmodes/ada-mode.el (ada-mode-abbrev-table):
15022         Consolidate declaration.
15023         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15024         the declaration.
15025         (ada-create-syntax-table): Remove.
15026         (ada-capitalize-word): Don't mess with the syntax of "_" since it
15027         already has the right syntax nowadays.
15028         (ada-goto-next-word): Don't change the syntax of "_".
15030         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15031         with-wrapper-hook.
15033 2013-05-08  Sam Steingold  <sds@gnu.org>
15035         * thingatpt.el (thing-at-point): Accept optional second argument
15036         NO-PROPERTIES to strip the text properties from the return value.
15037         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15038         to `thing-at-point' instead of stripping the properties ourselves.
15039         Also, when `thing-at-point' fails to find a url, prepend "http://"
15040         to the filename at point on the assumption that the user is
15041         pointing at something like gnu.org/gnu.
15043 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
15045         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15046         * faces.el (crm-separator):
15047         Silence byte-compiler.
15049         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15050         (tool-bar-map): Remove unneeded defvars.
15052 2013-05-08  Leo Liu  <sdl.web@gmail.com>
15054         Re-work a fix for bug#10994 based on Le Wang's patch.
15055         * ido.el (ido-remove-consecutive-dups): New helper.
15056         (ido-completing-read): Use it.
15057         (ido-chop): Revert fix for bug#10994.
15059 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
15061         * cus-edit.el (custom-save-variables):
15062         Pretty-print long values.  (Bug#14187)
15064 2013-05-08  Glenn Morris  <rgm@gnu.org>
15066         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15067         (m4-mode-syntax-table): Init in the defvar.
15068         (m4-mode-abbrev-table): Let define-derived-mode define it.
15070 2013-05-08  Tom Tromey  <tromey@redhat.com>
15072         * progmodes/m4-mode.el (m4-mode-syntax-table):
15073         Do not treat "_" as word constituent.  (Bug#14167)
15075 2013-05-07  Glenn Morris  <rgm@gnu.org>
15077         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15078         Remove explicit eshell-isearch-cancel-map.
15080         * progmodes/f90.el (f90-smart-end-names): New option.
15081         (f90-smart-end): Doc fix.
15082         (f90-end-block-optional-name): New constant.
15083         (f90-block-match): Respect f90-smart-end-names.
15085 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15087         * progmodes/octave.el (octave-smie-forward-token): Be more careful
15088         about implicit semi-colons (bug#14218).
15090 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15092         * frame.el (display-monitor-attributes-list)
15093         (frame-monitor-attributes): New functions.
15095 2013-05-06  Leo Liu  <sdl.web@gmail.com>
15097         * progmodes/octave.el (octave-syntax-propertize-function): Change
15098         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
15099         (octave-font-lock-keywords): Use octave-operator-regexp.
15100         (octave-completion-at-point): Rename from
15101         octave-completion-at-point-function.
15102         (inferior-octave-directory-tracker): Robustify.
15103         (octave-text-functions): Remove and fix its uses.  No such things
15104         any more.
15106 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15108         * emacs-lisp/trace.el (trace--display-buffer): New function.
15109         (trace-make-advice): Use it.
15111 2013-05-06  Juri Linkov  <juri@jurta.org>
15113         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
15114         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15115         Doc fix.
15116         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15117         in the help string.  (Bug#12985)
15119 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
15121         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
15123 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15125         * progmodes/perl-mode.el: Add support for here documents.
15126         (perl-syntax-propertize-function): Match here-doc markers.
15127         (perl-syntax-propertize-special-constructs): Find their end.
15128         (perl-imenu-generic-expression): Use [:alnum:].
15130         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15131         (advice--add-function): Refresh the advice if already present
15132         (bug#14317).
15134 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
15136         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
15138 2013-05-06  Glenn Morris  <rgm@gnu.org>
15140         * w32-fns.el (w32-charset-info-alist): Declare.
15142         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15143         of its defcustom properties.
15144         (eshell-cmpl-initialize): No need to load pcomplete.
15146         * generic-x.el: No need to require comint when compiling.
15148         * net/eudc-export.el: Make it loadable without bbdb.
15149         (top-level): Use require rather than load-library.
15150         (eudc-create-bbdb-record, eudc-bbdbify-phone)
15151         (eudc-batch-export-records-to-bbdb)
15152         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15153         Require bbdb.
15155 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15157         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15158         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15159         some tweaks, instead.
15161 2013-05-05  Leo Liu  <sdl.web@gmail.com>
15163         * progmodes/octave.el (octave-font-lock-keywords)
15164         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15165         (inferior-octave-send-list-and-digest): Improve error message.
15166         (octave-mode, inferior-octave-mode): Use setq-local.
15167         (octave-help): Set info-lookup-mode.
15169 2013-05-05  Richard Stallman  <rms@gnu.org>
15171         * vc/compare-w.el (compare-windows-whitespace):
15172         Treat no-break space as whitespace.
15174         * mail/rmailsum.el (rmail-summary-rmail-update):
15175         Detect empty summary and don't change selected message.
15176         (rmail-summary-goto-msg): Likewise.
15178         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15179         Doc fixes, rename args.
15181 2013-05-05  Alan Mackenzie  <acm@muc.de>
15183         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15185 2013-05-05  Juri Linkov  <juri@jurta.org>
15187         * info.el (Info-read-subfile): Use (point-min) instead of (point)
15188         to not add the length of the summary segment to the return value.
15189         (Bug#14125)
15191 2013-05-05  Leo Liu  <sdl.web@gmail.com>
15193         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15194         (inferior-octave-output-filter): Remove.
15195         (octave-send-region, inferior-octave-startup): Fix callers.
15196         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15197         (octave-binary-file-extensions): New user variable.
15198         (octave-find-definition): Confirm if opening binary files.
15199         (octave-help-file): Use octave-find-definition to get the binary
15200         confirmation.
15201         (octave-help): Adjust for octave-help-file change.
15203 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15205         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15206         Merge the two entries that handle function definitions.
15207         (pascal--syntax-propertize): New const.
15208         (pascal-mode): Use it.  Use setq-local.
15210 2013-05-04  Glenn Morris  <rgm@gnu.org>
15212         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15213         (diary-from-outlook): Respect diary-from-outlook-function.
15215 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15217         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15218         Move the declaration from C.
15219         (read-minibuffer, eval-minibuffer): Move from C.
15220         (completion-setup-function): Avoid minibuffer-completion-contents.
15222 2013-05-03  Leo Liu  <sdl.web@gmail.com>
15224         * progmodes/octave.el (octave-font-lock-keywords): Do not
15225         dehighlight 'end' in comments or strings.
15226         (octave-completing-read, octave-goto-function-definition):
15227         New helpers.
15228         (octave-help-buffer): New user variable.
15229         (octave-help-file, octave-help-function): New button types.
15230         (octave-help): New command and bind it to C-h ;.
15231         (octave-find-definition): New command and bind it to M-.
15232         (user-error): Alias to error if not defined.
15234 2013-05-02  Leo Liu  <sdl.web@gmail.com>
15236         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15237         for \.  (bug#14332)
15238         (octave-font-lock-keywords): Include [ and {.
15240 2013-05-02  Leo Liu  <sdl.web@gmail.com>
15242         * progmodes/octave.el (inferior-octave-startup-file): Change default.
15243         (inferior-octave): Remove calling comint-mode and return the buffer.
15244         (inferior-octave-startup): Cosmetic changes.
15246 2013-05-02  Leo Liu  <sdl.web@gmail.com>
15248         * progmodes/octave.el (octave-syntax-propertize-function):
15249         Include the case when ' is at line beginning.  (Bug#14336)
15251 2013-05-02  Glenn Morris  <rgm@gnu.org>
15253         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15254         * desktop.el (vc-dir-mode): Just autoload it here.
15256 2013-05-02  Alan Mackenzie  <acm@muc.de>
15258         Eliminate variable c-standard-font-lock-fontify-region-function.
15259         * progmodes/cc-mode.el
15260         (c-standard-font-lock-fontify-region-function): Remove.
15261         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15263 2013-05-01  Leo Liu  <sdl.web@gmail.com>
15265         * progmodes/octave.el: Compatible with older emacs-24 releases.
15266         (inferior-octave-has-built-in-variables): Remove.  Built-in
15267         variables were removed from Octave in 2007.
15268         (inferior-octave-startup): Fix uses.
15269         (comint-line-beginning-position): Remove compatibility code for
15270         emacs 21.
15272 2013-05-01  Juri Linkov  <juri@jurta.org>
15274         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
15276 2013-05-01  Juri Linkov  <juri@jurta.org>
15278         * comint.el (comint-previous-matching-input): Don't print message
15279         "History item: %d" when `isearch-mode' is active.
15280         (comint-history-isearch-message): Print message "History item: %d"
15281         when `comint-input-ring-index' is not empty and this function is
15282         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
15284 2013-05-01  Leo Liu  <sdl.web@gmail.com>
15286         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15287         definitions.  Use completion-at-point to insert keywords.
15288         (octave-abbrev-start): Remove.
15289         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15291 2013-04-30  Leo Liu  <sdl.web@gmail.com>
15293         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15294         change.
15296 2013-04-30  Alan Mackenzie  <acm@muc.de>
15298         Handle arbitrarily long C++ member initialisation lists.
15299         * progmodes/cc-engine.el (c-back-over-member-initializers):
15300         new function.
15301         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15302         (most) member init lists.
15304 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15306         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15307         variable.
15309 2013-04-30  Leo Liu  <sdl.web@gmail.com>
15311         * progmodes/octave.el (octave-variables): Remove.  No builtin
15312         variables any more.  All converted to functions.
15313         (octave-font-lock-keywords, octave-completion-at-point-function):
15314         Fix uses.
15315         (octave-font-lock-texinfo-comment): New user variable.
15316         (octave-texinfo-font-lock-keywords): New variable for texinfo
15317         comment block.
15318         (octave-function-comment-block): New face.
15319         (octave-font-lock-texinfo-comment): New function.
15320         (octave-mode): Font lock texinfo comment block.
15322 2013-04-29  Leo Liu  <sdl.web@gmail.com>
15324         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15325         indexing expression.
15326         (octave-continuation-string): Do not use \.
15327         (inferior-octave-complete-impossible): Remove.
15328         (inferior-octave-completion-table)
15329         (inferior-octave-completion-at-point): Remove its uses.
15330         (inferior-octave-startup): completion_matches was introduced to
15331         Octave in 1996 so safe to assume it.
15332         (octave-function-file-comment): Improve to follow how Octave does it.
15333         (octave-update-function-file-comment): Tweak.
15335 2013-04-29  Leo Liu  <sdl.web@gmail.com>
15337         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15338         (inferior-octave-startup): Remove inferior-octave-startup-hook.
15339         (octave-function-file-comment): Fix typo.
15340         (octave-sync-function-file-names): Use read-char-choice.
15342 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
15344         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15345         to t for the less important warnings.
15347 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
15349         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
15351 2013-04-27  Glenn Morris  <rgm@gnu.org>
15353         * vc/log-view.el (log-view-current-entry):
15354         Treat "---" separator lines as part of the following rev.  (Bug#14169)
15356 2013-04-27  Juri Linkov  <juri@jurta.org>
15358         * subr.el (read-number): Doc fix about using it by interactive
15359         code letter `n'.  (Bug#14254)
15361 2013-04-27  Juri Linkov  <juri@jurta.org>
15363         * desktop.el (desktop-auto-save-timeout): New option.
15364         (desktop-file-checksum): New variable.
15365         (desktop-save): Add optional arg `auto-save' and don't auto-save
15366         if nothing changed.
15367         (desktop-auto-save-timer): New variable.
15368         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15369         (after-init-hook): Call `desktop-auto-save-set-timer'.
15370         Suggested by Reuben Thomas <rrt@sc3d.org> in
15371         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15373 2013-04-27  Leo Liu  <sdl.web@gmail.com>
15375         * progmodes/octave.el (octave-function-file-p)
15376         (octave-skip-comment-forward, octave-function-file-comment)
15377         (octave-update-function-file-comment): New functions.
15378         (octave-mode-map): Bind C-c ; to
15379         octave-update-function-file-comment.
15380         (octave-mode-menu): Add octave-update-function-file-comment.
15381         (octave-mode, inferior-octave-mode): Fix doc-string.
15382         (octave-insert-defun): Conform to Octave's coding convention.
15383         (Bug#14285)
15385         * files.el (basic-save-buffer): Don't let errors in
15386         before-save-hook prevent saving buffer.
15388 2013-04-20  Roland Winkler  <winkler@gnu.org>
15390         * faces.el (read-face-name): Use completing-read if arg multiple
15391         is nil.
15393 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
15395         * ls-lisp.el (ls-lisp-insert-directory): If no files are
15396         displayed, move point to after the totals line.
15397         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15398         for the details.
15400 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15402         * emacs-lisp/package.el (package-autoload-ensure-default-file):
15403         Add current dir to the load-path.
15404         (package-generate-autoloads): Don't rely on
15405         autoload-ensure-default-file.
15407 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
15409         * textmodes/remember.el (remember-store-in-files): Document that
15410         the file name format is passed to `format-time-string'.
15412 2013-04-26  Leo Liu  <sdl.web@gmail.com>
15414         * progmodes/octave.el (octave-sync-function-file-names): New function.
15415         (octave-mode): Use it in before-save-hook.
15417 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15419         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15420         (bug#14274).
15422         * progmodes/octave.el (octave-smie-forward-token): Properly skip
15423         \n and comment, even if it's not an implicit ; (bug#14218).
15425 2013-04-26  Glenn Morris  <rgm@gnu.org>
15427         * subr.el (read-number): Once more use `read' rather than
15428         `string-to-number', to trap non-numeric input.  (Bug#14254)
15430 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
15432         * emacs-lisp/syntax.el (syntax-propertize-multiline):
15433         Use `syntax-multiline' text property consistently instead of
15434         `font-lock-multiline'.  (Bug#14237)
15436 2013-04-26  Glenn Morris  <rgm@gnu.org>
15438         * emacs-lisp/shadow.el (list-load-path-shadows):
15439         No longer necessary to check for duplicate simple.el, since
15440         2012-07-07 change to init_lread to not include installation lisp
15441         directories in load-path when running uninstalled.  (Bug#14270)
15443 2013-04-26  Leo Liu  <sdl.web@gmail.com>
15445         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15446         (octave-mode, inferior-octave-mode): Use setq-local.
15447         (octave-not-in-string-or-comment-p): Rename to
15448         octave-in-string-or-comment-p.
15449         (octave-in-comment-p, octave-in-string-p)
15450         (octave-in-string-or-comment-p): Replace defsubst with defun.
15452 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
15454         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15456 2013-04-25  Bastien Guerry  <bzg@gnu.org>
15458         * textmodes/remember.el (remember-data-directory)
15459         (remember-directory-file-name-format): Fix custom types.
15461 2013-04-25  Leo Liu  <sdl.web@gmail.com>
15463         * progmodes/octave.el (octave-completion-at-point-function):
15464         Make use of inferior octave process.
15465         (octave-initialize-completions): Remove.
15466         (inferior-octave-completion-table): New function.
15467         (inferior-octave-completion-at-point): Use it.
15468         (octave-completion-alist): Remove.
15470 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15472         * progmodes/opascal.el: Use font-lock and syntax-propertize.
15473         (opascal-mode-syntax-table): New var.
15474         (opascal-literal-kind, opascal-is-literal-end)
15475         (opascal-literal-token-at): Rewrite.
15476         (opascal--literal-start-re, opascal-font-lock-keywords)
15477         (opascal--syntax-propertize): New constants.
15478         (opascal-font-lock-defaults): Adjust.
15479         (opascal-mode): Use them.  Set comment-<foo> variables as well.
15480         (delphi-comment-face, opascal-comment-face, delphi-string-face)
15481         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15482         (delphi-other-face, opascal-other-face): Remove face variables.
15483         (opascal-save-state): Remove macro.
15484         (opascal-fontifying-progress-step): Remove constant.
15485         (opascal--ignore-changes): Remove var.
15486         (opascal-set-token-property, opascal-parse-next-literal)
15487         (opascal-is-stable-literal, opascal-complete-literal)
15488         (opascal-is-literal-start, opascal-face-of)
15489         (opascal-parse-region, opascal-parse-region-until-stable)
15490         (opascal-fontify-region, opascal-after-change)
15491         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15492         (opascal-debug-parse-region, opascal-debug-parse-window)
15493         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15494         (opascal-debug-fontify-buffer): Remove.
15495         (opascal-debug-mode-map): Adjust accordingly.
15497 2013-04-25  Leo Liu  <sdl.web@gmail.com>
15499         Merge octave-mod.el and octave-inf.el into octave.el with some
15500         cleanups.
15501         * progmodes/octave.el: New file renamed from octave-mod.el.
15502         * progmodes/octave-inf.el: Merged into octave.el.
15503         * progmodes/octave-mod.el: Renamed to octave.el.
15505 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
15507         * textmodes/reftex-vars.el
15508         (reftex-label-ignored-macros-and-environments): New defcustom.
15510         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15512 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15514         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15515         (smie-indent-keyword): Improve the check to ensure that the next
15516         comment is really on the same line.
15517         (smie-indent-comment): Don't align with a subsequent closer (or eob).
15519         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15520         semi-colons if the line is not otherwise empty (bug#14218).
15522 2013-04-25  Glenn Morris  <rgm@gnu.org>
15524         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15526 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15528         * progmodes/opascal.el (opascal-set-token-property): Rename from
15529         opascal-set-text-properties and only set `token' (bug#14134).
15530         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15531         (opascal-literal-text-properties): Remove.
15532         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15533         Adjust callers.
15535 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
15537         * textmodes/remember.el (remember-handler-functions): Add an
15538         option for a new handler `remember-store-in-files'.
15539         (remember-data-directory, remember-directory-file-name-format):
15540         New options.
15541         (remember-store-in-files): New function to store remember notes
15542         as separate files within a directory.
15544 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
15546         * progmodes/compile.el (compilation-next-error-function):
15547         Pass "formats" to compilation-find-file (bug#11777).
15549 2013-04-24  Glenn Morris  <rgm@gnu.org>
15551         * vc/vc-bzr.el (vc-bzr-print-log):
15552         * vc/vc-hg.el (vc-hg-print-log):
15553         * vc/vc-svn.el (vc-svn-print-log):
15554         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
15556         * vc/vc-bzr.el (vc-bzr-print-log):
15557         * vc/vc-cvs.el (vc-cvs-print-log):
15558         * vc/vc-git.el (vc-git-print-log):
15559         * vc/vc-hg.el (vc-hg-print-log):
15560         * vc/vc-mtn.el (vc-mtn-print-log):
15561         * vc/vc-rcs.el (vc-rcs-print-log):
15562         * vc/vc-sccs.el (vc-sccs-print-log):
15563         * vc/vc-svn.el (vc-svn-print-log):
15564         * vc/vc.el (vc-print-log-internal): Doc fixes.
15566 2013-04-23  Glenn Morris  <rgm@gnu.org>
15568         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15569         Remove venerable code attempting to avoid substitute-command-keys.
15571 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
15573         * textmodes/reftex-vars.el (reftex-label-regexps):
15574         Call `reftex-compile-variables' after changes to this variable.
15576 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15578         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15579         Use lexical-binding.
15580         (jit-lock-force-redisplay): Use markers, check buffer's continued
15581         existence and beware narrowed buffers.
15582         (jit-lock-fontify-now): Adjust call accordingly.
15584 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15586         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15587         to avoid misleading the user.
15589 2013-04-22  Leo Liu  <sdl.web@gmail.com>
15591         * info-look.el: Prefer latex2e.info.  (Bug#14240)
15593 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
15595         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
15597         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15598         * net/tramp.el (tramp-call-process): ... here.
15599         (tramp-set-completion-function, tramp-parse-putty):
15600         * net/tramp-adb.el (tramp-adb-execute-adb-command):
15601         * net/tramp-gvfs.el (tramp-gvfs-send-command):
15602         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15603         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15604         (tramp-call-local-coding-command): Use `tramp-call-process'
15605         instead of `tramp-compat-call-process'.
15607         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15608         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15609         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15610         (tramp-find-inline-compress): Improve traces.
15611         (tramp-maybe-send-script): Check for Perl binary.
15612         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15614 2013-04-22  Daiki Ueno  <ueno@gnu.org>
15616         * epg.el (epg-context-pinentry-mode): New function.
15617         (epg-context-set-pinentry-mode): New function.
15618         (epg--start): Pass --pinentry-mode option to gpg command.
15620 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
15622         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15623         `comint-dynamic-complete' is obsolete since 24.1, replaced by
15624         `completion-at-point'.  (Bug#13774)
15626         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15627         default key binding for `describe-distribution' has been moved to
15628         `C-h C-o'.  (Bug#13970)
15630 2013-04-21  Glenn Morris  <rgm@gnu.org>
15632         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15633         Add doc strings.
15634         (vc-print-log): Clarify interactive prompt.
15636 2013-04-20  Glenn Morris  <rgm@gnu.org>
15638         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15639         No longer include timestamp etc information.
15641 2013-04-20  Roland Winkler  <winkler@gnu.org>
15643         * faces.el (read-face-name): Bug fix, return just one face if arg
15644         multiple is nil.  (Bug#14209)
15646 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15648         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15649         (remove-function): Autoload.
15651         * comint.el (comint-redirect-original-filter-function): Remove.
15652         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15653         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15654         (vc-cvs-annotate-command):
15655         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15656         * progmodes/prolog.el (prolog-consult-compile):
15657         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15658         Use add/remove-function instead.
15659         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15660         (gud-tooltip-process-output, gud-tooltip-tips):
15661         Use add/remove-function instead.
15662         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15663         (scheme-interaction-mode, exit-scheme-interaction-mode):
15664         Use add/remove-function instead.
15666         * vc/vc-dispatcher.el: Use lexical-binding.
15667         (vc--process-sentinel): Rename from vc-process-sentinel.
15668         Change last arg to be the code to run.  Don't use vc-previous-sentinel
15669         and vc-sentinel-commands any more.
15670         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
15671         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15673 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
15675         * progmodes/sh-script.el (sh-imenu-generic-expression):
15676         Handle function names with a single character.  (Bug#14111)
15678 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
15680         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15681         for subroutines defined in an eval (bug#14182).
15683 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15685         * bookmark.el (bookmark-completing-read): Improve handling of empty
15686         string (bug#14176).
15688 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15690         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15692 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15694         New faster Imenu implementation (bug#14058).
15695         * progmodes/python.el:
15696         (python-imenu-prev-index-position):
15697         (python-imenu-format-item-label-function)
15698         (python-imenu-format-parent-item-label-function)
15699         (python-imenu-format-parent-item-jump-label-function):
15700         New vars.
15701         (python-imenu-format-item-label)
15702         (python-imenu-format-parent-item-label)
15703         (python-imenu-format-parent-item-jump-label)
15704         (python-imenu--put-parent, python-imenu--build-tree)
15705         (python-imenu-create-index, python-imenu-create-flat-index)
15706         (python-util-popn): New functions.
15707         (python-mode): Set imenu-create-index-function to
15708         python-imenu-create-index.
15710 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15712         * winner.el (winner-active-region): Use region-active-p, activate-mark
15713         and deactivate-mark (bug#14225).
15715         * simple.el (deactivate-mark): Don't inline it.
15717 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
15719         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15721 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
15723         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15724         file extensions from the archive-mode entry in order to prefer
15725         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15727 2013-04-18  Leo Liu  <sdl.web@gmail.com>
15729         * bindings.el (help-event-list): Add ?\?.
15731 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15733         * subr.el (with-wrapper-hook): Declare obsolete.
15734         * simple.el (filter-buffer-substring-function): New hook.
15735         (filter-buffer-substring): Use it.
15736         (filter-buffer-substring-functions): Mark obsolete.
15737         * minibuffer.el (completion-in-region-function): New hook.
15738         (completion-in-region): Use it.
15739         (completion-in-region-functions): Mark obsolete.
15740         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15741         * abbrev.el (abbrev-expand-function): New hook.
15742         (expand-abbrev): Use it.
15743         (abbrev-expand-functions): Mark obsolete.
15744         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15745         and :filter-return.
15747 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15749         * progmodes/python.el (python-nav--syntactically): Fix cornercases
15750         and do not care about match data.
15752 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15754         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15755         completion tables when completing error conditions and
15756         `declare' arguments.
15757         (lisp-complete-symbol, field-complete): Mark as obsolete.
15758         (check-parens): Unmatched parens are user errors.
15759         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15761 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
15763         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15764         command changed buffer (ie. `flyspell-pre-buffer' is not current
15765         buffer), which prevents making decisions based on invalid value of
15766         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
15767         cause an error when `flyspell-pre-point' was nil after switching
15768         buffers.
15769         (flyspell-post-command-hook): No longer needs to change buffers when
15770         checking pre-word.  While at it remove unnecessary progn.
15772 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
15774         * textmodes/ispell.el (ispell-add-per-file-word-list):
15775         Fix `flyspell-correct-word-before-point' error when accepting
15776         words and `coment-padding' is an integer by using
15777         `comment-normalize-vars' (Bug #14214).
15779 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15781         New defun movement commands.
15782         * progmodes/python.el (python-nav--syntactically)
15783         (python-nav--forward-defun, python-nav-backward-defun)
15784         (python-nav-forward-defun): New functions.
15786 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15788         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15789         (python-syntax-context): Use named compiler-macro for backwards
15790         compatibility with Emacs 24.x.
15792 2013-04-17  Leo Liu  <sdl.web@gmail.com>
15794         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15795         octave-hide-process-buffer.
15797 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15799         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15800         (bug#14216).
15802 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
15804         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15805         Fix adjustment of offset when receiving incomplete responses from GDB
15806         (bug#14129).
15808 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15810         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15811         python-mode-abbrev-table.
15812         (python-skeleton-define): Adjust accordingly.
15813         (python-mode-abbrev-table): New table that inherits from it so that
15814         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15816         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15817         (abbrev-symbol): Use it.
15818         (abbrev--before-point): Use it since we already handle inheritance.
15820 2013-04-16  Leo Liu  <sdl.web@gmail.com>
15822         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15823         binding to info-lookup-symbol.
15825 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
15827         * minibuffer.el (completion--twq-all):
15828         * term/ns-win.el (ns-initialize-window-system):
15829         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15831 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15833         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15834         global bindings.
15836         * doc-view.el (doc-view-start-process): Handle url-handler directories.
15838 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
15840         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15841         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15842         to nil.
15843         (ruby-end-of-defun): Remove the unused arg, change the docstring
15844         to reflect that this function is only used as the value of
15845         `end-of-defun-function'.
15846         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15847         to reflect an earlier change that beginning/end-of-defun functions
15848         jump between methods in a class definition, as well as top-level
15849         functions.
15851 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15853         * minibuffer.el (minibuffer-complete): Don't just scroll
15854         a *Completions* that's been iconified.
15855         (minibuffer-force-complete): Make sure repetitions do cycle when going
15856         through completion-in-region -> minibuffer-complete.
15858 2013-04-15  Alan Mackenzie  <acm@muc.de>
15860         Correct the placement of c-cpp-delimiters when there're #s not at
15861         col 0.
15863         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15864         place a submatch around the #.
15865         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15866         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
15867         on the #, not BOL.
15869 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15871         * emacs-lisp/nadvice.el: Properly test names when adding advice.
15872         (advice--member-p): New arg `name'.
15873         (advice--add-function, advice-member-p): Use it (bug#14202).
15875 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
15877         Reformulate java imenu-generic-expression.
15878         The old expression contained ill formed regexps.
15880         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15881         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15882         (cc-imenu-java-method-arg-regexp): New defconsts.
15883         (cc-imenu-java-build-type-args-regex): New defun.
15884         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15885         handling of spaces in the regexp.
15887 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
15889         * textmodes/ispell.el (ispell-command-loop): Remove
15890         flyspell highlight of a word when ispell accepts it (bug #14178).
15892 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
15894         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15895         uses code from the previous `ange-ftp-run-real-handler'.
15896         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15897         only in case that function exist.  This is needed for proper
15898         unloading of Tramp.
15900 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
15902         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15904         * textmodes/reftex.el (reftex-compile-variables): Use it.
15906 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15908         * files.el (normal-mode): Only use default major-mode if no other mode
15909         was specified.
15911         * emacs-lisp/trace.el (trace-values): New function.
15913         * files.el: Allow : in local variables (bug#14089).
15914         (hack-local-variable-regexp): New var.
15915         (hack-local-variables-prop-line, hack-local-variables): Use it.
15917 2013-04-13  Roland Winkler  <winkler@gnu.org>
15919         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
15920         data before it gets modified by bibtex-beginning-of-entry.
15922 2013-04-13  Roland Winkler  <winkler@gnu.org>
15924         * textmodes/bibtex.el (bibtex-url): Doc fix.
15926 2013-04-13  Roland Winkler  <winkler@gnu.org>
15928         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15929         does not visit a BibTeX file, exclude it from the list of buffers
15930         returned by bibtex-initialize.
15932 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
15934         * window.el (split-window): Remove interactive form, since as a
15935         command this function is a special case of split-window-below.
15936         Correct doc string.
15938 2013-04-12  Roland Winkler  <winkler@gnu.org>
15940         * faces.el (read-face-name): Do not override value of arg default.
15941         Allow single faces and strings as default values.  Remove those
15942         elements from return value that are not faces.
15943         (describe-face): Simplify.
15944         (face-at-point): New optional args thing and multiple so that this
15945         function can provide the same functionality previously provided by
15946         read-face-name.
15947         (make-face-bold, make-face-unbold, make-face-italic)
15948         (make-face-unitalic, make-face-bold-italic, invert-face)
15949         (modify-face, read-face-and-attribute): Use face-at-point.
15951         * cus-edit.el (customize-face, customize-face-other-window)
15952         * cus-theme.el (custom-theme-add-face)
15953         * face-remap.el (buffer-face-set)
15954         * facemenu.el (facemenu-set-face): Use face-at-point.
15956 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
15958         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15960 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
15962         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15963         off leading { and trailing } from field values.
15965 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15967         * emacs-lisp/timer.el (timer--check): New function.
15968         (timer--time, timer-set-function, timer-event-handler): Use it.
15969         (timer-set-idle-time): Simplify.
15970         (timer--activate): CSE.
15971         (timer-event-handler): Give more info in error message.
15972         (internal-timer-start-idle): New function, moved from C.
15974         * mpc.el (mpc-proc): Add `restart' argument.
15975         (mpc-proc-cmd): Use it.
15976         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15977         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15978         less often.
15980 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
15982         * progmodes/sh-script.el: Implement `sh-mode' own
15983         `add-log-current-defun-function' (bug#14112).
15984         (sh-current-defun-name): New function.
15985         (sh-mode): Use the function.
15987 2013-04-09  Bastien Guerry  <bzg@gnu.org>
15989         * simple.el (choose-completion-string): Fix docstring (bug#14163).
15991 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15993         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15995         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15996         timer (bug#14156).
15998 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
16000         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16001         declaration.
16003 2013-04-07  Leo Liu  <sdl.web@gmail.com>
16005         * pcmpl-x.el: New file.
16007 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
16009         Do not set x-display-name until X connection is established.
16010         This is needed to prevent from weird situation described at
16011         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16012         * frame.el (make-frame): Set x-display-name after call to
16013         window system initialization function, not before.
16014         * term/x-win.el (x-initialize-window-system): Add optional
16015         display argument and use it.
16016         * term/w32-win.el (w32-initialize-window-system):
16017         * term/ns-win.el (ns-initialize-window-system):
16018         * term/pc-win.el (msdos-initialize-window-system):
16019         Add compatible optional display argument.
16021 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
16023         * files.el (normal-backup-enable-predicate): On MS-Windows and
16024         MS-DOS compare truenames of temporary-file-directory and of the
16025         file, so that 8+3 aliases (usually found in $TEMP on Windows)
16026         don't fail comparison by compare-strings.  Also, compare file
16027         names case-insensitively on MS-Windows and MS-DOS.
16029 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16031         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16032         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16034 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
16036         * whitespace.el (whitespace-color-on, whitespace-color-off):
16037         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16039 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
16041         * ispell.el (ispell-set-spellchecker-params):
16042         Really set `ispell-args' for all equivs.
16044 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16046         * ido.el (ido-completions): Use extra elements of ido-decorations
16047         (bug#14143).
16048         (ido-decorations): Update docstring.
16050 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
16052         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16053         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16054         nil during initialization, in order not to miss changes since the
16055         file was opened.  (Bug#14140)
16057 2013-04-05  Leo Liu  <sdl.web@gmail.com>
16059         * kmacro.el (kmacro-call-macro): Fix bug#14135.
16061 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
16063         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16065 2013-04-04  Glenn Morris  <rgm@gnu.org>
16067         * electric.el (electric-pair-inhibit-predicate): Add :version.
16069 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16071         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16072         when a package is required several times (bug#14082).
16074 2013-04-04  Roland Winkler  <winkler@gnu.org>
16076         * faces.el (read-face-name): Behave as promised by the docstring.
16077         Assume that arg default is a list of faces.
16078         (describe-face): Call read-face-name with list of default faces.
16080 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16082         * bookmark.el: Fix deletion of bookmarks (bug#13972).
16083         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16084         (bookmark-bmenu-execute-deletions): Only skip first line if it's
16085         the header.
16086         (bookmark-exit-hook-internal): Save even if list is empty.
16088 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
16090         * emacs-lisp/package.el (package-pinned-packages): New var.
16091         (package--add-to-archive-contents): Obey it (bug#14118).
16093 2013-04-03  Alan Mackenzie  <acm@muc.de>
16095         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16096         Also adapt to the new values of element 7 of a parse state.
16098         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16099         parameter `not-in-delimiter'.  Handle being inside comment opener.
16100         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16101         character in case we're typing a '*' after a '/'.
16102         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16103         instead by passing the parameter to c-state-pp-to-literal.
16105         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16106         for elt. 7 of a parse state.
16108 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
16110         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16111         * international/latin1-disp.el, international/mule-util.el:
16112         * language/cyril-util.el, language/european.el, language/ind-util.el:
16113         * language/lao-util.el, language/thai.el, language/tibet-util.el:
16114         * language/tibetan.el, language/viet-util.el:
16115         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16117 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16119         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16120         (electric-pair-post-self-insert-function): Use it.
16121         (electric-pair-default-inhibit): New function, extracted from
16122         electric-pair-post-self-insert-function.
16124 2013-03-31  Roland Winkler  <winkler@gnu.org>
16126         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16128 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16130         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16132 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
16134         Un-indent after "pass" and "return" statements (Bug#13888)
16135         * progmodes/python.el (python-indent-block-enders): New var.
16136         (python-indent-calculate-indentation): Use it.
16138 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
16140         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16141         defun.  Defining it as defalias could introduce too eager
16142         byte-compiler optimization.  (Bug#14030)
16144 2013-03-30  Chong Yidong  <cyd@gnu.org>
16146         * iswitchb.el (iswitchb-read-buffer): Fix typo.
16148 2013-03-30  Leo Liu  <sdl.web@gmail.com>
16150         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16151         (kmacro-execute-from-register): Pass the keyboard macro to
16152         kmacro-call-macro or repeating won't work correctly.
16154 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
16156         * progmodes/subword.el: Back to using `forward-symbol'.
16158         * subr.el (forward-whitespace, forward-symbol)
16159         (forward-same-syntax): Move from thingatpt.el.
16161 2013-03-29  Leo Liu  <sdl.web@gmail.com>
16163         * kmacro.el (kmacro-to-register): New command.
16164         (kmacro-execute-from-register): New function.
16165         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
16167 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16169         * mpc.el: Use defvar-local and setq-local.
16170         (mpc--proc-connect): Connection failures are not bugs.
16171         (mpc-mode-map): `follow-link' only applies to the buffer's content.
16172         (mpc-volume-map): Bind to the up-events.
16174 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
16176         * progmodes/subword.el (superword-mode): Use `forward-sexp'
16177         instead of `forward-symbol'.
16179 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16181         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16182         (edebug--recursive-edit): Use it.
16183         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16184         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16186 2013-03-28  Leo Liu  <sdl.web@gmail.com>
16188         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
16190 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
16192         * facemenu.el (list-colors-callback): New defvar.
16193         (list-colors-redisplay): New function.
16194         (list-colors-display): Install list-colors-redisplay as the
16195         revert-buffer-function.  (Bug#14063)
16197 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16199         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16200         and suffixes don't overlap (bug#14061).
16202         * case-table.el: Use lexical-binding.
16203         (case-table-get-table): New function.
16204         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
16206 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
16208         * progmodes/subword.el: Add `superword-mode' to do word motion
16209         over symbol_words (parallels and leverages `subword-mode' which
16210         does word motion inside MixedCaseWords).
16212 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
16214         * eshell/em-unix.el: Move su and sudo to...
16215         * eshell/em-tramp.el: ...Eshell tramp module.
16217 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16219         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16220         Change return value to be a sexp.  Delay `get-buffer' to after
16221         restoring the desktop (bug#13951).
16223 2013-03-26  Leo Liu  <sdl.web@gmail.com>
16225         * register.el: Move semantic tag handling back to
16226         cedet/semantic/senator.el.  (Bug#14052)
16228 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16230         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16231         into the prompt either (bug#13963).
16233 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16235         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16236         part of "(error-foo)".
16238 2013-03-24  Juri Linkov  <juri@jurta.org>
16240         * replace.el (list-matching-lines-prefix-face): New defcustom.
16241         (occur-1): Pass `list-matching-lines-prefix-face' to the function
16242         `occur-engine' if `face-differs-from-default-p' returns t.
16243         (occur-engine): Add `,' inside backquote construct to evaluate
16244         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
16245         Pass `prefix-face' to the functions `occur-context-lines' and
16246         `occur-engine-add-prefix'.
16247         (occur-engine-add-prefix, occur-context-lines): Add optional arg
16248         `prefix-face' and propertize the prefix with `prefix-face'.
16249         (Bug#14017)
16251 2013-03-24  Leo Liu  <sdl.web@gmail.com>
16253         * nxml/rng-valid.el (rng-validate-while-idle)
16254         (rng-validate-quick-while-idle): Guard against deleted buffer.
16255         (Bug#13999)
16257         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16258         is the last entry in kill-buffer-hook.
16260         * files.el (kill-buffer-hook): Doc fix.
16262 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
16264         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16265         Make it safe-local.
16267         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16269 2013-03-23  Leo Liu  <sdl.web@gmail.com>
16271         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16272         Remove.
16274         * nxml/rng-valid.el (rng-validate-mode)
16275         (rng-after-change-function, rng-do-some-validation):
16276         * nxml/rng-maint.el (rng-validate-buffer):
16277         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16278         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16279         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16280         (nxml-extend-after-change-region): Use with-silent-modifications.
16282         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16283         timer-idle-list.
16285         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16286         (rng-next-error-1, rng-previous-error-1): Do not let-bind
16287         timer-idle-list.  (Bug#13999)
16289 2013-03-23  Juri Linkov  <juri@jurta.org>
16291         * info.el (info-index-match): New face.
16292         (Info-index, Info-apropos-matches): Add a nested subgroup to the
16293         main pattern and add text properties with the new face to matches
16294         in index entries relative to the beginning of the index entry.
16295         (Bug#14015)
16297 2013-03-21  Eric Ludlam  <zappo@gnu.org>
16299         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16300         Inhibit read only while inserting objects.
16302 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
16304         * progmodes/cfengine.el: Update docs to mention
16305         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
16306         symbol motion.  Remove "_" from the word syntax.
16308 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
16310         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16311         syntax for both `cfengine2-mode' and `cfengine3-mode'.
16313 2013-03-20  Juri Linkov  <juri@jurta.org>
16315         * info.el (Info-next-reference-or-link)
16316         (Info-prev-reference-or-link): New functions.
16317         (Info-next-reference, Info-prev-reference): Use them.
16318         (Info-try-follow-nearest-node): Handle footnote navigation.
16319         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
16321 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16323         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16324         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16326 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
16328         Suppress unnecessary non-ASCII chatter during build process.
16329         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16330         (batch-skkdic-convert): Suppress most of the chatter.
16331         It's not needed so much now that machines are faster,
16332         and its non-ASCII component was confusing; see Dmitry Gutov in
16333         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16335 2013-03-20  Leo Liu  <sdl.web@gmail.com>
16337         * ido.el (ido-chop): Fix bug#10994.
16339 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
16341         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16342         Remove vars.
16343         (whitespace-color-on, whitespace-color-off):
16344         Use `font-lock-fontify-buffer' (Bug#13817).
16346 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16348         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16349         remapping in mode-line.
16350         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16352 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
16354         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16355         value for `whitespace-line' face (Bug#13875).
16356         (whitespace-font-lock-keywords): Change description.
16357         (whitespace-color-on): Don't save `font-lock-keywords' value, save
16358         the constructed keywords instead.
16359         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16361 2013-03-19  Leo Liu  <sdl.web@gmail.com>
16363         * progmodes/compile.el (compilation-display-error): New command.
16364         (compilation-mode-map, compilation-minor-mode-map): Bind it to
16365         C-o.  (Bug#13992)
16367 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
16369         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16371 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
16373         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16375 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
16377         * net/tramp-compat.el (tramp-compat-user-error): New defun.
16379         * net/tramp-adb.el (tramp-adb-handle-shell-command):
16380         * net/tramp-gvfs.el (top):
16381         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16382         (tramp-handle-shell-command): Use it.
16383         (tramp-dissect-file-name): Raise an error when hostname is a
16384         method name, and neither method nor user is specified.
16386         * net/trampver.el: Update release number.
16388 2013-03-18  Leo Liu  <sdl.web@gmail.com>
16390         Make sure eldoc can be turned off properly.
16391         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16392         eldoc-mode.
16393         (eldoc-display-message-p): Revert last change.
16394         (eldoc-display-message-no-interference-p)
16395         (eldoc-print-current-symbol-info): Tweak.
16397 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
16399         * doc-view.el (doc-view-new-window-function): Check the new window
16400         overlay's display property instead the char property of the
16401         buffer's first char.  Use `with-selected-window' instead of
16402         `save-window-excursion' with `select-window'.
16403         (doc-view-document->bitmap): Check the current doc-view overlay's
16404         display property instead the char property of the buffer's first char.
16406 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
16408         Automate the build of ja-dic.el (Bug#13984).
16409         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16410         from the input, rather than assume that it's been done for us by the
16411         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
16412         the current date into a ja-dic.el comment, as that complicates
16413         regression testing.
16415 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16417         * whitespace.el: Fix double evaluation.
16418         (whitespace-space, whitespace-hspace, whitespace-tab)
16419         (whitespace-newline, whitespace-trailing, whitespace-line)
16420         (whitespace-space-before-tab, whitespace-indentation)
16421         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16422         obsolete defvars.
16423         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16424         (whitespace-color-on): Use a single font-lock-add-keywords call.
16425         Fix double-evaluation of face variables.
16427 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
16429         * net/tramp-adb.el (tramp-adb-parse-device-names):
16430         Use `start-process' instead of `call-process'.  Otherwise, the
16431         function might be blocked under MS Windows.  (Bug#13299)
16433 2013-03-17  Leo Liu  <sdl.web@gmail.com>
16435         Extend eldoc to display info in the mode-line.  (Bug#13978)
16436         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16437         (eldoc-mode-line-string): New variable.
16438         (eldoc-minibuffer-message): New function.
16439         (eldoc-message-function): New variable.
16440         (eldoc-message): Use it.
16441         (eldoc-display-message-p)
16442         (eldoc-display-message-no-interference-p):
16443         Support eldoc-post-insert-mode.
16445         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16446         (eval-expression): Run it.
16448 2013-03-17  Roland Winkler  <winkler@gnu.org>
16450         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16451         strings in the list of return values.
16453 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
16455         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16456         radix before checking for HMS forms.
16458 2013-03-16  Leo Liu  <sdl.web@gmail.com>
16460         * progmodes/scheme.el: Add indentation and font-locking for λ.
16461         (Bug#13975)
16463 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16465         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16466         token before point (bug#13942).
16468 2013-03-16  Leo Liu  <sdl.web@gmail.com>
16470         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
16472 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
16474         * startup.el (command-line-normalize-file-name): Fix handling of
16475         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
16476         <xfq.free@gmail.com> in
16477         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16479 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
16481         Sync with Tramp 2.2.7.
16483         * net/trampver.el: Update release number.
16485 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
16487         * doc-view.el: Fix bug#13887.
16488         (doc-view-insert-image): Don't modify overlay associated to
16489         non-live windows, and implement horizontal centering of image in
16490         case it's smaller than the window.
16491         (doc-view-new-window-function): Force redisplay of new windows on
16492         doc-view buffers.
16494 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
16496         * saveplace.el (save-place-alist-to-file): Don't sort
16497         `save-place-alist', just pretty-print it (bug#13882).
16499 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
16501         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16502         Check whether `default-file-name-coding-system' is bound.
16503         It isn't in XEmacs.
16505 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16507         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16508         backquotes for `obsolete' (bug#13929).
16510         * international/mule.el (find-auto-coding): Include file name in
16511         obsolescence warning (bug#13922).
16513 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
16515         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16516         for CFEngine 3-specific indentation.
16517         (cfengine3-indent-line): Use it.  Fix up category regex.
16518         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16520 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16522         * type-break.el (type-break-file-name):
16523         * textmodes/remember.el (remember-data-file):
16524         * strokes.el (strokes-file):
16525         * shadowfile.el (shadow-initialize):
16526         * saveplace.el (save-place-file):
16527         * ps-bdf.el (bdf-cache-file):
16528         * progmodes/idlwave.el (idlwave-config-directory):
16529         * net/quickurl.el (quickurl-url-file):
16530         * international/kkc.el (kkc-init-file-name):
16531         * ido.el (ido-save-directory-list-file):
16532         * emulation/viper.el (viper-custom-file-name):
16533         * emulation/vip.el (vip-startup-file):
16534         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16535         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16537 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
16539         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16540         * language/thai-word.el: Switch to UTF-8.
16542 See ChangeLog.16 for earlier changes.
16544 ;; Local Variables:
16545 ;; coding: utf-8
16546 ;; End:
16548   Copyright (C) 2011-2014 Free Software Foundation, Inc.
16550   This file is part of GNU Emacs.
16552   GNU Emacs is free software: you can redistribute it and/or modify
16553   it under the terms of the GNU General Public License as published by
16554   the Free Software Foundation, either version 3 of the License, or
16555   (at your option) any later version.
16557   GNU Emacs is distributed in the hope that it will be useful,
16558   but WITHOUT ANY WARRANTY; without even the implied warranty of
16559   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16560   GNU General Public License for more details.
16562   You should have received a copy of the GNU General Public License
16563   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.