New macro `define-inline'.
[emacs.git] / lisp / ChangeLog
blob41b3ddbc3aa7e69ef452a23372e89fc814f174c2
1 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * emacs-lisp/inline.el: New file.
5 2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
7         * vc/vc.el, vc-hooks.el, and all backends: API simplification;
8         vc-state-heuristic is no longer a public method, having been
9         removed where it is redundant, unnecessary, or known buggy.
10         This eliminated all backends except CVS.  Eliminates bug#7850.
12         * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
13         Eliminate vc-mistrust-permissions.  It was only relevant to the
14         RCS and SCCS back ends and defaulted to t. Code now always
15         mistrusts permissions - by actual measurement the effect on
16         performance is negligible. As a side effect bug#11490 is now
17         irrelevant.
19         * vc/vc.el, vc-hooks.el, and all backends: API simplification;
20         vc-workfile-unchanged-p is no longer a public method (but the RCS
21         and SCCS back ends retain it as a private method used in state
22         computation). This method was redundant with vc-state and usually
23         implemented as a trivial call to same. Fixes the failure mode
24         described in bug#694.
26         * vc/vc.el and all backends: API simplification; init-revision is
27         gone, and vc-registered functions no longer take an
28         initial-revision argument.
30 2014-11-29  Glenn Morris  <rgm@gnu.org>
32         * vc/vc-src.el (vc-src, vc-src-diff-switches)
33         (vc-src-master-templates): Fix :version tags.
35 2014-11-29  Paul Rankin  <paul@tilk.co>  (tiny change)
37         * outline.el (outline-move-subtree-down): Refactor and improve code.
39 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
40             Stefan Monnier  <monnier@iro.umontreal.ca>
42         * outline.el (outline-move-subtree-down): Make sure we can move
43         forward to find the end of the subtree and the insertion point
44         (bug#19102).
46 2014-11-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>
48         * progmodes/python.el (python-shell-completion-setup-code):
49         Use __builtin__ module (or builtins in Python 3) and catch all errors
50         when importing readline and rlcompleter.
52 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
54         * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
55         (todo-revert-buffer): New function.
56         (todo-modes-set-1): Use it as the buffer-local value of
57         revert-buffer-function.
59 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
61         * calendar/todo-mode.el (todo-mode): If called interactively, just
62         display a message saying to call todo-show to enter Todo mode
63         (Bug#19112).
65 2014-11-29  Dmitry Gutov  <dgutov@yandex.ru>
67         * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
68         (Bug#18579)
70         * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
71         files.  (Bug#18579)
73 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
75         * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
76         remote `buffer-file-name'.
78 2014-11-29  Leo Liu  <sdl.web@gmail.com>
80         * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
82 2014-11-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>
84         Set PYTHONUNBUFFERED on shell startup.
86         * progmodes/python.el (python-shell-unbuffered): New var.
87         (python-shell-calculate-process-environment): Use it.
89 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
91         * net/tramp.el (tramp-action-password): Clean password on subsequent
92         attempts even if there was no wrong password indication.  (Bug#19047)
94         * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
95         fallback.
96         (tramp-open-connection-setup-interactive-shell): No need to check
97         for nil as `tramp-get-remote-locale' return value.
99 2014-11-29  Eli Zaretskii  <eliz@gnu.org>
101         * vc/vc-git.el (vc-git-command, vc-git--call):
102         Bind coding-system-for-read and coding-system-for-write to
103         vc-git-commits-coding-system.
104         (vc-git-previous-revision): Use "~1" instead of "^", since the
105         latter is a special character for MS-Windows system shells.
107 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
109         Improve XEmacs compatibility.
111         * net/tramp.el (tramp-autoload-file-name-handler):
112         Wrap `temporary-file-directory' by `symbol-value', it doesn't
113         exist in XEmacs.
114         (tramp-read-passwd): Don't use `with-timeout-suspend' and
115         `with-timeout-unsuspend' if they don't exist, like in XEmacs.
116         (tramp-time-less-p, tramp-time-subtract): Remove functions.
117         (tramp-handle-file-newer-than-file-p, tramp-time-diff):
118         * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
119         * net/tramp-cache.el (tramp-get-file-property):
120         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
121         Use `time-less-p' and `time-subtract, respectively.
123         * net/tramp-adb.el (top): Do not require time-date.el.
125         * net/tramp-compat.el (top): Require time-date.el for XEmacs.
127         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
128         Check, whether `utf-8' is a valid coding system.
130 2014-11-29  Eli Zaretskii  <eliz@gnu.org>
132         * vc/vc.el (vc-retrieve-tag): Doc fix.
134 2014-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
136         * simple.el (execute-extended-command--shorter): Fix the "M-p" case
137         (bug#19152).
139 2014-11-28  Martin Rudalics  <rudalics@gmx.at>
141         Fix two issues around help-window-select.  (Bug#11039) (Bug#19012)
142         * help.el (help-window-old-frame): New variable.
143         (help-window-select): Default to nil (Bug#11039).
144         Rewrite doc-string.
145         (help-window-setup): When the help window appears on another
146         frame and `help-window-select' is non-nil, give that frame input
147         focus too (Bug#19012).
148         (with-help-window): Store selected frame in
149         help-window-old-frame.
151 2014-11-28  Ulf Jasper  <ulf.jasper@web.de>
153         * net/newst-treeview.el (newsticker--treeview-load): Take care of
154         nil value for `newsticker-groups-filename'.
156 2014-11-28  Daiki Ueno  <ueno@gnu.org>
158         * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
159         (epa-sign-region, epa-encrypt-region):
160         Use `epg-context-set-{passphrase,progress}-callback', instead of
161         `setf'.  This partially reverts commit 9e48a95c (bug#19150).
162         Reported by José A. Romero L.
164 2014-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
166         * net/eww.el (eww-restore-history):
167         Bind `inhibit-modification-hooks' instead of `after-change-functions'.
169 2014-11-27  Ulf Jasper  <ulf.jasper@web.de>
171         * net/newst-backend.el (newsticker--parse-atom-1.0):
172         Handle embedded (x)html in summary node.
174 2014-11-27  Sam Steingold  <sds@gnu.org>
176         * menu-bar.el (menu-bar-open): When everything else fails,
177         use (mouse-menu-bar-map).
179 2014-11-27  Ulf Jasper  <ulf.jasper@web.de>
181         * net/newst-treeview.el (newsticker-groups-filename):
182         Change default value to nil.  Point out that variable is obsolete in doc
183         string.
184         (newsticker--treeview-load): Change wording of the questions the
185         user is asked when `newsticker-groups-filename' is found to be
186         used and we offer to read and remove the groups file. (bug#19165)
188 2014-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
190         * net/eww.el (eww): Record the new URL immediately, so that if the
191         HTTP fetch fails, we have the right URL in the buffer.
192         (eww-process-text-input): Don't shorten the input field if
193         deleting at the last character (bug#19085).
194         (eww-restore-history): Inhibit change functions while restoring
195         the history.
196         (eww-process-text-input): Fix deletion at the start of the field, too.
197         (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
198         (eww-process-text-input): Try to keep track of the size more reliably.
200         * dom.el (dom-pp): New function.
202 2014-11-27  Eli Zaretskii  <eliz@gnu.org>
204         * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
205         Don't assume --long is the default for "bzr log", always specify
206         it explicitly, in case the user defined an alias for 'log' that
207         uses some other format.
209 2014-11-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
211         * progmodes/python.el (python-eldoc--get-doc-at-point):
212         Strip shell output before returning.  (bug#18794)
214 2014-11-27  Dmitry Gutov  <dgutov@yandex.ru>
216         Fix indentation before `!=' and after `+='.  Originally reported
217         in https://github.com/mooz/js2-mode/issues/174.
218         * progmodes/js.el (js--indent-operator-re): Make assignments and
219         (in)equality operator a separate case.
220         (js--continued-expression-p): Escape the second `+' in the regexp.
222 2014-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
224         * window.el (handle-select-window): Deactivate shift-region (bug#19003).
226 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
228         * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
229         when querying about new certificates.
231         * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
233         * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
234         can be strings.
235         (dom-elements): Protect against non-text nodes.
236         (dom-non-text-children): New function.
238         * net/eww.el (eww-tag-title): Use `dom-text'.
240 2014-11-26  Sam Steingold  <sds@gnu.org>
242         * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
244 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
246         * net/eww.el (eww-highest-readability): More dom.el fixes.
248 2014-11-26  Ulf Jasper  <ulf.jasper@web.de>
250         * net/newst-backend.el (newsticker--parse-generic-items):
251         Take care of UIDs when adding elements to cache.
253 2014-11-26  Alan Mackenzie  <acm@muc.de>
255         Remove spurious reference to symbol category_properties.
256         * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
258 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
260         * net/eww.el: Use the new dom.el accessors throughout.
262         * net/shr.el: Ditto.
264         * dom.el: New file.
266 2014-11-26  Glenn Morris  <rgm@gnu.org>
268         * arc-mode.el (archive-visit-single-files): Add :version.
270 2014-11-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
272         * net/nsm.el (nsm-format-certificate): Don't bug out on missing
273         elements.
274         (nsm-warnings-ok-p): The new version of this function always
275         returned nil when everything was OK.
277 2014-11-25  Teodor Zlatanov  <tzz@lifelogs.com>
279         * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
281         * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
282         (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
284 2014-11-20  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
286         * emacs-lisp/byte-run.el (function-put): Match argument names to
287         docstring.
289 2014-11-24  Sam Steingold  <sds@gnu.org>
291         * vc/vc-hooks.el (vc-directory-exclusion-list):
292         Fix a trivial typo (bug#19171).
294 2014-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
296         * vc/vc-hooks.el (vc-state-base-face): Don't override
297         mode-line-inactive.
299 2014-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
301         * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
302         (eww-process-text-input): Inhibit read only so that input fields
303         don't get shortened (bug#19085).
305 2014-11-24  Leo Liu  <sdl.web@gmail.com>
307         * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
309         * window.el (with-temp-buffer-window)
310         (with-current-buffer-window, with-displayed-buffer-window):
311         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
312         * emacs-lisp/cl-lib.el (substring):
313         * emacs-lisp/cl-extra.el (cl-getf): Use it.
315 2014-11-24  Eli Zaretskii  <eliz@gnu.org>
317         * isearch.el (isearch-update): Don't assume
318         pos-visible-in-window-p will return nil when point is hscrolled
319         out of view.  (Bug#19157)
321 2014-11-20  Andrey Kotlarski  <m00naticus@gmail.com>
323         * net/eww.el (eww-browse-url): Optionally create new eww buffer.
324         (eww-follow-link): Follow in new buffer in case of prefix
325         argument, open externally with double prefix (bug#19130).
327 2014-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
329         * net/eww.el (eww-display-html): Decode the document-defined charset.
330         (eww): Pop to the *eww* buffer immediately after executing the
331         `M-x eww' command to avoid having buffers pop up later.
332         (eww-display-html): Don't pop the *eww* buffer.
333         (eww-display-raw): Ditto.
334         (eww-display-image): Ditto.
335         (eww-follow-link): Make going to #targets in the page work again.
337 2014-11-23  Ivan Shmakov  <ivan@siamics.net>
339         * net/eww.el (eww-suggest-uris): New variable.
340         (eww-suggested-uris): New function.
341         (eww): Default to URL under point.
342         (eww-links-at-point): New function.
344 2014-11-20  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
346         * net/eww.el (eww-add-bookmark): Fix bookmark titles.
348 2014-11-17  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
350         * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
352 2014-11-23  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
354         * net/eww.el (eww-set-character-encoding): New command and keystroke.
355         (eww-display-raw): Use it (bug#16225).
357 2014-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
359         * net/nsm.el (network-security-level): Rename from
360         `nsm-security-level' and documented.
362         * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
363         we're sending a password.
365         * net/nsm.el: New file that implements a Network Security Manager.
367         * net/network-stream.el (open-network-stream): Add a new
368         :warn-unless-encrypted parameter.
369         (network-stream-open-plain): Allow warning unless encrypted.
370         (network-stream-open-starttls): Call the Network Security Manager.
371         (network-stream-open-tls): Ditto.
373 2014-11-23  Leo Liu  <sdl.web@gmail.com>
375         * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
376         (calendar-chinese-to-absolute-for-diary)
377         (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
378         Handle leap months in Chinese calendar.  (Bug#18953)
380 2014-11-22  Alan Mackenzie  <acm@muc.de>
382         Fix error with `mark-defun' and "protected:" in C++ Mode.
383         Fixes: debbugs:19134.
385         * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
386         return code of (label) from c-beginning-of-decl-1.
388 2014-11-22  Ulf Jasper  <ulf.jasper@web.de>
390         * net/newst-backend.el (newsticker--sentinel-work):
391         Tell `libxml-parse-xml-region' to discard comments. Fixes bug#18787.
393 2014-11-22  Michael Albinus  <michael.albinus@gmx.de>
395         * net/tramp-sh.el (tramp-sh-handle-start-file-process)
396         (tramp-sh-handle-process-file): Propagate `process-environment'.
398         * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
399         Tramp propagates environment variables now.
401 2014-11-22  Eric S. Raymond  <esr@snark>
403         * vc/vc-filewise.el: New file to isolate code used only by the
404         file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
405         live in vc.el and certainly not in vc-hooks.el.
407         * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name  -> vc-master-name.
408         This is preaparatory to isolating all the 'master' functions
409         used only by the file-oriented back ends.  With this done first,
410         the substantive diffs will be easier to read.
412 2014-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
414         * play/morse.el (nato-alphabet): Mark URL in docstring in a way
415         that is recognized by `help-mode'.
417 2014-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
419         * desktop.el (desktop-create-buffer): Use activate-mark to set
420         `mark-active' (bug#19058).
422 2014-11-21  Eric S. Raymond  <esr@snark>
424         * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
425         nil state.
427 2014-11-21  Eli Zaretskii  <eliz@gnu.org>
429         * vc/vc.el (vc-deduce-fileset): Support invocation from
430         *vc-change-log* buffer.  (Bug#19084)
432 2014-11-13  Matthew Leach  <matthew@mattleach.net>
434         * arc-mode.el (archive-visit-single-files): New.
435         (archive-mode): Visit file if archive contains a single file.
436         (Bug#1702)
438 2014-11-21  Ulrich Müller  <ulm@gentoo.org>
440         * vc/vc.el: Fix a typo in the commentary.
442 2014-11-20  Eric S. Raymond  <esr@snark.thyrsus.com>
444         * vc/vc-src.el, vc/vc.el: Added support for SRC.  Needs more
445         testing and a real log-view mode.
447         * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
448         * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
449         * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
450         checkout methods; where it matters (which is only in SCCS and RCS)
451         files are always checked out editable.  This may actually have
452         been dynamically true already - it looks like the vc-next-action
453         code evolved past visiting the other case.  Tested with RCS.
455         * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
456         * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
457         * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
458         argument from the backend checkin methods.  Only the RCS, SCCS,
459         and CVS back ends tried to do anything with it, and that code was
460         never exercised.  Chiseling away the cruft of decades...
462 2014-11-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
464         * net/eww.el (eww-render): Remove a no-op :title setting.
466 2014-11-19  Ivan Shmakov  <ivan@siamics.net>
468         * net/eww.el (eww-history-limit): New variable.
469         (eww-save-history): Use it (bug#19105).
470         (eww-reload): Reload the page in the right buffer.
472 2014-11-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
474         * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
476 2014-11-19  Ivan Shmakov  <ivan@siamics.net>
478         * net/eww.el (eww-desktop-remove-duplicates)
479         (eww-restore-desktop, eww-restore-reload-prompt): New variables.
480         (eww-mode): Set up desktop mode (bug#18010).
481         (eww-desktop-data-save, eww-desktop-data-1)
482         (eww-desktop-history-duplicate, eww-desktop-misc-data)
483         (eww-restore-desktop): New functions.
485 2014-11-19  Eli Zaretskii  <eliz@gnu.org>
487         * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
488         correct buffer.  (Bug#19101)
490 2014-11-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
492         * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
493         `diff-switches' if `vc-git-diff-switches' is nil.  (Bug#19099)
495 2014-11-19  Artur Malabarba  <bruce.connor.am@gmail.com>
497         * lisp/ido.el (ido-bury-buffer-at-head): New command.
498         (ido-buffer-completion-map): Bind it to C-S-b.
500 2014-11-18  Juri Linkov  <juri@linkov.net>
502         * simple.el (next-line-or-history-element): Wrap next-line
503         in with-no-warnings.
504         (previous-line-or-history-element): Wrap previous-line
505         in with-no-warnings.
507 2014-11-18  Juri Linkov  <juri@linkov.net>
509         * progmodes/grep.el (grep-compute-defaults):
510         Compute grep-highlight-matches before its use.
512 2014-11-18  Juri Linkov  <juri@linkov.net>
514         * replace.el (query-replace-from-to-separator): Turn defvar into
515         defcustom.  Wrap char-displayable-p in ignore-errors because an
516         attempt to autoload char-displayable-p fails during pre-loading.
517         Move (propertize "\0" ... 'separator t) out of customizable part
518         to query-replace-read-from.
519         (query-replace-read-from): Call custom-reevaluate-setting on
520         query-replace-from-to-separator to reevaluate the separator
521         depending on the return value of char-displayable-p.
522         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
524 2014-11-18  Juri Linkov  <juri@linkov.net>
526         * bindings.el (minibuffer-local-map): Rebind [down] from
527         next-history-element to next-line-or-history-element, and [up]
528         from previous-history-element to previous-line-or-history-element.
530         * simple.el (next-line-or-history-element)
531         (previous-line-or-history-element): New commands.
532         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
534 2014-11-18  Leo Liu  <sdl.web@gmail.com>
536         * emacs-lisp/nadvice.el (define-advice): New macro.
537         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
538         Add define-advice.
539         (lisp-font-lock-keywords-1): Add define-advice.
541 2014-11-18  Daiki Ueno  <ueno@gnu.org>
543         * epg.el (epg-context): New slot EDIT-CALLBACK.
544         (epg--process-filter): Call EDIT-CALLBACK when editing a key.
545         (epg-reset): Reset EDIT-CALLBACK of the context.
546         (epg-start-edit-key): New function.
547         (epg-edit-key): New function.
549 2014-11-18  Paul Eggert  <eggert@cs.ucla.edu>
551         Port new time stamp handling to Emacs 23.2.
552         This fix is for Gnus.  Problem reported by Katsumi Yamaoka.
553         * calendar/time-date.el (time-add, time-subtract, time-less-p):
554         Use eval-and-compile, not eval-when-compile.
556 2014-11-18  Daiki Ueno  <ueno@gnu.org>
558         * epg.el (epg-context-set-passphrase-callback)
559         (epg-context-set-progress-callback): Check if the CALLBACK
560         argument is a function, instead of a cons.
562 2014-11-18  Daiki Ueno  <ueno@gnu.org>
564         * epa-file.el (epa-file-insert-file-contents)
565         (epa-file-write-region): Remove redundant check of
566         epa-pinentry-mode.
567         * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
568         (epa-sign-region, epa-encrypt-region): Remove redundant check of
569         epa-pinentry-mode.
571 2014-11-18  Daiki Ueno  <ueno@gnu.org>
573         * epa-file.el (epa-file-insert-file-contents): Don't show
574         "*Error*" buffer if input file does not exist.
575         Reported by Herbert J. Skuhra.
577 2014-11-18  Paul Pogonyshev  <pogonyshev@gmail.com>
578             Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
580         * progmodes/cc-langs.el: Support some of the new keywords in C++11.
581         An alternative version of the patch from bug#13871.
582         (c-operators): Add "alignof".
583         (c-primitive-type-kwds): Add "char16_t", "char32_t".
584         (c-type-modifier-kwds): Add "constexpr", "noexcept".
585         (c-modifier-kwds): Add "thread_local".
586         (c-constant-kwds): Add "nullptr".
588 2014-11-17  Michal Nazarewicz  <mina86@mina86.com>
590         * textmodes/tildify.el (tildify-pattern, tildify-space-string):
591         New variables for specifying tildify pattern and representation of
592         a hard space -- a no-break space by default -- respectively.
593         Being buffer-local they are much easier to handle than
594         `tildify-string-alist' and `tildify-pattern-alist' respectively
595         that have been used so far.  They also works better with derived
596         modes.
597         (tildify-foreach-region-function): New variable specifying
598         a function determining portions of buffer that should be
599         tildified.  It allows major modes to create a filtering function
600         more elaborate than a set of regular expressions.  Initialised to
601         `tildify--deprecated-ignore-evironments' by default to handle now
602         deprecated `tildify-ignored-environments-alist' variable.
603         (tildify--foreach-region): A new function that takes
604         `tildify-foreach-region-function' into account and calls callback
605         for regions of the buffer that should be tildified.
606         (tildify-foreach-ignore-environments): A new function which can be
607         partially applied and used as `tildify-foreach-region-function'.
608         (tildify-ignored-environments-alist, tildify-pattern)
609         (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
610         (tildify--find-env): Rename from `tildify-find-env' and mark as
611         obsolete.
612         (tildify--deprecated-ignore-evironments): New function,
613         immediately marked as obsolete, used to handle deprecated
614         `tildify-ignored-environments-alist'.
616         * textmodes/tex-mode.el (tex-common-initialization):
617         Set `tildify-space-string' and `tildify-foreach-region-function'
618         variables in all variants of TeX mode since `tildify-string-alist'
619         and `tildify-ignored-environments-alist' are now empty by default.
621         * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
622         If encoding supports it use no-break space instead of character
623         entity; this changes previous default which used a numeric
624         reference.
626         * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
627         If encoding does not support no-break space, use numeric reference;
628         this changes previous default which used named entity (“&nbsp;”)
629         in HTML mode.
631 2014-11-17  Ulf Jasper  <ulf.jasper@web.de>
633         * calendar/icalendar.el (icalendar-export-alarms):
634         New customizable variable.  (Bug#5433)
635         (icalendar-export-region): Export alarms as specified in
636         `icalendar-export-alarms'.
637         (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
638         New functions for exporting alarms.
640 2014-11-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
642         * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
644 2014-11-17  Paul Eggert  <eggert@cs.ucla.edu>
646         Port new time stamp handling to old Emacs and to XEmacs.
647         This is needed for Gnus, which copies time-date.el and which
648         runs on older Emacs implementations.
649         * calendar/time-date.el (with-decoded-time-value):
650         Handle 'nil' and floating-point arg more compatibly with new Emacs.
651         (encode-time-value, with-decoded-time-value):
652         Obsolete only if new Emacs.
653         (time-add, time-subtract, time-less-p): Define if not new Emacs.
655         Improve time stamp handling, and be more consistent about it.
656         This implements a suggestion made in:
657         http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
658         Among other things, this means timer.el no longer needs to
659         autoload the time-date module.
660         * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
661         * arc-mode.el (archive-ar-summarize):
662         * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
663         * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
664         (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
665         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
666         * proced.el (proced-time-lessp):
667         * timezone.el (timezone-time-from-absolute):
668         * type-break.el (type-break-schedule, type-break-time-sum):
669         Simplify by using new functionality.
670         * calendar/cal-dst.el (calendar-next-time-zone-transition):
671         Do not return time values in obsolete and undocumented (HI . LO)
672         format; use (HI LO) instead.
673         * calendar/time-date.el (with-decoded-time-value):
674         Treat 'nil' as current time.  This is mostly for XEmacs.
675         (encode-time-value, with-decoded-time-value): Obsolete.
676         (time-add, time-subtract, time-less-p): Use no-op autoloads, for
677         XEmacs.  Define only if XEmacs, as they're now C builtins in Emacs.
678         * ldefs-boot.el: Update to match new time-date.el
679         * proced.el: Do not require time-date.
681 2014-11-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
683         * net/eww.el (eww-mode): Make the buffer read-only.
684         (eww-form-text): Inhibit read-only-ness in text input fields
685         (bug#16476).
687 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
689         * simple.el (execute-extended-command--shorter): Cut search here.
690         (execute-extended-command): Instead of here.
692 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
694         * progmodes/python.el (python-mode): Avoid use of set-local to
695         keep Emacs 24.x compatibility.
697 2014-11-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
699         * net/shr.el (shr): Move to the new defgroup `web'.
701         * net/eww.el (eww): Ditto.
703         * simple.el (execute-extended-command): Don't show the help
704         message if the binding isn't significantly shorter than the
705         M-x command the user typed (bug#19013).
707 2014-11-16  Ulf Jasper  <ulf.jasper@web.de>
709         * calendar/icalendar.el (icalendar--convert-tz-offset):
710         Return complete cons when offsets of standard time and daylight saving
711         time are equal.
712         (icalendar-export-region): Fix unbound variable warning.
714 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
716         * progmodes/python.el (run-python): Allow CMD to be optional and
717         default it to a safe command, even for Windows.  (bug#18596)
719 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
721         * progmodes/python.el (python-shell-calculate-command):
722         Rename from python-shell-parse-command.  Cleanup.
723         (run-python, run-python-internal): Use it.
724         (python-shell-calculate-pythonpath): Rename from
725         python-new-pythonpath.
726         (python-shell-calculate-process-environment): Use it.
727         (python-shell-calculate-exec-path): Add comment.
729 2014-11-16  Thierry Banel <tbanelwebmin@free.fr>  (tiny change)
731         * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
732         for date handling.
734 2014-11-16  Andreas Schwab  <schwab@linux-m68k.org>
736         * version.el (emacs-repository-get-version): Use git rev-parse
737         instead of git log.
739 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
741         * progmodes/python.el (python-indent-calculate-levels):
742         Fix indentation behavior multiline dedenter statement.  (Bug#18432)
744 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
746         * progmodes/python.el (python-indent-region):
747         Use python-indent-line and skip special cases.  (Bug#18843)
749 2014-11-16  Peder O. Klingenberg  <peder@klingenberg.no>
751         * mail/emacsbug.el (report-emacs-bug): Make a better guess at
752           envelope-from when reporting through sendmail (bug#19054).
754 2014-11-16  Oscar Fuentes <ofv@wanadoo.es>
756         Add faces for the VC modeline state indicator.
757         * lisp/vc/vc-hooks.el:
758         (vc-state-faces, vc-state-base-face)
759         (vc-up-to-date-state, vc-needs-update-state)
760         (vc-locked-state, vc-locally-added-state)
761         (vc-conflict-state, vc-removed-state)
762         (vc-missing-state, vc-edited-state):
763         New faces.
764         (vc-default-mode-line-string): Use them
766 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
768         * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
770 2014-11-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
772         * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
774 2014-11-15  Fabián Ezequiel Gallina  <fgallina@gnu.org>
776         * progmodes/python.el (python-eldoc-setup-code): Enhance string
777         type checks, simplify printing.  (Bug#18962)
779 2014-11-14  Ivan Andrus  <darthandrus@gmail.com>
781         * progmodes/python.el (python-shell-font-lock-kill-buffer):
782         (python-shell-font-lock-with-font-lock-buffer)
783         (python-shell-get-buffer, python-ffap-module-path):
784         Use `derived-mode-p' instead of equality test on `major-mode'.
786 2014-11-14  Fabián Ezequiel Gallina  <fgallina@gnu.org>
788         * progmodes/python.el (python-shell-virtualenv-root): Rename from
789         python-shell-virtualenv-path.
790         (python-shell-internal-get-process-name)
791         (python-shell-calculate-process-environment)
792         (python-shell-calculate-exec-path): Use it.
794 2014-11-14  Eli Zaretskii  <eliz@gnu.org>
796         * bindings.el (search-map): Fix last change: don't use 'kbd' in
797         bindings.el, since it is not yet loaded when bindings.el is
798         preloaded.
800 2014-11-14  Fabián Ezequiel Gallina  <fgallina@gnu.org>
802         * progmodes/python.el (python-shell-completion-get-completions):
803         Fix previous merge.
805 2014-11-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
807         * net/eww.el (eww-render): Don't set the title to the URL.
809 2014-11-13  Ulrich Müller  <ulm@gentoo.org>
811         * version.el (emacs-repository-get-version): Call `git log'
812         command with proper format argument (bug#19049).
814 2014-11-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
816         * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
818 2014-11-14  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
820         * net/eww.el (eww-search-words): New command (bug#16258).
822 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
824         * net/shr.el (shr-inhibit-images): Add a doc string.
826         * net/eww.el (eww-after-render-hook): New variable.
827         (eww-render): Use it.
829         * net/shr.el (shr-descend): Don't descend further than
830         `max-specpdl-size' allows (bug#16587).
831         (shr-depth): New variable.
832         (shr-warning): New variable.
834 2014-11-13  Ivan Shmakov  <ivan@siamics.net>
836         * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
837         (shr-expand-url): Expand absolute URLs correctly (bug#17958).
839 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
841         * net/eww.el (eww): Add comment to clarify.
843         * net/shr.el (shr-parse-image-data): Remove blocked bits from
844         external SVG images.
845         (shr-tag-object): Display images in <object> forms (bug#16244).
846         (shr-tag-table): Also insert <objects> after the tables.
848 2014-11-13  Michael Albinus  <michael.albinus@gmx.de>
850         * vc/vc-hg.el (vc-hg-state): Disable pager.  (Bug#18940)
852 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
854         * net/eww.el (eww-form-file): Fix version number.
856 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
858         * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
860 2014-11-10  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
862         * net/eww.el(eww-form-file(defface)): New defface of file upload form.
863         (eww-submit-file): New key map of file upload.
864         (eww-form-file): New file upload button and file name context.
865         (eww-select-file): Select file and display selected file name.
866         (eww-tag-input): Handle input tag of file type.
867         (eww-update-field): Add point offset.
868         (eww-submit): Add submit with multipart/form-data.
870 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
872         * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
873         Allow taking a buffer to render data in.  This allows using several
874         eww buffers (bug#16211).
876 2014-11-10  Charles Rendleman  <carendle@gmail.com>  (tiny change)
878         * net/eww.el (eww-download-callback): Save only the file contents,
879         not the headers.
881 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
883         * net/eww.el (eww-data): New plist to store all the data relevant
884         to a single page, used throughout the file instead of the
885         variables `eww-current-url', `eww-current-dom',
886         `eww-current-source', and `eww-current-title'.
887         (eww-readable): Copy over pertinent data from the parent page.
888         (eww-save-history): Don't let the history grow infinitely.
890         * net/eww.el: Remove `eww-next-url', `eww-previous-url',
891         `eww-up-url', `eww-home-url', `eww-start-url' and
892         `eww-contents-url' and put the data into the `eww-data' plist.
893         This allow restoring these values after going back in the history.
895 2014-11-10  Sylvain Chouleur  <sylvain.chouleur@gmail.com>  (tiny change)
897         Allow VTIMEZONE where daylight and standard time zones are equal.
898         See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
899         * calendar/icalendar.el (icalendar--convert-tz-offset):
900         Support timezone without daylight saving time.
902 2014-11-10  Glenn Morris  <rgm@gnu.org>
904         * startup.el (command-line): Handle nil elements in load-path.
906 2014-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
908         * help.el (view-lossage): Include the actual commands run.
910 2014-11-10  Dmitry Gutov  <dgutov@yandex.ru>
912         * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
913         no state is specified.  (Bug#18964)
915 2014-11-09  Eric Ludlam  <zappo@gnu.org>
917         * emacs-lisp/eieio-custom.el (eieio-customize-object):
918         Set eieio-cog (current group) to g, which is an improved form of input
919         group.
921 2014-11-09  Juri Linkov  <juri@jurta.org>
923         * isearch.el (isearch-message-prefix): Show "Multi-file" and
924         "Multi-buffer" instead of "Multi".  (Bug#13592)
926         * misearch.el (multi-isearch-file-list):
927         Autoload multi-isearch-buffer-list and multi-isearch-file-list.
928         (multi-isearch-end): Reset multi-isearch-buffer-list and
929         multi-isearch-file-list to nil.
931 2014-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
933         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
934         Don't call byte-compile-preprocess since the result will go through
935         cconv.
936         (byte-compile-output-docform): Handle uninterned `name' correctly.
937         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
938         to circumvent byte-compiler bug.
940         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
941         (macroexp--compiler-macro): Remove left-over debug code.
943         * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
945 2014-11-08  Juri Linkov  <juri@jurta.org>
947         * simple.el (shell-command): Use buffer-name when output-buffer is
948         a buffer.  (Bug#18096)
950 2014-11-08  Juri Linkov  <juri@jurta.org>
952         * minibuffer.el (minibuffer-completion-help): Compare this-command
953         with completion-at-point.  (Bug#17809)
955 2014-11-08  Glenn Morris  <rgm@gnu.org>
957         * emacs-lisp/bytecomp.el (byte-compile-report-error):
958         Allow the argument to be a string.  Due to the vague doc,
959         it was already being used this way.
961 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
963         * net/tramp.el (tramp-check-cached-permissions): Include hop in
964         the constructed Tramp file name.  (Bug#18943)
966 2014-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
968         * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
969         (bug#18952).
970         (cua-set-mark, cua--post-command-handler-1):
971         * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
973 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
975         * files.el (file-name-non-special): Wrap the call of
976         `insert-file-contents' by `unwind-protect', in order to set the
977         buffer's file name anyway.  (Bug#18891)
979 2014-11-08  Alan Mackenzie  <acm@muc.de>
981         Fix wrong bound to c-font-lock-declarators.  Fixes bug #18948.
982         * progmodes/cc-fonts.el (c-font-lock-declarations):
983         Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
984         the buffer is sometimes narrowed to less than "limit" (e.g., in
985         the presence of macros).
987 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
989         * net/tramp.el (tramp-error-with-buffer): Show connection buffer
990         only when message appeared in minibuffer.  (Bug#18891)
992         * net/tramp-adb.el (tramp-adb-handle-file-attributes):
993         * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
994         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
995         case of errors.
997 2014-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
999         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1000         Don't compile before eval in `eval-and-compile'.
1001         (byte-compile-arglist-warn): Add check for defining macros after their
1002         first use.  Check call use even if the function is fboundp.
1004 2014-11-08  Richard Stallman  <rms@gnu.org>
1006         * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
1007         Check more carefully for mime-part specified character set.
1008         Check for mime-part Content Transfer Encoding.
1009         Notify if no armor found.
1011 2014-11-08  Martin Rudalics  <rudalics@gmx.at>
1013         * faces.el (face-set-after-frame-default): Enable running
1014         `window-configuration-change-hook'.
1016 2014-11-07  Juri Linkov  <juri@jurta.org>
1018         * replace.el: History for query replace pairs.
1019         (query-replace-defaults): Promote to a list of cons cell.  Doc fix.
1020         (query-replace-from-to-separator): New variable.
1021         (query-replace-read-from): Let-bind query-replace-from-to-history
1022         to a list of FROM-TO strings created from query-replace-defaults
1023         and separated by query-replace-from-to-separator.  Use it as
1024         the history while reading from the minibuffer.  Split the returned
1025         string by the separator to get FROM and TO parts, and add them
1026         to the history variables.
1027         (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
1028         (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
1029         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
1031         * isearch.el (isearch-text-char-description): Keep characters
1032         intact and put formatted strings with the `display' property.
1034 2014-11-07  Martin Rudalics  <rudalics@gmx.at>
1036         * cus-start.el (frame-resize-pixelwise): Fix group.
1037         (frame-inhibit-implied-resize): Add entry.
1039 2014-11-07  Daiki Ueno  <ueno@gnu.org>
1041         * epa.el (epa-pinentry-mode): New user option.
1042         (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
1043         (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
1044         * epa-file.el (epa-file-insert-file-contents)
1045         (epa-file-write-region): Respect epa-pinentry-mode.
1047 2014-11-07  Daiki Ueno  <ueno@gnu.org>
1049         * epg.el (epg--list-keys-1): Ignore fields after the 15th field
1050         (bug#18979).  Reported by Hideki Saito.
1052 2014-11-06  Daiki Ueno  <ueno@gnu.org>
1054         * emacs-lisp/package.el (package--display-verify-error): New function.
1055         (package--check-signature): Use it to display output sent to stderr.
1057 2014-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1059         * subr.el (pop): Don't call the getter twice (bug#18968).
1061         * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
1062         uses of `funcall'.
1064 2014-11-06  Daiki Ueno  <ueno@gnu.org>
1066         * epa.el (epa-error-buffer): New variable.
1067         (epa-display-error): New function.
1068         (epa-decrypt-file, epa-verify-file, epa-verify-region)
1069         (epa-delete-keys, epa-import-keys): Display output sent to stderr.
1070         (epa-sign-file, epa-sign-region, epa-encrypt-region)
1071         (epa-export-keys, epa-insert-keys): Display output sent to stderr.
1072         Use setf instead of epg-context-set-*.
1073         * epa-file.el (epa-file-insert-file-contents):
1074         Use epa-display-error instead of epa-display-info.  Mimic the behavior
1075         of jka-compr when decryption program is not found.
1076         (epa-file-write-region): Use epa-display-error instead of
1077         epa-display-info.
1079 2014-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1081         * vc/vc.el (vc-region-history): New command.
1082         (vc-print-log-internal): Use cl-some.
1084         * vc/vc-git.el (vc-git-region-history): New function.
1085         (vc-git-region-history-mode-map)
1086         (vc-git--log-view-long-font-lock-keywords)
1087         (vc-git-region-history-font-lock-keywords): New vars.
1088         (vc-git-region-history-font-lock): New function.
1089         (vc-git-region-history-mode): New major mode.
1091 2014-11-05  Tassilo Horn  <tsdh@gnu.org>
1093         * net/eww.el (subr-x): Require subr-x at compile-time because eww
1094         uses string-trim.
1096 2014-11-05  Daiki Ueno  <ueno@gnu.org>
1098         * epg.el (epg-context): Add new slot ERROR-OUTPUT.
1099         (epg-error-output): New buffer-local variable.
1100         (epg--start): Initialize epg-error-output.
1101         (epg--process-filter): Record output lines sent to stderr, in
1102         epg-error-output.
1103         (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
1104         slot of context.
1105         * epa-file.el (epa-file-insert-file-contents): On error, display
1106         output sent to stderr.
1107         (epa-file-write-region): Likewise.
1109 2014-11-05  Eli Zaretskii  <eliz@gnu.org>
1111         * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
1112         returned by load-average.
1114 2014-11-05  Michael Albinus  <michael.albinus@gmx.de>
1116         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
1117         a local copy; setting `inhibit-file-name-handlers' proper might be
1118         more performant.  (Bug#18751)
1120 2014-11-05  Glenn Morris  <rgm@gnu.org>
1122         * mail/emacsbug.el (report-emacs-bug): No longer include
1123         recent-keys in the report.  (Bug#18900)
1125 2014-11-04  Paul Eggert  <eggert@cs.ucla.edu>
1127         * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
1129 2014-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
1131         * net/eww.el (eww): Trim URL with `string-trim'.
1132         Suggested by Vibhav Pant <vibhavp@gmail.com>.
1134 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1136         * net/eww.el (eww-score-readability): Don't count comments positively.
1138         * net/shr.el (shr-retransform-dom): Typo fix.
1140         * net/eww.el (eww-score-readability): Parse SVC images correctly.
1141         (eww-display-html): Don't leave point inside forms.
1143         * net/shr.el: Ditto.
1145 2014-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1147         * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
1148         edebug-prin1-to-string already handles circularity.
1150         * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
1151         autoloading when specified as a lambda.
1153         * simple.el (execute-extended-command--last-typed): New var.
1154         (read-extended-command): Set it.
1155         Don't complete obsolete commands.
1156         (execute-extended-command--shorter-1)
1157         (execute-extended-command--shorter): New functions.
1158         (execute-extended-command): Use them to suggest shorter names.
1159         (indicate-copied-region, deactivate-mark): Use region-active-p.
1161 2014-11-03  Michael Albinus  <michael.albinus@gmx.de>
1163         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
1164         local copy of FILENAME, when it is remote.  (Bug#18751)
1166         * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
1167         an error when the command fails; the return code must indicate.
1168         (tramp-adb-send-command-and-check): Fix docstring.
1170 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1172         * net/shr.el (shr-retransform-dom): Don't ignore elements that
1173         have no children like <br />.
1175         * net/eww.el (eww-display-html): Clear `url-queue'.
1176         (eww-display-pdf): New function.
1177         (eww-render): Display PDFs with `doc-view'.
1178         (url-queue): Require `url-queue' to avoid compilation warning.
1179         (eww-colorize-region): Remove duplicate function.
1180         (eww-tag-body): Use `shr-colorize-region'.
1182 2014-11-03  Yoni Rabkin <yrk@gnu.org>
1184         * net/eww.el (eww-list-bookmarks): Autoload.
1186 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1188         * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
1190         * net/eww.el (eww-display-html): The charset is called `utf-8',
1191         not `utf8'.
1192         (eww-readable): Decode the saved text correctly.
1193         (eww-readable): Save the history before displaying so that we can
1194         go back to the non-readable version.
1195         (eww-display-html): Don't try to decode the text if we've been
1196         passed in a pre-parsed DOM.
1197         (eww-tag-title): Remove newlines and extra whitespace from the
1198         displayed title.
1200 2014-11-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1202         * net/eww.el (eww-readable): New command and keystroke.
1204         * net/shr.el (shr-retransform-dom): New function.
1206         * net/eww.el (eww-display-html): Set `eww-current-source' in the
1207         correct buffer.
1208         (eww-view-source): Use it.
1210 2014-11-02  Ivan Shmakov <ivan@siamics.net>
1212         * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
1213         (Bug#18603).
1215 2014-11-02  Brian McKenna <brian@brianmckenna.org>  (tiny change)
1217         * net/eww.el (eww-submit): Encode empty form values as "".  (Bug#17785).
1219 2014-11-02  Ivan Shmakov <ivan@siamics.net>
1221         * net/eww.el (eww): Allow "file:/file/name" URLs.  (Bug#18825).
1223 2014-11-02  Ivan Shmakov <ivan@siamics.net>
1225         * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
1226         (Bug#18834).
1228 2014-11-02  Eric Abrahamsen  <eric@ericabrahamsen.net>
1230         * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
1231         use as advice.
1232         (edebug-setup-hook): Advise `edebug-prin1-to-string'.  (Bug#18897)
1234 2014-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1236         * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
1237         (bug#18821).
1238         * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
1240 2014-11-01  Michael R. Mauger  <michael@mauger.com>
1242         * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
1243         syntax, add new keywords, and parse longer keywords first.
1244         (sql-redirect-one): Protect against empty command.
1245         (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
1246         to SQL.  (Bug#14759)
1248 2014-11-01  Michael R. Mauger  <michael@mauger.com>
1250         * sql.el (sql-interactive-mode, sql-stop): Correct fix for
1251         Bug#16814 with let-bind of comint-input-ring variables around read
1252         and save functions.
1254 2014-11-01  Michael Albinus  <michael.albinus@gmx.de>
1256         * net/tramp-cache.el (tramp-get-file-property)
1257         (tramp-set-file-property): Check that `tramp-cache-get-count-*'
1258         and `tramp-cache-set-count-*' are bound.  Otherwise, there might
1259         be compiler warnings.
1261         * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
1262         Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
1264 2014-11-01  Eli Zaretskii  <eliz@gnu.org>
1266         * progmodes/compile.el (compilation-mode): Turn off deferred
1267         fontifications locally.  (Bug#18856)
1269 2014-11-01  Wolfgang Jenkner  <wjenkner@inode.at>
1271         * net/tramp-sh.el (tramp-send-command): Fix the case where the
1272         remote-echo connection property is non-nil (bug#18858).
1274 2014-11-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1276         * simple.el (newline): Add assertions to try and help catch bug#18913.
1278         * emulation/cua-base.el (cua-delete-region): Use delete-active-region
1279         (bug#18886).
1280         (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
1282 2014-11-01  Kim F. Storm  <storm@cua.dk>
1284         Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
1285         * delsel.el (delete-selection-save-to-register)
1286         (delsel--replace-text-or-position): New vars.
1287         (delete-active-region): Use them.
1288         (delete-selection-repeat-replace-region): New command, moved from
1289         cua-base.el.
1290         * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
1291         (cua-repeat-replace-region): Move command to delsel.el.
1292         (cua--init-keymaps): Update binding accordingly.
1293         (cua-mode): Set delete-selection-save-to-register.
1295 2014-11-01  Alan Mackenzie  <acm@muc.de>
1297         Make blink-parens work with a closing template delimiter.
1298         * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
1299         before calling blink-paren-function, so as to apply syntax-table
1300         properties to the ">".
1302 2014-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1304         * select.el (gui-get-selection): Comment: data-type ignored on NS.
1306 2014-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1308         * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
1309         (macroexp--expand-all): Unrelated tweaks.
1311         * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
1313 2014-10-30  Glenn Morris  <rgm@gnu.org>
1315         * startup.el (command-line): Remove pointless attempt to avoid
1316         statting the file-system (which expand-file-name doesn't do).
1318 2014-10-30  Daniel Colascione  <dancol@dancol.org>
1320         Add "enum class" support to C++ mode.
1321         * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
1322         (c-after-brace-list-key): New language consts/variables.
1323         * progmodes/cc-engine.el (c-looking-at-decl-block):
1324         Exclude spurious match of "enum struct" from decl-block recognition.
1325         (c-backward-colon-prefixed-type): New function.
1326         (c-backward-over-enum-header): Call above function to extend
1327         recognition of enum structure.
1329 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1331         * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
1332         (c-lang-defconst):
1333         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
1335 2014-10-30  Eli Zaretskii  <eliz@gnu.org>
1337         * progmodes/compile.el (compilation-start):
1338         If compilation-scroll-output is non-nil, don't force window-start of
1339         the compilation buffer to be at beginning of buffer.  (Bug#18874)
1341         * startup.el (fancy-about-text): Read the entire tutorial, not
1342         just its first 256 bytes.  (Bug#18760)
1344 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1346         * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
1347         * emacs-lisp/cl-extra.el: Add missing provide.
1349         * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
1350         all args are copyable (bug#18767).
1351         (=, <, >, <=, >=): Re-enable the optimization.
1353 2014-10-29  Glenn Morris  <rgm@gnu.org>
1355         * net/rcirc.el (rcirc-fill-column): Unbump :version.  Mark :risky.
1357         * version.el (emacs-bzr-version, emacs-bzr-get-version):
1358         Revert 2014-10-26 change.
1360 2014-10-29  Paul Eggert  <eggert@cs.ucla.edu>
1362         Simplify use of current-time and friends.
1363         * allout-widgets.el (allout-widgets-hook-error-handler):
1364         * calendar/appt.el (appt-display-message):
1365         * calendar/icalendar.el (icalendar--convert-float-to-ical):
1366         * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
1367         (timeclock-last-period, timeclock-day-base):
1368         * eshell/em-ls.el (eshell-ls-file):
1369         * eshell/esh-util.el (eshell-parse-ange-ls):
1370         * generic-x.el (named-database-print-serial):
1371         * net/newst-backend.el (newsticker--get-news-by-url-callback)
1372         (newsticker-get-news, newsticker--sentinel-work)
1373         (newsticker--image-get, newsticker--image-sentinel):
1374         * net/tramp-sh.el (tramp-get-remote-touch):
1375         * progmodes/opascal.el (opascal-debug-log):
1376         * textmodes/remember.el (remember-mail-date)
1377         (remember-store-in-files):
1378         * vc/vc-annotate.el (vc-annotate-display-autoscale)
1379         (vc-default-annotate-current-time):
1380         * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
1381         * vc/vc-cvs.el (vc-cvs-annotate-current-time):
1382         * vc/vc-rcs.el (vc-rcs-annotate-current-time):
1383         Omit unnecessary call to current-time.
1384         * calendar/time-date.el (time-to-seconds) [!float-time]:
1385         * vc/vc-annotate.el (vc-annotate-convert-time):
1386         Use current time if arg is nil, to be compatible with float-time.
1387         (time-date--day-in-year): New function, with most of the guts of
1388         the old time-to-day-in-year.
1389         (time-to-day-in-year): Use it.
1390         (time-to-days): Use it, to avoid decoding the same time stamp twice.
1391         * calendar/timeclock.el (timeclock-time-to-date):
1392         Arg is now optional, like current-time-string.
1393         (timeclock-update-mode-line):
1394         Don't call current-time twice to get the current time stamp,
1395         as this can lead to inconsistent results.
1396         * completion.el (cmpl-hours-since-origin):
1397         * ido.el (ido-time-stamp):
1398         * vc/vc-annotate.el (vc-annotate-convert-time):
1399         Simplify by using float-time.
1400         * completion.el (save-completions-to-file):
1401         Rename local var to avoid confusion.
1402         * net/rcirc.el (rcirc-float-time): Simplify to an alias because
1403         time-to-seconds now behaves like float-time with respect to nil arg.
1404         * subr.el (progress-reporter-do-update):
1405         Don't call float-time unless needed.
1407 2014-10-29  Leo Liu  <sdl.web@gmail.com>
1409         * net/rcirc.el (rcirc-fill-column): Use function.
1410         (rcirc-markup-fill): Remove adjustment.
1412 2014-10-28  Christopher Schmidt  <ch@ristopher.com>
1414         * calc/calc.el (quick-calc):
1415         * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
1417 2014-10-28  Sam Steingold  <sds@gnu.org>
1419         * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
1420         the sake of `window-body-width' (in addition to `frame-width').
1422 2014-10-26  Eric S. Raymond  <esr@thyrsus.com>
1424         * version.el: Fix some fallback values to conform to the actual
1425         release number.
1427 2014-10-25  Eric S. Raymond  <esr@thyrsus.com>
1429         * Makefile.in: Change some production names so they're neutral
1430         about the repository type.
1432 2014-10-25  Michael Albinus  <michael.albinus@gmx.de>
1434         * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
1435         (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
1436         during initialization.  (Bug#18774)
1438 2014-10-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1440         * ses.el (macroexp): Add require for this package, so that
1441         function `ses--cell' gets macroexp-quote --- this change was
1442         supposed to be in my previous commit, but left out by mistake.
1443         (ses--cell): Do not make formula a macroexp-quote of value when
1444         value, not formula, is *skip*.
1446 2014-10-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1448         * ses.el (macroexp): Add require for this package, so that function
1449         `ses--cell gets macroexp-quote.
1450         (ses--cell): Makes formula a macroexp-quote of value when formula
1451         is nil. The rationale of this changr is to allow in the future
1452         shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
1453         instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
1454         reference list REFLIST would be re-computed after load --- thus
1455         trading off load time against file size.
1457         * emacs-lisp/package.el (package--alist-to-plist-args):
1458         Use macroexp-quote instead of a lambda expression which has the same
1459         content as macroexp-quote.
1460         (macroexp): Add require for this package, so that function
1461         `package--alist-to-plist-args' gets macroexp-quote.
1463         * emacs-lisp/macroexp.el (macroexp-quote): New defun.
1465 2014-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1467         * term/ns-win.el (ns-store-cut-buffer-internal)
1468         (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
1470 2014-10-24  Martin Rudalics  <rudalics@gmx.at>
1472         * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
1473         Calculate increment from last position instead of window edge.
1474         Add right- and bottom-divider bindings to transient map.
1476 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1478         * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
1479         even if :predicate was nil, for the benefit of typep.
1480         Record the name of the predicate for typep's use.
1481         (cl--make-type-test): Use pcase.  Obey new
1482         cl-deftype-satisfies property.
1484         * epg.el: Use cl-defstruct.
1485         (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
1486         (epg-data-string): Define via cl-defstruct.
1487         (epg--gv-nreverse): New macro.
1488         (epg-context--make): New constructor (provided vi cl-defstruct).
1489         (epg-make-context): Rewrite using it.
1490         (epg-context-protocol, epg-context-program)
1491         (epg-context-home-directory, epg-context-armor, epg-context-textmode)
1492         (epg-context-include-certs, epg-context-cipher-algorithm)
1493         (epg-context-digest-algorithm, epg-context-compress-algorithm)
1494         (epg-context-passphrase-callback, epg-context-progress-callback)
1495         (epg-context-signers, epg-context-sig-notations, epg-context-process)
1496         (epg-context-output-file, epg-context-result, epg-context-operation)
1497         (epg-context-pinentry-mode): Define using cl-defstruct.
1498         (epg-context-set-protocol, epg-context-set-program)
1499         (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
1500         (epg-context-set-digest-algorithm)
1501         (epg-context-set-sig-notations, epg-context-set-process)
1502         (epg-context-set-output-file, epg-context-set-result)
1503         (epg-context-set-operation, epg-context-set-pinentry-mode)
1504         (epg-context-set-compress-algorithm): Remove.  Use setf instead.
1505         (epg-context-set-armor, epg-context-set-textmode)
1506         (epg-context-set-signers): Redefine using setf
1507         and declare as obsolete.
1508         (epg-context-set-passphrase-callback)
1509         (epg-context-set-progress-callback): Use setf.
1510         (epg-signature-notations): Rename from epg-sig-notations.
1511         (epg-make-signature, epg-signature-status, epg-signature-key-id)
1512         (epg-signature-validity, epg-signature-fingerprint)
1513         (epg-signature-creation-time, epg-signature-expiration-time)
1514         (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
1515         (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
1516         (epg-signature-set-status, epg-signature-set-key-id)
1517         (epg-signature-set-validity, epg-signature-set-fingerprint)
1518         (epg-signature-set-creation-time, epg-signature-set-expiration-time)
1519         (epg-signature-set-pubkey-algorithm)
1520         (epg-signature-set-digest-algorithm, epg-signature-set-class)
1521         (epg-signature-set-version, epg-signature-set-notations): Remove.
1522         Use setf instead.
1523         (epg-make-new-signature, epg-new-signature-type)
1524         (epg-new-signature-pubkey-algorithm)
1525         (epg-new-signature-digest-algorithm, epg-new-signature-class)
1526         (epg-new-signature-creation-time, epg-new-signature-fingerprint):
1527         Define using cl-defstruct.
1528         (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
1529         (epg-key-user-id-list): Define using cl-defstruct.
1530         (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
1531         Use setf instead.
1532         (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
1533         (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
1534         (epg-sub-key-id, epg-sub-key-creation-time)
1535         (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
1536         cl-defstruct.
1537         (epg-sub-key-set-fingerprint): Remove.  Use setf instead.
1538         (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
1539         (epg-user-id-signature-list): Define using cl-defstruct.
1540         (epg-user-id-set-signature-list): Remove.  Use setf instead.
1541         (epg-make-key-signature, epg-key-signature-validity)
1542         (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
1543         (epg-key-signature-creation-time, epg-key-signature-expiration-time)
1544         (epg-key-signature-user-id, epg-key-signature-class)
1545         (epg-key-signature-exportable-p): Define using cl-defstruct.
1546         (epg-make-sig-notation, epg-sig-notation-name)
1547         (epg-sig-notation-value, epg-sig-notation-human-readable)
1548         (epg-sig-notation-critical): Define using cl-defstruct.
1549         (epg-sig-notation-set-value): Remove.  Use setf instead.
1550         (epg-make-import-status, epg-import-status-fingerprint)
1551         (epg-import-status-reason, epg-import-status-new)
1552         (epg-import-status-user-id, epg-import-status-signature)
1553         (epg-import-status-sub-key, epg-import-status-secret): Define using
1554         cl-defstruct.
1555         (epg-make-import-result, epg-import-result-considered)
1556         (epg-import-result-no-user-id, epg-import-result-imported)
1557         (epg-import-result-imported-rsa, epg-import-result-unchanged)
1558         (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
1559         (epg-import-result-new-signatures, epg-import-result-new-revocations)
1560         (epg-import-result-secret-read, epg-import-result-secret-imported)
1561         (epg-import-result-secret-unchanged, epg-import-result-not-imported)
1562         (epg-import-result-imports): Define using cl-defstruct.
1564         * emacs-lisp/package.el: Require EPG during macroexpansion.
1565         (package--check-signature, package-import-keyring): Use setf instead of
1566         epg-context-set-home-directory.
1568 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1570         * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
1572 2014-10-23  Leo Liu  <sdl.web@gmail.com>
1574         * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
1575         (cfengine3-create-imenu-index): Use it and use ` ' for separation.
1576         (cfengine3-current-defun): New function.
1577         (cfengine3-mode): Set add-log-current-defun-function.
1579 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1581         * select.el: Use lexical-binding.
1582         (gui-set-selection): Provide an implementation for non-GUI frames
1583         (bug#18791).
1584         * term/x-win.el: Use lexical-binding.
1585         (x-clipboard-yank): Fix up missed renamings.
1586         * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
1587         (w32--set-selection): Fix up var names.
1588         * term/pc-win.el: Use lexical-binding.
1589         (w16-selection-exists-p): Silence compiler warning.
1590         (w16-selection-owner-p): Fix up missed renamings.
1592         * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
1594         * frame.el (frame-notice-user-settings): Fix excessive quoting.
1596 2014-10-22  Tassilo Horn  <tsdh@gnu.org>
1598         * doc-view.el (doc-view-open-text): View the document's plain text
1599         in the current buffer instead of a new one.
1600         (doc-view-toggle-display): Handle the case where the current
1601         buffer contains the plain text contents of the document.
1602         (doc-view-initiate-display): Don't switch to fallback mode if the
1603         user wants to view the doc's plain text.
1604         (doc-view-set-doc-type): Use assoc-string instead of
1605         assoc-ignore-case.
1607 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1609         * subr.el (read-key): Fix clicks on the mode-line.
1610         (set-transient-map): Return exit function.
1612         * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
1613         (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
1614         (mouse-yank-secondary): Use gui-get-selection.
1615         (mouse--down-1-maybe-follows-link): Use read-key.
1617         * xt-mouse.el: Add `event-kind' property on the fly from
1618         xterm-mouse-translate-1 rather than statically at the outset.
1620 2014-10-21  Daniel Colascione  <dancol@dancol.org>
1622         * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
1623         change window configuration when we turn it off.
1625 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1627         Get rid of backend-dependent selection-handling functions for kill/yank
1628         and make it generic instead by relying on the lower-level selection
1629         management functions.
1631         * select.el (select-enable-clipboard): Rename from
1632         gui-select-enable-clipboard.
1633         (select-enable-primary): Move from x-win.el and rename from
1634         x-select-enable-primary.
1635         (gui-last-selected-text): Remove.
1636         (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
1637         New vars.
1638         (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
1639         (gui-select-text-alist, gui-selection-value-alist): Remove.
1640         (x-select-request-type): Move from x-win.el.
1641         (gui--selection-value-internal): New function, taken from x-win's
1642         x-selection-value-internal.
1643         (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
1644         (gui-set-selection-alist): Rename from gui-own-selection-alist and
1645         extend it to handle a nil value as a "disown" request.
1646         (gui-disown-selection-alist): Remove.
1647         (xselect-convert-to-delete): Adjust accordingly.
1648         (gui-set-selection): Simplify accordingly as well.  Use dotimes.
1650         * term/x-win.el (x-last-selected-text-primary)
1651         (x-select-enable-primary): Remove (moved to select.el).
1652         (x-select-request-type): Move to select.el.
1653         (x-selection-value-internal, x--selection-value): Remove functions.
1654         (gui-selection-value, gui-select-text): Remove moethods.
1655         (gui-set-selection): Merge own and disown methods.
1657         * term/w32-win.el (w32--select-text, w32--get-selection-value):
1658         Delete function (move functionality into w32--set-selection and
1659         w32--get-selection).
1660         (gui-select-text, gui-selection-value): Don't define methods.
1661         (w32--set-selection, w32--get-selection, w32--selection-owner-p):
1662         New functions.
1663         (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
1664         Use them.
1665         (gui-selection-exists-p): Adjust to new name of C primitive.
1667         * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
1668         test of gui-select-enable-clipboard, to make it usable as
1669         a gui-get-selection method.
1670         (gui-selection-exists-p): Adjust to new name of C primitive.
1671         (gui-set-selection): Merge own and disown methods.
1672         (gui-select-text, gui-selection-value): Delete methods.
1673         (w16--select-text): Delete function.
1675         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
1676         (ns-selection-value): Remove functions.
1677         (gui-select-text, gui-selection-value): Don't define method any more.
1678         (gui-set-selection): Merge the old own and disown methods.
1679         (gui-selection-exists-p, gui-get-selection): Adjust to new name of
1680         underlying C primitive.
1682         * startup.el (command-line): Adjust now that `gui-method' expects nil
1683         for ttys.
1685         * frame.el (gui-method): Use window-system rather than framep.
1686         (gui-method-declare): The tty case is now nil rather than t.
1687         (make-frame): Adjust accordingly.
1689 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1691         * net/newst-reader.el (newsticker--image-read): Simplify.
1692         (newsticker--icon-read): Use dolist and fix free var error.
1694         * imenu.el (imenu--menubar-keymap): New var.
1695         (imenu-add-to-menubar): Set it to remember the keymap we used.
1696         (imenu-update-menubar): Use it instead of asking lookup-key.
1698         * obsolete/cc-compat.el: Make obsolete (bug#18561).
1700         * epg-config.el (epg-gpg-program): Don't use absolute names by default.
1702         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1703         case (bug#18767).
1705 2014-10-21  Glenn Morris  <rgm@gnu.org>
1707         * Merge in all changes up to version 24.4 release.
1709 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1711         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1712         case (bug#18767).
1714 2014-10-20  Glenn Morris  <rgm@gnu.org>
1716         * Merge in all changes up to 24.4 release.
1718 2014-10-20  Ulf Jasper  <ulf.jasper@web.de>
1720         * net/newst-backend.el
1721         (newsticker--image-download-by-url-callback): Make this function
1722         actually work: Check status properly, then save image.
1724 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1726         * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
1727         `this-event'.
1728         (mouse-drag-line): Unless there's no actual mouse, use the event's
1729         position info.
1731 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1733         * textmodes/css-mode.el (scss-mode): New major-mode.
1734         (css-mode-syntax-table): Use d style comment, to ease the scss case.
1735         (css-ident-re): Allow things like @-moz-keyframes.
1736         (scss--hash-re): New const.
1737         (css--font-lock-keywords): New function, extracted from
1738         css-font-lock-keywords.
1740 2014-10-19  Ulf Jasper  <ulf.jasper@web.de>
1742         * net/newst-backend.el: Require url-parse.
1743         (newsticker--get-news-by-wget): Store feed name as process property.
1744         (newsticker--sentinel): Read feed name from process property.
1745         (newsticker--sentinel-work): Rename argument name to feed-name.
1746         Rename variable imageurl to image-url.  Pick icon url from Atom
1747         1.0 data.  Launch download of feed icon.
1748         (newsticker--get-icon-url-atom-1.0): New.
1749         (newsticker--unxml)
1750         (newsticker--unxml-node)
1751         (newsticker--unxml-attribute): Documentation.
1752         (newsticker--icons-dir): New.
1753         (newsticker--image-get): New arguments FILENAME and DIRECTORY.
1754         Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
1755         (newsticker--image-download-by-wget): New.  Use process properties
1756         for storing informations.
1757         (newsticker--image-sentinel): Read informations from process properties.
1758         (newsticker--image-save)
1759         (newsticker--image-remove)
1760         (newsticker--image-download-by-url)
1761         (newsticker--image-download-by-url-callback): New.
1762         (newsticker-opml-export): Handle url list entries containing a
1763         function instead of an url string.
1765         * net/newst-reader.el (newsticker-html-renderer): Whitespace.
1766         (newsticker--print-extra-elements)
1767         (newsticker--do-print-extra-element):
1768         Documentation (newsticker--image-read): Optionally limit image height.
1769         Use imagemagick if possible.
1770         (newsticker--icon-read): New.
1772         * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
1773         (newsticker--treeview-tree-expand): Use feed icons in treeview.
1774         (newsticker--tree-widget-icon-create): New.  Set the tree widget icon.
1775         (newsticker--tree-widget-leaf-icon): Use feed icon.
1777 2014-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1779         * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
1780         Use help-function-arglist instead.
1782         * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
1783         (eieio--with-scoped-class): Use `declare'.
1784         (eieio-defclass): Remove compatibility code.
1785         (no-method-definition, no-next-method, inconsistent-class-hierarchy)
1786         (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
1788 2014-10-18  Jan Djärv  <jan.h.d@swipnet.se>
1790         * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
1792         * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
1793         replacements to stock names before stock names in a list.
1794         Cdr may be a list, each name is tried in turn until one is found.
1796 2014-10-18  Alan Mackenzie  <acm@muc.de>
1798         Check that a "macro" found near point-min isn't a ## operator.
1799         Fixes bug #18749.
1800         * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
1801         (c-beginning-of-macro): Use the above new function.
1803 2014-10-18  Teodor Zlatanov  <tzz@lifelogs.com>
1805         * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
1806         correct data to `gnutls-boot' (Bug#18664).
1807         Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
1809 2014-10-18  Michal Nazarewicz  <mina86@mina86.com>
1811         * whitespace.el (whitespace-style, whitespace-big-indent)
1812         (whitespace-big-indent-regexp, whitespace-style-value-list)
1813         (whitespace-toggle-option-alist, whitespace-interactive-char)
1814         (whitespace-toggle-options)
1815         (global-whitespace-toggle-options, whitespace-help-text)
1816         (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
1817         style to `whitespace-mode' to indicate that the line indentation
1818         is too deep.  By default, 32 SPACEs or four TABs are considered
1819         too many but `whitespace-big-indent-regexp' can be configured.
1821 2014-10-17  Michal Nazarewicz  <mina86@mina86.com>
1823         * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
1824         tildify-mode-alist.
1826 2014-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1828         * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
1829         (defclass, defgeneric, defmethod): Add doc-string position.
1830         (with-slots): Require cl-lib.
1832         * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
1833         (list-of): New type.
1834         (eieio--typep): Remove.
1835         (eieio-perform-slot-validation): Use cl-typep instead.
1837         * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
1839         * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
1841 2014-10-16  Alan Mackenzie  <acm@muc.de>
1843         Trigger showing when point is in the "periphery" of a line or just
1844         inside a paren.
1845         * paren.el (show-paren-style, show-paren-delay)
1846         (show-paren-priority, show-paren-ring-bell-on-mismatch):
1847         Remove superfluous :group specifications.
1848         (show-paren-when-point-inside-paren)
1849         (show-paren-when-point-in-periphery): New customizable variables.
1850         (show-paren-highlight-openparen): Make into a defcustom.
1851         (show-paren--unescaped-p, show-paren--categorize-paren)
1852         (show-paren--locate-near-paren): New defuns.
1853         (show-paren--default): Refaactor and trigger on more paren
1854         positions.
1855         (show-paren-function): Small consequential changes.
1857 2014-10-16  Tom Tromey  <tom@tromey.com>
1859         * files.el (auto-mode-alist): Use javascript-mode for .jsm
1860         (bug #18719).
1862 2014-10-16  Eli Zaretskii  <eliz@gnu.org>
1864         * international/characters.el (bracket-type): Force pre-loading of
1865         uni-brackets.el.
1867 2014-10-16  Alan Mackenzie  <acm@muc.de>
1869         * cus-edit.el (custom-command-apply): Specify the return value in
1870         the doc string.
1871         (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
1872         custom-command-apply has returned non-nil.
1874 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1876         * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
1877         Remove incorrect handling of eldoc-print-after-edit.
1878         (eldoc-message-commands, eldoc-last-data): Use defvar.
1879         * loadup.el (emacs-lisp/eldoc): Load it.
1881         * progmodes/m4-mode.el (m4-syntax-propertize): New var.
1882         (m4-mode): Use it.
1883         (m4--quoted-p): New function.
1884         (m4-font-lock-keywords): Don't handle #..\n comments any more.
1885         (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
1886         for most special characters.
1888         * progmodes/compile.el (compilation--previous-directory): Simplify.
1889         (compilation-next-error): Ensure the parse before we look at
1890         compilation-message property.
1892 2014-10-15  Eli Zaretskii  <eliz@gnu.org>
1894         * simple.el (what-cursor-position):
1895         * descr-text.el (describe-char): Update to support the new bidi
1896         characters.
1898         * emacs-lisp/tabulated-list.el (tabulated-list-mode):
1899         Force bidi-paragraph-direction to 'left-to-right'.  This fixes
1900         buffer-menu display when the first buffer happens to start with
1901         R2L letter.
1903 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1905         * progmodes/elisp-mode.el (elisp--local-variables-1):
1906         Handle quoted expressions (bug#18688).
1908 2014-10-14  Jérémy Compostella  <jeremy.compostella@intel.com>
1909             Michael Albinus  <michael.albinus@gmx.de>
1911         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1912         Reduce the amount of set environment variable commands.
1914 2014-10-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1916         Fix import completion.  (Bug#18582)
1917         * progmodes/python.el (python-shell-completion-get-completions):
1918         Fix import case regexp.
1920 2014-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1922         * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
1923         (bug#18622).  Reported by Arni Magnusson <arnima@hafro.is>.
1924         * progmodes/prolog.el (prolog-electric--underscore): Same.
1926 2014-10-12  Michael Albinus  <michael.albinus@gmx.de>
1928         * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
1930 2014-10-11  Jan Djärv  <jan.h.d@swipnet.se>
1932         * cus-start.el (all): Add missing ns and boolean to
1933         ns-use-fullscreen-animation.
1935 2014-10-11  Leo Liu  <sdl.web@gmail.com>
1937         * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
1938         Use strings.
1939         (cfengine3-create-imenu-index): New function.
1940         (cfengine3-mode): Use it for `imenu-create-index-function'.
1941         (cfengine-auto-mode): Improve and prefer cfengine3-mode when
1942         buffer is empty.
1944 2014-10-11  Jan Djärv  <jan.h.d@swipnet.se>
1946         * cus-start.el (all): Add ns-use-fullscreen-animation.
1948 2014-10-11  Glenn Morris  <rgm@gnu.org>
1950         * calendar/diary-lib.el (diary-display-function):
1951         Drop support for deprecated nil and list forms.
1952         (diary-list-entries): Update for the above.
1953         * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
1955 2014-10-10  Leo Liu  <sdl.web@gmail.com>
1957         * window.el (temp-buffer-window-show): Make BUFFER a required arg.
1958         (Bug#18656)
1960 2014-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1962         * select.el (gui-selection-exists-p-alist): New method.
1963         * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
1964         * simple.el (deactivate-mark): Use it.
1965         * term/x-win.el (gui-selection-exists-p):
1966         * term/w32-win.el (gui-selection-exists-p):
1967         * term/pc-win.el (gui-selection-exists-p):
1968         * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
1970 2014-10-10  Glenn Morris  <rgm@gnu.org>
1972         * info.el (Info-fontify-maximum-menu-size): Bump to 400k.  (Bug#16227)
1973         Fix :type.  Allow t to mean no limit.
1974         (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
1976 2014-10-09  Glenn Morris  <rgm@gnu.org>
1978         * frame.el (display-monitor-attributes-list): Doc tweaks.
1980 2014-10-09  Eli Zaretskii  <eliz@gnu.org>
1982         * faces.el (display-grayscale-p): Mention in the doc string that
1983         the argument can be either a display name or a frame.
1985         * frame.el (display-pixel-height, display-pixel-width)
1986         (display-mm-height, display-mm-width, display-backing-store)
1987         (display-save-under, display-planes, display-color-cells)
1988         (display-visual-class, display-monitor-attributes-list)
1989         (display-screens): Mention in the doc string that the argument can
1990         be either a display name or a frame.  Improve the docs of the
1991         monitor attributes.  (Bug#18636)
1993 2014-10-09  Martin Rudalics  <rudalics@gmx.at>
1995         * term.el (term-window-width): Subtract 1 from the width when
1996         any fringe has zero width, not just the right fringe.  (Bug#18601)
1998 2014-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2000         * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
2002 2014-10-08  Leo Liu  <sdl.web@gmail.com>
2004         * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
2006 2014-10-08  Glenn Morris  <rgm@gnu.org>
2008         * calendar/cal-x.el (calendar-dedicate-diary):
2009         Drop support for recently deleted aliases.
2011 2014-10-08  Leo Liu  <sdl.web@gmail.com>
2013         * progmodes/cfengine.el (cfengine3-make-syntax-cache):
2014         Always return a syntax.  Replace call-process-shell-command with
2015         process-file.  Ensure cfengine-mode-syntax-functions-regex is
2016         always set.  Ensure cache when cfengine-cf-promises fails.
2017         (Bug#18620)
2019 2014-10-07  Glenn Morris  <rgm@gnu.org>
2021         * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
2023 2014-10-07  Wilson Snyder  <wsnyder@wsnyder.org>
2025         Sync with upstream verilog-mode revision c075a492.
2026         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
2027         (verilog-menu): Add AUTOINSERTLAST.
2028         (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
2029         is nil, fix indenting initial/final to match always statements, bug825.
2030         Reported by Tim Clapp.
2031         (verilog-extended-complete-re): Fix indentation of DPI-C imports,
2032         bug557.  Reported by ZeDong Mao and Jason Forkey.
2033         (verilog-read-decls): Fix parsing typed interfaces.
2034         Fix AUTOINOUTMODPORT missing types.  Reported by Stephan Bourduas.
2035         (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
2036         (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
2037         Reported by Pierre-David Pfister.
2038         (verilog-auto-insert-lisp): Doc fix.
2039         (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
2040         allow post-AUTO user fixups, bug826.  Reported by Dennis Muhlestein.
2041         (verilog-sk-ovm-class, verilog-sk-uvm-object)
2042         (verilog-sk-uvm-component): Fix missing string keyword in class
2043         skeletons, bug824.  Reported by eldad faruhi.
2045 2014-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2047         * term/w32-win.el: Move all code from 32-common-fns.el here.
2048         (gui-select-text, gui-selection-value): Use w32 handlers in the w32
2049         console as well (bug#18629).
2050         * w32-common-fns.el: Remove.
2051         * loadup.el: Don't load w32-common-fns.el.
2052         * w32-fns.elc: Don't require w32-common-fns.
2054         * icomplete.el: Move Iswitchb autoload here.  Much simpler.
2055         * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
2056         Remove redundant obsolescence thingy.
2057         * loadup.el: Don't load obsolete/loaddefs.el.
2058         * Makefile.in (obsolete-autoloads): Remove.
2059         (AUTOGENEL): Remove obsolete/loaddefs.el.
2061 2014-10-06  Glenn Morris  <rgm@gnu.org>
2063         * Makefile.in (obsolete-autoloads): Write to a separate file,
2064         to workaround autoloads bug.  (Bug#17407)
2065         (AUTOGENEL): Add obsolete/loaddefs.el.
2066         * loadup.el: Load obsolete/loaddefs.el if present.
2067         * subr.el (do-after-load-evaluation):
2068         Don't warn about obsolete/loaddefs.el.
2070         * menu-bar.el (menu-bar-games-menu): Remove landmark.
2071         It has zero relationship to a game.
2073 2014-10-06  Leo Liu  <sdl.web@gmail.com>
2075         * imenu.el (imenu): Re-write for clarity.
2077 2014-10-06  Glenn Morris  <rgm@gnu.org>
2079         Remove calendar code obsolete since at least version 23.1.
2080         * calendar/cal-bahai.el (calendar-absolute-from-bahai)
2081         (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
2082         (calendar-goto-bahai-date, list-bahai-diary-entries)
2083         (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
2084         (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
2085         (insert-yearly-bahai-diary-entry):
2086         * calendar/cal-china.el (chinese-calendar-time-zone)
2087         (chinese-calendar-location-name)
2088         (chinese-calendar-daylight-time-offset)
2089         (chinese-calendar-standard-time-zone-name)
2090         (chinese-calendar-daylight-time-zone-name)
2091         (chinese-calendar-daylight-savings-starts)
2092         (chinese-calendar-daylight-savings-ends)
2093         (chinese-calendar-daylight-savings-starts-time)
2094         (chinese-calendar-daylight-savings-ends-time)
2095         (chinese-calendar-celestial-stem)
2096         (chinese-calendar-terrestrial-branch)
2097         (calendar-absolute-from-chinese, calendar-print-chinese-date)
2098         (calendar-goto-chinese-date):
2099         * calendar/cal-coptic.el (calendar-absolute-from-coptic)
2100         (calendar-print-coptic-date, coptic-prompt-for-date)
2101         (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
2102         (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
2103         * calendar/cal-french.el (calendar-absolute-from-french)
2104         (calendar-print-french-date, calendar-goto-french-date):
2105         * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
2106         (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
2107         (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
2108         (holiday-rosh-hashanah-etc, holiday-hanukkah)
2109         (holiday-passover-etc, holiday-tisha-b-av-etc)
2110         (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
2111         (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
2112         (insert-monthly-hebrew-diary-entry)
2113         (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
2114         (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
2115         (diary-sabbath-candles):
2116         * calendar/cal-islam.el (calendar-absolute-from-islamic)
2117         (calendar-print-islamic-date, calendar-goto-islamic-date)
2118         (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
2119         (mark-islamic-diary-entries, insert-islamic-diary-entry)
2120         (insert-monthly-islamic-diary-entry)
2121         (insert-yearly-islamic-diary-entry):
2122         * calendar/cal-iso.el (calendar-absolute-from-iso)
2123         (calendar-print-iso-date, calendar-iso-read-args)
2124         (calendar-goto-iso-date, calendar-goto-iso-week):
2125         * calendar/cal-julian.el (calendar-absolute-from-julian)
2126         (calendar-print-julian-date, calendar-goto-julian-date)
2127         (calendar-absolute-from-astro, calendar-print-astro-day-number)
2128         (calendar-goto-astro-day-number):
2129         * calendar/cal-mayan.el (calendar-print-mayan-date)
2130         (calendar-next-haab-date, calendar-previous-haab-date)
2131         (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
2132         (calendar-next-calendar-round-date)
2133         (calendar-previous-calendar-round-date)
2134         (calendar-absolute-from-mayan-long-count)
2135         (calendar-goto-mayan-long-count-date):
2136         * calendar/cal-move.el (scroll-calendar-left)
2137         (scroll-calendar-right, scroll-calendar-left-three-months)
2138         (scroll-calendar-right-three-months):
2139         * calendar/cal-persia.el (calendar-absolute-from-persian)
2140         (calendar-print-persian-date, persian-prompt-for-date)
2141         (calendar-goto-persian-date):
2142         * calendar/cal-x.el (calendar-after-frame-setup-hooks):
2143         * calendar/calendar.el (view-diary-entries-initially)
2144         (mark-diary-entries-in-calendar, calendar-today-face)
2145         (diary-face, holiday-face, view-calendar-holidays-initially)
2146         (mark-holidays-in-calendar, initial-calendar-window-hook)
2147         (today-visible-calendar-hook, today-invisible-calendar-hook)
2148         (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
2149         (bahai-diary-entry-symbol, american-date-diary-pattern)
2150         (european-date-diary-pattern, european-calendar-display-form)
2151         (american-calendar-display-form, holidays-in-diary-buffer)
2152         (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
2153         (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
2154         (fancy-diary-buffer, increment-calendar-month)
2155         (extract-calendar-month, extract-calendar-day)
2156         (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
2157         (mark-visible-calendar-date, calendar-version):
2158         * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
2159         (diary-display-hook, list-diary-entries-hook)
2160         (mark-diary-entries-hook, nongregorian-diary-listing-hook)
2161         (nongregorian-diary-marking-hook, print-diary-entries-hook)
2162         (abbreviated-calendar-year, number-of-diary-entries)
2163         (view-other-diary-entries, add-to-diary-list)
2164         (include-other-diary-files, simple-diary-display)
2165         (fancy-diary-display, print-diary-entries, mark-diary-entries)
2166         (mark-sexp-diary-entries, mark-included-diary-files)
2167         (mark-calendar-days-named, mark-calendar-month)
2168         (mark-calendar-date-pattern, sort-diary-entries)
2169         (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
2170         (insert-weekly-diary-entry, insert-monthly-diary-entry)
2171         (insert-yearly-diary-entry, insert-anniversary-diary-entry)
2172         (insert-block-diary-entry, insert-cyclic-diary-entry)
2173         (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
2174         * calendar/holidays.el (general-holidays, oriental-holidays)
2175         (local-holidays, other-holidays, hebrew-holidays)
2176         (christian-holidays, islamic-holidays, bahai-holidays)
2177         (solar-holidays, list-calendar-holidays)
2178         (check-calendar-holidays, mark-calendar-holidays)
2179         (filter-visible-calendar-holidays):
2180         * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
2181         (diary-phases-of-moon): Remove obsolete aliases.
2182         * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
2183         * calendar/cal-x.el (calendar-one-frame-setup)
2184         (calendar-only-one-frame-setup, calendar-two-frame-setup):
2185         Remove obsolete functions.
2186         (cal-x-load-hook): Remove obsolete hook.
2187         * calendar/calendar.el (european-calendar-style):
2188         Remove obsolete variable.
2189         (calendar-date-style): No longer consult european-calendar-style.
2190         * calendar/calendar.el (european-calendar, american-calendar):
2191         Remove obsolete commands.
2192         * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
2193         * calendar/diary-lib.el (diary-face): Remove obsolete variable.
2194         (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
2195         Use the face `diary' instead of the variable `diary-face'.
2196         * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
2197         (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
2198         * calendar/icalendar.el (icalendar--date-style): Remove function.
2199         Replace all uses with calendar-date-style.
2200         * textmodes/remember.el (calendar-date-style): Declare.
2201         (remember-diary-convert-entry):
2202         No longer consult european-calendar-style.
2204 2014-10-05  Leo Liu  <sdl.web@gmail.com>
2206         * imenu.el (imenu-default-goto-function): Fix typo.
2208 2014-10-04  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2210         * net/ntlm.el (ntlm-build-auth-request):
2211         Add NTLM2 Session support.  (Bug#15603)
2213 2014-10-04  Glenn Morris  <rgm@gnu.org>
2215         * apropos.el (apropos-symbols-internal):
2216         Avoid error with non-symbol properties.  (Bug#18337#16)
2218         * startup.el (command-line):
2219         Handle altered user-emacs-directory in load-path warning.  (Bug#18512)
2221 2014-10-04  Martin Rudalics  <rudalics@gmx.at>
2223         * window.el (window-full-height-p): Make it behave correctly for
2224         minibuffer window.
2225         (window-current-scroll-bars): Fix code.
2226         (fit-frame-to-buffer): Use window-scroll-bar-height instead of
2227         window-scroll-bars.
2228         * frame.el (frame-current-scroll-bars): Fix doc-string.
2229         * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
2231 2014-10-04  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
2233         * files.el (auto-mode-alist): Use sh-mode for .zsh files.  (Bug#18488)
2235 2014-10-04  Glenn Morris  <rgm@gnu.org>
2237         * frame.el (frame-monitor-attributes)
2238         (display-monitor-attributes-list): Doc fixes.
2240 2014-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2242         Merge trivially safe differences from standalone CC-mode.
2243         * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
2244         just to then pass it to `symbol-value'.
2245         (prog-mode): Provide fallback definition, if needed.
2246         * progmodes/cc-langs.el: Always load `cl'.  Don't load `cl-lib'.
2247         Remove "cl-" prefix accordingly.
2248         * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
2249         characterp depending on the type of characters.
2250         (c-font-lock-enum-tail): Remove unused var `start'.
2251         * progmodes/cc-engine.el: Load CL at compile-time.
2252         (c-declare-lang-variables): Use mapcan.
2253         (c-append-to-state-cache): Remove unused var `ce+1'.
2254         (c-parse-state-state): Make buffer-local.
2255         (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
2256         (c-just-after-func-arglist-p): Remove unused var `end'.
2257         * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
2258         (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
2259         (c-make-keywords-re): Use delete-dups.
2260         (c-get-current-file): Avoid file-name-base.
2261         * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
2262         `close-paren-inserted'.
2263         * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
2265         * progmodes/python.el: Avoid building unneeded markers.
2266         (python-font-lock-keywords, python-indent-dedent-line)
2267         (python-fill-paren, python-shell-completion-complete-or-indent):
2268         Prefer point over point-marker.
2269         (inferior-python-mode): Remove redundant completion settings.
2271 2014-10-03  Dmitry Gutov  <dgutov@yandex.ru>
2273         * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
2274         (vc-svn-ignore): Use it.  (Bug#18619)
2276 2014-10-03  Martin Rudalics  <rudalics@gmx.at>
2278         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2279         In doc-string mention need to set `frame-resize-pixelwise'.
2281 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2283         * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
2284         similarly to Rogers's 2010-06-16 change for the remote case
2285         (bug#18605).
2287 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2289         New gui-selection-value consolidating x-selection-value.
2290         * select.el (gui-selection-value-alist): New method.
2291         (gui-selection-value): New function.
2292         (x-selection-value): Make it an obsolete alias.
2293         * simple.el (interprogram-paste-function): Default to
2294         gui-selection-value.
2295         * w32-common-fns.el (w32-get-selection-value): Simplify.
2296         (x-selection-value): Remove alias.
2297         (interprogram-paste-function): Don't set.
2298         (gui-selection-value): Define for w32.
2299         * term/x-win.el (gui-selection-value): Define for x.
2300         (x--selection-value): Rename from x--selection-value.
2301         (interprogram-paste-function): Don't set.
2302         * term/pc-win.el (w16-get-selection-value): Simplify.
2303         (msdos-initialize-window-system): Don't set
2304         interprogram-paste-function.
2305         (gui-selection-value): Define for pc.
2306         * term/ns-win.el (x-selection-value): Remove.
2307         (gui-selection-value): Define for ns, instead.
2308         * term/common-win.el (x-setup-function-keys): Don't set
2309         interprogram-paste-function.
2310         * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
2311         Use gui-selection-value.
2313 2014-10-02  David Raynes  <rayners@gmail.com>  (tiny change)
2315         * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
2317 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2319         * obsolete/lucid.el (read-number): Remove, redundant.
2320         * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
2321         Remove, broken.
2323 2014-10-02  Glenn Morris  <rgm@gnu.org>
2325         * emacs-lisp/package.el (package-import-keyring):
2326         Create gnupg directory private.  (Bug#17625#155)
2328 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2330         * progmodes/python.el (python-shell-completion-get-completions):
2331         Use python-shell--prompt-calculated-input-regexp from the
2332         process buffer (bug#18582).
2333         Don't assume that `line' comes from the process buffer.
2335 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2337         * frame.el: Use lexical-binding (bug#18598).
2338         (make-frame): Use t rather than nil for tty's window-system.
2339         * startup.el (command-line): Use gui-method.
2341         Consolidate management/ownership of selections.
2342         * select.el (gui-get-selection-alist): New method.
2343         (gui-get-selection): Use it.  Rename from x-get-selection.
2344         (x-get-selection): Define as obsolete alias.
2345         (x-get-clipboard): Mark obsolete.
2346         (gui-get-primary-selection): New function.
2347         (x-get-selection-value): Mark obsolete.
2348         (gui-own-selection-alist, gui-disown-selection-alist)
2349         (gui-selection-owner-p-alist): New methods.
2350         (gui-set-selection): Use them.  Rename from x-set-selection.
2351         (x-set-selection): Define as obsolete alias.
2352         (gui--valid-simple-selection-p): Rename from
2353         x-valid-simple-selection-p.
2354         * w32-common-fns.el (gui-own-selection, gui-disown-selection)
2355         (gui-selection-owner-p, gui-get-selection): Define for w32.
2356         (w32-get-selection-value): Rename from x-get-selection-value.
2357         Use the new gui-last-selected-text.
2358         * term/x-win.el (x-get-selection-value): Remove.
2359         (x-clipboard-yank): Declare obsolete.
2360         (gui-own-selection, gui-disown-selection, gui-get-selection)
2361         (gui-selection-owner-p): Define for x.
2362         * term/w32-win.el (w32-win-suspend-error): Rename from
2363         x-win-suspend-error.
2364         * term/pc-win.el (w16-get-selection-value): Rename from
2365         x-get-selection-value.
2366         (w16-selection-owner-p): Rename from x-selection-owner-p.
2367         (gui-own-selection, gui-disown-selection, gui-get-selection)
2368         (gui-selection-owner-p): Define for pc.
2369         (w16--select-text): New function.
2370         * term/ns-win.el (gui-own-selection, gui-disown-selection)
2371         (gui-get-selection, gui-selection-owner-p): Define for ns.
2372         * term.el (term-mouse-paste):
2373         * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
2375 2014-10-02  H. Dieter Wilhelm  <dieter@duenenhof-wilhelm.de>
2377         * calc/calc-help.el (calc-describe-thing): Quote strings
2378         which could look like regexps.
2380 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2382         Consolidate x-select-text.
2383         * frame.el (gui-method, gui-method-define, gui-method-declare)
2384         (gui-call): New macros.
2385         (gui-method--name): New function.
2386         (frame-creation-function-alist): Use gui-method-declare.
2387         (make-frame): Use gui-method.
2388         * select.el (gui-select-enable-clipboard): Rename from
2389         x-select-enable-clipboard and move here.
2390         (x-select-enable-clipboard): Define as obsolete alias.
2391         (gui-last-selected-text): New var, to replace x-last-selected-text.
2392         (gui-select-text): New GUI method.
2393         (gui-select-text): New function.
2394         (x-select-text): Define as obsolete alias.
2395         * term/common-win.el (x-select-enable-clipboard, x-select-text):
2396         Move to select.el.
2397         * simple.el (interprogram-cut-function): Change default to
2398         x-select-text.
2399         (interprogram-paste-function): Change default to `ignore'.
2400         * w32-common-fns.el (interprogram-cut-function): Don't modify.
2401         * term/x-win.el (interprogram-cut-function): Don't modify.
2402         (gui-select-text): Add method for x.
2403         * term/w32-win.el (gui-select-text): Add method for w32.
2404         * term/pc-win.el (x-last-selected-text): Remove, use
2405         gui-last-selected-text instead.
2406         (msdos-initialize-window-system): Don't set interprogram-cut-function.
2407         (gui-select-text): Add method for pc.
2408         * term/ns-win.el (ns-last-selected-text): Remove, use
2409         gui-last-selected-text instead.
2410         (gui-select-text): Add method for ns.
2411         (x-setup-function-keys): Don't change interprogram-cut-function.
2412         * loadup.el ("startup"): Load after "frame".
2413         * subr.el (package--builtin-versions, package--description-file):
2414         Move from startup.el.
2415         * startup.el (package--builtin-versions, package--description-file):
2416         Move to subr.el.
2417         (handle-args-function-alist, window-system-initialization-alist):
2418         Use gui-method-declare.
2419         (command-line): Use gui-method.
2421 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2423         * subr.el (alist-get): New accessor.
2424         * emacs-lisp/gv.el (alist-get): Provide expander.
2425         * winner.el (winner-remember):
2426         * tempo.el (tempo-use-tag-list):
2427         * progmodes/gud.el (minor-mode-map-alist):
2428         * international/mule-cmds.el (define-char-code-property):
2429         * frameset.el (frameset-filter-params):
2430         * files.el (dir-locals-set-class-variables):
2431         * register.el (get-register, set-register):
2432         * calc/calc-yank.el (calc-set-register): Use it.
2433         * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
2434         * tooltip.el (tooltip-set-param): Mark as obsolete.
2435         (tooltip-show): Use alist-get instead.
2436         * ses.el (ses--alist-get): Remove.  Use alist-get instead.
2438 2014-10-01  Ulf Jasper  <ulf.jasper@web.de>
2440         * net/newst-backend.el: Remove Time-stamp.  Rename variable
2441         `newsticker--download-logos' to `newsticker-download-logos' and
2442         make it customizable.
2443         (newsticker--sentinel-work): Move xml-workarounds to function
2444         `newsticker--do-xml-workarounds', call unless libxml-parser is
2445         used.  Allow single quote in regexp for encoding.
2446         Use libxml-parser if available, else fall back to `xml-parse-region'.
2447         Take care of possibly missing namespace prefixes (like "RDF"
2448         instead of "rdf:RDF") when checking xml nodes and attributes (as
2449         libxml correctly removes the prefixes).  Always use Atom 1.0 as
2450         fallback feed type.  Rename `newsticker--download-logos' to
2451         `newsticker-download-logos'
2452         (newsticker--unxml, newsticker--unxml-node)
2453         (newsticker--unxml-attribute): New.
2454         (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
2455         HTML code has become part of the xml parse tree.
2456         (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
2457         of possibly missing namespace prefixes.
2458         (newsticker--parse-generic-items): Code formatting. Typo.
2459         (newsticker--images-dir): Add trailing slash.
2460         (newsticker--image-get): Fix error message.
2462         * net/newst-plainview.el: Remove Time-stamp.
2464         * net/newst-reader.el: Remove Time-stamp.
2465         (newsticker-download-logos): Rename variable
2466         `newsticker--download-logos' to `newsticker-download-logos' and
2467         make it customizable.
2468         (newsticker--print-extra-elements): Add optional parameter
2469         'htmlish for using html markup.  Amend list of ignored elements.
2470         (newsticker--do-print-extra-element): Add parameter 'htmlish for
2471         using html markup.
2473         * net/newst-ticker.el: Remove Time-stamp.
2475         * net/newst-treeview.el (newsticker--treeview-item-show): Use html
2476         for formatting extra elements.
2478         * net/newsticker.el:  Remove Time-stamp, Version.
2479         (newsticker-version): Make obsolete.
2481 2014-09-30  Leonardo Nobrega  <leonobr@gmail.com>  (tiny change)
2483         * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
2484         (bug#18462).
2486 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2488         * emacs-lisp/package.el (package-check-signature): Default to nil if
2489         GPG is not available.
2490         (package-refresh-contents): Don't mess with the keyring if we won't
2491         check the signatures anyway.
2493 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2495         * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
2496         (ses-center, ses-center-span): Use them.
2497         (ses-print-cell): Bind them while calling the printer.
2498         (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
2499         (ses-dorange): Revert last change.
2500         (ses-calculate-cell): Don't bind row&col dynamically while evaluating
2501         the formula.
2502         (ses-set-cell): Avoid `eval'.
2503         (ses--time-check): Rename it from ses-time-check and turn it into
2504         a macro.
2506         * ses.el (ses-setup): Don't assume modifying the iteration var of
2507         dotimes affects the iteration (bug#18191).
2509 2014-09-30  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2511         * ses.el (ses-calculate-cell): Bind row and col dynamically to
2512         their values with 'cl-progv'.
2513         (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
2514         their values with 'cl-progv', also use non-interned symbols for
2515         row, minrow, maxrow, mincol and maxcol.
2516         (maxrow maxcol): New defvar, to make the compiler happy.
2518 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2520         * minibuffer.el (completion-at-point): Emit warning for ill-behaved
2521         completion functions.
2523 2014-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2525         * ses.el (ses--letref): Quote value before it gets re-evaluated.
2527 2014-09-28  Thien-Thi Nguyen  <ttn@gnu.org>
2529         Font-lock `cl-flet*', too.
2530         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
2531         Add "flet*" to intermediate var `cl-lib-kw'.
2533 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2535         * epg-config.el (epg-gpg-program): Use the plain program names rather
2536         than their absolute file name.
2538         * subr.el (track-mouse): New macro.
2539         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2540         Remove track-mouse case.
2541         * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
2543 2014-09-27  Leo Liu  <sdl.web@gmail.com>
2545         * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
2547         * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
2549 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2551         * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
2552         Handle the case where `match' is :pcase--succeed or :pcase--fail
2553         (bug#18554).
2555         Introduce global-eldoc-mode.  Move Elisp-specific code to elisp-mode.el.
2556         * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
2557         (eldoc-schedule-timer): Obey it.
2558         (eldoc-documentation-function): Default to nil.
2559         (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
2560         (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
2561         (eldoc-highlight-function-argument, eldoc-get-var-docstring)
2562         (eldoc-last-data-store, eldoc-docstring-first-line)
2563         (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
2564         (eldoc-beginning-of-sexp, eldoc-current-symbol)
2565         (eldoc-function-argstring): Move to elisp-mode.el.
2566         (eldoc-symbol-function): Remove, unused.
2567         * progmodes/elisp-mode.el: New file.  Rename all "eldoc-*" to "elisp--*".
2568         (elisp-completion-at-point): Rename from lisp-completion-at-point.
2569         (elisp--preceding-sexp): Rename from preceding-sexp.
2570         * loadup.el: Load new file progmodes/elisp-mode.
2571         * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
2572         * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
2573         (lisp--local-variables-completion-table, lisp--expect-function-p)
2574         (lisp--form-quoted-p, lisp--company-doc-buffer)
2575         (lisp--company-doc-string, lisp--company-location)
2576         (lisp-completion-at-point): Move to elisp-mode.el.
2577         * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
2578         extracted from emacs-lisp-mode-syntax-table.
2579         (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
2580         elisp-mode.el.
2581         (lisp-imenu-generic-expression): Add comments to document what comes
2582         from which Lisp dialect.
2583         (emacs-lisp-mode-map, emacs-lisp-byte-compile)
2584         (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
2585         (emacs-lisp-mode, emacs-list-byte-code-comment-re)
2586         (emacs-lisp-byte-code-comment)
2587         (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
2588         (lisp-interaction-mode-map, lisp-interaction-mode)
2589         (eval-print-last-sexp, last-sexp-setup-props)
2590         (last-sexp-toggle-display, prin1-char, preceding-sexp)
2591         (eval-last-sexp-1, eval-last-sexp-print-value)
2592         (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
2593         (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
2595 2014-09-26  Paul Eggert  <eggert@cs.ucla.edu>
2597         * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
2598         Do not match file names that end in '/', as they cannot be 'grep'
2599         hits nowadays.  This prevents confusion when 'grep -r' reports a
2600         match in a file whose basename is ':12345:'.  Conversely, do not
2601         require exactly the same sequence of spaces and tabs after both
2602         colons, and allow spaces or tabs before the second colon, as per
2603         the POSIX spec for 'grep' output.
2605 2014-09-26  Leo Liu  <sdl.web@gmail.com>
2607         Add cl-parse-integer based on parse-integer (Bug#18557)
2608         * calendar/parse-time.el (parse-time-digits): Remove.
2609         (digit-char-p, parse-integer) Moved to cl-lib.el.
2610         (parse-time-tokenize, parse-time-rules, parse-time-string):
2611         Use cl-parse-integer.
2613         * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
2615         * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
2616         (cl-digit-char-p): New function.
2618 2014-09-25  Juri Linkov  <juri@jurta.org>
2620         * vc/add-log.el (change-log-next-buffer): Don't create an empty
2621         buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
2622         Return the current buffer if no files match the default pattern
2623         ChangeLog.[0-9].  Signal "end of multi" when file is nil. (Bug#18547)
2625 2014-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2627         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
2628         the global vc-handled-backends (bug#18535).
2630 2014-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2632         * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
2633         Suggested by <lompik@voila.fr>.
2635 2014-09-24  Ulf Jasper  <ulf.jasper@web.de>
2637         * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
2638         Rename from `newsticker--treeview-do-get-node'.
2639         (newsticker--treeview-get-node-by-id):
2640         Rename from `newsticker--treeview-get-node'.
2641         (newsticker--treeview-buffer-init)
2642         (newsticker--treeview-buffer-init): Disable buffer undo.
2643         (newsticker--treeview-unfold-node): Adapt to modified
2644         `newsticker--group-find-parent-group'.
2645         (newsticker--group-do-find-group):
2646         Rename from `newsticker--group-do-find-group-for-feed'.
2647         Now works for both, groups and feeds.
2648         (newsticker--group-find-parent-group):
2649         Rename from `newsticker--group-find-group-for-feed'.
2650         Now works for both, groups and feeds.
2651         (newsticker--group-do-get-parent-group)
2652         (newsticker--group-get-parent-group): Remove.
2653         (newsticker-group-add-group): Change interactive prompts.
2654         (newsticker-group-add-group): Finally jump to added group.
2655         (newsticker-group-delete-group): Finally jump to current feed.
2656         (newsticker--group-do-rename-group, newsticker-group-rename-group)
2657         (newsticker--get-group-names, newsticker--group-names): New.
2658         (newsticker-group-move-feed): Finally jump to moved feed.
2659         (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
2660         (newsticker-group-shift-group-down)
2661         (newsticker-group-shift-group-up, newsticker--group-shift): New.
2662         (newsticker-treeview-mode-map): New keybindings for new shift commands.
2664         * net/newst-backend.el (newsticker--item-list)
2665         (newsticker--item-position, newsticker--prev-message)
2666         (newsticker--scrollable-text): Move to newst-ticker.el.
2668         * net/newst-ticker.el (newsticker--item-list)
2669         (newsticker--item-position, newsticker--prev-message)
2670         (newsticker--scrollable-text): Move from newst-backend.el.
2672 2014-09-22  Kan-Ru Chen  <kanru@kanru.info>
2674         * window.el (fit-window-to-buffer): When counting buffer width,
2675         count the whole visible buffer.  Correctly convert the body-height
2676         to pixel size for window-text-pixel-size (Bug#18498).
2678 2014-09-22  Sam Steingold  <sds@gnu.org>
2680         * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
2681         (sql-execute): Use `special-mode'.
2683 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2685         Add pcase-defmacro, as well as `quote' and `app' patterns.
2686         * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
2687         * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
2688         (pcase--funcall, pcase--eval): New functions.
2689         (pcase--u1): Use them for guard, pred, let, and app.
2690         (\`): Use the new feature to generate better code for vector patterns.
2691         * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
2692         (pcase--upat): Remove.
2693         (pcase--macroexpand): Don't hardcode handling of `.
2694         (pcase--split-consp, pcase--split-vector): Remove.
2695         (pcase--split-equal): Disregard ` since it's expanded away.
2696         (pcase--split-member): Optimize for quote rather than for `.
2697         (pcase--split-pred): Optimize for quote rather than for `.
2698         (pcase--u1): Remove handling of ` (and of `or' and `and').
2699         Quote non-selfquoting values when passing them to `eq'.
2700         Drop `app's let-binding if the variable is not used.
2701         (pcase--q1): Remove.
2702         (`): Define as a pattern macro.
2703         * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
2704         (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
2705         (pcase--macroexpand): Handle self-quoting patterns here, expand them to
2706         quote patterns.
2707         (pcase--split-match): Don't hoist or/and here any more.
2708         (pcase--split-equal): Optimize quote patterns as well as ` patterns.
2709         (pcase--flip): New helper macro.
2710         (pcase--u1): Optimize the memq case directly.
2711         Don't handle neither self-quoting nor and/or patterns any more.
2712         * emacs-lisp/pcase.el (pcase-defmacro): New macro.
2713         (pcase--macroexpand): New function.
2714         (pcase--expand): Use it.
2715         * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
2716         New optimization functions.
2717         (pcase--u1): Add support for `quote' and `app'.
2718         (pcase): Document them in the docstring.
2720 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2722         Use lexical-bindin in Ibuffer.
2723         * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
2724         (ibuffer-compile-format): Simplify.
2725         (ibuffer-clear-summary-columns): Simplify.
2726         * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
2727         elem of dotimes when we don't refer to the iteration var from it.
2728         (ibuffer-toggle-sorting-mode): Avoid add-to-list.
2729         * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
2730         Silence byte-compiler.
2732 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2734         * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
2735         expression for a list.
2737         * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
2738         for functions with no arguments.
2740         * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
2741         (mpc-volume-refresh): Make sure the corresponding header-line is updated.
2743 2014-09-17  Tom Willemse  <tom@ryuslash.org>  (tiny change)
2745         * simple.el (clone-indirect-buffer): Mention the return value
2746         (bug#18478).
2748         * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
2749         Text mode in docstring (bug#18464).
2751 2014-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2753         * progmodes/perl-mode.el (perl-syntax-propertize-function):
2754         Accept underscores in identifiers after "sub" (bug#18502).
2756 2014-09-21  Tassilo Horn  <tsdh@gnu.org>
2758         * textmodes/reftex-sel.el (reftex-select-label-mode)
2759         (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
2760         from special-mode (instead of fundamental-mode) and propertize
2761         with font-lock-face instead of just face. (Bug#18496)
2763         * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
2765 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
2767         * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
2768         `table-etc' when `end' is non-nil.
2769         (lisp-completion-at-point): Move `end' back if it's after quote.
2770         If in comment or string, only complete when after backquote.
2771         (Bug#18265)
2772         (lisp-completion-at-point): Don't use
2773         `lisp--local-variables-completion-table' in the
2774         `lisp--form-quoted-p' case.
2776 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
2778         * emacs-lisp/lisp.el (lisp--expect-function-p)
2779         (lisp--form-quoted-p): New functions.
2780         (lisp-completion-at-point): Use them to see if we're completing a
2781         variable reference, a function name, or just any symbol.
2782         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
2784 2014-09-18  Ivan Kanis  <ivan@kanis.fr>
2786         * net/shr.el, net/eww.el: Don't override `shr-width', but
2787         introduce a new variable `shr-internal-width'.  This allows users
2788         to specify a width themselves.
2790 2014-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2792         * image-mode.el (image-toggle-display-image): If we have a
2793         `fit-width' or a `fit-height', don't limit the size of the image
2794         to the window size, because that doesn't preserve the aspect ratio.
2795         * image-mode.el: Move defvars earlier to avoid a byte-compilation
2796         warning.
2798 2014-09-17  Reuben Thomas  <rrt@sc3d.org>
2800         * progmodes/js.el: Add interpreter-mode-alist support for various
2801         JavaScript interpreters.
2803 2014-09-17  Paul Eggert  <eggert@cs.ucla.edu>
2805         Don't assume 'grep' supports GREP_OPTIONS.
2806         The GREP_OPTIONS environment variable is planned to be marked
2807         obsolescent in GNU grep, due to problems in its use, so stop
2808         relying on it.
2809         * progmodes/grep.el (grep-highlight-matches): Document this.
2810         (grep-process-setup): Do not set GREP_OPTIONS.
2811         (grep-compute-defaults): Use an explicit --color option if supported.
2813 2014-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2815         * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
2816         Don't add outdated key-shortcut cache (bug#18482).
2818 2014-09-15  Glenn Morris  <rgm@gnu.org>
2820         * image.el (image-multi-frame-p): Fix thinko - do not force
2821         a delay if none was specified.  (Bug#18334)
2823 2014-09-15  Kan-Ru Chen  <kanru@kanru.info>
2825         * window.el (fit-window-to-buffer): Doc fix.
2827 2014-09-15  Ivan Shmakov  <ivan@siamics.net>
2829         * desktop.el (desktop-create-buffer): Check that buffers are still live
2830         before burying them (bug#18373).
2832 2014-09-15  Glenn Morris  <rgm@gnu.org>
2834         * calendar/diary-lib.el (diary-list-entries):
2835         Restore 24.3 display behavior.  (Bug#18381)
2837 2014-09-15  Eli Zaretskii  <eliz@gnu.org>
2839         * mouse.el (mouse-drag-line): On text-mode frames, count the mode
2840         line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
2841         discrepancy between window-pixel-edges and mouse events, and
2842         avoids moving mode line up when the mouse click is on the modeline
2843         and no drag is attempted.
2845 2014-09-14  Daniel Colascione  <dancol@dancol.org>
2847         * register.el (insert-register): Change default interactive
2848         insertion mode.
2850 2014-09-14  Michael Albinus  <michael.albinus@gmx.de>
2852         * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
2853         Suppress debug messages.
2855         * net/tramp.el (tramp-file-name-handler):
2856         * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
2857         appropriate.
2859 2014-09-13  Christopher Schmidt  <ch@ristopher.com>
2861         * calendar/calendar.el (calendar-update-mode-line):
2862         Do not overwrite mode-line-format if calendar-mode-line-format is
2863         nil.  (Bug#18467)
2865 2014-09-13  Leo Liu  <sdl.web@gmail.com>
2867         * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
2868         (pcase--expand): Use it.
2869         (pcase-exhaustive): New macro.  (Bug#16567)
2871         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
2872         Add pcase-exhaustive.
2874 2014-09-13  Eli Zaretskii  <eliz@gnu.org>
2876         * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
2877         using the specified transfer-encoding, if any, or 'undecided'.
2878         (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
2879         broken at the window margin.
2881 2013-12-27  Ken Olum  <kdo@cosmos.phy.tufts.edu>
2883         Support rendering of HTML parts in Rmail (bug#4258).
2884         * mail/rmailmm.el (rmail-mime-process): Handle text/html
2885         separately from other text/ types.  Suppress tagline for
2886         multipart body.
2887         (rmail-mime-parse): Don't change visibility of tagline here.
2888         (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
2889         Handle text/html specially.
2890         (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
2891         (rmail-mime-insert-html, rmail-mime-render-html-shr)
2892         (rmail-mime-render-html-lynx): New functions.
2893         (rmail-mime-fix-inserted-faces): New function.
2894         (rmail-mime-process-multipart): Find the best part to show
2895         following rmail-mime-prefer-html if set.
2896         (rmail-mime-searching): New variable.
2897         (rmail-search-mime-message): Bind rmail-mime-searching to
2898         suppress rendering while searching.
2900 2014-09-12  Sam Steingold  <sds@gnu.org>
2902         * progmodes/sql.el (sql-product-alist): Add vertica.
2903         (sql-vertica-program, sql-vertica-options)
2904         (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
2905         New functions and variables to support Vertica.
2906         Inspired by code by Roman Scherer <roman@burningswell.com>.
2908 2014-09-11  Paul Eggert  <eggert@cs.ucla.edu>
2910         * ses.el (ses-file-format-extend-parameter-list): Rename from
2911         ses-file-format-extend-paramter-list, to correct a misspelling.
2912         All uses changed.
2914 2014-09-10  Alan Mackenzie  <acm@muc.de>
2916         CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
2917         gets loaded at run-time).
2918         * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
2919         c-lang-const to c-make-no-parens-syntax-table and correct the
2920         logic.
2921         (c-no-parens-syntax-table): Correct the logic of the
2922         c-lang-defvar.
2924 2014-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2926         CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
2927         plus misc cleanup.
2928         * progmodes/cc-mode.el (c-basic-common-init):
2929         Set open-paren-in-column-0-is-defun-start.
2930         (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
2931         Remove declarations, unused.
2932         (run-mode-hooks): Remove declaration.
2933         (font-lock-defaults): Use plain `defvar' to declare.
2934         (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
2935         * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
2936         (c-make-mode-syntax-table): Don't micro-optimize.
2937         (c-keywords, c-keyword-member-alist): Simplify.
2938         (c-kwds-lang-consts): Don't eval at compile-time.
2939         (c-primary-expr-regexp): Comment out unused vars.
2940         * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
2941         (c-font-byte-compile): New var.
2942         (c--compile): New function.  Use it instead of `byte-compile'.
2943         (c-cpp-matchers): Quote the value returned by
2944         `c-make-syntactic-matcher' in case it's not self-evaluating.
2945         (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
2946         parentheses instead (in case MATCHER happens to be a list).
2947         (c-font-lock-enum-tail): Remove unused var `start'.
2948         (c-font-lock-objc-methods): Silence byte-compiler warnings.
2949         * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
2950         test into an argument.
2951         * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
2952         (c-get-char-property): Don't use `eval' just to unquote a constant.
2953         (c-use-extents): Remove.  Use (featurep 'xemacs), compiled
2954         more efficiently.
2955         (c-put-char-property-fun): Don't call `byte-compile' by hand.
2956         (c-clear-char-property, c-clear-char-properties): Check that `property'
2957         is a quoted constant.
2958         (c-emacs-features): Remove `infodock', `syntax-properties', and
2959         `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
2960         'xemacs) instead).  Use `with-temp-buffer' and let-bind vars after
2961         changing buffer, so we don't have to setq them again afterwards.
2962         (c-lang-const): Remove redundant symbolp assertions.
2963         (c-find-assignment-for-mode): Use `or'.
2964         * Makefile.in (compile-one-process): Remove cc-mode dependency.
2966 2014-09-09  Sam Steingold  <sds@gnu.org>
2968         * progmodes/sql.el (sql-default-directory): Fix type annotation.
2970 2014-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2972         * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
2973         Change doc comments into docstrings.
2974         * Makefile.in: Remove cc-awk dependency.
2976 2014-09-08  Sam Steingold  <sds@gnu.org>
2978         * progmodes/sql.el (sql-send-line-and-next): New command,
2979         bound to C-c C-n.
2980         (sql-show-sqli-buffer): Display the buffer instead of its name and
2981         bind the command to C-c C-z.
2982         (sql-default-directory): New user option.
2983         (sql-product-interactive): Bind `default-directory' to it to
2984         enable remote connections using Tramp.
2985         (sql-set-sqli-buffer): Call `sql-product-interactive' when no
2986         suitable buffer is available.
2988 2014-09-08  Glenn Morris  <rgm@gnu.org>
2990         * calendar/calendar.el (calendar-basic-setup):
2991         Fix calendar-view-holidays-initially-flag and fancy display.
2992         * calendar/diary-lib.el (diary-live-p): Doc fix.
2994         * calendar/calendar.el (calendar-basic-setup):
2995         Avoid clobbering calendar with diary.  (Bug#18381)
2997 2014-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2999         * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
3001 2014-09-08  Lars Ljung  <lars@matholka.se>  (tiny change)
3003         * isearch.el (isearch-yank-word-or-char): Obey superword-mode
3004         as well (bug#18400).
3006 2014-09-08  Eli Zaretskii  <eliz@gnu.org>
3008         * subr.el (posn-actual-col-row): Doc fix.  (Bug#18385)
3010 2014-09-06  Leo Liu  <sdl.web@gmail.com>
3012         * emacs-lisp/pcase.el (pcase): Doc fix.
3013         (pcase--split-vector): New function.
3014         (pcase--q1): Support vector qpattern.  (Bug#18327)
3016 2014-09-05  Sam Steingold  <sds@gnu.org>
3018         * textmodes/tex-mode.el (tex-print-file-extension): New user
3019         option.
3020         (tex-print): Use it instead of the hard-coded string.
3022 2014-09-05  Michael Albinus  <michael.albinus@gmx.de>
3024         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3025         Expand `default-directory'.
3027 2014-09-05  Martin Rudalics  <rudalics@gmx.at>
3029         * scroll-bar.el (horizontal-scroll-bars-available-p):
3030         New function.
3031         (horizontal-scroll-bar-mode): Rewrite using
3032         horizontal-scroll-bars-available-p.
3033         * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
3034         horizontal-scroll-bars-available-p.
3036 2014-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3038         * subr.el (call-process-shell-command, process-file-shell-command):
3039         Make the `args' obsolete (bug#18409).
3040         (start-process-shell-command, start-file-process-shell-command):
3041         Use `declare'.
3043 2014-09-05  Jay Belanger  <jay.p.belanger@gmail.com>
3045         * calc/calc-forms.el (math-normalize-hms): Do a better check for
3046         "negative" hms forms.
3048 2014-09-04  Rasmus Pank Roulund  <emacs@pank.eu>
3050         * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
3051         returns nil (bug#18391).
3053 2014-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3055         * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
3056         terminating paren (bug#18352).
3057         (eldoc-last-data-store): Return cached data.
3058         (eldoc-get-var-docstring): Avoid setq.
3059         (eldoc-get-fnsym-args-string): Clarify data flow.
3061 2014-09-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3063         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
3064         case where we're currently providing part of the &rest arg after some
3065         &key args, as in define-ibuffer-op (bug#18048).
3067 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3069         * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
3070         buffer-local setting of which-func-mode.
3071         (which-func-mode): Use defvar-local.
3072         (which-function-mode): Don't reset which-func-mode in each buffer since
3073         it might have been set by someone else.
3074         (which-func-update-ediff-windows): Check which-function-mode.
3076 2014-09-03  Martin Rudalics  <rudalics@gmx.at>
3078         * frame.el (frame-initialize): Remove horizontal-scroll-bars
3079         from frame-initial-frame-alist.
3080         * scroll-bar.el (previous-horizontal-scroll-bar-mode)
3081         (horizontal-scroll-bar-mode-explicit)
3082         (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
3083         (toggle-horizontal-scroll-bar): Remove.
3084         (horizontal-scroll-bar-mode): Remove defcustom.
3085         (horizontal-scroll-bar-mode): Fix doc-string.
3086         (scroll-bar-toolkit-scroll)
3087         (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
3089 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3091         * emacs-lisp/package.el (package-generate-description-file):
3092         Properly quote the arguments (bug#18332).  Change second arg.
3093         (package--alist-to-plist-args): Rename from package--alist-to-plist and
3094         quote the elements.
3095         (package--make-autoloads-and-stuff): Fix the test for pre-existence of
3096         the *-pkg.el file.  Adjust to new calling convention of
3097         package-generate-description-file.
3099         * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
3100         (gud-gdb-completions): Remove obsolete workaround.
3102 2014-09-03  Eli Zaretskii  <eliz@gnu.org>
3104         * subr.el (posn-col-row): Revert the change from commit
3105         2010-11-13T21:07:58Z!eliz@gnu.org, which
3106         was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
3107         monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
3108         introduced an off-by-one error in the reported row when there is a
3109         header line.  (Bug#18384)
3111 2014-09-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3113         * progmodes/python.el (python-indent-post-self-insert-function):
3114         Avoid electric colon at beginning-of-defun.  (Bug#18228)
3116 2014-09-03  Glenn Morris  <rgm@gnu.org>
3118         * tutorial.el (tutorial--display-changes):
3119         Fix 2014-08-01 change.  (Bug#18382)
3121 2014-09-03  Ken Brown  <kbrown@cornell.edu>
3123         * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
3124         the Cygwin-w32 build.  (Bug#18347)
3126 2014-09-03  Glenn Morris  <rgm@gnu.org>
3128         * tar-mode.el (tar--extract, tar-extract):
3129         Avoid permanently disabling undo in extracted buffers.  (Bug#18344)
3131 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3133         * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
3134         handle multiline elements (bug#18380).
3136 2014-09-01  Eli Zaretskii  <eliz@gnu.org>
3138         * ls-lisp.el (ls-lisp-use-string-collate)
3139         (ls-lisp-UCA-like-collation): New defcustoms.
3140         (ls-lisp-string-lessp): Use them to control sorting by file
3141         names.  (Bug#18051)
3142         (ls-lisp-version-lessp): New function.
3143         (ls-lisp-handle-switches): Use it to implement the -v switch of
3144         GNU ls.
3145         (ls-lisp--insert-directory): Mention the -v switch in the doc string.
3147 2014-08-31  Christoph Scholtes  <cschol2112@gmail.com>
3149         * ibuffer.el: Replace mode-specific quit function with
3150         `quit-window' via `special-mode'.
3151         (ibuffer-mode-map): Use keybindings from special-mode-map instead
3152         of local overrides.
3153         (ibuffer): Don't store previous windows configuration.
3154         Let `quit-window' handle restoring.
3155         (ibuffer-quit): Remove function. Use `quit-window' instead.
3156         (ibuffer-restore-window-config-on-quit): Remove variable.
3157         (ibuffer-prev-window-config): Remove variable.
3159 2014-08-29  Michael Heerdegen  <michael_heerdegen@web.de>
3161         * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
3162         name instead of variable name in hook docstring.  (Bug#18349)
3164 2014-08-29  Martin Rudalics  <rudalics@gmx.at>
3166         * window.el (display-buffer-at-bottom): Prefer bottom-left
3167         window to other bottom windows.  Reuse a bottom window if it
3168         shows the buffer already.  Suggested by Juri Linkov
3169         <juri@jurta.org> in discussion of (Bug#18181).
3171 2014-08-29  Leo Liu  <sdl.web@gmail.com>
3173         * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
3174         append to minibuffer-setup-hook.  (Bug#18341)
3176 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3178         * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
3179         byte-compiler.
3180         (lookup-syntax-properties): Silence byte-compiler.
3181         (c-lang-defconst): Quote the code with `lambda' rather than with
3182         `quote'.
3183         (c-lang-const): Avoid unneeded setq.
3184         (c-lang-constants-under-evaluation): Add docstring.
3185         (c-lang--novalue): New constant.
3186         (c-find-assignment-for-mode): Use it instead of c-lang-constants.
3187         (c-get-lang-constant): Same here.
3188         Get the mode's value using `funcall' now that the code is quoted
3189         with `lambda'.
3191 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
3193         * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
3194         (Bug#18326)
3196 2014-08-28  Martin Rudalics  <rudalics@gmx.at>
3198         * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
3199         interpretation of `portion-whole'.
3201 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
3203         * net/tramp-adb.el: Spell author name correctly.
3205 2014-08-28  João Távora  <joaotavora@gmail.com>
3207         * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
3208         use url-expand-file-name.  (Bug#18310)
3210 2014-08-28  Glenn Morris  <rgm@gnu.org>
3212         * emulation/cua-rect.el (cua--highlight-rectangle):
3213         Avoid error at point-min.  (Bug#18309)
3215 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3217         * progmodes/python.el (python-shell-prompt-detect): Remove redundant
3218         executable-find (bug#18244).
3220         * simple.el (self-insert-uses-region-functions): Defvar.
3222 2014-08-28  Glenn Morris  <rgm@gnu.org>
3224         * subr.el (remq): Revert 2014-08-25 doc change (not always true).
3226 2014-08-27  Dmitry Antipov  <dmantipov@yandex.ru>
3228         * startup.el (normal-top-level): Now use internal--top-level-message.
3230 2014-08-26  Dmitry Antipov  <dmantipov@yandex.ru>
3232         * startup.el (normal-top-level): Use top-level-message.
3234 2014-08-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3236         * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
3237         URLs containing spaces and the like.
3239 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
3241         * subr.el (remq): Fix docstring (Bug#18253).
3243 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
3245         * replace.el (query-replace): Fix typo in docstring (Bug#18320).
3247 2014-08-24  Alan Mackenzie  <acm@muc.de>
3249         Handle C++11's "auto" and "decltype" constructions.
3250         * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
3251         and return 'decltype.
3252         (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
3253         prev-kwd-sym, new-style-auto.  Enhance to handle the new "auto"
3254         keyword.
3255         * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
3256         "decltype" keyword.
3257         (c-font-lock-c++-new): Handle "decltype" constructions.
3258         * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
3259         New c-lang-defconsts/defvars.
3260         (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
3261         (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
3262         (c-typeless-decl-kwds): Append "auto" onto the C++ value.
3263         (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
3265         Make ">>" act as double template ender in C++ Mode.  (Bug#11386)
3266         * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
3267         off from c->-op-cont-re.
3268         (c->-op-cont-tokens): Change to use the above.
3269         (c->-op-without->-cont-regexp): New lang-const.
3270         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
3271         Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
3274 2014-08-23  Alan Mackenzie  <acm@muc.de>
3276         * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
3277         loop, bug #18306.  The bug was introduced on 2014-08-02.
3279 2014-08-21  Eli Zaretskii  <eliz@gnu.org>
3281         * textmodes/texnfo-upd.el (texinfo-specific-section-type):
3282         Don't recognize a Top node if there are other sectioning commands
3283         earlier in the Texinfo file.  This fixes a bug in
3284         texinfo-make-menu and avoids inflooping in
3285         texinfo-all-menus-update when they are invoked on texinfo.texi.
3287 2014-08-21  Martin Rudalics  <rudalics@gmx.at>
3289         * window.el (window--side-window-p): New function.
3290         (split-window, window-splittable-p): Use window--side-window-p to
3291         determine whether WINDOW can be split (Bug#18304).
3292         * calendar/calendar.el (calendar-basic-setup): Fix one call of
3293         `window-splittable-p' and add another (Bug#18304).
3295 2014-08-20  Sam Steingold  <sds@gnu.org>
3297         * progmodes/python.el (python-new-pythonpath): Extract from
3298         `python-shell-calculate-process-environment'.
3300 2014-08-18  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3302         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
3303         for &key args (bug#18048).
3305 2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3307         * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
3308         (eldoc-function-argstring-format): Remove.
3309         (eldoc-function-argstring): Always return upcase args.
3310         Use help-make-usage.  Don't add parens.
3311         (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
3312         it's too late to do it right (bug#18048).
3314 2014-08-18  Eli Zaretskii  <eliz@gnu.org>
3316         * scroll-bar.el (scroll-bar-horizontal-drag-1)
3317         (scroll-bar-toolkit-horizontal-scroll): When determining the
3318         paragraph direction, use the buffer of the window designated in
3319         the event.
3321 2014-08-16  Andreas Schwab  <schwab@linux-m68k.org>
3323         * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
3324         context of unified diff.
3326 2014-08-16  Paul Eggert  <eggert@cs.ucla.edu>
3328         Add dependencies to fix loaddefs race during parallel builds.
3329         Without this, for example, 'make -j bootstrap' can fail and report
3330         "Opening input file: no such file or directory,
3331         .../lisp/calendar/diary-loaddefs.el ... recipe for target
3332         'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
3333         got confused because diary-loaddefs.el was being built in parallel.
3334         * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
3335         Depend on $(CAL_DIR)/cal-loaddefs.el.
3336         ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
3338 2014-08-16  Martin Rudalics  <rudalics@gmx.at>
3340         * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
3341         portion-whole for scrolling right-to-left text.
3343 2014-08-15  Leo Liu  <sdl.web@gmail.com>
3345         * speedbar.el (speedbar-generic-list-tag-p): Allow special
3346         elements from imenu.
3348 2014-08-15  Glenn Morris  <rgm@gnu.org>
3350         * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
3352 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
3354         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3355         Add Guile regexpses.
3357 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
3359         * progmodes/gud.el (guiler): New function.  Starts the Guile REPL;
3360         add Guile debugger support for GUD.
3362 2014-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3364         * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
3365         (mouse-sel--ignore): New function.
3366         (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
3367         (mouse-sel-original-interprogram-cut-function)
3368         (mouse-sel-original-interprogram-paste-function): Remove.
3370 2014-08-13  Eric S. Raymond  <esr@thyrsus.com>
3372         * vc/vc-git.el (vc-git-resolve-when-done): New function.
3373         Call "git add" when there are no longer conflict markers.
3375 2014-08-13  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3377         * vc/vc-git.el (vc-git-find-file-hook): New function.
3378         Adds support for calling smerge (and resolve) on a conflicted file.
3379         (vc-git-conflicted-files): New function.
3380         Useful in itself and a step towards better smerge support.
3382 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3384         * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
3385         to the first part if they're the same as the selection.
3387 2014-08-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3389         * image-mode.el (image-transform-reset): New command and menu item.
3390         (image-mode-map): Rearrange the menu items to put presumably more
3391         obscure items at the end.
3393 2014-08-12  Juri Linkov  <juri@jurta.org>
3395         * vc/vc-annotate.el (vc-annotate-background-mode):
3396         Use `with-demoted-errors' instead of `ignore-errors'.  (Bug#18189)
3398 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3400         * files.el (out-of-memory-warning-percentage): Turn it off by default.
3402 2014-08-11  Sam Steingold  <sds@gnu.org>
3404         * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
3405         the presence of known validators (tidy, (o)nsgmls).
3407 2014-08-11  Ulf Jasper  <ulf.jasper@web.de>
3409         Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
3411         * net/newst-treeview.el (newsticker-treeview-date-format): New.
3412         (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
3414 2014-08-11  Glenn Morris  <rgm@gnu.org>
3416         * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
3417         chose coding system for writing before backing up, since it causes
3418         a more serious problem than the one it solves.  (Closes Bug#18141,
3419         reopens Bug#13522.)
3421 2014-08-11  Martin Rudalics  <rudalics@gmx.at>
3423         * window.el (window-total-size): Make doc-string more self-contained.
3425         * window.el (display-buffer-below-selected): Restore original
3426         behavior if buffer is already displayed in the window below the
3427         selected one (Bug#18181).
3429 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3431         * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
3432         event (bug#18212).
3434 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
3436         * info.el (info): Doc fix.
3438 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3440         * info.el (Info-mode-map): Override a global down-mouse-2 binding
3441         (bug#18212).
3443 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
3445         * simple.el (default-line-height): A floating-point value of
3446         line-spacing means a fraction of the default frame font's height,
3447         not of the font currently used by the 'default' face.
3448         Truncate the pixel value, like the display engine does.
3449         (window-screen-lines): Use window-inside-pixel-edges for
3450         determining the window height in pixels.  (Bug#18195)
3452 2014-08-11  Grégoire Jadi  <daimrod@gmail.com>
3454         * leim/quail/latin-post.el: Transform " __" into " _".  (Bug#18023)
3456 2014-08-10  Ulf Jasper  <ulf.jasper@web.de>
3458         Enumerate evaluated sexp diary entries (Bug#7911).
3459         * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
3460         (icalendar-export-sexp-enumeration-days): New.
3461         (icalendar-export-region): Now `icalendar--convert-to-ical'
3462         returns a cons cell or a list of cons cells.
3463         (icalendar--convert-to-ical): Take care of
3464         `icalendar-export-sexp-enumerate-all'.  Return (a list of) cons cells.
3465         (icalendar--convert-ordinary-to-ical)
3466         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3467         (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
3468         (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
3469         (icalendar--convert-anniversary-to-ical): Return cons cell.
3470         (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
3471         entries.  Return (list of) cons cells.
3473 2014-08-09  Juri Linkov  <juri@jurta.org>
3475         * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
3476         to reevaluate `vc-annotate-color-map'.  (Bug#18189)
3478 2014-08-09  Alan Mackenzie  <acm@muc.de>
3480         * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
3481         for top-level that can cause unacceptable slow-down in scrolling.
3482         See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
3483         Antipov from 2013-10-14 in emacs-devel.
3485 2014-08-08  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3487         * ibuffer.el (ibuffer-mode-map): Use toggle button for
3488         `ibuffer-auto-mode' menu entry.
3489         (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
3491 2014-08-08  Matthias Meulien  <orontee@gmail.com>
3493         * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
3494         (Bug#16394)
3496 2014-08-07  Martin Rudalics  <rudalics@gmx.at>
3498         * window.el (window--min-size-1): Explicitly set WINDOW arg in
3499         calls of window-min-pixel-height and window-min-pixel-width.
3501 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
3503         * progmodes/ada-mode.el:
3504         * net/tramp.el (tramp-handle-file-symlink-p):
3505         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
3506         about VMS, which we no longer support.
3507         * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
3508         and fix a FIXME, using convert-standard-filename in place of
3509         removed ada-convert-file-name.
3511 2014-08-07  Eli Zaretskii  <eliz@gnu.org>
3513         * files.el (auto-mode-alist): Remove support for VMS from a pattern.
3515 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
3517         Refer to MS-DOS using the same name everywhere.
3518         * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
3519         ``msdog'' become ``MS-DOS''.
3521 2014-08-07  Michael Albinus  <michael.albinus@gmx.de>
3523         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3524         Use cached "remote-copy-args" value, if available.  (Bug#18199)
3526 2014-08-07  Leo Liu  <sdl.web@gmail.com>
3528         * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
3529         Revert change on 2014-03-22.
3531 2014-08-06  Ulf Jasper  <ulf.jasper@web.de>
3533         * calendar/icalendar.el (icalendar--diarytime-to-isotime)
3534         (icalendar--convert-ordinary-to-ical): Allow for missing minutes
3535         (Bug#13750).
3538 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3540         * image-mode.el (image-toggle-display-image): Always rescale images
3541         to not be bigger than the current window.
3543 2014-08-05  Eric Brown  <brown@fastmail.fm>  (tiny change)
3545         * net/eww.el (eww-bookmarks-directory): New variable.
3546         (eww-write-bookmarks): Use it.
3547         (eww-read-bookmarks): Ditto.
3549 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3551         * net/shr.el (shr-copy-url): Also copy the image URL.
3553 2014-08-05  Michael Albinus  <michael.albinus@gmx.de>
3555         * net/tramp-cache.el (tramp-flush-file-function): Suppress function
3556         also for Tramp working buffers.
3558 2014-08-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3560         * progmodes/python.el: Fix completions inside (i)pdb.
3561         (python-shell-completion-pdb-string-code): Make obsolete.
3562         (python-shell-completion-get-completions):
3563         Use python-shell-completion-string-code resending setup code
3564         continuously for (i)pdb.
3566 2014-08-04  Paul Eggert  <eggert@cs.ucla.edu>
3568         * rect.el (rectangle--default-line-number-format): Rename
3569         from misspelled rectange--default-line-number-format (Bug#18045).
3570         All uses changed.
3572 2014-08-03  Paul Eggert  <eggert@cs.ucla.edu>
3574         Don't mishandle year-9999 dates (Bug#18176).
3575         * calendar/parse-time.el (parse-time-rules):
3576         Allow years up to most-positive-fixnum.
3577         * calendar/time-date.el (date-to-time):
3578         Pass "Specified time is not representable" errors through.
3580 2014-08-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3582         * progmodes/python.el: Completion code cleanups.
3583         (python-shell-completion-get-completions): Detect and send import
3584         statements directly to completion function.
3585         (python-shell-completion-at-point): Simplify prompt calculation
3586         and import vs input completion logic.
3588 2014-08-02  Alan Mackenzie  <acm@muc.de>
3590         Fix confusion in C++ file caused by comma in "= {1,2},".
3591         Bug #17756.
3592         * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
3593         for a statement boundary marked by "}", check there's no "="
3594         before the "{".
3595         (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
3596         non-nil `comma-delim' argument.
3597         * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
3598         initializer expression more accurately.
3600         Correct loop termination condition in c-syntactic-skip-backward.
3601         * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
3602         the situation where, after moving back out of a literal,
3603         skip-chars-backward doesn't move further, yet checks have still to
3604         be done.
3606 2014-08-01  Eli Zaretskii  <eliz@gnu.org>
3608         * tutorial.el (tutorial--display-changes): Accept punctuation
3609         characters before the key binding.  (Bug#18146)
3611 2014-07-31  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3613         * progmodes/python.el: Shell output capture enhancements.
3614         (python-shell-accept-process-output): New function.
3615         (inferior-python-mode)
3616         (python-shell-send-setup-code): Use it.
3618 2014-07-30  Christophe Deleuze  <christophe.deleuze@free.fr>  (tiny change)
3620         * calendar/icalendar.el (icalendar--decode-isodatetime):
3621         Use actual current-time-zone when converting to local time. (Bug#15408)
3623 2014-07-29  Martin Rudalics  <rudalics@gmx.at>
3625         * window.el (window--state-put-2): Handle horizontal scroll
3626         bars, if present.
3628 2014-07-29  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3630         * menu-bar.el (menu-bar-update-buffers): Update item list format
3631         in `buffers-menu' to confirm with changes to `get_keyelt'
3632         (r117463).  (Bug#18016)
3634 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3636         * progmodes/python.el (inferior-python-mode): Make input prompts
3637         read-only.
3639 2014-07-28  Emilio C. Lopes  <eclig@gmx.net>
3641         * net/tramp-sh.el (tramp-get-remote-python): Also search for
3642         executables named "python2" or "python3".
3643         (tramp-get-remote-uid-with-python): Use parentheses around
3644         arguments to `print' to make it compatible with Python 3.
3645         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
3647 2014-07-28  Eli Zaretskii  <eliz@gnu.org>
3649         * window.el (window--pixel-to-total): Use FRAME's root window, not
3650         that of the selected frame.  (Bug#18112, Bug#16674)
3652 2014-07-28  Andreas Schwab  <schwab@linux-m68k.org>
3654         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
3655         (Bug#18117)
3657 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3659         * progmodes/python.el (inferior-python-mode): Doc fix.
3661 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
3663         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
3664         not a character, ignore it instead of raising an error.
3666         * calendar/todo-mode.el: Fix handling of marked items and make
3667         minor code improvements.
3668         (todo-edit-item): If there are marked items, ensure user can only
3669         invoke editing commands that work with marked items.
3670         (todo-edit-item--text): When there are marked items, make it a
3671         noop if invoked with point not on an item; otherwise, ensure it
3672         applies only to item at point.
3673         (todo-item-undone): If there are marked not-done items, return
3674         point to its original position before signaling user error.
3675         (todo--user-error-if-marked-done-item): New function.
3676         (todo-edit-item--header, todo-edit-item--diary-inclusion)
3677         (todo-item-done): Use it.
3679 2014-07-28  Glenn Morris  <rgm@gnu.org>
3681         * files.el (toggle-read-only): Re-add basic doc-string.
3682         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
3684         * progmodes/prolog.el (prolog-mode-keybindings-edit):
3685         Replace missing `switch-to-prolog' with `run-prolog'.
3686         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
3688 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
3690         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
3691         of file-wide setting when changing category-wide setting.
3693 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
3695         * doc-view.el (doc-view-open-text): Don't require that the
3696         document is saved in a file (e.g., email attachment).
3698 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3700         Parse completion input in a iPython friendly way.  (Bug#18084)
3701         * progmodes/python.el
3702         (python-shell-completion-at-point): Rename from
3703         python-shell-completion-complete-at-point.
3704         (inferior-python-mode): Use it.
3705         (python-completion-at-point): Rename from
3706         python-completion-complete-at-point.  Parse input up to first
3707         backward occurrence of whitespace, open-paren, close-paren or
3708         string delimiter.
3709         (python-mode): Use it.
3711 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3713         Prevent Python process shell buffer to pop twice.
3714         * progmodes/python.el (python-shell-switch-to-shell): Do not call
3715         pop-to-buffer.
3717 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3719         * progmodes/python.el
3720         (python-shell-with-shell-buffer): New macro.
3721         (python-shell-font-lock-get-or-create-buffer)
3722         (python-shell-font-lock-kill-buffer)
3723         (python-shell-font-lock-with-font-lock-buffer)
3724         (python-shell-font-lock-cleanup-buffer)
3725         (python-shell-font-lock-toggle): Use it.
3726         (python-shell-font-lock-turn-on)
3727         (python-shell-font-lock-turn-off): Use it.  Make command.
3729 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3731         Grab all Python process output before inferior-python-mode hooks.
3732         * progmodes/python.el (inferior-python-mode):
3733         Call accept-process-output and sit-for to ensure all output for process
3734         has been received before running hooks.
3735         (python-shell-internal-get-or-create-process):
3736         Cleanup accept-process-output and sit-for calls.
3738 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3740         More robust shell startup and code setup.
3741         * progmodes/python.el (python-shell-make-comint):
3742         Remove accept-process-output call.
3743         (python-shell-get-buffer): Return current buffer if major-mode is
3744         inferior-python-mode.
3745         (python-shell-get-or-create-process): Use it.
3746         (python-shell-send-setup-code): Send all setup code in one string,
3747         output success message and accept-process-output.
3749 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
3751         * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
3752         Add rudimentary support for bidirectional text.
3754 2014-07-27  Martin Rudalics  <rudalics@gmx.at>
3756         * frame.el (frame-notice-user-settings): Rewrite using
3757         frame-initial-frame-tool-bar-height.
3758         * menu-bar.el (menu-bar-horizontal-scroll-bar)
3759         (menu-bar-no-horizontal-scroll-bar): New functions.
3760         (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
3761         scroll bars.
3762         * scroll-bar.el (scroll-bar-lines)
3763         (set-horizontal-scroll-bar-mode)
3764         (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
3765         (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
3766         (scroll-bar-toolkit-horizontal-scroll): New functions.
3767         (horizontal-scroll-bar-mode)
3768         (previous-horizontal-scroll-bar-mode)
3769         (horizontal-scroll-bar-mode-explicit): New variables.
3770         (horizontal-scroll-bar-mode): New option.
3771         (toggle-horizontal-scroll-bar): Do something.
3772         (top-level): Bind horizontal-scroll-bar mouse-1.
3773         * startup.el (tool-bar-originally-present): Remove variable.
3774         (command-line): Don't set tool-bar-originally-present.
3775         * window.el (window-min-height): Update doc-string.
3776         (window--dump-frame): Dump horizontal scroll bar values.
3777         (window--min-size-1): Handle minibuffer window separately.
3778         Count in margins and horizontal scroll bar.  Return safe value
3779         iff IGNORE equals 'safe.
3780         (frame-windows-min-size): New function (used by frame resizing
3781         routines).
3782         (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
3783         scroll bars.
3784         (window--sanitize-window-sizes): New function.
3785         (window-split-min-size): Remove.
3786         (split-window): Count divider-width.  Don't use
3787         `window-split-min-size' any more.  Reword error messages.
3788         Sanitize windows sizes after splitting.
3790 2014-07-27  Thien-Thi Nguyen  <ttn@gnu.org>
3792         Use `defvar-local' more.
3793         * progmodes/hideshow.el
3794         (hs-c-start-regexp, hs-block-start-regexp)
3795         (hs-block-start-mdata-select, hs-block-end-regexp)
3796         (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
3797         remove corresponding `make-variable-buffer-local' top-level calls.
3799 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3801         Cleanup error signals.  (Bug#18067)
3802         * progmodes/python.el
3803         (python-indent-shift-left): Use user-error instead.
3804         (python-shell-prompt-detect): Use lwarn with python group.
3805         (python-completion-complete-at-point)
3806         (python-eldoc--get-doc-at-point): Don't signal error.
3808 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3810         Support for packages in Python shell.  (Bug#13570)
3811         * progmodes/python.el (python-shell--package-depth): New var.
3812         (python-shell-package-enable): New command.
3813         (python-util-list-directories, python-util-list-files)
3814         (python-util-list-packages): New functions.
3816 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3818         Faster comint output.  (Bug#16875)
3819         * progmodes/python.el:
3820         (python-comint-output-filter-function): Make obsolete.
3821         (python-comint-postoutput-scroll-to-bottom): New function.
3822         (inferior-python-mode): Set comint-output-filter-functions to a
3823         minimum.
3825 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3827         * progmodes/python.el (python-shell-font-lock-post-command-hook):
3828         Safeguard current point and undo history.
3830 2014-07-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3832         Robust shell syntax highlighting.  (Bug#18084, Bug#16875)
3833         * progmodes/python.el:
3834         (python-shell-prompt-input-regexps): Add iPython block prompt.
3835         (python-shell-output-syntax-table): Delete var.
3836         (python-shell-font-lock-with-font-lock-buffer): New macro.
3837         (python-shell-font-lock-get-or-create-buffer)
3838         (python-shell-font-lock-kill-buffer)
3839         (python-shell-font-lock-cleanup-buffer)
3840         (python-shell-font-lock-post-command-hook)
3841         (python-shell-font-lock-turn-off): New functions.
3842         (python-shell-font-lock-turn-on): New function.
3843         (inferior-python-mode): Use it.
3844         (python-shell-font-lock-toggle): New command.
3845         (python-shell-font-lock-enable): Rename from
3846         python-shell-enable-font-lock.
3847         (run-python-internal): Use it.
3848         (python-shell-font-lock-comint-output-filter-function): New function.
3849         (python-shell-comint-end-of-output-p): New function.
3850         (python-shell-output-filter): Use it.
3851         (python-util-comint-last-prompt): New function.
3852         (python-util-text-properties-replace-name): New function.
3854 2014-07-25  Glenn Morris  <rgm@gnu.org>
3856         * vc/ediff-init.el (ediff-toggle-read-only-function):
3857         * vc/ediff-util.el (ediff-toggle-read-only):
3858         Replace obsolete toggle-read-only with read-only-mode.
3860 2014-07-24  Michael Albinus  <michael.albinus@gmx.de>
3862         * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
3863         with `save-match-data'.  (Bug#18095)
3865 2014-07-21  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3867         * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
3868         order to ensure that row and col are lexically bound inside the
3869         evaluated sexp.
3871 2014-07-21  Glenn Morris  <rgm@gnu.org>
3873         * progmodes/hideif.el (hide-ifdef-mode-submap):
3874         Also substitute read-only-mode.
3875         * bindings.el (mode-line-toggle-read-only):
3876         * bs.el (bs-toggle-readonly):
3877         * buff-menu.el (Buffer-menu-toggle-read-only):
3878         * dired.el (dired-toggle-read-only):
3879         * files.el (view-read-only, find-file-read-only)
3880         (find-file-read-only-other-window)
3881         (find-file-read-only-other-frame):
3882         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
3883         Doc fixes re toggle-read-only.
3885 2014-07-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3887         * progmodes/python.el: Add comment about pipe buffering and
3888         solutions for missing/delayed output in inferior Python shells.
3889         (Bug#17304)
3891         * progmodes/python.el (python-mode): Don't set
3892         mode-require-final-newline.  (Bug#17990)
3894         Make python.el work with IPython automatically.  (Bug#15510)
3895         * progmodes/python.el:
3896         (python-shell-completion-setup-code): New value supporting iPython.
3897         (python-shell-completion-string-code): New value supporting iPython.
3898         (python-shell-completion-get-completions): Use them.
3899         (python-shell-completion-module-string-code): Make obsolete.
3900         (python-shell-prompt-input-regexps)
3901         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
3902         (python-shell-output-filter): Fix comment typo.
3904         Fix Python shell prompts detection for remote hosts.
3905         * progmodes/python.el (python-shell-prompt-detect):
3906         Replace call-process with process-file and make it more robust.
3908         Autodetect Python shell prompts.  (Bug#17370)
3909         * progmodes/python.el:
3910         (python-shell-interpreter-interactive-arg)
3911         (python-shell-prompt-detect-enabled)
3912         (python-shell-prompt-detect-failure-warning)
3913         (python-shell-prompt-input-regexps)
3914         (python-shell-prompt-output-regexps): New vars.
3915         (python-shell-prompt-calculated-input-regexp)
3916         (python-shell-prompt-calculated-output-regexp): New vars.
3917         (python-shell-get-process-name)
3918         (python-shell-internal-get-process-name)
3919         (python-shell-output-filter)
3920         (python-shell-completion-get-completions): Use them.
3921         (python-shell-prompt-detect)
3922         (python-shell-prompt-validate-regexps): New functions.
3923         (python-shell-prompt-set-calculated-regexps): New function.
3924         (inferior-python-mode): Use it.  Also honor overriden
3925         python-shell-interpreter and python-shell-interpreter-args.
3926         (python-shell-make-comint): Honor overriden
3927         python-shell-interpreter and python-shell-interpreter-args.
3928         (python-shell-get-or-create-process): Make it testable by allowing
3929         to call run-python non-interactively.
3930         (python-util-valid-regexp-p): New function.
3931         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
3932         (python-shell-prompt-output-regexp)
3933         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
3935 2014-07-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3937         * emacs-lisp/smie.el (smie-config--guess-1): Split from
3938         smie-config--guess.
3939         (smie-config--guess): Use it.
3941         * emacs-lisp/edebug.el: Use nadvice.
3942         (edebug-original-read): Remove.
3943         (edebug--read): Rename from edebug-read and add `orig' arg.
3944         (edebug-uninstall-read-eval-functions)
3945         (edebug-install-read-eval-functions): Use nadvice.
3946         (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
3947         (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
3948         (edebug-read-string, edebug-read-function): Use just `read'.
3949         (edebug-original-debug-on-entry): Remove.
3950         (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
3951         `orig' arg.
3952         (debug-on-entry): Override with nadvice.
3954         * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
3955         it also makes sense to bind it to a non-mouse event.
3957         * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
3959 2014-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3961         * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
3962         (bug#18015).
3964         * rect.el (rectangle--string-preview): Don't assume there
3965         a non-nil default (bug#17984).
3967 2014-07-16  Glenn Morris  <rgm@gnu.org>
3969         * desktop.el (after-init-hook): Disable startup frame restoration
3970         in non-graphical situations.  (Bug#17693)
3972         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
3973         if it was "empty", or used for a different set of files.  (Bug#17884)
3975 2014-07-16  Eli Zaretskii  <eliz@gnu.org>
3977         * bindings.el (mode-line-remote): If default-directory is not a
3978         string, don't call file-remote-p on it; instead state in the
3979         help-echo that it is nil.  (Bug#17986)
3981 2014-07-14  Daniel Colascione  <dancol@dancol.org>
3983         * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
3984         to `macroexpand-all'
3986         * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
3987         Use `macroexpand-all' instead of `cl-macroexpand-all'.
3989 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
3991         Fix bug: C-x v v discarded existing log message (Bug#17884).
3992         * vc/vc-dispatcher.el (vc-log-edit):
3993         Don't clobber an already-existing log message.
3995 2014-07-12  Glenn Morris  <rgm@gnu.org>
3997         * vc/log-edit.el (log-edit-changelog-entries):
3998         Check for a visited-but-never-saved ChangeLog.
4000 2014-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4002         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
4003         a non-existing file (bug#17970).
4005         * faces.el (face-name): Undo last change.
4006         (x-resolve-font-name): Don't call face-name (bug#17956).
4008 2014-07-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4010         Fix dedenters and electric colon handling. (Bug#15163)
4011         * progmodes/python.el
4012         (python-rx-constituents): Add dedenter and block-ender.
4013         (python-indent-dedenters, python-indent-block-enders): Delete.
4014         (python-indent-context): Return new case for dedenter-statement.
4015         (python-indent-calculate-indentation): Handle new case.
4016         (python-indent-calculate-levels): Fix levels calculation for
4017         dedenter statements.
4018         (python-indent-post-self-insert-function): Fix colon handling.
4019         (python-info-dedenter-opening-block-message): New function.
4020         (python-indent-line): Use it.
4021         (python-info-closing-block)
4022         (python-info-closing-block-message): Remove.
4023         (python-info-dedenter-opening-block-position)
4024         (python-info-dedenter-opening-block-positions)
4025         (python-info-dedenter-statement-p): New functions.
4027 2014-07-11  Dmitry Antipov  <dmantipov@yandex.ru>
4029         * files.el (out-of-memory-warning-percentage): New defcustom.
4030         (warn-maybe-out-of-memory): Use it.
4032 2014-07-11  Michael Albinus  <michael.albinus@gmx.de>
4034         * subr.el (read-passwd): Use `read-hide-char' if non-nil.  Bind it
4035         when calling `read-string'.  (Bug#17839)
4037 2014-07-10  Eli Zaretskii  <eliz@gnu.org>
4039         * files.el (warn-maybe-out-of-memory): Fix the wording of the
4040         warning.
4042 2014-07-10  Dmitry Antipov  <dmantipov@yandex.ru>
4044         * files.el (warn-maybe-out-of-memory): New function.
4045         (find-file-noselect): Use it.
4047 2014-07-09  Sam Steingold  <sds@gnu.org>
4049         * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
4050         `constant' like `bless', `return' &c
4052 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4054         * rect.el (apply-on-rectangle): Check forward-line really moved to the
4055         next line.
4057 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4059         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
4060         the middle of a line (bug#17896).
4062 2014-07-09  Juri Linkov  <juri@jurta.org>
4064         * startup.el (command-line): Append displaying the warning about
4065         the errors in the init file to the end of `after-init-hook'.
4066         (Bug#17927)
4068         * faces.el (face-name): Return input arg `face' as-is
4069         when it's not a symbol.
4070         (x-resolve-font-name): Don't check if the face is a symbol.
4071         (Bug#17956)
4073         * facemenu.el (list-colors-print): In help-echo format use %.2f
4074         instead of %d because now HSV values are floating-point components
4075         between 0.0 and 1.0.
4077 2014-07-09  Glenn Morris  <rgm@gnu.org>
4079         * emulation/cua-rect.el (cua--activate-rectangle):
4080         Avoid setting cua--rectangle to nil.  (Bug#17877)
4082 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
4084         * calendar/todo-mode.el: Fix wrong-type-argument error when
4085         marking multiple consecutive items.
4086         (todo-toggle-mark-item): Don't try to mark the empty lines at the
4087         end of the todo and done items sections.  Note in doc string that
4088         items marked by passing a numeric prefix argument can include the
4089         last todo and first done items.
4090         (todo-mark-category): Don't try to mark the empty line between the
4091         todo and done items sections.
4093 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4095         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
4096         proper Lisp quoting (bug#17934).
4098         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
4099         require-final-newline since prog-mode already took care of it (bug#17947).
4101 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
4103         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
4104         refer to the Todo mode Info manual.  Update the comment on
4105         requiring cl-lib.
4106         (todo-find-filtered-items-file): Add todo-prefix overlays.
4107         (todo-filter-items): Reorder a let-bound variable to avoid a
4108         wrong-type-argument error on canceling the file choice dialog.
4110 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4112         * progmodes/octave.el (inferior-octave-mode):
4113         Set comint-input-ring-size to a number (bug#17912).
4115 2014-07-09  Juri Linkov  <juri@jurta.org>
4117         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
4118         and `isearch-mode' associated with nil.  (Bug#17849)
4120 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4122         * linum.el (linum--face-height): New function (bug#17813).
4123         (linum-update-window): Use it to adjust margin to linum's width.
4125         * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
4126         * eshell/em-smart.el (eshell-smart-scroll-window):
4127         Use with-selected-window.
4129         * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
4130         Remove also pointless window&mark manipulation.
4132         * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
4133         (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
4134         (perl-continuation-line-p): Don't skip over anything else than labels.
4135         Return the previous char.
4136         (perl-calculate-indent): Use syntax-ppss instead of parse-start
4137         and update callers accordingly.  For continuation lines, check the
4138         the case of array hashes.
4139         (perl-backward-to-noncomment): Make it non-interactive.
4140         (perl-backward-to-start-of-continued-exp): Rewrite.
4142 2014-07-08  Sam Steingold  <sds@gnu.org>
4144         * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
4145         New user commands.
4147 2014-07-08  Juri Linkov  <juri@jurta.org>
4149         * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
4150         (vc-annotate-color-map): Use less saturated colors (20%) for
4151         background-mode.
4152         (vc-annotate-very-old-color): Add default value for background-mode.
4153         (vc-annotate-background): Set default value to nil since now text on
4154         the default backgrounds should be legible in light and dark modes.
4155         (vc-annotate-lines): Use `vc-annotate-background-mode'.  Doc fix.
4156         (Bug#17808)
4158 2014-07-08  Juri Linkov  <juri@jurta.org>
4160         * simple.el (transpose-chars): Don't move point into read-only area.
4161         (Bug#17829)
4163 2014-07-08  Juri Linkov  <juri@jurta.org>
4165         * window.el (with-displayed-buffer-window): New macro.
4166         (with-temp-buffer-window, with-current-buffer-window):
4167         Use `macroexp-let2' to evaluate and bind variables
4168         in the same order as macro arguments.
4169         (display-buffer--action-function-custom-type):
4170         Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
4172         * minibuffer.el (minibuffer-completion-help): Replace
4173         `with-output-to-temp-buffer' with `with-displayed-buffer-window'
4174         with actions that display *Completions* at-bottom when called
4175         from the minibuffer, or below-selected in a normal buffer.
4176         Associate `window-height' with `fit-window-to-buffer'.
4177         Let-bind `pop-up-windows' to nil.
4179         * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
4180         instead of `with-current-buffer-window'.  (Bug#17809)
4182 2014-07-07  Luke Lee  <luke.yx.lee@gmail.com>
4184         * progmodes/hideif.el (hide-ifdef-env): Change to global.
4185         (hide-ifdef-env-backup): New variable.
4186         (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
4187         New customizable variables.
4188         (hif-clear-all-ifdef-defined): New defun.
4189         (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
4190         (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
4191         (hif-tokenize): Fix for MS-DOS/Win EOL style.
4192         (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
4193         Fix bug to hide the correct #elif region(s).
4194         (hif-range-elif): New defun.
4195         (hif-recurse-level): New var.
4196         (hif-evaluate-region, hif-evaluate-macro): New defun.
4197         (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
4198         fully hidden.
4199         (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
4200         Better interaction.
4202 2014-07-04  Michael Albinus  <michael.albinus@gmx.de>
4204         * net/dbus.el (dbus-peer-handler): New defun.
4205         (dbus-register-service): Register it.  (Bug#17858)
4206         (dbus-managed-objects-handler): Fix docstring.
4208 2014-07-04  Phil Sainty  <psainty@orcon.net.nz>
4210         * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
4211         (narrow-to-defun): New arg include-comments, defaulting to it
4212         (bug#16328).
4214 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4216         * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
4217         different calling convention to rectangle--unhighlight-for-redisplay.
4219 2014-07-03  Michael Albinus  <michael.albinus@gmx.de>
4221         * net/tramp.el (tramp-call-process): Handle error strings.
4223         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
4225         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
4226         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
4228         * net/trampver.el: Update release number.
4230 2014-07-03  Juri Linkov  <juri@jurta.org>
4232         * desktop.el (desktop-save): Rename arg `auto-save' to
4233         `only-if-changed'.  Doc fix.  (Bug#17873)
4235 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4237         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
4238         Use insert-for-yank (bug#17271).
4240 2014-07-03  Leo Liu  <sdl.web@gmail.com>
4242         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
4243         Support lexical-binding.
4245 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4247         * vc/log-edit.el (log-edit-goto-eoh): New function.
4248         (log-edit--match-first-line): Use it (bug#17861).
4250 2014-07-03  Glenn Morris  <rgm@gnu.org>
4252         * vc/log-edit.el (log-edit-hook): Add missing :version.
4254 2014-07-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4256         * progmodes/python.el (python-indent-post-self-insert-function):
4257         Enhancements to electric indentation behavior inside
4258         parens. (Bug#17658)
4260 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4262         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
4263         buffer-invisibility-spec (bug#17867).
4265 2014-07-03  Andreas Schwab  <schwab@linux-m68k.org>
4267         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
4268         pass "-a".
4270 2014-07-03  Glenn Morris  <rgm@gnu.org>
4272         * cus-edit.el (help):
4273         * finder.el (finder-known-keywords):
4274         * help.el (help-for-help-internal):
4275         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
4276         (ediff-redraw-registry-buffer):
4277         * vc/ediff-ptch.el (ediff-patch-file-internal):
4278         Doc fixes re "online" help.  (Bug#17803)
4280         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
4281         (idlwave-mode): Doc URL update.
4283 2014-07-01  Juri Linkov  <juri@jurta.org>
4285         * man.el: Display man pages immediately and use process-filter
4286         to format them asynchronously.
4287         (Man-width): Doc fix.
4288         (man): Doc fix.
4289         (Man-start-calling): Use `with-selected-window' to get
4290         `frame-width' and `window-width'.
4291         (Man-getpage-in-background): Call `Man-notify-when-ready'
4292         immediately after creating a new buffer.  Call `Man-mode' and set
4293         `mode-line-process' in the created buffer.  Set process-filter to
4294         `Man-bgproc-filter' in start-process branch.  In call-process branch
4295         call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
4296         Use `Man-start-calling' inside `with-current-buffer'.
4297         (Man-fontify-manpage): Don't print messages.  Fix boundary condition.
4298         (Man-cleanup-manpage): Don't print messages.
4299         (Man-bgproc-filter): New function.
4300         (Man-bgproc-sentinel): Add `save-excursion' to keep point when
4301         user moved it during asynchronous formatting.  Move calls of
4302         `Man-fontify-manpage' and `Man-cleanup-manpage' to
4303         `Man-bgproc-filter'.  Move the call of `Man-mode' to
4304         `Man-getpage-in-background'.  Use `quit-restore-window'
4305         instead of `kill-buffer'.  Use `message' instead of `error'
4306         because errors are caught by process sentinel.
4307         (Man-mode): Move calls of `Man-build-page-list',
4308         `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
4309         `Man-bgproc-sentinel'.  Doc fix.  (Bug#2588, bug#5054, bug#9084, bug#17831)
4311         * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
4312         for the message about the man page cleaned up.
4314 2014-07-01  Mario Lang  <mlang@delysid.org>
4316         * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
4317         cosutomization option `gnutls-verify-error'.
4319 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4321         * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
4322         Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
4324         * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
4325         (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
4326         is suspended (bug#17857).
4328 2014-07-01  Michael Albinus  <michael.albinus@gmx.de>
4330         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4331         Prefer utf-8 coding.  (Bug#17859)
4333 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4335         * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
4336         for `reverse'.
4338 2014-06-30  Glenn Morris  <rgm@gnu.org>
4340         * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
4341         (autoload-ensure-default-file): Maybe make existing output writable.
4342         * Makefile.in (AUTOGEN_VCS): Remove.
4343         (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
4345 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4347         * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
4349 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4351         New if-let, when-let, thread-first and thread-last macros.
4353         * emacs-lisp/subr-x.el
4354         (internal--listify, internal--check-binding)
4355         (internal--build-binding-value-form, internal--build-binding)
4356         (internal--build-bindings): New functions.
4357         (internal--thread-argument, thread-first, thread-last)
4358         (if-let, when-let): New macros.
4360 2014-06-30  Grégoire Jadi  <daimrod@gmail.com>
4362         * net/rcirc.el (rcirc-buffer-process): Restore previous
4363         behaviour.  (Bug#17772)
4365 2014-06-29  Alan Mackenzie  <acm@muc.de>
4367         Don't call c-parse-state when c++-template-syntax-table is active.
4368         * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
4369         (c-guess-basic-syntax CASE 5D.3): Rearrange so that
4370         c-syntactic-skip-backwards isn't called with the pertinent syntax table.
4372 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
4374         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
4375         account for file-wide setting of todo-top-priorities-overrides.
4376         Make code a bit cleaner.
4378 2014-06-28  Glenn Morris  <rgm@gnu.org>
4380         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
4382 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
4384         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
4385         category-wide setting of todo-top-priorities-overrides, check for
4386         a file-wide setting and fontify accordingly.
4388 2014-06-28  Glenn Morris  <rgm@gnu.org>
4390         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
4392 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4394         * progmodes/hideif.el: Use lexical-binding.  Fix up cl-lib usage.
4396 2014-06-28  K. Handa  <handa@gnu.org>
4398         Fix Bug#17739.
4400         * composite.el: Setup composition-function-table for dotted circle.
4401         (compose-gstring-for-dotted-circle): New function.
4403         * international/characters.el: Add category "^" to all
4404         non-spacing characters.
4406 2014-06-28  Glenn Morris  <rgm@gnu.org>
4408         * Makefile.in (doit): Remove force rule.
4409         (custom-deps, finder-data, autoloads, update-subdirs)
4410         (compile-one-process): PHONY targets do not need force rules.
4412         * Makefile.in (compile-main, compile, compile-always):
4413         No need to explicitly pass variables to ourself in recursive calls.
4415 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4417         * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
4419 2014-06-26  Glenn Morris  <rgm@gnu.org>
4421         * Makefile.in (update-authors): Update for moved authors.el.
4423 2014-06-26  Leo Liu  <sdl.web@gmail.com>
4425         * skeleton.el (skeleton-end-hook): Default to nil and move the
4426         work to skeleton-insert.  (Bug#17850)
4428 2014-06-26  Dmitry Antipov  <dmantipov@yandex.ru>
4430         * calc/calc-alg.el (math-beforep):
4431         * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
4432         Simplify because string-lessp can accept symbols as args.
4434 2014-06-26  Daiki Ueno  <ueno@gnu.org>
4436         * emacs-lisp/package.el (package--check-signature):
4437         If package-check-signature is allow-unsigned, don't signal error when
4438         we can't verify signature because of missing public key
4439         (bug#17625).
4441 2014-06-26  Glenn Morris  <rgm@gnu.org>
4443         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
4444         Remove outdated declaration.
4446         * emacs-lisp/authors.el (authors-valid-file-names)
4447         (authors-renamed-files-alist): Additions.
4449 2014-06-26  Leo Liu  <sdl.web@gmail.com>
4451         * textmodes/picture.el (picture-set-tab-stops):
4452         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
4453         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
4455         * progmodes/asm-mode.el (asm-calculate-indentation):
4456         Use indent-next-tab-stop.
4458         * indent.el (indent-accumulate-tab-stops): New function.
4460 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4462         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
4463         (package-desc-status): Obey it.
4465 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
4467         * calendar/todo-mode.el: Fix two bugs.
4468         (todo-insert-item--basic): If user cancels item insertion to
4469         another category before setting priority, show original category
4470         whether it is in the same or a different file.
4471         (todo-set-item-priority): After selecting category, instead of
4472         moving point to top, which extends an active region, restore it.
4474 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4476         * help-fns.el (describe-function-1): Check file-name is a string before
4477         calling help-fns--autoloaded-p (bug#17564).
4479 2014-06-26  Juri Linkov  <juri@jurta.org>
4481         * desktop.el (desktop-auto-save-enable)
4482         (desktop-auto-save-disable): New functions.
4483         (desktop-save-mode, desktop-auto-save-timeout): Use them.
4484         (desktop-read): Disable the autosave before loading the desktop,
4485         and enable afterwards.  (Bug#17351)
4487 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4489         Fix some indentation problem with \; and pipes (bug#17842).
4490         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
4491         (sh-smie--default-forward-token, sh-smie--default-backward-token):
4492         New functions.
4493         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
4494         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
4495         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
4497 2014-06-26  Glenn Morris  <rgm@gnu.org>
4499         * emacs-lisp/find-func.el (find-function-C-source-directory):
4500         Use file-accessible-directory-p.
4502         * ps-samp.el: Make it slightly less awful.
4503         (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
4504         (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
4505         Only set local values.
4506         (ps-article-subject, ps-article-author): Use standard functions
4507         like mail-fetch-field.
4508         (ps-info-file, ps-info-node): Use match-string.
4509         (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
4510         (ps-samp-ps-setup): ... new function.
4512         * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
4513         Optimize away code unneeded on any modern Emacs.
4515         * emacs-lisp/authors.el: Move to ../admin.
4517         * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
4519 2014-06-26  Luke Lee  <luke.yx.lee@gmail.com>
4521         * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
4522         (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
4523         performance enhancements.
4524         (hif-parse-if-exp): Rename to `hif-parse-exp'.  Enhance for macro
4525         expansion.
4526         (hif-factor, hif-string-concatenation, intern-safe): Support string
4527         concatenation and argumented macro expansion.
4528         (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
4529         (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
4530         (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
4531         (hif-canonicalize-tokens, hif-place-macro-invocation)
4532         (hif-parse-macro-arglist): Mostly new functions for supporting
4533         argumented macro expansion.
4534         (hif-string-concatenation, hif-stringify, hif-token-concat)
4535         (hif-token-stringification, hif-token-concatenation):
4536         Stringification and concatenation.
4537         (hif-find-next-relevant): Fix comments.
4538         (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
4539         some cases involving #elif.
4540         (hif-find-define, hif-add-new-defines): New functions for automatically
4541         scanning of defined symbols.
4542         (hide-ifdef-guts): Fix for defined symbol auto scanning.
4543         (hide-ifdef-undef): Fix behavior to match CPP.
4545 2014-06-25  Glenn Morris  <rgm@gnu.org>
4547         * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
4548         ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
4549         ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
4550         files.  They are not relevant to the original issue (bug#1004),
4551         and cause unnecessary recompilation (bug#2151).
4553 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4555         * play/landmark.el: Use lexical-binding and avoid `intangible'.
4556         (landmark--last-pos): New var.
4557         (landmark--intangible-chars): New const.
4558         (landmark--intangible): New function.
4559         (landmark-mode, landmark-move): Use it.
4560         (landmark-mode): Remove properties.
4561         (landmark-plot-square, landmark-point-square, landmark-goto-xy)
4562         (landmark-cross-qtuple):
4563         Don't worry about `intangible' any more.
4564         (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
4565         (landmark-init-display): Don't set `intangible' and `point-entered'.
4566         (square): Remove.  Inline it instead.
4567         (landmark--distance): Rename from `distance'.
4568         (landmark-calc-distance-of-robot-from): Rename from
4569         calc-distance-of-robot-from.
4570         (landmark-calc-smell-internal): Rename from calc-smell-internal.
4572 2014-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
4574         * files.el (dir-locals-find-file, file-relative-name):
4575         * info.el (Info-complete-menu-item):
4576         * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
4577         to compare-strings to avoid out-of-range errors.
4578         * subr.el (string-prefix-p): Adjust to match strict range
4579         checking in compare-strings.
4581 2014-06-24  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
4583         * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
4584         for comment lines non-greedy and stopping at newlines to fix stack
4585         overflows with large files.
4587 2014-06-24  Eli Barzilay  <eli@barzilay.org>
4589         * calculator.el (calculator-last-input): Drop 'ascii-character property
4590         lookup.
4592 2014-06-24  Leo Liu  <sdl.web@gmail.com>
4594         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
4595         tab-stop-list to nil.  (Bug#16381)
4597         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
4598         (indent-rigidly-left-to-tab-stop)
4599         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
4600         (move-to-tab-stop): Change callers.
4602 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
4604         * skeleton.el (skeleton-insert): Yet another fix of the doc string
4605         wrt behavior of \n as the first/last element of a skeleton.
4607 2014-06-24  Michael Albinus  <michael.albinus@gmx.de>
4609         * net/tramp-adb.el (tramp-adb-handle-process-file):
4610         * net/tramp-sh.el (tramp-sh-handle-process-file):
4611         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
4612         the output buffer when DISPLAY is non-nil.  (Bug#17815)
4614 2014-06-24  Glenn Morris  <rgm@gnu.org>
4616         * play/landmark.el (landmark-move-down, landmark-move-up):
4617         Fix 2007-10-20 change - preserve horizontal position.
4619 2014-06-23  Sam Steingold  <sds@gnu.org>
4621         * simple.el (kill-append): Remove undo boundary depending on ...
4622         (kill-append-merge-undo): New user option.
4624 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4626         * simple.el (handle-shift-selection, exchange-point-and-mark)
4627         (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
4628         (transient-mark-mode): Use&set the global value.
4629         * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
4630         * emulation/edt.el (edt-emulation-off): Save&restore the global
4631         transient-mark-mode setting.
4632         * obsolete/pc-select.el (pc-selection-mode): Use the
4633         transient-mark-mode function.
4635 2014-06-23  Eli Zaretskii  <eliz@gnu.org>
4637         * international/fontset.el (script-representative-chars):
4638         Add representative characters for scripts added in Unicode 7.0.
4639         (otf-script-alist): Synchronize with the latest registry of OTF
4640         script tags.
4642         * international/characters.el (char-script-table): Update for
4643         scripts added and codepoint ranges changed in Unicode 7.0.
4645 2014-06-23  Eli Barzilay  <eli@barzilay.org>
4647         * calculator.el (calculator-standard-displayer): Fix bug in use of
4648         `calculator-groupize-number'.
4649         (calculator-funcall): Fix broken `cl-flet' use by moving it into the
4650         `eval' code, so it works in v24.3.1 too.
4651         (calculator-last-input): Comment to clarify purpose.
4653 2014-06-22  Mario Lang  <mlang@delysid.org>
4655         * textmodes/rst.el (rst-comment-region): From from -> from.
4657         * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
4659 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
4661         * electric.el (electric-layout-post-self-insert-function):
4662         * emacs-lisp/ert.el (ert--insert-infos):
4663         * obsolete/vi.el (vi-set-mark):
4664         * term.el (term-handle-scroll):
4665         * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
4666         * wid-edit.el (widget-editable-list-value-create):
4667         Prefer point-marker to copy-marker of point.
4669 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4671         Fix completion retrieval parsing (bug#17209).
4672         * progmodes/python.el (python-mode):
4673         (python-util-strip-string): New function.
4674         (python-shell-completion-get-completions): Use it.
4676 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
4678         * skeleton.el (skeleton-insert): Fix last change.
4680 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4682         Enhancements for outline integration (bug#17796).
4683         * progmodes/python.el (python-mode): Properly set
4684         outline-heading-end-regexp so that comments after colons for
4685         defuns are supported.
4687 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
4689         * skeleton.el (skeleton-insert): Doc fix.
4691 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4693         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
4694         (smie-config-guess): Use smie-config-local so the rules are obeyed
4695         (bug#17818).
4697         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
4698         since it's already done inside the loop (bug#17819).
4700 2014-06-21  Martin Rudalics  <rudalics@gmx.at>
4702         * mouse.el (mouse-drag-line): Re-remove code initially removed
4703         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
4704         (Bug#17819).
4706 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4708         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
4709         align with the surrounding parent (bug#17721).
4711 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
4713         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
4714         locally to nil.
4715         (texinfo-insert-block, texinfo-insert-@end)
4716         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
4717         local setting of skeleton-end-newline by adding an explicit \n to
4718         the skeletons where appropriate.  (Bug#17801)
4720 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4722         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
4723         (smie-indent--hanging-p): Use it.
4724         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
4726 2014-06-21  Leo Liu  <sdl.web@gmail.com>
4728         * simple.el (read-quoted-char): Don't let help chars pop up help
4729         buffer.  (Bug#16617)
4731 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4733         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
4734         for | (bug#17621).
4736         * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
4737         Drop unknown events instead of burping.
4739 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
4741         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
4742         and later.  (Bug#17790)
4744 2014-06-21  Juri Linkov  <juri@jurta.org>
4746         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
4747         to `soft'.  (Bug#17554)
4749 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4751         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
4752         (bug#17737).
4754 2014-06-21  Dmitry Gutov  <dgutov@yandex.ru>
4756         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
4757         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
4759 2014-06-21  Michael Albinus  <michael.albinus@gmx.de>
4761         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
4762         `unread-command-events'.
4764 2014-06-19  William Xu  <william.xwl@gmail.com>
4766         * progmodes/hideif.el (hif-string-to-number): Don't return float for
4767         hex integer constants (bug#17807).
4769 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4771         * international/mule-util.el (truncate-string-ellipsis): New var.
4772         (truncate-string-to-width): Use it.
4774 2014-06-19  Robert Brown  <robert.brown@gmail.com>  (tiny change)
4776         * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
4777         (lisp-string-in-doc-position-p): New function, extracted from
4778         lisp-font-lock-syntactic-face-function.
4779         (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
4781 2014-06-19  Grégoire Jadi  <daimrod@gmail.com>
4783         * net/rcirc.el (rcirc-omit-mode): Fix recenter error.  (Bug#17769)
4785 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4787         * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
4788         (bubbles--game-over): Don't add `intangible' properties since they
4789         didn't work anyway.
4791 2014-06-18  Juri Linkov  <juri@jurta.org>
4793         * vc/ediff-init.el (ediff-current-diff-Ancestor)
4794         (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
4795         (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
4796         (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
4797         Add `min-colors 88' version with removed black/white foregrounds.
4798         (Bug#10181)
4800 2014-06-18  Juri Linkov  <juri@jurta.org>
4802         * vc/diff-mode.el (diff-changed): Empty face definition to use
4803         `diff-removed' and `diff-added' on tty as well.  (Bug#10181)
4804         (diff-context): Use darker color on light background and
4805         lighter color on dark background.
4807 2014-06-18  Juri Linkov  <juri@jurta.org>
4809         * vc/diff-mode.el (diff-refine-changed): Rename from
4810         `diff-refine-change' for consistency with `diff-changed'.
4811         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
4813         * vc/smerge-mode.el (smerge-refined-changed): Rename from
4814         `smerge-refined-change'.
4815         (smerge-refined-change): Add obsolete face alias.
4817 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4819         * rect.el (rectangle-preview): New custom.
4820         (rectangle): New group.
4821         (rectangle--pos-cols): Add `window' argument.
4822         (rectangle--string-preview-state, rectangle--string-preview-window):
4823         New vars.
4824         (rectangle--string-flush-preview, rectangle--string-erase-preview)
4825         (rectangle--space-to, rectangle--string-preview): New functions.
4826         (string-rectangle): Use them.
4827         (rectangle--inhibit-region-highlight): New var.
4828         (rectangle--highlight-for-redisplay): Obey it.  Make sure
4829         `apply-on-region' uses the point-crutches of the right window.
4830         Use :align-to rather than multiple spaces.
4832 2014-06-16  Andrea Rossetti  <andrea.rossetti@gmail.com>  (tiny change)
4834         * ruler-mode.el (ruler-mode-window-col)
4835         (ruler-mode-mouse-set-left-margin)
4836         (ruler-mode-mouse-set-right-margin): Fix calculation of column
4837         from mouse position (Bug#17768).
4839 2014-06-16  Ron Schnell  <ronnie@driver-aces.com>
4841         * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
4842         without varname or rhs causes crash.
4843         (dun-ftp): Fix bug where blank ftp password is allowed, making it
4844         impossible to win endgame.
4845         (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
4846         rlogin is anymore.
4847         (dun-help): Bump version number; update contact info.
4849 2014-06-15  Eli Barzilay  <eli@barzilay.org>
4851         * calculator.el (calculator-prompt, calculator-remove-zeros)
4852         (calculator-mode-hook, calculator-operators, calculator-stack)
4853         (calculator-mode): Tweak docstring.
4854         (calculator-user-operators): Tweak docstring, fix a bug in the last
4855         example.
4856         (calculator-displayer): `std' case has an optional boolean.
4857         (calculator-displayers): Use the new boolean to group in decimal mode.
4858         (calculator-mode-map, calculator, calculator-message)
4859         (calculator-op-arity, calculator-add-operators)
4860         (calculator-string-to-number, calculator-displayer-prev)
4861         (calculator-displayer-next, calculator-remove-zeros)
4862         (calculator-eng-display, calculator-number-to-string)
4863         (calculator-update-display, calculator-last-input)
4864         (calculator-clear-fragile, calculator-digit, calculator-decimal)
4865         (calculator-exp, calculator-saved-move, calculator-clear)
4866         (calculator-copy, calculator-put-value, calculator-help)
4867         (calculator-expt, calculator-truncate): Minor code improvements.
4868         (calculator-need-3-lines): New function pulling out code from
4869         `calculator'.
4870         (calculator-get-display): Rename from `calculator-get-prompt', and
4871         improved.
4872         (calculator-push-curnum): Rename from `calculator-curnum-value', and
4873         extended for all uses of it.  All callers changed.
4874         (calculator-groupize-number): New utility for splitting a number into
4875         groups.
4876         (calculator-standard-displayer): Improve code, new optional argument to
4877         use comma-split groups, make second argument optional too to use with
4878         'left/'right inputs.  All callers changed.
4879         (calculator-reduce-stack-once): New utility, doing the meat of what
4880         `calculator-reduce-stack' used to do, much improved (mostly using
4881         `pcase' for conciseness and clarity).
4882         (calculator-reduce-stack): Now doing just the reduction loop using
4883         `calculator-reduce-stack-once'.
4884         (calculator-funcall): Improve code, make it work in v24.3.1 too.
4885         (calculator-last-input): Improve code, remove some old cruft.
4886         (calculator-quit): Kill `calculator-buffer' in electric mode too.
4887         (calculator-integer-p): Remove.
4888         (calculator-fact): Improve code, make it work on non-integer values
4889         too (using truncated numbers).
4891 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
4893         Sync with Tramp 2.2.10.
4895         * net/tramp.el (tramp-methods): Tweak docstring.
4896         (tramp-handle-file-accessible-directory-p): Check for
4897         `file-readable-p' instead of `file-executable-p'.
4898         (tramp-check-cached-permissions):
4899         Use `tramp-compat-file-attributes'.
4900         (tramp-call-process): Add new argument VEC.  Adapt callees in all
4901         tramp*.el files.
4903         * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
4904         (tramp-adb-maybe-open-connection): Don't set
4905         `tramp-current-*' variables.
4907         * net/tramp-cache.el (tramp-flush-file-function): Do not flush
4908         file properties of temporary buffers.
4910         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
4912         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
4913         (tramp-gvfs-handle-delete-file): Flush file
4914         properties, not directory properties.
4915         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
4916         reading "unix::mode".
4917         (tramp-gvfs-handle-file-name-all-completions):
4918         Use "-h" option for "gvfs-ls".
4919         (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
4920         (tramp-gvfs-send-command): Simplify traces.
4922         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
4923         (vc-git-program, vc-hg-program): Declare.
4924         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
4925         (tramp-methods) <nc>: Add new method.
4926         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
4927         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
4928         `tramp-login-args'.
4929         (tramp-default-user-alist): Add "nc".
4930         (top): Remove completion function for "sftp".  Add completion
4931         functions for "nc" and "psftp".
4932         (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
4933         Implement support for "nc" method.
4934         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
4935         (tramp-remote-coding-commands, tramp-call-local-coding-command):
4936         Tweak docstring.
4937         (tramp-sh-handle-write-region): Tweak error message.
4938         (tramp-sh-handle-vc-registered): Remove backends when the remote
4939         binary does not exist.
4940         (tramp-find-inline-encoding): Do not raise an error.
4941         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
4942         the "nc" case.  Quote result also locally.
4944         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4945         (tramp-smb-handle-set-file-acl): Use `start-process'.
4946         (tramp-smb-handle-insert-directory): Use progress reporter.
4947         (tramp-smb-handle-rename-file): Flush also file properties of
4948         FILENAME.
4950         * net/trampver.el: Update release number.
4952 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4954         * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
4955         add-to-list.
4956         (ses-localvars): Remove ses--local-printer-list, unused.
4957         (ses--metaprogramming): New macro.  Use it to defvar variables.
4958         (ses-set-localvars): Simplify.
4959         (ses--locprn, ses-cell): Use defstruct.  Change ses-cell's
4960         property-list into an alist.
4961         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
4962         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
4963         Remove; use defstruct accessors/setters instead.
4964         (ses-cell-formula-aset, ses-cell-printer-aset)
4965         (ses-cell-references-aset): Remove, use setf instead.
4966         (ses--alist-get): New function.
4967         (ses-cell-property): Rename from ses-cell-property-get and rewrite.
4968         Use an alist instead of a plist and don't do move-to-front since the
4969         list is always short.
4970         (ses-cell-property-get-fun, ses-cell-property-delq-fun)
4971         (ses-cell-property-set-fun, ses-cell-property-set)
4972         (ses-cell-property-pop-fun, ses-cell-property-get-handle)
4973         (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
4974         (ses--letref): New macro.
4975         (ses-cell-property-pop): Rewrite.
4976         (ses--cell): Rename from ses-cell and make it into a function.
4977         Make `formula' fallback on `value' if nil.
4978         (ses--local-printer): Rename from ses-local-printer and make it into
4979         a function.
4980         (ses-set-cell): Turn it into a macro so finding the accessor from the
4981         field name is done at compile time.
4982         (ses-repair-cell-reference-all): Test presence of `sym' rather than
4983         `ref' before adding `sym' to :ses-repair-reference.
4984         (ses-calculate-cell): Use ses--letref rather than
4985         ses-cell-property-get-handle.
4986         (ses-write-cells): Use a single prin1-to-string.
4987         (ses-setter-with-undo): New function.
4988         (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
4989         (ses-unset-with-undo): Remove.
4990         (ses-load): Prefer apply' over `eval'.
4991         (ses-read-printer, ses-set-column-width): Use standard "(default
4992         foo)" format.
4994 2014-06-15  Glenn Morris  <rgm@gnu.org>
4996         * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
4998         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
4999         Replace delete-duplicates and mapcan by cl- versions throughout.
5000         And cl-macroexpand-all by macroexpand-all.
5001         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
5003 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
5005         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
5007 2014-06-15  Juri Linkov  <juri@jurta.org>
5009         * bindings.el: Put `ascii-character' property on keypad keys
5010         mapped to characters.  (Bug#17759)
5012 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5014         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
5015         bumping forward into a closing paren (bug#17761).
5017         * term/xterm.el (xterm--version-handler): Work around for OSX
5018         Terminal.app (bug#17607).
5020 2014-06-14  Ron Schnell  <ronnie@driver-aces.com>
5022         * play/dunnet.el (dun-describe-room, dun-mode):
5023         If a lamp is in the room, you won't be eaten by a grue.
5025 2014-06-13  Glenn Morris  <rgm@gnu.org>
5027         * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
5028         (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
5029         (compile-always): GNU make automatically passes
5030         command-line arguments to sub-makes.
5032         * calendar/calendar.el (calendar-generate-window):
5033         Remove pointless call to font-lock-fontify-buffer.
5035 2014-06-13  Matthias Meulien  <orontee@gmail.com>
5037         * simple.el (completion-list-mode-map): Navigate with tab and backtab
5038         (bug#17767).
5040 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5042         * simple.el (set-mark-command): Simplify a bit.
5044 2014-06-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
5046         * help.el (help--key-binding-keymap): New function.
5047         (help--binding-locus): New function.
5048         (describe-key): Mention the keymap in which the binding was
5049         found. (bug#13948)
5051 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5053         * hippie-exp.el (he--all-buffers): New function.
5054         (try-expand-line-all-buffers, try-expand-list-all-buffers)
5055         (try-expand-dabbrev-all-buffers): Use it.
5057 2014-06-12  Emilio C. Lopes  <eclig@gmx.net>
5059         * hippie-exp.el (try-expand-line-all-buffers)
5060         (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
5061         Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
5062         original buffer, in case they're buffer-local.
5064 2014-06-12  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5066         * ses.el (ses-initial-global-parameters-re): New defconst, a
5067         specific regexp is needed now that ses.el can handle both
5068         file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
5069         local printers.
5070         (ses-localvars): Add local variables needed for local printer handling.
5071         (ses-set-localvars): Handle hashmap initialisation.
5072         (ses-paramlines-plist): Add param-line for number of local printers.
5073         (ses-paramfmt-plist): New defconst, needed for code factorization
5074         between functions `ses-set-parameter' and
5075         `ses-file-format-extend-paramter-list'
5076         (ses-make-local-printer-info): New defsubst.
5077         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
5078         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
5079         (ses-cell-printer-aset): New defmacro.
5080         (ses-local-printer-compile): New defun.
5081         (ses-local-printer): New defmacro.
5082         (ses-printer-validate, ses-call-printer): Add support for local
5083         printer functions.
5084         (ses-file-format-extend-paramter-list): New defun.
5085         (ses-set-parameter): Use const `ses-paramfmt-plist' for code
5086         factorization.
5087         (ses-load): Add support for local printer functions.
5088         (ses-read-printer): Update docstring and add support for local printer
5089         functions.
5090         (ses-refresh-local-printer, ses-define-local-printer): New defun.
5091         (ses-safe-printer): Add support for local printer functions.
5093 2014-06-12  Ivan Andrus  <darthandrus@gmail.com>
5095         * ffap.el (ffap-lax-url): New var (bug#17723).
5096         (ffap-url-at-point): Use it.
5097         (ffap-file-at-point): Avoid returning just "/".
5099 2014-06-12  Matthias Meulien  <orontee@gmail.com>
5101         * progmodes/python.el (import skeleton): New skeleton (bug#17672).
5102         (python-mode-map): Bind it.
5104         * progmodes/python.el (class skeleton): Don't erase last char of class
5105         name (bug#17683).
5107 2014-06-12  Cameron Desautels  <camdez@gmail.com>  (tiny change)
5109         * help.el (where-is): Use `default' arg of completing-read (bug#17705).
5111 2014-06-12  Kevin Ryde  <user42_kevin@yahoo.com.au>
5113         * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
5114         (bug#17745).
5116 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5118         * international/mule-cmds.el: Use lexical-binding.
5119         (ucs-names): Simplify.
5121 2014-05-18  Eric Hanchrow  <eric.hanchrow@gmail.com>
5123         * progmodes/python.el (run-python): Use read-shell-command.
5125 2014-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5127         * rect.el: Make it possible to move bounds past EOL or into TABs.
5128         (operate-on-rectangle): Use apply-on-rectangle.
5129         (rectangle--mark-crutches): New var.
5130         (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
5131         (rectangle--crutches, rectangle--reset-crutches): New functions.
5132         (apply-on-rectangle): Obey crutches.  Avoid setq.
5133         Fix missing final iteration if end is at EOB&BOL.
5134         (rectangle-mark-mode-map): Add remap bindings for
5135         exchange-point-and-mark and char/line movements.
5136         (rectangle--*-char): New function.
5137         (rectangle-exchange-point-and-mark, rectangle-right-char)
5138         (rectangle-left-char, rectangle-forward-char)
5139         (rectangle-backward-char, rectangle-next-line)
5140         (rectangle-previous-line): New commands.
5141         (rectangle--place-cursor): New function.
5142         (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
5144 2014-06-08  Glenn Morris  <rgm@gnu.org>
5146         * startup.el (initial-buffer-choice): Doc fix.
5147         Reset :version (adding an option does not merit a :version bump).
5149         * bookmark.el (bookmark-load):
5150         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
5152 2014-06-08  Juri Linkov  <juri@jurta.org>
5154         * desktop.el: Activate auto-saving on window configuration changes.
5155         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
5156         `desktop-auto-save-set-timer' to/from
5157         `window-configuration-change-hook'.
5158         (desktop-auto-save-set-timer): Change REPEAT arg of
5159         `run-with-idle-timer' from t to nil.
5160         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
5162 2014-06-08  Santiago Payà i Miralta  <santiagopim@gmail.com>
5164         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
5165         vc-hg-command (bug#17570).
5167 2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5169         * international/mule-cmds.el (ucs-names): Add special entry for BEL
5170         (bug#17702).
5172 2014-06-08  Glenn Morris  <rgm@gnu.org>
5174         * startup.el (window-setup-hook): Doc fix.
5176         * emacs-lisp/package.el (package-check-signature)
5177         (package-unsigned-archives): Doc fixes.
5179 2014-06-08  Martin Rudalics  <rudalics@gmx.at>
5181         * window.el (display-buffer-use-some-window): Don't make window
5182         used smaller than it was before (Bug#17671).
5184 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
5186         * menu-bar.el (menu-bar-open): Fix last change: use the PC
5187         'redisplay' instead of '(sit-for 0)'.
5189 2014-06-08  Michael Albinus  <michael.albinus@gmx.de>
5191         * net/tramp.el (tramp-ssh-controlmaster-options):
5192         Improve search regexp.  (Bug#17653)
5194 2014-06-08  Glenn Morris  <rgm@gnu.org>
5196         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
5198 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
5200         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
5202 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
5204         * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
5205         (bug#17586).
5207         * vc/vc-hg.el (vc-hg-log-graph): New var.
5208         (vc-hg-print-log): Use it.
5209         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
5210         graph output (bug#17515).
5212 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5214         * mouse.el (mouse-posn-property): Ignore buffer position info when the
5215         even happened elsewhere.
5217 2014-06-06  Mario Lang  <mlang@delysid.org>
5219         * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
5220         `recenter' if `current-buffer' is equal to `window-buffer'.
5222 2014-06-05  Leo Liu  <sdl.web@gmail.com>
5224         * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
5226 2014-06-05  Michal Nazarewicz  <mina86@mina86.com>
5228         * textmodes/tildify.el (tildify-foreach-region-outside-env):
5229         New function which calls a callback on portions of the buffer that are
5230         outside of ignored environments.
5231         (tildify-build-regexp): Remove function since it is now
5232         incorporated in `tildify-foreach-region-outside-env' where it is
5233         optimized and simplified by the use of `mapconcat'.
5234         (tildify-tildify): Return number of substitutions made so that…
5235         (tildify-count): …can be removed.
5236         (tildify-find-env): Accept a new PAIRS argument which was
5237         previously looked up in `tildify-ignored-environments-alist' each
5238         time the function was called.  With this change, the lookup is
5239         performed only once in `tildify-foreach-region-outside-env'.
5240         (tildify-region): Greatly simplify the function since now most of
5241         the work is done by `tildify-foreach-region-outside-env'.
5242         (tildify-mode-alist): Simplify slightly by avoiding if and setq
5243         and instead using or.
5245         * textmodes/tildify.el (tildify-ignored-environments-alist):
5246         Optimize environments regexes
5248         Each time beginning of an environment to ignore is found,
5249         `tildify-find-env' needs to identify regexp for the ending
5250         of the environment.  This is done by trying all the opening
5251         regexes on matched text in a loop, so to speed that up, this
5252         loop should have fewer things to match, which can be done by
5253         using alternatives in the opening regexes.
5255         Coincidentally, this should make matching of the opening
5256         regexp faster as well thanks to the use of `regexp-opt' and
5257         having common prefix pulled from many regexes.
5259         * textmodes/tildify.el (tildify-string-alist)
5260         (tildify-ignored-environments-alist): Add `nxml-mode' to the list
5261         of supported modes since `xml-mode' is no longer a thing but just
5262         an alias to the former.  Also include comments and insides of tags
5263         in `tildify-ignored-environments-alist' for XML modes.  Finally,
5264         since XML does not define “&nbsp;”[1], use a numeric reference for
5265         a no-break space (namely “&#160;”)
5267         [1] XML specification defines only a handful of predefined entities.
5268             The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
5269             and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
5270             >, &, ' and " respectively).  This is in contrast to HTML and even
5271             XHTML which defined a whole bunch of entities including “&nbsp;”.
5273         * textmodes/tildify.el (tildify-pattern-alist)
5274         (tildify-string-alist, tildify-ignored-environments-alist):
5275         Improve defcustom's types by adding more tags explaining what each
5276         value means and replace “sexp” used in
5277         `tildify-ignored-environments-alist' with a full type declaration.
5279         * textmodes/tildify.el (tildify-find-env): Fix matched group
5280         indexes in end-regex building
5282         When looking for a start of an ignore-environment, the regex is built
5283         by concatenating regexes of all the environments configured in
5284         `tildify-ignored-environments-alist'.  So for example, the following
5285         list could be used to match TeX's \verb and \verb* commands:
5287             (("\\\\verb\\(.\\)" . (1))
5288              ("\\\\verb\\*\\(.\\)" . (1)))
5290         This would result in the following regex being used to find the start
5291         of any of the variants of the \verb command:
5293             \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
5295         But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
5296         won't match anything, and thus (match-string 1) will be nil, which
5297         will cause building of the end-matching regex to fail.
5299         Fix this by using capture groups from the time when the opening
5300         regexes are matched individually.
5302         * textmodes/tildify.el (tildify-find-env): Fix end-regex building
5303         in `tildify-find-env'
5305         The `tildify-ignored-environments-alist' allows the end-regex to
5306         be provided not as a static string but mix of strings and indexes
5307         of groups matched the begin-regex.  For example, the “\verb!…!”
5308         TeX-command (where “!” is an arbitrary character) is handled
5309         using:
5311             ("\\\\verb\\*?\\(.\\)" . (1))
5313         In the same way, the following should be supported as well:
5315             ("open-\\(.\\)" . ("end-" 1))
5317         However the tildify-find-env function fails at
5319             (concat result
5320                     (if (stringp (setq aux (car expression)))
5321                          expression  ; BUG: expression is a list
5322                        (regexp-quote (match-string aux))))
5324         where the string part is handled incorrectly.
5326         The most trivial fix would be to replace `expression' in the
5327         true-part of the if-statement with `aux', but instead, this commit
5328         optimizes `tildify-find-env' by changing it to use `mapconcat'
5329         rather than open-coded while-loop.
5331 2014-06-05  Mario Lang  <mlang@delysid.org>
5333         * woman.el (woman-mapcan): Remove.
5334         (woman-parse-colon-path): Use cl-mapcan instead.
5336 2014-06-03  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5338         * register.el: Add link to Emacs manual in Commentary.
5340 2014-06-02  Sam Steingold  <sds@gnu.org>
5342         * menu-bar.el (lookup-key-ignore-too-long): Extract from...
5343         (popup-menu): ...here.
5344         (menu-bar-open): Use it to avoid an error when `lookup-key'
5345         returns a number.
5347 2014-06-02  Michael Albinus  <michael.albinus@gmx.de>
5349         * net/tramp.el (tramp-call-process): Add traces.
5350         (tramp-handle-unhandled-file-name-directory): Return "/".
5352 2014-06-02  Wilson Snyder  <wsnyder@wsnyder.org>
5354         Sync with upstream verilog-mode revision 3cd8144.
5355         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
5356         (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
5357         (verilog-type-font-keywords): Add nor.
5358         (verilog-batch-execute-func): Force reading of Local Variables.
5359         Fix printing "no changes to be saved" with verilog-batch.
5360         (verilog-auto-arg-ports): Doc fix.
5361         Add verilog-auto-arg-format to support newlines in AUTOARG.
5362         (verilog-auto-arg): Doc fix.
5364 2014-06-02  Glenn Morris  <rgm@gnu.org>
5366         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
5367         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
5368         * emulation/ws-mode.el: Move to obsolete/.
5369         * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
5371 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
5373         * simple.el (keyboard-quit): Force update of mode lines, to remove
5374         the "Def" indicator, if we were defining a macro.  (Bug#17615)
5376 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5378         * minibuffer.el (minibuffer-force-complete-and-exit):
5379         Obey minibuffer-default (bug#17545).
5381         * progmodes/js.el (js-indent-line): Don't mix columns and chars
5382         (bug#17619).
5384         * subr.el (set-transient-map): Don't wait for some "nested"
5385         transient-map to finish if we're only supposed to be active for
5386         the next command (bug#17642).
5388 2014-06-02  Leo Liu  <sdl.web@gmail.com>
5390         * emacs-lisp/gv.el (window-buffer, window-display-table)
5391         (window-dedicated-p, window-hscroll, window-point, window-start):
5392         Fix gv-expander.  (Bug#17630)
5394 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5396         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
5397         clicks (bug#17633).
5399         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
5400         for the single comma, since ", " is *very* common in normal French text
5401         (bug#17643).
5403 2014-06-02  Glenn Morris  <rgm@gnu.org>
5405         * emacs-lisp/package.el (package-check-signature)
5406         (package-unsigned-archives): Fix :version.
5408 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5410         * subr.el (sit-for): Don't run input-methods (bug#15614).
5412 2014-06-02  Glenn Morris  <rgm@gnu.org>
5414         * cus-start.el: Fix some :version numbers.
5416 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5418         * simple.el (deactivate-mark): Set mark-active to nil even if
5419         deactivation is done via setting transient-mark-mode to nil,
5420         since one is buffer-local and the other is global.
5422         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
5423         there can't be more than 2 arguments (bug#17584).
5425 2014-06-02  Glenn Morris  <rgm@gnu.org>
5427         * simple.el (filter-buffer-substring-functions)
5428         (filter-buffer-substring-function, buffer-substring-filters)
5429         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
5431         * minibuffer.el (completion-in-region-functions, completion-in-region)
5432         (completion--in-region): Doc fixes.
5434         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
5435         (expand-abbrev, abbrev--default-expand): Doc fixes.
5437 2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
5439         Include sources used to create macuvs.h.
5440         * international/README: Refer to the Unicode Terms of Use rather
5441         than copying it bodily here, as that simplifies maintenance.
5443 2014-06-01  Glenn Morris  <rgm@gnu.org>
5445         * loadup.el (load-prefer-newer): Set non-nil when dumping.  (Bug#17629)
5447 2014-05-31  Glenn Morris  <rgm@gnu.org>
5449         * files.el (locate-dominating-file): Expand file argument.  (Bug#17641)
5451 2014-05-30  Glenn Morris  <rgm@gnu.org>
5453         * loadup.el: Treat `command-line-args' more flexibly.
5455 2014-05-30  Alan Mackenzie  <acm@muc.de>
5457         Guard (looking-at "\\s!") from XEmacs.
5458         * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
5460 2014-05-30    Ken Olum  <kdo@cosmos.phy.tufts.edu>
5462         * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
5463         The argument COUNT is now optional, to be more backward-compatible.
5464         Doc fix.  (Bug#17560)
5466 2014-05-29  Reuben Thomas  <rrt@sc3d.org>
5468         * whitespace.el (whitespace-report-region):
5469         Simplify documentation.
5470         (whitespace-report-region): Allow report-if-bogus to take the
5471         value `never', for non-interactive use.
5472         (whitespace-report): Refer to whitespace-report-region's
5473         documentation.
5475 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5477         * whitespace.el: Use font-lock-flush.  Minimize refontifications.
5478         Side benefit: it works without jit-lock.
5479         (whitespace-point--used): New buffer-local var.
5480         (whitespace-color-on): Initialize it and flush it.  Use font-lock-flush.
5481         (whitespace-color-off): Use font-lock-flush.
5482         (whitespace-point--used, whitespace-point--flush-used): New functions.
5483         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
5484         (whitespace-empty-at-eob-regexp): Use them.
5485         (whitespace-post-command-hook): Rewrite.
5487         * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
5488         (font-lock-fontify-buffer): Mark interactive-only.
5489         (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
5490         Make buffer-local.
5491         (font-lock-specified-p): Remove redundant boundp check.
5492         (font-lock-flush-function, font-lock-ensure-function): New vars.
5493         (font-lock-turn-on-thing-lock): Set them.
5494         (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
5495         (font-lock-after-change-function): Make `old-len' optional.
5496         (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
5497         Call font-lock-flush, just in case.
5498         * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
5499         recent Emacsen.
5500         * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
5501         (vera-mode-map, vera-mode-menu): Remove bindings to it.
5502         * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
5503         and with-syntax-table.
5504         * textmodes/conf-mode.el (conf-quote-normal):
5505         * progmodes/sh-script.el (sh-set-shell):
5506         * progmodes/prog-mode.el (prettify-symbols-mode):
5507         * progmodes/f90.el (f90-font-lock-n):
5508         * progmodes/cwarn.el (cwarn-mode):
5509         * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
5510         * progmodes/compile.el (compilation-setup, compilation--unsetup):
5511         * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
5512         (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
5513         * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
5514         font-lock-fontify-buffer-function and
5515         font-lock-unfontify-buffer-function.
5516         (rmail-unfontify-buffer-function, rmail-fontify-message):
5517         Use with-silent-modifications.
5518         * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
5519         and font-lock-ensure.
5520         * bs.el (bs-show-in-buffer): Use font-lock-ensure.
5522 2014-05-28  Thien-Thi Nguyen  <ttn@gnu.org>
5524         * emacs-lisp/package.el (package-generate-autoloads):
5525         Inhibit backup files.
5527 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5529         * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
5530         (bug#17608).
5532 2014-05-21  Michal Nazarewicz  <mina86@mina86.com>
5534         * textmodes/tildify.el (tildify-buffer, tildify-region):
5535         Add dont-ask option.
5537 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5539         * subr.el (zerop): Move from C.  Add compiler-macro (bug#17475).
5540         * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
5542         * subr.el (internal--funcall-interactively): New.
5543         (internal--call-interactively): Remove.
5544         (called-interactively-p): Detect funcall-interactively instead of
5545         call-interactively.
5546         * simple.el (repeat-complex-command): Use funcall-interactively.
5547         (repeat-complex-command--called-interactively-skip): Remove.
5549 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5551         * register.el (register-read-with-preview): Don't burp on
5552         frame switches (e.g. due to the frame we just popped).
5554         * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
5555         (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
5557 2014-05-26  Andreas Schwab  <schwab@linux-m68k.org>
5559         * cus-face.el (custom-face-attributes): Add :distant-foreground.
5561 2014-05-26  Martin Rudalics  <rudalics@gmx.at>
5563         * window.el (window--dump-frame): Remove interactive specification.
5565 2014-05-26  Glenn Morris  <rgm@gnu.org>
5567         * hippie-exp.el (he-line-search-regexp):
5568         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
5570 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
5572         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
5573         to avoid errors when trying to create or visit a file foo.todo
5574         located outside to todo-directory, and to allow having such files
5575         without them being tied to Todo mode (bug#17482).
5576         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
5577         (todo-archive-done-item, todo-find-filtered-items-file)
5578         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
5579         (todo-category-completions, todo-read-category): When visiting a
5580         Todo file, make sure we're in the right mode and the buffer local
5581         variables are set.
5582         (todo-make-categories-list, todo-reset-nondiary-marker)
5583         (todo-reset-done-string, todo-reset-comment-string):
5584         After processing all Todo files, kill the buffers of those files that
5585         weren't being visited before the processing.
5586         (todo-display-as-todo-file, todo-add-to-buffer-list)
5587         (todo-visit-files-commands): Comment out.
5588         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
5589         (auto-mode-alist): Remove add-to-list calls making Todo file
5590         extensions unrestrictedly tied to Todo modes.
5592 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5594         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
5595         (advice-function-member-p): Tell it to check both names and functions
5596         (bug#17531).
5597         (advice--add-function): Adjust call accordingly.
5599 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
5601         * calendar/todo-mode.el: Miscellaneous bug fixes.
5602         (todo-delete-file): When deleting an archive but not its todo
5603         file, make sure to update the todo file's category sexp.
5604         (todo-move-category): Keep the moved category's name unless the
5605         file moved to already has a category with that name.  If the
5606         numerically last category of the source file was moved, make the
5607         first category current to avoid selecting a nonexisting category.
5608         (todo-merge-category): Fix implementation to make merging to a
5609         category in another file work as documented.  Eliminate now
5610         insufficient and unnecessary renaming of archive category, correct
5611         document string accordingly, and clarify it.  If the numerically
5612         last category of the source file was merged, make the first
5613         category current to avoid selecting a nonexisting category.
5614         (todo-archive-done-item): When there are marked items and point
5615         happens to be on an unmarked item, ignore the latter.  Don't leave
5616         point below last item after archiving marked items.
5617         (todo-unarchive-items): Fix logic to ensure unarchiving an item
5618         from an archive with only one category deletes the archive only
5619         when the category is empty after unarchiving.  Make sure the todo
5620         file's category sexp is updated.
5621         (todo-read-file-name): Allow an existing file name even when it is
5622         not required (todo-move-category needs this to work as documented).
5623         (todo-add-file): Call todo-validate-name to reject the name of an
5624         existing todo file (needed due to fix in todo-read-file-name).
5625         (todo-reset-nondiary-marker): Also reset in filtered items files.
5626         (todo-reset-done-string, todo-reset-comment-string): Also reset in
5627         regexp filtered items files.
5628         (todo-reset-highlight-item): Also reset in filtered items files.
5629         Fix incorrect variable reference in document string.
5631 2014-05-26  Glenn Morris  <rgm@gnu.org>
5633         * window.el (window--dump-frame): Avoid error in --without-x builds.
5635 2014-05-26  Glenn Morris  <rgm@gnu.org>
5637         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
5639 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
5641         * frame.el (set-frame-font): Doc fix.
5643         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
5645 2014-05-26  Dmitry Gutov  <dgutov@yandex.ru>
5647         * emacs-lisp/package.el (package--download-one-archive):
5648         Use `write-region' instead of `save-buffer' to avoid running various
5649         hooks.  (Bug#17155)
5650         (describe-package-1): Same.  Insert newline at the end of the
5651         buffer if appropriate.
5653 2014-05-26  Juri Linkov  <juri@jurta.org>
5655         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
5656         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
5657         Add more modifiers: meta, control, shift, hyper, super, alt.
5658         (Bug#17439)
5660         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
5661         to allow changing its value with `set-variable'.
5663 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5665         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
5666         #; comments.
5667         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
5668         New functions.
5669         (scheme-mode-variables): Set syntax-propertize-function instead of
5670         font-lock-syntactic-face-function.
5671         (scheme-font-lock-syntactic-face-function): Delete.
5673         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
5675         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
5676         (bug#17392).
5678 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
5680         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
5681         for a temporary file name.
5683 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
5685         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
5687 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
5689         * net/dbus.el (dbus-init-bus, dbus-call-method)
5690         (dbus-call-method-asynchronously, dbus-send-signal)
5691         (dbus-method-return-internal, dbus-method-error-internal):
5692         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
5694 2014-05-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
5696         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
5697         methods which do not have a doc string.  (Bug#17490)
5699 2014-05-25  Tassilo Horn  <tsdh@gnu.org>
5701         * textmodes/reftex-ref.el (reftex-format-special): Make it work
5702         also for AMS Math's \eqref macro.
5704 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
5706         Arrange to never byte-compile the generated -pkg.el file.
5708         * emacs-lisp/package.el (package-generate-description-file):
5709         Output first-line comment to set buffer-local var `no-byte-compile'.
5710         Suggested by Dmitry Gutov:
5711         <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
5713 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
5715         Fix bug: Properly quote args to generated -pkg.el `define-package'.
5717         * emacs-lisp/package.el (package-generate-description-file):
5718         Inline `package--alist-to-plist'; rewrite to selectively
5719         quote alist values that are not self-quoting.
5720         (package--alist-to-plist): Delete func.
5722 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
5724         * term/xterm.el (xterm-function-map): Add mapping for shifted
5725         keypad keys.
5727 2014-05-24  Daniel Colascione  <dancol@dancol.org>
5729         * progmodes/subword.el (subword-find-word-boundary): Move point to
5730         correct spot before search. (Bug#17580)
5732         * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
5733         breaking the build.
5735 2014-05-24  Leo Liu  <sdl.web@gmail.com>
5737         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
5739 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5741         * minibuffer.el (completion--sreverse): Remove.
5742         (completion--common-suffix): Use `reverse' instead.
5743         * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
5745 2014-05-22  Glenn Morris  <rgm@gnu.org>
5747         * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
5749 2014-05-21  Daniel Colascione  <dancol@dancol.org>
5751         * files.el (interpreter-mode-alist): Add mksh.
5753         * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
5754         derivative.
5755         (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
5756         mksh. Improve custom spec; allow regular expressions.
5757         (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
5758         (sh-after-hack-local-variables): New function.
5759         (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
5760         (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
5761         the normalization.
5762         (sh-canonicalize-shell): Rewrite to support regexes.
5764 2014-05-21  Leo Liu  <sdl.web@gmail.com>
5766         * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
5768 2014-05-19  Leo Liu  <sdl.web@gmail.com>
5770         * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
5772 2014-05-18  Glenn Morris  <rgm@gnu.org>
5774         * loadup.el:
5775         * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
5777 2014-05-14  Sam Steingold  <sds@gnu.org>
5779         * progmodes/python.el (python-shell-get-or-create-process):
5780         Do not bind `current-prefix-arg' so that C-c C-z does not talk
5781         back unless requested.
5783 2014-05-14  Glenn Morris  <rgm@gnu.org>
5785         * subr.el (with-file-modes): New macro.
5786         * printing.el (pr-save-file-modes): Make obsolete.
5787         * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
5788         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
5789         Add with-file-modes.
5790         * doc-view.el (doc-view-make-safe-dir):
5791         * epg.el (epg--start):
5792         * files.el (locate-user-emacs-file, make-temp-file)
5793         (backup-buffer-copy, move-file-to-trash):
5794         * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
5795         * eshell/esh-util.el (eshell-with-private-file-modes)
5796         (eshell-make-private-directory):
5797         * net/browse-url.el (browse-url-mosaic):
5798         * obsolete/mailpost.el (post-mail-send-it):
5799         * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
5800         * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
5801         Use with-file-modes.
5803         * vc/emerge.el (emerge-make-temp-file): Simplify.
5805 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
5806             Stefan Monnier  <monnier@iro.umontreal.ca>
5808         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
5809         suffix (bug#15419).
5811 2014-05-14  Glenn Morris  <rgm@gnu.org>
5813         * vc/emerge.el (emerge-temp-file-prefix):
5814         Make pointless option obsolete.
5815         (emerge-temp-file-mode): Make non-functional option obsolete.
5817 2014-05-14  Michael Albinus  <michael.albinus@gmx.de>
5819         * net/browse-url.el (browse-url):
5820         Use `unhandled-file-name-directory' when setting `default-directory',
5821         in order to circumvent stalled remote connections.  (Bug#17425)
5823 2014-05-14  Glenn Morris  <rgm@gnu.org>
5825         * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
5826         Optimize on Emacs, which has the relevant functions for ages.
5828 2014-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5830         * simple.el (undo-make-selective-list): Obey undo-no-redo.
5832 2014-05-12  Sam Steingold  <sds@gnu.org>
5834         * calendar/time-date.el (seconds-to-string): New function to
5835         pretty print time delay in seconds.
5837 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5839         * mpc.el (mpc-format): Trim Date to the year.
5840         (mpc-songs-hashcons): Shorten the Date field.
5842         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
5843         into autoloading just because of a silly indirection.
5845 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
5847         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
5849 2014-05-12  Glenn Morris  <rgm@gnu.org>
5851         * emacs-lisp/find-gc.el: Move to ../admin.
5853         * printing.el (pr-version):
5854         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
5856         * net/browse-url.el (browse-url-mosaic):
5857         Create /tmp/Mosaic.PID as a private file.
5859 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5861         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
5862         (advice--member-p): If name is given, only compare the name.
5863         (advice--remove-function): Don't stop at the first match.
5864         (advice--normalize-place): New function.
5865         (add-function, remove-function): Use it.
5866         (advice--add-function): Pass the name, if any, to
5867         advice--remove-function.
5869 2014-05-12  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
5871         * electric.el (electric-indent-post-self-insert-function): Don't use
5872         `pos' after modifying the buffer (bug#17449).
5874 2014-05-12  Stephen Berman  <stephen.berman@gmx.net>
5876         * calendar/todo-mode.el (todo-insert-item-from-calendar):
5877         Correct argument list to conform to todo-insert-item--basic.
5879 2014-05-12  Glenn Morris  <rgm@gnu.org>
5881         * files.el (cd-absolute): Test if directory is accessible
5882         rather than executable.  (Bug#17330)
5884         * progmodes/compile.el (recompile):
5885         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
5887         * net/browse-url.el (browse-url-mosaic):
5888         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
5889         This is CVE-2014-3423.
5891 2014-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5893         * mouse.el: Use the normal toplevel loop while dragging.
5894         (mouse-set-point): Handle multi-clicks.
5895         (mouse-set-region): Handle multi-clicks for drags.
5896         (mouse-drag-region): Update call accordingly.
5897         (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
5898         Use the normal event loop instead of a local while/read-event loop.
5899         (global-map): Remove redundant bindings for double/triple-mouse-1.
5900         * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
5901         Generate synthetic down events when the protocol only sends up events.
5902         (xterm-mouse-last): Remove.
5903         (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
5904         terminal parameter instead.
5905         (xterm-mouse--set-click-count): New function.
5906         (xterm-mouse-event): Detect/generate double/triple clicks.
5907         * reveal.el (reveal-close-old-overlays): Don't close while dragging.
5909         * info.el (Info-quoted): New face.
5910         (Info-mode-font-lock-keywords): New var.
5911         (Info-mode): Use it.
5913         * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
5914         are a hindrance for C-x C-e.
5916 2014-05-11  Leo Liu  <sdl.web@gmail.com>
5918         * net/rcirc.el (rcirc-sentinel): Fix last change.
5920 2014-05-08  Sam Steingold  <sds@gnu.org>
5922         * net/rcirc.el (rcirc-reconnect-delay): New user option.
5923         (rcirc-sentinel): Auto-reconnect to the server if
5924         `rcirc-reconnect-delay' is non-0 (but not more often than its
5925         value in case the host is off-line).
5927 2014-05-09  Eli Zaretskii  <eliz@gnu.org>
5929         * progmodes/grep.el (lgrep): Fix a typo in last commit.
5931 2014-05-09  Glenn Morris  <rgm@gnu.org>
5933         * files.el (file-expand-wildcards):
5934         * man.el (Man-support-local-filenames):
5935         * printing.el (pr-i-directory, pr-interface-directory):
5936         * progmodes/grep.el (lgrep, rgrep):
5937         * textmodes/ispell.el (ispell-call-process)
5938         (ispell-call-process-region, ispell-start-process)
5939         (ispell-init-process): Use file-accessible-directory-p.
5941 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5943         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
5944         (xterm-mouse--read-event-sequence-1000): Return nil if something
5945         looks fishy.
5946         (xterm-mouse-event): Propagate it.
5947         (xterm-mouse-translate-1): Handle it.
5949 2014-05-08  Stephen Berman  <stephen.berman@gmx.net>
5951         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
5952         four slots of the parameter list are filled, make sure to pass it
5953         to the argument list of todo-insert-item--basic.
5955 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5957         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
5958         Add optional `seen' argument to detect and break infinite loops.
5960 2014-05-08  Eli Zaretskii  <eliz@gnu.org>
5962         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
5963         (trace-unsafe, trace-use-tree): Make parentheses style be
5964         according to Emacs style.
5966 2014-05-08  Michael Albinus  <michael.albinus@gmx.de>
5968         * net/tramp-sh.el (tramp-remote-process-environment):
5969         Remove HISTFILE and HISTSIZE; it's too late to set them here.
5970         Add :version entry.
5971         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
5972         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
5973         extra "PSx=..." commands.
5974         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
5975         (Bug#17295)
5977         (tramp-uudecode): Replace the hard-coded temporary file name by a
5978         format specifier.
5979         (tramp-remote-coding-commands): Enhance docstring.
5980         (tramp-find-inline-encoding): Replace "%t" by a temporary file
5981         name.  (Bug#17415)
5982         This is CVE-2014-3424.
5984 2014-05-08  Glenn Morris  <rgm@gnu.org>
5986         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
5987         (find-gc-source-files): Update some names.
5988         (trace-call-tree): Simplify and update.
5989         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
5990         This is CVE-2014-3422.
5992 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5994         * minibuffer.el (completion--try-word-completion): Revert fix for
5995         Bug#15980 (bug#17375).
5997         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
5998         Always store button numbers in the same way in xterm-mouse-last;
5999         Don't burp is xterm-mouse-last is not set as expected.
6000         Never return negative indices.
6002 2014-05-08  Dmitry Gutov  <dgutov@yandex.ru>
6004         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6005         Backtrack one char if the global/char-literal var matcher hits
6006         inside a string.  The next char could be the beginning of an
6007         expression expansion.
6009 2014-05-08  Glenn Morris  <rgm@gnu.org>
6011         * help-fns.el (describe-function-1): Test for an autoload before a
6012         macro, since `macrop' works on autoloads.  (Bug#17410)
6014 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6016         * electric.el (electric-indent-functions-without-reindent): Add yaml.
6018         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
6019         Make sure the new point we return is within the new string (bug#17239).
6021 2014-05-05  Daniel Colascione  <dancol@dancol.org>
6023         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6024         Port `gnu' pattern to rx.
6026 2014-05-05  Jarek Czekalski  <jarekczek@poczta.onet.pl>
6028         Remove unneeded prompt when closing a buffer with active
6029         emacsclient ("Buffer ... still has clients"), #16548.
6030         * server.el (server-start): Remove the only call to:
6031         (server-kill-buffer-query-function): Remove.
6033 2014-05-04  Leo Liu  <sdl.web@gmail.com>
6035         * calendar/diary-lib.el (calendar-chinese-month-name-array):
6036         Defvar to pacify compiler.
6038 2014-05-04  Eli Zaretskii  <eliz@gnu.org>
6040         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
6042 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6044         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
6045         Use nil rather than `default' for the "default" appearance (bug#17388).
6046         * vc/ediff-util.el (ediff-inferior-compare-regions)
6047         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
6048         a misleading `default' value when it's really a boolean.
6049         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
6050         overlay is not visible.
6052 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
6054         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
6055         (todo-menu): Uncomment and update.
6057 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
6059         * calendar/todo-mode.el: Reimplement item editing to have the same
6060         basic user interface as item insertion, and make small UI and
6061         larger internal improvements to the latter.
6062         (todo-insert-item): Add reference to the Todo mode user manual to
6063         the documentation string.
6064         (todo-insert-item--basic): Rename from todo-basic-insert-item and
6065         adjust all callers.  Change signature to combine diary and
6066         nonmarking arguments.  Incorporate functionality of deleted item
6067         copying command and add error checking.  Remove detailed
6068         descriptions of the arguments from the documentation string, since
6069         this is treated in the Todo mode user manual.
6070         (todo-copy-item, todo-edit-multiline-item)
6071         (todo-edit-done-item-comment, todo-edit-item-header)
6072         (todo-edit-item-time, todo-edit-item-date-from-calendar)
6073         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
6074         (todo-edit-item-date-year, todo-edit-item-date-month)
6075         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
6076         Remove.
6077         (todo-edit-item): Reimplement as wrapper command for
6078         todo-edit-item--next-key and make it distinguish done and not done
6079         todo items.
6080         (todo-edit-item--text): New function, replacing old command
6081         todo-edit-item and incorporating deleted commands
6082         todo-edit-multiline-item and todo-edit-done-item-comment.
6083         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
6084         Use only numeric value of prefix argument.  Remove detailed
6085         descriptions of the arguments from the documentation string, since
6086         this is treated in the Todo mode user manual.
6087         (todo-edit-item--diary-inclusion): New function, replacing old
6088         command todo-edit-item-diary-inclusion and incorporating and fixing
6089         functionality of deleted command todo-edit-item-diary-nonmarking,
6090         making sure to remove todo-nondiary-marker when adding
6091         diary-nonmarking-symbol.
6092         (todo-edit-category-diary-inclusion): Make sure to delete
6093         diary-nonmarking-symbol when adding todo-nondiary-marker.
6094         (todo-edit-category-diary-nonmarking): Fix indentation.
6095         (todo-insert-item--parameters): Group diary and nonmarking
6096         parameters together.
6097         (todo-insert-item--apply-args): Adjust to signature of
6098         todo-insert-item--basic and incorporate copy parameter.
6099         Make small code improvements.
6100         (todo-insert-item--next-param): Improve prompt and adjust it to
6101         new parameter grouping.  Remove obsolete code.
6102         (todo-edit-item--param-key-alist)
6103         (todo-edit-item--date-param-key-alist)
6104         (todo-edit-done-item--param-key-alist): New defconsts.
6105         (todo-edit-item--prompt): New variable.
6106         (todo-edit-item--next-key): New function.
6107         (todo-key-bindings-t): Bind "e" to todo-edit-item.
6108         Remove bindings of deleted commands.
6110 2014-05-04  Leo Liu  <sdl.web@gmail.com>
6112         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
6114 2014-05-04  Glenn Morris  <rgm@gnu.org>
6116         * allout-widgets.el (allout-widgets-tally)
6117         (allout-decorate-item-guides):
6118         * menu-bar.el (menu-bar-positive-p):
6119         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
6120         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
6121         * progmodes/js.el (js--inside-param-list-p)
6122         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
6123         * progmodes/prolog.el (region-exists-p):
6124         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
6125         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
6126         Doc fixes (replace `iff').
6128 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6130         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
6132 2014-05-04  Leo Liu  <sdl.web@gmail.com>
6134         Support Chinese diary entries in calendar and diary.  (Bug#17393)
6135         * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
6136         (calendar-chinese-from-absolute-for-diary)
6137         (calendar-chinese-to-absolute-for-diary)
6138         (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
6139         (diary-chinese-list-entries): New functions to list and mark
6140         Chinese diary entries in the calendar window.
6141         (diary-chinese-anniversary)
6142         (diary-chinese-insert-anniversary-entry)
6143         (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
6144         (diary-chinese-insert-yearly-entry): New commands to insert
6145         Chinese diary entries.
6147         * calendar/diary-lib.el (diary-font-lock-keywords):
6148         Support font-locking Chinese dates.
6150         * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
6151         inserting Chinese diary entries.
6153         * calendar/calendar.el (diary-chinese-entry-symbol):
6154         New customizable variable.
6155         (calendar-mode-map): Add bindings for inserting Chinese diary
6156         entries.
6158 2014-05-03  Juri Linkov  <juri@jurta.org>
6160         * dired.el (dired-check-switches, dired-switches-recursive-p):
6161         New functions.  (Bug#17218)
6162         (dired-switches-escape-p, dired-move-to-end-of-filename):
6163         Use `dired-check-switches'.
6164         (dired-insert-old-subdirs, dired-build-subdir-alist)
6165         (dired-sort-R-check): Use `dired-switches-recursive-p'.
6167 2014-05-01  Barry O'Reilly  <gundaetiapo@gmail.com>
6169         * simple.el (undo-make-selective-list): New algorithm fixes
6170         incorrectness of position adjustments when undoing in region.
6171         (Bug#17235)
6172         (undo-elt-crosses-region): Make obsolete.
6173         (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
6174         New functions to adjust positions using undo-deltas.
6176 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6178         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
6179         the last consecutive closing paren (bug#17345).
6181 2014-04-30  Reuben Thomas  <rrt@sc3d.org>
6183         * dired.el (dired-mode): make terminology for eXpunge command
6184         consistent.  (Bug#17276)
6186 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
6188         * dired.el (dired-initial-position-hook, dired-initial-position):
6189         Doc string fixes.
6191 2014-04-30  Glenn Morris  <rgm@gnu.org>
6193         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
6195 2014-04-30  Matthias Dahl  <matthias.dahl@binary-island.eu>
6197         * faces.el (face-spec-recalc): Apply X resources only after the
6198         defface spec has been applied. Thus, X resources are no longer
6199         overriden by the defface spec which also fixes issues on win32 where
6200         the toolbar coloring was wrong because it is set through X resources
6201         and was (wrongfully) overriden.  (Bug#16694)
6203 2014-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6205         * textmodes/rst.el (electric-pair-pairs): Declare.
6206         (rst-mode): Set it (bug#17131).
6208 2014-04-30  Juri Linkov  <juri@jurta.org>
6210         * desktop.el (desktop-value-to-string): Let-bind `print-length'
6211         and `print-level' to nil.  (Bug#17351)
6213 2014-04-30  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
6215         * battery.el (battery-update): Handle the case where battery
6216         status is "N/A" (bug#17319).
6218 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6220         * progmodes/ps-mode.el: Use SMIE.  Move string and comment recognition
6221         to syntax-propertize.
6222         (ps-mode-auto-indent): Mark as obsolete.
6223         (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
6224         (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
6225         word regexp operators.
6226         (ps-mode-map): Move initialization into declaration.  Remove binding
6227         for TAB, RET, >, ], and }.
6228         (ps-mode-syntax-table): Move initialization into declaration.
6229         Don't give word syntax to non-word chars.
6230         (ps-run-mode-map): Move initialization into declaration.
6231         (ps-mode-menu-main): Remove auto-indent entry.
6232         (ps-mode-smie-rules): New function.
6233         (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
6234         (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
6235         (ps-mode--string-syntax-table): New const.
6236         (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
6237         New functions.
6238         (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
6239         (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
6241 2014-04-27  Daniel Colascione  <dancol@dancol.org>
6243         * term/xterm.el (xterm-paste): Use large finite timeout when
6244         reading event to avoid putting keys in this-command-keys.
6246 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6248         * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
6249         (perl-syntax-propertize-function): Use it.  Extend handling of
6250         here-docs to the unquoted case.
6252 2014-04-25  Eli Zaretskii  <eliz@gnu.org>
6254         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
6255         Use equal-including-properties to compare help-echo strings (bug#17331).
6257 2014-04-25  Leo Liu  <sdl.web@gmail.com>
6259         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
6260         Fix syntax for @.  (Bug#17325)
6262 2014-04-25  Daniel Colascione  <dancol@dancol.org>
6264         * emacs-lisp/cl.el (gv): Require gv early to break eager
6265         macro-expansion cycles.
6267 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6269         * simple.el (region-active-p): Check there's a mark (bug#17324).
6271         * simple.el (completion-list-mode-map): Use choose-completion for the
6272         mouse binding as well (bug#17302).
6273         (completion-list-mode, completion-setup-function): Adjust docstring and
6274         echo area message accordingly.
6275         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
6276         calling convention of choose-completion.
6277         * comint.el (comint-dynamic-list-completions):
6278         * term.el (term-dynamic-list-completions): Accept choose-completion.
6280         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
6281         &, |, +, - and * can't be a division (bug#17317).
6283         * term/xterm.el (xterm--version-handler): Don't use modern xterm
6284         features on gnome-terminal (bug#16988).
6286 2014-04-25  Thien-Thi Nguyen  <ttn@gnu.org>
6288         Improve Scheme font-locking for (define ((foo ...) ...) ...).
6290         * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
6291         the declared object, ignore zero or more parens, not zero or one.
6293 2014-04-24  Leo Liu  <sdl.web@gmail.com>
6295         * progmodes/xscheme.el (xscheme-expressions-ring)
6296         (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
6297         (xscheme-control-g-disabled-p, xscheme-process-filter-state)
6298         (xscheme-allow-output-p, xscheme-prompt)
6299         (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
6301         * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
6302         Comment out unused functions.
6304 2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6306         * info.el: Use lexical-binding and cl-lib.
6307         Use defvar-local and setq-local instead of make-local-variable.
6308         (Info-apropos-matches): Avoid add-to-list.
6309         (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
6311 2014-04-24  Daniel Colascione  <dancol@dancol.org>
6313         * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
6315 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6317         * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
6319 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
6321         * dired.el (dired-insert-set-properties): Do not consider
6322         subdirectory headings and empty lines to be information that
6323         `dired-hide-details-mode' should hide.  (Bug#17228)
6325 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
6327         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6328         Remove test messages.
6329         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
6330         and `target' twice.
6332 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6334         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
6335         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
6337         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
6339 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
6341         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6342         Set "IFS=" when using read builtin, in order to preserve spaces in
6343         the file name.  Add test messages for hunting a bug on hydra.
6344         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
6346 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6348         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
6349         Don't prettify a word within a symbol.
6351 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
6353         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
6354         possible.
6356 2014-04-22  Daniel Colascione  <dancol@dancol.org>
6358         * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
6359         use defun to define `function-put'.
6361 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6363         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
6364         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
6365         (lisp-mode-variables): Set font-lock-extra-managed-props.
6367         * emacs-lisp/byte-run.el (function-put): New function.
6368         (defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
6369         * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
6370         (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
6371         Use them.
6373 2014-04-22  Daniel Colascione  <dancol@dancol.org>
6375         * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
6376         Add `full-p' parameter; when nil, call `macroexpand' instead of
6377         `macroexpand-all'.
6379         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
6380         Improve docstrings.
6382         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6383         Use lambda function values, not quoted lambdas.
6384         (byte-compile-recurse-toplevel): Remove extraneous &optional.
6386         * emacs-lisp/cl-macs.el
6387         (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
6388         (cl-struct-slot-value): Conditionally use aref or nth so that the
6389         compiler produces optimal code.
6391 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6393         * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
6394         (inline): Don't inline cl--set-elt.
6395         (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
6396         Define as inlinable instead.
6397         (cl-struct-set-slot-value): Remove.
6399         * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
6400         * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
6401         Use setf instead.
6403 2014-04-21  Daniel Colascione  <dancol@dancol.org>
6405         * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
6406         last two parameters after all.
6407         (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
6408         (cl--compiler-macro-assoc,cl-struct-slot-value)
6409         (cl-struct-set-slot-value): Stop using them.
6411 (2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6413         * image-mode.el (image-mode-window-put): Don't assume there's a `t'
6414         entry in image-mode-winprops-alist.
6416 2014-04-21  Daniel Colascione  <dancol@dancol.org>
6418         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
6419         (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
6420         (byte-compile-toplevel-file-form): Use it.
6422         * emacs-lisp/cl-macs.el:
6423         (cl--loop-let): Properly destructure `while' clauses.
6425 2014-04-20  Daniel Colascione  <dancol@dancol.org>
6427         * vc/vc.el (vc-root-dir): New public autoloaded function for
6428         generically finding the current VC root.
6429         * vc/vc-hooks.el (vc-not-supported): New error.
6430         (vc-call-backend): Signal `vc-not-supported' instead of generic error.
6432 2014-04-20  Daniel Colascione  <dancol@dancol.org>
6434         * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
6435         argument.
6436         (cl--const-expr-val): cl--const-expr-val should macroexpand its
6437         argument in case we're inside a symbol-macrolet.
6438         (cl--do-arglist, cl--compiler-macro-typep)
6439         (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
6440         environment to `cl--const-expr-val'.
6441         (cl-struct-sequence-type,cl-struct-slot-info)
6442         (cl-struct-slot-offset, cl-struct-slot-value)
6443         (cl-struct-set-slot-value): New functions.
6445 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6447         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
6448         assignments such as "case=hello" (bug#17297).
6450 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
6452         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
6453         Do not autoload.
6454         (tramp-file-name-handler, tramp-completion-file-name-handler):
6455         Revert patch from 2014-04-10, it isn't necessary anymore.
6456         (tramp-autoload-file-name-handler)
6457         (tramp-register-autoload-file-name-handlers): New defuns.
6458         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
6459         (tramp-register-file-name-handlers): Remove also
6460         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
6461         Do not autoload its invocation, but eval it after loading of 'tramp.
6463         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
6465         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
6467 2014-04-17  Daniel Colascione  <dancol@dancol.org>
6469         Add support for bracketed paste mode; add infrastructure for
6470         managing terminal mode enabling and disabling automatically.
6472         * xt-mouse.el:
6473         (xterm-mouse-mode): Simplify.
6474         (xterm-mouse-tracking-enable-sequence)
6475         (xterm-mouse-tracking-disable-sequence): New constants.
6476         (turn-on-xterm-mouse-tracking-on-terminal)
6477         (turn-off-xterm-mouse-tracking-on-terminal):
6478         Use tty-mode-set-strings and tty-mode-reset-strings terminal
6479         parameters instead of random hooks.
6480         (turn-on-xterm-mouse-tracking)
6481         (turn-off-xterm-mouse-tracking): Delete.
6483         * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
6484         (xterm-paste-ending-sequence): New constant.
6485         (xterm-paste): New command used for bracketed paste support.
6487         (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
6488         (terminal-init-xterm-bracketed-paste-mode): New function.
6489         (terminal-init-xterm): Call it.
6490         (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
6491         and tty-mode-reset-strings instead of random hooks.
6492         (xterm-turn-on-modify-other-keys)
6493         (xterm-turn-off-modify-other-keys)
6494         (xterm-remove-modify-other-keys): Delete obsolete functions.
6496         * term/screen.el: Rewrite to just use the xterm code.
6497         Add copyright notice.  Mention tmux.
6499 2014-04-17  Ian D  <dunni@gnu.org>  (tiny change)
6501         * image-mode.el (image-mode-window-put): Also update the property of
6502         the "default window".
6503         * doc-view.el (doc-view-new-window-function): If no window
6504         exists, move to the last known page.
6506 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6508         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
6509         here-documents (bug#17262).
6511 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
6513         * term/pc-win.el (x-list-fonts, x-get-selection-value):
6514         Provide doc strings, as required by snarf-documentation.
6516 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6518         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
6519         arg of overlays-at.  Use `invisible-p'.
6521         * obsolete/lucid.el (extent-at):
6522         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
6523         overlays-at.
6524         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
6526 2014-04-16  João Távora  <joaotavora@gmail.com>
6528         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
6529         links.  (Bug#17217).
6531 2014-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
6533         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
6534         Use mapc to loop over a vector.  (Bug#17257).
6536 2014-04-16  Michael Albinus  <michael.albinus@gmx.de>
6538         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
6539         patch, there are new problems with file names containing spaces.
6540         Get rid of backticks.  (Bug#17238)
6542 2014-04-16  João Távora  <joaotavora@gmail.com>
6544         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
6545         possible bug.
6547 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
6549         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
6550         (blink-cursor-mode): Mention customization variables and the
6551         effect of 'blink-cursor-blinks'.
6553 2014-04-16  Barry O'Reilly  <gundaetiapo@gmail.com>
6555         * simple.el (undo): Prevent insertion of identity mapping into
6556         undo-equiv-table so as undo-only does not inf loop in the presence
6557         of consecutive nils in undo list.
6559 2014-04-16  Matthias Dahl  <matthias.dahl@binary-island.eu>
6561         * faces.el (make-face): Deprecate optional argument as it is no
6562         longer needed/used since the conditional X resources handling
6563         has been pushed down to make-face-x-resource-internal itself.
6564         (make-empty-face): Don't pass optional argument to make-face.
6566 2014-04-16  Karl Fogel  <kfogel@red-bean.com>
6568         * savehist.el (savehist-save): Remove workaround for a read-passwd
6569         bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
6570         noticing that the shim was still present.
6572 2014-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6574         * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
6576 2014-04-14  Juanma Barranquero  <lekktu@gmail.com>
6578         * faces.el (face-set-after-frame-default): Remove unused local variable.
6580 2014-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6582         * progmodes/grep.el: Use lexical-binding.
6583         (grep-expand-template): Pass explicit lexical env to `eval'.
6584         (zrgrep): Let-bind grep-find-template explicitly.
6586         * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
6587         * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
6589 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
6591         * international/characters.el <standard-case-table>: Add entries
6592         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
6593         Set category of Coptic characters be 'g' (Greek).
6595 2014-04-12  Leo Liu  <sdl.web@gmail.com>
6597         * progmodes/octave.el (completion-table-with-cache):
6598         Define if not available.
6599         (octave-goto-function-definition, octave-sync-function-file-names)
6600         (octave-find-definition-default-filename):
6601         Backquote upattern for compatibility.
6603 2014-04-12  Michael Albinus  <michael.albinus@gmx.de>
6605         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
6606         name twice due to backticks.  (Bug#17238)
6608 2014-04-12  Glenn Morris  <rgm@gnu.org>
6610         * term/w32-win.el (x-win-suspend-error):
6611         * term/x-win.el (x-win-suspend-error): Sync docs.
6613 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
6615         * faces.el (make-face): Remove deprecated optional argument.
6616         The conditional application of X resources is handled directly by
6617         make-face-x-resource-internal since Emacs 24.4.
6618         (make-empty-face): Don't pass optional argument to make-face.
6620 2014-04-11  Glenn Morris  <rgm@gnu.org>
6622         * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport.  (Bug#16429)
6624 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6626         Ediff's overlay priorities cause more trouble than they solve.
6627         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
6628         (ediff-highest-priority): Remove function (bug#17234).
6629         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
6630         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
6631         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
6632         overlay priorities.
6634 2014-04-11  Feng Li  <fengli@gmail.com>  (tiny change)
6636         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
6637         entry; use symbol boundaries to avoid mis-matches.
6639 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
6641         * net/tramp.el (tramp-file-name-handler)
6642         (tramp-completion-file-name-handler): Avoid recursive loading.
6644         * net/tramp-sh.el (tramp-make-copy-program-file-name):
6645         Quote result also locally.
6647 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6649         * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
6650         Remove left-over code.
6652         * newcomment.el (comment-indent-new-line): Sink code where it's used.
6653         Reuse the previous comment's indentation unconditionally if it's on its
6654         own line.
6656 2014-04-09  Daniel Colascione  <dancol@dancol.org>
6658         * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
6659         `no-syntax-crossing' arguments.  Forward to `up-list'.
6660         (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
6661         Implement logic for escaping from strings.  Use narrowing to deal
6662         with corner cases.
6664 2014-04-09  Leo Liu  <sdl.web@gmail.com>
6666         * net/rcirc.el (rcirc-connection-info): New variable.
6667         (rcirc-connect): Use it to store connection info.
6668         (rcirc-buffer-process): Avoid get-buffer-process which returns nil
6669         for killed process.
6670         (rcirc-cmd-reconnect): New command.  (Bug#17045)
6671         (rcirc-mode, set-rcirc-encode-coding-system)
6672         (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
6674 2014-04-09  Daniel Colascione  <dancol@dancol.org>
6676         * emacs-lisp/cl-indent.el: Add comment claiming
6677         facility is also good for elisp.
6678         (lisp-indent-find-method): New function.
6679         (common-lisp-indent-function): Recognize cl-loop.
6680         (common-lisp-indent-function-1): Recognize cl constructs; use
6681         `lisp-indent-find-method' instead of `get' directly.
6682         (if): Use else-body style for elisp.
6684 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
6686         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6687         Module methods.  (Bug#17216)
6689 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6691         * help.el (describe-bindings): Fix buffer handling (bug#17210).
6692         (describe-bindings-internal): Mark obsolete.
6694 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6696         * subr.el (with-silent-modifications): Don't bind deactivate-mark,
6697         buffer-file-name, and buffer-file-truename any more.
6699 2014-04-08  Leo Liu  <sdl.web@gmail.com>
6701         Use lexical-binding and require cl-lib.
6702         * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
6703         (rcirc-handler-generic, rcirc-fill-paragraph)
6704         (rcirc-format-response-string, rcirc-target-buffer)
6705         (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
6706         (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
6707         (rcirc-ctcp-sender-PING, rcirc-browse-url)
6708         (rcirc-markup-timestamp, rcirc-markup-attributes)
6709         (rcirc-markup-my-nick, rcirc-markup-urls)
6710         (rcirc-markup-bright-nicks, rcirc-markup-fill)
6711         (rcirc-check-auth-status, rcirc-handler-WALLOPS)
6712         (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
6713         (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
6714         (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
6715         (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
6716         (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
6717         (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
6718         (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
6719         (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
6720         (rcirc-handler-CTCP-response): Fix unused arguments warnings and
6721         use cl-lib.
6723 2014-04-07  João Távora  <joaotavora@gmail.com>
6725         * elec-pair.el (electric-pair--syntax-ppss):
6726         When inside comments parse from comment beginning.
6727         (electric-pair--balance-info): Fix typo in comment.
6728         (electric-pair--in-unterminated-string-p): Delete.
6729         (electric-pair--unbalanced-strings-p): New function.
6730         (electric-pair-string-bound-function): New var.
6731         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
6732         according to `electric-pair--in-unterminated-string-p'
6734         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
6735         Inhibit quote pairing if point-max is inside an unterminated string.
6736         (electric-pair--looking-at-unterminated-string-p): Delete.
6737         (electric-pair--in-unterminated-string-p): New function.
6739 2014-04-07  Glenn Morris  <rgm@gnu.org>
6741         * shell.el (shell-directory-tracker):
6742         Go back to just ignoring failures.  (Bug#17159)
6744 2014-04-07  João Távora  <joaotavora@gmail.com>
6746         Fix `electric-pair-delete-adjacent-pairs' in modes binding
6747         backspace. (bug#16981)
6748         * elec-pair.el (electric-pair-backward-delete-char): Delete.
6749         (electric-pair-backward-delete-char-untabify): Delete.
6750         (electric-pair-mode-map): Bind backspace to a menu item filtering
6751         a new `electric-pair-delete-pair' command.
6752         (electric-pair-delete-pair): New command.
6754         * progmodes/python.el (python-electric-pair-string-delimiter):
6755         Fix triple-quoting electricity.  (Bug#17192)
6757         * elec-pair.el (electric-pair-post-self-insert-function):
6758         Don't skip whitespace when `electric-pair-text-pairs' and
6759         `electric-pair-pairs' were used. syntax to
6760         electric-pair--skip-whitespace.  (Bug#17183)
6762 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
6764         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
6765         "<F>".  (Bug#17199)
6767 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6769         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
6770         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
6772 2014-04-07  Glenn Morris  <rgm@gnu.org>
6774         * help.el (view-lossage): Doc tweak.
6776 2014-04-07  Matthias Dahl  <ml_emacs-lists@binary-island.eu>
6778         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
6779         only when inhibit-x-resources is nil, and do that earlier in the
6780         function.  Doc fix.  (Bug#16694)
6781         (face-spec-choose): Accept additional optional argument, whose
6782         value is returned if no matching attributes are found.
6783         (face-spec-recalc): Use the new optional argument when calling
6784         face-spec-choose.  (Bug#16378)
6785         (make-face-x-resource-internal): Do nothing when
6786         inhibit-x-resources is non-nil.  Don't touch the default face if
6787         reversed video is given--as was done in previous versions of Emacs.
6788         (face-set-after-frame-default): Don't call
6789         make-face-x-resource-internal here.  (Bug#16434)
6791 2014-04-07  Tassilo Horn  <tsdh@gnu.org>
6793         * doc-view.el (doc-view-bookmark-jump):
6794         Use `bookmark-after-jump-hook' to jump to the right page after the
6795         buffer is shown in a window.  (bug#16090)
6797 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
6799         * international/characters.el (mirroring): Fix last change:
6800         instead of loading uni-mirrored.el explicitly, do that implicitly
6801         by creating the 'mirroring' uniprop table.  This avoids announcing
6802         the loading of uni-mirrored.el.
6804 2014-04-07  Glenn Morris  <rgm@gnu.org>
6806         * files.el (buffer-stale--default-function)
6807         (buffer-stale-function, revert-buffer--default):
6808         * autorevert.el (auto-revert-buffers): Doc tweaks.
6810 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
6812         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
6814 2014-04-07  Glenn Morris  <rgm@gnu.org>
6816         * files.el (make-backup-file-name-function)
6817         (make-backup-file-name, make-backup-file-name--default-function)
6818         (make-backup-file-name-1, find-backup-file-name)
6819         (revert-buffer-function, revert-buffer-insert-file-contents-function)
6820         (buffer-stale--default-function, buffer-stale-function)
6821         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
6822         (revert-buffer, revert-buffer--default)
6823         (revert-buffer-insert-file-contents--default-function):
6824         Doc fixes related to defaults no longer being nil.
6825         (make-backup-file-name-function): Bump :version.
6826         Restore nil as a valid but deprecated custom type.
6828 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6830         * progmodes/perl-mode.el (perl-syntax-propertize-function):
6831         Handle $' used as a variable (bug#17174).
6833         * progmodes/perl-mode.el (perl-indent-new-calculate):
6834         Handle forward-sexp failure (bug#16985).
6835         (perl-syntax-propertize-function): Add "foreach" and "for" statement
6836         modifiers introducing expressions (bug#17116).
6838 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6840         * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
6842 2014-04-05  Leo Liu  <sdl.web@gmail.com>
6844         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6845         Add define-compilation-mode.
6847 2014-04-04  João Távora  <joaotavora@gmail.com>
6849         * elec-pair.el (electric-pair--syntax-ppss): When inside comments
6850         parse from comment beginning.
6851         (electric-pair--balance-info): Fix typo in comment.
6852         (electric-pair--in-unterminated-string-p): Delete.
6853         (electric-pair--unbalanced-strings-p): New function.
6854         (electric-pair-string-bound-function): New var.
6855         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
6856         according to `electric-pair--in-unterminated-string-p'.
6858 2014-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6860         * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
6861         Move declaration before first use.
6862         (reftex-move-to-next-arg): Silence compiler warning.
6864 2014-04-04  Joost Kremers  <joostkremers@fastmail.fm>  (tiny change)
6866         * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
6867         Use `window-total-width' instead of `window-width'.
6869 2014-04-03  Daniel Colascione  <dancol@dancol.org>
6871         * subr.el (set-transient-map): Remove rms's workaround entirely;
6872         use new `suspicious-object' subr to mark our lambda for closer
6873         scrutiny during gc.
6875 2014-04-02  Richard Stallman  <rms@gnu.org>
6877         * subr.el (set-transient-map): Comment out previous change.
6879 2014-04-02  Glenn Morris  <rgm@gnu.org>
6881         * menu-bar.el (menu-bar-file-menu):
6882         * vc/ediff.el (ediff-current-file):
6883         Update for revert-buffer-function no longer being nil by default.
6885         * simple.el (command-execute): Respect nil disabled-command-function.
6887 2014-04-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
6889         * simple.el (command-execute): Do not execute the command when it
6890         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
6892 2014-04-02  Juri Linkov  <juri@jurta.org>
6894         * dired-aux.el (dired-compress-file): Don't use string-match-p
6895         because its match data is used afterwards.
6897 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6899         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
6900         0 like nil.
6902 2014-04-02  João Távora  <joaotavora@gmail.com>
6904         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
6905         Inhibit quote pairing if point-max is inside an unterminated string.
6906         (electric-pair--looking-at-unterminated-string-p):
6907         Delete.
6908         (electric-pair--in-unterminated-string-p): New function.
6910 2014-04-01  Daniel Colascione  <dancol@dancol.org>
6912         * minibuffer.el (minibuffer-complete): Prevent assertion failure
6913         when trying to complete the prompt.
6915 2014-03-31  Leo Liu  <sdl.web@gmail.com>
6917         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6918         Refactor out eldoc-documentation-function-default.
6919         (eldoc-documentation-function-default): New function.
6920         (eldoc-documentation-function): Change value.
6922 2014-03-31  Glenn Morris  <rgm@gnu.org>
6924         * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
6926         * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
6927         (vhdl-compose-components-package, vhdl-compose-configuration):
6928         Abbreviate default-directory (missing from some previous upstream sync).
6930 2014-03-31  Reto Zimmermann  <reto@gnu.org>
6932         Sync with upstream vhdl mode v3.35.2.
6933         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
6934         (top-level): No longer require assoc.
6935         (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
6936         New functions.  Use throughout to replace aget etc.
6937         (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
6938         (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
6939         (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
6940         (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
6941         (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
6942         except `vhdl-compiler'.
6943         (vhdl-error-regexp-add-emacs): Remove all other compilers,
6944         when appropriate.
6946 2014-03-31  Glenn Morris  <rgm@gnu.org>
6948         * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
6949         Revert 2014-03-26 merge goof; go back to using defalias.
6951 2014-03-30  Daniel Colascione  <dancol@dancol.org>
6953         * comint.el (comint-send-input):
6954         Deactivate completion-in-region-mode before we send comint input.
6955         (Bug#17139).
6957         * simple.el (keyboard-quit): Deactivate completion-in-region-mode
6958         on keyboard-quit.
6960 2014-03-29  Glenn Morris  <rgm@gnu.org>
6962         * textmodes/reftex.el: Manage most autoloads automatically.
6963         * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
6964         * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
6965         * textmodes/reftex-index.el, textmodes/reftex-parse.el:
6966         * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
6967         * textmodes/reftex-toc.el: Set generated-autoload-file,
6968         and add autoload cookies for reftex.el.
6969         * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
6971 2014-03-28  Glenn Morris  <rgm@gnu.org>
6973         * cus-start.el (report-emacs-bug-address): Set custom properties.
6974         * mail/emacsbug.el (report-emacs-bug-address):
6975         Variable is now defined in emacs.c.
6977         * mail/emacsbug.el (report-emacs-bug):
6978         Include system-configuration-features.
6980 2014-03-28  Michal Nazarewicz  <mina86@mina86.com>
6982         * simple.el (cycle-spacing): Never delete spaces on first run by
6983         default, but do so in a new 'fast mode and if there are already
6984         N spaces (the previous behavior).
6985         Compare N with its value in previous invocation so that changing
6986         prefix argument restarts `cycle-spacing' sequence.
6987         The idea is that with this change, binding M-SPC to
6988         `cycle-spacing' should not introduce any changes in behavior of
6989         the binding so long as users do not type M-SPC twice in a raw with
6990         the same prefix argument or lack thereof.
6992 2014-03-28  Glenn Morris  <rgm@gnu.org>
6994         * faces.el (term-file-aliases): New variable.
6995         (tty-run-terminal-initialization): Respect term-file-aliases.
6996         * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
6997         * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
6998         * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
7000 2014-03-27  Glenn Morris  <rgm@gnu.org>
7002         * startup.el (inhibit-startup-hooks): Doc tweak.
7003         (normal-top-level): Simplify running of hooks.
7004         For window-setup-hook, respect inhibit-startup-hooks.
7005         (command-line-1): Don't set window-setup-hook to nil.
7007         Allow selective autoloading from obsolete/ directory.
7008         * Makefile.in (obsolete-autoloads): New rule.
7009         (autoloads): Run obsolete-autoloads.
7010         * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
7011         * simple.el (iswitchb-mode): Remove hand-written autoloads.
7013 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
7015         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7016         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
7018         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7019         Don't propertize `?' or `!' as symbol constituent when after
7020         colon.  (Bug#17097)
7022 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
7024         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
7025         which is no longer needed and causes trouble in GTK builds (bug#17046).
7027         * emacs-lisp/package-x.el (package--archive-contents-from-url):
7028         Use url-insert-file-contents; package-handle-response no longer exists.
7030 2014-03-26  Daniel Colascione  <dancol@dancol.org>
7032         * simple.el (process-menu-mode-map): New variable.
7033         (process-menu-delete-process): New command.
7035 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
7037         * emacs-lisp/package.el: Fix bug#16733 (again).
7038         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
7039         (url-http-target-url): Remove unused declarations.
7040         (package-handle-response): Remove.
7041         (package--with-work-buffer): Use url-insert-file-contents and simplify.
7042         (package--download-one-archive): Use current-buffer instead of
7043         dynamic binding of `buffer'.
7044         (describe-package-1): Do not decode readme-string.
7046 2014-03-26  Michael Albinus  <michael.albinus@gmx.de>
7048         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
7050         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
7051         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
7052         `remote-file-name-inhibit-cache' to nil in the second pass.
7053         (tramp-find-executable): Do not call "which" on SunOS.
7054         (tramp-send-command-and-check): Fix docstring.
7055         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
7056         check whether source directory has set the sticky bit.
7058 2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
7060         * simple.el (primitive-undo): Only process marker adjustments
7061         validated against their corresponding (TEXT . POS).  Issue warning
7062         for lone marker adjustments in undo history.  (Bug#16818)
7063         (undo-make-selective-list): Add marker adjustments to selective
7064         undo list based on whether their corresponding (TEXT . POS) is in
7065         the region.  Remove variable adjusted-markers, which was unused
7066         and only non nil during undo-make-selective-list.
7067         (undo-elt-in-region): Return nil when passed a marker adjustment
7068         and explain in function doc.
7070 2014-03-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
7072         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
7074 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
7076         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
7077         Match special global variables without curlies, too.
7078         (ruby-font-lock-keywords): Simplify the matcher for special global
7079         variables.  Don't require a non-word character after the variable.
7080         (Bug#17057)
7082 2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7084         * simple.el (redisplay-highlight-region-function): Increase priority of
7085         overlay to make sure boundaries are visible (bug#15899).
7087 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
7089         * frameset.el (frameset--initial-params): Fix typo in parameter name.
7090         (frameset-restore): Compare display strings with equal.
7092         * frame.el (make-frame): Don't quote display name in error message,
7093         it is already a string.
7095 2014-03-26  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7097         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
7098         the password.
7100 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
7102         * emacs-lisp/package.el (package--add-to-archive-contents):
7103         Include already installed and built-in packages in
7104         `package-archive-contents'.
7105         (package-install): Don't include already installed packages in the
7106         options during interactive invocation.  (Bug#16762)
7107         (package-show-package-list): If the buffer is already displayed in
7108         another window, switch to that window.
7110 2014-03-26  Reto Zimmermann  <reto@gnu.org>
7112         Sync with upstream vhdl mode v3.35.1.
7113         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
7114         (vhdl-compiler-alist): Doc fix.
7115         (vhdl-goto-line): Remove.
7116         (vhdl-mode-abbrev-table-init): Add XEmacs compat.
7117         (vhdl-mode) <paragraph-start>: Fix value.
7118         (vhdl-fix-statement-region): Not `for' in wait-statement.
7119         (vhdl-beautify-region): Also (un)tabify.
7120         (vhdl-get-visible-signals):
7121         Scan declarative part of generate statements.
7122         (vhdl-template-record): Fix indentation for record type declaration.
7123         (vhdl-expand-abbrev, vhdl-expand-paren):
7124         Revert to using fset again rather than defalias.
7125         (vhdl-scan-directory-contents): Tweak.
7126         (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
7127         (vhdl-compose-components-package):
7128         Replace vhdl-goto-line with forward-line.
7129         (top-level): Tweak speedbar frame selection.
7130         (vhdl-generate-makefile-1): Support for compilers with no
7131         unit-to-file name mapping (create directory with dummy files).
7133 2014-03-26  Wilson Snyder  <wsnyder@wsnyder.org>
7135         Sync with upstream verilog-mode revision 702457d.
7136         * progmodes/verilog-mode.el (verilog-mode-version): Update.
7137         (create-lockfiles): Declare.
7138         (verilog-read-decls): Fix module header imports, bug709.
7139         Reported by Victor Lau.
7140         Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
7141         (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
7142         interface-only modules, bug721.  Reported by Dean Hoyt.
7144 2014-03-26  Glenn Morris  <rgm@gnu.org>
7146         * obsolete/gulp.el: Move here from emacs-lisp/.
7148         * files.el (lock-buffer, unlock-buffer, file-locked-p):
7149         Remove fallback aliases, since they are always defined now.
7151 2014-03-24  Daniel Colascione  <dancol@dancol.org>
7153         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
7154         instead of cl-loop search function.
7156 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
7158         * calendar/parse-time.el (parse-time-iso8601-regexp)
7159         (parse-iso8601-time-string): Copy from `url-dav' so that we can use
7160         it more generally.
7162 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
7164         * net/dns.el (network-interface-list): Define for XEmacs.
7166 2014-03-23  Magnus Henoch  <magnus.henoch@gmail.com>
7168         * net/dns.el (dns-servers-up-to-date-p): New function to see whether
7169         the network interfaces changed.
7170         (dns-query): Use it to flush the data.
7172 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
7174         * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
7176 2014-03-23  Daniel Colascione  <dancol@dancol.org>
7178         Change subword-mode to use `find-word-boundary-function-table' and
7179         replace `capitalized-words-mode'.  Also, convert to lexical binding.
7180         * progmodes/cap-words.el: Delete now-obsolete file.
7181         * progmodes/subword.el: Reimplement using
7182         `find-word-boundary-function-table'.
7183         (subword-mode-map): Hollow out.
7184         (capitalized-words-mode): Define as obsolete alias for
7185         `subword-mode'.
7186         (subword-mode, superword-mode): Tweak documentation to reflect new
7187         implementation; call `subword-setup-buffer'.
7188         (subword-forward, subword-capitalize): Add underscore to indicate
7189         unused variable.
7190         (subword-find-word-boundary-function-table): New constant.
7191         (subword-empty-char-table): New constant.
7192         (subword-setup-buffer): New function.
7193         (subword-find-word-boundary): New function.
7195 2014-03-23  Daniel Colascione  <dancol@dancol.org>
7197         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
7198         list to look for keyword arguments instead of `memq', fixing
7199         (Bug#3647) --- unfortunately, only for freshly-compiled code.
7200         Please make bootstrap.
7202 2014-03-22  Glenn Morris  <rgm@gnu.org>
7204         * dired.el (dired-read-regexp): Make obsolete.
7205         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
7206         (dired-flag-files-regexp):
7207         * dired-aux.el (dired-mark-read-regexp):
7208         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
7210         * startup.el (fancy-startup-text):
7211         * help.el (describe-gnu-project): Visit online info about GNU project.
7213         * help-fns.el (help-fns--interactive-only): New function.
7214         (help-fns-describe-function-functions): Add the above function.
7215         * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
7216         (next-line, previous-line): Remove hand-written interactive-only
7217         information from doc strings, it is auto-generated now.
7218         * bookmark.el (bookmark-write):
7219         * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
7220         (epa-mail-import-keys): Mark interactive-only,
7221         and remove hand-written interactive-only information from doc strings.
7222         * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
7223         (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
7224         * files.el (not-modified):
7225         * simple.el (mark-whole-buffer): Mark interactive-only.
7227         * emacs-lisp/byte-run.el (defun-declarations-alist):
7228         Add interactive-only.  Doc tweak.
7229         (macro-declarations-alist): Doc tweak.
7230         * subr.el (declare): Doc tweak (add xref to manual).
7231         * comint.el (comint-run):
7232         * files.el (insert-file-literally, insert-file):
7233         * replace.el (replace-string, replace-regexp):
7234         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
7235         (delete-forward-char, goto-line, insert-buffer, next-line)
7236         (previous-line): Set interactive-only via declare.
7238 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
7240         * emacs-lisp/package.el (package-desc): Use the contents of the
7241         quoted form, not its cdr.  (Bug#16873)
7243 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
7245         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
7246         benefit of doc.c; change parameter profile to match the X function.
7248 2014-03-22  Leo Liu  <sdl.web@gmail.com>
7250         * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
7251         (temp-buffer-show-hook): Remove help-mode-finish.  (Bug#16038)
7253 2014-03-21  Richard Stallman  <rms@gnu.org>
7255         * battery.el (battery-linux-sysfs): Search for each field
7256         from the beginning of the buffer.
7258         * subr.el (set-transient-map): Clear out function and value
7259         of the temporary symbol when we're done with it.
7261         * mail/rmailsum.el (rmail-summary-delete-forward):
7262         Optimize case of reaching end and handling count.
7263         (rmail-summary-mark-deleted): Optimize when N is current msg.
7264         Don't create new summary line.
7265         (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
7266         (rmail-summary-undelete-many): Rewrite for speed.
7267         (rmail-summary-msg-number): New function.
7269         * mail/rmail.el (rmail-delete-message): Update summary.
7270         (rmail-undelete-previous-message): Handle repeat count arg.
7271         (rmail-delete-backward, rmail-delete-forward): Likewise.
7273 2014-03-21  Daniel Colascione  <dancol@dancol.org>
7275         * mail/emacsbug.el (report-emacs-bug): Include memory usage
7276         information in bug reports.
7278 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
7280         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
7281         and `tramp-copy-env'.
7283         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
7284         (tramp-maybe-open-connection): Handle `tramp-login-env'.
7286 2014-03-21  Glenn Morris  <rgm@gnu.org>
7288         * electric.el (electric-indent-post-self-insert-function): Add doc.
7290 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
7292         * emacs-lisp/package.el (package-compute-transaction):
7293         Use `version-list-<=' to compare the requirement version against
7294         the version of package already to be installed.  Update the error
7295         message.  (Bug#16826)
7297         * progmodes/ruby-mode.el (ruby-smie-rules):
7298         Add indentation rule for ` @ '.  (Bug#17050)
7300 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
7302         * align.el (align-regexp): Remove superfluous backslash.
7304         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
7305         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
7306         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
7307         Fix docstring typos.
7308         (ffap-next): Use C-u in docstring.
7309         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
7310         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
7311         Remove superfluous backslashes.
7312         (ffap-string-at-point): Reflow docstring.
7314         * server.el (server-host): Reflow docstring.
7315         (server-unload-function): Fix docstring typo.
7316         (server-eval-at): Remove superfluous backslash.
7318         * skeleton.el (skeleton-insert): Remove superfluous backslash.
7319         (skeleton-insert): Doc fix.
7320         (skeleton-insert): Reflow docstring.
7322         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
7323         (tty-color-approximate, tty-color-by-index, tty-color-values)
7324         (tty-color-desc): Remove superfluous backslashes.
7326 2014-03-21  Glenn Morris  <rgm@gnu.org>
7328         * cus-start.el (history-length): Bump :version.
7330         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7331         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7332         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7333         Don't set `make-backup-files'.
7335         * info.el (info--prettify-description): New function,
7336         to give info-finder descriptions consistent case, punctuation.
7337         (Info-finder-find-node): Use it.  Sort packages.
7338         Refer to "description" rather than "commentary".
7340 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
7342         * frameset.el (frameset--print-register): New function.
7343         (frameset-to-register): Use it.
7345 2014-03-20  Juanma Barranquero  <lekktu@gmail.com>
7347         * progmodes/hideif.el (hif-string-to-number): New function.
7348         (hif-tokenize): Use it to understand non-decimal floats.
7350         * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
7352         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
7354 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7356         * electric.el (electric-newline-and-maybe-indent): New command.
7357         Bind it globally to C-j.
7358         (electric-indent-mode): Don't mess with the global map any more.
7359         Don't drop the post-self-insert-hook is some buffer is still using it
7360         (bug#16770).
7362         * bindings.el (global-map): Remove C-j binding.
7364         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
7365         the docstring of functions advised before dumping (bug#16993).
7367 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
7369         * ps-print.el (ps-generate-postscript-with-faces):
7370         Explicitly deactivate the mark (bug#16866).
7371         * simple.el (deactivate-mark): Update region highlight.
7373 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
7375         * emacs-lisp/package.el (describe-package-1):
7376         Decode commentary (bug#16733).
7378 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
7380         * custom.el (defcustom): Doc fix: recommend avoiding destructive
7381         modification of the value argument of :set (bug#16755).
7383 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7385         * simple.el (newline-and-indent): Do autofill (bug#17031).
7387 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
7389         * newcomment.el (comment-normalize-vars): Only add escaping check
7390         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
7391         (comment-beginning): Use `narrow-to-region' instead of moving back
7392         one character.
7393         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
7394         (comment-start-skip): Update the docstring.
7396 2014-03-18  Richard Stallman  <rms@gnu.org>
7398         * dired.el (dired-display-file): Force use of other window.
7400 2014-03-18  Daniel Colascione  <dancol@dancol.org>
7402         * startup.el (tty-handle-args): Remove debug message from 2007.
7404 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7406         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
7407         (advice--make-interactive-form): Use it to avoid (auto)loading function.
7408         (advice--make-1, advice-add, advice-remove):
7409         Remove braindead :advice-pending hack.
7411 2014-03-17  Glenn Morris  <rgm@gnu.org>
7413         * calendar/calendar.el (calendar-generate-month): Apply weekend
7414         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
7416 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
7418         * net/tramp.el (tramp-action-out-of-band): Read pending output.
7419         (tramp-call-process): Trace also DESTINATION.
7421         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7422         Quote file names when they are local.  Remove superfluous trace.
7424 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
7426         * newcomment.el (comment-beginning): If `comment-start-skip'
7427         doesn't match, move back one char and try again.  (Bug#16971)
7429         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7430         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
7431         Set `comment-start-skip' to a simpler value that doesn't try to
7432         check if the semicolon is escaped (this is handled by
7433         `syntax-ppss' now).  (Bug#16971)
7435         * progmodes/scheme.el (scheme-mode-variables): Same.
7437 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
7439         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
7440         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
7441         current (Bug#16816, Bug#17007).
7442         (with-current-buffer-window): New macro doing the same as
7443         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
7444         * help.el (help-print-return-message): Warn in doc-string to not
7445         use this in `with-help-window'.
7446         (describe-bindings-internal): Call `describe-buffer-bindings'
7447         from within help buffer.  See Juanma's scenario in (Bug#16816).
7448         (with-help-window): Update doc-string.
7449         * dired.el (dired-mark-pop-up):
7450         * files.el (save-buffers-kill-emacs):
7451         * register.el (register-preview): Use `with-current-buffer-window'
7452         instead of `with-temp-buffer-window'.
7454 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
7456         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
7457         Implement inserting into current buffer, documented in their docstrings.
7458         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
7459         (rst-section-tree-point, rst-forward-section, rst-indent)
7460         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
7461         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
7462         (rst-font-lock-handle-adornment-pre-match-form)
7463         (rst-repeat-last-character): Reflow docstrings.
7464         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
7465         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
7466         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
7467         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
7468         Fix docstring typos.
7469         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
7470         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
7471         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
7473 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
7475         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
7476         for compatibility with other ports.
7477         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
7478         from the -xrm command line argument, but in the Nextstep port its value
7479         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
7481         * progmodes/python.el (defconst, python-syntax-count-quotes)
7482         (python-indent-region, python-indent-shift-right)
7483         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
7484         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
7485         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
7486         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
7487         (inferior-python-mode, python-shell-make-comint, run-python-internal)
7488         (python-shell-buffer-substring, python-shell-send-buffer)
7489         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
7490         (python-completion-complete-at-point, python-fill-docstring-style)
7491         (python-eldoc-function, python-imenu-format-item-label)
7492         (python-imenu-format-parent-item-label)
7493         (python-imenu-format-parent-item-jump-label)
7494         (python-imenu--build-tree, python-imenu-create-index)
7495         (python-imenu-create-flat-index): Fix docstring typos.
7496         (python-indent-context, python-shell-prompt-regexp, run-python):
7497         Remove superfluous backslashes.
7498         (python-indent-line, python-nav-beginning-of-defun)
7499         (python-shell-get-buffer, python-shell-get-process)
7500         (python-info-current-defun, python-info-current-line-comment-p)
7501         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
7502         (python-indent-post-self-insert-function, python-shell-send-file)
7503         (python-shell-completion-get-completions)
7504         (python-shell-completion-complete-or-indent)
7505         (python-eldoc--get-doc-at-point): Reflow docstrings.
7507 2014-03-14  Glenn Morris  <rgm@gnu.org>
7509         * emacs-lisp/package.el (package-menu-mode-map):
7510         Replace use of obsolete function alias.  Tweak menu item text.
7512         * info.el (Info-finder-find-node):
7513         Ignore the `emacs' metapackage.  (Bug#10813)
7515         * finder.el (finder-list-matches): Include unversioned packages
7516         in the result of a keyword search.
7518         * finder.el (finder--builtins-descriptions): New constant.
7519         (finder-compile-keywords): Use finder--builtins-descriptions.
7521 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
7523         * simple.el (blink-matching-paren): Describe the new value,
7524         `jump', enabling the old behavior.
7525         (blink-matching-open): Use that value.  (Bug#17008)
7527 2014-03-14  Glenn Morris  <rgm@gnu.org>
7529         * finder.el (finder-no-scan-regexp): Add leim-list.
7530         (finder-compile-keywords):
7531         Don't skip files with same basename.  (Bug#14010)
7532         * Makefile.in (setwins_finder): New, excluding leim.
7533         (finder-data): Use setwins_finder.
7535         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
7536         (help-function-arglist, help-make-usage): Move from here...
7537         * help.el (help-split-fundoc, help-add-fundoc-usage)
7538         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
7539         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
7541 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
7543         * net/socks.el (socks, socks-override-functions)
7544         (socks-find-services-entry):
7545         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
7546         (hif-find-ifdef-block):
7547         * progmodes/modula2.el (m2-indent): Fix docstring typos.
7549         * net/tls.el (tls-program): Reflow docstring.
7551         * progmodes/pascal.el (pascal-mode-abbrev-table)
7552         (pascal-imenu-generic-expression, pascal-auto-endcomments)
7553         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
7554         (pascal-outline-mode): Fix docstring typos.
7555         (pascal-mode): Let define-derived-mode document mode hook.
7556         (pascal-uncomment-area): Reflow.
7557         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
7559         * progmodes/opascal.el (opascal-compound-block-indent)
7560         (opascal-case-label-indent): Fix docstring typos.
7561         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
7563 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
7565         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7566         Fontify multiple adjacent negation chars.  (Bug#17004)
7568 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
7570         * emacs-lisp/package.el (package--prepare-dependencies):
7571         Accept requirements without explicit version (bug#14941).
7573 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
7575         * register.el (register-separator, copy-to-register): Doc fixes.
7576         (register-preview-default): Remove unnecessary call to concat.
7578         * frameset.el (frameset-restore): When checking for a visible frame,
7579         use the action map instead of calling visible-frame-list.
7581 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
7583         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
7585 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
7587         * window.el (fit-frame-to-buffer): Get maximum width from
7588         display's width instead of height.
7590 2014-03-12  Glenn Morris  <rgm@gnu.org>
7592         * desktop.el (desktop-restore-frames)
7593         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
7594         (desktop-restore-reuses-frames): Doc tweaks.
7596         * electric.el (electric-indent-mode): Doc fix.
7598 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
7600         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
7601         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
7602         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
7603         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
7604         (cvs-dired-use-hook): Fix docstring typos.
7605         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
7606         Doc fixes.
7608         * vc/pcvs-defs.el (cvs-auto-remove-handled)
7609         (cvs-auto-remove-directories, cvs-default-ignore-marks)
7610         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
7611         (cvs-execute-single-dir): Fix docstring typos.
7613         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
7614         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
7616         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
7618         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
7619         Fix docstring typos.
7621 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
7623         * frameset.el (frameset--jump-to-register): Add autoload; it could be
7624         called from jump-to-register after unloading the frameset package.
7626 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7628         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
7629         (bug#16975).  Deactivate the mark before setting it to nil.
7630         (activate-mark): Do nothing if region is already active.
7632 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
7634         * frameset.el (frameset--target-display): Remove definition; declare.
7635         (frameset-save, frameset-restore): Let-bind frameset--target-display.
7637 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7639         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
7640         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
7641         when the advice is pending.
7642         (advice-remove): Remove this marker when not needed any more.
7644 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
7646         * frameset.el: Separate options for reusing frames and cleaning up.
7647         (frameset--reuse-list): Remove definition; declare.
7648         (frameset--action-map): Declare.
7649         (frameset--find-frame-if): Doc fix.
7650         (frameset--restore-frame): Cache frame action.
7651         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
7652         how to clean up the frame list after restoring.  Remove cleaning
7653         options from REUSE-FRAMES.  Change all keyword values to symbols.
7654         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
7656         * desktop.el (desktop-restore-forces-onscreen)
7657         (desktop-restore-reuses-frames): Use non-keyword values.
7658         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
7660 2014-03-10  Glenn Morris  <rgm@gnu.org>
7662         * files.el (find-file): Doc fix: update info node name.
7664         * emacs-lisp/advice.el (ad-add-advice, defadvice):
7665         Doc fix: remove references to deleted info nodes.
7667 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
7669         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
7670         Do not add nil to the environment, when there's no remote `locale'.
7671         (tramp-find-inline-encoding): Check, that the remote host has
7672         installed perl, before sending scripts.
7674 2014-03-10  Leo Liu  <sdl.web@gmail.com>
7676         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
7677         Clear eldoc-last-message.  (Bug#16920)
7679 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7681         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
7682         (bug#14430).
7684 2014-03-09  Juri Linkov  <juri@jurta.org>
7686         * ansi-color.el (ansi-color-names-vector): Copy default colors
7687         from `xterm-standard-colors' that look well on the default white
7688         background (and also on the black background) to avoid illegible
7689         color combinations like yellow-on-white and white-on-white.
7690         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
7692 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
7694         * frameset.el (frameset-restore): When no frame is visible, do not
7695         generate a list of frames, just make visible the selected one.
7697 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
7699         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
7700         it only contains the repository root.  (Bug#16897)
7702 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
7704         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
7705         only when `remote-file-name-inhibit-cache' is nil.
7706         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
7708 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
7710         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
7711         Fix doc-strings.
7712         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
7713         fit-frame-to-buffer variable.  Fix doc-string.
7714         (fit-window-to-buffer): Set ONLY argument in call of
7715         fit-frame-to-buffer.  Fix doc-string.
7717 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
7719         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
7720         (tramp-action-password): Clear password cache if needed.
7721         (tramp-read-passwd): Do not clear password cache.
7723         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
7724         cache unless it is the first password request.
7726 2014-03-06  Glenn Morris  <rgm@gnu.org>
7728         * simple.el (newline): Doc tweak.
7730         * emacs-lisp/shadow.el (load-path-shadows-find):
7731         Ignore dir-locals.  (Bug#12357)
7733 2014-03-05  Glenn Morris  <rgm@gnu.org>
7735         * files.el (interpreter-mode-alist):
7736         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
7738 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
7740         * frameset.el (frameset--initial-params): Filter out null entries.
7742 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
7744         * window.el (window-min-height, window-min-width):
7745         Rewrite doc-strings.
7746         (window-body-size): Add PIXELWISE argument to make it consistent
7747         with its callees.
7749 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
7751         * finder.el (finder-mode-map, finder-mode-syntax-table):
7752         Revert part of 2014-02-28 change.
7754 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
7756         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
7757         (eww-setup-buffer): Clear next/prev/etc more reliably.
7758         (eww-textarea-map): [tab] doesn't work on tty.
7759         Reported by Mario Lang.
7761         * net/shr.el (shr-map): Ditto.
7763 2014-03-04  Glenn Morris  <rgm@gnu.org>
7765         * minibuffer.el (completion-hilit-commonality):
7766         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
7768 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
7770         * hilit-chg.el (hilit-chg-unload-function): New function.
7771         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
7772         (hilit-chg-map-changes): Prefer cardinal number to digit.
7773         (hilit-chg-display-changes): Reflow docstring.
7774         (highlight-changes-rotate-faces): Remove superfluous backslash.
7776 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
7778         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
7779         `tramp-send-command-and-check'.
7781 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
7783         * hexl.el (hexl-address-region, hexl-ascii-region)
7784         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
7785         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
7786         (hexl-forward-word, hexl-previous-line, hexl-next-line):
7787         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
7788         (hexl-mode): Doc fix.
7789         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
7790         (hexl-mode-ruler): Fix typos in docstrings.
7792         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
7793         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
7794         Remove superfluous backslashes.
7795         (strokes-last-stroke, strokes-global-map, strokes-mode):
7796         Reflow docstrings.
7797         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
7798         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
7799         (strokes-distance-squared, strokes-global-set-stroke)
7800         (strokes-global-set-stroke-string): Doc fixes.
7801         (strokes-help): Fix typos; reflow docstring.
7803 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
7805         * window.el (window-in-direction): Fix doc-string.
7807 2014-03-04  Glenn Morris  <rgm@gnu.org>
7809         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
7810         Explicit error if no grammar.
7811         (smie-config-save): Doc fix.  Fix quote typo.
7813 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7815         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
7816         electric-indent-mode-hook if we obey electric-indent-mode.
7817         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
7818         decide whether we obey electric-indent-mode.
7819         (c-change-set-fl-decl-start, c-extend-after-change-region):
7820         Silence warnings.
7821         (c-electric-indent-mode-hook): Assume we do want to obey
7822         electric-indent-mode.
7824         * electric.el (electric-indent-mode-has-been-called): Remove.
7825         (electric-indent-mode): Fix accordingly.
7827         * files.el (hack-local-variables): Mention file name in warning.
7829         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
7831 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
7833         * bindings.el: Add comment describing why C-d binds to `delete-char'.
7834         * simple.el (delete-forward-char): Mark as interactive-only.
7836 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
7838         * icomplete.el (icomplete-completions):
7839         Follow-up to 2014-03-01 change.
7841         * icomplete.el: Miscellaneous doc fixes.
7842         Use Icomplete everywhere instead of icomplete for consistency.
7843         (icomplete-max-delay-chars): Fix typo.
7844         (icomplete-mode): Use \[].
7845         (icomplete-tidy, icomplete-exhibit): Reflow.
7846         (icomplete-minibuffer-setup-hook, icomplete-completions):
7847         Remove superfluous backlashes.
7849         * ido.el: Miscellaneous doc fixes.
7850         Use Ido everywhere instead of ido or `ido' for consistency.
7851         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
7852         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
7853         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
7854         (ido-separator): Extract obsolescence info from docstring and declare
7855         with make-obsolete-variable.
7856         (ido-minibuffer-setup-hook): Simplify example.
7857         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
7858         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
7859         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
7860         (ido-everywhere): Reflow docstring.
7861         (ido-toggle-vc): Doc fix.
7862         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
7863         of long list of keybindings.
7865 2014-03-03  Glenn Morris  <rgm@gnu.org>
7867         * frame.el (display-pixel-height, display-pixel-width)
7868         (display-mm-dimensions-alist, display-mm-height)
7869         (display-mm-width): Doc tweaks.
7871 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
7873         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
7874         case of undo in region.
7876 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
7878         * window.el (fit-window-to-buffer): Fix argument in window-size
7879         call when window is horizontally combined.
7881 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
7883         * icomplete.el (icomplete-completions): Use string-width.
7884         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7886 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
7888         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7889         Highlight regexp options.  (Bug#16914)
7891 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
7893         * window.el (window--max-delta-1): Round down when calculating
7894         how many lines/columns we can get from a window.
7896 2014-03-01  Glenn Morris  <rgm@gnu.org>
7898         * isearch.el (search-invisible): Doc fix.
7900         * minibuffer.el (completion-hilit-commonality):
7901         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
7902         * comint.el (comint-dynamic-list-completions): Doc fix.
7903         * comint.el (comint-dynamic-list-completions):
7904         * filecache.el (file-cache-minibuffer-complete):
7905         * tempo.el (tempo-display-completions):
7906         * eshell/em-hist.el (eshell-list-history):
7907         Replace use of obsolete argument of display-completion-list.
7909 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
7911         * icomplete.el (icomplete-completions):
7912         Revert back to using "..." when ?… cannot be displayed.
7914 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
7916         * finder.el (finder-unload-function): New function.
7918 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
7920         * dframe.el (dframe-detach):
7921         * find-dired.el (find-dired, find-name-dired):
7922         * finder.el (finder-mode-map, finder-mode-syntax-table)
7923         (finder-headmark, finder-select, finder-mouse-select):
7924         Fix docstring typos.
7926 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
7928         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
7929         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
7930         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7931         Fix doc-string based on a suggestion by Nicolas Richard
7932         <theonewiththeevillook@yahoo.fr>.
7933         * help.el (with-help-window): Fix doc-string.
7935 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
7937         * net/shr.el (shr-image-animate): New option.
7938         (shr-put-image): Respect shr-image-animate.
7940 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
7942         * net/tramp-adb.el (tramp-adb-parse-device-names):
7943         Use `accept-process-output'.
7944         (tramp-adb-handle-file-truename): Cache the localname only.
7945         (tramp-adb-handle-make-directory)
7946         (tramp-adb-handle-delete-directory): Flush file properties correctly.
7947         (tramp-adb-handle-set-file-modes): Do not raise an error when file
7948         modes cannot be changed.
7950         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
7951         file properties of symlinks.
7953 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
7955         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
7956         required/optional fields to match development biblatex.  (Bug#16781)
7958 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
7960         * saveplace.el (toggle-save-place):
7961         Fix argument handling.  (Bug#16673)
7963 2014-02-28  Glenn Morris  <rgm@gnu.org>
7965         * minibuffer.el (completions-first-difference)
7966         (completions-common-part, completion-hilit-commonality): Doc fixes.
7968 2014-02-28  Karl Berry  <karl@gnu.org>
7970         * info.el (Info-mode-map): Add H for describe-mode,
7971         to synchronize with standalone Info.
7973 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
7975         * progmodes/sql.el (sql-interactive-mode):
7976         Avoid setting global comint-input-ring-separator.  (Bug#16814)
7978 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
7980         * net/dbus.el (dbus--init-bus): Declare function.
7981         (dbus-path-local, dbus-interface-local): New defconst.
7982         (dbus-init-bus): Use them.
7983         (dbus-return-values-table): Extend doc.
7984         (dbus-handle-bus-disconnect): Extend error message.
7986 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
7988         * subr.el (y-or-n-p): Fix double space issue in message.
7990 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
7992         * net/tramp.el (tramp-call-process): Improve trace message.
7993         (tramp-handle-insert-file-contents): Trace error case.
7995         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
7996         <insert-directory>: Use `tramp-handle-insert-directory'.
7997         (tramp-adb-handle-insert-directory): Remove function.
7998         (tramp-adb-send-command-and-check): New defun, replacing
7999         `tramp-adb-command-exit-status'.  Change all callees.
8000         (tramp-adb-handle-file-attributes)
8001         (tramp-adb-handle-directory-files-and-attributes): Use it.
8002         (tramp-adb-ls-output-name-less-p):
8003         Use `directory-listing-before-filename-regexp'.
8004         (tramp-adb-handle-delete-directory): Flush also file properties of
8005         the truename of directory.
8006         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
8007         (tramp-adb-handle-file-local-copy): Make the local copy readable.
8008         (tramp-adb-handle-write-region): Implement APPEND.
8009         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
8010         properties correctly.
8011         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
8012         variables.  Check for connected devices only when needed.
8014 2014-02-27  Glenn Morris  <rgm@gnu.org>
8016         * minibuffer.el (completion-table-dynamic)
8017         (completion-table-with-cache): Doc fixes.
8019         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
8020         (completing-read-multiple): Doc fixes.
8022 2014-02-27  Daniel Colascione  <dancol@dancol.org>
8024         * minibuffer.el (completion--nth-completion): Fix indentation.
8026         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
8027         explicit tramp path is empty.
8029 2014-02-27  Glenn Morris  <rgm@gnu.org>
8031         * emacs-lisp/crm.el (completing-read-multiple):
8032         Empower help-enable-auto-load.
8034 2014-02-26  Glenn Morris  <rgm@gnu.org>
8036         * startup.el (command-line): Don't init the tty in daemon mode.
8038         Avoid calling tty-setup-hook twice, eg if a term file
8039         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
8040         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
8041         (tty-create-frame-with-faces): Use it.
8042         * startup.el (command-line): Pass run-hook argument
8043         to tty-run-terminal-initialization.
8045         * dired.el (dired-restore-desktop-buffer): Demote errors;
8046         eg in case a glob match fails.  (Bug#16884)
8048 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
8050         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
8051         error from `read-from-string'.  (Bug#16850)
8053         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
8054         result of `completing-read' in the interactive form.  (Bug#16854)
8056 2014-02-25  Glenn Morris  <rgm@gnu.org>
8058         * image.el (image-animate, image-animate-timeout):
8059         Stop animating images in dead buffers.  (Bug#16878)
8061         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
8063         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
8064         Doc fixes.
8065         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
8066         * term/sun.el (sun-raw-prefix-hooks):
8067         Use tty-setup-hook instead of term-setup-hook.
8068         (terminal-init-sun): Construct message from bytecomp plist.
8069         * term/wyse50.el (enable-arrow-keys): Doc fix.
8071 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
8073         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
8074         Fix docstring typos.
8076 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
8078         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
8080 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
8082         * minibuffer.el (completion--try-word-completion):
8083         Fix error when completing M-x commands (bug#16808).
8085 2014-02-24  Leo Liu  <sdl.web@gmail.com>
8087         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
8089 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
8091         * apropos.el (apropos-print): Avoid formatting error when
8092         apropos-do-all and apropos-compact-layout are both t.
8094 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
8096         * apropos.el (apropos-property, apropos-all-words-regexp)
8097         (apropos-true-hit, apropos-variable, apropos-print):
8098         Fix docstring typos, and remove obsolete comment.
8100 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
8102         * net/tramp-sh.el (tramp-sh-handle-file-truename):
8103         Preserve trailing "/".  (Bug#16851)
8105 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
8107         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
8108         after `=>' (bug#16811).
8109         (ruby-smie-rules): Handle the inconsistent second element of the
8110         list returned by `smie-indent--parent'.
8111         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
8112         method call.
8114 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
8116         * elec-pair.el (electric-pair-text-syntax-table)
8117         (electric-pair-syntax-info, electric-pair--syntax-ppss)
8118         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
8119         (electric-pair--looking-at-unterminated-string-p): Doc fix.
8120         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
8122 2014-02-22  Glenn Morris  <rgm@gnu.org>
8124         * imenu.el (imenu--generic-function): Doc fix.
8126         * register.el (frame-configuration-to-register): Make obsolete.
8128 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
8130         * desktop.el (desktop-save-buffer-p): Do not fail when
8131         desktop-files-not-to-save is nil.  Return t for true result
8132         as the doc says.
8134 2014-02-22  Daniel Colascione  <dancol@dancol.org>
8136         * net/secrets.el (secrets-create-item, secrets-search-items):
8137         Check that attribute values are strings, avoiding the construction
8138         of invalid dbus messages.
8140 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
8142         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
8143         defun-declarations-alist.
8145 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8147         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
8148         (bug#16829).
8150 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
8152         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
8153         (whitespace-newline, whitespace-trailing, whitespace-line)
8154         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
8155         (whitespace-space-after-tab): Fix typo in docstrings.
8157 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
8159         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
8161         * electric.el (electric-indent-functions-without-reindent):
8162         Add `yaml-indent-line'.
8164 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
8166         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
8167         It has done nothing for years; should be removed after the release.
8169         * simple.el (choose-completion): Fix docstring typo.
8170         (read-quoted-char-radix): Remove unneeded * in docstring.
8171         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
8172         Don't escape parentheses unnecessarily in docstrings.
8174 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
8176         Fix handling of window-min-height/-width (Bug#16738).
8177         * window.el (window--dump-window, window--dump-frame):
8178         New functions.
8179         (window--min-size-1): Account for window dividers.
8180         When window-resize-pixelwise is nil, delay rounding till after the
8181         sum of the window components has been calculated.
8182         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
8183         nil make sure at least one text line and two text columns remain
8184         fully visible.
8185         (window-resize): Signal an error when window-resize-apply fails.
8186         (window--resize-child-windows): Fix calculation of by how many
8187         pixels a window can still be shrunk via window-new-normal.
8188         (adjust-window-trailing-edge): Call window--resizable with
8189         correct TRAIL argument.
8191         (with-temp-buffer-window): Don't evaluate BODY within
8192         with-current-buffer (Bug#16816).
8194 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
8196         * net/tramp.el (tramp-check-cached-permissions):
8197         Call `file-attributes' with `suffix' being a symbol but a string.
8199 2014-02-21  Daniel Colascione  <dancol@dancol.org>
8201         * net/dbus.el (dbus-init-bus-1): Declare new subr.
8202         (dbus-init-bus): New function: call into dbus-init-bus-1
8203         and installs a handler for the disconnect signal.
8204         (dbus-call-method): Rewrite to look for result in cons.
8205         (dbus-call-method-handler): Store result in cons.
8206         (dbus-check-event): Recognize events with nil sender as valid.
8207         (dbus-handle-bus-disconnect): New function.  React to bus
8208         disconnection signal by synthesizing dbus error for each
8209         pending synchronous or asynchronous call.
8210         (dbus-notice-synchronous-call-errors): New function.
8211         (dbus-handle-event): Raise errors directly only when `dbus-debug'
8212         is true, not all the time.
8214 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
8216         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
8217         Remove obsolescence declarations, these variables do not exist anymore.
8219         * savehist.el (savehist-save-minibuffer-history)
8220         (savehist-additional-variables, savehist-file, savehist-mode-hook)
8221         (savehist-save-hook, savehist-coding-system, savehist-loaded)
8222         (savehist-load, savehist-install, savehist-autosave): Fix typos;
8223         mostly, refer to "Savehist mode" when talking about the mode,
8224         and not the function.
8226         * saveplace.el (save-place): Remove redundant info in docstring.
8227         (save-place-forget-unreadable-files, toggle-save-place)
8228         (save-place-forget-unreadable-files, save-place-dired-hook):
8229         Fix typos and remove unneeded backslashes.
8231 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
8233         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
8234         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
8236         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8237         <insert-directory>: Use `tramp-handle-insert-directory'.
8238         (tramp-gvfs-handle-insert-directory): Remove function.
8240         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8241         Call `tramp-handle-insert-directory'.
8243 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
8245         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
8246         before the start of buffer/region (bug#16799).
8248 2014-02-20  Glenn Morris  <rgm@gnu.org>
8250         * isearch.el (search-invisible): Doc fix.
8252 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
8254         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
8255         (bug#16657).
8257 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
8259         * frameset.el (frameset-restore): Delay removing an old frame's
8260         duplicate id until the new frame has been correctly created.
8262 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
8264         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
8265         (tramp-check-cached-permissions): Call `file-attributes' if the
8266         cache is empty.
8268         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
8269         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
8271         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8272         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
8273         (tramp-gvfs-maybe-open-connection): Set always connection
8274         properties, even if target is mounted already.
8276         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
8277         Set tramp-autoload cookie.
8278         (tramp-get-remote-touch): New defun.
8279         (tramp-sh-handle-set-file-times): Use it.
8280         (tramp-sh-handle-directory-files-and-attributes):
8281         Use `tramp-handle-directory-files-and-attributes' if neither stat
8282         nor perl are available on the remote host.
8284         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
8285         "/".  Write long listing only when "l" belongs to the switches.
8287         * net/trampver.el: Update release number.
8289 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
8291         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
8293 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
8295         * window.el (window-state-put): Allow WINDOW to refer to an
8296         internal window (Bug#16793).
8298 2014-02-19  Glenn Morris  <rgm@gnu.org>
8300         * textmodes/remember.el: Move provide statement to end.
8301         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
8302         (remember-notes): Doc fixes.
8304 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8306         * delsel.el (delete-char): Restore incorrectly erased property
8307         (bug#16795).
8309 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
8311         * frameset.el (frameset--restore-frame): When a frame is being reused
8312         and its root window is not alive, delete all the frame's windows before
8313         restoring the window state.  This works around the issue in bug#16793.
8315 2014-02-18  Glenn Morris  <rgm@gnu.org>
8317         * textmodes/remember.el (remember-data-directory)
8318         (remember-directory-file-name-format, remember-store-in-files)
8319         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
8320         (remember-notes-save-and-bury-buffer)
8321         (remember-notes--kill-buffer-query): Doc fixes.
8323         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
8325 2014-02-17  Alan Mackenzie  <acm@muc.de>
8327         Connect electric-indent-mode up with CC Mode.  Bug #15478.
8328         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
8329         to electric-indent-{,local-}-mode.
8330         (c-basic-common-init): Set electric-indent-inhibit.
8331         Initialise c-electric-flag from electric-indent-mode.
8332         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
8333         New hook functions which propagate electric-indent-mode to CC mode.
8335         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
8336         hit, toggle electric-indent-local-mode.
8338         * electric.el (electric-indent-mode-has-been-called):
8339         New variable.
8341 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
8343         * frameset.el (frameset-cfg-id): New function.
8344         (frameset--reuse-frame, frameset-restore): Use it.
8345         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
8347 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8349         * ido.el (ido-file-internal): Remove unused var `d'.
8350         Use \` for to match BoS.  Fit within 80n columns.
8352 2014-02-17  Daniel Colascione  <dancol@dancol.org>
8354         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
8355         dbus-call-method check for completion using a busy-wait loop with
8356         gradual backoff.
8358 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
8360         Sync with Tramp 2.2.9.
8362         * net/trampver.el: Update release number.
8364 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
8366         * ido.el (ido-file-internal): Don't add the name of an existing
8367         directory twice.  (Bug#16747)
8369 2014-02-16  Glenn Morris  <rgm@gnu.org>
8371         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
8372         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
8374 2014-02-15  Michael R. Mauger  <michael@mauger.com>
8376         * progmodes/sql.el: Version 3.4
8377         (sql-oracle-options): New default value ("-L").
8378         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
8379         (sql-placeholders-filter): Correct placeholder pattern.
8380         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
8381         (sql-login-delay): New variable.
8382         (sql-product-interactive): Use it.
8384 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
8386         * frameset.el (frameset--jump-to-register): Check that buffer is live
8387         (bug#16749).
8389 2014-02-15  Glenn Morris  <rgm@gnu.org>
8391         * info.el (info-initialize): Revert 2014-01-10 change.
8393 2014-02-14  Glenn Morris  <rgm@gnu.org>
8395         * replace.el (map-query-replace-regexp)
8396         (read-regexp-defaults-function, read-regexp): Doc fixes.
8398         * dired.el (dired-read-regexp):
8399         * faces.el (list-faces-display):
8400         * misearch.el (multi-isearch-read-matching-buffers)
8401         (multi-isearch-read-matching-files):
8402         * play/cookie1.el (cookie-apropos):
8403         * progmodes/grep.el (grep-read-regexp): Doc fixes.
8405         * textmodes/remember.el (remember): Use frameset-to-register
8406         rather than frame-configuration-to-register.
8408 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
8410         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
8411         incorrect keybinding.
8413 2014-02-13  Daniel Colascione  <dancol@dancol.org>
8415         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
8416         when adding overlays so that line numbers from compiler match line
8417         numbers we use.
8419 2014-02-13  Glenn Morris  <rgm@gnu.org>
8421         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
8423         * jit-lock.el (jit-lock-mode): Doc fix.
8425 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
8427         * apropos.el (apropos-read-pattern): When the user passes an empty
8428         string, give a more helpful error message than "Wrong type
8429         argument: stringp, nil".
8431 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8433         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
8435 2014-02-13  Glenn Morris  <rgm@gnu.org>
8437         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
8439 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8441         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
8442         shift-select commands.
8444 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
8446         * progmodes/js.el (js-indent-line): Don't widen.
8447         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
8449 2014-02-12  Glenn Morris  <rgm@gnu.org>
8451         * icomplete.el (icomplete): Add info-link to defgroup.
8452         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
8453         (icomplete-minibuffer-map, icomplete-mode)
8454         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
8456         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
8457         (package-menu-filter): Rename from package-menu-filter-interactive.
8458         Doc fix.
8460 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
8462         * frameset.el (frameset--jump-to-register): Select the required
8463         window and buffer before restoring position (bug#16696).
8465 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
8467         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
8469 2014-02-10  Glenn Morris  <rgm@gnu.org>
8471         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
8473 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
8475         * w32-common-fns.el (x-get-selection): Doc fix.
8476         * select.el (x-get-selection): Doc fix.  (Bug#15109)
8478         * face-remap.el (face-remap-add-relative)
8479         (face-remap-remove-relative, face-remap-reset-base)
8480         (face-remap-set-base): Call force-mode-line-update to redisplay
8481         the current buffer due to potential change in faces.  (Bug#16709)
8483 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
8485         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
8486         script more robustly.
8488 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
8490         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
8492         * simple.el (choose-completion): Doc fix (bug#14160).
8494         * subr.el (event-start): Say what a nil EVENT value means.
8496         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
8497         (bug#14197).
8499         * progmodes/grep.el (find-program): Doc fix (bug#14289).
8501         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
8503         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
8505         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
8506         predicate function (bug#15455).
8508 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
8510         * ielm.el (inferior-emacs-lisp-mode): Instead of
8511         `comment-use-global-state', set `comment-use-syntax'.
8513 2014-02-10  Glenn Morris  <rgm@gnu.org>
8515         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
8517 2014-02-09  Alan Mackenzie  <acm@muc.de>
8519         Fix c-invalidate-state-cache on narrowed buffers.
8520         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
8521         Widen when setting and clearing the CPP delimiter properties.
8523 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
8525         * help.el (describe-bindings): Doc fix (bug#9888).
8527         * files.el (save-buffer): Use ARG as the parameter name for
8528         consistency (bug#10346).
8529         (save-buffer): Clarify the 0 argument (bug#10346).
8531         * cus-edit.el (customize-apropos): Fix error string.
8532         (custom-buffer-create): Doc fix (bug#11122).
8533         (custom-sort-items): Doc fix (bug#11121).
8535         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
8537         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
8538         (icomplete-simple-completing-p): Mention the previous variable.
8540         * font-lock.el (font-lock-value-in-major-mode): Clarify the
8541         meaning of the parameter (bug#12282).
8543         * files.el (find-file-noselect): Clarify prompt when changing
8544         readedness (bug#13261).
8545         (locate-file): Suffixes aren't returned, so don't say that they
8546         are (bug#12674).
8547         (backup-inhibited): Doc clarification (bug#12525).
8549         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
8550         before we actually start to delete things (bug#16331).
8552         * subr.el (event-start): Doc fix (bug#14228).
8553         (event-end): Ditto.
8555 2014-02-09  Glenn Morris  <rgm@gnu.org>
8557         * emacs-lisp/warnings.el (lwarn):
8558         Empower help-enable-auto-load.  (Bug#15940)
8560 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
8562         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
8563         (Bug#16690)
8565 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
8567         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8568         Insert output at end of buffer.  (Bug#16120)
8570 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
8572         * simple.el (choose-completion-string-functions): Document new
8573         calling convention (bug#14153).
8574         (execute-extended-command): Clarify doc string (bug#13373).
8576         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
8578         * find-dired.el (find-name-dired): Doc fix (bug#14290).
8579         (find-grep-dired): Doc fix (bug#14288).
8581 2014-02-08  Juri Linkov  <juri@jurta.org>
8583         * isearch.el (isearch-quote-char): Check character validity
8584         like in `quoted-insert' (bug#16677).
8586 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
8588         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
8590         * isearch.el (isearch-hide-immediately): Doc clarification
8591         (bug#14723).
8593         * simple.el (line-move): Document utility function used many
8594         places in the Emacs sources (bug#14843).
8596         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8597         (dired-prev-marked-file): Doc fix (bug#14855).
8598         (dired-up-directory): Doc fix (bug#14848).
8600         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
8602         * files.el (file-relative-name): Doc fix (bug#15159).
8604         * fringe.el (fringe-styles): Doc fix (bug#15239).
8606         * isearch.el (isearch-filter-predicate): Documentation typo fix
8607         (bug#15474).
8609         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
8611         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
8613         * replace.el (replace-match-maybe-edit): Doc clarification
8614         (bug#15632).
8616         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
8618         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
8620 2014-02-08  Glenn Morris  <rgm@gnu.org>
8622         * help-fns.el (describe-variable):
8623         Check {file,dir}-local-variables-alist, and buffer-file-name,
8624         in the correct buffer.
8626 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
8628         * help-fns.el (describe-variable): Fix the case where
8629         a value is directory-local with no dir-locals file.  (Bug#16635)
8631 2014-02-08  Glenn Morris  <rgm@gnu.org>
8633         * abbrev.el (edit-abbrevs-mode):
8634         Derive from fundamental-mode.  (Bug#16682)
8636 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
8638         * simple.el (quoted-insert): Check character validity (bug#16677).
8640 2014-02-07  Juri Linkov  <juri@jurta.org>
8642         * desktop.el (desktop-read): Claim the lock when the owner is not
8643         the current process.  (Bug#16157)
8645 2014-02-07  Juri Linkov  <juri@jurta.org>
8647         * desktop.el (desktop-buffers-not-to-save): Change default from nil
8648         to "\\` ".  (Bug#16651)
8650 2014-02-07  Juri Linkov  <juri@jurta.org>
8652         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
8653         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
8654         (desktop-auto-save-cancel-timer): New function with some code from
8655         `desktop-auto-save-set-timer'.
8656         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
8657         Instead of setting `desktop-save-mode' to nil, call
8658         `desktop-save-mode' with arg 0.  (Bug#16630)
8660 2014-02-07  Glenn Morris  <rgm@gnu.org>
8662         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
8663         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
8664         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
8666         * obsolete/iswitchb.el: Move to obsolete/.
8667         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
8668         since obsolete/ is not scanned for autoloads.
8669         * emacs-lisp/authors.el (authors-valid-file-names):
8670         Add iswitchb.el.
8672         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
8673         Disable now non-functional find-file-hook.
8675 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
8677         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
8678         instead of ";" in order to avoid additional prompts.  Let heredoc
8679         scripts read from tty.  (Bug#16582)
8680         (tramp-send-command): No special handling of heredocs, it isn't
8681         necessary anymore.
8683 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8685         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
8686         with a space (bug#16664).  Limit the symbols considered to the ones
8687         that are bound or fbound (bug#16646).
8689 2014-02-06  Glenn Morris  <rgm@gnu.org>
8691         * epa.el (epa-mail-aliases): Doc fix.
8693 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
8695         * emacs-lisp/lisp.el (lisp-completion-at-point):
8696         Use `completion-table-merge' instead of `completion-table-in-turn'
8697         (bug#16604).
8699         * minibuffer.el (completion-table-merge): New function.
8701 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
8703         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
8704         (tramp-sh-handle-set-file-acl)
8705         (tramp-sh-handle-start-file-process)
8706         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
8707         (tramp-find-executable, tramp-send-command): Use it.
8709 2014-02-05  Glenn Morris  <rgm@gnu.org>
8711         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
8713 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8715         * progmodes/python.el (python-shell-send-string)
8716         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
8718 2014-02-04  Anders Lindgren  <andlind@gmail.com>
8720         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
8721         the names (bug#16620).
8723 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
8725         * faces.el (window-divider): New default value.  Rewrite doc-string.
8726         (window-divider-first-pixel, window-divider-last-pixel): New faces.
8728 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
8730         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
8731         `protected' and `public' can also be called without arguments.
8733 2014-02-03  Glenn Morris  <rgm@gnu.org>
8735         * register.el (window-configuration-to-register)
8736         (frame-configuration-to-register): Unadvertise unused argument.
8737         * frameset.el (frameset-to-register): Remove unused argument.
8739         * frameset.el (frameset-to-register):
8740         * kmacro.el (kmacro-to-register):
8741         * register.el (increment-register):
8742         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
8743         (calc-append-to-register, calc-prepend-to-register):
8744         * play/gametree.el (gametree-layout-to-register)
8745         (gametree-apply-register-layout):
8746         * textmodes/picture.el (picture-clear-rectangle-to-register)
8747         (picture-yank-rectangle-from-register):
8748         * vc/emerge.el (emerge-combine-versions-register):
8749         Use register-read-with-preview to read registers.
8751 2014-02-03  João Távora  <joaotavora@gmail.com>
8753         * elec-pair.el (electric-pair-backward-delete-char): Don't error
8754         when at beginning of (possibly narrowed) buffer.
8756 2014-02-02  Daniel Colascione  <dancol@dancol.org>
8758         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
8759         Also try to display local help from just before point.
8761 2014-02-02  Alan Mackenzie  <acm@muc.de>
8763         c-parse-state.  Don't "append-lower-brace-pair" in certain
8764         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
8765         recognised as a comment.
8767         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
8768         as well as normal comment starter.
8769         (c-parse-state-get-strategy): Extra return possibility
8770         'back-and-forward.
8771         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
8772         return value list to indicate replacement of a brace-pair cons
8773         with its car.
8774         (c-parse-state-1): With 'back-and-forward, only call
8775         c-append-lower-brace-pair-to state-cache when cons-separated.
8777 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
8779         * term/ns-win.el (ns-suspend-error): New function.
8780         (ns-initialize-window-system): Add ns-suspend-error to
8781         suspend-hook (Bug#16612).
8783 2014-02-02  Daniel Colascione  <dancol@dancol.org>
8785         * progmodes/cc-defs.el (c-find-assignment-for-mode):
8786         Make loading cc-mode silent.
8788 2014-02-02  Daniel Colascione  <dancol@dancol.org>
8790         * comint.el (comint-prompt-read-only): Change doc to suggest
8791         remap keybinding.
8793 2014-02-02  Glenn Morris  <rgm@gnu.org>
8795         * register.el (register-read-with-preview, point-to-register)
8796         (window-configuration-to-register, frame-configuration-to-register)
8797         (jump-to-register, number-to-register, view-register, insert-register)
8798         (copy-to-register, append-to-register, prepend-to-register)
8799         (copy-rectangle-to-register): Doc fixes.
8801 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8803         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
8804         * emacs-lisp/find-func.el (find-function-C-source): Idem.
8805         * emacs-lisp/nadvice.el (advice--cd*r): New function.
8806         * help-fns.el (describe-function-1): Use it.
8808 2014-02-02  Glenn Morris  <rgm@gnu.org>
8810         * register.el (register-preview-default): New function,
8811         split from register-preview.
8812         (register-preview-function): Rename from register-preview-functions,
8813         make it not a hook.
8814         (register-preview): Use register-preview-function.
8815         (register-read-with-preview): Error on non-character event.  (Bug#16595)
8817 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
8819         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
8820         `:' before binary operators (bug#16609).  Don't check for `:'
8821         before `[' and `(', or their syntax status.  A percent literal
8822         can't end with either.
8823         (ruby-font-lock-keywords): For built-ins that require arguments,
8824         check that they're followed by something that looks like argument
8825         (bug#16610).
8827 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
8829         * subr.el (butlast): Document what an omitted N means (bug#13437).
8830         (nbutlast): Ditto.
8832 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
8834         * net/shr.el (shr-generic): Make into a defsubst to make the stack
8835         depth shallower (bug#16587).
8836         (shr-tag-svg): Respect `shr-inhibit-images'.
8837         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
8839 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
8841         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
8842         (ruby-smie-grammar): Make "." right-associative.  Make its priority
8843         lower than the ternary and all binary operators.
8844         (ruby-smie-rules): Indent "(" relative to the first non-"."
8845         parent, or the first "." parent at indentation.
8846         Use `ruby-align-chained-calls' for indentation of "." tokens.
8847         (Bug#16593)
8849 2014-01-31  Juri Linkov  <juri@jurta.org>
8851         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
8852         from `make-hash-table'.
8854         * textmodes/ispell.el (ispell-init-process): Change message format
8855         to be consistent with other messages.
8857 2014-01-31  Glenn Morris  <rgm@gnu.org>
8859         * delsel.el (delete-selection-mode): Doc fix.
8861         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
8862         (trace-function-background): Doc fixes.
8864         * ido.el (ido-use-virtual-buffers): Doc fix.
8865         Reset :version, since the default value has not changed.
8867         * register.el (register-preview-delay, register-read-with-preview):
8868         Doc fixes.
8870         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
8871         do not mess with mail-buffer position (fixes 2009-11-03 change).
8872         * progmodes/cc-mode.el (c-submit-bug-report):
8873         Check auto-fill-mode is bound.  (Bug#16592)
8875 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
8877         * startup.el (fancy-splash-image-file): New function,
8878         split from fancy-splash-head.
8879         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
8880         so that we are both using the same image.  (Bug#16574)
8882 2014-01-30  Glenn Morris  <rgm@gnu.org>
8884         * simple.el (eval-expression): Doc fix.
8886         * hexl.el (hexl-mode-hook):
8887         * ielm.el (ielm-mode-hook):
8888         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
8889         (lisp-interaction-mode-hook):
8890         * progmodes/cfengine.el (cfengine3-documentation-function):
8891         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
8893 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8895         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
8896         is a symbol (bug#16584).
8898 2014-01-30  Glenn Morris  <rgm@gnu.org>
8900         * help.el (help-for-help-internal): Add "P" to text.
8902 2014-01-29  Glenn Morris  <rgm@gnu.org>
8904         * simple.el (just-one-space, cycle-spacing): Doc fixes.
8906 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
8908         * window.el (fit-frame-to-buffer): Fix calculations for margins and
8909         height constraints.
8911 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
8913         * progmodes/hideif.el: Extend to full CPP expression syntax.
8914         (hif-token-alist): Add missing tokens.
8915         (hif-token-regexp): Add support for float/octal/hex immediates.
8916         (hif-string-literal-regexp): New const.
8917         (hif-tokenize): Recognize strings and float/octal/hex immediates.
8918         (hif-exprlist): New function.
8919         (hif-parse-if-exp): Use it.
8920         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
8921         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
8922         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
8923         (hif-logxor, hif-comma): New functions.
8925 2014-01-28  Glenn Morris  <rgm@gnu.org>
8927         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
8929         * indent.el (tab-stop-list): Doc fix.  Add :version.
8931         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
8932         (cvs-append-to-ignore): Add compatibility alias.
8934 2014-01-27  Glenn Morris  <rgm@gnu.org>
8936         * dired.el (dired-hide-details-mode): Don't autoload it,
8937         since it cannot be used outside Dired buffers anyway.
8939         * emulation/cua-base.el (cua-mode): Doc fix.
8941         * dired.el (dired-hide-details-hide-symlink-targets)
8942         (dired-hide-details-hide-information-lines)
8943         (dired-hide-details-mode): Doc fixes.
8945         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
8946         * strokes.el (strokes-file): Doc fix.  Bump :version.
8947         (strokes-help): Doc fix.
8948         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
8949         * emulation/viper.el (viper): Doc fix for custom group.
8950         (top-level): Remove oh-so-no-longer-relevant text about vip.
8951         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
8953         * ido.el (ido-save-directory-list-file):
8954         * saveplace.el (save-place-file):
8955         * calendar/timeclock.el (timeclock-file):
8956         * net/quickurl.el (quickurl-url-file):
8957         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8958         * progmodes/idlwave.el (idlwave-config-directory):
8959         * textmodes/remember.el (remember-data-file):
8960         Bump :version.
8962 2014-01-26  Glenn Morris  <rgm@gnu.org>
8964         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
8965         Doc fix.  Make obsolete.
8966         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
8968         * sort.el (delete-duplicate-lines): Doc fix.
8970 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8972         * progmodes/ada-mode.el (ada):
8973         * woman.el (woman): Link to info manual and Commentary section.
8975         * progmodes/flymake.el (flymake):
8976         * nxml/nxml-mode.el (nxml):
8977         * net/eww.el (eww):
8978         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
8979         * htmlfontify.el (htmlfontify):
8980         * ses.el (ses):
8981         * epa.el (epa):
8982         * ido.el (ido): Link to info manual.
8984 2014-01-25  Leo Liu  <sdl.web@gmail.com>
8986         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
8988 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
8990         * net/shr.el (shr-tag-img): Prefer the title over the alt text
8991         (bug#16537).
8993 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
8995         * net/eww.el (eww-download-callback):
8996         Fix reference to eww-download-directory.
8998         * emacs-lisp/bytecomp.el (byte-compile-file):
8999         Remove unused local variable `file-name'.
9001 2014-01-24  Glenn Morris  <rgm@gnu.org>
9003         * woman.el (woman-default-faces, woman-monochrome-faces):
9004         Fix obsolescence specification.
9006         * subr.el (with-demoted-errors): Doc fix.
9008 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9010         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
9011         (cl--macroexp-fboundp): New function.
9012         (cl--make-type-test): Use it.
9014 2014-01-23  Glenn Morris  <rgm@gnu.org>
9016         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
9017         * simple.el (eval-expression): Doc fixes.
9019 2014-01-22  Glenn Morris  <rgm@gnu.org>
9021         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
9023 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9025         * emacs-lisp/package.el: Write files silently.
9026         (package-autoload-ensure-default-file, package--write-file-no-coding)
9027         (package-generate-description-file, package--download-one-archive)
9028         (package-install-from-archive): Tell `write-region' to stay quiet.
9029         (package-menu-mode, package-menu--print-info): Omit the Archive column
9030         if there's only one archive.
9031         (package-all-keywords, package--has-keyword-p): Remove dead code.
9033 2014-01-22  Glenn Morris  <rgm@gnu.org>
9035         * version.el (emacs-bzr-version-bzr): Fix typo.
9037         * version.el (emacs-repository-get-version):
9038         Check either .bzr or .git, but not both.
9039         Make the git case actually use the DIR argument, and return nil
9040         rather than the empty string.
9041         Avoid error if .git exists but the git executable is not found.
9043 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
9045         Fixes in window size functions around Bug#16430 and Bug#16470.
9046         * window.el (window-total-size, window-size): New argument ROUND.
9047         (window--min-delta-1, window-min-delta, window--max-delta-1):
9048         Be more conservative when calculating the numbers of lines or
9049         columns a window can shrink (Bug#16430).
9050         (fit-window-to-buffer): Simplify code.
9051         * term.el (term-window-width): Call window-body-width again.
9053 2014-01-22  Glenn Morris  <rgm@gnu.org>
9055         * image.el (image-format-suffixes): Doc fix.
9057         * international/quail.el (quail-define-package): Doc fix.
9059         * emacs-lisp/authors.el (authors-valid-file-names)
9060         (authors-renamed-files-alist): Additions.
9062         * vc/vc-git.el (vc-git-print-log): Remove --follow;
9063         reverts 2014-01-09 change.  (Bug#16422)
9065         * calc/calc-embed.el (thing-at-point-looking-at):
9066         * emacs-lisp/map-ynp.el (x-popup-dialog):
9067         * obsolete/lmenu.el (x-popup-dialog):
9068         * emacs-lisp/package.el (url-recreate-url):
9069         * mail/mailclient.el (clipboard-kill-ring-save):
9070         * subr.el (x-popup-dialog): Update declaration.
9071         * mail/rmail.el (rmail-mime-message-p):
9072         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
9074 2014-01-21  Daniel Colascione  <dancol@dancol.org>
9076         * progmodes/sh-script.el (sh--inside-noncommand-expression):
9077         Correctly detect when we're inside an arithmetic expansion form
9078         containing nested parenthesis.
9079         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
9080         to detect cases where we shouldn't expand "<<" to a heredoc
9081         skeleton.
9083 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9085         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
9086         (eldoc--message-command-p): New function.
9087         (eldoc-display-message-p): Use it.
9088         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
9089         message is not automatically erased for us.
9090         (eldoc-print-current-symbol-info): Erase previous message, if any.
9092 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
9094         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
9095         specify it's an interactive function.
9097         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
9098         Fix regex used for scanning for citation keys which failed for
9099         citations with optional arguments.
9101 2014-01-21  Leo Liu  <sdl.web@gmail.com>
9103         * simple.el (read--expression): Don't enable eldoc-mode.
9105 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9107         * simple.el (move-beginning-of-line): Make sure we don't move forward
9108         (bug#16497).
9110 2014-01-20  Juri Linkov  <juri@jurta.org>
9112         * saveplace.el (toggle-save-place, save-place-to-alist)
9113         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
9114         'dired-mode) before checking for dired-directory.  (Bug#16477)
9116 2014-01-20  Juri Linkov  <juri@jurta.org>
9118         * indent.el (indent-line-to): Use backward-to-indentation
9119         instead of back-to-indentation.  (Bug#16461)
9121 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
9123         Revert some of the CANNOT_DUMP fix (Bug#16494).
9124         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
9125         but fixing this can wait until after the next release.
9126         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
9128 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
9130         * eshell/esh-mode.el (eshell-password-prompt-regexp):
9131         Use `password-word-equivalents'.
9132         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
9133         to t.  (Bug#5664, Bug#13124)
9135 2014-01-19  Alan Mackenzie  <acm@muc.de>
9137         Bind open-paren-in-column-0-is-defun-start to nil at some entry
9138         points.
9139         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
9140         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
9141         * progmodes/cc-mode.el (c-before-change, c-after-change)
9142         (c-font-lock-fontify-region): Bind it here.
9144 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
9146         * term.el (term-window-width): Call window-text-width instead of
9147         window-width (Bug#16470).
9149 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
9151         * simple.el (password-word-equivalents): Remove duplicates.
9152         Sort, to make this easier next time.
9153         Downcase.  Omit ": " after "jelszó".
9155 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
9157         * term/common-win.el (saved-region-selection): Defvar it.
9158         (x-select-text): Set saved-region-selection (Bug#16382).
9160 2014-01-18  Glenn Morris  <rgm@gnu.org>
9162         * emacs-lisp/authors.el (authors-aliases)
9163         (authors-renamed-files-alist): Add some entries.
9165 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
9167         * net/tramp.el (tramp-password-prompt-regexp):
9168         Use `password-word-equivalents' if available.
9169         (tramp-action-password, tramp-process-one-action)
9170         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
9172 2014-01-17  Chong Yidong  <cyd@gnu.org>
9174         * simple.el (password-word-equivalents): New defcustom.
9175         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
9176         to 24.4.
9177         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
9178         to t.  (Bug#13124)
9180 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
9182         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
9183         (ruby-align-to-stmt-keywords): Change the default value.
9184         Use `ruby-alignable-keywords' to generate the possible customization
9185         choices.
9186         (ruby-smie-rules): Instead of using a hardcoded list of alignable
9187         keywords, check against the value of `ruby-alignable-keywords'
9188         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
9190 2014-01-17  Glenn Morris  <rgm@gnu.org>
9192         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
9194         Make M-x authors return zero *Authors Errors* from current logs.
9195         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
9196         (authors-ignored-files): Add some entries, remove others.
9197         (authors-ambiguous-files, authors-valid-file-names):
9198         Add some entries.
9199         (authors-renamed-files-alist): Add, remove, and adjust entries.
9200         (authors-renamed-files-regexps): Add some entries.
9201         Remove some very broad ones.  Make some entries `lax'.
9202         (authors-lax-changelogs): New constant.
9203         (authors-disambiguate-file-name): Treat top-level specially.
9204         (authors-lax-changelog-p): New function.
9205         (authors-canonical-file-name): Check file as written against
9206         authors-valid-file-names.  Do not special-case etc/.
9207         Handle `lax' logs and authors-renamed-files-regexps elements.
9209 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
9211         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
9212         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
9213         callers.
9215 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9217         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
9218         Assume we're already in the proper buffer.
9219         Inspired by Anders Lindgren <andlind@gmail.com>.
9220         (follow-post-command-hook): Call it from the right buffer.
9221         (follow-comint-scroll-to-bottom): Adjust call.
9222         (follow-all-followers): Use get-buffer-window-list.
9224 2014-01-15  Daniel Colascione  <dancol@dancol.org>
9226         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
9227         `buffer-file-name' in interactive-form so that we don't leave
9228         pathless file names in `file-name-history'.
9230 2014-01-15  Juri Linkov  <juri@jurta.org>
9232         * indent.el (indent-rigidly): Set deactivate-mark to nil
9233         in transient indentation mode.  (Bug#16438)
9235 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
9237         * emacs-lisp/package.el (package-desc-keywords): New function
9238         (Bug#16222).
9239         (describe-package-1, package-all-keywords)
9240         (package--has-keyword-p): Use it.
9242 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
9244         * simple.el (define-alternatives): When creating the
9245         COMMAND-alternatives variable, assign COMMAND as its definition
9246         name so that `describe-variable' can relocate it.
9248 2014-01-14  Matthew Leach  <matthew@mattleach.net>
9250         * font-lock.el (font-lock-keywords): Fix typo in docstring
9251         (bug#16307).
9253 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9255         * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
9256         line instead of wrongly reset `add-coment' (bug#13577).
9258 2014-01-14  Daiki Ueno  <ueno@gnu.org>
9260         * epa-file.el (epa-file-write-region): Encode the region according
9261         to `buffer-file-format'.  Problem reported at:
9262         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
9264 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9266         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
9267         so it applies in the right buffer (bug#16410).
9269 2014-01-13  Daniel Colascione  <dancol@dancol.org>
9271         * textmodes/rst.el (rst-define-key): Provide deprecated
9272         keybindings through named functions instead of anonymous ones so
9273         that "??" doesn't appear in describe-mode output.
9275 2014-01-13  Bastien Guerry  <bzg@gnu.org>
9277         * simple.el (define-alternatives): Call the selected command
9278         interactively.  When setting `COMMAND--implementation' for the
9279         first time, tell the user how to chose another implementation.
9280         Enhance the docstring.
9282 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9284         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
9285         (log-edit--match-first-line): New function.
9286         (log-edit-font-lock-keywords): Use it.
9287         (log-edit-mode): Make jit-lock-defer-multiline work.
9289 2014-01-13  Bastien Guerry  <bzg@gnu.org>
9291         * rect.el (rectangle-mark-mode): When the region is not active,
9292         display a message saying that the mark as been set and that
9293         rectangle mode is in use.
9294         (rectangle--highlight-for-redisplay): Only put an overlay with a
9295         visible vertical bar when (display-graphic-p) is non-nil.
9296         This partially fixes Bug#16403.
9298 2014-01-13  Juri Linkov  <juri@jurta.org>
9300         * info.el (Info-find-file): Go to DIR before displaying the error
9301         about a nonexistent file if no previous Info file is visited.
9302         Use `user-error' instead of `error' for "Info file %s does not exist".
9303         (Info-find-node-2): In case of a nonexistent node in unwind forms
9304         go to the Top node if there is no previous node to revert to.
9305         (Bug#16405)
9307 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
9309         fit-frame/window-to-buffer code fixes including one for Bug#14096.
9310         * window.el (fit-frame-to-buffer): Fix doc-string.
9311         Respect window-min-height/-width.  Fit pixelwise when
9312         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
9313         when avoiding that frame goes partially off-screen.
9314         (fit-window-to-buffer): Respect window-min-height/-width
9315         (Bug#14096).
9317 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9319         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
9320         after an empty line.
9322 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9324         * net/shr.el (shr-render-region): Autoload.
9326 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
9328         * net/eww.el (eww-download-directory): Rename from
9329         `eww-download-path' (Bug#16419).
9331 2014-01-12  Leo Liu  <sdl.web@gmail.com>
9333         * dired-x.el (dired-mode-map): Fix last change.
9335         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
9337 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
9339         Spelling fixes.
9340         * emacs-lisp/generic.el (generic--normalize-comments):
9341         Rename from generic--normalise-comments.  All uses changed.
9342         * play/bubbles.el (bubbles--neighborhood-score)
9343         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
9344         (bubbles--neighborhood-available)
9345         (bubbles--update-neighborhood-score):
9346         Rename from names with 'neighbourhood'.  All uses changed.
9348 2014-01-12  Leo Liu  <sdl.web@gmail.com>
9350         Re-implement the feature of showing eldoc info after editing.
9351         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
9352         (eldoc-edit-message-commands): New function.
9353         (eldoc-print-after-edit): New variable.
9354         (eldoc-pre-command-refresh-echo-area): Emit message only by
9355         eldoc-message-commands.
9356         (eldoc-mode): Restrict eldoc-message-commands to editing commands
9357         if eldoc-print-after-edit is set.  (Bug#16346)
9358         * simple.el (read--expression): Enable eldoc-mode.
9359         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9361 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
9362             Eric S. Raymond  <esr@thyrsus.com>
9364         * version.el (emacs-repository-get-version): Enhance so the
9365         function works correctly in either a Bazaar or Git repo.
9367 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
9369         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
9370         Goes with removal of the joke manpages from /etc.
9372 2014-01-10  Kenichi Handa  <handa@gnu.org>
9374         * mail/rmail.el (rmail-get-coding-system):
9375         Check rmail-get-coding-function before "funcall"ing it.
9377 2014-01-10  Glenn Morris  <rgm@gnu.org>
9379         * emacs-lisp/authors.el (authors-fixed-entries):
9380         Update for files that no longer exist.
9382 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
9384         * version.el (emacs-bzr-get-version): Restore compatibilty with
9385         24.3 (Tested).
9387 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
9389         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
9390         and Podfile.
9392 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
9394         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
9396 2014-01-10  Chong Yidong  <cyd@gnu.org>
9398         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
9400 2014-01-10  Anders Lindgren  <andlind@gmail.com>
9402         * follow.el (follow-cache-command-list): Include right-char and
9403         left-char.
9405 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
9407         Spelling fixes.
9408         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
9409         * woman.el (woman-mark-horizontal-position):
9410         Rename from woman-mark-horizonal-position.  Use changed.
9412 2014-01-10  Glenn Morris  <rgm@gnu.org>
9414         * info.el (info-initialize): If running uninstalled, ensure our
9415         own info files are always found first, even if INFOPATH is set.
9417         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
9419 2014-01-09  David Engster  <deng@randomsample.de>
9421         * emacs-lisp/eieio-custom.el:
9422         * emacs-lisp/eieio-opt.el: Set generated autoload file to
9423         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
9424         * emacs-lisp/eieio.el: Regenerate autoloads.
9426 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
9428         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
9429         following renames.  (Bug#8756)
9431 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9433         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
9434         (bug#16382).
9435         (activate-mark): Add `no-tmm' argument.
9436         (set-mark, push-mark-command): Use it instead of running
9437         activate-mark-hook by hand.
9439 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
9441         In preparation for the move to git, sanitize out some
9442         Bazaar-specific names.
9444         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
9446         * version.el (emacs-bzr-version): Name changed to
9447         emacs-repository-version.  Obsolete-variable alias made.
9448         * loadup.el: Follow through on this name change.
9449         * mail/emacsbug.el (report-emacs-bug): Factor out any
9450         assumption about the version control system in use.
9452 2014-01-08  David Engster  <deng@randomsample.de>
9454         * help-fns.el (help-fns-describe-function-functions):
9455         New variable to call functions for augmenting help buffers.
9456         (describe-function-1): Remove explicit calls to
9457         `help-fns--compiler-macro', `help-fns--parent-mode' and
9458         `help-fns--obsolete'.  Put them in above new variable instead, and
9459         call them through `run-hook-with-args'.
9460         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
9461         `eieio-describe-class'.  Not meant for interactive use anymore,
9462         but to augment existing help buffers.  Remove optional second
9463         argument.  Create proper button for file location.
9464         Rewrite function to use `insert' instead of `princ' and `prin1' where
9465         possible.
9466         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
9467         (eieio-method-def, eieio-class-def): Move further up.
9468         (describe-method, describe-generic, eieio-describe-method):
9469         Remove aliases.
9470         (eieio-help-constructor, eieio-help-generic): Rename from
9471         `eieio-describe-constructor' and `eieio-describe-generic', resp.
9472         Rewrite to use `insert' in the current buffer and use proper help
9473         buttons.
9474         (eieio-help-find-method-definition)
9475         (eieio-help-find-class-definition): Also accept symbols as
9476         arguments.
9477         (eieio-help-mode-augmentation-maybee): Remove.
9478         (eieio-describe-class-sb): Use `describe-function'.
9479         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
9480         Add `eieio-help-generic' and `eieio-help-constructor'.
9482 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
9484         Spelling fixes.
9485         * language/china-util.el (hz-ascii-designation):
9486         Rename from hz-ascii-designnation.
9487         (hz-ascii-designation): Rename from hz-ascii-designnation.
9488         All uses changed.
9490 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9492         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
9493         package-alist.
9495 2014-01-08  Bastien Guerry  <bzg@gnu.org>
9497         * emacs-lisp/package.el (package-delete):
9498         Correctly delete the package from package-alist.
9500 2014-01-08  Daiki Ueno  <ueno@gnu.org>
9502         * emacs-lisp/package.el (url-recreate-url): Declare.
9503         (url-http-target-url): Declare.
9504         (package-handle-response): Include requested URL in the error message.
9505         (package--check-signature): Don't re-signal errors from
9506         package--with-work-buffer.  Suggested by Stefan Monnier.
9508 2014-01-07  Bastien Guerry  <bzg@gnu.org>
9510         * minibuffer.el (completion--try-word-completion): When both a
9511         hyphen and a space are possible candidates for the character
9512         following a word, display both candidates.  (Bug#15980)
9514 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
9516         * window.el (balance-windows-2): While rounding don't give a
9517         window more than the remainder.  Bug#16351, bug#16383.
9519 2014-01-07  Glenn Morris  <rgm@gnu.org>
9521         * menu-bar.el (menu-bar-help-extra-packages): Remove.
9522         (menu-bar-help-menu): Use view-external-packages instead.
9524 2014-01-07  Bastien Guerry  <bzg@gnu.org>
9526         * emacs-lisp/package.el (package-delete): Also delete the package
9527         name from `package-alist', not its description only.
9529 2014-01-07  Glenn Morris  <rgm@gnu.org>
9531         * help.el (view-external-packages):
9532         * menu-bar.el (menu-bar-help-extra-packages):
9533         Visit efaq.info rather than etc/MORE.STUFF.
9535 2014-01-07  Juri Linkov  <juri@jurta.org>
9537         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
9538         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
9540         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
9541         that shadows RET.  (Bug#16342)
9543 2014-01-07  Chong Yidong  <cyd@gnu.org>
9545         * isearch.el (isearch-yank-char, isearch-yank-word)
9546         (isearch-yank-line): Doc fix.
9548 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9550         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
9551         * emacs-lisp/elint.el (elint-find-builtins):
9552         * emacs-lisp/eldoc.el (eldoc-symbol-function):
9553         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
9554         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
9555         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9556         * apropos.el (apropos-safe-documentation):
9557         * subr.el (symbol-file): Remove redundant fboundp.
9558         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
9560 2014-01-06  Bastien Guerry  <bzg@gnu.org>
9562         * hl-line.el (global-hl-line-overlay): Make a local variable.
9563         (global-hl-line-overlays): New variable to store all overlays.
9564         (global-hl-line-mode): Don't delete overlays from the current
9565         buffer when `global-hl-line-sticky-flag' is non-nil.
9566         (global-hl-line-highlight): Add new overlays to
9567         `global-hl-line-overlays'.
9568         (global-hl-line-unhighlight-all): New function to delete all
9569         overlays when turning off `global-hl-line-mode'.
9570         This fixes Bug#16183.
9572 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9574         * subr.el (set-transient-map): Fix nested case and docstring.
9576 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
9578         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
9579         `Texinfo' entry.
9581 2014-01-06  Daniel Colascione  <dancol@dancol.org>
9583         Fix defun navigation in vc log view.
9585         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
9586         like `beginning-of-defun'.
9587         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
9588         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
9589         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
9590         (log-view-extract-comment): Call `log-view-current-entry' directly
9591         instead of relying on broken `log-view-beginning-of-defun' behavior.
9593 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
9595         Spelling fixes.
9596         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
9597         * emacs-lisp/debug.el (cancel-debug-on-entry):
9598         * epg.el (epg-error-to-string):
9599         * files.el (recover-file):
9600         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
9601         * mail/emacsbug.el (report-emacs-bug-hook):
9602         * mail/sendmail.el (mail-recover):
9603         * ses.el (ses-yank-resize):
9604         * term/ns-win.el (ns-print-buffer):
9605         Spelling fixes in diagnostics, mostly for "canceled" with one L.
9606         * epg.el (epg-key-capability-alist): Rename from misspelled version.
9607         All uses changed.
9608         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
9610 2014-01-06  Leo Liu  <sdl.web@gmail.com>
9612         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
9613         to avoid shadowing global key.  (Bug#16354)
9615 2014-01-06  Daniel Colascione  <dancol@dancol.org>
9617         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
9618         rst-mode.
9620 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
9622         * window.el (balance-windows): Add mising t to fix Bug#16351.
9624 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9626         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
9627         (bug#16285).
9628         (shr-insert): If we have a word that's longer than `shr-width',
9629         break after it anyway.  Otherwise we'll do no breaking once we get
9630         such a long word.
9632 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
9634         * net/eww.el (eww): Support single/double quote for search.
9635         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
9636         (eww-history-quit): Delete and use quit-window.
9637         (eww-history-kill): Delete, because it doesn't work well and
9638         not necessary.
9639         (eww-history-mode-map): Delete some keys and add easy-menu.
9641 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
9643         Fix misspelling of 'chinese' in rx (Bug#16237).
9644         * emacs-lisp/rx.el (rx-categories): Correct spelling of
9645         chinese-two-byte.
9647         Change subword regexps back to vars (Bug#16296).
9648         * progmodes/subword.el (subword-forward-regexp)
9649         (subword-backward-regexp): Change these back to variables.
9651 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9653         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
9654         syntax-begin-function (bug#16247).
9656 2014-01-03  Chong Yidong  <cyd@gnu.org>
9658         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
9659         (advice--docstring): Delete variable.
9660         (advice--make-1): Leave the docstring empty.
9661         (advice-add): Use function-documentation for advised docstring.
9663         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
9664         Ignore function-documentation property when getting documentation.
9665         (ad-activate-advised-definition): Use function-documentation
9666         generate the docstring.
9667         (ad-make-advised-definition): Don't call
9668         ad-make-advised-definition-docstring.
9669         (ad-make-advised-definition-docstring, ad-advised-definition-p):
9670         Delete functions.
9672         * progmodes/sql.el (sql-help): Use function-documentation instead
9673         of dynamic-docstring-function property.  No need to autoload now.
9674         (sql--help-docstring): New variable.
9675         (sql--make-help-docstring): Use it.
9677 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9679         * ielm.el (ielm-tab): Retarget.
9680         (ielm-map): Use ielm-tab for tab.
9681         (ielm-complete-filename): Use comint-filename-completion.
9682         (ielm-complete-symbol): Remove.
9683         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
9684         remove ielm-tab from completion-at-point-functions (bug#16224).
9686         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
9687         Beware signals raised by predicates (bug#16201).
9689 2014-01-02  Richard Stallman  <rms@gnu.org>
9691         * dired-aux.el (dired-do-print): Handle printer-name.
9693         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
9694         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
9695         (rmail-epa-decrypt): Turn off mime processing.
9697         * mail/rmail.el (rmail-make-in-reply-to-field):
9698         Add parens in message-id.
9700         * mail/rmail.el (rmail-get-coding-function): Variable.
9701         (rmail-get-coding-system): Use it.
9703 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
9705         * international/mule-conf.el: Unify the charset indian-is13194.
9706         (indian-is13194): Specify unify-map.
9708 2013-12-31  Leo Liu  <sdl.web@gmail.com>
9710         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
9712 2013-12-30  Daniel Colascione  <dancol@dancol.org>
9714         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
9715         of printing a useless when we resume from sleep.
9717         * progmodes/sh-script.el
9718         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
9719         in indentation code.  (Bug#16233)
9721 2013-12-28  João Távora  <joaotavora@gmail.com>
9723         * elec-pair.el (electric-pair-post-self-insert-function):
9724         Don't open extra newlines at beginning of buffer.  (Bug#16272)
9726 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
9728         * frame.el (window-system-for-display): Don't allow to create a
9729         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
9731 2013-12-28  Glenn Morris  <rgm@gnu.org>
9733         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
9734         Update callers.
9736         * apropos.el (apropos-match-face):
9737         * calculator.el (calculator-displayer):
9738         * dabbrev.el (dabbrev-search-these-buffers-only):
9739         * face-remap.el (buffer-face-mode-face):
9740         * simple.el (yank-handled-properties):
9741         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
9742         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
9743         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
9744         (hashcash-double-spend-database):
9745         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
9746         (ruby-deep-indent-paren-style):
9747         * textmodes/flyspell.el (flyspell-auto-correct-binding):
9748         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
9749         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
9750         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
9751         Specify custom types.
9753         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
9754         * bookmark.el (bookmark-bmenu-use-header-line):
9755         * doc-view.el (doc-view-scale-internally):
9756         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
9757         * register.el (register-preview-delay):
9758         * net/shr.el (shr-bullet):
9759         * progmodes/cfengine.el (cfengine-cf-promises)
9760         (cfengine-parameters-indent):
9761         * progmodes/octave.el (inferior-octave-error-regexp-alist):
9762         * textmodes/reftex-vars.el (reftex-label-regexps):
9763         * vc/log-edit.el (log-edit-setup-add-author): Add version.
9765         * net/tls.el (tls-certtool-program): Fix default value.
9767         * desktop.el (desktop-restore-in-current-display):
9768         * newcomment.el (comment-empty-lines):
9769         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
9770         (idlwave-pad-keyword):
9771         * progmodes/tcl.el (tcl-tab-always-indent):
9772         * textmodes/reftex-vars.el (reftex-index-default-tag):
9773         * elec-pair.el (electric-pair-skip-whitespace):
9774         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
9776         * emacs-lisp/authors.el (authors-ignored-files)
9777         (authors-valid-file-names, authors-renamed-files-alist): Additions.
9779 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
9781         * shell.el (shell-dynamic-complete-command): Doc fix.
9782         (shell--command-completion-data): Shell completion now matches
9783         executable filenames from the current buffer's directory, on
9784         systems in which this behavior is the default (windows-nt, ms-dos).
9786 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
9788         * net/shr.el (shr-insert): Don't infloop if the width is zero.
9790 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9792         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
9793         (bug#16251).
9795         * electric.el: Move all electric-pair-* to elec-pair.el.
9796         * elec-pair.el: New file, split from electric.el.
9798 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
9800         * net/shr.el (shr-find-fill-point): Don't try to fill if the
9801         indentation level is larger than the width, because that will
9802         infloop.
9803         (shr-insert): Fill repeatedly long texts, so that Japanese is
9804         formatted correctly (bug#16263).
9805         (shr-find-fill-point): Off by one error in comparison with the
9806         indentation.
9808 2013-12-26  João Távora  <joaotavora@gmail.com>
9810         * electric.el (electric-pair-mode): More flexible engine for skip-
9811         and inhibit predicates, new options for pairing-related functionality.
9812         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
9813         if that keeps or improves their balance in buffers.
9814         (electric-pair-delete-adjacent-pairs): Delete the pair when
9815         backspacing over adjacent matched delimiters.
9816         (electric-pair-open-extra-newline): Open extra newline when
9817         inserting newlines between adjacent matched delimiters.
9818         (electric--sort-post-self-insertion-hook):
9819         Sort post-self-insert-hook according to priority values when
9820         minor-modes are activated.
9821         * simple.el (newline-and-indent): Call newline with interactive
9822         set to t.
9823         (blink-paren-post-self-insert-function): Set priority to 100.
9824         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9825         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
9826         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
9827         electric-pair-open-newline-between-pairs to nil.
9829 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9831         * progmodes/python.el: Use lexical-binding.
9832         (python-nav-beginning-of-defun): Stop searching ASAP.
9834 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
9836         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
9837         Fix interactive spec.  Doc fix.  (Bug#15754)
9839 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
9841         * emacs-lisp/byte-run.el (eval-when-compile):
9842         * progmodes/cc-defs.el (cc-eval-when-compile):
9843         Fix edebug spec (bug#16184).
9845 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
9847         * net/shr.el (shr-visit-file): Remove debugging function.
9848         (shr-insert): Don't infloop if we can't find a good place to break
9849         the line (bug#16256).
9851 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9853         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
9854         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
9855         python-nav-lisp-forward-sexp-safe.
9856         (python-nav--forward-sexp): New argument SAFE allows switching
9857         forward sexp movement behavior for parens.
9858         (python-nav-forward-sexp): Throw errors on unterminated parens
9859         (Bug#16191).
9860         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
9861         (python-nav-backward-sexp-safe): New functions.
9862         (python-shell-buffer-substring):
9863         Use `python-nav-forward-sexp-safe'.
9865 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
9867         * net/shr.el (shr-find-fill-point): Don't break lines before a
9868         quotation mark.
9869         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
9870         (shr-find-fill-point): Remove the special checks for the quotation
9871         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
9873 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
9875         * net/eww.el (eww-form-textarea): Use a different face for
9876         textareas than text input since they have different keymaps
9877         (bug#16142).
9879 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9881         * progmodes/python.el (python-nav-beginning-of-statement):
9882         Speed up (Bug#15295).
9884 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
9886         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
9887         the window configuration.
9889 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
9891         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
9892         we run on MS-Windows or MS-DOS.
9894 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
9896         * window.el (balance-windows-area): Call window-size instead of
9897         window-height and window-width.  Bug#16241.
9899 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
9901         * net/eww.el (eww-bookmark-quit): Remove.
9902         (eww-bookmark-browse): Restore the window configuration when you
9903         choose a bookmark (bug#16144).
9905 2013-12-24  Daniel Colascione  <dancol@dancol.org>
9907         * icomplete.el: Remove redundant :group arguments to `defcustom'
9908         throughout.
9909         (icomplete-show-matches-on-no-input): New customizable variable.
9910         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
9911         we have something to show.
9912         (icomplete-exhibit): Compute completions even if we have no user input.
9914 2013-12-23  Daniel Colascione  <dancol@dancol.org>
9916         * icomplete.el: Move `provide' to end of file.
9918 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
9920         * net/gnutls.el (gnutls-verify-error): Add version tag.
9922 2013-12-23  Chong Yidong  <cyd@gnu.org>
9924         * subr.el (set-transient-map): Rename from
9925         set-temporary-overlay-map.  Doc fix.
9927         * face-remap.el (text-scale-adjust):
9928         * indent.el (indent-rigidly):
9929         * kmacro.el (kmacro-call-macro):
9930         * minibuffer.el (minibuffer-force-complete):
9931         * repeat.el (repeat):
9932         * simple.el (universal-argument--mode):
9933         * calendar/todo-mode.el (todo-insert-item--next-param):
9934         * progmodes/f90.el (f90-abbrev-start): Callers changed.
9936         * indent.el (indent-rigidly): Use substitute-command-keys.
9938 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
9940         * net/eww.el (eww-tag-select): Add text-property to jump to next
9941         select field.
9942         (eww): Add non-supported ftp error.
9944 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
9946         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
9947         comments.  Handle electric indent after typing `?' and `!'.
9949 2013-12-22  Chong Yidong  <cyd@gnu.org>
9951         * faces.el (face-spec-recalc): If the theme specs are not
9952         applicable to a frame, fall back on the defface spec.
9953         This prevents themes from obliterating faces on low-color terminals.
9955 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
9957         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
9958         after `{'.  We need it after block openers, and it doesn't seem
9959         to hurt after hash openers.
9961 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
9963         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
9964         extracted from `ruby-smie-rules'.
9965         (ruby--electric-indent-chars): New variable.
9966         (ruby--electric-indent-p): New function.
9967         (ruby-mode): Use `electric-indent-functions' instead of
9968         `electric-indent-chars'.
9970 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
9972         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
9973         docstring.
9974         (ruby-smie-rules): Indent plus one level after `=>'.
9976 2013-12-21  Richard Stallman  <rms@gnu.org>
9978         * simple.el (newline): Doc fix.
9980 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
9982         * net/eww.el (eww-list-histories, eww-list-histories)
9983         (eww-history-browse, eww-history-quit, eww-history-kill)
9984         (eww-history-mode-map, eww-history-mode): New command and
9985         functions to list browser histories.
9986         (eww-form-text): Support text form with disabled
9987         and readonly attributes.
9988         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
9990 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9992         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
9993         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
9994         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
9995         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
9996         Use `user-error'.
9997         (eww-bookmark-mode-map): Add menu.
9998         (eww-render, eww-mode): Use `setq-local'.
9999         (eww-tool-bar-map): New variable.
10000         (eww-mode): Set `tool-bar-map'.
10001         (eww-view-source): Check for `html-mode' with `fboundp'.
10003 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10005         * net/shr.el (shr--extract-best-source): Don't bug out on audio
10006         elements with text inside.  Also remove debugging.
10008 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
10010         * cus-start.el (all): Add ns-use-srgb-colorspace.
10012 2013-12-21  Chong Yidong  <cyd@gnu.org>
10014         * custom.el (custom-theme-recalc-face): Do nothing if the face is
10015         undefined.  Thus, theme settings for undefined faces do not take
10016         effect until the faces are defined with defface, the same as with
10017         theme variables.
10019         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
10020         (face-spec-reset-face): Don't assign extra properties in temacs.
10021         (face-spec-recalc): Apply X resources too.
10023 2013-12-21  Chong Yidong  <cyd@gnu.org>
10025         * faces.el (face-spec-set):
10026         * cus-face.el (custom-theme-set-faces, custom-set-faces):
10027         * custom.el (defface): Doc fixes (Bug#16203).
10029         * indent.el (indent-rigidly-map): Add docstring, and move commands
10030         into named functions.
10031         (indent-rigidly-left, indent-rigidly-right)
10032         (indent-rigidly-left-to-tab-stop)
10033         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
10034         indentation direction based on bidi direction, and accumulate
10035         sequential commands in a single undo boundary.
10036         (indent-rigidly--pop-undo): New utility function.
10038 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
10040         * faces.el (read-face-name): Require crm.el when using crm-separator.
10042 2013-12-20  Daniel Colascione  <dancol@dancol.org>
10044         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
10045         so that we don't reflow comments into the shebang line.
10047 2013-12-20  Juri Linkov  <juri@jurta.org>
10049         * saveplace.el (save-place-to-alist): Add `dired-filename' as
10050         a position when `dired-directory' is non-nil.  Check integer
10051         positions with `integerp'.
10052         (toggle-save-place, save-places-to-alist): Add check for
10053         `dired-directory'.
10054         (save-place-find-file-hook): Check integer positions with
10055         `integerp'.
10056         (save-place-dired-hook): Use `dired-goto-file' when
10057         `dired-filename' is found in the assoc list.  Check integer
10058         positions with `integerp'.
10059         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
10061         * dired.el (dired-initial-position-hook): Rename back from
10062         `dired-initial-point-hook'.
10063         (dired-initial-position): Rename `dired-initial-point-hook' to
10064         `dired-initial-position-hook'.
10065         (dired-file-name-at-point): Doc fix.  (Bug#15329)
10067 2013-12-20  Juri Linkov  <juri@jurta.org>
10069         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
10070         (read-regexp-suggestions): New function.
10071         (read-regexp): Use `read-regexp-defaults-function' to get default values.
10072         Use `read-regexp-suggestions'.  Add non-empty default to history
10073         for empty input.
10074         (occur-read-regexp-defaults-function): Remove function.
10075         (occur-read-primary-args): Use `regexp-history-last' instead of
10076         `occur-read-regexp-defaults-function'.
10078         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
10079         (hi-lock-line-face-buffer, hi-lock-face-buffer)
10080         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
10081         `hi-lock-read-regexp-defaults-function'.  Doc fix.
10082         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
10083         with `find-tag-default-as-symbol-regexp'.  Doc fix.
10084         (hi-lock-read-regexp-defaults): Remove function.
10085         (hi-lock-regexp-okay): Add check for null.
10087         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
10088         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
10090         * subr.el (find-tag-default-as-symbol-regexp): New function.
10091         (find-tag-default-as-regexp): Move symbol regexp formatting to
10092         `find-tag-default-as-symbol-regexp'.
10094 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
10096         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
10097         (Bug#14179)
10099 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
10101         * calendar/todo-mode.el: New implementation of item insertion
10102         commands and key bindings.
10103         (todo-key-prompt): New face.
10104         (todo-insert-item): New command.
10105         (todo-insert-item--parameters): New defconst, replacing defvar
10106         todo-insertion-commands-args-genlist.
10107         (todo-insert-item--param-key-alist): New defconst, replacing
10108         defvar todo-insertion-commands-arg-key-list.
10109         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
10110         (todo-insert-item--argsleft, todo-insert-item--apply-args)
10111         (todo-insert-item--next-param): New functions.
10112         (todo-insert-item--args, todo-insert-item--argleft)
10113         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
10114         New variables.
10115         (todo-key-bindings-t): Change binding of "i" from
10116         todo-insertion-map to todo-insert-item.
10117         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
10118         (todo-insertion-command-name, todo-insertion-commands-names)
10119         (todo-define-insertion-command, todo-insertion-commands)
10120         (todo-insertion-key-bindings, todo-insertion-map): Remove.
10122 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
10124         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
10125         (todo-toggle-item-highlighting): Use eval-and-compile instead of
10126         eval-when-compile.
10127         (todo-move-category): Allow choosing a non-existing todo file to
10128         move the category to, and create that file.
10129         (todo-default-priority): New user option.
10130         (todo-set-item-priority): Use it.
10131         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
10132         (desktop-restore-file-buffer): Declare.
10133         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
10134         (todo-modes-set-2): Locally set desktop-save-buffer to
10135         todo-desktop-save-buffer.
10136         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
10137         (auto-mode-alist): Add autoload cookie.
10139 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
10141         * emacs-lisp/subr-x.el: Renamed from helpers.el.
10142         helpers.el was a poor choice of name.
10143         (string-remove-prefix): New function.
10144         (string-remove-suffix): New function.
10146 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
10148         Fix assignment for new window total sizes.
10149         * window.el (window--pixel-to-size): Remove function.
10150         (window--pixel-to-total-1, window--pixel-to-total):
10151         Fix calculation of new total sizes.
10153 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
10155         * comint.el (comint-output-filter): Fix rear-nonsticky property
10156         placement (Bug#16010).
10158 2013-12-20  Chong Yidong  <cyd@gnu.org>
10160         * faces.el (read-color): Minor fix for completion function.
10162 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
10164         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
10165         New option.  (Bug#16182)
10166         (ruby-smie--indent-to-stmt-p): Use it.
10167         (ruby-smie-rules): Revert the logic in the handling of `when'.
10168         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
10169         (ruby-deep-arglist, ruby-deep-indent-paren)
10170         (ruby-deep-indent-paren-style): Update docstrings to note that the
10171         vars don't have any effect with SMIE.
10173 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
10175         * calc/calc.el (calc-enter, calc-pop): Use the variable
10176         `calc-context-sensitive-enter'.
10178 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10180         * net/shr.el (shr-insert): Protect against infloops in degenerate
10181         tables.
10183 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10185         * progmodes/octave.el (octave): Add link to manual and octave
10186         homepage.
10187         (octave-mode-menu): Link to octave-mode manual.
10189 2013-12-20  Leo Liu  <sdl.web@gmail.com>
10191         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
10192         insertion using skeleton-end-newline.  (Bug#16138)
10194 2013-12-20  Juri Linkov  <juri@jurta.org>
10196         * replace.el (occur-engine): Use `add-face-text-property'
10197         to add the face property to matches and titles.  (Bug#14645)
10199         * hi-lock.el (hi-green): Use lighter color "light green" closer to
10200         the palette of other hi-lock colors.
10201         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
10203 2013-12-19  Juri Linkov  <juri@jurta.org>
10205         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
10206         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
10207         (minibuffer-history-symbol): Move variable declaration closer to
10208         its usage.
10210         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
10211         (Bug#14785)
10213 2013-12-19  Juri Linkov  <juri@jurta.org>
10215         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
10216         New function.
10217         (log-edit-hook): Add it to :options.  (Bug#16170)
10219 2013-12-19  Juri Linkov  <juri@jurta.org>
10221         * simple.el (eval-expression-print-format): Don't check for
10222         command names and the last command.  Always display additional
10223         formats of the integer result in the echo area, and insert them
10224         to the current buffer only with a zero prefix arg.
10225         Display character when char-displayable-p is non-nil.
10226         (eval-expression): With a zero prefix arg, set `print-length' and
10227         `print-level' to nil, and insert the integer values from
10228         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
10230         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
10231         `eval-last-sexp-arg-internal'.  Doc fix.
10232         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
10233         `eval-last-sexp-print-value'.  Doc fix.
10234         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
10235         Set `print-length' and `print-level' to nil when arg is zero.
10236         (eval-last-sexp): Doc fix.
10237         (eval-defun-2): Print the integer values from
10238         `eval-expression-print-format' at the end.
10240         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
10241         values from `eval-expression-print-format' at the end.
10243         * ielm.el (ielm-eval-input): Print the integer
10244         values from `eval-expression-print-format' at the end.
10246 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
10248         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
10249         2013-12-11T19:01:44Z!tzz@lifelogs.com.
10251 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10253         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
10254         (hl-line-highlight, global-hl-line-highlight): Use it.
10255         (hl-line-overlay): Use defvar-local.
10257 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
10259         * term/ns-win.el: Require dnd.
10260         (global-map): Remove drag items.
10261         (ns-insert-text, ns-set-foreground-at-mouse)
10262         (ns-set-background-at-mouse):
10263         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
10264         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
10265         New functions.
10267 2013-12-19  Glenn Morris  <rgm@gnu.org>
10269         * emacs-lisp/ert.el (ert-select-tests):
10270         Fix string/symbol mixup.  (Bug#16121)
10272 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
10274         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
10275         keywords to their parent.
10277 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
10279         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
10280         first arg to be a string (fixed dead code), or an operator symbol.
10281         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
10282         operator symbols.
10283         (ruby-smie-rules): Remove parent token check in the `.' clause, it
10284         did nothing.  Don't respond to `(:after ".")', it will be called
10285         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
10286         change anything.  Only return indentation for binary operators
10287         when they are hanging.  De-dent opening paren when its parent is
10288         `.', otherwise it looks bad when the dot is not at bol or eol
10289         (bug#16182).
10291 2013-12-19  Juri Linkov  <juri@jurta.org>
10293         * replace.el (query-replace-read-args): Split a non-negative arg
10294         and a negative arg into separate elements.
10295         (query-replace, query-replace-regexp, replace-string)
10296         (replace-regexp): Add arg `backward'.  Doc fix.
10297         (replace-match-maybe-edit): When new arg `backward' is non-nil,
10298         move point to the beginning of the match.
10299         (replace-search, replace-highlight): Use new arg `backward'
10300         to set the value of `isearch-forward'.
10301         (perform-replace): Add arg `backward' and use it to perform
10302         replacement backward.  (Bug#14979)
10304         * isearch.el (isearch-query-replace): Use a negative prefix arg
10305         to call `perform-replace' with a non-nil arg `backward'.
10307 2013-12-18  Juri Linkov  <juri@jurta.org>
10309         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
10310         to the default list.  Move `log-edit-show-files' to the end.
10311         Add more available functions to options.
10312         (log-edit): Move default specific settings to
10313         `log-edit-insert-message-template'.  Don't move point.
10314         (log-edit-insert-message-template): New function.
10315         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
10316         (Bug#16170)
10318 2013-12-18  Juri Linkov  <juri@jurta.org>
10320         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
10321         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
10323 2013-12-18  Leo Liu  <sdl.web@gmail.com>
10325         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
10326         (Bug#16186)
10328 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
10330         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
10331         formats for displaying file sizes when the -s switch is given.
10332         Instead, compute a separate format for displaying the size in
10333         blocks, which is displayed in addition to the "regular" size.
10334         When -h is given in addition to -s, produce size in blocks in
10335         human-readable form as well.  (Bug#16179)
10337 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
10339         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10340         Reference tables with ~\ref{...} instead of only \ref{...}.
10342 2013-12-18  Chong Yidong  <cyd@gnu.org>
10344         * cus-edit.el (custom-magic-alist): Fix "themed" description
10345         (Bug#14348).
10347         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
10348         is non-nil, do not create a new entry in the symbol's theme-value
10349         or theme-face property; update theme-settings only (Bug#14664).
10350         (custom-available-themes): Doc fix.
10352         * cus-theme.el (custom-new-theme-mode-map): Add bindings
10353         (Bug#15674).
10355         * replace.el (occur-engine): Avoid infloop (Bug#7593).
10357 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
10359         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
10360         (Bug#13914).
10362 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
10364         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
10366 2013-12-18  Glenn Morris  <rgm@gnu.org>
10368         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
10369         * cus-start.el (load-prefer-newer): New option.
10371 2013-12-18  Le Wang  <l26wang@gmail.com>
10373         * comint.el (comint-previous-matching-input-from-input):
10374         Retain point (Bug#13404).
10376 2013-12-18  Chong Yidong  <cyd@gnu.org>
10378         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
10380 2013-12-18  Glenn Morris  <rgm@gnu.org>
10382         * mail/emacsbug.el (report-emacs-bug):
10383         Only mention enable-multibyte-characters if non-standard.
10385 2013-12-17  Juri Linkov  <juri@jurta.org>
10387         * arc-mode.el (archive-extract-by-file): Check if directory exists
10388         before deletion to not show irrelevant errors if it doesn't exist.
10390 2013-12-17  Juri Linkov  <juri@jurta.org>
10392         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
10393         (Bug#14751)
10395         * net/eww.el (browse-web): Add alias to `eww'.
10396         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
10397         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
10399         * net/browse-url.el (browse-url-browser-function): Move `eww'
10400         closer to similar functions.
10402         * startup.el (fancy-startup-screen, fancy-about-screen):
10403         Set browse-url-browser-function to eww-browse-url locally.
10404         (Bug#14751)
10406 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10408         * window.el (window--pixel-to-total): Remove unused `mini' var.
10409         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
10410         (split-window): Remove unused `new' var.
10411         (window--display-buffer): Remove unused `frame' and `delta' vars.
10412         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
10413         and display-width'.
10415 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
10417         * dired.el (dired-mark-pop-up):
10418         * register.el (register-preview): Don't bind
10419         split-height-threshold here since it's now done in
10420         display-buffer-below-selected.
10422 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
10424         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
10425         xterm-rgb-convert-to-16bit.
10426         (rxvt-register-default-colors): Standardize with
10427         xterm-register-default-colors (Bug#14078).
10429 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
10431         * simple.el (kill-region): Pass mark first, then point, so that
10432         kill-append works right (Bug#12819).
10433         (copy-region-as-kill, kill-ring-save): Likewise.
10435 2013-12-17  Leo Liu  <sdl.web@gmail.com>
10437         * net/rcirc.el (rcirc-add-face):
10438         * eshell/em-prompt.el (eshell-emit-prompt):
10439         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
10440         (Bug#16167)
10442 2013-12-17  Chong Yidong  <cyd@gnu.org>
10444         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
10445         Suggested by Xue Fuqiao.
10447 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
10449         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
10451 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10453         * net/shr.el (shr-insert-document): Remove unused var
10454         `shr-preliminary-table-render'.
10455         (shr-rescale-image): Remove unused arg `force'.
10456         (shr-put-image): Update calls accordingly.
10457         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
10459 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
10461         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
10462         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
10463         :close-all, to see which indentation method to use (Bug#16116).
10464         (smie-rules-function): Document the method :close-all.
10466 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10468         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
10470         * net/eww.el (eww-display-html): If we can't find the anchor we're
10471         looking for, then go to point-min.
10473 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
10475         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
10476         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
10477         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
10478         Expand dir too, in case it's relative.
10480 2013-12-16  Juri Linkov  <juri@jurta.org>
10482         * desktop.el (desktop-auto-save-timeout): Change default to
10483         `auto-save-timeout'.  Doc fix.
10484         (desktop-save): Skip the timestamp in desktop-saved-frameset
10485         when checking for auto-save changes.
10486         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
10487         `desktop-auto-save' is called repeatedly by the idle timer.
10488         (desktop-auto-save-set-timer): Replace `run-with-timer' with
10489         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
10490         (Bug#15331)
10492 2013-12-16  Juri Linkov  <juri@jurta.org>
10494         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
10495         (Bug#16035)
10496         (isearch-pre-command-hook): Check `this-command' for symbolp.
10498 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10500         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
10502 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
10504         * progmodes/cfengine.el (cfengine3--current-word): Remove.
10505         (cfengine3--current-function): Bring in the current-function
10506         functionality from `cfengine3--current-word'.
10507         (cfengine3-completion-function): Bring in the
10508         bounds-of-current-word functionality from
10509         `cfengine3--current-word'.
10511 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
10513         * window.el (display-buffer-below-selected):
10514         Bind split-height-threshold to 0 as suggested by Juri Linkov.
10516 2013-12-16  Leo Liu  <sdl.web@gmail.com>
10518         * progmodes/compile.el (compile-goto-error): Do not push-mark.
10519         Remove NOMSG arg and all uses changed.
10521 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10523         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
10524         (cua--deactivate-rectangle): Don't deactivate the mark.
10525         (cua-set-rectangle-mark): Don't set mark-active since
10526         cua--activate-rectangle already does it for us.
10527         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
10528         non-rectangular region.
10530         * emulation/cua-base.el (cua-repeat-replace-region):
10531         Use with-current-buffer.
10533         * net/gnutls.el: Use cl-lib.
10534         (gnutls-negotiate): `mapcan' -> cl-mapcan.
10536 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
10538         * emacs-lisp/package.el (package-built-in-p): Support both
10539         built-in and the package.el converted package descriptions.
10540         (package-show-package-list): Allow keywords.
10541         (package-keyword-button-action): Use it instead of
10542         `finder-list-matches'.
10543         (package-menu-filter-interactive): Interactive filtering (by
10544         keyword) function.
10545         (package-menu--generate): Support keywords and change keymappings
10546         and headers when they are given.
10547         (package--has-keyword-p): Helper function.
10548         (package-menu--refresh): Use it.
10549         (package--mapc): Helper function.
10550         (package-all-keywords): Use it.
10551         (package-menu-mode-map): Set up menu items and keybindings to
10552         provide a filtering UI.
10554 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
10556         * net/gnutls.el (gnutls-verify-error): New defcustom to control
10557         the behavior when a certificate fails validation.  Defaults to
10558         old behavior: never abort, just warn.
10559         (gnutls-negotiate): Use it.
10561 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
10563         * window.el (display-buffer-below-selected): Never split window
10564         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
10566 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
10568         * emacs-lisp/package.el (package--prepare-dependencies): New function.
10569         (package-buffer-info): Use it (bug#15108).
10571 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10573         * icomplete.el (icomplete-completions): Make sure the prefix is already
10574         displayed elsewhere before hiding it (bug#16219).
10576 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
10578         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
10579         open-paren tokens when preceded by a open-paren, too.
10580         (ruby-smie-rules): Handle virtual indentation after open-paren
10581         tokens specially.  If there is code between it and eol, return the
10582         column where is starts (Bug#16118).
10584 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
10586         * progmodes/cfengine.el: Fix `add-hook' doc.
10587         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
10588         (cfengine3--current-word): Fix parameters.
10589         (cfengine3-make-syntax-cache): Simplify further.
10590         (cfengine3-completion-function, cfengine3--current-function):
10591         Use `assq' for symbols.
10592         (cfengine3--current-function): Fix `cfengine3--current-word' call.
10594 2013-12-13  Glenn Morris  <rgm@gnu.org>
10596         * loadup.el (load-path): Warn if site-load or site-init changes it.
10597         No more need to reset it when bootstrapping.
10599 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
10601         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
10602         locations for cf-promises.
10603         (cfengine-mode-syntax-functions-regex): New caching variable.
10604         (cfengine3-fallback-syntax): Fallback syntax for cases where
10605         cf-promises doesn't run.
10606         (cfengine3--current-word): Reimplement using
10607         `cfengine-mode-syntax-functions-regex'.
10608         (cfengine3-completion-function, cfengine3--current-function):
10609         Use `cfengine3-make-syntax-cache' directly.
10610         (cfengine3-clear-syntax-cache): New function.
10611         (cfengine3-make-syntax-cache): Simplify and create
10612         `cfengine-mode-syntax-functions-regex' on demand.
10613         (cfengine3-format-function-docstring): Don't call
10614         `cfengine3-make-syntax-cache' explicitly.
10616 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
10618         Fix windmove-find-other-window broken after pixelwise resizing
10619         (Bug#16017).
10620         * windmove.el (windmove-other-window-loc): Revert change from
10621         2013-12-04.
10622         (windmove-find-other-window): Call window-in-direction.
10623         * window.el (window-in-direction): New arguments SIGN, WRAP and
10624         MINI to emulate original windmove-find-other-window behavior.
10626 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
10628         * simple.el (blink-matching--overlay): New variable.
10629         (blink-matching-open): Instead of moving point, highlight the
10630         matching paren with an overlay
10631         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
10633         * faces.el (paren-showing-faces, show-paren-match)
10634         (show-paren-mismatch): Move from paren.el.
10636 2013-12-13  Leo Liu  <sdl.web@gmail.com>
10638         * indent.el (indent-region): Disable progress reporter in
10639         minibuffer.  (Bug#16108)
10641         * bindings.el (visual-order-cursor-movement): Fix version.
10643 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10645         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
10646         Also match after beginning of line.
10647         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
10648         files.  Thanks to Russell Sim.  (Bug#15378)
10650 2013-12-13  Juri Linkov  <juri@jurta.org>
10652         * simple.el <Keypad support>: Remove key bindings duplicated
10653         with bindings.el.  (Bug#14397)
10655 2013-12-13  Juri Linkov  <juri@jurta.org>
10657         * comint.el (comint-mode-map): Replace `delete-char' with
10658         `delete-forward-char'.  (Bug#16109)
10660 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10662         * progmodes/python.el (python-indent-calculate-indentation):
10663         Fix de-denters cornercase.  (Bug#15731)
10665 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10667         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
10668         (advice--make): Pay attention to `depth'.
10669         (advice--make-1): Don't autoload commands eagerly.
10670         * emacs-lisp/elp.el (elp-instrument-function):
10671         * emacs-lisp/trace.el (trace-function-internal):
10672         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
10674         * iswitchb.el (iswitchb-mode): Don't belittle ido.
10676 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
10678         * term/w32-win.el (w32-handle-dropped-file):
10679         * startup.el (normal-top-level):
10680         * net/browse-url.el (browse-url-file-url):
10681         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
10682         decode file names using 'utf-8' rather than
10683         file-name-coding-system.
10685 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10687         * progmodes/python.el (python-indent-context)
10688         (python-indent-calculate-indentation): Fix auto-identation
10689         behavior for comment blocks.  (Bug#15916)
10691 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
10693         * progmodes/python.el (python-indent-calculate-indentation):
10694         When determining indentation, don't treat "return", "pass", etc., as
10695         operators when they are just string constituents.  (Bug#15812)
10697 2013-12-12  Juri Linkov  <juri@jurta.org>
10699         * uniquify.el (uniquify-buffer-name-style): Change default to
10700         `post-forward-angle-brackets'.
10702         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
10703         `uniquify'.  Change default to `post-forward-angle-brackets'.
10705 2013-12-11  Glenn Morris  <rgm@gnu.org>
10707         * emacs-lisp/package.el (finder-list-matches):
10708         Autoload rather than falsely declaring.
10710 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
10712         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
10713         (eww-mode-map): Use them.
10715 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
10717         * window.el (display-buffer-in-side-window): Fix doc-string
10718         (Bug#16115).
10720 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
10722         * vc/vc-git.el: Silence byte-compiler warnings.
10723         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
10724         (log-edit-set-header): Declare.
10726 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
10728         * Makefile.in (custom-deps, finder-data): Run output file names
10729         through unmsys--file-name.  (Bug#16099)
10731 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10733         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
10734         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
10736         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
10737         instead of deleting the selection "by hand" (bug#16098).
10738         Rely on insert-for-yank to yank rectangles.
10739         (cua-highlight-region-shift-only): Mark obsolete.
10740         (cua-mode): Don't enable/disable transient-mark-mode,
10741         shift-select-mode (cua-mode works both with and without them), and
10742         pc-selection-mode (obsolete).
10743         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
10744         (cua--deactivate-rectangle): Deactivate it.
10746         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
10747         (delete-selection-helper): Make sure yank starts at the top of the
10748         deleted region.
10749         (minibuffer-keyboard-quit): Use region-active-p.
10751         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
10753         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
10754         to `delete' (bug#16109).
10756 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10758         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
10759         info manual and show keybindings and set `:group' keyword.
10761 2013-12-11  Juri Linkov  <juri@jurta.org>
10763         * delsel.el (delete-active-region): Let-bind `this-command'
10764         to prevent `kill-region' from changing its original value.
10765         (delete-selection-helper): Handle `overwrite-mode' for the type
10766         `kill' exactly the same way as for the type `t'.
10767         (insert-char, quoted-insert, reindent-then-newline-and-indent):
10768         Support more commands.  (Bug#13312)
10770 2013-12-11  Juri Linkov  <juri@jurta.org>
10772         * bindings.el: Map kp keys to non-kp keys systematically
10773         with basic modifiers control, meta and shift.  (Bug#14397)
10775 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
10777         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
10778         "Close browser" menu items.  Fix wrong function of "List
10779         bookmarks".
10781 2013-12-11  Juri Linkov  <juri@jurta.org>
10783         * misearch.el (multi-isearch-buffers): Set the value of
10784         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
10785         arg of isearch-forward to t.
10786         (multi-isearch-buffers-regexp): Set the value of
10787         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
10788         arg of isearch-forward-regexp to t.
10789         (multi-isearch-files): Set the value of
10790         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
10791         arg of isearch-forward to t.
10792         (multi-isearch-files-regexp): Set the value of
10793         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
10794         arg of isearch-forward-regexp to t.  (Bug#16035)
10796         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
10797         arg of isearch-forward to t.
10798         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
10799         arg of isearch-forward-regexp to t.
10800         (dired-isearch-filter-filenames): Remove unnecessary check for
10801         `dired-isearch-filenames'.
10803         * comint.el (comint-history-isearch-backward):
10804         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
10805         (comint-history-isearch-backward-regexp):
10806         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
10808 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
10810         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
10811         unmsys--file-name.  (Bug#16099)
10813 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
10815         * emacs-lisp/package.el (package-keyword-button-action):
10816         Remove finder.el require dependency.
10818 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
10820         * emacs-lisp/package.el: Require finder.el.
10821         (describe-package-1): Add keyword buttons.
10822         (package-make-button): New convenience function.
10823         (package-keyword-button-action): Keyword button action using
10824         `finder-list-matches'.
10826 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
10828         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
10829         last commit.
10831 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
10833         * autorevert.el (auto-revert-notify-add-watch): Do not handle
10834         symlinked files.
10836 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
10838         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
10839         after the end of a percent literal.
10841 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
10843         * progmodes/ruby-mode.el (ruby-forward-string): Document.
10844         Handle caret-delimited strings (Bug#16079).
10846 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
10848         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
10849         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
10850         `ruby-parse-partial' (Bug#16078).
10852 2013-12-09  Leo Liu  <sdl.web@gmail.com>
10854         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
10856 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
10858         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
10859         (js-switch-indent-offset): New option.
10860         (js--proper-indentation): Use it.  And handle the case when
10861         "default" is actually a key in an object literal.
10862         (js--same-line): New function.
10863         (js--multi-line-declaration-indentation): Use it.
10864         (js--indent-in-array-comp, js--array-comp-indentation):
10865         New functions.
10866         (js--proper-indentation): Use them, to handle array comprehension
10867         continuations.
10869 2013-12-08  Leo Liu  <sdl.web@gmail.com>
10871         * progmodes/flymake.el (flymake-highlight-line): Re-write.
10872         (flymake-make-overlay): Remove arg MOUSE-FACE.
10873         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
10875 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10877         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
10878         New function.
10879         (redisplay-highlight-region-function): Use it.
10881         * emulation/cua-base.el (cua--explicit-region-start)
10882         (cua--last-region-shifted): Remove.
10883         (cua--deactivate): Use deactivate-mark.
10884         (cua--pre-command-handler-1): Don't handle shift-selection.
10885         (cua--post-command-handler-1): Don't change transient-mark-mode.
10886         (cua--select-keymaps): Use region-active-p rather than
10887         cua--explicit-region-start or cua--last-region-shifted.
10888         (cua-mode): Enable shift-select-mode.
10890 2013-12-08  Leo Liu  <sdl.web@gmail.com>
10892         * progmodes/flymake.el (flymake-popup-current-error-menu):
10893         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
10894         (flymake-posn-at-point-as-event, flymake-popup-menu)
10895         (flymake-make-emacs-menu): Remove.  (Bug#16077)
10897 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10899         * rect.el (rectangle-mark-mode): Activate mark even if
10900         transient-mark-mode is off (bug#16066).
10901         (rectangle--highlight-for-redisplay): Fix boundary condition when point
10902         is > mark and at bolp.
10904         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
10905         (region-extract-function): Use it.
10906         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
10907         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
10908         Delete functions.
10909         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
10910         kill-ring-save, kill-region, delete-char, delete-forward-char.
10911         Ignore self-insert-iso.
10913         * emulation/cua-gmrk.el (cua--init-global-mark):
10914         Ignore `self-insert-iso'.
10916         * emulation/cua-base.el (cua--prefix-copy-handler)
10917         (cua--prefix-cut-handler): Rely on region-extract-function rather than
10918         checking cua--rectangle.
10919         (cua-delete-region): Use region-extract-function.
10920         (cua-replace-region): Delete function.
10921         (cua-copy-region, cua-cut-region): Obey region-extract-function.
10922         (cua--pre-command-handler-1): Don't do the delete-selection thing.
10923         (cua--self-insert-char-p): Ignore `self-insert-iso'.
10924         (cua--init-keymaps): Don't remap delete-selection commands.
10925         (cua-mode): Use delete-selection-mode instead of rolling our own
10926         (bug#16085).
10928         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
10929         Obey region-extract-function.
10931         Make registers and delete-selection-mode work on rectangles.
10932         * register.el (describe-register-1): Don't modify the register's value.
10933         (copy-to-register): Obey region-extract-function.
10934         * delsel.el (delete-active-region): Obey region-extract-function.
10936 2013-12-08  Leo Liu  <sdl.web@gmail.com>
10938         * progmodes/flymake.el (flymake, flymake-error-bitmap)
10939         (flymake-warning-bitmap, flymake-fringe-indicator-position)
10940         (flymake-compilation-prevents-syntax-check)
10941         (flymake-start-syntax-check-on-newline)
10942         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
10943         (flymake-start-syntax-check-on-find-file, flymake-log-level)
10944         (flymake-xml-program, flymake-master-file-dirs)
10945         (flymake-master-file-count-limit)
10946         (flymake-allowed-file-name-masks): Relocate.
10947         (flymake-makehash, flymake-float-time)
10948         (flymake-replace-regexp-in-string, flymake-split-string)
10949         (flymake-get-temp-dir): Remove.
10950         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
10951         (flymake-current-row, flymake-selected-frame)
10952         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
10953         related functions.  (Bug#16077)
10955 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
10957         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
10959 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
10961         * help-fns.el (describe-function-1): Use new advice-* functions
10962         rather than old ad-* functions.  Fix function type description and
10963         source links for advised functions and subrs.
10965 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10967         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
10969 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
10971         * progmodes/compile.el (compilation-start):
10972         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
10974         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10975         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
10977 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
10979         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10980         Touch up the last change.
10982 2013-12-06  Leo Liu  <sdl.web@gmail.com>
10984         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
10985         (inferior-octave-startup): Always use "octave> " for prompt.
10986         (octave-goto-function-definition)
10987         (octave-sync-function-file-names)
10988         (octave-find-definition-default-filename): Remove redundant backquotes.
10990 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
10992         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
10993         syntax for `?'.
10994         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
10995         where appropriate already.
10996         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
10997         end of method names (Bug#15874).
10999 2013-12-06  Juri Linkov  <juri@jurta.org>
11001         * isearch.el (isearch--saved-overriding-local-map):
11002         New internal variable.
11003         (isearch-mode): Set it to the initial value of
11004         `overriding-terminal-local-map'.
11005         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
11006         with `isearch--saved-overriding-local-map'.  (Bug#16035)
11008 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
11010         * progmodes/octave.el (inferior-octave-completion-table):
11011         Turn back into function, use `completion-table-with-cache'
11012         (Bug#11906).  Update all references.
11014         * minibuffer.el (completion-table-with-cache): New function.
11016 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
11018         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
11020 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
11022         * net/eww.el (eww-current-source): New variable to store page
11023         source.
11024         (eww-display-html, eww-mode, eww-save-history)
11025         (eww-restore-history): Use it.
11026         (eww-view-source): New command to view page source.
11027         Opportunistically uses `html-mode' to highlight the buffer.
11028         (eww-mode-map): Install it.
11030 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
11032         * net/dbus.el (dbus-unregister-service)
11033         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
11034         Fix docstring.
11035         (dbus-unregister-service): Skip :serial entries in
11036         `dbus-registered-objects-table'.
11037         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
11039 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
11041         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
11042         around keywords with extra `split-string' argument.
11044 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
11046         * windmove.el (windmove-other-window-loc): Handle navigation
11047         between windows (excluding the minibuffer window - Bug#16017).
11049 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
11051         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
11052         in D-Bus type syntax.
11053         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
11054         preserve unibyte strings.  (Bug#16048)
11056 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11058         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
11059         Call force-mode-line-update is the proper buffer (bug#16042).
11061 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
11063         * vc/log-edit.el (log-edit-add-new-comment): Rename to
11064         `log-edit-remember-comment', make argument optional.  Adjust all
11065         callers.
11066         (log-edit-mode): Add `log-edit-remember-comment' to
11067         `kill-buffer-hook' locally.
11068         (log-edit-kill-buffer): Don't remember comment explicitly since
11069         the buffer is killed anyway.
11071 2013-12-04  Juri Linkov  <juri@jurta.org>
11073         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
11074         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
11076 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
11078         * notifications.el (notifications-close-notification): Call the
11079         D-Bus method with ID being a `:uint32'.  (Bug#16030)
11081 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
11083         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
11085 2013-12-03  Juri Linkov  <juri@jurta.org>
11087         * progmodes/compile.el (compilation-start): Rename window alist
11088         entry `no-display-ok' to `allow-no-window'.
11090         * simple.el (shell-command): Add window alist entry
11091         `allow-no-window' to `display-buffer'.
11092         (async-shell-command): Doc fix.
11094         * window.el (display-buffer-no-window): New action function.
11095         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
11097 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
11099         * vc/log-edit.el (log-edit-set-header): Extract from
11100         `log-edit-toggle-header'.
11101         (log-edit-extract-headers): Separate the summary, when extracted
11102         from header, from the rest of the message with an empty line.
11104         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
11105         line, if present, to the Summary header.
11107 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11109         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
11110         in current-buffer (bug#16029).
11112 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
11114         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
11115         (debugger-mode-map): Bind it.
11116         (debugger--backtrace-base): New function.
11117         (debugger-eval-expression): Use it.
11118         (debugger-frame-number): Skip local vars when present.
11119         (debugger--locals-visible-p, debugger--insert-locals)
11120         (debugger--show-locals, debugger--hide-locals): New functions.
11122 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
11124         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
11125         "LC_ALL".
11126         (tramp-get-remote-locale): New defun.
11127         (tramp-open-connection-setup-interactive-shell): Use it.
11129 2013-12-02  Leo Liu  <sdl.web@gmail.com>
11131         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
11133         * progmodes/sh-script.el (sh-shell-process):
11134         * progmodes/octave.el (inferior-octave-process-live-p):
11135         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
11136         (gdb-inferior-io-sentinel):
11137         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
11139 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
11141         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
11142         `save-selected-window' to `log-edit-hide-buf'.  This makes
11143         `log-edit-show-files' idempotent.
11144         (log-edit-show-files): Mark the new window as dedicated.
11146 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
11148         * vc/log-edit.el (log-edit-mode-map): Add binding for
11149         `log-edit-kill-biffer'.
11150         (log-edit-hide-buf): Add a FIXME comment.
11151         (log-edit-add-new-comment): New function, extracted from
11152         `log-edit-done'.
11153         (log-edit-done, log-edit-add-to-changelog): Use it.
11154         (log-edit-kill-buffer): New command.
11156 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11158         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
11159         instead of killing the buffer.
11161 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11163         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
11165 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11167         * net/eww.el (eww-form-checkbox-selected-symbol)
11168         (eww-form-checkbox-symbol): New customizable variable.
11169         (eww-form-checkbox, eww-toggle-checkbox):
11170         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
11172         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
11173         (shr--get-media-pref, shr--extract-best-source): New function.
11174         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
11175         no :src tag was specified.
11177         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
11178         (eww-render): Handle `eww-use-external-browser-for-content-type'.
11179         Use \\` to match beginning of string instead of ^.
11180         (eww-browse-with-external-browser): Provide optional URL parameter.
11181         (eww-render): Set `eww-current-title' back to "".
11183         * net/shr.el (shr-tag-video): Display content for video if no
11184         poster is available.
11185         (shr-tag-audio): Add support for <audio> tag.
11187         * net/eww.el (eww-text-input-types): New const.
11188         (eww-process-text-input): Treat input types in
11189         `eww-text-input-types' as text.
11191         * net/shr.el (shr-tag-table): Fix comment typo.
11193 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11195         * net/eww.el (eww-follow-link): New command to avoid reloading
11196         pages when we follow #target links (bug#15243).
11197         (eww-quit): Special mode buffers shouldn't query before exiting.
11199 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
11201         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
11202         forms.
11204 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11206         * net/eww.el (eww-restore-history): Update the window title after
11207         moving in the history.
11208         (eww-current-dom): New variable used to save the current DOM.
11210 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
11212         * vc/log-edit.el (log-edit-mode-map): Add binding for
11213         `log-edit-beginning-of-line'.
11214         (log-edit-setup-add-author): New user option.
11215         (log-edit-beginning-of-line): New command.
11216         (log-edit): Move major mode call above the contents setup so that
11217         the local variable values are already applied.
11218         (log-edit): Only insert "Author: " when
11219         `log-edit-setup-add-author' is non-nil.
11220         (log-edit): When SETUP is non-nil, position point after ": "
11221         instead of point-min.
11223 2013-12-01  Glenn Morris  <rgm@gnu.org>
11225         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
11227 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
11229         * startup.el (fancy-splash-frame): On MS-Windows, trigger
11230         redisplay to make sure the initial frame gets a chance to become
11231         visible.  (Bug#16014)
11233 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
11235         Support resizing frames and windows pixelwise.
11236         * cus-start.el (frame-resize-pixelwise)
11237         (window-resize-pixelwise): New entries.
11238         * emacs-lisp/debug.el (debug): Use window-total-height instead
11239         of window-total-size.
11240         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
11241         * help.el (describe-bindings-internal): Use help-buffer as
11242         argument for with-help-window.
11243         (temp-buffer-max-width): New option.
11244         (resize-temp-buffer-window, help-window-setup)
11245         (with-help-window): Rewrite.
11246         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
11247         dragging dividers.
11248         * window.el (frame-char-size, window-min-pixel-height)
11249         (window-safe-min-pixel-height, window-safe-min-pixel-width)
11250         (window-min-pixel-width, window-safe-min-pixel-size)
11251         (window-combination-p, window-safe-min-size)
11252         (window-resizable-p, window--size-to-pixel)
11253         (window--pixel-to-size, window--resize-apply-p): New functions.
11254         (window-safe-min-height): Fix doc-string.
11255         (window-size, window-min-size, window--min-size-1)
11256         (window-sizable, window-sizable-p, window--min-delta-1)
11257         (window-min-delta, window--max-delta-1, window-max-delta)
11258         (window--resizable, window--resizable-p, window-resizable)
11259         (window-full-height-p, window-full-width-p, window-at-side-p)
11260         (window--in-direction-2, window-in-direction)
11261         (window--resize-reset-1, window--resize-mini-window)
11262         (window-resize, window-resize-no-error)
11263         (window--resize-child-windows-normal)
11264         (window--resize-child-windows, window--resize-siblings)
11265         (window--resize-this-window, window--resize-root-window)
11266         (window--resize-root-window-vertically)
11267         (adjust-window-trailing-edge, enlarge-window, shrink-window)
11268         (maximize-window, minimize-window, delete-window)
11269         (quit-restore-window, window-split-min-size, split-window)
11270         (balance-windows-2, balance-windows)
11271         (balance-windows-area-adjust, balance-windows-area)
11272         (window--state-get-1, window-state-get, window--state-put-1)
11273         (window--state-put-2, window-state-put)
11274         (display-buffer-record-window, window--display-buffer):
11275         Make functions handle pixelwise sizing of windows.
11276         (display-buffer--action-function-custom-type)
11277         (display-buffer-fallback-action):
11278         Add display-buffer-in-previous-window.
11279         (display-buffer-use-some-window): Resize window to height it had
11280         before.
11281         (fit-window-to-buffer-horizontally): New option.
11282         (fit-frame-to-buffer): Describe new values.
11283         (fit-frame-to-buffer-bottom-margin): Replace with
11284         fit-frame-to-buffer-margins.
11285         (window--sanitize-margin): New function.
11286         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
11287         using window-text-pixel-size.
11289 2013-11-30  Glenn Morris  <rgm@gnu.org>
11291         * emacs-lisp/bytecomp.el (byte-compile-form):
11292         Make the `interactive-only' warning like the `obsolete' one.
11293         * comint.el (comint-run):
11294         * files.el (insert-file-literally, insert-file):
11295         * replace.el (replace-string, replace-regexp):
11296         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11297         (goto-line, insert-buffer, next-line, previous-line):
11298         Tweak `interactive-only' spec.
11300         Stop keeping (most) generated cedet grammar files in the repository.
11301         * Makefile.in (semantic): New.
11302         (compile-main): Depend on semantic.
11304 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11306         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
11307         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
11309         * uniquify.el (uniquify-buffer-name-style): Change default.
11311         * loadup.el: Preload "uniquify".
11313         * time.el (display-time-update): Update all mode lines (bug#15999).
11315         * electric.el (electric-indent-mode): Enable by default.
11316         * loadup.el: Preload "electric".
11318 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
11320         * emacs-lisp/helpers.el (string-empty-p): New function.
11321         (string-blank-p): New function.
11323 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
11325         * imenu.el (imenu--index-alist): Add missing dot to the docstring
11326         (Bug#14029).
11328 2013-11-29  Andreas Politz  <politza@fh-trier.de>
11329         * imenu.el (imenu--subalist-p): Don't error on non-conses and
11330         allow non-lambda lists as functions.
11331         (imenu--in-alist): Don't recurse into non-subalists.
11332         (imenu): Don't pass function itself as an argument (Bug#14029).
11334 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11336         * progmodes/python.el (python-mode-map): Remove binding for ":".
11337         (python-indent-electric-colon): Remove command.
11338         (python-indent-post-self-insert-function): Integrate the previous code
11339         of python-indent-electric-colon.  Make it conditional on
11340         electric-indent-mode.
11341         (python-mode): Add ?: to electric-indent-chars.
11342         Move python-indent-post-self-insert-function to the end of
11343         post-self-insert-hook.
11345 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11347         * doc-view.el (doc-view-goto-page): Update mode-line.
11349         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
11351 2013-11-27  Glenn Morris  <rgm@gnu.org>
11353         * international/charprop.el, international/uni-bidi.el:
11354         * international/uni-category.el, international/uni-combining.el:
11355         * international/uni-comment.el, international/uni-decimal.el:
11356         * international/uni-decomposition.el, international/uni-digit.el:
11357         * international/uni-lowercase.el, international/uni-mirrored.el:
11358         * international/uni-name.el, international/uni-numeric.el:
11359         * international/uni-old-name.el, international/uni-titlecase.el:
11360         * international/uni-uppercase.el:
11361         Remove generated files from VCS repository.
11363 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
11365         * filenotify.el (file-notify-add-watch): Don't special-case
11366         w32notify when computing the directory to watch.
11368 2013-11-27  Glenn Morris  <rgm@gnu.org>
11370         Make bootstrap without generated uni-*.el files possible again.
11371         * loadup.el: Update command-line-args checking for unidata-gen.
11372         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
11373         * composite.el, international/characters.el:
11374         Handle unicode tables being undefined.
11376         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
11377         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
11378         (compile-main): Depend on leim rule.
11379         (leim): New rule.
11380         * loadup.el: Move leim-list.el to leim/ subdirectory.
11381         * startup.el (normal-top-level): No more leim directory.
11382         * international/ja-dic-cnv.el (skkdic-convert):
11383         Disable version-control and autoloads in output files.
11384         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
11385         Disable version-control and autoloads in output files.
11386         * leim/quail: Move here from ../leim.
11387         * leim/quail/hangul.el (hangul-input-method-activate):
11388         Add autoload cookie.
11389         (generated-autoload-load-name): Set file-local value.
11390         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
11391         (generated-autoload-load-name): Set file-local value.
11393 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
11395         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
11396         (eww-add-bookmark): Ask confirmation when add to bookmarks.
11397         (eww-quit): Ask confirmation before quitting eww.
11399 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
11401         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
11402         reading output from Diff on MS-Windows and MS-DOS.
11404 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
11406         * emacs-lisp/helpers.el (string-reverse): New function.
11408 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
11410         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
11411         names on MS Windows, like "/[::1]:".
11413         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
11414         SWITCHES.
11416 2013-11-26  Glenn Morris  <rgm@gnu.org>
11418         * progmodes/python.el (python-indent-guess-indent-offset):
11419         Avoid corner-case error.  (Bug#15975)
11421         Preload leim-list.el.  (Bug#4789)
11422         * loadup.el: Load leim-list.el when found.
11423         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
11425 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
11427         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
11429         * emacs-lisp/helpers.el (string-join): New function.
11431 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
11433         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11434         Mark as obsolete and replace it with a symbol property.
11435         (byte-compile-form): Use new 'interactive-only property.
11436         * comint.el, files.el, replace.el, simple.el:
11437         Apply new 'interactive-only properly.
11439 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
11441         * window.el (display-buffer-at-bottom): Make sure that
11442         split-window-sensibly creates the new window on bottom
11443         (Bug#15961).
11445 2013-11-23  David Kastrup  <dak@gnu.org>
11447         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
11448         on the conflict markers when available.
11449         (smerge--get-marker): New function.
11450         (smerge-end-re, smerge-base-re): Add subgroup.
11452 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11454         * frame.el (handle-focus-in, handle-focus-out): Add missing
11455         interactive spec.
11457 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
11459         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
11460         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
11462 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11464         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
11465         (gomoku--last-pos): New var.
11466         (gomoku--intangible-chars): New const.
11467         (gomoku--intangible): New function.
11468         (gomoku-mode): Use it.  Derive from special-mode.
11469         (gomoku-move-up): Adjust line count.
11470         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
11471         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
11472         Simplify accordingly.
11474         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
11475         Remove blink-cursor code.
11476         (blink-cursor-timer-function, blink-cursor-suspend):
11477         Don't special-case GUIs.
11478         (blink-cursor-mode): Use focus-in/out-hook.
11480 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
11482         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
11483         work when annotation is invisible (Bug#13886).
11485 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
11487         * json.el (json-alist-p): Only return non-nil if the alist has
11488         simple keys (Bug#13518).
11490 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
11492         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
11493         when control-statement is the first statement in a buffer (Bug#15956).
11495 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
11497         * imenu.el (imenu-generic-skip-comments-and-strings):
11498         New option (Bug#15560).
11499         (imenu--generic-function): Use it.
11501 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
11503         * minibuffer.el (completion--in-region-1): Scroll the correct window.
11504         (Bug#13898)
11506 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
11508         * emacs-lisp/helpers.el: Add some string helpers.
11509         (string-trim-left): Removes leading whitespace.
11510         (string-trim-right): Removes trailing whitespace.
11511         (string-trim): Removes leading and trailing whitespace.
11513         * subr.el (string-suffix-p): New function.
11515 2013-11-23  Glenn Morris  <rgm@gnu.org>
11517         * progmodes/python.el (python-shell-send-file):
11518         Add option to delete file when done.  (Bug#15647)
11519         (python-shell-send-string, python-shell-send-region): Use it.
11521 2013-11-23  Ivan Shmakov  <ivan@siamics.net>
11523         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
11524         to set buffer-read-only to t, never to nil.  (Bug#15938)
11526         * textmodes/tex-mode.el (latex-noindent-environments):
11527         Add safe-local-variable property.  (Bug#15936)
11529 2013-11-23  Glenn Morris  <rgm@gnu.org>
11531         * textmodes/enriched.el (enriched-mode): Doc fix.
11532         * emacs-lisp/authors.el (authors-renamed-files-alist):
11533         Add enriched.doc -> enriched.txt.
11535         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
11537 2013-11-22  Leo Liu  <sdl.web@gmail.com>
11539         * progmodes/octave.el (inferior-octave-startup): Spit out error
11540         message.
11542 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
11544         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
11545         Improve docstring.
11546         Add :version.
11547         (ruby-encoding-magic-comment-style): Add :version.
11549 2013-11-22  Leo Liu  <sdl.web@gmail.com>
11551         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
11552         (Bug#15076)
11553         (octave-help-mode): Adapt to change to help-mode-finish to use
11554         derived-mode-p on 2013-09-17.
11555         (inferior-octave-prompt): Also match octave-gui.
11556         (octave-kill-process): Don't ask twice.  (Bug#10564)
11558 2013-11-22  Leo Liu  <sdl.web@gmail.com>
11560         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
11561         (inferior-octave-startup, inferior-octave-check-process)
11562         (inferior-octave-track-window-width-change)
11563         (octave-completion-at-point, octave-eldoc-function): Use it.
11564         (octave-kill-process): Provide confirmation.  (Bug#10564)
11566 2013-11-21  Leo Liu  <sdl.web@gmail.com>
11568         * progmodes/octave.el (octave-mode, inferior-octave-mode):
11569         Fix obsolete variable comment-use-global-state.
11571 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11573         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
11574         Add `octave-source-file'.
11575         (octave-source-file): New function.  (Bug#15935)
11577 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
11579         * net/eww.el (eww-local-regex): New variable.
11580         (eww): Use it to detect localhost and similar.
11582 2013-11-21  Leo Liu  <sdl.web@gmail.com>
11584         Add completion for command `ag'.
11585         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
11586         (pcomplete/ag): New function.
11587         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
11589 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11591         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
11592         (bug#14646).
11593         (make-obsolete): Remove interactive spec.
11595 2013-11-21  Glenn Morris  <rgm@gnu.org>
11597         * startup.el (command-line-1): Use path-separator with -L.
11599 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
11601         * emacs-lisp/package.el (describe-package-1): Add package archive
11602         to shown fields.
11604 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
11606         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
11607         Change default to "# encoding: %s" to differentiate it from the
11608         default Ruby encoding comment template.
11610 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
11612         * ses.el (ses-mode): Doc fix.  (Bug#14748)
11614 2013-11-20  Leo Liu  <sdl.web@gmail.com>
11616         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
11618 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
11620         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
11621         when rebase or bisect are in progress.
11623 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
11625         * filenotify.el (file-notify-add-watch): Doc fix.
11627 2013-11-19  Leo Liu  <sdl.web@gmail.com>
11629         * obsolete/rcompile.el: Mark obsolete.
11631         * progmodes/compile.el (compilation-start)
11632         (compilation-goto-locus, compilation-find-file):
11633         Pass no-display-ok and handle nil value from display-buffer.
11634         (Bug#13594)
11636         * window.el (display-buffer-alist, display-buffer): Document the
11637         new parameter no-display-ok.  Return either a window or nil
11638         but never a non-window value.
11640 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11642         * electric.el (electric-indent-mode-map): Remove.
11643         (electric-indent-mode): Change the global-map instead (bug#15915).
11645         * textmodes/text-mode.el (paragraph-indent-minor-mode):
11646         Use add-function.
11648 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11650         * emacs-lisp/nadvice.el (remove-function): Align with
11651         add-function's behavior.
11653         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
11654         (gdb--string-regexp): New constant.
11655         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
11656         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
11657         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
11658         submatch 1.
11659         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
11660         Adjust use accordingly.
11661         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
11663 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
11665         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
11666         interpolation curlies (Bug#15914).
11668 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
11670         * calc/calc.el (calc-context-sensitive-enter): New variable.
11671         (calc-enter): Use `calc-context-sensitive-enter'.
11673 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
11675         * progmodes/cfengine.el: Version bump.
11676         (cfengine-cf-promises): New defcustom to locate cf-promises.
11677         (cfengine3-vartypes): Add new "data" type.
11678         (cfengine3--current-word): New function to get current name-like
11679         word or its bounds.
11680         (cfengine3--current-function): New function to look up a CFEngine
11681         function's definition.
11682         (cfengine3-format-function-docstring): New function.
11683         (cfengine3-make-syntax-cache): New function.
11684         (cfengine3-documentation-function): New function: ElDoc glue.
11685         (cfengine3-completion-function): New function: completion glue.
11686         (cfengine3-mode): Set `compile-command',
11687         `eldoc-documentation-function', and add to
11688         `completion-at-point-functions'.
11690 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
11692         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
11693         `tramp-current-connection'.
11695 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
11697         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
11698         nil/self/true/false with "end of symbol".
11700 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
11702         * subr.el (version-regexp-alist): Fix a typo.
11704 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
11706         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
11707         "en_US.utf8" and "LC_CTYPE" to "".
11708         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
11709         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
11711 2013-11-15  Leo Liu  <sdl.web@gmail.com>
11713         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
11715 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11717         * progmodes/gud.el (ctl-x-map):
11718         Remove C-x SPC binding.  (Bug#12342)
11719         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
11721 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
11723         * subr.el (version-regexp-alist):
11724         Recognize hg, svn and darcs versions as snapshot versions.
11726         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
11727         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
11728         (ruby--encoding-comment-required-p): Extract from
11729         `ruby-mode-set-encoding'.
11730         (ruby-mode-set-encoding): Add the ability to always insert an
11731         utf-8 encoding comment.  Fix and simplify coding comment update
11732         logic.
11734 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
11736         * net/tramp-gvfs.el (top): Run init code only when
11737         `tramp-gvfs-enabled' is not nil.
11738         (tramp-gvfs-enabled): Check also :system bus.
11740 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11742         Sync with upstream verilog-mode revision 78e66ba.
11743         * progmodes/verilog-mode.el (verilog-end-of-defun)
11744         (verilog-type-completion, verilog-get-list): Remove unused funcs.
11745         (verilog-get-end-of-defun): Remove unused argument.
11746         (verilog-comment-depth): Remove unused local `e'.
11747         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
11748         Don't pass arg to verilog-get-end-of-defun.
11750 2013-11-14  Glenn Morris  <rgm@gnu.org>
11752         * obsolete/assoc.el (aget): Prefix dynamic variable.
11754         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
11756 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11758         * widget.el, hfy-cmap.el: Remove bogus package version number.
11760 2013-11-13  Glenn Morris  <rgm@gnu.org>
11762         * replace.el (replace-eval-replacement):
11763         Try to give more helpful error message.  (Bug#15836)
11765         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11766         (archive-7z-update): Avoid custom type mismatches.
11768         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
11770 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
11772         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11773         address can be empty.
11775         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
11776         Accept nil SWITCHES.
11777         (tramp-gvfs-handle-write-region): Implement APPEND.
11779 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
11781         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
11782         binary "|" operator and closing block args delimiter.
11783         Remove FIXME comment referring to Ruby 1.8-only syntax.
11784         (ruby-smie--implicit-semi-p): Not after "|" operator.
11785         (ruby-smie--closing-pipe-p): New function.
11786         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
11787         (ruby-smie-rules): Indent after "|".
11789 2013-11-12  Glenn Morris  <rgm@gnu.org>
11791         * ps-print.el (ps-face-attribute-list):
11792         Handle anonymous faces.  (Bug#15827)
11794 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
11796         * window.el (display-buffer-other-frame): Fix doc-string.
11797         (Bug#15868)
11799 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11801         * subr.el (force-mode-line-update): Delete, move to buffer.c.
11803 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
11805         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
11806         (tramp-sh-handle-file-local-copy): Don't write a message when
11807         saving temporary files.
11809         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
11810         both directories are remote.
11811         (tramp-smb-handle-directory-files): Do not return double entries.
11812         Do not expand full file names.
11813         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
11814         (tramp-smb-handle-write-region): Implement APPEND.
11815         (tramp-smb-get-stat-capability): Fix a stupid bug.
11817 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11819         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
11821 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
11823         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
11824         throwing error over malformed let/let* (bug#15814).
11826 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11828         * iswitchb.el (iswitchb-mode): Mark obsolete.
11830 2013-11-11  Glenn Morris  <rgm@gnu.org>
11832         * international/uni-bidi.el, international/uni-category.el:
11833         * international/uni-name.el, international/uni-numeric.el:
11834         Regenerate for Unicode 6.3.0.
11836 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
11838         * net/tramp.el (tramp-methods):
11839         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
11840         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
11842 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
11844         * progmodes/sh-script.el (sh-font-lock-keywords-var):
11845         Force highlighting text after Summary keyword in doc face for rpm.
11847 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
11849         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
11850         available and the word has no wildcards, append one to the grep pattern.
11851         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
11852         (ispell-complete-word): Call `ispell-lookup-words' with the value
11853         independent of `ispell-look-p'.
11855 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
11857         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
11858         Not after "||".
11859         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
11860         their parent.
11862 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11864         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
11865         (ruby-font-lock-keywords): Use backquote.
11867 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
11869         * progmodes/ruby-mode.el (ruby-smie--forward-token)
11870         (ruby-smie--backward-token): Only consider full-string matches.
11872 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
11874         * faces.el (describe-face): Add distant-foreground.
11876 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
11878         * progmodes/ruby-mode.el: Improve encoding comment handling.
11879         (ruby-encoding-magic-comment-style): New option.
11880         (ruby-custom-encoding-magic-comment-template): New option.
11881         (ruby--insert-coding-comment, ruby--detect-encoding):
11882         New functions extracted from `ruby-mode-set-encoding'.
11883         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
11884         to control the style of the auto-inserted encoding comment.
11886 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
11888         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
11889         Use `smie-backward-sexp' with token argument.
11891 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
11893         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
11894         Remove instrumentation code.
11896 2013-11-08  Glenn Morris  <rgm@gnu.org>
11898         * progmodes/autoconf.el (autoconf-mode):
11899         Tweak comment-start-skip.  (Bug#15822)
11901 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11903         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
11904         at bobp (bug#15826).
11905         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
11907 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
11909         * man.el (Man-start-calling): New macro, extracted from
11910         Man-getpage-in-background.
11911         (Man-getpage-in-background): Use it.
11912         (Man-update-manpage): New command.
11913         (Man-mode-map): Bind it.
11915 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
11917         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
11918         of "and", "or", "&&" and "||".
11919         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
11920         argument.  Prohibit opening curly brace because it could only be a
11921         block opener in that position.
11922         (ruby-smie--forward-token, ruby-smie--backward-token):
11923         Separate "|" from "&" or "*" going after it.  That can happen in block
11924         arguments.
11925         (ruby-smie--indent-to-stmt): New function, seeks the end of
11926         previous statement or beginning of buffer.
11927         (ruby-smie-rules): Use it.
11928         (ruby-smie-rules): Check if there's a ":" before a curly block
11929         opener candidate; if there is, it's a hash.
11931 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11933         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
11934         (cl--block-wrapper): Fix last accidental change.
11936 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
11938         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
11939         Instrument, in order to hunt failure on hydra.
11941 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
11943         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
11944         malformed bindings form (bug#15814).
11946 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
11948         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
11949         "." compared to " @ ".  This incidentally fixes some indentation
11950         examples with "do".
11951         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
11952         (ruby-smie-grammar): New tokens: "and" and "or".
11953         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
11954         Exclude "and" and "or".  Remove "do" in order to work around token
11955         priorities.
11956         (ruby-smie-rules): Add all infix tokens.  Handle the case of
11957         beginning-of-buffer.
11959 2013-11-06  Glenn Morris  <rgm@gnu.org>
11961         * Makefile.in (setwins_almost, setwins_for_subdirs):
11962         Avoid accidental matches.
11964 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11966         * menu-bar.el (popup-menu): Use key-binding.
11968 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
11970         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
11971         menus, support also the menus produced by minor modes.
11972         (Bug#15817)
11974 2013-11-06  Leo Liu  <sdl.web@gmail.com>
11976         * thingatpt.el (thing-at-point-looking-at): Add optional arg
11977         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
11979 2013-11-06  Glenn Morris  <rgm@gnu.org>
11981         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
11982         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
11983         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
11985 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11987         * electric.el (electric-indent-just-newline): New command.
11988         (electric-indent-mode-map): New keymap.
11989         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
11990         Re-add :group which weren't redundant.
11992         * electric.el (electric-indent-local-mode): New minor mode.
11993         (electric-indent-functions-without-reindent): New var.
11994         (electric-indent-post-self-insert-function): Use it.
11995         * emacs-lisp/gv.el (buffer-local-value): Add setter.
11997 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
11999         * international/quail.el (quail-help): Be more explicit about the
12000         meaning of the labels shown on the keys.  (Bug#15800)
12002         * startup.el (normal-top-level): Load the subdirs.el files before
12003         setting the locale environment.  (Bug#15805)
12005 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12007         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
12008         via arguments so as to get the right ones (bug#15418).
12010         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
12012 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
12014         Fix problems found while writing a test suite.
12016         * net/tramp-compat.el (tramp-compat-load): New defun.
12017         * net/tramp.el (tramp-handle-load): Use it.
12019         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
12020         "(numberp ok-if-already-exists)" correctly.
12022 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
12024         * international/characters.el (glyphless-char-display-control):
12025         Add usage note.
12027 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
12029         * progmodes/python.el (python-mode):
12030         * progmodes/scheme.el (scheme-mode):
12031         * progmodes/prolog.el (prolog-mode):
12032         * progmodes/ruby-mode.el (ruby-mode):
12033         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
12034         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
12036 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12038         * rect.el (rectangle--highlight-for-redisplay):
12039         * emacs-lisp/smie.el (smie--next-indent-change):
12040         Use buffer-chars-modified-tick.
12042         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
12044         * electric.el (electric-indent-post-self-insert-function):
12045         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
12047 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
12049         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
12051 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
12053         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
12054         (bug#15786).
12056 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12058         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
12060         * progmodes/python.el: Fix up last change.
12061         (python-shell--save-temp-file): New function.
12062         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
12063         `string' comes from the current buffer.
12064         (python-shell-send-string-no-output): Remove `msg' arg.
12065         (python--use-fake-loc): New var.
12066         (python-shell-buffer-substring): Obey it.  Try to compensate for the
12067         extra coding line added by python-shell--save-temp-file.
12068         (python-shell-send-region): Use python-shell--save-temp-file and
12069         python-shell-send-file directly.  Add `nomain' argument.
12070         (python-shell-send-buffer): Use python-shell-send-region.
12071         (python-electric-pair-string-delimiter): New function.
12072         (python-mode): Use it.
12074 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
12076         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
12077         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
12078         environment and decoding all of the default-directory's to here
12079         from command-line.
12080         (command-line): Decode also argv[0].
12082         * loadup.el: Error out if default-directory is a multibyte string
12083         when we are dumping.
12085         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
12087 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
12089         * emacs-lisp/package.el (package-menu-mode)
12090         (package-menu--print-info, package-menu--archive-predicate):
12091         Add Archive column to package list.
12093 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
12095         Fix problems found while writing a test suite.
12097         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
12098         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
12099         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
12100         to nil when running original file name handler.  Otherwise,
12101         there are problems with constructs like "$$FOO".
12103         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
12104         for `localname'.
12106 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
12108         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
12110         * subr.el (version<, version<=, version=):
12111         Update docstrings with information for snapshot versions.
12113         * helpers.el: New library for misc helper functions.
12114         (hash-table-keys): New function returning a list of hash keys.
12115         (hash-table-values): New function returning a list of hash values.
12117 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
12119         * progmodes/ruby-mode.el (ruby-smie--forward-token)
12120         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
12122 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
12124         * textmodes/fill.el (fill-single-char-nobreak-p): New function
12125         checking whether point is after a 1-letter word.
12127 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
12129         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
12130         Don't infloop when expanding region over `multiline' syntax-type that
12131         begins a line (bug#15778).
12133 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12135         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
12136         Make it into a proper minor mode.
12137         (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
12138         (rectangle-mark-mode-map): New keymap.
12139         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
12141 2013-11-04  Glenn Morris  <rgm@gnu.org>
12143         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
12145 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12147         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
12148         (ruby-smie-rules): Use smie-rule-parent instead.
12150         * emacs-lisp/smie.el (smie-rule-parent): Always call
12151         smie-indent-virtual rather than only for hanging tokens.
12152         (smie--next-indent-change): New helper command.
12154 2013-11-03  Glenn Morris  <rgm@gnu.org>
12156         * Makefile.in (abs_srcdir): Remove.
12157         (emacs): Unset EMACSLOADPATH.
12159 2013-11-02  Glenn Morris  <rgm@gnu.org>
12161         * Makefile.in (EMACS): Use a relative filename.
12162         (abs_top_builddir): Remove.
12163         (custom-deps, finder-data, autoloads): Use --chdir.
12165         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
12167         Use relative filenames in TAGS files.
12168         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
12169         (lisptagsfiles4, TAGS): Use relative file names.
12170         (TAGS-LISP): Remove.
12171         (maintainer-clean): No more TAGS-LISP file.
12173         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
12174         (lisptagsfiles4): Use absolute filenames again.
12175         (TAGS, TAGS-LISP): Not everything needs to run in one line.
12176         Remove all *loaddefs files, not just the first.  Remove esh-groups.
12177         (maintainer-clean): Delete TAGS, TAGS-LISP.
12179 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
12181         * emacs-lisp/package.el (package-version-join):
12182         Recognize snapshot versions.
12184 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
12186         * subr.el (version-regexp-alist): Add support for snapshot versions.
12188 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
12190         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
12191         New function, replacement for `smie-rule-parent' for when we want to
12192         skip over our direct parent if it's an assignment token..
12193         (ruby-smie-rules): Use it.
12195 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
12197         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
12198         unconditionally.  Remove now unnecessary forward declarations.
12199         Remove XEmacs-specific setup.
12200         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
12201         (ruby-font-lock-syntactic-keywords)
12202         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
12203         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
12204         (ruby-here-doc-end-syntax): Remove.
12205         (ruby-mode): Don't check whether `syntax-propertize-rules' is
12206         defined as function.
12208 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
12210         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
12212 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
12214         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
12215         table and abbrev table, `define-derived-mode' does that for us
12216         anyway.
12218 2013-11-01  Glenn Morris  <rgm@gnu.org>
12220         * Makefile.in: Remove manual mh-e dependencies (writing .elc
12221         files is atomic for some time, so no parallel compilation issues).
12223 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
12225         * faces.el (face-x-resources): Add :distant-foreground.
12226         (region): Use :distant-foreground for gtk and ns.
12228 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
12230         Allow multiple bibliographies when BibLaTeX is used rather than
12231         BibTeX.
12232         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
12233         (reftex-locate-bibliography-files): Us it.
12235 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
12237         * image.el (image-type-header-regexps): Fix the 'pbm' part to
12238         allow comments in pbm files.
12240         * term/w32-win.el (dynamic-library-alist): Support newer versions
12241         of libjpeg starting with v7: look only for the DLL from the
12242         version against which Emacs was built.
12243         Support versions of libpng beyond 1.4.x.
12244         Support libtiff v4.x.
12246 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
12248         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
12249         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
12250         Add property :safe.
12251         (ruby-deep-arglist): Add property :type.
12253 2013-10-31  Glenn Morris  <rgm@gnu.org>
12255         * Makefile.in (custom-deps, finder-data): No need to setq the target
12256         variables, we are in the right directory and the defaults work fine.
12258 2013-10-30  Glenn Morris  <rgm@gnu.org>
12260         * Makefile.in (autoloads): Do not use abs_lisp.
12262         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12263         `newline' does not respect `standard-output', so use `princ'.
12265 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
12267         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
12268         * buff-menu.el (Buffer-menu--unmark): New function.
12269         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
12271 2013-10-30  Glenn Morris  <rgm@gnu.org>
12273         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
12275         * emacs-lisp/package.el (lm-homepage): Declare.
12277         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
12278         Fix doc typos.
12280         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
12282         * Makefile.in (finder-data, autoloads, update-subdirs)
12283         (compile-main, compile-clean, compile-always, bootstrap-clean):
12284         Check return value of cd.
12285         (compile-calc): Remove.
12287 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12289         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
12291         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
12292         (byte-compile-and-folded): New function.
12293         (=, <, >, <=, >=): Use it.
12295         * dos-w32.el (minibuffer-history-case-insensitive-variables)
12296         (path-separator, null-device, buffer-file-coding-system)
12297         (lpr-headers-switches): Check system-type before modifying them.
12298         (find-buffer-file-type-coding-system): Mark obsolete.
12299         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
12300         find-file-not-found-set-buffer-file-coding-system.
12301         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
12302         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
12303         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
12304         (w32-direct-print-region-helper, w32-direct-print-region-function)
12305         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
12306         * startup.el (normal-top-level-add-subdirs-to-load-path):
12307         * ps-print.el (ps-print-region-function):
12308         * lpr.el (print-region-function): Use new name.
12310         * subr.el (custom-declare-variable-early): Remove function.
12311         (custom-declare-variable-list): Remove var.
12312         (error, user-error): Remove `while' loop.
12313         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
12314         (user-emacs-directory-warning, locate-user-emacs-file):
12315         Move to files.el.
12316         * simple.el (read-quoted-char-radix, read-quoted-char):
12317         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
12318         Move from subr.el.
12319         * custom.el (custom-declare-variable-list): Don't process
12320         custom-declare-variable-list.
12322         * progmodes/python.el (python-shell-get-buffer): New function.
12323         (python-shell-get-process): Use it.
12324         (python-shell-send-string): Always use utf-8 and add a cookie to tell
12325         Python which encoding was used.  Don't split-string since we only care
12326         about the first line.  Return the temp-file, if applicable.
12327         (python-shell-send-region): Tell compile.el how to turn locations in
12328         the temp-file into locations in the source buffer.
12330 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12332         * subr.el (undefined): Add missing behavior from the C code for
12333         unbound keys.
12335         * rect.el: Use lexical-binding.  Add new rectangular region support.
12336         (rectangle-mark): New command.
12337         (rectangle--region): New var.
12338         (deactivate-mark-hook): Reset rectangle--region.
12339         (rectangle--extract-region, rectangle--insert-for-yank)
12340         (rectangle--highlight-for-redisplay)
12341         (rectangle--unhighlight-for-redisplay): New functions.
12342         (region-extract-function, redisplay-unhighlight-region-function)
12343         (redisplay-highlight-region-function): Use them to handle
12344         rectangular region.
12345         * simple.el (region-extract-function): New var.
12346         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
12347         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
12348         (kill-region): Replace obsolete `yank-handler' arg with `region'.
12349         (copy-region-as-kill, kill-ring-save): Add `region' argument.
12350         (redisplay-unhighlight-region-function)
12351         (redisplay-highlight-region-function): New vars.
12352         (redisplay--update-region-highlight): New function.
12353         (pre-redisplay-function): Use it.
12354         (exchange-point-and-mark): Don't deactivate the mark before
12355         reactivate-it anyway.
12356         * comint.el (comint-kill-region): Remove yank-handler argument.
12357         * delsel.el (delete-backward-char, backward-delete-char-untabify)
12358         (delete-char): Remove property, since it's now part of their
12359         default behavior.
12360         (self-insert-iso): Remove property since this command doesn't exist.
12362         * emacs-lisp/package.el (package--download-one-archive)
12363         (describe-package-1): Don't query the user about final newline.
12365 2013-10-29  Daniel Colascione  <dancol@dancol.org>
12367         * net/tramp.el (tramp-methods): Document new functionality.
12368         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
12369         tramp-hostname-checker if method provides one instead of scanning
12370         argument list for "%h" to decide hostname acceptability.
12372 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
12374         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
12375         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12376         Handle COPY-CONTENTS.  (Bug#15737)
12378 2013-10-28  Daiki Ueno  <ueno@gnu.org>
12380         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
12381         Document that this option has no effect with GnuPG 2.0 (bug#15552).
12383 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
12385         * image.el (defimage, image-load-path): Doc fixes.
12387 2013-10-27  Alan Mackenzie  <acm@muc.de>
12389         Indent statements in macros following "##" correctly.
12390         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12391         Modify the "#" arm of a cond form to handle "#" and "##" operators.
12393 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
12395         * linum.el (linum-update-window): Fix boundary test (bug#13446).
12397 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
12399         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
12400         after `=' is probably a new expression.
12402 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12404         * man.el (man-imenu-title): New option.
12405         (Man-mode-map): Add menu.  (Bug#15722)
12406         (Man-mode): Add imenu to menu.
12408 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
12410         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
12411         specific in what the first arg can be: a non-keyword word,
12412         string/regexp/percent literal opener, opening paren, or unary
12413         operator followed directly by word.
12415 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12417         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
12418         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
12419         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
12420         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
12421         Remove vars, they do not apply any more.
12422         (prolog-mode-abbrev-table): Remove redundant declaration.
12423         (prolog-upper-case-string, prolog-lower-case-string): Remove.
12424         (prolog-use-smie): Remove.
12425         (prolog-smie-rules): Add indentation rule for the if-then-else layout
12426         supported by prolog-electric-if-then-else-flag.
12427         (prolog-mode-variables, prolog-menu): Use setq-local.
12428         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
12429         Remove binding to `Backspace' since this key doesn't exist anyway.
12430         Remove bindings for electric self-inserting keys.
12431         (prog-mode): Assume it's defined.
12432         (prolog-post-self-insert): New function.
12433         (prolog-mode): Use it.
12434         (prolog-indent-line, prolog-indent-level)
12435         (prolog-find-indent-of-matching-paren)
12436         (prolog-indentation-level-of-line, prolog-goto-comment-column)
12437         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
12438         (prolog-goto-next-paren, prolog-in-string-or-comment)
12439         (prolog-tokenize, prolog-inside-mline-comment)
12440         (prolog-find-start-of-mline-comment): Remove functions.
12441         (prolog-find-unmatched-paren, prolog-clause-end)
12442         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
12443         (prolog-electric--if-then-else): Rename from
12444         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
12445         (prolog-tokenize-searchkey): Remove const.
12446         (prolog-clause-info): Use forward-sexp.
12447         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
12448         (prolog-electric-if-then-else): Remove commands.
12449         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
12450         for use in post-self-insert-hook.
12451         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
12452         for use in post-self-insert-hook.
12453         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
12454         for use in post-self-insert-hook.
12455         (prolog-electric--underscore): Rename from prolog-electric--underscore;
12456         adapt it for use in post-self-insert-hook.
12458 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
12460         * emacs-lisp/ert.el (ert-run-tests-interactively):
12461         Use `completing-read'.  (Bug#9756)
12463 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
12465         * simple.el (line-move): Call line-move-1 instead of
12466         line-move-visual when the current window hscroll is zero, but
12467         temporary-goal-column indicates we will need to hscroll as result
12468         of the movement.  (Bug#15712)
12470 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
12472         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
12473         capitalization.  Use :visible instead of :active.
12474         Fix `ruby-indent-exp' reference.  Add menu items for the generic
12475         commands that are used with SMIE.
12476         (ruby-do-end-to-brace): Insert space after `{'.
12478 2013-10-25  John Anthony  <john@jo.hnanthony.com>
12480         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
12482         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
12484 2013-10-25  Glenn Morris  <rgm@gnu.org>
12486         * vc/vc.el (vc-print-log): Don't use a working revision unless
12487         one was explicitly specified.  (Bug#15322)
12489 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12491         * subr.el (add-to-list): Preserve return value in compiler-macro
12492         (bug#15692).
12494 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12496         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
12497         result.  Ask user to retry using '-all' flag.  (Bug#15701)
12499 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12501         * emacs-lisp/smie.el: New smie-config system.
12502         (smie-config): New defcustom.
12503         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
12504         (smie-config-guess, smie-config-save): New commands.
12505         (smie-config--mode-local, smie-config--buffer-local)
12506         (smie-config--trace, smie-config--modefuns): New vars.
12507         (smie-config--advice, smie-config--mode-hook)
12508         (smie-config--setter, smie-config-local, smie-config--get-trace)
12509         (smie-config--guess-value, smie-config--guess): New functions.
12510         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
12511         text properties.  Treat "string fence" syntax like string syntax.
12513         * progmodes/sh-script.el (sh-use-smie): Change default.
12514         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
12515         (sh-var-value): Simplify by CSE.
12516         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
12517         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
12518         is used.
12519         (sh-guess-basic-offset): Use cl-incf.
12520         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
12522 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
12524         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
12525         (bug#15699).
12527 2013-10-24  Glenn Morris  <rgm@gnu.org>
12529         * Makefile.in (abs_top_srcdir): Remove.
12530         (update-subdirs): Use relative path to update-subdirs.
12532 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
12534         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
12535         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
12536         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
12537         Call unmsys--file-name before expand-file-name, not after it.
12539 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
12541         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
12542         (ert-test-skipped): New error.
12543         (ert-skip, ert-stats-skipped): New defuns.
12544         (ert--skip-unless): New macro.
12545         (ert-test-skipped): New struct.
12546         (ert--run-test-debugger, ert-test-result-type-p)
12547         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
12548         (ert--stats-set-test-and-result, ert-char-for-test-result)
12549         (ert-string-for-test-result, ert-run-tests-batch)
12550         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
12551         Handle skipped tests.  (Bug#9803)
12553 2013-10-24  Glenn Morris  <rgm@gnu.org>
12555         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
12557         * Makefile.in (abs_top_srcdir): New, set by configure.
12558         (update-subdirs): Correct build-aux location.
12560 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
12562         * vc/vc.el (vc-print-root-log): Always set `default-directory'
12563         value, whether we could auto-deduce `backend', or not.
12565         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
12566         with parameters" example.  Simplify the "is it block or is it
12567         hash" check, but also make it more thorough.
12569 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
12571         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
12573 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12575         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
12576         { if it is hanging.
12578         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
12579         :before ";".
12581 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
12583         * progmodes/compile.el (compilation-directory-matcher)
12584         (compilation-page-delimiter):
12585         Support GNU Make-4.0 directory quoting.  (Bug#15678)
12587 2013-10-23  Leo Liu  <sdl.web@gmail.com>
12589         * ido.el (ido-tidy): Handle read-only text.
12591 2013-10-23  Glenn Morris  <rgm@gnu.org>
12593         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
12594         (emacs, compile, compile-always):
12595         Quote entities that might contain whitespace.
12596         (custom-deps, finder-data, autoloads): Use abs_lisp.
12597         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12598         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12599         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
12601 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
12603         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
12604         Use `following-char'.
12606 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12608         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
12609         * progmodes/ruby-mode.el (ruby-smie-rules):
12610         Remove corresponding workaround.  Fix indentation rule of ";" so it
12611         also applies when ";" is the parent.
12613 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
12615         * frame.el (display-screens, display-pixel-height)
12616         (display-pixel-width, display-mm-width, display-backing-store)
12617         (display-save-under, display-planes, display-color-cells)
12618         (display-visual-class, display-monitor-attributes-list):
12619         Mention the optional ‘display’ argument in doc strings.
12621 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
12623         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
12624         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
12626 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
12628         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
12629         TODO.  Add "." after " @ ".
12630         (ruby-smie--at-dot-call): New function.  Checks if point at method
12631         call with explicit target.
12632         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
12633         to the method name tokens when it precedes them.
12634         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
12635         (ruby-smie-rules): Add rule for indentation before and after "."
12636         token.
12638 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12640         * textmodes/remember.el (remember-diary-extract-entries):
12641         Avoid add-to-list.
12643         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
12644         an instruction.
12646 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
12648         * progmodes/ruby-mode.el (ruby-smie-grammar):
12649         Add (almost) all infix operators.
12650         (ruby-smie--implicit-semi-p): Add new operator chars.
12652         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
12653         `smie-down-list'.
12654         (ruby-smie--args-separator-p): Check that there's no newline
12655         between method call and its arguments.
12657 2013-10-20  Alan Mackenzie  <acm@muc.de>
12659         Allow comma separated lists after Java "implements".
12661         * progmodes/cc-engine.el (c-backward-over-enum-header):
12662         Parse commas.
12663         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
12664         from a "disallowed" list in enum fontification.
12666 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
12668         * startup.el (default-frame-background-mode): Remove unused defvar.
12670         * progmodes/verilog-mode.el (verilog-mode): Don't set
12671         comment-indent-function globally.
12673 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
12675         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
12676         Move Info menu item creation to ns-win.el.
12678         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
12679         in menu bar.
12681         * menu-bar.el: Move GNUstep specific menus...
12683         * term/ns-win.el (ns-initialize-window-system): ... to here.
12685 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12687         * simple.el (newline): Only run post-self-insert-hook when
12688         called interactively.
12690 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
12692         * icomplete.el (icomplete-with-completion-tables): Add :version.
12694 2013-10-19  Alan Mackenzie  <acm@muc.de>
12696         Fix fontification bugs with constructors and const.
12698         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
12699         CASE 2) Remove the check for the absence of a suffix construct
12700         after a function declaration with only types (no identifiers) in
12701         the parentheses.  Also, accept a function declaration with just a
12702         type inside the parentheses, if this type can be positively
12703         recognised as such, or if a prefix keyword like "explicit" nails
12704         down the construct as a declaration.
12706 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
12708         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
12709         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
12710         the problem whereby selecting a menu item that leads to a
12711         minibuffer prompt moves the cursor out of the minibuffer window,
12712         making it hard to type at the prompt.  Suggested by Stefan Monnier
12713         <monnier@iro.umontreal.ca>.
12715 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
12717         * menu-bar.el: Don't make Services menu.
12719 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12721         * ffap.el: Handle "/usr/include/c++/<version>" directories.
12722         (ffap-alist): Use ffap-c++-mode for c++-mode.
12723         (ffap-c++-path): New variable.
12724         (ffap-c++-mode): New function.
12726 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
12728         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
12730 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
12732         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
12733         introduced on 2013-09-08, which results in an infinite loop
12734         requesting a password.
12736 2013-10-18  Glenn Morris  <rgm@gnu.org>
12738         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
12740 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
12742         Sync with upstream verilog-mode revision 1a6ecec7.
12743         * progmodes/verilog-mode.el (verilog-mode-version): Update.
12744         (verilog-mode-release-date): Remove.
12745         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
12746         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
12747         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
12748         (verilog-auto-tieoff-ignore-regexp)
12749         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
12750         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
12751         (verilog-signals-with, verilog-dir-cache-preserving)
12752         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
12753         Doc fixes.
12754         (verilog-case-fold): New option, to control case folding in
12755         regexp searches, bug597.
12756         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
12757         (verilog-string-match-fold, verilog-in-paren-count)
12758         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
12759         (verilog-at-close-struct-p): New functions.
12760         (verilog-beg-block-re-ordered, verilog-extended-case-re)
12761         (verilog-forward-sexp, verilog-set-auto-endcomments)
12762         (verilog-leap-to-case-head): Handle "unique0" case.
12763         (verilog-in-constraint-re): New constant.
12764         (verilog-keywords, verilog-type-font-keywords):
12765         Add some SystemVerilog 1800-2012 keywords.
12766         (verilog-label-be): Remove unimplemented argument, bug669.
12767         (verilog-batch-execute-func): When batch expanding clear
12768         create-lockfiles to prevent spurious user locks when a file ends
12769         up not changing.
12770         (verilog-calculate-indent, verilog-calc-1)
12771         (verilog-at-close-constraint-p, verilog-at-constraint-p)
12772         (verilog-do-indent): Fix indentation of nested constraints
12773         and structures.
12774         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
12775         (verilog-auto-inst-param): Use verilog-string-match-fold.
12776         (verilog-read-inst-module-matcher):
12777         Fix AUTOINST on gate primitives with #1.
12778         (verilog-read-decls): Fix double-declaring user-defined typed signals.
12779         Reads all user-defined typed variables.
12780         (verilog-read-defines): Fix reading definitions inside comments, bug647.
12781         (verilog-signals-matching-regexp)
12782         (verilog-signals-not-matching-regexp, verilog-auto):
12783         Respect verilog-case-fold.
12784         (verilog-diff-report): Fix line count.
12785         (verilog-auto-assign-modport): Remove unused local `modi'.
12786         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
12787         better handle multidimensional arrays.
12788         Fix packed array ports misadding bit index in AUTOINST, bug637.
12789         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
12790         to not double-declare existing outputs and inputs, respectively.
12791         (verilog-template-map): Bind U to verilog-sk-uvm-component.
12792         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
12793         (verilog-sk-uvm-component): New skeleton.
12794         (verilog-submit-bug-report): Add verilog-case-fold,
12795         remove verilog-mode-release-date.
12797 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
12799         * subr.el (sit-for): Call (input-pending-p t) so as to behave
12800         as before.
12802 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
12804         * textmodes/remember.el (remember): Set buffer-offer-save in
12805         remember buffers (bug#13566).
12807 2013-10-18  Daniel Colascione  <dancol@dancol.org>
12809         When evaluating forms in ielm, direct standard output to ielm
12810         buffer.  Add new ielm-return-for-effect command.  Remove trailing
12811         whitespace throughout.
12813         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
12814         (ielm-return-for-effect): New command.
12815         (ielm-send-input): Accept optional `for-effect' parameter.
12816         (ielm-eval-input): Accept optional `for-effect' parameter.
12817         Bind `standard-output' to stream we create using
12818         `ielm-standard-output-impl'.  Suppress printing result when
12819         `for-effect'.
12820         (ielm-standard-output-impl): New function.
12821         (inferior-emacs-lisp-mode): Explain new features in documentation.
12823 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
12825         Code cleanup.
12827         * net/tramp.el (tramp-debug-message): Do not check for connection
12828         buffer.
12829         (tramp-message): Use "vector" connection property.
12831         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
12832         (tramp-equal-remote, tramp-eshell-directory-change)
12833         * net/tramp-adb.el (tramp-adb-handle-copy-file)
12834         (tramp-adb-handle-rename-file)
12835         * net/tramp-cmds.el (tramp-list-remote-buffers)
12836         (tramp-cleanup-connection, tramp-cleanup-this-connection)
12837         * net/tramp-compat.el (tramp-compat-process-running-p)
12838         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
12839         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
12840         (tramp-gvfs-handle-rename-file)
12841         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12842         (tramp-set-file-uid-gid)
12843         * net/tramp-smb.el (tramp-smb-handle-copy-file)
12844         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
12845         of `file-remote-p'.
12847         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
12848         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
12849         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
12850         (tramp-gw-open-network-stream): Suppress unrelated traces.
12852         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
12853         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
12854         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12855         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
12856         connection property.
12858         * net/tramp-cache.el (top): Suppress traces when reading
12859         persistency file.
12861         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12862         Refactor common code.  Improve debug message.
12863         (tramp-maybe-open-connection)
12864         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
12865         connection buffer too early.
12867         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
12868         from `tramp-smb-actions-with-acl'.
12869         (tramp-smb-actions-set-acl): New defconst.
12870         (tramp-smb-handle-copy-directory)
12871         (tramp-smb-action-get-acl): New defun, renamed from
12872         `tramp-smb-action-with-acl'.
12873         (tramp-smb-action-set-acl): New defun.
12874         (tramp-smb-handle-set-file-acl): Rewrite.
12876 2013-10-17  Glenn Morris  <rgm@gnu.org>
12878         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
12880 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12882         * skeleton.el (skeleton-newline): Remove.
12883         (skeleton-internal-1): Use (insert "\n") instead.
12885         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
12886         let-bindings.
12888         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
12889         forward-sexp-function while we redo its job (bug#15613).
12891 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
12893         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
12894         represented by lists.
12896 2013-10-16  Glenn Morris  <rgm@gnu.org>
12898         * tmm.el (tmm--history): New dynamic variable.
12899         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
12901 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
12903         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
12904         (tramp-smb-errors): Add error messages.
12905         (tramp-smb-actions-with-acl): New defconst.
12906         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
12907         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
12908         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
12909         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
12910         (tramp-smb-get-stat-capability): Fix tests.
12912 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
12914         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
12915         (bug#15580).
12917 2013-10-16  Glenn Morris  <rgm@gnu.org>
12919         * ansi-color.el (ansi-color-drop-regexp):
12920         Add 1J, 1K, 2K.  (Bug#15617)
12922         * files.el (hack-local-variables--warned-lexical): New.
12923         (hack-local-variables):
12924         Warn about misplaced lexical-binding.  (Bug#15616)
12926         * net/eww.el (eww-render): Always set eww-current-url,
12927         and update header line.  (Bug#15622)
12928         (eww-display-html): ... Rather than just doing it here.
12930 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
12932         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
12933         menu navigations commands.
12935 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
12937         * progmodes/subword.el (subword-capitalize): Be careful when
12938         the search for [[:alpha:]] fails (bug#15580).
12940 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
12942         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
12943         to commands that scroll the menu.
12945 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
12947         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
12948         Handle methods ending with `?' and `!'.
12950 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
12952         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
12953         `japanese-cp932' to `cp932' to fix the problem where saving a
12954         source file written in Shift_JIS twice would end up having
12955         `coding: japanese-cp932' which Ruby could not recognize.
12956         (ruby-mode-set-encoding): Add support for encodings mapped to nil
12957         in `ruby-encoding-map'.
12958         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
12959         doesn't need to be explicitly declared in magic comment.
12960         (ruby-encoding-map): Add type declaration for better customize UI.
12962 2013-10-13  Glenn Morris  <rgm@gnu.org>
12964         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
12965         Occur buffers are read-only.  http://bugs.debian.org/720775
12967         * emacs-lisp/authors.el (authors-fixed-entries):
12968         Comment out old alpha stuff.
12970 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
12972         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
12973         to `after-save-hook' instead of `before-save-hook'.
12974         (ruby-mode-set-encoding): Use the value of coding system used to
12975         write the file.  Call `basic-save-buffer-1' after modifying the
12976         buffer.
12978 2013-10-13  Alan Mackenzie  <acm@muc.de>
12980         Fix indentation/fontification of Java enum with
12981         "implements"/generic.
12983         * progmodes/cc-engine.el (c-backward-over-enum-header):
12984         Extracted from the three other places and enhanced to handle generics.
12985         (c-inside-bracelist-p): Uses new function above.
12986         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
12987         function above.
12988         (c-font-lock-enum-tail): Uses new function above.
12990 2013-10-13  Kenichi Handa  <handa@gnu.org>
12992         * international/mule-cmds.el (select-safe-coding-system): Remove a
12993         superfluous condition in chekcing whether a coding system is safe
12994         or not.
12996 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
12998         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
13000 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
13002         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
13004 2013-10-13  Glenn Morris  <rgm@gnu.org>
13006         * menu-bar.el (menu-bar-update-buffers):
13007         Unify Buffers menu prompt string.  (Bug#15576)
13009         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
13011         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
13012         Add some entries.
13013         (authors-fixed-entries): Use accented form of name.
13015 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13017         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
13018         method calls (bug#15594).
13019         (ruby-smie--args-separator-p): New function.
13020         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
13021         recognize paren-free method calls.
13023         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
13024         internals of universal-argument.
13026 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
13028         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
13029         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
13030         dropped menu on second mouse click on the menu bar.
13032 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13034         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
13035         (explicit-shell-file-name): Declare.
13036         (sh--vars-before-point, sh--cmd-completion-table): New functions.
13037         (sh-completion-at-point-function): New function.
13038         (sh-mode): Use it.
13039         (sh-smie--keyword-p): Remove unused argument.
13040         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
13041         vars.
13042         (sh-set-shell): Always setup SMIE, even if we use the
13043         old indentation code.
13045 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
13047         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
13048         cases of ? and =.
13049         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
13050         predicate would return nil are almost non-existent.
13051         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
13053         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
13054         cache also after commands that modify the buffer but don't move
13055         point.
13057 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13059         * env.el (substitute-env-in-file-name): New function.
13060         (substitute-env-vars): Extend the meaning of the optional arg.
13062 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
13064         * term/w32-win.el (dynamic-library-alist): Define separate lists
13065         of GIF DLLs for versions before and after 5.0.0 of giflib.
13066         (Bug#15531)
13068 2013-10-10  João Távora  <joaotavora@gmail.com>
13070         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
13071         not locked, use last revision and current source as
13072         defaults.  (Bug#15569)
13074 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
13076         * menu-bar.el (menu-bar-open): Don't use popup-menu if
13077         menu-bar is hidden.
13079 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
13081         * window.el (pop-to-buffer-same-window): Fix doc-string.
13082         (Bug#15492)
13084 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13086         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
13088 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
13090         * calendar/icalendar.el (icalendar-import-file):
13091         Fix interactive spec.  (Bug#15482)
13093 2013-10-10  Glenn Morris  <rgm@gnu.org>
13095         * desktop.el (desktop-save): Default to saving in .emacs.d,
13096         since PWD is no longer in desktop-path by default.  (Bug#15319)
13098         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
13099         now that text mode has a menu with the same entry.
13100         (menu-bar-text-mode-auto-fill): Remove now unused func.
13101         * textmodes/text-mode.el (text-mode-map):
13102         Use auto-fill help text from menu-bar.el.
13104 2013-10-10  John Anthony  <john@jo.hnanthony.com>
13106         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
13108 2013-10-09  Juri Linkov  <juri@jurta.org>
13110         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
13111         instead of this-command-keys.  Add universal-argument-more and
13112         universal-argument-minus to the list of prefix commands.  (Bug#15568)
13114 2013-10-09  Glenn Morris  <rgm@gnu.org>
13116         * vc/vc-svn.el (vc-svn-create-repo):
13117         Expand paths in file://... url.  (Bug#15446)
13119         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
13120         Add some entries.
13121         (authors): Remove unused local variables.
13123 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13125         * profiler.el: Create a more coherent calltree from partial backtraces.
13126         (profiler-format): Hide the tail with `invisible' so that C-s can still
13127         find the hidden elements.
13128         (profiler-calltree-depth): Don't recurse so enthusiastically.
13129         (profiler-function-equal): New hash-table-test.
13130         (profiler-calltree-build-unified): New function.
13131         (profiler-calltree-build): Use it.
13132         (profiler-report-make-name-part): Indent the calltree less.
13133         (profiler-report-mode): Add visibility specs for profiler-format.
13134         (profiler-report-expand-entry, profiler-report-toggle-entry):
13135         Expand the whole subtree when provided with a prefix arg.
13137 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
13139         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
13140         iuwu-mod token.
13141         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
13142         hanging iuwu-mod token.
13143         (ruby-smie--forward-token): Do not include a dot after a token in
13144         that token.
13145         (ruby-smie--backward-token): Likewise.
13147 2013-10-08  Juri Linkov  <juri@jurta.org>
13149         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
13150         to isearch-other-control-char.
13151         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
13152         and isearch-post-command-hook to post-command-hook.
13153         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
13154         and isearch-post-command-hook from post-command-hook.
13155         (isearch-unread-key-sequence)
13156         (isearch-reread-key-sequence-naturally)
13157         (isearch-lookup-scroll-key, isearch-other-control-char)
13158         (isearch-other-meta-char): Remove functions.
13159         (isearch-pre-command-hook, isearch-post-command-hook):
13160         New functions based on isearch-other-meta-char rewritten
13161         relying on the new behavior of overriding-terminal-local-map
13162         that does not replace the local keymaps any more.  (Bug#15200)
13164 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
13166         Support menus on text-mode terminals.
13167         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
13168         functionality.
13170         * tooltip.el (tooltip-mode): Don't error out on TTYs.
13172         * menu-bar.el (popup-menu, popup-menu-normalize-position):
13173         Move here from mouse.el.
13174         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
13175         and arrow keys.
13176         (tty-menu-navigation-map): New map for TTY menu navigation.
13178         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
13180         * frame.el (display-mouse-p): Report text-mode mouse as available
13181         on w32.
13182         (display-popup-menus-p): Report availability if mouse is
13183         available; don't condition on window-system.
13185         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
13186         (tty-menu-selected-face): New faces.
13188 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13190         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
13191         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
13192         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
13193         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
13194         New constants.
13195         (lisp-mode-variables): New `elisp' argument.
13196         (emacs-lisp-mode): Use it.
13197         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
13198         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
13200         * indent.el: Use lexical-binding.
13201         (indent-region): Add progress reporter.
13202         (tab-stop-list): Make it implicitly extend to infinity by repeating the
13203         last step.
13204         (indent--next-tab-stop): New function to implement this behavior.
13205         (tab-to-tab-stop, move-to-tab-stop): Use it.
13207 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
13209         * indent.el (indent-rigidly--current-indentation): New function.
13210         (indent-rigidly-map): New var.
13211         (indent-rigidly): Use it to provide interactive mode (bug#8196).
13213 2013-10-08  Bastien Guerry  <bzg@gnu.org>
13215         * register.el (insert-register): Fix 2013-10-07 change.
13217 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13219         * progmodes/perl-mode.el: Use lexical-binding.
13220         Remove redundant :group args.
13221         (perl-nochange): Change default to be closer to other major modes's
13222         standard behavior.
13223         (perl-indent-line): Don't consider text on current line as a
13224         valid beginning of function from which to indent.
13226         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
13227         with more than one argument (bug#15538).
13229         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
13231         * vc/pcvs.el: Use lexical-binding.
13232         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
13233         environment of `eval'.
13234         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
13235         than a list of expressions.  Adjust callers.
13236         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
13238 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
13240         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
13241         case of the dot in a chained method call being on the following line.
13243 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13245         * electric.el (electric-indent-inhibit): New var.
13246         (electric-indent-post-self-insert-function): Use it.
13247         * progmodes/python.el (python-mode): Set it.
13249         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
13250         open braces.
13252         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
13254         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
13255         (css-mode): Use electric-indent-chars.
13257         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
13258         (font-lock-beg, font-lock-end): Move before first use.
13259         (nxml-mode): Use syntax-propertize-function.
13260         (nxml-after-change, nxml-after-change1): Adjust accordingly.
13261         (nxml-extend-after-change-region): Remove.
13262         * nxml/xmltok.el: Use lexical-binding.
13263         (xmltok-save): Use `declare'.
13264         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
13265         * nxml/nxml-util.el: Use lexical-binding.
13266         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
13267         Use `declare'.
13268         * nxml/nxml-ns.el: Use lexical-binding.
13269         (nxml-ns-save): Use `declare'.
13270         (nxml-ns-prefixes-for): Avoid add-to-list.
13271         * nxml/rng-match.el: Use lexical-binding.
13272         (rng--ipattern): Use cl-defstruct.
13273         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
13274         (rng-cons-group-after, rng-subst-group-after)
13275         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
13276         Use closures instead of `(lambda...).
13278 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
13280         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
13281         of BEG and END.
13283         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13284         Use `tramp-handle-insert-file-contents'.
13285         (tramp-gvfs-handle-insert-file-contents): Remove function.
13287         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13288         Use `save-restriction' in order to keep markers.
13290         * net/trampver.el: Update release number.
13292 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13294         * progmodes/compile.el (compilation-parse-errors):
13295         Use compilation--put-prop.
13296         (compilation--ensure-parse): Check compilation-multiline.
13298         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
13300         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
13301         lexical-binding.
13303         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
13305         * progmodes/ruby-mode.el: Fix recently added tests.
13306         (ruby-smie-grammar): Add - and +.
13307         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
13308         (ruby-smie--backward-id): New functions.
13309         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
13310         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
13311         any more.
13313 2013-10-07  Leo Liu  <sdl.web@gmail.com>
13315         * register.el (register-preview-delay)
13316         (register-preview-functions): New variables.
13317         (register-read-with-preview, register-preview)
13318         (register-describe-oneline): New functions.
13319         (point-to-register, window-configuration-to-register)
13320         (frame-configuration-to-register, jump-to-register)
13321         (number-to-register, view-register, insert-register)
13322         (copy-to-register, append-to-register, prepend-to-register)
13323         (copy-rectangle-to-register): Use register-read-with-preview to
13324         read register.  (Bug#15525)
13326 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
13328         * net/network-stream.el (network-stream-open-starttls): Don't add
13329         --insecure if it's already present, because that gnutls-cli
13330         rejects getting that parameter twice.
13332 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
13334         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
13335         keyword, too.
13337 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
13339         * newcomment.el (comment-use-global-state): Change default value
13340         to t, mark obsolete (Bug#15251).
13341         (comment-beginning): In addition to `comment-to-syntax', check the
13342         value of `comment-use-global-state'.
13344 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13346         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
13347         (ruby-comment-column): Follow the global default, by default.
13348         (ruby-smie-grammar): Add assignment syntax.
13349         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
13350         open-paren, a comma, or a \.
13351         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
13352         and line continuations.
13353         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
13354         followed by implicit semi-colons.  Add rule for string concatenation
13355         and for indentation at BOB.
13356         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
13358         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
13359         calling next-sexp, since next-token may have skipped chars which
13360         next-sexp doesn't know should be skipped!
13362 2013-10-05  Leo Liu  <sdl.web@gmail.com>
13364         * progmodes/octave.el (octave-send-region):
13365         Call compilation-forget-errors.
13367 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
13369         * vc/vc-svn.el (vc-svn-find-admin-dir):
13370         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
13371         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
13372         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
13373         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
13375 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13377         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
13379 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13381         * subr.el (read-passwd): Hide chars even when called within a context
13382         where after-change-functions is disabled (bug#15501).
13383         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
13384         until we removed ourself from overriding-terminal-local-map.
13386 2013-10-04  Leo Liu  <sdl.web@gmail.com>
13388         * progmodes/octave.el (inferior-octave-mode):
13389         Call compilation-forget-errors.
13391 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
13393         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
13395 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
13397         * net/secrets.el (secrets-create-collection): Add optional
13398         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
13399         dbus-call-method argument.  (Bug#15516)
13401 2013-10-04  Leo Liu  <sdl.web@gmail.com>
13403         * progmodes/octave.el (inferior-octave-error-regexp-alist)
13404         (inferior-octave-compilation-font-lock-keywords): New variables.
13405         (compilation-error-regexp-alist)
13406         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
13407         (inferior-octave-mode): Use compilation-shell-minor-mode.
13409 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
13411         * minibuffer.el (completion--replace): Be careful that `end' might be
13412         a marker.
13414 2013-10-03  Daiki Ueno  <ueno@gnu.org>
13416         Add support for package signature checking.
13417         * emacs-lisp/package.el (url-http-file-exists-p)
13418         (epg-make-context, epg-context-set-home-directory)
13419         (epg-verify-string, epg-context-result-for)
13420         (epg-signature-status, epg-signature-to-string)
13421         (epg-check-configuration, epg-configuration)
13422         (epg-import-keys-from-file): Declare.
13423         (package-check-signature): New user option.
13424         (package-unsigned-archives): New user option.
13425         (package-desc): Add `signed' field.
13426         (package-load-descriptor): Set `signed' field if .signed file exists.
13427         (package--archive-file-exists-p): New function.
13428         (package--check-signature): New function.
13429         (package-install-from-archive): Check package signature.
13430         (package--download-one-archive): Check archive signature.
13431         (package-delete): Remove .signed file.
13432         (package-import-keyring): New command.
13433         (package-refresh-contents): Import default keyring.
13434         (package-desc-status): Add "unsigned" status.
13435         (describe-package-1, package-menu--print-info)
13436         (package-menu-mark-delete, package-menu--find-upgrades)
13437         (package-menu--status-predicate): Support "unsigned" status.
13439 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13441         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
13442         the new compilation scheme using the new byte-codes.
13444         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
13445         (byte-pophandler): New byte codes.
13446         (byte-goto-ops): Adjust accordingly.
13447         (byte-compile--use-old-handlers): New var.
13448         (byte-compile-catch): Use new byte codes depending on
13449         byte-compile--use-old-handlers.
13450         (byte-compile-condition-case--old): Rename from
13451         byte-compile-condition-case.
13452         (byte-compile-condition-case--new): New function.
13453         (byte-compile-condition-case): New function that dispatches depending
13454         on byte-compile--use-old-handlers.
13455         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
13456         when we can.
13458         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
13459         Optimize under `condition-case' and `catch' if
13460         byte-compile--use-old-handlers is nil.
13461         (disassemble-offset): Handle new bytecodes.
13463 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13465         * subr.el (error): Use `declare'.
13466         (decode-char, encode-char): Use advertised-calling-convention instead
13467         of the docstring to discourage use of the `restriction' arg.
13469 2013-10-03  Daiki Ueno  <ueno@gnu.org>
13471         * epg.el (epg-verify-file): Add a comment saying that it does not
13472         notify verification error as a return value nor a signal.
13473         (epg-verify-string): Ditto.
13475 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
13477         * progmodes/compile.el (compilation-start): Try globbing the arg to
13478         `cd' (bug#15417).
13480 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
13482         Sync with Tramp 2.2.8.
13484         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
13485         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
13486         * net/trampver.el: Update release number.
13488 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
13490         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
13491         and default-process-coding-system for darwin only.
13493 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13495         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
13497 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
13499         * vc/vc-git.el (vc-git-grep): Disable pager.
13501 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
13503         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
13504         Use :url instead of :homepage, as per
13505         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
13507         * newcomment.el (comment-beginning): When `comment-use-syntax' is
13508         non-nil, use `syntax-ppss' (Bug#15251).
13510 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13512         * progmodes/octave.el (inferior-octave-startup-file):
13513         Prefer ~/.emacs.d/init_octave.m.
13515 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
13517         * emacs-lisp/package.el (package-desc-from-define):
13518         Accept additional arguments as plist, convert them to an alist and store
13519         them in the `extras' slot.
13520         (package-generate-description-file): Convert extras alist back to
13521         plist and append to the `define-package' form arguments.
13522         (package--alist-to-plist): New function.
13523         (package--ac-desc): Add `extras' slot.
13524         (package--add-to-archive-contents): Check if the archive-contents
13525         vector is long enough, and if it is, pass its `extras' slot value
13526         to `package-desc-create'.
13527         (package-buffer-info): Call `lm-homepage', pass the returned value
13528         to `package-desc-from-define'.
13529         (describe-package-1): Render the homepage button (Bug#13291).
13531         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13532         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
13534 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
13536         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
13537         and default-process-coding-system to utf-8-unix (Bug#15402).
13539 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
13541         * subr.el (looking-back): Do not recommend using looking-back.
13543 2013-09-28  Alan Mackenzie  <acm@muc.de>
13545         Fix indentation/fontification of Java enum with "implements".
13547         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
13548         regexp which matches "implements", etc., in Java.
13549         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
13550         specifier clauses coming after "enum".
13551         * progmodes/cc-fonts.el (c-font-lock-declarations)
13552         (c-font-lock-enum-tail): Check for extra specifier clauses coming
13553         after "enum".
13555 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
13557         * faces.el (region): Change ns_selection_color to
13558         ns_selection_fg_color, add ns_selection_bg_color.
13560 2013-09-28  Leo Liu  <sdl.web@gmail.com>
13562         * progmodes/octave.el (inferior-octave-completion-table)
13563         (inferior-octave-completion-at-point): Minor tweaks.
13565         * textmodes/ispell.el (ispell-lookup-words): Rename from
13566         lookup-words.  (Bug#15460)
13567         (lookup-words): Obsolete.
13568         (ispell-complete-word, ispell-command-loop): All uses changed.
13570 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13572         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
13573         (octave-mode-menu): Add octave-send-buffer.
13574         (octave-send-buffer): New function.
13576 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13578         * progmodes/octave.el (octave-mode-map): Add key binding for
13579         octave-lookfor.
13580         (octave-mode-menu): Add octave-lookfor.
13581         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
13582         octave-lookfor.
13583         (octave-lookfor): New function.
13585 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13587         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
13588         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
13589         its convention.
13590         (cl--loop-set-iterator-function): New function.
13591         (cl-loop): Adjust accordingly, so as not to use cl-subst.
13592         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
13593         Bind `it' with `let' instead of substituting it with `cl-subst'.
13594         (cl--unused-var-p): New function.
13595         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
13596         Eliminate some unused variable warnings (bug#15326).
13598 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
13600         * doc-view.el (doc-view-scale-reset): Rename from
13601         `doc-view-reset-zoom-level'.
13602         (doc-view-scale-adjust): New command.
13603         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
13604         `doc-view-scale-adjust'.
13606 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
13608         * doc-view.el (doc-view-reset-zoom-level): New command.
13609         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
13610         zoom commands (bug#15466).
13612 2013-09-26  Kenichi Handa  <handa@gnu.org>
13614         * international/quail.el (quail-help): Make it not a command.
13616 2013-09-26  Leo Liu  <sdl.web@gmail.com>
13618         * minibuffer.el (completion-all-sorted-completions): Make args
13619         optional as they are.
13621 2013-09-25  Daniel Colascione  <dancol@dancol.org>
13623         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
13624         specs are and that they're not evaluated.
13626 2013-09-24  Sam Steingold  <sds@gnu.org>
13628         * midnight.el (clean-buffer-list-kill-regexps)
13629         (clean-buffer-list-kill-buffer-names): Update for the new Man
13630         buffer naming which includes the object name.
13632 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13634         * eshell/esh-cmd.el (eshell--sep-terms): New var.
13635         (eshell-parse-command, eshell-parse-pipeline): Use it since
13636         eshell-separate-commands requires a dynamic scoped var.
13637         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
13639 2013-09-23  Leo Liu  <sdl.web@gmail.com>
13641         * autoinsert.el (auto-insert-alist): Make the value of
13642         lexical-binding match its file setting.
13644 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
13646         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
13648         * autoarg.el (autoarg-kp-digit-argument):
13649         * electric.el (Electric-command-loop):
13650         * kmacro.el (kmacro-step-edit-insert):
13651         Do not set universal-argument-num-events.
13653 2013-09-22  Leo Liu  <sdl.web@gmail.com>
13655         * files.el (interpreter-mode-alist): Add octave.
13657 2013-09-21  Alan Mackenzie  <acm@muc.de>
13659         C++: fontify identifier in declaration following "public:" correctly.
13660         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
13661         to match "public", etc.
13662         (c-decl-prefix-re): Add ":" into the C++ value.
13663         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
13664         bit.  Add a check for a ":" preceded by "public", etc.
13666 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
13668         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
13669         recognized by GDB 7.5 and later.
13671 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
13673         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
13675 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13677         * subr.el (internal--call-interactively): New const.
13678         (called-interactively-p): Use it (bug#3984).
13680 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
13682         * vc/pcvs.el (cvs-mode-ignore):
13683         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
13684         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
13686 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13688         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
13689         (eshell-ls-orig-insert-directory): Remove.
13690         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
13691         (eshell-ls-use-in-dired): Use advice-add/remove.
13692         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
13693         Add `orig-fun' arg for use in :around advice.
13694         Make it check (redundantly) eshell-ls-use-in-dired.
13696 2013-09-19  Glenn Morris  <rgm@gnu.org>
13698         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
13700         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
13702         * emacs-lisp/eieio.el (class-parent): Undo previous change.
13704 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
13706         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
13707         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
13708         (tramp-get-remote-python): New defuns.
13709         (tramp-get-remote-uid-with-perl)
13710         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
13711         contributed by yary <not.com@gmail.com> (tiny change).
13712         (tramp-get-remote-uid-with-python)
13713         (tramp-get-remote-gid-with-python): New defuns.  Python code
13714         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
13715         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
13717 2013-09-19  Glenn Morris  <rgm@gnu.org>
13719         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
13721         * eshell/em-unix.el (eshell-remove-entries):
13722         Rename argument to avoid name-clash with global `top-level'.
13724         * eshell/esh-proc.el (eshell-kill-process-function):
13725         Remove eshell-reset-after-proc from eshell-kill-hook if present.
13726         (eshell-reset-after-proc): Remove unused arg `proc'.
13728         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
13729         (directory-files-and-attributes): Mark unused arg.
13731         * eshell/em-unix.el (eshell-remove-entries):
13732         Remove unused arg `path'.  Update callers.
13734         * eshell/em-hist.el (eshell-hist-parse-arguments):
13735         Remove unused arg `silent'.  Update callers.
13737         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
13738         Fix (f)boundp mix-up.
13740         * eshell/em-smart.el (eshell-smart-scroll-window)
13741         (eshell-disable-after-change):
13742         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
13744 2013-09-18  Alan Mackenzie  <acm@muc.de>
13746         Fix fontification of type when followed by "const".
13747         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
13748         "known" types from fontification.
13750 2013-09-18  Glenn Morris  <rgm@gnu.org>
13752         * emacs-lisp/chart.el (x-display-color-cells): Declare.
13753         (chart-face-list): Drop Emacsen without display-color-p.
13755         * net/eww.el (libxml-parse-html-region): Declare.
13756         (eww-display-html): Explicit error if no libxml2 support.
13758         * doc-view.el (doc-view-mode): Silence --without-x compilation.
13760         * image.el (image-type-from-buffer, image-multi-frame-p):
13761         Remove --without-x warning/error.
13763         * mouse.el (mouse-yank-primary):
13764         * term.el (term-mouse-paste):
13765         Reorder to silence --without-x compilation.
13767         * mpc.el (doc-view-mode): Silence --without-x compilation.
13769         * mail/rmailmm.el (rmail-mime-set-bulk-data):
13770         Silence --without-x compilation.
13772         * progmodes/gud.el (gud-find-file, gud-mode):
13773         Silence --without-x compilation.
13774         (tooltip-mode): Declare.
13776         * wdired.el (dired-backup-overwrite): Remove declaration.
13777         (wdired-mode-map): Add doc string.
13779         * custom.el (x-get-resource): Declare.
13781         * eshell/em-glob.el (ange-cache):
13782         * eshell/em-unix.el (ange-cache): Declare.
13784         * faces.el (x-display-list, x-open-connection, x-get-resource):
13785         Declare.
13787         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
13788         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
13789         Declare.
13791         * frame.el (x-display-grayscale-p, x-display-name): Declare.
13793         * net/gnutls.el (gnutls-log-level): Declare.
13795         * net/shr.el (image-size, image-animate): Declare.
13797         * simple.el (font-info): Declare.
13799         * subr.el (x-popup-dialog): Declare.
13801         * term/common-win.el (x-select-enable-primary)
13802         (x-last-selected-text-primary, x-last-selected-text-clipboard):
13803         Declare.
13805         * term/ns-win.el (x-handle-args): Declare.
13807         * term/x-win.el (x-select-enable-clipboard): Declare.
13809         * term/w32-win.el (create-default-fontset): Declare.
13811         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
13812         Declare.
13814         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
13815         (fit-frame-to-buffer): Explicit error if --without-x.
13816         (mouse-autoselect-window-select): Silence compiler.
13818         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13820         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
13821         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
13822         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
13823         * eshell/esh-util.el (eshell-sublist):
13824         Remove unused local variables.
13826         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
13828         * textmodes/two-column.el: Make 2C-split work for --without-x.
13829         (scroll-bar-columns): Autoload.
13830         (top-level): Require fringe when compiling.
13832 2013-09-18  Leo Liu  <sdl.web@gmail.com>
13834         * subr.el (add-hook): Robustify to handle closure as well.
13836 2013-09-17  Glenn Morris  <rgm@gnu.org>
13838         * simple.el (messages-buffer-mode-map): Unbind "g".
13840 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13842         * help-mode.el (help-mode-finish): Use derived-mode-p.
13843         Remove obsolete highlighting.
13845         * play/life.el (life-mode): Use define-derived-mode.  Derive from
13846         special-mode.
13847         (life): Let-bind inhibit-read-only.
13848         (life-setup): Avoid `setq'.  Use `life-mode'.
13850         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
13851         which should not be needed any more.
13852         (package-menu-refresh, package-menu-describe-package): Use user-error.
13854         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
13855         (eshell-post-rewrite-command-hook): Make obsolete.
13856         (eshell-parse-command): Simplify.
13857         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
13858         (eshell--cmd): Declare.
13859         (eshell-parse-pipeline): Remove unused var `final-p'.
13860         Pass a dynvar to eshell-post-rewrite-command-hook.
13861         Implement the new eshell-post-rewrite-command-function.
13862         (eshell-invoke-directly): Remove unused arg `input'.
13863         * eshell/esh-io.el (eshell-io-initialize):
13864         Use eshell-post-rewrite-command-function (bug#15399).
13865         (eshell--apply-redirections): Rename from eshell-apply-redirections;
13866         adjust to new calling convention.
13867         (eshell-create-handles): Rename args to avoid clashing with dynvar
13868         `standard-output'.
13870 2013-09-17  Glenn Morris  <rgm@gnu.org>
13872         * simple.el (messages-buffer-mode): New major mode.
13873         (messages-buffer): New function.
13874         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
13875         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
13876         (ert-run-test): Use `messages-buffer' function.
13877         (ert--force-message-log-buffer-truncation): Ignore read-only.
13878         * help.el (view-echo-area-messages): Use `messages-buffer' function.
13879         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
13881 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13883         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
13885         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
13887 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13889         * icomplete.el (icomplete-in-buffer): New var.
13890         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
13891         vars and replace them with functions.
13892         (icomplete-minibuffer-setup): Adjust accordingly.
13893         (icomplete--completion-table, icomplete--completion-predicate)
13894         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
13895         New functions.
13896         (icomplete-forward-completions, icomplete-backward-completions)
13897         (icomplete-simple-completing-p, icomplete-exhibit)
13898         (icomplete-completions): Use them.
13899         (icomplete--in-region-buffer): New var.
13900         (icomplete--in-region-setup): New function.
13901         (icomplete-mode): Use it.
13903         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
13904         (bug#15379).
13905         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
13906         return args and options.
13907         (eshell-eval-using-options): Use the new return value of
13908         eshell--do-opts to set the options's vars in their scope.
13909         (eshell--set-option): Rename from eshell-set-option.
13910         Add arg `opt-vals'.
13911         (eshell--process-option): Rename from eshell-process-option.
13912         Add arg `opt-vals'.
13913         (eshell--process-args): Use an `opt-vals' alist to store the options's
13914         values during their processing and return them additionally to the
13915         remaining args.
13917 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
13919         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
13920         continuation character an operator, as far as indentation is
13921         concerned (Bug#15369).
13923 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
13925         * window.el (window--state-put-2): Don't process buffer state
13926         when buffer doesn't exist any more (Bug#15382).
13928 2013-09-15  Glenn Morris  <rgm@gnu.org>
13930         * eshell/em-unix.el (eshell/rm):
13931         Make -f ignore missing files.  (Bug#15373)
13933         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
13934         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
13935         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
13937 2013-09-14  Glenn Morris  <rgm@gnu.org>
13939         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
13941 2013-09-13  Glenn Morris  <rgm@gnu.org>
13943         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
13944         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
13946 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
13948         * frame.el (x-focus-frame): Mark as declared in frame.c.
13950 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13952         * ls-lisp.el: Use advice-add.
13953         (original-insert-directory): Remove.
13954         (ls-lisp--insert-directory): Rename from insert-directory; add
13955         `orig-fun' argument.
13956         (insert-directory): Advise.
13958 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
13960         * term.el (term-emulate-terminal): Decode the command string
13961         before passing it to term-command-hook.  (Bug#15337)
13963 2013-09-13  Glenn Morris  <rgm@gnu.org>
13965         * eshell/esh-util.el (ange-cache): Move declaration earlier.
13967         * eshell/esh-ext.el (eshell-search-path): Declare.
13969         * eshell/em-prompt.el (eshell/pwd): Autoload it.
13970         Otherwise an error occurs if eshell-dirs module not loaded.
13972         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
13974 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
13976         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
13977         `tramp-check-proper-host'.  Check for a valid method name.
13979         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
13980         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
13981         * net/tramp-sh.el (tramp-maybe-open-connection):
13982         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
13984         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
13985         also for hash values.
13987 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13989         * term/ns-win.el (parameters): Don't declare as dynamic.
13990         (before-make-frame-hook): Don't add ineffective function.
13992         * eshell/*.el: Use lexical-binding (bug#15231).
13994 2013-09-12  Kenichi Handa  <handa@gnu.org>
13996         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
13998 2013-09-12  Glenn Morris  <rgm@gnu.org>
14000         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
14001         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
14003         * subr.el (do-after-load-evaluation): Also give compiler warnings
14004         when obsolete files are used (except by obsolete files).
14006         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
14007         in the status output, assume `filename' is the first.  (Bug#15322)
14009         * vc/vc.el (vc-deduce-fileset): Doc fix.
14011         * calc/calc-help.el (Info-goto-node):
14012         * progmodes/cperl-mode.el (Info-find-node):
14013         * vc/ediff.el (Info-goto-node): Update declarations.
14015         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
14017         * vc/vc-bzr.el (vc-compilation-mode): Declare.
14018         (vc-bzr-pull): Require vc-dispatcher.
14019         * vc/vc-git.el (vc-compilation-mode): Declare.
14020         (vc-git-pull): Require vc-dispatcher.
14022         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
14024         * progmodes/octave.el (help-button-action): Declare.
14026         * shell.el (shell-directory-tracker): Output error as a message
14027         rather than just returning it as a string.
14028         (shell-process-pushd): Remove useless use of message.
14030         * dframe.el (dframe-timer-fn):
14031         * files.el (dir-locals-read-from-file):
14032         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
14033         (mpc-format):
14034         * reveal.el (reveal-post-command):
14035         * saveplace.el (load-save-place-alist-from-file):
14036         * shell.el (shell-resync-dirs):
14037         * w32-common-fns.el (x-get-selection-value):
14038         * emacs-lisp/copyright.el (copyright-find-copyright):
14039         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
14040         * emulation/tpu-edt.el (tpu-copy-keyfile):
14041         * play/bubbles.el (bubbles--mark-neighbourhood):
14042         * progmodes/executable.el
14043         (executable-make-buffer-file-executable-if-script-p):
14044         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
14046 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14048         Cleanup Eshell to rely less on dynamic scoping.
14049         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
14050         last-value, and ext-command here.  Bind `args' closer to `body'.
14051         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
14052         (eshell--args): Declare new dynamic var.
14053         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
14054         last-value, and ext-command.  Pass `args' to `body'.
14055         (eshell-process-args): Bind eshell--args.
14056         (eshell-set-option): Use eshell--args.
14057         * eshell/eshell.el (eshell): Use derived-mode-p.
14058         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
14059         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
14060         (eshell-glob-function): Declare.
14061         * eshell/esh-util.el: Require cl-lib.
14062         (eshell-read-hosts-file): Avoid add-to-list.
14063         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
14064         `err'.
14065         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
14066         Declare.
14067         (eshell/diff): Remove unused var `err'.
14068         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
14069         `killflag'.
14070         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
14071         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
14072         first use.
14073         * eshell/em-glob.el (eshell-glob-matches, message-shown):
14074         Move declaration before first use.
14075         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
14076         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
14077         rely on cl-return.
14079 2013-09-12  Glenn Morris  <rgm@gnu.org>
14081         * term/ns-win.el (global-map): Remove binding for ispell-next,
14082         deleted 1999-05-29.  (Bug#15357)
14084 2013-09-11  Glenn Morris  <rgm@gnu.org>
14086         * echistory.el (electric-command-history): Remove call to deleted func.
14088         * play/landmark.el (landmark-mode): Fix typos.
14090         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
14091         Check cvs-sort-ignore-file is bound.
14093         * savehist.el: No need for cl when compiling on Emacs.
14095 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14097         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
14098         (bug#15338).
14099         (eshell-self-insert-command, eshell-send-invisible):
14100         Remove unused argument.
14101         (eshell-handle-control-codes): Remove unused var `orig'.
14102         Avoid delete-backward-char.
14104         * files.el (set-auto-mode): Simplify a bit further.
14106 2013-09-11  Glenn Morris  <rgm@gnu.org>
14108         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
14109         (set-auto-mode): Don't regexp-quote elements.
14110         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
14111         * progmodes/cc-mode.el (interpreter-mode-alist):
14112         * progmodes/ruby-mode.el (interpreter-mode-alist):
14113         Revert previous change.
14115 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14117         * play/snake.el (snake-mode):
14118         * play/mpuz.el (mpuz-mode):
14119         * play/landmark.el (lm-mode):
14120         * play/blackbox.el (blackbox-mode):
14121         * play/5x5.el (5x5-mode):
14122         * obsolete/options.el (Edit-options-mode):
14123         * net/quickurl.el (quickurl-list-mode):
14124         * net/newst-treeview.el (newsticker-treeview-mode):
14125         * mail/rmailsum.el (rmail-summary-mode):
14126         * mail/mspools.el (mspools-mode):
14127         * locate.el (locate-mode):
14128         * ibuffer.el (ibuffer-mode):
14129         * emulation/ws-mode.el (wordstar-mode):
14130         * emacs-lisp/debug.el (debugger-mode):
14131         * array.el (array-mode):
14132         * net/eudc.el (eudc-mode): Use define-derived-mode.
14133         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
14134         Move initialization into declaration.
14135         (mairix-searches-mode): Use define-derived-mode.
14136         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
14137         (eudc-edit-hotlist): Use dolist.
14138         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
14139         (Man-mode): Use define-derived-mode.
14140         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
14141         (Info-edit-mode): Use define-derived-mode.
14142         (Info-cease-edit): Use Info-mode.
14143         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
14144         into declaration.
14145         (eshell-mode): Use define-derived-mode.
14146         * chistory.el (command-history-mode-map): Rename from
14147         command-history-map.
14148         (command-history-mode): Use define-derived-mode.
14149         (Command-history-setup): Remove function.
14150         * calc/calc.el (calc-trail-mode-map): New var.
14151         (calc-trail-mode): Use define-derived-mode.
14152         (calc-trail-buffer): Set calc-main-buffer manually.
14153         * bookmark.el (bookmark-insert-annotation): New function.
14154         (bookmark-edit-annotation): Use it.
14155         (bookmark-edit-annotation-mode): Make it a proper major mode.
14156         (bookmark-send-edited-annotation): Use derived-mode-p.
14157         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
14158         closer to its ideal place.  Use \' to match EOS.
14160         * profiler.el (profiler-calltree-find): Use function-equal.
14162 2013-09-10  Glenn Morris  <rgm@gnu.org>
14164         * files.el (interpreter-mode-alist): Convert to regexps.
14165         (set-auto-mode): Adapt for this.  (Bug#15306)
14166         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
14167         Comment out unused variable.
14168         * progmodes/cc-mode.el (interpreter-mode-alist):
14169         * progmodes/python.el (interpreter-mode-alist):
14170         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
14171         * progmodes/sh-script.el (sh-set-shell):
14172         No longer use interpreter-mode-alist to get list of shells.
14174         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
14176 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14178         * simple.el: Use set-temporary-overlay-map for universal-argument.
14179         (universal-argument-map): Don't use default-bindings (bug#15317).
14180         Bind switch-frame explicitly.  Replace universal-argument-minus with
14181         a conditional binding.
14182         (universal-argument-num-events, saved-overriding-map): Remove.
14183         (restore-overriding-map): Remove.
14184         (universal-argument--mode): Rename from save&set-overriding-map,
14185         and rewrite.
14186         (universal-argument, universal-argument-more, negative-argument)
14187         (digit-argument): Adjust accordingly.
14188         (universal-argument-minus): Remove.
14189         (universal-argument-other-key): Remove.
14191         * subr.el (with-demoted-errors): Add `format' argument.
14193 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
14195         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
14196         `tramp-cleanup-connection'.
14198         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
14199         parameters KEEP-DEBUG and KEEP-PASSWORD.
14201         * net/tramp.el (tramp-file-name-handler):
14202         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
14203         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14204         (tramp-maybe-open-connection):
14205         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
14206         Use `tramp-cleanup-connection'.
14208         * net/tramp-sh.el (tramp-maybe-open-connection):
14209         Catch 'uname-changed inside the progress reporter.
14211 2013-09-10  Glenn Morris  <rgm@gnu.org>
14213         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
14215         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
14216         returns "alternate access method" in mode (eg "-rw-r--r--.").
14218 2013-09-08  Glenn Morris  <rgm@gnu.org>
14220         * saveplace.el (load-save-place-alist-from-file):
14221         Demote errors.  (Bug#15305)
14223 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
14225         Improve compatibility with older Emacsen, and XEmacs.
14227         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
14228         only if it is bound.  It isn't for XEmacs.
14229         (with-tramp-progress-reporter): Do not let-bind `result'.
14230         This yields to scoping errors in XEmacs.
14231         (tramp-handle-make-auto-save-file-name): New function, moved from
14232         tramp-sh.el.
14234         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
14235         for `make-auto-save-file-name'.
14236         (tramp-adb--gnu-switches-to-ash):
14237         Use `tramp-compat-replace-regexp-in-string'.
14239         * net/tramp-cache.el (tramp-cache-print): Call
14240         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
14242         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
14243         bound.  It isn't for XEmacs.
14245         * net/tramp-compat.el (tramp-compat-copy-file):
14246         Catch `wrong-number-of-arguments' error.
14247         (tramp-compat-replace-regexp-in-string): New defun.
14249         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
14250         for `make-auto-save-file-name'.
14251         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
14252         `copy-file'.
14253         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
14254         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
14255         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
14257         * net/tramp-gw.el (tramp-gw-open-network-stream):
14258         Use `tramp-compat-replace-regexp-in-string'.
14260         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
14261         Call `tramp-handle-make-auto-save-file-name'.
14262         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
14263         (tramp-sh-file-gvfs-monitor-dir-process-filter)
14264         (tramp-sh-file-inotifywait-process-filter):
14265         Use `tramp-compat-replace-regexp-in-string'.
14266         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
14268         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
14269         for `make-auto-save-file-name'.
14270         (tramp-smb-handle-copy-directory):
14271         Call `tramp-compat-replace-regexp-in-string'.
14272         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
14273         (tramp-smb-handle-copy-file): Improve error message.
14274         (tramp-smb-handle-rename-file): Rename directly only in case
14275         `newname' does not exist yet.  This is a restriction of smbclient.
14276         (tramp-smb-maybe-open-connection): Rerun the function only when
14277         `auth-sources' is non-nil.
14279 2013-09-08  Kenichi Handa  <handa@gnu.org>
14281         * international/characters.el: Set category "^" (Combining) for
14282         more characters.
14284 2013-09-07  Alan Mackenzie  <acm@muc.de>
14286         Correctly fontify Java class constructors.
14287         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
14288         in Java Mode.
14289         (c-recognize-typeless-decls): Set the Java value to t.
14290         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14291         While handling a "(", add a check for, effectively, Java, and handle a
14292         "typeless" declaration there.
14294 2013-09-07  Roland Winkler  <winkler@gnu.org>
14296         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
14297         field subtitle for entry type book.
14299 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14301         * minibuffer.el: Make minibuffer-complete call completion-in-region
14302         rather than other way around.
14303         (completion--some, completion-pcm--find-all-completions):
14304         Don't delay signals when debugging.
14305         (minibuffer-completion-contents): Beware fields within the
14306         minibuffer contents.
14307         (completion-all-sorted-completions): Use defvar-local.
14308         (completion--do-completion, completion--cache-all-sorted-completions)
14309         (completion-all-sorted-completions, minibuffer-force-complete):
14310         Add args `beg' and `end'.
14311         (completion--in-region-1): New fun, extracted from minibuffer-complete.
14312         (minibuffer-complete): Use completion-in-region.
14313         (completion-complete-and-exit): New fun, extracted from
14314         minibuffer-complete-and-exit.
14315         (minibuffer-complete-and-exit): Use it.
14316         (completion--complete-and-exit): Rename from
14317         minibuffer--complete-and-exit.
14318         (completion-in-region--single-word): New function, extracted from
14319         minibuffer-complete-word.
14320         (minibuffer-complete-word): Use it.
14321         (display-completion-list): Make `common-substring' argument obsolete.
14322         (completion--in-region): Call completion--in-region-1 instead of
14323         minibuffer-complete.
14324         (completion-help-at-point): Pass boundaries to
14325         minibuffer-completion-help as args rather than via an overlay.
14326         (completion-pcm--string->pattern): Use `any-delim'.
14327         (completion-pcm--optimize-pattern): New function.
14328         (completion-pcm--pattern->regex): Handle `any-delim'.
14329         * icomplete.el (icomplete-forward-completions)
14330         (icomplete-backward-completions, icomplete-completions):
14331         Adjust calls to completion-all-sorted-completions and
14332         completion--cache-all-sorted-completions.
14333         (icomplete-with-completion-tables): Default to t.
14334         * emacs-lisp/crm.el (crm--current-element): Rename from
14335         crm--select-current-element.  Don't put an overlay but return the
14336         boundaries instead.
14337         (crm--completion-command): Take two new args to bind to the boundaries.
14338         (crm-completion-help): Adjust accordingly.
14339         (crm-complete): Use completion-in-region.
14340         (crm-complete-word): Use completion-in-region--single-word.
14341         (crm-complete-and-exit): Use completion-complete-and-exit.
14343 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14345         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
14346         than dynamically.
14348 2013-09-06  Juri Linkov  <juri@jurta.org>
14350         * info.el (Info-display-images-node): When image file doesn't exist
14351         display text version of the image if it's provided in the Info file.
14352         Otherwise, display the location of missing image from SRC attribute.
14353         Add help-echo text property from ALT attribute.  (Bug#15279)
14355 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14357         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
14358         (edit-abbrevs-mode): Use define-derived-mode.
14360         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
14361         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
14362         that it's defined.
14363         (epa-key-list-mode, epa-key-mode, epa-info-mode):
14364         Use define-derived-mode.
14366         * epg.el (epg-start-encrypt): Minor CSE simplification.
14368 2013-09-06  William Xu  <william.xwl@gmail.com>
14370         * arc-mode.el: Add support for 7za (bug#15264).
14371         (archive-7z-program): New var.
14372         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
14373         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
14374         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
14376 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
14378         Remove URL syntax.
14380         * net/tramp.el (tramp-syntax, tramp-prefix-format)
14381         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
14382         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
14383         (tramp-postfix-host-format, tramp-file-name-regexp)
14384         (tramp-completion-file-name-regexp)
14385         (tramp-completion-dissect-file-name)
14386         (tramp-handle-substitute-in-file-name): Remove 'url case.
14387         (tramp-file-name-regexp-url)
14388         (tramp-completion-file-name-regexp-url): Remove constants.
14390 2013-09-06  Glenn Morris  <rgm@gnu.org>
14392         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
14394 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
14396         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
14397         keywords" below "here-doc beginnings" (Bug#15270).
14399 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14401         * subr.el (pop): Use `car-safe'.
14402         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
14403         to detect unused `pop' return value.
14405         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
14406         var `block-regexp'.
14407         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
14408         (python-fill-string): Remove unused var `marker'.
14409         (python-skeleton-add-menu-items): Remove unused var `items'.
14411         * international/mule-cmds.el: Require CL.
14412         (find-coding-systems-for-charsets): Avoid add-to-list.
14413         (sanitize-coding-system-list): New function, extracted from
14414         select-safe-coding-system-interactively.
14415         (select-safe-coding-system-interactively): Use it.
14416         (read-input-method-name): Accept symbols for `default'.
14418         * emacs-lisp/advice.el (defadvice): Add indent rule.
14420 2013-09-05  Daniel Hackney  <dan@haxney.org>
14422         * dired-x.el:
14423         * net/ange-ftp.el:
14424         * net/browse-url.el:
14425         * net/dbus.el:
14426         * net/eudc.el:
14427         * net/eudcb-ldap.el:
14428         * net/eww.el:
14429         * net/imap.el:
14430         * printing.el:
14431         * vc/ediff-diff.el:
14432         * vc/ediff-init.el:
14433         * vc/ediff-merg.el:
14434         * vc/ediff-mult.el:
14435         * vc/ediff-util.el:
14436         * vc/ediff-wind.el:
14437         * vc/ediff.el:
14438         * vc/emerge.el:
14439         * vc/pcvs.el:
14440         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
14441         byte compiler.  Remove some unused let-bound variables.
14443 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14445         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
14446         a "ref-cell", since it gets better optimized (bug#14883).
14448 2013-09-05  Glenn Morris  <rgm@gnu.org>
14450         * progmodes/cc-awk.el (c-forward-sws): Declare.
14452 2013-09-04  Glenn Morris  <rgm@gnu.org>
14454         * generic-x.el [rul-generic-mode]: Require cc-mode.
14455         (c++-mode-syntax-table): Declare.
14456         (rul-generic-mode-syntax-table): Init in the defvar.
14458 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14460         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
14461         (vc-do-command, vc-set-async-update):
14462         * vc/vc-mtn.el (vc-mtn-dir-status):
14463         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
14464         (vc-hg-pull, vc-hg-merge-branch):
14465         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
14466         (vc-git-merge-branch):
14467         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
14468         (vc-cvs-dir-status-files):
14469         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
14470         (vc-bzr-dir-status-files):
14471         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
14472         * vc/vc-annotate.el: Use lexical-binding.
14473         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
14474         (vc-sentinel-movepoint): Declare.
14475         (vc-annotate): Don't use `goto-line'.
14476         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
14477         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
14478         (vc-sentinel-movepoint): Declare.
14479         * vc/vc-svn.el: Use lexical-binding.
14480         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
14481         * vc/vc-sccs.el:
14482         * vc/vc-rcs.el: Use lexical-binding.
14484         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
14485         `deleted'.  Don't drop errors silently.
14487         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
14489 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
14491         * vc/vc.el (vc-ignore): Rewrite.
14492         (vc-default-ignore): New function.
14493         (vc-default-ignore-completion-table): Use find-ignore-file.
14495         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
14496         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
14497         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
14498         Remove.  Most code moved to vc.el.
14500 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14502         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
14503         * net/tramp-smb.el (tramp-smb-get-file-entries):
14504         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
14505         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
14507         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
14508         Update call to it.
14509         (eww-change-select): Remove unused var `properties'.
14510         (eww-make-unique-file-name): Remove unused var `base'.
14512         * finder.el (finder-compile-keywords): Don't mess with windows.
14514         * calculator.el (calculator-funcall): Fix typo in last change.
14516         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
14518         * emacs-lisp/package.el (package-activate-1): Don't let a missing
14519         <pkg>-autoloads.el file stop us.
14521         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14522         warnings, and factor out common code.
14524 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
14526         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
14527         two-character operators and whether the character preceding them
14528         changes their meaning (Bug#15208).
14530 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14532         Format code sent to Python shell for robustness.
14533         * progmodes/python.el (python-shell-buffer-substring):
14534         New function.
14535         (python-shell-send-region, python-shell-send-buffer): Use it.
14537 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
14539         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
14540         * net/tramp.el (tramp-user-error): ... here.
14541         (tramp-find-method, tramp-check-proper-host)
14542         (tramp-dissect-file-name, tramp-debug-message)
14543         (tramp-handle-shell-command):
14544         * net/tramp-adb.el (tramp-adb-handle-shell-command):
14545         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
14547         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
14549 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
14551         * avoid.el (mouse-avoidance-point-position)
14552         (mouse-avoidance-too-close-p): Handle case where posn-at-point
14553         returns nil.
14555 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14557         * progmodes/python.el (python-shell-completion-get-completions):
14558         Drop use of deleted `comint-last-prompt-overlay'.
14559         (python-nav-if-name-main): New command.
14561 2013-09-01  Glenn Morris  <rgm@gnu.org>
14563         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
14564         Avoid leading space in $wins.  Otherwise the sed command used by
14565         eg compile-main ends up containing "/*.el".  (Bug#15170)
14567         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
14569 2013-08-30  Glenn Morris  <rgm@gnu.org>
14571         * emacs-lisp/bytecomp.el (byte-recompile-directory):
14572         Fix is-this-a-directory logic.  (Bug#15220)
14574 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14576         * textmodes/css-mode.el: Use SMIE.
14577         (css-smie-grammar): New var.
14578         (css-smie--forward-token, css-smie--backward-token)
14579         (css-smie-rules): New functions.
14580         (css-mode): Use them.
14581         (css-navigation-syntax-table): Remove var.
14582         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
14583         (css-indent-calculate, css-indent-line): Remove functions.
14585         Misc changes to reduce use of `(lambda...); and other cleanups.
14586         * cus-edit.el: Use lexical-binding.
14587         (customize-push-and-save, customize-apropos)
14588         (custom-buffer-create-internal): Use closures.
14589         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
14590         * progmodes/ada-xref.el: Use setq.
14591         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
14592         * dframe.el: Use lexical-binding.
14593         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
14594         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
14595         * descr-text.el: Use lexical-binding.
14596         (describe-text-widget, describe-text-sexp, describe-property-list):
14597         Use closures.
14598         * comint.el (comint-history-isearch-push-state): Use a closure.
14599         * calculator.el: Use lexical-binding.
14600         (calculator-number-to-string): Make it work with lexical-binding.
14601         (calculator-funcall): Same and use cl-letf.
14603         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
14604         (lisp--company-doc-string, lisp--company-location): New functions.
14605         (lisp-completion-at-point): Use them to improve Company support.
14607         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
14608         params of lambda expressions.
14609         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
14610         (ruby-smie--opening-pipe-p): New function.
14611         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
14612         symbols and matched |...| for formal params.
14613         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
14614         from being treated as hanging.  Handle "rescue".
14616 2013-08-29  Glenn Morris  <rgm@gnu.org>
14618         * progmodes/cc-engine.el (c-pull-open-brace):
14619         Move definition before use.
14621 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14623         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
14624         are immutable.  Don't use `unsafe' any more.
14625         (cl--defsubst-expand): Don't substitute at the same time as keeping
14626         a residual unused let-binding.  Don't use `unsafe' any more.
14628 2013-08-29  Glenn Morris  <rgm@gnu.org>
14630         * calendar/cal-china.el (calendar-chinese-year-cache):
14631         Recenter on 2015.
14633         * nxml/nxml-util.el (nxml-debug-clear-inside):
14634         Use cl-loop rather than loop.
14636         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
14638         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
14640 2013-08-28  Glenn Morris  <rgm@gnu.org>
14642         * progmodes/antlr-mode.el: No need to require cc-mode twice.
14644         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
14646         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
14648 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14650         * simple.el (repeat-complex-command--called-interactively-skip):
14651         New function.
14652         (repeat-complex-command): Use it (bug#14136).
14654         * progmodes/cc-mode.el: Minor cleanup of var declarations.
14655         (c-define-abbrev-table): Add `doc' argument.
14656         (c-mode-abbrev-table, c++-mode-abbrev-table)
14657         (objc-mode-abbrev-table, java-mode-abbrev-table)
14658         (idl-mode-abbrev-table, pike-mode-abbrev-table)
14659         (awk-mode-abbrev-table): Use it.
14660         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
14661         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
14662         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
14663         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
14664         Move initialization into the declaration; and remove any
14665         autoload cookie.
14667         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
14668         and dynamic let binding.
14670         * vc/smerge-mode.el: Remove redundant :group args.
14672         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
14673         to load-path.
14675 2013-08-28  Juri Linkov  <juri@jurta.org>
14677         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
14678         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
14679         (isearch-other-meta-char): Handle an undefined shifted printing
14680         character by downshifting it.  (Bug#15200)
14682 2013-08-28  Juri Linkov  <juri@jurta.org>
14684         * isearch.el (isearch-search): Change regexp error message for
14685         non-regexp searches.  (Bug#15166)
14687 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
14689         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
14690         for portability to hosts where /bin/sh has problems.
14692 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14694         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
14696 2013-08-27  Juri Linkov  <juri@jurta.org>
14698         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
14699         in the keyboard macro.  (Bug#15126)
14701 2013-08-27  Juri Linkov  <juri@jurta.org>
14703         * isearch.el (isearch-quote-char): Comment out converting unibyte
14704         to multibyte, thus syncing with its `quoted-insert' counterpart.
14705         (Bug#15166)
14707 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
14709         * window.el (display-buffer-use-some-window): Add missing
14710         argument in call of get-largest-window (Bug#15185).
14711         Reported by Stephen Leake.
14713 2013-08-27  Glenn Morris  <rgm@gnu.org>
14715         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
14717 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14719         * progmodes/python.el (python-font-lock-keywords): Don't return nil
14720         from a matcher-function unless there's no more matches (bug#15161).
14722 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
14724         * minibuffer.el: Revert change from 2013-08-20.
14726         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
14727         with text property `tramp-default', if appropriate.
14728         (tramp-check-proper-host): New defun.
14729         (tramp-dissect-file-name): Do not check hostname.  Revert change
14730         of 2013-03-18.
14731         (tramp-backtrace): Make VEC-OR-PROC optional.
14733         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
14734         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
14735         * net/tramp-sh.el (tramp-maybe-open-connection):
14736         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
14737         Apply `tramp-check-proper-host'.
14739 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
14741         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
14742         lambda expression in order to have `describe-variable' display it.
14744 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
14746         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
14747         BUF can be optional.  (Bug#15186)
14749 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
14751         * progmodes/flymake.el (flymake-get-real-file-name-function):
14752         Fix broken customization.  (Bug#15184)
14754 2013-08-25  Alan Mackenzie  <acm@muc.de>
14756         Improve indentation of bracelists defined by macros (without "=").
14758         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
14759         expansion begins with "{", regard it as bracelist when it doesn't
14760         contain a ";".
14762         Parse C++ inher-intro when there's a template split over 2 lines.
14764         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
14765         rigorously the search for "class" etc. followed by ":".
14767         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
14768         random languages a regexp which never matches rather than nil.
14770         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
14772         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
14773         (c-awk-regexp-one-line-possibly-open-char-list-re)
14774         (c-awk-one-line-possibly-open-regexp-re)
14775         (c-awk-one-line-non-syn-ws*-re): Remove.
14776         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
14777         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
14778         (c-awk-space*-unclosed-regexp-/-re): New constants.
14779         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
14780         aren't regexp delimiters.
14782         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
14783         handling for a rare situation in AWK Mode involving unterminated
14784         strings/regexps.
14786 2013-08-23  Glenn Morris  <rgm@gnu.org>
14788         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
14790         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
14792         * files.el (create-file-buffer): If the result would begin with
14793         spaces, prepend a "|" instead of removing them.  (Bug#15162)
14795 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14797         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
14798         text-properties (bug#15155).
14800         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
14801         exist any more.
14802         (calc-keypad-redraw): Remove unused var `pad'.
14803         (calc-keypad-press): Remove unused var `menu'.
14805 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
14807         * window.el (display-buffer-pop-up-frame):
14808         Call pop-up-frame-function with BUFFER current so `make-frame' will
14809         use it as the new frame's buffer (Bug#15133).
14811 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14813         * calendar/timeclock.el: Minor cleanups.
14814         (timeclock-ask-before-exiting, timeclock-use-display-time):
14815         Use `symbol'.
14816         (timeclock-modeline-display): Define as alias before the
14817         actual definition.
14818         (timeclock-mode-line-display): Use define-minor-mode.
14819         (timeclock-day-list-template): Make it a function, add an argument.
14820         (timeclock-day-list-required, timeclock-day-list-length)
14821         (timeclock-day-list-debt, timeclock-day-list-span)
14822         (timeclock-day-list-break): Adjust calls accordingly.
14824 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14826         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
14827         Use read--expression so that completion works again.
14829 2013-08-21  Sam Steingold  <sds@gnu.org>
14831         Add rudimentary inferior shell interaction
14832         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
14833         (sh-set-shell): Reset it.
14834         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
14835         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
14837 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14839         * align.el: Use lexical-binding.
14840         (align-region): Simplify accordingly.
14842 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
14844         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
14846         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
14847         `non-essential' up.
14849 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
14851         * net/tramp.el:
14852         * net/tramp-adb.el:
14853         * net/tramp-cmds.el:
14854         * net/tramp-ftp.el:
14855         * net/tramp-gvfs.el:
14856         * net/tramp-gw.el:
14857         * net/tramp-sh.el: Don't wrap external variable declarations by
14858         `eval-when-compile'.
14860 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14862         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
14863         now that Emacs supports ImageMagick animations.
14865 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
14867         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
14868         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
14870 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
14872         * window.el (mouse-autoselect-window-select): Do autoselect when
14873         mouse pointer is on margin.
14875 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
14877         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
14879 2013-08-16  Glenn Morris  <rgm@gnu.org>
14881         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
14882         Handle "Remote Directory" response of some clients.  (Bug#15058)
14884         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
14885         Tweak warning.  (Bug#14926)
14887         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
14888         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
14890         * image-mode.el (image-mode-map): Add menu items to reverse,
14891         increase, decrease, reset animation speed.
14892         (image--set-speed, image-increase-speed, image-decrease-speed)
14893         (image-reverse-speed, image-reset-speed): New functions.
14894         (image-mode-map): Add bindings for speed commands.
14896         * image.el (image-animate-get-speed, image-animate-set-speed):
14897         New functions.
14898         (image-animate-timeout): Respect image :speed property.
14900 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14902         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
14903         previous line (bug#15101).
14904         (debugger-eval-expression, debugger-record-expression):
14905         Use read--expression (bug#15102).
14907 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
14909         Remove byte compiler warnings, visible when compiling with
14910         `byte-compile-force-lexical-warnings' set to t.
14912         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
14913         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
14914         (tramp-handle-unhandled-file-name-directory)
14915         (tramp-handle-file-notify-add-watch, tramp-action-login)
14916         (tramp-action-succeed, tramp-action-permission-denied)
14917         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
14918         arguments with "_".
14920         * net/tramp-adb.el (tramp-adb-parse-device-names)
14921         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
14922         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
14923         (tramp-adb-handle-file-truename): Remove unused arguments.
14925         * net/tramp-cache.el (tramp-flush-directory-property)
14926         (tramp-flush-connection-property, tramp-list-connections)
14927         (tramp-parse-connection-properties): Prefix unused arguments with "_".
14929         * net/tramp-compat.el (tramp-compat-make-temp-file):
14930         Rename FILENAME to F.
14932         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
14933         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
14934         (tramp-zeroconf-parse-workstation-device-names)
14935         (tramp-zeroconf-parse-webdav-device-names)
14936         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
14938         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
14939         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
14941         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
14942         arguments.
14943         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
14944         (tramp-sh-handle-insert-file-contents-literally)
14945         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
14946         with "_".
14947         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
14948         Remove unused variables.
14950         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14951         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
14952         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
14954         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
14955         Make them a defconst.
14956         (tramp-uuencode-region): Remove unused variable.
14958 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
14960         * frameset.el (frameset--prop-setter): New function.
14961         (frameset-prop): Add gv-setter declaration.
14962         (frameset-filter-minibuffer): Deal with the case that the minibuffer
14963         parameter was already set in FILTERED.  Doc fix.
14964         (frameset--record-minibuffer-relationships): Allow saving a
14965         minibufferless frame without its corresponding minibuffer frame.
14966         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
14967         frame, if the frame id matches.
14968         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
14969         frames before orphaned ones.
14970         (frameset-restore): Warn about orphaned windows, instead of error out.
14972 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
14974         * window.el (window-make-atom): Don't overwrite parameter
14975         already present.
14976         (display-buffer-in-atom-window): Handle special case where we
14977         split an already atomic window.
14978         (window--major-non-side-window, display-buffer-in-side-window)
14979         (window--side-check): Ignore minibuffer window when walking
14980         window tree.
14981         (window-deletable-p): Return 'frame only if no other frame uses
14982         our minibuffer window.
14983         (record-window-buffer): Run buffer-list-update-hook.
14984         (split-window): Make sure window--check-frame won't destroy an
14985         existing atomic window in case the new window gets nested
14986         inside.
14987         (display-buffer-at-bottom): Ignore minibuffer window when
14988         walking window tree.  Don't split a side window.
14989         (pop-to-buffer): Don't set-buffer here, the select-window call
14990         should do that.
14991         (mouse-autoselect-window-select): Autoselect only if we are in the
14992         text portion of the window.
14994 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14996         * net/shr.el (shr-parse-image-data): New function to grab both the
14997         data itself and the Content-Type.
14998         (shr-put-image): Use it.
15000         * net/eww.el (eww-display-image): Ditto.
15002         * image.el (image-content-type-suffixes): New variable.
15004 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15006         * progmodes/python.el (python-imenu--build-tree)
15007         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
15009 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
15011         * simple.el (backward-word): Mention the optional argument.
15013 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15015         * frameset.el (frameset--make): Rename constructor from make-frameset.
15016         (frameset-p, frameset-valid-p): Don't autoload.
15017         (frameset-valid-p): Use normal accessors.
15019 2013-08-13  Glenn Morris  <rgm@gnu.org>
15021         * progmodes/compile.el (compile-command): Tweak example in doc.
15022         * obsolete/scribe.el (scribe-mode):
15023         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
15025         * mail/feedmail.el (feedmail-confirm-outgoing)
15026         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
15028         * cus-start.el (truncate-partial-width-windows): Fix type.
15030         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
15032         * net/shr.el (shr-table-horizontal-line): Fix custom type.
15034 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15036         * emacs-lisp/timer.el (timer--time-setter): New function.
15037         (timer--time): Use it as gv-setter.
15039         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
15040         setter is not a symbol.
15042 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
15044         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
15045         if sending fails.  This makes debugging easier.
15047 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
15049         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
15050         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
15051         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
15053 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
15055         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
15057 2013-08-12  Glenn Morris  <rgm@gnu.org>
15059         * format.el (format-annotate-function):
15060         Handle read-only text properties in the source.  (Bug#14887)
15062 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15064         * net/eww.el (eww-display-html): Ignore coding system errors.
15065         One web site uses "utf-8lias" as the coding system.
15067 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
15069         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
15071 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
15073         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
15074         (tutorial--detailed-help): Remove unused local variables.
15075         (tutorial--save-tutorial-to): Use ignore-errors.
15076         (help-with-tutorial): Use looking-at-p.
15078         * view.el (view-buffer-other-window, view-buffer-other-frame):
15079         Mark unused arguments.
15081         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
15082         (woman-select-symbol-fonts, woman, woman-find-file)
15083         (woman-insert-file-contents, woman-non-underline-faces):
15084         Use string-match-p.
15085         (woman1-unquote): Move declaration.
15087         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
15088         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
15089         argument.  Remove unused local variable.
15090         (xml-parse-elem-type): Use string-match-p.
15091         (xml-substitute-numeric-entities): Use ignore-errors.
15093         * calculator.el (calculator): Mark unused argument.
15094         (calculator-paste, calculator-quit, calculator-integer-p):
15095         Use ignore-errors.
15096         (calculator-string-to-number, calculator-decimal, calculator-exp)
15097         (calculator-op-or-exp): Use string-match-p.
15099         * dired.el (dired-buffer-more-recently-used-p): Declare.
15100         (dired-insert-set-properties, dired-insert-old-subdirs):
15101         Use ignore-errors.
15103         * dired-aux.el (dired-compress): Use ignore-errors.
15104         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
15105         (dired-do-async-shell-command, dired-do-shell-command)
15106         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
15107         (dired-insert-subdir-validate): Use string-match-p.
15108         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
15109         (dired-add-entry): Use string-match-p, looking-at-p.
15110         (dired-insert-subdir-newpos): Remove unused local variable.
15112         * filenotify.el (file-notify-callback): Remove unused local variable.
15114         * filesets.el (filesets-error): Mark unused argument.
15115         (filesets-which-command-p, filesets-filter-dir-names)
15116         (filesets-directory-files, filesets-get-external-viewer)
15117         (filesets-ingroup-get-data): Use string-match-p.
15119         * find-file.el (ff-other-file-name, ff-other-file-name)
15120         (ff-find-the-other-file, ff-cc-hh-converter):
15121         Remove unused local variables.
15122         (ff-get-file-name): Use string-match-p.
15123         (ff-all-dirs-under): Use ignore-errors.
15125         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
15126         (follow-select-if-visible): Remove unused local variable.
15128         * forms.el (read-file-filter): Move declaration.
15129         (forms--make-format, forms--make-parser, forms-insert-record):
15130         Quote function with #'.
15131         (forms--update): Use string-match-p.  Quote function with #'.
15133         * help-mode.el (help-dir-local-var-def): Mark unused argument.
15134         (help-make-xrefs): Use looking-at-p.
15135         (help-xref-on-pp): Use looking-at-p, ignore-errors.
15137         * ibuffer.el (ibuffer-ext-visible-p): Declare.
15138         (ibuffer-confirm-operation-on): Use string-match-p.
15140         * msb.el (msb-item-handler, msb-dired-item-handler):
15141         Mark unused arguments.
15143         * ses.el (ses-decode-cell-symbol)
15144         (ses-kill-override): Remove unused local variable.
15145         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
15146         (ses-load): Use ignore-errors, looking-at-p.
15147         (ses-jump-safe): Use ignore-errors.
15148         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
15150         * tabify.el (untabify, tabify): Mark unused arguments.
15152         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
15153         Mark unused argument.
15154         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
15155         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
15157         * emacs-lisp/timer.el (timer--time): Define setter with
15158         gv-define-setter to avoid deprecation warning.
15160         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
15161         (*record-cmpl-statistics-p*): Remove (was commented out).
15162         (cmpl-statistics-block): Remove (body was commented out).
15163         All callers changed.
15164         (add-completions-from-buffer, load-completions-from-file):
15165         Remove unused variables.
15167 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
15169         * filecache.el (file-cache-delete-file-list):
15170         Print message only when told so.
15171         (file-cache-files-matching): Use #' in mapconcat argument.
15173         * ffap.el (ffap-url-at-point): Fix reference to variable
15174         thing-at-point-default-mail-uri-scheme.
15176 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
15178         * subr.el (define-error): New function.
15179         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
15180         error-file-not-found and define with define-error.
15181         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
15182         and define with define-error.
15183         * userlock.el (file-locked, file-supersession):
15184         * simple.el (mark-inactive):
15185         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
15186         * progmodes/ada-mode.el (ada-mode-errors):
15187         * play/life.el (life-extinct):
15188         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
15189         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
15190         * nxml/rng-util.el (rng-error):
15191         * nxml/rng-uri.el (rng-uri-error):
15192         * nxml/rng-match.el (rng-compile-error):
15193         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
15194         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
15195         * nxml/nxml-rap.el (nxml-scan-error):
15196         * nxml/nxml-outln.el (nxml-outline-error):
15197         * net/soap-client.el (soap-error):
15198         * net/gnutls.el (gnutls-error):
15199         * net/ange-ftp.el (ftp-error):
15200         * mpc.el (mpc-proc-error):
15201         * json.el (json-error, json-readtable-error, json-unknown-keyword)
15202         (json-number-format, json-string-escape, json-string-format)
15203         (json-key-format, json-object-format):
15204         * jka-compr.el (compression-error):
15205         * international/quail.el (quail-error):
15206         * international/kkc.el (kkc-error):
15207         * emacs-lisp/ert.el (ert-test-failed):
15208         * calc/calc.el (calc-error, inexact-result, math-overflow)
15209         (math-underflow):
15210         * bookmark.el (bookmark-error-no-filename):
15211         * epg.el (epg-error): Define with define-error.
15213         * time.el (display-time-event-handler)
15214         (display-time-next-load-average): Don't call sit-for since it seems
15215         unnecessary (bug#15045).
15217         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
15218         Use #' instead of ' to quote functions.
15219         (checkdoc-output-mode): Use setq-local.
15220         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
15221         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
15222         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
15223         (checkdoc-ispell, checkdoc-ispell-current-buffer)
15224         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
15225         (checkdoc-ispell-message-text, checkdoc-ispell-start)
15226         (checkdoc-ispell-continue, checkdoc-ispell-comments)
15227         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
15229         * ido.el (ido-completion-help): Fix up compiler warning.
15231 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
15233         * frameset.el (frameset-p): Add autoload cookie.
15234         (frameset--jump-to-register): New function, based on code moved from
15235         register.el.
15236         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
15238         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
15239         (frameset-restore, frameset-save, frameset-session-filter-alist):
15240         Remove declarations.
15241         (register-alist): Doc fix.
15242         (frameset-to-register): Move to frameset.el.
15243         (jump-to-register, describe-register-1): Remove frameset-specific code.
15245 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
15247         * allout-widgets.el (allout-widgets-pre-command-business)
15248         (allout-widgets-post-command-business)
15249         (allout-widgets-after-change-handler)
15250         (allout-decorate-item-and-context, allout-set-boundary-marker)
15251         (allout-body-modification-handler)
15252         (allout-graphics-modification-handler): Mark ignored arguments.
15253         (allout-widgets-post-command-business)
15254         (allout-widgets-exposure-change-processor)
15255         (allout-widgets-exposure-undo-processor)
15256         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
15257         (allout-parse-item-at-point, allout-decorate-item-guides)
15258         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
15259         * allout.el (epa-passphrase-callback-function): Declare.
15260         (allout-overlay-insert-in-front-handler)
15261         (allout-overlay-interior-modification-handler)
15262         (allout-isearch-end-handler, allout-chart-siblings)
15263         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
15264         (allout-yank-processing, allout-process-exposed)
15265         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
15266         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
15267         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
15268         (lisp-indent-defform): Mark ignored arguments.
15269         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
15270         (calculate-lisp-indent): Remove unused variables.
15271         * international/characters.el (indian-2-column, arabic-2-column)
15272         (tibetan): Mark ignored arguments.
15273         (use-cjk-char-width-table): Mark ignored arguments.
15274         Remove unused variables.
15275         * international/fontset.el (build-default-fontset-data)
15276         (x-compose-font-name, create-fontset-from-fontset-spec):
15277         Mark ignored arguments.
15278         (fontset-plain-name): Remove unused variables.
15279         * international/mule.el (charset-id, charset-bytes, generic-char-p)
15280         (keyboard-coding-system): Mark ignored arguments.
15281         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
15282         * help.el (resize-temp-buffer-window):
15283         * window.el (display-buffer-in-major-side-window)
15284         (display-buffer-in-side-window, display-buffer-in-previous-window):
15285         Remove unused variables.
15286         * isearch.el (isearch-forward-symbol):
15287         * version.el (emacs-bzr-version-bzr):
15288         * international/mule-cmds.el (current-language-environment):
15289         * term/common-win.el (x-handle-iconic, x-handle-geometry)
15290         (x-handle-display):
15291         * term/pc-win.el (x-list-fonts, x-display-planes)
15292         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
15293         (x-server-version, x-display-screens, x-display-mm-height)
15294         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
15295         (x-selection-owner-p, x-own-selection-internal)
15296         (x-disown-selection-internal, x-get-selection-internal)
15297         (msdos-initialize-window-system):
15298         * term/tty-colors.el (tty-color-alist, tty-color-clear):
15299         * term/x-win.el (x-handle-no-bitmap-icon):
15300         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
15301         (vc-default-find-file-hook, vc-default-extra-menu):
15302         Mark ignored arguments.
15304 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15306         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
15307         break-condition in the context of the debugged code (bug#12685).
15309 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
15311         * comint.el:
15312         Do not use an overlay to highlight the last prompt.  (Bug#14744)
15313         (comint-mode): Make comint-last-prompt buffer local.
15314         (comint-last-prompt): New variable.
15315         (comint-last-prompt-overlay): Remove.  Superseded by
15316         comint-last-prompt.
15317         (comint-snapshot-last-prompt, comint-output-filter):
15318         Use comint-last-prompt.
15320 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
15322         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
15323         (frameset-save): Check validity of the resulting frameset.
15325 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
15327         * ido.el (ido-record-command): Add doc string.
15329 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
15331         * frameset.el (frameset): Do not disable creation of the default
15332         frameset-p predicate.  Doc fix.
15333         (frameset-valid-p): New function, copied from the old predicate-p.
15334         Add additional checks.
15335         (frameset-restore): Check with frameset-valid-p.
15336         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
15337         (frameset-name, frameset-description, frameset-properties)
15338         (frameset-states): Add docstring.
15339         (frameset-session-filter-alist, frameset-persistent-filter-alist)
15340         (frameset-filter-alist): Doc fixes.
15342 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
15344         * frameset.el (frameset-p, frameset-prop): Doc fixes.
15346 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15348         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
15349         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
15350         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
15351         (byte-compile-normal-call): Remove obsolescence check.
15353 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
15355         * frameset.el (frameset-restore): Doc fix.
15357         * register.el (frameset-frame-id, frameset-frame-with-id)
15358         (frameset-p, frameset-restore, frameset-save): Declare.
15359         (register-alist): Document framesets.
15360         (frameset-session-filter-alist): Declare.
15361         (frameset-to-register): New function.
15362         (jump-to-register): Implement jumping to framesets.  Doc fix.
15363         (describe-register-1): Describe framesets.
15365         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
15367 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
15369         * desktop.el (desktop-save-frameset): Use new frameset-save args.
15370         Use lexical-binding.
15372         * frameset.el (frameset): Use type vector, not list (incompatible
15373         change).  Do not declare a new constructor, use the default one.
15374         Upgrade suggested properties `app', `name' and `desc' to slots `app',
15375         `name' and `description', respectively, and add read-only slot
15376         `timestamp'.  Doc fixes.
15377         (frameset-copy, frameset-persistent-filter-alist)
15378         (frameset-filter-alist, frameset-switch-to-gui-p)
15379         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
15380         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
15381         (frameset-filter-iconified, frameset-keep-original-display-p):
15382         Doc fixes.
15383         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
15384         Rename from frameset-filter-(save|restore)-param.  All callers changed.
15385         Doc fix.
15386         (frameset-p): Adapt to change to vector and be more thorough.
15387         Change arg name to OBJECT.  Doc fix.
15388         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
15389         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
15390         All callers changed.
15391         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
15392         All callers changed.
15393         (frameset--record-minibuffer-relationships): Rename from
15394         frameset--process-minibuffer-frames.  All callers changed.
15395         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
15396         Use new default constructor (again).  Doc fix.
15397         (frameset--find-frame-if): Rename from `frameset--find-frame'.
15398         All callers changed.
15399         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
15400         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
15401         Doc fix.
15402         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
15403         PARAMETERS and WINDOW-STATE, respectively.
15404         (frameset-restore): Add new keyword argument PREDICATE.
15405         Reset frameset--target-display to nil.  Doc fix.
15407 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15409         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
15410         (bat-mode): Use it.
15411         (bat-mode-syntax-table): Mark \n as end-of-comment.
15412         (bat-font-lock-keywords): Remove comment rule.
15414         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
15415         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
15417         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
15418         (byte-compile-callargs-warn): Use `push'.
15419         (byte-compile-arglist-warn): Ignore higher-order "calls".
15420         (byte-compile-file-form-autoload): Use `pcase'.
15421         (byte-compile-function-form): If quoting a symbol, check that it exists.
15423 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
15425         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
15426         and add a few popular commands found in batch files.
15427         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
15428         (dos-mode): Doc fixes.
15430 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15432         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
15433         (dos-mode): Use setq-local.  Add space after "rem".
15434         (dos-mode-syntax-table): Don't use "w" for symbol chars.
15435         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
15437 2013-08-07  Arni Magnusson  <arnima@hafro.is>
15439         * progmodes/dos.el: New file.
15440         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
15441         dos-mode.
15443 2013-08-06  Glenn Morris  <rgm@gnu.org>
15445         * calendar/calendar.el: Add new faces, and day-header-array.
15446         (calendar-weekday-header, calendar-weekend-header)
15447         (calendar-month-header): New faces.
15448         (calendar-day-header-construct): New function.
15449         (calendar-day-header-width): Also :set calendar-day-header-array.
15450         (calendar-american-month-header, calendar-european-month-header)
15451         (calendar-iso-month-header): Use calendar- faces.
15452         (calendar-generate-month):
15453         Use calendar-day-header-array for day headers; apply faces to them.
15454         (calendar-mode): Check calendar-font-lock-keywords non-nil.
15455         (calendar-abbrev-construct): Add optional maxlen argument.
15456         (calendar-day-name-array): Doc fix.
15457         (calendar-day-name-array, calendar-abbrev-length)
15458         (calendar-day-abbrev-array):
15459         Also :set calendar-day-header-array, and maybe redraw.
15460         (calendar-day-header-array): New option.  (Bug#15007)
15461         (calendar-font-lock-keywords): Set to nil and make obsolete.
15462         (calendar-day-name): Add option to use header array.
15464 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15466         * net/shr.el (shr-render-td): Remove debugging.
15467         (shr-render-td): Make width computation consistent by defaulting
15468         all zero-width columns to 10 characters.  This may not be optimal,
15469         but it's at least consistent.
15470         (shr-make-table-1): Redo last change to fix the real problem in
15471         colspan handling.
15473 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
15475         * files.el (cache-long-line-scans):
15476         Make obsolete alias to `cache-long-scans'.
15478 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
15480         * frameset.el (frameset, frameset-filter-alist)
15481         (frameset-filter-params, frameset-save, frameset--reuse-frame)
15482         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
15483         (frameset-compute-pos): Rename from frameset--compute-pos,
15484         and add docstring.
15485         (frameset-move-onscreen): Use frameset-compute-pos.
15486         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
15488         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
15489         Fix typos in docstrings.
15491 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
15493         * frame.el (get-other-frame): Tiny cleanup.
15495 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
15497         * vc/vc.el (vc-default-ignore-completion-table):
15498         Silence byte-compiler warning.
15500         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
15501         slot, which can indeed be nil.
15502         (frameset-live-filter-alist, frameset-persistent-filter-alist):
15503         Move entry for `left' from persistent to live filter alist.
15504         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
15505         Doc fixes.
15506         (frameset-filter-params): When restoring a frame, copy items added to
15507         `filtered', to avoid unwittingly modifying the original parameters.
15508         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
15509         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
15511         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
15512         to use looking-at-p instead of looking-at.  (Bug#15028)
15514 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15516         Revert introduction of isearch-filter-predicates (bug#14714).
15517         Rely on add-function instead.
15518         * isearch.el (isearch-filter-predicates): Rename it back to
15519         isearch-filter-predicate.
15520         (isearch-message-prefix): Use advice-function-mapc and advice
15521         properties to get the isearch-message-prefix.
15522         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
15523         instead of run-hook-with-args-until-failure.
15524         (isearch-filter-visible): Not obsolete any more.
15525         * loadup.el: Preload nadvice.
15526         * replace.el (perform-replace): Revert to funcall
15527         instead of run-hook-with-args-until-failure.
15528         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
15529         * dired-aux.el (dired-isearch-filenames-mode): Rename from
15530         dired-isearch-filenames-toggle; make it into a proper minor mode.
15531         Use add/remove-function.
15532         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
15533         Call the minor-mode rather than add/remove-hook.
15534         (dired-isearch-filter-filenames):
15535         Remove isearch-message-prefix property.
15536         * info.el (Info--search-loop): New function, extracted from Info-search.
15537         Funcall isearch-filter-predicate instead of
15538         run-hook-with-args-until-failure isearch-filter-predicates.
15539         (Info-search): Use it.
15540         (Info-mode): Use isearch-filter-predicate instead of
15541         isearch-filter-predicates.
15543 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
15545         Do not call to `selected-window' where it is assumed by default.
15546         Affected functions are `window-minibuffer-p', `window-dedicated-p',
15547         `window-hscroll', `window-width', `window-height', `window-buffer',
15548         `window-frame', `window-start', `window-point', `next-window'
15549         and `window-display-table'.
15550         * abbrev.el (abbrev--default-expand):
15551         * bs.el (bs--show-with-configuration):
15552         * buff-menu.el (Buffer-menu-mouse-select):
15553         * calc/calc.el (calc):
15554         * calendar/calendar.el (calendar-generate-window):
15555         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
15556         (diary-make-entry):
15557         * comint.el (send-invisible, comint-dynamic-complete-filename)
15558         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
15559         * completion.el (complete):
15560         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
15561         * disp-table.el (describe-current-display-table):
15562         * doc-view.el (doc-view-insert-image):
15563         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
15564         * ehelp.el (with-electric-help):
15565         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15566         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
15567         * emacs-lisp/helper.el (Helper-help-scroller):
15568         * emulation/cua-base.el (cua--post-command-handler-1):
15569         * eshell/esh-mode.el (eshell-output-filter):
15570         * ffap.el (ffap-gnus-wrapper):
15571         * help-macro.el (make-help-screen):
15572         * hilit-chg.el (highlight-compare-buffers):
15573         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
15574         * hl-line.el (global-hl-line-highlight):
15575         * icomplete.el (icomplete-simple-completing-p):
15576         * isearch.el (isearch-done):
15577         * jit-lock.el (jit-lock-stealth-fontify):
15578         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
15579         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
15580         * mpc.el (mpc-tagbrowser, mpc):
15581         * net/rcirc.el (rcirc-any-buffer):
15582         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
15583         * play/landmark.el (landmark-max-width, landmark-max-height):
15584         * play/zone.el (zone):
15585         * progmodes/compile.el (compilation-goto-locus):
15586         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
15587         * progmodes/etags.el (find-tag-other-window):
15588         * progmodes/fortran.el (fortran-column-ruler):
15589         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15590         * progmodes/verilog-mode.el (verilog-point-text):
15591         * reposition.el (reposition-window):
15592         * rot13.el (toggle-rot13-mode):
15593         * server.el (server-switch-buffer):
15594         * shell.el (shell-dynamic-complete-command)
15595         (shell-dynamic-complete-environment-variable):
15596         * simple.el (insert-buffer, set-selective-display)
15597         (delete-completion-window):
15598         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
15599         (speedbar-recenter):
15600         * startup.el (fancy-splash-head):
15601         * textmodes/ispell.el (ispell-command-loop):
15602         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
15603         * tutorial.el (help-with-tutorial):
15604         * vc/add-log.el (add-change-log-entry):
15605         * vc/compare-w.el (compare-windows):
15606         * vc/ediff-help.el (ediff-indent-help-message):
15607         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
15608         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
15609         (ediff-setup-control-frame):
15610         * vc/emerge.el (emerge-position-region):
15611         * vc/pcvs-util.el (cvs-bury-buffer):
15612         * window.el (walk-windows, mouse-autoselect-window-select):
15613         * winner.el (winner-set-conf, winner-undo): Related users changed.
15615 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
15617         * frameset.el (frameset--set-id): Doc fix.
15618         (frameset-frame-id, frameset-frame-id-equal-p)
15619         (frameset-locate-frame-id): New functions.
15620         (frameset--process-minibuffer-frames, frameset--reuse-frame)
15621         (frameset-restore): Use them.
15623 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
15625         Do not call to `selected-frame' where it is assumed by default.
15626         Affected functions are `raise-frame', `redraw-frame',
15627         `frame-first-window', `frame-terminal' and `delete-frame'.
15628         * calendar/appt.el (appt-disp-window):
15629         * epg.el (epg-wait-for-completion):
15630         * follow.el (follow-delete-other-windows-and-split)
15631         (follow-avoid-tail-recenter):
15632         * international/mule.el (set-terminal-coding-system):
15633         * mail/rmail.el (rmail-mail-return):
15634         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15635         * progmodes/f90.el (f90-add-imenu-menu):
15636         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
15637         * server.el (server-switch-buffer):
15638         * simple.el (delete-completion-window):
15639         * talk.el (talk):
15640         * term/xterm.el (terminal-init-xterm-modify-other-keys)
15641         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
15642         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
15643         * vc/ediff.el (ediff-documentation): Related users changed.
15644         * frame.el (selected-terminal): Remove the leftover.
15646 2013-08-05  Glenn Morris  <rgm@gnu.org>
15648         * calendar/calendar.el (calendar-generate-month):
15649         Fix for calendar-column-width != 1 + calendar-day-digit-width.
15650         (calendar-generate-month, calendar-font-lock-keywords):
15651         Fix for calendar-day-header-width > length of any day name.
15653 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
15655         * desktop.el (desktop-clear): Use new name of sort predicate.
15657         * frameset.el (frameset): Add docstring.  Move :version property to its
15658         own `version' slot.
15659         (frameset-copy): Rename from copy-frameset.
15660         (frameset-p): Check more thoroughly.
15661         (frameset-prop): Do not check for :version, which is no longer a prop.
15662         (frameset-live-filter-alist, frameset-persistent-filter-alist):
15663         Use new :never value instead of t.
15664         (frameset-filter-alist): Expand and clarify docstring.
15665         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
15666         (frameset-filter-minibuffer, frameset-filter-save-param)
15667         (frameset-filter-restore-param, frameset-filter-iconified):
15668         Add pointer to docstring of frameset-filter-alist.
15669         (frameset-filter-params): Rename filter values to be more meaningful:
15670         :never instead of t, and reverse the meanings of :save and :restore.
15671         (frameset--process-minibuffer-frames): Clarify error message.
15672         (frameset-save): Avoid unnecessary and confusing call to framep.
15673         Use new BOA constructor for framesets.
15674         (frameset--reuse-list): Doc fix.
15675         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
15676         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
15677         (frameset-minibufferless-first-p): Doc fix.
15678         Rename from frameset-sort-frames-for-deletion.
15679         (frameset-restore): Doc fixes.  Use new function names.
15680         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
15682 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
15684         * desktop.el (desktop-restore-forces-onscreen)
15685         (desktop-restore-reuses-frames): Document :keyword constant values.
15686         (desktop-filter-parameters-alist): Remove, now identical to
15687         frameset-filter-alist.
15688         (desktop--filter-tty*): Remove, moved to frameset.el.
15689         (desktop-save-frameset, desktop-restore-frameset):
15690         Do not pass :filters argument.
15692         * frameset.el (frameset-live-filter-alist)
15693         (frameset-persistent-filter-alist): New variables.
15694         (frameset-filter-alist): Use them.  Add autoload cookie.
15695         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
15696         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
15697         `frameset--id' (it's supposed to be internal to frameset.el).
15698         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
15699         (frameset--initial-params): New function.
15700         (frameset--get-frame): Use it.  Doc fix.
15701         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
15702         Accept :all, not 'all.
15703         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
15704         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
15705         with fbound symbols.  Fix frame id matching, and remove matching ids if
15706         the frame being restored is deleted.  Obey :delete.
15708 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15710         * subr.el (macrop): New function.
15711         (text-clone--maintaining): New var.
15712         (text-clone--maintain): Rename from text-clone-maintain.  Use it
15713         instead of inhibit-modification-hooks.
15715         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
15716         a proxy, so as handle autoloads and redefinitions of the target.
15717         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
15719         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
15720         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
15721         (pcase--mutually-exclusive-p): New function.
15722         (pcase--split-consp): Use it.
15723         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
15724         mutually exclusive with the current predicate.
15726         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
15727         (edebug-macrop): Remove.  Use `macrop' instead.
15728         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
15729         (ad-macro-p):
15730         * eshell/esh-cmd.el (eshell-macrop):
15731         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
15733 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15735         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
15736         (advice-mapc): New function, using it.
15737         (advice-function-member-p): New function.
15738         (advice--normalize): Store the cdr in advice--saved-rewrite since
15739         that's the part that will be changed.
15740         (advice--symbol-function): New function.
15741         (advice-remove): Handle removal before the function is defined.
15742         Adjust to new advice--saved-rewrite.
15743         (advice-member-p): Use advice-function-member-p and
15744         advice--symbol-function.
15746 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
15748         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
15749         (frameset-filter-minibuffer): Doc fix.
15750         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
15751         (frameset--set-id, frameset--process-minibuffer-frames)
15752         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
15753         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
15755         * desktop.el (desktop-clear): Only delete frames when called
15756         interactively and desktop-restore-frames is non-nil.  Doc fix.
15757         (desktop-read): Set desktop-saved-frameset to nil.
15759 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
15761         * vc/vc.el (vc-ignore): Rewrite.
15762         (vc-default-ignore-completion-table, vc--read-lines)
15763         (vc--add-line, vc--remove-regexp): New functions.
15765         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
15766         (vc-svn-ignore-completion-table): New function.
15768         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
15769         (vc-hg-ignore-completion-table)
15770         (vc-hg-find-ignore-file): New functions.
15772         * vc/vc-git.el (vc-git-ignore): Rewrite.
15773         (vc-git-ignore-completion-table)
15774         (vc-git-find-ignore-file): New functions.
15776         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
15778         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
15779         (vc-bzr-ignore-completion-table)
15780         (vc-bzr-find-ignore-file): New functions.
15782 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
15784         * frameset.el (frameset-prop): New function and setter.
15785         (frameset-save): Do not modify frame list passed by the caller.
15787 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15789         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
15791 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15793         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
15794         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
15796         * custom.el (custom-initialize-default, custom-initialize-set)
15797         (custom-initialize-reset, custom-initialize-changed): Affect the
15798         toplevel-default-value (bug#6275, bug#14586).
15799         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
15800         for bug#6275.
15802 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
15804         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
15805         Add cl-def* expressions.
15807         * frameset.el (frameset-filter-params): Fix order of arguments.
15809 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
15811         Move code related to saving frames to frameset.el.
15812         * desktop.el: Require frameset.
15813         (desktop-restore-frames): Doc fix.
15814         (desktop-restore-reuses-frames): Rename from
15815         desktop-restoring-reuses-frames.
15816         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
15817         (desktop-clear): Clear frames too.
15818         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
15819         (desktop--filter-tty*, desktop-save, desktop-read):
15820         Use frameset functions.
15821         (desktop-before-saving-frames-functions, desktop--filter-*-color)
15822         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
15823         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
15824         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
15825         (desktop--process-minibuffer-frames, desktop-save-frames)
15826         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
15827         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
15828         (desktop--sort-states, desktop-restoring-frames-p)
15829         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
15830         (desktop-restoring-frameset-p, desktop-restore-frameset)
15831         (desktop--check-dont-save, desktop-save-frameset): New functions.
15832         (desktop--app-id): New constant.
15833         (desktop-first-buffer, desktop-buffer-ok-count)
15834         (desktop-buffer-fail-count): Move before first use.
15835         * frameset.el: New file.
15837 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15839         * files.el: Use lexical-binding.
15840         (dir-locals-read-from-file): Remove unused `err' variable.
15841         (hack-dir-local-variables--warned-coding): New var.
15842         (hack-dir-local-variables): Use it to avoid repeated warnings.
15843         (make-backup-file-name--default-function): New function.
15844         (make-backup-file-name-function): Use it as default.
15845         (buffer-stale--default-function): New function.
15846         (buffer-stale-function): Use it as default.
15847         (revert-buffer-insert-file-contents--default-function): New function.
15848         (revert-buffer-insert-file-contents-function): Use it as default.
15849         (insert-directory): Avoid add-to-list.
15851         * autorevert.el (auto-revert-handler): Simplify.
15852         Use buffer-stale--default-function.
15854 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
15856         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
15858         * whitespace.el (whitespace-ensure-local-variables): New function.
15859         (whitespace-cleanup-region): Call it.
15860         (whitespace-turn-on): Call it.
15862 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
15864         Complete file name handlers.
15866         * net/tramp.el (tramp-handle-set-visited-file-modtime)
15867         (tramp-handle-verify-visited-file-modtime)
15868         (tramp-handle-file-notify-rm-watch): New functions.
15869         (tramp-call-process): Do not bind `default-directory'.
15871         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
15872         Order alphabetically.
15873         <access-file, add-name-to-file, dired-call-process>:
15874         <dired-compress-file, file-acl, file-notify-rm-watch>:
15875         <file-ownership-preserved-p, file-selinux-context>:
15876         <make-directory-internal, make-symbolic-link, set-file-acl>:
15877         <set-file-selinux-context, set-visited-file-modtime>:
15878         <verify-visited-file-modtime>: Add handler.
15879         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
15881         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
15882         <file-notify-add-watch, file-notify-rm-watch>:
15883         <set-file-times, set-visited-file-modtime>:
15884         <verify-visited-file-modtime>: Add handler.
15885         (with-tramp-gvfs-error-message)
15886         (tramp-gvfs-handle-set-visited-file-modtime)
15887         (tramp-gvfs-fuse-file-name): Remove.
15888         (tramp-gvfs-handle-file-notify-add-watch)
15889         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
15890         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
15892         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
15893         Order alphabetically.
15894         <file-notify-rm-watch>: Use default Tramp handler.
15895         <executable-find>: Remove private handler.
15896         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
15897         `default-directory'.
15898         (tramp-sh-handle-executable-find)
15899         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
15900         (tramp-sh-file-gvfs-monitor-dir-process-filter)
15901         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
15902         Do not use `format' in `tramp-message'.
15904         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
15905         <file-notify-rm-watch, set-visited-file-modtime>:
15906         <verify-visited-file-modtime>: Add handler.
15907         (tramp-smb-call-winexe): Do not bind `default-directory'.
15909 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
15911         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
15913 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
15915         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
15916         use it.
15917         (log-view-diff-changeset): Same.
15918         (log-view-diff-common): Call backend command `previous-revision'
15919         to find out the previous revision, in both cases.  Swap the
15920         variables `to' and `fr', so that `fr' usually refers to the
15921         earlier revision (Bug#14989).
15923 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
15925         * ibuf-ext.el (ibuffer-filter-by-filename):
15926         Make it work with dired buffers too.
15928 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
15930         * emacs-lisp/re-builder.el (reb-color-display-p):
15931         * files.el (save-buffers-kill-terminal):
15932         * net/browse-url.el (browse-url):
15933         * server.el (server-save-buffers-kill-terminal):
15934         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
15935         Prefer nil to selected-frame for the first arg of frame-parameter.
15937 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
15939         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
15941 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
15943         * minibuffer.el (completion--twq-all): Try and preserve each
15944         completion's case choice (bug#14907).
15946 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15948         * net/network-stream.el (open-network-stream): Mention the new
15949         :nogreeting parameter.
15950         (network-stream-open-starttls): Use the :nogreeting parameter
15951         (bug#14938).
15953         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
15955         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
15956         more natural than popping.
15958         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
15959         (shr-urlify): Highlight under mouse.
15961 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
15963         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
15965         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
15967         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
15968         buffer for output.
15970         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
15971         point-min==1.  Fix search string.  Fix parentheses missing.
15973         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
15974         assume point-min==1.  Fix search string.  Fix parentheses missing.
15976         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
15978         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
15979         buffer for output.
15981 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
15983         * frame.el (frame-notice-user-settings): Avoid inflooping when the
15984         initial frame is minibuffer-less.  (Bug#14841)
15986 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
15988         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
15989         option.
15991         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15992         (tramp-maybe-open-connection): Use it.
15994 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
15996         * desktop.el (desktop--make-frame): Include `minibuffer' in the
15997         minimal set of parameters passed when creating a frame, because
15998         the minibuffer status of a frame cannot be changed later.
16000 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
16002         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
16003         replace-regexp-in-string and inadvertent omissions in previous change.
16004         (todo-filter-items): Ensure only file names are comma-separated in
16005         name of filtered items buffer.
16007 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
16009         * desktop.el: Optionally force offscreen frames back onscreen.
16010         (desktop-restoring-reuses-frames): New option.
16011         (desktop--compute-pos, desktop--move-onscreen): New functions.
16012         (desktop--make-frame): Use desktop--move-onscreen.
16014 2013-07-27  Alan Mackenzie  <acm@muc.de>
16016         Fontify a Java generic method as a function.
16017         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
16018         value to t.
16020 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
16022         * calendar/todo-mode.el: Add command to rename todo files.
16023         (todo-rename-file): New command.
16024         (todo-key-bindings-t): Add key binding for it.  Change the
16025         bindings of todo-filter-regexp-items(-multifile) to use `x'
16026         instead of `r', since the latter is better suited to the new
16027         renaming command.
16029 2013-07-27  Alan Mackenzie  <acm@muc.de>
16031         Make Java try-with-resources statement parse properly.
16032         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
16033         (c-block-stmt-1-2-key): New language constants/variables.
16034         * progmodes/cc-engine.el (c-beginning-of-statement-1)
16035         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
16036         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
16037         with c-block-stmt-1-2-key.
16039 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
16041         * desktop.el (desktop--make-frame): Apply most frame parameters after
16042         creating the frame to force (partially or totally) offscreen frames to
16043         be restored as such.
16045 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
16047         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
16048         (Bug#14948)
16050 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16052         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
16053         `base' arg of backtrace-frame.
16055 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
16057         * simple.el (list-processes): Doc fix.
16059 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
16061         * desktop.el (desktop--select-frame):
16062         Try harder to reuse existing frames.
16064 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16066         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
16067         (edebug-eval): Use backtrace-eval.
16068         (edebug--display, edebug--recursive-edit): Don't let-bind the
16069         edebug-outer-* vars that keep track of variables we locally let-bind.
16070         (edebug-outside-excursion): Don't restore outside values of locally
16071         let-bound vars.
16072         (edebug--display): Use user-error.
16073         (cl-lexical-debug, cl-debug-env): Remove.
16075 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
16077         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
16078         are restored to be sure that they are visible before deleting any
16079         remaining ones.
16081 2013-07-26  Matthias Meulien  <orontee@gmail.com>
16083         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
16084         vc-print-root-log.  (Bug#14948)
16086 2013-07-26  Richard Stallman  <rms@gnu.org>
16088         Add aliases for encrypting mail.
16089         * epa.el (epa-mail-aliases): New option.
16090         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
16091         Bind inhibit-read-only so read-only text doesn't ruin everything.
16092         (epa-mail-default-recipients): New subroutine broken out.
16093         Handle epa-mail-aliases.
16095 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16097         Add support for lexical variables to the debugger's `e' command.
16098         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
16099         vars, except for debugger-outer-match-data.
16100         (debugger-frame-number): Move check for "on a function call" from
16101         callers into it.  Add `skip-base' argument.
16102         (debugger-frame, debugger-frame-clear): Simplify accordingly.
16103         (debugger-env-macro): Only reset the state stored in non-variables,
16104         i.e. current-buffer and match-data.
16105         (debugger-eval-expression): Rewrite using backtrace-eval.
16106         * subr.el (internal--called-interactively-p--get-frame): Remove.
16107         (called-interactively-p):
16108         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
16109         `base' arg of backtrace-frame instead.
16111 2013-07-26  Glenn Morris  <rgm@gnu.org>
16113         * align.el (align-regexp): Doc fix.  (Bug#14857)
16114         (align-region): Explicit error if subexpression missing/does not match.
16116         * simple.el (global-visual-line-mode):
16117         Do not duplicate the mode lighter.  (Bug#14858)
16119 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
16121         * window.el (display-buffer): In display-buffer bind
16122         split-window-keep-point to t, bug#14829.
16124 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
16126         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
16127         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
16128         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
16129         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
16130         Change accordingly.
16131         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
16132         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
16134 2013-07-25  Glenn Morris  <rgm@gnu.org>
16136         * dired-x.el (dired-mark-extension): Convert comment to doc string.
16138 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
16140         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
16141         parameter to modify-frame-parameters if the value has not changed;
16142         this is a workaround for bug#14949.
16143         (desktop--make-frame): On cl-delete-if call, check parameter name,
16144         not full parameter.
16146 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
16148         * vc/vc.el (vc-ignore): New function.
16150         * vc/vc-svn.el (vc-svn-ignore): New function.
16152         * vc/vc-hg.el (vc-hg-ignore): New function.
16154         * vc/vc-git.el (vc-git-ignore): New function.
16156         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
16157         (vc-dir-ignore): New function.
16159         * vc/vc-cvs.el (vc-cvs-ignore): New function.
16160         (cvs-append-to-ignore): Move here from pcvs.el.
16162         * vc/vc-bzr.el (vc-bzr-ignore): New function.
16164         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
16166 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
16168         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
16169         (desktop-restore-frames): Warn when deleting an existing frame failed.
16171 2013-07-24  Glenn Morris  <rgm@gnu.org>
16173         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
16175 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
16177         * filenotify.el (file-notify-supported-p):
16178         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
16179         Remove functions.
16181         * autorevert.el (auto-revert-use-notify)
16182         (auto-revert-notify-add-watch):
16183         * net/tramp.el (tramp-file-name-for-operation):
16184         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
16185         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16186         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
16187         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
16188         Remove `file-notify-supported-p' entry.
16190 2013-07-24  Glenn Morris  <rgm@gnu.org>
16192         * printing.el: Replace all uses of deleted ps-windows-system,
16193         ps-lp-system, ps-flatten-list with lpr- versions.
16195 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16197         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
16198         checked with memq (bug#14935).
16200         * files.el (revert-buffer-function): Use a non-nil default.
16201         (revert-buffer-preserve-modes): Declare var to
16202         provide access to the `preserve-modes' argument.
16203         (revert-buffer): Let-bind it.
16204         (revert-buffer--default): New function, extracted from revert-buffer.
16206 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16208         * lpr.el: Signal print errors more prominently.
16209         (print-region-function): Don't default to nil.
16210         (lpr-print-region): New function, extracted from print-region-1.
16211         Check lpr's return value and signal an error in case of problem.
16212         (print-region-1): Use it.
16213         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
16214         versions instead.
16215         (ps-printer-name): Default to nil.
16216         (ps-printer-name-option): Default to lpr-printer-switch.
16217         (ps-print-region-function): Don't default to nil.
16218         (ps-postscript-code-directory): Simplify default.
16219         (ps-do-despool): Use lpr-print-region to properly check the outcome.
16220         (ps-string-list, ps-eval-switch, ps-flatten-list)
16221         (ps-flatten-list-1): Remove.
16222         (ps-multibyte-buffer): Avoid setq.
16223         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
16224         (print-region-function, ps-print-region-function): Don't set them here.
16226 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
16228         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
16229         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
16230         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
16231         (ido-decorations): Doc fix.
16233         * ansi-color.el: Fix old URL.
16235 2013-07-23  Michael R. Mauger  <michael@mauger.com>
16237         * progmodes/sql.el: Version 3.3
16238         (sql-product-alist): Improve oracle :prompt-cont-regexp.
16239         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
16240         (sql-interactive-remove-continuation-prompt): Rewrite, use
16241         functions above.  Fix continuation prompt and complete output line
16242         handling.
16243         (sql-redirect-one, sql-execute): Use `read-only-mode' on
16244         redirected output buffer.
16245         (sql-mode): Restore deleted code (Bug#13591).
16247 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
16249         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
16251 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
16253         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
16255         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
16256         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16257         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
16259 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
16261         * desktop.el (desktop-clear): Simplify; remove useless checks
16262         against invalid buffer names.
16263         (desktop-list*): Use cl-list*.
16264         (desktop-buffer-info, desktop-create-buffer): Simplify.
16266 2013-07-23  Leo Liu  <sdl.web@gmail.com>
16268         * bookmark.el (bookmark-make-record): Restore NAME as a default
16269         value.  (Bug#14933)
16271 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16273         * emacs-lisp/autoload.el (autoload--setup-output): New function,
16274         extracted from autoload--insert-text.
16275         (autoload--insert-text): Remove.
16276         (autoload--print-cookie-text): New function, extracted from
16277         autoload--insert-cookie-text.
16278         (autoload--insert-cookie-text): Remove.
16279         (autoload-generate-file-autoloads): Adjust calls accordingly.
16281         * winner.el (winner-hook-installed-p): Remove.
16282         (winner-mode): Simplify accordingly.
16284         * subr.el (add-to-list): Fix compiler-macro when `append' is
16285         not constant.  Don't use `cl-member' for the base case.
16287         * progmodes/subword.el: Fix boundary case (bug#13758).
16288         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
16289         own group.
16290         (subword-backward-regexp): Make it a constant.
16291         (subword-forward-internal): Don't treat a trailing capital as the
16292         beginning of a word.
16294 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
16296         * emacs-lisp/package.el (package-menu-mode): Don't modify the
16297         global value of tabulated-list-revert-hook (bug#14930).
16299 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
16301         * desktop.el: Require 'cl-lib.
16302         (desktop-before-saving-frames-functions): New hook.
16303         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
16304         for frames being saved.  Rename from desktop--save-minibuffer-frames.
16305         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
16306         Do not save frames with non-nil `desktop-dont-save' parameter.
16307         Filter out deleted frames.
16308         (desktop--find-frame): Use cl-find-if.
16309         (desktop--select-frame): Use cl-(first|second|third) to access values
16310         of desktop-mini.
16311         (desktop--make-frame): Use cl-delete-if.
16312         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
16313         (desktop-restore-frames): Use cl-(first|second|third) to access values
16314         of desktop-mini.  Look for visible frame at the end, not while
16315         restoring frames.
16317         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
16318         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
16319         Use string-match-p, looking-at-p (bug#14927).
16321 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
16323         * desktop.el (desktop-saved-frame-states):
16324         Rename from desktop--saved-states; all users changed.
16325         (desktop-save-frames): Rename from desktop--save-frames.
16326         Do not save state to desktop file.
16327         (desktop-save): Save desktop-saved-frame-states to desktop file
16328         and reset to nil.
16329         (desktop-restoring-frames-p): New function.
16330         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
16331         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
16332         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
16334         * desktop.el: Correctly restore iconified frames.
16335         (desktop--filter-iconified-position): New function.
16336         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
16338 2013-07-20  Glenn Morris  <rgm@gnu.org>
16340         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
16341         Let `message' do the formatting.
16342         (def-gdb-preempt-display-buffer): Add explicit format.
16344         * image-dired.el (image-dired-track-original-file):
16345         Use with-current-buffer.
16346         (image-dired-track-thumbnail): Use with-current-buffer.
16347         Avoid changing point of wrong window.
16349         * image-dired.el (image-dired-track-original-file):
16350         Avoid changing point of wrong window.  (Bug#14909)
16352 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
16354         * progmodes/gdb-mi.el (gdb-done-or-error):
16355         Guard against "%" in gdb output.  (Bug#14127)
16357 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
16359         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
16360         (Bug#14826)
16362         * international/mule.el (coding-system-iso-2022-flags): Fix last
16363         change.
16365 2013-07-20  Kenichi Handa  <handa@gnu.org>
16367         * international/mule.el (coding-system-iso-2022-flags):
16368         Add `8-bit-level-4'.  (Bug#8522)
16370 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16372         * net/shr.el (shr-mouse-browse-url): New command and keystroke
16373         (bug#14815).
16375         * net/eww.el (eww-process-text-input): Allow inputting when the
16376         point is at the start of the line, as the properties aren't
16377         front-sticky.
16379         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
16380         degenerate widths.
16382 2013-07-19  Richard Stallman  <rms@gnu.org>
16384         * epa.el (epa-popup-info-window): Doc fix.
16386         * subr.el (split-string): New arg TRIM.
16388 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
16390         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
16391         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
16393 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
16395         * filenotify.el (file-notify--library): Rename from
16396         `file-notify-support'.  Do not autoload.  Adapt all uses.
16397         (file-notify-supported-p): New defun.
16399         * autorevert.el (auto-revert-use-notify):
16400         Use `file-notify-supported-p' instead of `file-notify-support'.
16401         Adapt docstring.
16402         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
16404         * net/tramp.el (tramp-file-name-for-operation):
16405         Add `file-notify-supported-p'.
16407         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
16408         New defun.
16409         (tramp-sh-file-name-handler-alist): Add it as handler for
16410         `file-notify-supported-p '.
16412         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
16413         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16414         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
16415         Add `ignore' as handler for `file-notify-*' functions.
16417 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
16419         * simple.el (line-move-partial, line-move): Don't start vscroll or
16420         scroll-up if the current line is not taller than the window.
16421         (Bug#14881)
16423 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
16425         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
16426         highlight question marks in the method names as strings.
16427         (ruby-block-beg-keywords): Inline.
16428         (ruby-font-lock-keyword-beg-re): Extract from
16429         `ruby-font-lock-keywords'.
16431 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
16433         * frame.el (blink-cursor-blinks): New defcustom.
16434         (blink-cursor-blinks-done): New defvar.
16435         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
16436         (blink-cursor-timer-function): Check if number of blinks has been
16437         done on X and NS.
16438         (blink-cursor-suspend, blink-cursor-check): New defuns.
16440 2013-07-15  Glenn Morris  <rgm@gnu.org>
16442         * edmacro.el (edmacro-format-keys): Fix previous change.
16444 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
16446         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
16447         The hack didn't work outside English locales anyway.
16449 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
16451         * simple.el (define-alternatives): Rename from alternatives-define,
16452         per RMS' suggestion.
16454 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
16456         * desktop.el (desktop-restore-frames): Change default to t.
16457         (desktop-restore-in-current-display): Now offer more options.
16458         (desktop-restoring-reuses-frames): New customization option.
16459         (desktop--saved-states): Doc fix.
16460         (desktop-filter-parameters-alist): New variable, renamed and expanded
16461         from desktop--excluded-frame-parameters.
16462         (desktop--target-display): New variable.
16463         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
16464         (desktop--filter-tty*, desktop--filter-*-color)
16465         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
16466         (desktop--filter-save-desktop-parm)
16467         (desktop-restore-in-original-display-p): New functions.
16468         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
16469         (desktop--save-minibuffer-frames): New function, inspired by a similar
16470         function from Martin Rudalics.
16471         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
16472         (desktop--restore-in-this-display-p): Remove.
16473         (desktop--find-frame): Rename from desktop--find-frame-in-display
16474         and add predicate argument.
16475         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
16476         (desktop--reuse-list): New variable.
16477         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
16478         New functions.
16479         (desktop--restore-frames): Add support for "minibuffer-special" frames.
16481 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
16483         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
16485 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
16487         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
16488         Highlight conversion methods on Kernel.
16490 2013-07-13  Alan Mackenzie  <acm@muc.de>
16492         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
16493         and comment it out.  This out-commenting enables certain C++
16494         declarations to be parsed correctly.
16496 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
16498         * international/mule.el (define-coding-system): Doc fix.
16500         * simple.el (default-font-height): Don't call font-info if the
16501         frame's default font didn't change since the frame was created.
16502         (Bug#14838)
16504 2013-07-13  Leo Liu  <sdl.web@gmail.com>
16506         * ido.el (ido-read-file-name): Guard against non-symbol value.
16508 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
16510         * progmodes/python.el (python-imenu--build-tree): Fix corner case
16511         in nested defuns.
16513 2013-07-13  Leo Liu  <sdl.web@gmail.com>
16515         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
16516         ido-set-matches call.  (Bug#6852)
16518 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
16520         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
16521         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
16522         Ruby 2.0.
16523         (ruby-font-lock-keywords): Distinguish calls to functions with
16524         module-like names from module references.  Highlight character
16525         literals.
16527 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
16529         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
16530         (gdb-send): Handle continued commands.  (Bug#14847)
16532 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
16534         * desktop.el (desktop--v2s): Remove unused local variable.
16535         (desktop-save-buffer): Make defvar-local; adjust docstring.
16536         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
16537         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
16539 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
16541         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
16543 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
16545         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
16546         (Bug#14842)
16548 2013-07-12  Glenn Morris  <rgm@gnu.org>
16550         * doc-view.el: Require cl-lib at runtime too.
16551         (doc-view-remove-if): Remove.
16552         (doc-view-search-next-match, doc-view-search-previous-match):
16553         Use cl-remove-if.
16555         * edmacro.el: Require cl-lib at runtime too.
16556         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
16557         (edmacro-mismatch, edmacro-subseq): Remove.
16559         * shadowfile.el: Require cl-lib.
16560         (shadow-remove-if): Remove.
16561         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
16562         Use cl-remove-if.
16564         * wid-edit.el: Require cl-lib.
16565         (widget-choose): Use cl-remove-if.
16566         (widget-remove-if): Remove.
16568         * progmodes/ebrowse.el: Require cl-lib at runtime too.
16569         (ebrowse-delete-if-not): Remove.
16570         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
16571         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
16572         Use cl-delete-if-not.
16574 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
16576         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
16577         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
16579 2013-07-12  Leo Liu  <sdl.web@gmail.com>
16581         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
16583 2013-07-11  Glenn Morris  <rgm@gnu.org>
16585         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
16586         (edebug-gensym-index, edebug-gensym):
16587         Remove reimplementation of cl-gensym.
16588         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
16590         * thumbs.el: Require cl-lib at run-time too.
16591         (thumbs-gensym-counter, thumbs-gensym):
16592         Remove reimplementation of cl-gensym.
16593         (thumbs-temp-file): Use cl-gensym.
16595         * emacs-lisp/ert.el: Require cl-lib at runtime too.
16596         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
16597         (ert--intersection, ert--set-difference, ert--set-difference-eq)
16598         (ert--union, ert--gensym-counter, ert--gensym-counter)
16599         (ert--coerce-to-vector, ert--remove*, ert--string-position)
16600         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
16601         (ert-make-test-unbound, ert--expand-should-1)
16602         (ert--expand-should, ert--should-error-handle-error)
16603         (should-error, ert--explain-equal-rec)
16604         (ert--plist-difference-explanation, ert-select-tests)
16605         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
16606         Use cl-lib functions rather than reimplementations.
16608 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
16610         * net/tramp.el (tramp-methods): Extend docstring.
16611         (tramp-connection-timeout): New defcustom.
16612         (tramp-error-with-buffer): Reset timestamp only when appropriate.
16613         (with-tramp-progress-reporter): Simplify.
16614         (tramp-process-actions): Improve messages.
16616         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
16617         * net/tramp-sh.el (tramp-maybe-open-connection):
16618         Use `tramp-connection-timeout'.
16619         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
16620         (Bug#14808)
16622 2013-07-11  Leo Liu  <sdl.web@gmail.com>
16624         * ido.el (ido-read-file-name): Conform to the requirements of
16625         read-file-name.  (Bug#11861)
16626         (ido-read-directory-name): Conform to the requirements of
16627         read-directory-name.
16629 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
16631         * subr.el (delay-warning): New function.
16633 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
16635         * simple.el (default-line-height): New function.
16636         (line-move-partial, line-move): Use it instead of computing the
16637         line height inline.
16638         (line-move-partial): Always compute ROWH.  If the last line is
16639         partially-visible, but its text is completely visible, allow
16640         cursor to enter such a partially-visible line.
16642 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
16644         Improve error messages.  (Bug#14808)
16646         * net/tramp.el (tramp-current-connection): New defvar, moved from
16647         tramp-sh.el.
16648         (tramp-message-show-progress-reporter-message): Remove, not
16649         needed anymore.
16650         (tramp-error-with-buffer): Show message in minibuffer.
16651         Discard input before waiting.  Reset connection timestamp.
16652         (with-tramp-progress-reporter): Improve messages.
16653         (tramp-process-actions): Use progress reporter.  Delete process in
16654         case of error.  Improve messages.
16656         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
16657         Call `tramp-error-with-buffer' with vector and buffer.
16658         (tramp-current-connection): Remove.
16659         (tramp-maybe-open-connection): The car of
16660         `tramp-current-connection' are the first 3 slots of the vector.
16662 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
16664         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
16665         inside continued strings.
16667 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
16669         Timestamp fixes for undo (Bug#14824).
16670         * files.el (clear-visited-file-modtime): Move here from fileio.c.
16672 2013-07-10  Leo Liu  <sdl.web@gmail.com>
16674         * files.el (require-final-newline): Allow safe local value.
16675         (Bug#14834)
16677 2013-07-09  Leo Liu  <sdl.web@gmail.com>
16679         * ido.el (ido-read-directory-name): Handle fallback.
16680         (ido-read-file-name): Update DIR to ido-current-directory.
16681         (Bug#1516)
16682         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
16684 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
16686         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
16687         "autoload".  Remove "warn lower camel case" section, previously
16688         commented out.  Highlight negation char.  Do not highlight the
16689         target in singleton method definitions.
16691 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16693         * faces.el (tty-setup-hook): Declare the hook.
16695         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
16696         and detect when a guard/pred depends on local vars (bug#14773).
16697         (pcase--u1): Adjust caller.
16699 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
16701         * simple.el (line-move-partial, line-move): Account for
16702         line-spacing.
16703         (line-move-partial): Avoid setting vscroll when the last
16704         partially-visible line in window is of default height.
16706 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16708         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
16709         been used a while.
16711 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
16713         * subr.el (read-quoted-char): Remove unused local variable `char'.
16715 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
16717         * vc/ediff.el (ediff-version): Version update.
16718         (ediff-files-command, ediff3-files-command, ediff-merge-command)
16719         (ediff-merge-with-ancestor-command, ediff-directories-command)
16720         (ediff-directories3-command, ediff-merge-directories-command)
16721         (ediff-merge-directories-with-ancestor-command): New functions.
16722         All are command-line interfaces to ediff: to facilitate calling
16723         Emacs with the appropriate ediff functions invoked.
16725         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
16726         New function.
16727         (viper-save-kill-buffer): Check if buffer is modified.
16729         * emulation/viper.el (viper-version): Version update.
16730         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
16732 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16734         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
16735         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
16736         (viper-intercept-ESC-key): Simplify.
16737         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
16738         don't use kbd.
16739         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
16740         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
16741         (viper-setup-ESC-to-escape): New functions.
16742         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
16743         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
16745 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
16747         * simple.el (default-font-height, window-screen-lines):
16748         New functions.
16749         (line-move, line-move-partial): Use them instead of
16750         frame-char-height and window-text-height.  This makes scrolling
16751         text smoother when the buffer's default face uses a font that is
16752         different from the frame's default font.
16754 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
16756         * files.el (write-file): Do not display confirm dialog for NS,
16757         it does its own dialog, which can't be canceled (Bug#14578).
16759 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
16761         * simple.el (line-move-partial): Adjust the row returned by
16762         posn-at-point for the current window-vscroll.  (Bug#14567)
16764 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
16766         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
16767         (tramp-sh-file-inotifywait-process-filter): Handle file names with
16768         spaces.
16770 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
16772         * window.el (window-state-put-stale-windows): New variable.
16773         (window--state-put-2): Save list of windows without matching buffer.
16774         (window-state-put): Remove "bufferless" windows if possible.
16776 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
16778         * simple.el (alternatives-define): Remove leftover :group keyword.
16779         Tweak docstring.
16781 2013-07-06  Leo Liu  <sdl.web@gmail.com>
16783         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
16784         (ido-enable-virtual-buffers): New variable.
16785         (ido-buffer-internal, ido-toggle-virtual-buffers)
16786         (ido-make-buffer-list): Use it.
16787         (ido-exhibit): Support turning on and off virtual buffers
16788         automatically.
16790 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
16792         * simple.el (alternatives-define): New macro.
16794 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16796         * subr.el (read-quoted-char): Use read-key.
16797         (sit-for): Let read-event decode tty input (bug#14782).
16799 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
16801         * calendar/todo-mode.el: Add handling of file deletion, both by
16802         mode command and externally.  Fix various related bugs.
16803         Clarify Commentary and improve some documentation strings and code.
16804         (todo-delete-file): New command.
16805         (todo-check-file): New function.
16806         (todo-show): Handle external deletion of the file we're trying to
16807         show (bug#14688).  Replace called-interactively-p by an optional
16808         prefix argument to avoid problematic interaction with catch form
16809         when byte compiled (bug#14702).
16810         (todo-quit): Handle external deletion of the archive's todo file.
16811         Make sure the buffer that was visiting the archive file is still
16812         live before trying to bury it.
16813         (todo-category-completions): Handle external deletion of any
16814         category completion files.
16815         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
16816         of todo files, in case of external deletion.
16817         (todo-add-file): Replace unnecessary setq by let-binding.
16818         (todo-find-archive): Check whether there are any archives.
16819         Replace unnecessary setq by let-binding.
16820         (todo-archive-done-item): Use find-file-noselect to get the
16821         archive buffer whether or not the archive already exists.
16822         Remove superfluous code.  Use file size instead of buffer-file-name to
16823         check if the archive is new; if it is, update list of archives.
16824         (todo-default-todo-file): Allow nil to be a valid value for when
16825         there are no todo files.
16826         (todo-reevaluate-default-file-defcustom): Use corrected definition
16827         of todo-default-todo-file.
16828         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
16829         (todo-delete-category, todo-show-categories-table)
16830         (todo-category-number): Clarify comment.
16831         (todo-filter-items): Clarify documentation string.
16832         (todo-show-current-file, todo-display-as-todo-file)
16833         (todo-reset-and-enable-done-separator): Tweak documentation string.
16834         (todo-done-separator): Make separator length window-width, since
16835         bug#2749 is now fixed.
16837 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
16839         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
16840         Support both "gvfs-monitor-dir" and "inotifywait".
16841         (tramp-sh-file-inotifywait-process-filter): Rename from
16842         `tramp-sh-file-notify-process-filter'.
16843         (tramp-sh-file-gvfs-monitor-dir-process-filter)
16844         (tramp-get-remote-gvfs-monitor-dir): New defuns.
16846 2013-07-05  Leo Liu  <sdl.web@gmail.com>
16848         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
16850 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
16852         * frame.el (display-pixel-height, display-pixel-width)
16853         (display-mm-height, display-mm-width): Mention behavior on
16854         multi-monitor setups in docstrings.
16855         (w32-display-monitor-attributes-list): Declare function.
16856         (display-monitor-attributes-list): Use it.
16858 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
16860         * filenotify.el: New package.
16862         * autorevert.el (top): Require filenotify.el.
16863         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
16864         instead.
16865         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
16866         (auto-revert-notify-handler): Use `file-notify-*' functions.
16868         * subr.el (file-notify-handle-event): Move function to filenotify.el.
16870         * net/tramp.el (tramp-file-name-for-operation):
16871         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
16873         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
16874         for `file-notify-add-watch' and `file-notify-rm-watch'.
16875         (tramp-process-sentinel): Improve trace.
16876         (tramp-sh-handle-file-notify-add-watch)
16877         (tramp-sh-file-notify-process-filter)
16878         (tramp-sh-handle-file-notify-rm-watch)
16879         (tramp-get-remote-inotifywait): New defuns.
16881 2013-07-03  Juri Linkov  <juri@jurta.org>
16883         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
16884         call of `occur-read-primary-args' to interactive spec.
16886         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
16887         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
16889 2013-07-03  Matthias Meulien  <orontee@gmail.com>
16891         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
16892         `Buffer-menu-multi-occur'.  Add it to the menu.
16893         (Buffer-menu-mode): Document it in docstring.
16894         (Buffer-menu-multi-occur): New command.  (Bug#14673)
16896 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
16898         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
16899         keywords and built-ins.
16901 2013-07-03  Glenn Morris  <rgm@gnu.org>
16903         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
16905         Make info-xref checks case-sensitive by default
16906         * info.el (Info-find-node, Info-find-in-tag-table)
16907         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
16908         Add option for exact case matching of nodes.
16909         * info-xref.el (info-xref): New custom group.
16910         (info-xref-case-fold): New option.
16911         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
16913 2013-07-03  Leo Liu  <sdl.web@gmail.com>
16915         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
16917 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
16919         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
16920         middle of block statement initially, lower the depth.  Remove
16921         FIXME comment, not longer valid.  Remove middle of block statement
16922         detection, no need to do that anymore since we've been using
16923         `ruby-parse-region' here.
16925 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
16927         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
16929 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
16931         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
16933 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
16935         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
16936         (desktop-restore-in-current-display): New customization option.
16937         (desktop--excluded-frame-parameters): Add `font'.
16938         (desktop--save-frames): Rename from desktop--save-windows.
16939         (desktop--restore-in-this-display-p): New function.
16940         (desktop--make-full-frame): Remove unwanted width/height from
16941         full(width|height) frames.
16942         (desktop--restore-frames): Rename from desktop--restore-windows.
16943         Obey desktop-restore-current-display.  Do not delete old frames or
16944         select a new frame unless we were able to restore at least one frame.
16946 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
16948         * files.el (find-file-noselect): Simplify conditional expression.
16950         * textmodes/remember.el (remember-append-to-file):
16951         Don't mix `find-buffer-visiting' and `get-file-buffer'.
16953         Add `remember-notes' function to store random notes across Emacs
16954         restarts.
16955         * textmodes/remember.el (remember-data-file): Add :set callback to
16956         affect notes buffer (if any).
16957         (remember-notes): New command.
16958         (remember-notes-buffer-name, bury-remember-notes-on-kill):
16959         New defcustoms for the `remember-notes' function.
16960         (remember-notes-save-and-bury-buffer): New command.
16961         (remember-notes-mode-map): New variable.
16962         (remember-mode): New minor mode.
16963         (remember-notes--kill-buffer-query): New function.
16964         * startup.el (initial-buffer-choice): Add notes to custom type.
16966 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
16968         * bindings.el (right-char, left-char): Don't call sit-for, this is
16969         no longer needed.  Use arithmetic comparison only for numerical
16970         arguments.
16972         * international/mule-cmds.el (select-safe-coding-system):
16973         Handle the case of FROM being a string correctly.  (Bug#14755)
16975 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16977         * net/shr.el (shr-make-table-1): Add a sanity check that allows
16978         progression on degenerate tables.
16979         (shr-rescale-image): ImageMagick animated images currently don't work.
16981 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
16983         Some fixes and improvements for desktop frame restoration.
16984         It is still experimental and disabled by default.
16985         * desktop.el (desktop--save-windows): Put the selected frame at
16986         the head of the list.
16987         (desktop--make-full-frame): New function.
16988         (desktop--restore-windows): Try to re-select the frame that was
16989         selected upon saving.  Do not abort if some frames fail to restore,
16990         just show an error message and continue.  Set up maximized frames
16991         so they have default non-maximized dimensions.
16993 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
16995         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
16996         Don't start heredoc inside a string or comment.
16998 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
17000         * bindings.el (visual-order-cursor-movement): New defcustom.
17001         (right-char, left-char): Provide visual-order cursor motion by
17002         calling move-point-visually.  Update the doc strings.
17004 2013-06-28  Kenichi Handa  <handa@gnu.org>
17006         * international/mule.el (define-coding-system): New coding system
17007         properties :inhibit-null-byte-detection,
17008         :inhibit-iso-escape-detection, and :prefer-utf-8.
17009         (set-buffer-file-coding-system): If :charset-list property of
17010         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
17011         appropriate for setting.
17013         * international/mule-cmds.el (select-safe-coding-system):
17014         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
17015         multibyte characters, return utf-8 (or one of its siblings).
17017         * international/mule-conf.el (prefer-utf-8): New coding system.
17018         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
17019         files.
17021 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
17023         * net/shr.el (shr-render-region): New function.
17025         * net/eww.el: Autoload `eww-browse-url'.
17027 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
17029         * emacs-lisp/package-x.el (package-upload-buffer-internal):
17030         Adapt to `package-desc-version' being a list.
17031         Use `package--ac-desc-version' to retrieve version from a package
17032         archive element.
17034 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
17036         New experimental feature to save&restore window and frame setup.
17037         * desktop.el (desktop-save-windows): New defcustom.
17038         (desktop--saved-states): New var.
17039         (desktop--excluded-frame-parameters): New defconst.
17040         (desktop--filter-frame-parms, desktop--find-frame-in-display)
17041         (desktop--restore-windows, desktop--save-windows): New functions.
17042         (desktop-save): Call `desktop--save-windows'.
17043         (desktop-read): Call `desktop--restore-windows'.
17045 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17047         * net/shr.el (add-face-text-property): Remove compat definition.
17049 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
17051         * info.el (Info-try-follow-nearest-node): Move search for footnote
17052         above search for node name to prevent missing a footnote (bug#14717).
17054 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
17056         * obsolete/otodo-mode.el: Add obsolescence info to file header.
17058 2013-06-27  Leo Liu  <sdl.web@gmail.com>
17060         * net/eww.el (eww-read-bookmarks): Check file size.
17062 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17064         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
17065         advice--pending if newdef is nil or an autoload (bug#13820).
17066         (advice-mapc): New function.
17068 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17070         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
17071         probably.
17072         (eww-mode-map): Add a menu bar.
17073         (eww-add-bookmark): New command.
17074         (eww-bookmark-mode): New mode and commands.
17075         (eww-add-bookmark): Remove newlines from the title.
17076         (eww-bookmark-browse): Don't bug out if it's the only window.
17078 2013-06-26  Glenn Morris  <rgm@gnu.org>
17080         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
17081         (hfy-size): Handle ttys.  (Bug#14668)
17083         * info-xref.el: Update for Texinfo 5 change in *note format.
17084         (info-xref-node-re, info-xref-note-re): New constants.
17085         (info-xref-check-buffer): Use info-xref-note-re.
17087 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17089         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
17091         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
17092         nil terminate the loop (bug#14718).
17094 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17096         * net/eww.el: Rework history traversal.  When going forward/back,
17097         put these actions into the history, too, so that they can be
17098         replayed.
17099         (eww-render): Move the history reset to the correct buffer.
17101 2013-06-25  Juri Linkov  <juri@jurta.org>
17103         * files-x.el (modify-dir-local-variable): Change the header comment
17104         in the file with directory local variables.  (Bug#14692)
17106         * files-x.el (read-file-local-variable-value): Add `default'.
17107         (Bug#14710)
17109 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17111         * net/eww.el (eww-make-unique-file-name): Create a unique file
17112         name before saving to entering `y' accidentally asynchronously.
17114 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
17116         * net/eww.el (eww-download): New command and keystroke.
17118 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17120         * net/eww.el (eww-copy-page-url): Change name of command.
17122         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
17123         be more consistent with Info and dired.
17125         * net/eww.el (eww-mode-map): Ditto.
17127 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17129         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
17130         packages from archives.
17131         (package-archive-contents): Change format; include obsolete packages.
17132         (package-desc): Use `dir' to mark builtin packages.
17133         (package--from-builtin): Set the `dir' field to `builtin'.
17134         (generated-autoload-file, version-control): Declare.
17135         (package-compute-transaction): Change first arg and return value to be
17136         lists of package-descs.  Adjust to new package-archive-contents format.
17137         (package--add-to-archive-contents): Adjust to new
17138         package-archive-contents format.
17139         (package-download-transaction): Arg is now a list of package-descs.
17140         (package-install): If `pkg' is a package name, pass it as
17141         a requirement, so it is subject to the usual (e.g. disabled) checks.
17142         (describe-package): Accept package-desc as well.
17143         (describe-package-1): Describe a specific package-desc.  Add links to
17144         other package-descs for the same package name.
17145         (package-menu-describe-package): Pass the actual package-desc.
17146         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
17147         works correctly.
17148         (package-desc-status): New function.
17149         (package-menu--refresh): New function, extracted
17150         from package-menu--generate.
17151         (package-menu--generate): Use it.
17152         (package-delete): Update package-alist.
17153         (package-menu-execute): Don't call package-initialize.
17155         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
17156         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
17157         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
17158         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
17159         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
17160         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
17162 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
17164         * window.el (window--state-get-1): Workaround for bug#14527.
17165         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
17167 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17169         * net/eww.el (eww-back-url): Implement the history by stashing all
17170         the data into a list.
17171         (eww-forward-url): Allow going forward in the history, too.
17173 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17175         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
17176         for values and use read--expression for expressions (bug#14710).
17177         (read-file-local-variable): Avoid setq.
17178         (read-file-local-variable-mode): Use minor-mode-list.
17180 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17182         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
17183         for DOI URLs.
17185 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17187         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
17188         Update imenu-support when dialect changes.
17190 2013-06-25  Leo Liu  <sdl.web@gmail.com>
17192         * ido.el (ido-read-internal): Allow forward slash on windows.
17194 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17196         * net/eww.el (eww): Start of strings is \\`, not ^.
17198 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
17200         * net/shr.el (shr-browse-url): Fix interactive spec.
17202         * net/eww.el (eww): Add a trailing slash to domain names.
17204 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
17206         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
17208 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17210         * net/shr.el (shr-browse-url): Use an external browser if given a
17211         prefix.
17213         * net/eww.el (eww-external-browser): Move to shr.
17215 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
17217         * net/eww.el (eww): Work more correctly for file: URLs.
17218         (eww-detect-charset): Allow quoted charsets.
17219         (eww-yank-page-url): New command and keystroke.
17221 2013-06-24  Daiki Ueno  <ueno@gnu.org>
17223         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
17224         file name of gpg executable.
17225         (epg-context-program): New function.
17226         (epg-context-home-directory): New function.
17227         (epg-context-set-program): New function.
17228         (epg-context-set-home-directory): New function.
17229         (epg--start): Use `epg-context-program' instead of
17230         'epg-gpg-program'.
17231         (epg--list-keys-1): Likewise.
17233 2013-06-24  Leo Liu  <sdl.web@gmail.com>
17235         * ido.el (ido-read-internal): Fix bug#14620.
17237 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
17239         * faces.el (face-documentation): Simplify.
17240         (read-face-attribute, tty-find-type, x-resolve-font-name):
17241         Use `string-match-p'.
17242         (list-faces-display): Use `string-match-p'.  Simplify.
17243         (face-spec-recalc): Check face to avoid face alias loops.
17244         (read-color): Use `string-match-p' and non-capturing parenthesis.
17246 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17248         * net/shr.el (shr-rescale-image): Use the new
17249         :max-width/:max-height functionality.
17251 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
17253         * net/eww.el (eww-search-prefix): New variable.
17254         (eww): Use it.
17255         (eww-external-browser): New variable.
17256         (eww-mode-map): New keystroke.
17257         (eww-browse-with-external-browser): New command.
17259         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
17261 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
17263         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
17264         Don't skip aligning the next header field when padding is 0;
17265         otherwise, field width is not respected unless the title is as
17266         wide as the field.
17268 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17270         * emacs-lisp/package.el (package-el-version): Remove.
17271         (package-process-define-package): Fix inf-loop.
17272         (package-install): Allow symbols as arguments again.
17274 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
17276         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
17277         add some more keyword-like methods.
17278         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
17280 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
17282         * bs.el (bs-buffer-show-mark): Make defvar-local.
17283         (bs-mode): Use setq-local.
17285         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
17286         (emacs-lock--try-unlocking): Make defvar-local.
17288 2013-06-22  Glenn Morris  <rgm@gnu.org>
17290         * play/cookie1.el (cookie-apropos): Minor simplification.
17292         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
17294 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
17296         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
17297         `regexp-opt', it breaks the build during dumping.
17299 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
17301         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
17302         Highlight keyword-like methods on Kernel and Module with
17303         font-lock-builtin-face.
17304         (auto-mode-alist): Consolidate different entries into one regexp
17305         and add more *file-s.
17307 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
17309         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
17311         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
17312         (diary-entry): Use it in the action of this button type instead of
17313         diary-goto-entry.
17315         * calendar/todo-mode.el: New version.
17316         (todo-add-category): Append new category to end of file and give
17317         it the highest number, instead of putting it at the beginning and
17318         giving it 0.  Incorporate noninteractive functionality.
17319         (todo-forward-category): Adapt to 1-based category numbering.
17320         Allow skipping over archived categories.
17321         (todo-backward-category): Derive from todo-forward-category.
17322         (todo-backward-item, todo-forward-item): Make noninteractive and
17323         delegate interactive part to new commands.  Make sensitive to done items.
17324         (todo-categories): Make value an alist of category names and
17325         vectors of item counts.
17326         (todo-category-beg): Make a defconst.
17327         (todo-category-number): Use 1 instead of 0 as initial value.
17328         (todo-category-select): Make sensitive to overlays, optional item
17329         highlighting and done items.
17330         (todo-delete-item): Make sensitive to overlays and marked and done items.
17331         (todo-edit-item): Make sensitive to overlays and editing of
17332         date/time header optional.  Add format checks.
17333         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
17334         no-op if point is not on an item.  Advertise using todo-edit-quit.
17335         (todo-edit-mode): Make sensitive to new format, font-locking, and
17336         multiple todo files.
17337         (todo-insert-item, todo-insert-item-here): Derive from
17338         todo-basic-insert-item and extend functionality.
17339         (todo-item-end, todo-item-start): Make sensitive to done items.
17340         (todo-item-string): Don't return text properties.  Restore point.
17341         (todo-jump-to-category): Make sensitive to multiple todo files and
17342         todo archives.  Use extended category completion.
17343         (todo-lower-item, todo-raise-item): Rename to *-priority and
17344         derive from todo-set-item-priority.
17345         (todo-mode): Derive from special-mode.  Make sensitive to new
17346         format, font-locking and multiple todo files.  Make read-only.
17347         (todo-mode-map): Don't suppress digit keys, so they can supply
17348         prefix arguments.  Add many new key bindings.
17349         (todo-prefix): Insert as an overlay instead of file text.
17350         Change semantics from diary date expression to purely visual mark.
17351         (todo-print): Rename to todo-print-buffer.  Make buffer display
17352         features printable.  Remove option to restrict number of items
17353         printed.  Add option to print to file.
17354         (todo-print-function): Rename to todo-print-buffer-function.
17355         (todo-quit): Extend to handle exiting new todo modes.
17356         (todo-remove-item): Make sensitive to overlays.
17357         (todo-save): Extend to buffers of filtered items.
17358         (todo-show): Make sensitive to done items, multiple todo files and
17359         new todo modes.  Offer to convert legacy todo file before creating
17360         first new todo file.
17361         (todo-show-priorities): Rename to todo-top-priorities.
17362         Change semantics of value 0.
17363         (todo-top-priorities): Rename to todo-filter-top-priorities,
17364         derive from todo-filter-items and extend functionality.
17365         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
17366         and extend functionality to other types of filtered items.
17367         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
17368         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
17369         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
17370         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
17371         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
17372         (todo-edit-mode-hook, todo-entry-prefix-function)
17373         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
17374         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
17375         (todo-initials, todo-insert-threshold, todo-item-string-start)
17376         (todo-line-string, todo-menu, todo-mode-hook)
17377         (todo-more-important-p, todo-previous-answer, todo-previous-line)
17378         (todo-print-priorities, todo-remove-separator)
17379         (todo-save-top-priorities-too, todo-string-count-lines)
17380         (todo-string-multiline-p, todo-time-string-format)
17381         (todo-tmp-buffer-name): Remove.
17382         (todo-add-file, todo-archive-done-item, todo-choose-archive)
17383         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
17384         (todo-edit-category-diary-inclusion)
17385         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
17386         (todo-edit-file, todo-edit-item-date-day)
17387         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
17388         (todo-edit-item-date-month, todo-edit-item-date-to-today)
17389         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
17390         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
17391         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
17392         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
17393         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
17394         (todo-filter-top-priorities-multifile, todo-find-archive)
17395         (todo-find-filtered-items-file, todo-go-to-source-item)
17396         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
17397         (todo-jump-to-archive-category, todo-lower-category)
17398         (todo-mark-category, todo-marked-item-p, todo-merge-category)
17399         (todo-move-category, todo-move-item, todo-next-button)
17400         (todo-next-item, todo-padded-string, todo-powerset)
17401         (todo-previous-button, todo-previous-item)
17402         (todo-print-buffer-to-file, todo-raise-category)
17403         (todo-rename-category, todo-repair-categories-sexp, todo-search)
17404         (todo-set-category-number, todo-set-item-priority)
17405         (todo-set-top-priorities-in-category)
17406         (todo-set-top-priorities-in-file, todo-show-categories-table)
17407         (todo-sort-categories-alphabetically-or-numerically)
17408         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
17409         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
17410         (todo-toggle-item-header, todo-toggle-item-highlighting)
17411         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
17412         (todo-toggle-view-done-items, todo-toggle-view-done-only)
17413         (todo-unarchive-items, todo-unmark-category): New commands.
17414         (todo-absolute-file-name, todo-add-to-buffer-list)
17415         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
17416         (todo-basic-insert-item, todo-category-completions)
17417         (todo-category-number, todo-category-string-matcher-1)
17418         (todo-category-string-matcher-2, todo-check-filtered-items-file)
17419         (todo-check-format, todo-clear-matches)
17420         (todo-comment-string-matcher, todo-convert-legacy-date-time)
17421         (todo-current-category, todo-date-string-matcher)
17422         (todo-define-insertion-command, todo-diary-expired-matcher)
17423         (todo-diary-goto-entry, todo-diary-item-p)
17424         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
17425         (todo-display-categories, todo-display-sorted, todo-done-item-p)
17426         (todo-done-item-section-p, todo-done-separator)
17427         (todo-done-string-matcher, todo-files, todo-filter-items)
17428         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
17429         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
17430         (todo-insert-category-line, todo-insert-item-from-calendar)
17431         (todo-insert-sort-button, todo-insert-with-overlays)
17432         (todo-insertion-command-name, todo-insertion-key-bindings)
17433         (todo-label-to-key, todo-longest-category-name-length)
17434         (todo-make-categories-list, todo-mode-external-set)
17435         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
17436         (todo-modes-set-3, todo-multiple-filter-files)
17437         (todo-nondiary-marker-matcher, todo-prefix-overlays)
17438         (todo-read-category, todo-read-date, todo-read-dayname)
17439         (todo-read-file-name, todo-read-time)
17440         (todo-reevaluate-category-completions-files-defcustom)
17441         (todo-reevaluate-default-file-defcustom)
17442         (todo-reevaluate-filelist-defcustoms)
17443         (todo-reevaluate-filter-files-defcustom)
17444         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
17445         (todo-reset-done-separator, todo-reset-done-separator-string)
17446         (todo-reset-done-string, todo-reset-global-current-todo-file)
17447         (todo-reset-highlight-item, todo-reset-nondiary-marker)
17448         (todo-reset-prefix, todo-set-categories)
17449         (todo-set-date-from-calendar, todo-set-show-current-file)
17450         (todo-set-top-priorities, todo-short-file-name)
17451         (todo-show-current-file, todo-sort, todo-time-string-matcher)
17452         (todo-total-item-counts, todo-update-buffer-list)
17453         (todo-update-categories-display, todo-update-categories-sexp)
17454         (todo-update-count, todo-validate-name, todo-y-or-n-p):
17455         New functions.
17456         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
17457         New major modes.
17458         (todo-categories, todo-display, todo-edit, todo-faces)
17459         (todo-filtered): New defgroups.
17460         (todo-archived-only, todo-button, todo-category-string, todo-date)
17461         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
17462         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
17463         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
17464         (todo-add-item-if-new-category, todo-always-add-time-string)
17465         (todo-categories-align, todo-categories-archived-label)
17466         (todo-categories-category-label, todo-categories-diary-label)
17467         (todo-categories-done-label, todo-categories-number-separator)
17468         (todo-categories-todo-label, todo-categories-totals-label)
17469         (todo-category-completions-files, todo-completion-ignore-case)
17470         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
17471         (todo-done-separator-string, todo-done-string)
17472         (todo-files-function, todo-filter-done-items, todo-filter-files)
17473         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
17474         (todo-initial-category, todo-initial-file, todo-item-mark)
17475         (todo-legacy-date-time-regexp, todo-mode-line-function)
17476         (todo-nondiary-marker, todo-number-prefix)
17477         (todo-print-buffer-function, todo-show-current-file)
17478         (todo-show-done-only, todo-show-first, todo-show-with-done)
17479         (todo-skip-archived-categories, todo-top-priorities-overrides)
17480         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
17481         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
17482         New defcustoms.
17483         (todo-category-done, todo-date-pattern, todo-date-string-start)
17484         (todo-diary-items-buffer, todo-done-string-start)
17485         (todo-filtered-items-buffer, todo-item-start)
17486         (todo-month-abbrev-array, todo-month-name-array)
17487         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
17488         (todo-top-priorities-buffer): New defconsts.
17489         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
17490         (todo-categories-with-marks, todo-category-string-face)
17491         (todo-comment-face, todo-comment-string, todo-current-todo-file)
17492         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
17493         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
17494         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
17495         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
17496         (todo-font-lock-keywords, todo-global-current-todo-file)
17497         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
17498         (todo-insertion-commands-args)
17499         (todo-insertion-commands-args-genlist)
17500         (todo-insertion-commands-names, todo-insertion-map)
17501         (todo-key-bindings-t, todo-key-bindings-t+a)
17502         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
17503         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
17504         (todo-nondiary-face, todo-print-buffer, todo-time-face)
17505         (todo-visited): New variables.
17507 2013-06-21  Glenn Morris  <rgm@gnu.org>
17509         * play/cookie1.el (cookie-apropos): Add optional display argument.
17510         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
17511         (psychoanalyze-pinhead): Use cookie-doctor.
17513 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
17515         * emacs-lisp/package.el (tar-get-file-descriptor)
17516         (tar--extract): Declare.
17518 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
17520         Extend flymake's warning predicate to be a function (bug#14217).
17521         * progmodes/flymake.el (flymake-warning-predicate): New.
17522         (flymake-parse-line): Use it.
17523         (flymake-warning-re): Make obsolete alias to
17524         `flymake-warning-predicate'.
17526 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17528         * emacs-lisp/package.el (package-alist): Include obsolete packages.
17529         (package-obsolete-list): Remove.
17530         (package-activate): Remove min-version argument.  Add `force' argument.
17531         Adjust to new package-alist format.
17532         (package-mark-obsolete): Remove.
17533         (package-unpack): Force reload of the package's autoloads.
17534         (package-installed-p): Check builtins if the installed package is not
17535         recent enough.
17536         (package-initialize): Don't reset package-obsolete-list.
17537         Don't specify which package version to activate.
17538         (package-process-define-package, describe-package-1)
17539         (package-menu--generate): Adjust to new package-alist format.
17541 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
17543         * allout-widgets.el (allout-widgets-mode-off)
17544         (allout-widgets-mode-on, allout-widgets-pre-command-business)
17545         (allout-widgets-post-command-business)
17546         (allout-widgets-after-copy-or-kill-function)
17547         (allout-widgets-after-undo-function, allout-test-range-overlaps)
17548         (allout-decorate-item-and-context)
17549         (allout-graphics-modification-handler): Fix typos in docstrings.
17550         (allout-get-or-create-parent-widget): Use `looking-at-p'.
17552         * cmuscheme.el (scheme-start-file): Doc fix.
17553         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
17554         (scheme-input-filter): Use `string-match-p'.
17556         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
17558         * dired-x.el: Use Dired consistently in docstrings.
17560         * dired.el: Use Dired consistently in docstrings.
17561         (dired-readin, dired-mode): Use `setq-local'.
17562         (dired-switches-alist): Make defvar-local.
17563         (dired-buffers-for-dir): Use `zerop'.
17564         (dired-safe-switches-p, dired-switches-escape-p)
17565         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
17566         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
17567         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
17568         (dired-goto-next-nontrivial-file): Use `string-match-p'.
17569         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
17570         (dired-toggle-marks, dired-mark-files-containing-regexp)
17571         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
17572         (dired-flag-auto-save-files, dired-flag-backup-files):
17573         Use `looking-at-p'.
17574         (dired-mark-files-regexp, dired-build-subdir-alist):
17575         Use `string-match-p', `looking-at-p'.
17577         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
17578         (direct-print-region-helper): Use `string-match-p'.
17580 2013-06-21  Leo Liu  <sdl.web@gmail.com>
17582         * comint.el (comint-redirect-results-list-from-process):
17583         Fix infinite loop.
17585 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17587         * net/eww.el (eww-update-header-line-format): Quote % characters.
17589 2013-06-21  Glenn Morris  <rgm@gnu.org>
17591         * play/cookie1.el (cookie): New custom group.
17592         (cookie-file): New option.
17593         (cookie-check-file): New function.
17594         (cookie): Make it interactive.  Make start and end messages optional.
17595         Interactively, display the result.  Default to cookie-file.
17596         (cookie-insert): Default to cookie-file.
17597         (cookie-snarf): Make start and end messages optional.
17598         Default to cookie-file.  Use with-temp-buffer.
17599         (cookie-read): Rename from read-cookie.
17600         Make start and end messages optional.  Default to cookie-file.
17601         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
17602         Do not autoload it.
17603         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
17604         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
17606 2013-06-21  Leo Liu  <sdl.web@gmail.com>
17608         * progmodes/octave.el (octave-mode): Backward compatibility fix.
17610 2013-06-21  Glenn Morris  <rgm@gnu.org>
17612         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
17614 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17615             Daniel Hackney  <dan@haxney.org>
17617         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
17618         Consolidate the single-file vs tarball code.
17619         (package-desc-suffix): New function.
17620         (package-desc-full-name): Don't bother inlining it.
17621         (package-load-descriptor): Return the new package-desc.
17622         (package-mark-obsolete): Remove unused arg `package'.
17623         (package-unpack): Make it work for single files as well.
17624         Make it update package-alist.
17625         (package--make-autoloads-and-stuff): Rename from
17626         package--make-autoloads-and-compile.  Don't compile any more.
17627         (package--compile): New function.
17628         (package-generate-description-file): New function, extracted from
17629         package-unpack-single.
17630         (package-unpack-single): Remove.
17631         (package--with-work-buffer): Add indentation and debugging info.
17632         (package-download-single): Remove.
17633         (package-install-from-archive): Rename from package-download-tar, make
17634         it take a pkg-desc, and make it work for single files as well.
17635         (package-download-transaction): Simplify.
17636         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
17637         external tar program.
17638         (package-install-from-buffer): Remove `pkg-desc' argument.
17639         Use package-tar-file-info for tar-mode buffers.
17640         (package-install-file): Simplify accordingly.
17641         (package-archive-base): Change to take a pkg-desc.
17642         * tar-mode.el (tar--check-descriptor): New function, extracted from
17643         tar-get-descriptor.
17644         (tar-get-descriptor): Use it.
17645         (tar-get-file-descriptor): New function.
17646         (tar--extract): New function, extracted from tar-extract.
17647         (tar--extract): Use it.
17648         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
17649         case the summary uses non-ascii.  Adjust to new calling convention of
17650         package-tar-file-info.
17652 2013-06-21  Leo Liu  <sdl.web@gmail.com>
17654         * comint.el (comint-redirect-results-list-from-process):
17655         Fix random delay.  (Bug#14681)
17657 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
17659         * profiler.el (profiler-format-number): Use log, not log10.
17661 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
17663         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
17665 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17667         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
17668         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
17669         yet available.
17670         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
17671         (AUTOGENEL): ... here.
17672         * emacs-lisp/cl-macs.el (cl--sublis): New function.
17673         (cl--defsubst-expand): Use it.
17675 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
17677         * subr.el (log10): Move here from C code, and declare as obsolete.
17678         All uses of (log10 X) replaced with (log X 10).
17680 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
17682         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
17683         Declare with `defvar-local'.
17684         (tabulated-list-use-header-line, tabulated-list-entries)
17685         (tabulated-list-padding, tabulated-list-printer)
17686         (tabulated-list-sort-key): Declare with `defvar-local'.
17687         (tabulated-list-init-header, tabulated-list-print-fake-header):
17688         Use `setq-local'.
17690 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
17692         * arc-mode.el (archive-mode): Add `archive-write-file' to
17693         `write-contents-functions' also for remote files.  (Bug#14652)
17695 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
17697         * cus-edit.el (custom-commands): Fix typos.
17698         (custom-display): Fix tooltip text.
17699         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
17700         Fix typos in docstrings.
17701         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
17702         (custom-unlispify-menu-entry, custom-magic-value-create)
17703         (custom-add-see-also, custom-group-value-create): Use ?\s.
17704         (custom-guess-type, customize-apropos, editable-field)
17705         (custom-face-value-create): Use `string-match-p'.
17706         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
17708         * custom.el (custom-load-symbol): Use `string-match-p'.
17710         * ansi-color.el: Convert to lexical binding.
17711         (ansi-colors): Fix URL.
17712         (ansi-color-context, ansi-color-context-region): Use defvar-local.
17713         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
17714         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
17716 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17718         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
17720         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
17722 2013-06-19  Tom Tromey  <tromey@redhat.com>
17724         * net/eww.el (eww-top-url): Remove.
17725         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
17726         (eww-render): Set new variables.  Don't set eww-top-url.
17727         (eww-handle-link): Handle "prev", "home", and "contents".
17728         Downcase the rel text.
17729         (eww-top-url): Choose best top URL.
17731 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17733         * net/eww.el: Rewrite to implement form elements "by hand" instead of
17734         relying in widget.el.  Using widget.el leads to too many
17735         user interface inconsistencies.
17736         (eww-self-insert): Implement entering commands in text fields.
17737         (eww-process-text-input): New function to make text input field editing
17738         work.
17739         (eww-submit): Rewrite to use the new-style form methods.
17740         (eww-select-display): Display the correct selected item.
17741         (eww-change-select): Implement changing the select value.
17742         (eww-toggle-checkbox): Implement radio/checkboxes.
17743         (eww-update-field): Fix compilation error.
17744         (eww-tag-textarea): Implement <textarea>.
17746         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
17747         we don't shadow mode-specific bindings.
17749         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
17750         nothing to push.
17752         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
17754 2013-06-19  Glenn Morris  <rgm@gnu.org>
17756         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
17758 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
17760         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
17761         not needed.
17763         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
17765 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17767         * net/browse-url.el (browse-url-browser-function):
17768         `eww-browse-url' has the right calling signature, `eww' does not.
17770 2013-06-19  Glenn Morris  <rgm@gnu.org>
17772         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
17773         Only eval autoloaded macros.
17774         (byte-compile-autoload): Only give the macro warning for macros.
17776         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
17777         (ps-underlined-faces): Declare.
17779         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
17780         (speedbar-add-supported-extension): Declare.
17782         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
17783         Don't include a date stamp in the header of the generated file;
17784         it leads to needless differences between output files.
17786 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
17788         * net/secrets.el (secrets-struct-secret-content-type):
17789         Replace check of introspection data by a test call of "CreateItem".
17790         Some servers do not offer introspection.
17792 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17794         * electric.el (electric-pair-mode): Improve interaction with
17795         electric-layout-mode.
17796         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
17797         (electric-pair-syntax): Use text-mode-syntax-table in comments
17798         and strings.
17799         (electric-pair--insert): New function.
17800         (electric-pair-post-self-insert-function): Use it and
17801         electric--after-char-pos.
17803 2013-06-19  Leo Liu  <sdl.web@gmail.com>
17805         * progmodes/octave.el (octave-help): Fix regexp.
17807 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17809         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
17810         (shr-table-horizontal-line): Allow nil as a value, and change the
17811         default.
17812         (shr-insert-table-ruler): Respect the nil value.
17814 2013-06-18  Tom Tromey  <tromey@barimba>
17816         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
17817         New defvars.
17818         (eww-open-file): New defun.
17819         (eww-render): Initialize new variables.
17820         (eww-display-html): Handle "link" and "a".
17821         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
17822         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
17823         (eww-back-url): Rename from eww-previous-url.
17824         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
17825         New defuns.
17827 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
17829         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
17830         Distinguish ternary operator tokens from slash symbol and slash
17831         char literal.
17833 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
17835         Convert symbol prettification into minor mode and global minor mode.
17837         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
17838         `prog-prettify-symbols', and make a local defvar instead of defcustom.
17839         (prettify-symbols--keywords): Rename from
17840         `prog-prettify-symbols-alist' and make a local defvar.
17841         (prettify-symbols--compose-symbol): Rename from
17842         `prog--prettify-font-lock-compose-symbol'.
17843         (prettify-symbols--make-keywords): Rename from
17844         `prog-prettify-font-lock-symbols-keywords' and simplify.
17845         (prog-prettify-install): Remove.
17846         (prettify-symbols-mode): New minor mode, based on
17847         `prog-prettify-install'.
17848         (turn-on-prettify-symbols-mode): New function.
17849         (global-prettify-symbols-mode): New globalized minor mode.
17851         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
17852         * progmodes/cfengine.el (cfengine3-mode):
17853         * progmodes/perl-mode.el (perl-mode): Don't call
17854         `prog-prettify-install'; set `prettify-symbols-alist' instead.
17856 2013-06-18  Juri Linkov  <juri@jurta.org>
17858         * files-x.el (modify-file-local-variable-message): New function.
17859         (modify-file-local-variable)
17860         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
17861         and call `modify-file-local-variable-message' when it's non-nil.
17862         (add-file-local-variable, delete-file-local-variable)
17863         (add-file-local-variable-prop-line)
17864         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
17865         and use it.  (Bug#9820)
17867 2013-06-18  Juri Linkov  <juri@jurta.org>
17869         * emulation/vi.el (vi-shell-op):
17870         * emulation/vip.el (vip-execute-com, ex-command):
17871         * emulation/viper-cmd.el (viper-exec-bang):
17872         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
17873         the call of `shell-command-on-region'.  (Bug#14637)
17875         * simple.el (shell-command-on-region): Doc fix.
17877 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17879         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
17880         (bug#14633).
17882 2013-06-18  Glenn Morris  <rgm@gnu.org>
17884         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
17886         * newcomment.el (comment-search-forward, comment-search-backward):
17887         Doc fix.  (Bug#14376)
17889 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
17891         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
17892         (buffer-face-mode-invoke): Doc fix.
17894 2013-06-18  Matthias Meulien  <orontee@gmail.com>
17896         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
17897         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
17899 2013-06-18  Glenn Morris  <rgm@gnu.org>
17901         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
17902         Replace obsolete function generic-make-keywords with its expansion.
17904         * progmodes/python.el (ffap-alist): Declare.
17906         * textmodes/reftex.el (bibtex-mode-map): Declare.
17908 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17910         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
17911         (package-unpack, package-unpack-single): Return the pkg-dir.
17912         (package-download-transaction): Use it to update package-alist.
17914 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17916         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
17917         possible choice.
17919 2013-06-17  Juri Linkov  <juri@jurta.org>
17921         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
17923 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
17925         * emacs-lisp/package.el (package-load-descriptor):
17926         Remove `with-syntax-table' call, `read' doesn't need it.
17927         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
17929 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
17931         * startup.el (command-line): Expand package name returned by
17932         `package--description-file' (bug#14639).
17934 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
17936         * emacs-lisp/package.el (package-load-descriptor): Do not call
17937         `emacs-lisp-mode', just use its syntax table.
17939 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
17941         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
17942         `font-lock-extra-managed-props' if any prettifying keyword is added.
17943         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
17944         (prog-mode): Use `setq-local'.
17946 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17948         * international/characters.el (standard-case-table): Set syntax of ?»
17949         and ?« to punctuation.
17951 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
17953         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
17954         Save relevant match data before calling `syntax-ppss' (bug#14595).
17956 2013-06-15  Juri Linkov  <juri@jurta.org>
17958         * files-x.el (modify-file-local-variable-prop-line): Add local
17959         variables to the end of the existing comment on the first line.
17960         Use `file-auto-mode-skip' to skip interpreter magic line,
17961         and also skip XML declaration.
17963 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17965         * startup.el (package--builtin-versions): New var.
17966         (package-subdirectory-regexp): Remove.
17967         (package--description-file): Hard code its value instead.
17969         * emacs-lisp/package.el: Don't activate packages older than builtin.
17970         (package-obsolete-list): Rename from package-obsolete-alist, and make
17971         it into a simple list of package-desc.
17972         (package-strip-version): Remove.
17973         (package-built-in-p): Use package--builtin-versions.
17974         (package-mark-obsolete): Simplify.
17975         (package-process-define-package): Mark it obsolete if older than the
17976         builtin version.
17977         (package-handle-response): Use line-end-position.
17978         (package-read-archive-contents, package--download-one-archive):
17979         Simplify.
17980         (package--add-to-archive-contents): Skip if older than the builtin or
17981         installed version.
17982         (package-menu-describe-package): Fix last change.
17983         (package-list-unversioned): New var.
17984         (package-menu--generate): Use it.
17986         * emacs-lisp/autoload.el: Manage package--builtin-versions.
17987         (autoload--insert-text, autoload--insert-cookie-text): New functions.
17988         (autoload-builtin-package-versions): New variable.
17989         (autoload-generate-file-autoloads): Use them.
17990         Remove the list of autoloaded functions/macros from the
17991         (autoload...) comments.
17993         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
17995 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
17997         * simple.el (line-move-partial): Don't jump to the next screen
17998         line as soon as it becomes visible.  Instead, continue enlarging
17999         the vscroll until the portion of a tall screen line that's left on
18000         display is about the height of the frame's default font.
18001         (Bug#14567)
18003 2013-06-15  Glenn Morris  <rgm@gnu.org>
18005         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
18006         compilation-error-regexp-alist void, or local while let-bound.
18008         * progmodes/make-mode.el (makefile-mode-syntax-table):
18009         Treat "=" as punctuation.  (Bug#14614)
18011 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
18013         * help-fns.el (describe-variable):
18014         Add extra line for permanent-local variables.
18016 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
18018         * progmodes/scheme.el (scheme-font-lock-keywords-2):
18019         Add export, import, library.  (Bug#9164)
18020         (library): Set indent function.
18022 2013-06-14  Glenn Morris  <rgm@gnu.org>
18024         * term/xterm.el (xterm--query):
18025         Stop after first matching handler.  (Bug#14615)
18027 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
18029         Add support for dired in saveplace.
18030         * dired.el (dired-initial-position-hook): New variable.
18031         (dired-initial-position): Call hook to place cursor position.
18032         * saveplace.el (save-place-to-alist): Add dired position.
18033         (save-place-dired-hook): New function.
18035 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18037         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
18038         through a symbol rather than letrec.
18040         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
18041         (package-desc): Add `dir' field.
18042         (package-desc-full-name): New function.
18043         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
18044         (package-maybe-load-descriptor): Remove.
18045         (package-load-all-descriptors): Just call package-load-descriptor.
18046         (package--disabled-p): New function.
18047         (package-desc-vers, package-desc-doc): Remove aliases.
18048         (package--dir): Remove function.
18049         (package-activate): Check if a package is disabled.
18050         (package-process-define-package): New function, extracted from
18051         define-package.
18052         (define-package): Turn into a place holder.
18053         (package-unpack-single, package-tar-file-info):
18054         Use package--description-file.
18055         (package-compute-transaction): Use package--disabled-p.
18056         (package-download-transaction): Don't call
18057         package-maybe-load-descriptor since they're all loaded anyway.
18058         (package-install): Change argument to be a pkg-desc.
18059         (package-delete): Use a single pkg-desc argument.
18060         (describe-package-1): Use package-desc-dir instead of package--dir.
18061         Use package-desc property instead of package-symbol.
18062         (package-install-button-action): Adjust accordingly.
18063         (package--push): Rewrite.
18064         (package-menu--print-info): Adjust accordingly.  Change the ID format
18065         to be a pkg-desc.
18066         (package-menu-describe-package, package-menu-get-status)
18067         (package-menu--find-upgrades, package-menu-mark-upgrades)
18068         (package-menu-execute, package-menu--name-predicate):
18069         Adjust accordingly.
18070         * startup.el (package--description-file): New function.
18071         (command-line): Use it.
18072         * emacs-lisp/package-x.el (package-upload-buffer-internal):
18073         Use package-desc-version.
18075         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
18076         (byte-compile-preprocess): Use it.
18077         (byte-compile-file-form-defalias): Try a bit harder to use macros we
18078         can't quite recognize.
18079         (byte-compile-add-to-list): Remove.
18080         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
18081         (cconv-closure-convert): Add assertion.
18083         * emacs-lisp/map-ynp.el: Use lexical-binding.
18084         (map-y-or-n-p): Remove unused vars `tail' and `object'.
18085         Factor out some repeated code.
18087 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18089         * subr.el (with-eval-after-load): New macro.
18090         (eval-after-load): Allow form to be a function.
18091         take advantage of lexical-binding.
18092         (do-after-load-evaluation): Use dolist and adjust to new format.
18093         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
18095 2013-06-13  Juri Linkov  <juri@jurta.org>
18097         * replace.el (perform-replace): Display "symbol " and other search
18098         modes from `isearch-message-prefix' in the *Help* buffer.
18100         * isearch.el (isearch-query-replace): Add " symbol" and other
18101         possible search modes from `isearch-message-prefix' to the prompt.
18102         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
18103         when reading a regexp to collect.
18105 2013-06-13  Juri Linkov  <juri@jurta.org>
18107         * isearch.el (word-search-regexp): Match whitespace if the search
18108         string begins or ends in whitespace.  The LAX arg is applied to
18109         both ends of the search string.  Use `regexp-quote' and explicit
18110         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
18111         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
18112         boundaries are replaced with symbol boundaries, and characters
18113         between symbols match non-word non-symbol syntax.  (Bug#14602)
18115 2013-06-13  Juri Linkov  <juri@jurta.org>
18117         * isearch.el (isearch-del-char): Don't exceed the length of
18118         `isearch-string' by the prefix arg.  (Bug#14563)
18120 2013-06-13  Juri Linkov  <juri@jurta.org>
18122         * isearch.el (isearch-yank-word, isearch-yank-line)
18123         (isearch-char-by-name, isearch-quote-char)
18124         (isearch-printing-char, isearch-process-search-char):
18125         Add optional count prefix arg.  (Bug#14563)
18127         * international/isearch-x.el
18128         (isearch-process-search-multibyte-characters):
18129         Add optional count prefix arg.
18131 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18133         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
18134         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
18135         lexical-binding.
18137 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
18139         * subr.el (set-temporary-overlay-map): Add on-exit argument.
18141 2013-06-13  Glenn Morris  <rgm@gnu.org>
18143         * startup.el (tty-handle-args):
18144         Don't just discard "--" and anything after.  (Bug#14608)
18146         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
18148 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
18150         Implement changes in Secret Service API.  Make it backward compatible.
18151         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
18152         (secrets-create-item): Use it.  Prefix properties with interface.
18154 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
18156         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
18157         (term-emulate-terminal): Respect term-suppress-hard-newline.
18159 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
18161         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
18162         Only remove a `thumb-file' overlay.  (Bug#14548)
18164 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
18166         * mail/reporter.el (reporter-submit-bug-report):
18167         Handle missing package-name.  (Bug#14600)
18169 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
18171         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
18172         (reftex-citation-prompt, reftex-default-bibliography)
18173         (reftex-bib-or-thebib, reftex-get-bibfile-list)
18174         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
18175         (reftex-bib-sort-author, reftex-bib-sort-year)
18176         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
18177         (reftex-extract-bib-entries-from-thebibliography)
18178         (reftex-get-bibkey-default, reftex-get-bib-names)
18179         (reftex-parse-bibtex-entry, reftex-get-bib-field)
18180         (reftex-format-bib-entry, reftex-parse-bibitem)
18181         (reftex-format-bibitem, reftex-do-citation)
18182         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
18183         (reftex-restrict-bib-matches, reftex-extract-bib-file)
18184         (reftex-insert-bib-matches, reftex-format-citation)
18185         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
18186         (reftex-create-bibtex-file): Add docstrings, mostly by converting
18187         existing comments into docstrings.
18189 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
18191         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
18193 2013-06-12  Andreas Schwab  <schwab@suse.de>
18195         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
18196         for auto-save files.
18198 2013-06-12  Glenn Morris  <rgm@gnu.org>
18200         * ido.el (ido-delete-ignored-files): Remove.
18201         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
18202         Go back to calling ido-ignore-item-p directly.
18204 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
18206         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
18208         * ido.el (ido-delete-ignored-files): New function,
18209         split from ido-make-file-list-1.
18210         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
18211         (ido-make-file-list-1): Use ido-delete-ignored-files.
18213 2013-06-12  Leo Liu  <sdl.web@gmail.com>
18215         * progmodes/octave.el (inferior-octave-startup)
18216         (inferior-octave-completion-table)
18217         (inferior-octave-track-window-width-change)
18218         (octave-eldoc-function-signatures, octave-help)
18219         (octave-find-definition): Use single quoted strings.
18220         (inferior-octave-startup-args): Change default value.
18221         (inferior-octave-startup): Do not hard code "-i" and
18222         "--no-line-editing".
18223         (inferior-octave-resync-dirs): Add optional arg NOERROR.
18224         (inferior-octave-directory-tracker): Use it.
18225         (octave-goto-function-definition): Robustify.
18226         (octave-help): Support highlighting operators in 'See also'.
18227         (octave-find-definition): Find subfunctions only in Octave mode.
18229 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18231         * help-fns.el (help-fns--compiler-macro): If the handler function is
18232         named, then put a link to it.
18233         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
18234         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
18235         (cl-typep): Use it.
18236         (cl-eval-when): Simplify debug spec.
18237         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
18238         compiler-macro function instead of setting `compiler-macro-file'.
18240 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
18242         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
18243         * vc/vc-hooks.el (vc-stay-local): Doc fix.
18245 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18246             Daniel Hackney  <dan@haxney.org>
18248         First part of Daniel Hackney's patch to package.el.
18249         * emacs-lisp/package.el: Use defstruct.
18250         (package-desc): New, main struct.
18251         (package--bi-desc, package--ac-desc): New structs, used to describe the
18252         format in external files.
18253         (package-desc-vers): Replace with package-desc-version accessor.
18254         (package-desc-doc): Replace with package-desc-summary accessor.
18255         (package-activate-1): Remove `package' arg since the pkg-vec now
18256         includes the name.
18257         (define-package): Use package-desc-from-define.
18258         (package-unpack-single): Change file-name arg to be a symbol.
18259         (package--add-to-archive-contents): Use package-desc-create and new
18260         accessor functions to package--ac-desc.
18261         (package-buffer-info, package-tar-file-info): Return a package-desc.
18262         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
18263         arg to be a package-desc.
18264         (package-install-file): Adjust accordingly.  Use \' to match EOS.
18265         (package--from-builtin): New function.
18266         (describe-package-1, package-menu--generate): Use it.
18267         (package--make-autoloads-and-compile): Change name arg to be a symbol.
18268         (package-generate-autoloads): Idem and return the name of the file.
18269         * emacs-lisp/package-x.el (package-upload-buffer-internal):
18270         Change pkg-info arg to be a package-desc.
18271         Use package-make-ac-desc.
18272         (package-upload-file): Use \' to match EOS.
18273         * finder.el (finder-compile-keywords): Use package-make-builtin.
18275 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18277         * vc/vc.el (vc-deduce-fileset): Change error message.
18278         (vc-read-backend): New function.
18279         (vc-next-action): Use it.
18281         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
18283         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
18284         (prolog-font-lock-keywords): Use regexp-opt instead.
18285         Don't manually highlight strings.
18286         (prolog-mode-variables): Simplify comment-start-skip.
18287         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
18289         * emacs-lisp/generic.el (generic--normalise-comments)
18290         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
18291         (generic-mode-set-comments): Use them.
18292         (generic-bracket-support): Use setq-local.
18293         (generic-make-keywords-list): Declare obsolete.
18295 2013-06-11  Glenn Morris  <rgm@gnu.org>
18297         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
18298         Prettify after setting font-lock-defaults.  (Bug#14574)
18300 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
18302         * replace.el (query-replace, occur-read-regexp-defaults-function)
18303         (replace-search):
18304         * subr.el (declare-function, number-sequence, local-set-key)
18305         (substitute-key-definition, locate-user-emacs-file)
18306         (with-silent-modifications, split-string, eval-after-load):
18307         Fix typos, remove unneeded backslashes and reflow some docstrings.
18309 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18311         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
18312         default for Elisp files.
18314 2013-06-11  Glenn Morris  <rgm@gnu.org>
18316         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
18317         although define-derived-mode was doing this anyway.  (Bug#14583)
18319 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
18321         * allout.el (allout-encryption-plaintext-sanitization-regexps):
18322         Fix make-variable-buffer-local call to refer to the correct variable.
18324 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
18326         * eshell/em-term.el (eshell-visual-commands)
18327         (eshell-visual-subcommands, eshell-visual-options):
18328         Add summary line to docstrings.  Add cross-references.
18330 2013-06-10  Glenn Morris  <rgm@gnu.org>
18332         * epa.el (epa-read-file-name): New function.  (Bug#14510)
18333         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
18335 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
18337         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
18338         output redirection to be ignored with visual commands.
18340 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
18342         * eshell/em-term.el (eshell-visual-command-p): New function.
18343         (eshell-term-initialize): Move long lambda to separate function
18344         eshell-visual-command-p.
18345         * eshell/em-dirs.el (eshell-dirs-initialize):
18346         * eshell/em-script.el (eshell-script-initialize):
18347         Add missing #' to lambda.
18349 2013-06-08  Leo Liu  <sdl.web@gmail.com>
18351         * progmodes/octave.el (octave-add-log-current-defun): New function.
18352         (octave-mode): Set add-log-current-defun-function.
18353         (octave-goto-function-definition): Do not move point if not found.
18354         (octave-find-definition): Enhance to try subfunctions first.
18356 2013-06-08  Glenn Morris  <rgm@gnu.org>
18358         * emacs-lisp/bytecomp.el (byte-compile-char-before)
18359         (byte-compile-backward-char, byte-compile-backward-word):
18360         Improve previous change, to handle non-explicit nil.
18362 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
18364         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
18365         (smie--opener/closer-at-point): New function.
18366         (smie--matching-block-data): Use it.  Don't match from right after an
18367         opener or right before a closer.  Obey smie-blink-matching-inners.
18368         Don't signal a mismatch for repeated inners like "switch..case..case".
18370 2013-06-07  Leo Liu  <sdl.web@gmail.com>
18372         * progmodes/octave.el (octave-mode): Set comment-use-global-state
18373         to t.  (Bug#14303)
18374         (octave-function-header-regexp): Fix.  (Bug#14570)
18375         (octave-help-mode-finish-hook, octave-help-mode-finish):
18376         Remove.  Just use temp-buffer-show-hook.
18378         * newcomment.el (comment-search-backward): Revert last change.
18379         (Bug#14434)
18381         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
18383 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
18385         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
18386         through xargs, to avoid failure due to MS-Windows limitations on
18387         command-line length.
18389 2013-06-06  Glenn Morris  <rgm@gnu.org>
18391         * font-lock.el (lisp-font-lock-keywords-2):
18392         Treat user-error like error.
18394         * emacs-lisp/bytecomp.el (byte-compile-char-before)
18395         (byte-compile-backward-char, byte-compile-backward-word):
18396         Handle explicit nil arguments.  (Bug#14565)
18398 2013-06-05  Alan Mackenzie  <acm@muc.de>
18400         * isearch.el (isearch-allow-prefix): New user option.
18401         (isearch-other-meta-char): Don't exit isearch when a prefix
18402         argument is typed whilst `isearch-allow-prefix' is non-nil.
18403         (Bug#9706)
18405 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18407         * autorevert.el (auto-revert-notify-handler): Use memq.
18408         Hide assertion failure.
18410         * skeleton.el: Use cl-lib.
18411         (skeleton-further-elements): Use defvar-local.
18412         (skeleton-insert): Use cl-progv.
18414 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
18416         * progmodes/prog-mode.el (prog-prettify-symbols)
18417         (prog-prettify-install): Update docstrings.
18419 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18421         * simple.el: Move all the prog-mode code to prog-mode.el.
18422         * progmodes/prog-mode.el: New file.
18423         * loadup.el: Add prog-mode.el.
18425 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
18427         * simple.el (prog-prettify-symbols): Add version.
18428         (prog-prettify-install): Add convenience function to prettify symbols.
18430         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
18431         (perl--augmented-font-lock-keywords-1)
18432         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
18433         variables and use it.
18435         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
18436         (cfengine3-mode): Remove unneeded variable and use it.
18438         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
18439         (lisp--augmented-font-lock-keywords-1)
18440         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
18441         Remove unneeded variables and use it.
18443 2013-06-05  João Távora  <joaotavora@gmail.com>
18445         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
18446         to point when opening the connection.  (Bug#14380)
18448 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18450         * subr.el (load-history-regexp, load-history-filename-element)
18451         (eval-after-load, after-load-functions, do-after-load-evaluation)
18452         (eval-next-after-load, display-delayed-warnings)
18453         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
18454         definition of save-match-data.
18455         (overriding-local-map): Remove accidental obsolescence declaration.
18457         * emacs-lisp/edebug.el (edebug-result): Move before first use.
18459 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
18461         Generalize symbol prettify support to prog-mode and implement it
18462         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
18463         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
18464         (prog--prettify-font-lock-compose-symbol)
18465         (prog-prettify-font-lock-symbols-keywords): New variables and
18466         functions to support symbol prettification.
18467         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
18468         (lisp--augmented-font-lock-keywords-1)
18469         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
18470         (lisp--prettify-symbols-alist): Implement prettify of lambda.
18471         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
18472         (cfengine3--prettify-symbols-alist, cfengine3-mode):
18473         Implement prettify of -> => :: strings.
18474         * progmodes/perl-mode.el (perl-prettify-symbols)
18475         (perl--font-lock-compose-symbol)
18476         (perl--font-lock-symbols-keywords): Move to prog-mode.
18477         (perl--prettify-symbols-alist): Prettify -> => :: strings.
18478         (perl-font-lock-keywords-1)
18479         (perl-font-lock-keywords-2): Remove explicit prettify support.
18480         (perl--augmented-font-lock-keywords)
18481         (perl--augmented-font-lock-keywords-1)
18482         (perl--augmented-font-lock-keywords-2, perl-mode):
18483         Implement prettify support.
18485 2013-06-05  Leo Liu  <sdl.web@gmail.com>
18487         Re-implement SMIE matching block highlight using
18488         show-paren-data-function.  (Bug#14395)
18489         * emacs-lisp/smie.el (smie-matching-block-highlight)
18490         (smie--highlight-matching-block-overlay)
18491         (smie--highlight-matching-block-lastpos)
18492         (smie-highlight-matching-block)
18493         (smie-highlight-matching-block-mode): Remove.
18494         (smie--matching-block-data-cache): New variable.
18495         (smie--matching-block-data): New function.
18496         (smie-setup): Use smie--matching-block-data for
18497         show-paren-data-function.
18499         * progmodes/octave.el (octave-mode-menu): Fix.
18500         (octave-find-definition): Skip garbage lines.
18502 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18504         Fix compilation error with simultaneous dynamic+lexical scoping.
18505         Add warning when a defvar appears after the first let-binding.
18506         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
18507         (byte-compile-close-variables): Initialize it.
18508         (byte-compile--declare-var): New function.
18509         (byte-compile-file-form-defvar)
18510         (byte-compile-file-form-define-abbrev-table)
18511         (byte-compile-file-form-custom-declare-variable): Use it.
18512         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
18513         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
18514         (byte-compile-bind): Handle dynamic bindings that shadow
18515         lexical bindings.
18516         (byte-compile-unbind): Make arg non-optional.
18517         (byte-compile-let): Simplify.
18518         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
18519         (cconv--analyse-function, cconv-analyse-form): Populate it.
18520         Protect byte-compile-bound-variables to limit the scope of defvars.
18521         (cconv-analyse-form): Add missing rule for (defvar <foo>).
18522         Remove unneeded rule for `declare'.
18524         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
18525         so as to avoid depending on cl-adjoin at run-time.
18526         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
18528         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
18529         (macroexp--warn-and-return): Use it.
18531 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18533         * subr.el: Convert to lexical binding.
18534         (overriding-local-map): Make obsolete.
18535         (add-to-list): Doc fix.  Add compiler macro.
18536         (read-key): Swap values of local maps.
18538 2013-06-05  Leo Liu  <sdl.web@gmail.com>
18540         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
18542 2013-06-04  Leo Liu  <sdl.web@gmail.com>
18544         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
18545         (compilation-auto-jump): Suppress the "Mark set" message to give
18546         way to exit message.
18548 2013-06-04  Alan Mackenzie  <acm@muc.de>
18550         Remove faulty optimization from indentation calculation.
18551         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
18552         search limit based on 2000 characters back from indent-point.
18554 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
18556         * eshell/em-term.el (cl-lib): Require `cl-lib'.
18558 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
18560         * emacs-lisp/lisp.el: Use lexical-binding.
18561         (lisp--local-variables-1, lisp--local-variables): New functions.
18562         (lisp--local-variables-completion-table): New var.
18563         (lisp-completion-at-point): Use it complete let-bound vars.
18565         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
18566         eagerly (bug#14422).
18568 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
18570         * autorevert.el (auto-revert-notify-enabled)
18571         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
18572         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
18573         (auto-revert-notify-handler): Handle also gfilenotify.
18575         * subr.el (file-notify-handle-event): New defun.  Replacing ...
18576         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
18577         Remove.
18579 2013-06-03  Juri Linkov  <juri@jurta.org>
18581         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
18582         `M-s h .'.  (Bug#14427)
18584         * hi-lock.el (highlight-symbol-at-point): New alias for the new
18585         command `hi-lock-face-symbol-at-point'.
18586         (hi-lock-face-symbol-at-point): New command.
18587         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
18588         (hi-lock-menu): Add `highlight-symbol-at-point'.
18589         (hi-lock-mode): Doc fix.
18591         * isearch.el (isearch-forward-symbol-at-point): New command.
18592         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
18593         (isearch-highlight-regexp): Add a regexp which matches
18594         words/symbols for word/symbol mode.
18596         * subr.el (find-tag-default-bounds): New function with the body
18597         mostly moved from `find-tag-default'.
18598         (find-tag-default): Move most code to `find-tag-default-bounds',
18599         call it and apply `buffer-substring-no-properties' afterwards.
18601 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
18603         * eshell/em-term.el (eshell-term-initialize):
18604         Use `cl-intersection' rather than `intersection'.
18606 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
18608         * vc/log-view.el: Doc fix.
18609         (log-view-mode-map): Copy keymap from `special-mode-map'.
18611 2013-06-02  Eric Ludlam  <zappo@gnu.org>
18613         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
18614         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
18615         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
18616         (eieio-unbound, eieio-default-superclass)
18617         (eieio--define-field-accessors, method-static, method-before)
18618         (method-primary, method-after, method-num-lists)
18619         (method-generic-before, method-generic-primary)
18620         (method-generic-after, method-num-slots)
18621         (eieio-specialized-key-to-generic-key)
18622         (eieio--check-type, class-v, class-p)
18623         (eieio-class-name, define-obsolete-function-alias)
18624         (eieio-class-parents-fast, eieio-class-children-fast)
18625         (same-class-fast-p, class-constructor, generic-p)
18626         (generic-primary-only-p, generic-primary-only-one-p)
18627         (class-option-assoc, class-option, eieio-object-p)
18628         (class-abstract-p, class-method-invocation-order)
18629         (eieio-defclass-autoload-map, eieio-defclass-autoload)
18630         (eieio-class-un-autoload, eieio-defclass)
18631         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
18632         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
18633         (eieio--defgeneric-init-form, eieio-defgeneric-form)
18634         (eieio-defgeneric-reset-generic-form)
18635         (eieio-defgeneric-form-primary-only)
18636         (eieio-defgeneric-reset-generic-form-primary-only)
18637         (eieio-defgeneric-form-primary-only-one)
18638         (eieio-defgeneric-reset-generic-form-primary-only-one)
18639         (eieio-unbind-method-implementations)
18640         (eieio--defmethod, eieio--typep)
18641         (eieio-perform-slot-validation, eieio-validate-slot-value)
18642         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
18643         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
18644         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
18645         (eieio-slot-name-index, eieio-class-slot-name-index)
18646         (eieio-set-defaults, eieio-initarg-to-attribute)
18647         (eieio-attribute-to-initarg, eieio-c3-candidate)
18648         (eieio-c3-merge-lists, eieio-class-precedence-c3)
18649         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
18650         (eieio-class-precedence-list, eieio-generic-call-methodname)
18651         (eieio-generic-call-arglst, eieio-generic-call-key)
18652         (eieio-generic-call-next-method-list)
18653         (eieio-pre-method-execution-functions, eieio-generic-call)
18654         (eieio-generic-call-primary-only, eieiomt-method-list)
18655         (eieiomt-optimizing-obarray, eieiomt-install)
18656         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
18657         (eieio-generic-form, eieio-defmethod, make-obsolete)
18658         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
18659         (defclass): Remove `eval-and-compile' from macro.
18660         (call-next-method, shared-initialize): Instead of using
18661         `scoped-class' variable, use new eieio--scoped-class, and
18662         eieio--with-scoped-class.
18663         (initialize-instance): Rename local variable 'scoped-class' to
18664         'this-class' to remove ambiguitity from old global.
18666         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
18667         eieio.el.
18668         (eieio--scoped-class-stack): New variable.
18669         (eieio--scoped-class): New fcn.
18670         (eieio--with-scoped-class): New scoping macro.
18671         (eieio-defclass): Use pushnew instead of add-to-list.
18672         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
18673         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
18674         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
18675         `scoped-class' variable, use new eieio--scoped-class, and
18676         eieio--with-scoped-class.
18678         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
18680 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
18682         * eshell/esh-ext.el (eshell-external-command): Pass args to
18683         `eshell-find-interpreter'.
18684         (eshell-find-interpreter): Add new second parameter ARGS.
18686         * eshell/em-script.el (eshell-script-initialize): Add second arg
18687         to the function added as MATCH to `eshell-interpreter-alist'.
18689         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
18690         the function added as MATCH to `eshell-interpreter-alist'.
18692         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
18693         (eshell-visual-options): New defcustom.
18694         (eshell-escape-control-x): Adapt docstring.
18695         (eshell-term-initialize): Test `eshell-visual-subcommands' and
18696         `eshell-visual-options' in addition to `eshell-visual-commands'.
18697         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
18699 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
18701         * progmodes/python.el (python-indent-block-enders): Add break,
18702         continue and raise keywords.
18704 2013-06-01  Glenn Morris  <rgm@gnu.org>
18706         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
18708         Plain (f)boundp silences compilation warnings since Emacs 22.1.
18709         * progmodes/cc-cmds.el (delete-forward-p):
18710         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
18711         * progmodes/cc-engine.el (buffer-syntactic-context):
18712         * progmodes/cc-fonts.el (face-property-instance):
18713         * progmodes/cc-mode.el (set-keymap-parents):
18714         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
18715         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
18716         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
18717         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
18718         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
18720         * progmodes/cc-vars.el (other): Emacs has this widget since
18721         at least 21.1, so don't (re)define it.
18723         * eshell/em-cmpl.el (eshell-cmpl-initialize):
18724         Replace the obsolete alias pcomplete-arg-quote-list.
18726 2013-06-01  Leo Liu  <sdl.web@gmail.com>
18728         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
18729         punctuation syntax.
18730         (inferior-octave-minimal-columns)
18731         (inferior-octave-last-column-width): New variables.
18732         (inferior-octave-track-window-width-change): New function.
18733         (inferior-octave-mode): Adjust column width so that Octave output,
18734         for example from 'ls', can fit into the window nicely.
18736 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
18738         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
18739         Highlight expansions inside regexp literals.
18741 2013-05-31  Glenn Morris  <rgm@gnu.org>
18743         * obsolete/sym-comp.el (symbol-complete):
18744         Replace obsolete completion-annotate-function.
18746         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
18748 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
18750         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
18751         New function, checks if point is inside a literal that allows
18752         expression expansion.
18753         (ruby-syntax-propertize-expansion): Use it.
18754         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
18755         around the body.
18757 2013-05-30  Juri Linkov  <juri@jurta.org>
18759         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
18760         to "\M-si".
18761         (isearch-invisible): New variable.
18762         (isearch-forward): Doc fix.
18763         (isearch-mode): Set `isearch-invisible'
18764         to the value of `search-invisible'.
18765         (isearch-toggle-case-fold): Doc fix.
18766         (isearch-toggle-invisible): New command.
18767         (isearch-query-replace): Let-bind `search-invisible'
18768         to the value of `isearch-invisible'.
18769         (isearch-search): Use `isearch-invisible' instead of
18770         `search-invisible'.  Let-bind `search-invisible'
18771         to the value of `isearch-invisible'.  (Bug#11378)
18773 2013-05-30  Juri Linkov  <juri@jurta.org>
18775         * replace.el (perform-replace): Avoid `isearch-range-invisible'
18776         call when `query-flag' is nil and `search-invisible' is non-nil.
18777         (Bug#11746)
18779 2013-05-30  Glenn Morris  <rgm@gnu.org>
18781         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
18783         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
18784         (cc-require): Suppress spurious "noruntime" warnings.
18785         (cc-require-when-compile): Use fboundp, for sake of compiler.
18787         * progmodes/cc-mode.el: Move load of cc-vars before that of
18788         cc-langs (which in turn loads cc-vars), to quieten compiler.
18790 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18792         * paren.el: Simplify the code.
18793         (show-paren-mode): Always start the timer.
18794         (show-paren--idle-timer): Rename from show-paren-idle-timer.
18795         (show-paren--overlay, show-paren--overlay-1): Rename from
18796         show-paren-overlay and show-paren-overlay-1, and initialize to an
18797         overlay rather than to nil.
18798         (show-paren-function): Misc cleanup and simplifications.
18800 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18802         * paren.el (show-paren-data-function): New hook.
18803         (show-paren--default): New function, extracted from show-paren-function.
18804         (show-paren-function): Use show-paren-data-function.
18806 2013-05-30  Glenn Morris  <rgm@gnu.org>
18808         * ielm.el (ielm-map, ielm-complete-symbol):
18809         Use completion-at-point rather than obsolete functions.
18810         (inferior-emacs-lisp-mode): Doc fix.
18811         Set completion-at-point-functions, rather than
18812         comint-dynamic-complete-functions.
18814         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
18815         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
18816         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
18818         * image.el (image-animated-p): Tweak definition.
18820         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
18821         (rlogin-process-connection-type): Tweak default.  Add set-after.
18822         (rlogin-host): Doc fix.
18823         (rlogin): Tweak prompt.
18824         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
18826         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
18827         * progmodes/tcl.el (inferior-tcl-mode-map):
18828         Use completion-at-point rather than obsolete alias.
18830         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
18832         * minibuffer.el (read-file-name-completion-ignore-case):
18833         Move before completion--in-region, for eager macro expansion.
18835 2013-05-29  Juri Linkov  <juri@jurta.org>
18837         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
18838         for total count of matching lines.  Add `global-matches' for total
18839         count of matches.  Rename `matches' to `lines' for count of
18840         matching lines.  Add `matches' for count of matches.
18841         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
18842         to `prev-line' for line number of prev match endpt.
18843         Increment `matches' for every match.  Print the number of
18844         matching lines in the header.
18845         (occur-context-lines): Rename `lines' to `curr-line'.
18846         Rename `prev-lines' to `prev-line'.  (Bug#14017)
18848 2013-05-29  Juri Linkov  <juri@jurta.org>
18850         * replace.el (perform-replace): Add `skip-read-only-count',
18851         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
18852         Increment them for corresponding conditions and report the number
18853         of skipped occurrences in the final message.  (Bug#11746)
18854         (query-replace, query-replace-regexp, query-replace-regexp-eval)
18855         (replace-string, replace-regexp): Doc fix.
18857 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18859         * emacs-lisp/trace.el (trace--read-args): Provide a default.
18861         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
18862         prog-mode-map (bug#14504).
18864 2013-05-29  Leo Liu  <sdl.web@gmail.com>
18866         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
18867         (octave-help): Small simplification.
18869         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
18870         off the highlight first.
18872 2013-05-29  Glenn Morris  <rgm@gnu.org>
18874         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
18875         Handle idlwave-last-system-routine-info-cons-cell being nil.
18877         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
18878         (idlwave-write-paths): Simplify via with-temp-buffer.
18880         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
18881         * emulation/cua-rect.el: Also load cua-base at run time.
18883         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
18884         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
18885         (cperl-imenu-on-info): Require imenu.
18887 2013-05-28  Alan Mackenzie  <acm@muc.de>
18889         Handle "capitalised keywords" correctly.
18890         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
18892 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
18894         * eshell/em-unix.el: Add -r option to cp.
18896 2013-05-28  Glenn Morris  <rgm@gnu.org>
18898         * vc/vc-arch.el (vc-exec-after): Declare.
18899         (vc-switches): Autoload.
18900         * vc/vc-bzr.el: No need to require vc when compiling.
18901         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
18902         (vc-resynch-buffer, vc-dir-refresh): Declare.
18903         (vc-setup-buffer, vc-switches): Autoload.
18904         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
18905         (vc-resynch-buffer): Declare.
18906         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
18907         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
18908         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
18909         (grep-read-regexp, grep-read-files, grep-expand-template)
18910         (vc-dir-refresh): Declare.
18911         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
18912         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
18913         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
18914         * vc/vc-mtn.el (vc-exec-after): Declare.
18915         (vc-switches): Autoload.
18916         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
18917         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
18918         (vc-file-tree-walk): Declare.
18919         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
18920         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
18921         (vc-tag-precondition, vc-rename-master): Autoload.
18922         * vc/vc-svn.el (vc-exec-after): Declare.
18923         (vc-switches, vc-setup-buffer): Autoload.
18924         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
18925         Autoload.
18926         (vc-resynch-buffer): Declare.
18928         * obsolete/fast-lock.el (byte-compile-warnings):
18929         Don't warn about obsolete features in this obsolete file.
18931         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
18932         Move definition before use.
18934         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
18935         (dun-unix-verbs): Remove dun-zippy.
18936         (dun-zippy): Remove function.
18938         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
18940 2013-05-27  Juri Linkov  <juri@jurta.org>
18942         * replace.el (replace-search): New function with code moved out
18943         from `perform-replace'.
18944         (replace-highlight, replace-dehighlight): Move function definitions
18945         up closer to `replace-search'.  (Bug#11746)
18947 2013-05-27  Juri Linkov  <juri@jurta.org>
18949         * replace.el (perform-replace): Ignore invisible matches.
18950         In addition to checking `query-replace-skip-read-only', also
18951         filter out matches by calling `run-hook-with-args-until-failure'
18952         on `isearch-filter-predicates', and also check `search-invisible'
18953         for t or call `isearch-range-invisible'.
18954         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
18956 2013-05-27  Juri Linkov  <juri@jurta.org>
18958         * isearch.el (isearch-filter-predicates): Rename from
18959         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
18960         (isearch-message-prefix): Display text from the property
18961         `isearch-message-prefix' of the currently active filters.
18962         (isearch-search): Don't compare `isearch-filter-predicate' with
18963         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
18964         on `isearch-filter-predicates'.  Also check `search-invisible' for t
18965         or call `isearch-range-invisible'.
18966         (isearch-filter-visible): Make obsolete.
18967         (isearch-lazy-highlight-search):
18968         Call `run-hook-with-args-until-failure' on
18969         `isearch-filter-predicates' and use `isearch-range-invisible'.
18971         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
18972         `isearch-filter-predicates' instead of `funcall'ing
18973         `isearch-filter-predicate'.
18974         (Info-mode): Set `Info-isearch-filter' to
18975         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
18977         * dired-aux.el (dired-isearch-filter-predicate-orig):
18978         Remove variable.
18979         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
18980         (dired-isearch-filenames-end): Add and remove
18981         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
18982         instead of changing the value of `isearch-filter-predicate'.
18983         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
18984         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
18985         Put property `isearch-message-prefix' to "filename " on
18986         `dired-isearch-filter-filenames'.
18988         * wdired.el (wdired-change-to-wdired-mode):
18989         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
18990         locally instead of changing `isearch-filter-predicate'.
18991         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
18993 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
18995         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
18996         return the commit hash (Bug#14459).  Also set the
18997         `vc-git-detached' property.
18998         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
18999         (vc-git-mode-line-string): Use the same help-echo format whether
19000         in detached mode or not, because we know the actual revision now.
19001         When in detached mode, shorten the revision to 7 chars.
19003 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19005         * emacs-lisp/easy-mmode.el (define-minor-mode):
19006         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
19007         mode hook and provide a docstring.
19009 2013-05-27  Alan Mackenzie  <acm@muc.de>
19011         Remove spurious syntax-table text properties inserted by C-y.
19012         * progmodes/cc-mode.el (c-after-change): Also clear hard
19013         syntax-table property with value nil.
19015 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
19017         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
19018         when reading the events; the buffer layout shall not be changed.
19020 2013-05-27  Leo Liu  <sdl.web@gmail.com>
19022         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
19023         New variable.
19024         (inferior-octave-directory-tracker): Automatically re-sync
19025         default-directory.
19026         (octave-help): Improve handling of 'See also'.
19028 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19030         * doc-view.el: Minor naming convention tweaks.
19031         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
19033         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
19034         even if there's no `display' property yet (bug#14435).
19036 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
19038         * subr.el (unmsys--file-name): Rename from reveal-filename.
19040         * Makefile.in (custom-deps, finder-data, autoloads)
19041         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
19042         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
19043         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
19045 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
19047         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
19048         error-completion on the first 2 args of condition-case (bug#14446).
19049         Don't burp at EOB.
19051 2013-05-25  Leo Liu  <sdl.web@gmail.com>
19053         * comint.el (comint-previous-matching-input): Do not flood the
19054         *Messages* buffer with trivial messages.
19056 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
19058         * progmodes/flymake.el (flymake-nop): Don't return a string.
19059         (flymake-set-at): Fix typo.
19061         * simple.el (read--expression): New function, extracted from
19062         eval-expression.  Set completion-at-point-functions (bug#14465).
19063         (eval-expression, eval-minibuffer): Use it.
19065 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
19067         * progmodes/flymake.el (flymake-save-buffer-in-file)
19068         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
19069         (flymake-selected-frame, flymake-log, flymake-ins-after)
19070         (flymake-set-at, flymake-get-buildfile-from-cache)
19071         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
19072         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
19073         Refine the doc string.
19074         (flymake-get-file-name-mode-and-masks): Reformat.
19075         (flymake-get-real-file-name-function): Fix a minor bug.
19077 2013-05-24  Juri Linkov  <juri@jurta.org>
19079         * progmodes/grep.el (grep-mode-font-lock-keywords):
19080         Support =linenumber= format used by git-grep for lines with
19081         function names.  (Bug#13549)
19083 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19085         * progmodes/octave.el (octave-smie-rules): Return nil rather than
19086         0 after a semi-colon; it works better for smie-auto-fill.
19087         (octave--indent-new-comment-line): New function.
19088         (octave-indent-new-comment-line): Use it (indirectly).
19089         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
19090         modify comment-line-break-function.
19092         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
19093         (smie-setup): Use add-function to set it.
19095 2013-05-24  Sam Steingold  <sds@gnu.org>
19097         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
19098         argument (before the `interactive' argument).
19100 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19102         * image-mode.el (image-mode-winprops): Add winprops to
19103         image-mode-winprops-alist before running
19104         image-mode-new-window-functions.
19105         * doc-view.el (doc-view-new-window-function): Don't delay
19106         doc-view-goto-page via timers (bug#14435).
19108 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
19110         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
19111         (doc-view-desktop-save-buffer): New function.
19112         (doc-view-restore-desktop-buffer): New function.
19113         (desktop-buffer-mode-handlers):
19114         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
19115         handler.
19116         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
19117         `desktop-save-buffer' function.
19119 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
19121         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
19122         (tramp-gvfs-file-name-handler): Raise a user error when
19123         `tramp-gvfs-enabled' is nil.
19124         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
19125         Do not raise a user error when loading package.  (Bug#14447)
19127         * net/xesam.el: Move to obsolete/.
19129 2013-05-24  Glenn Morris  <rgm@gnu.org>
19131         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
19133         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
19135         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
19136         (Info-find-node, Man-getpage-in-background): Declare.
19138         * mail/unrmail.el (unrmail):
19139         Replace obsolete detect-coding-with-priority.
19141         * net/socks.el (socks-split-string): Use this rather than split-string.
19142         (socks-nslookup-host): Update for above change.
19143         (dynamic-choice, s5-dynamic-choice-match)
19144         (s5-dynamic-choice-match-inline, s5-widget-value-create):
19145         Comment out unused code.
19147         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
19148         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
19149         (gud-tooltip-echo-area): Make obsolete.
19150         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
19152         * progmodes/js.el (js--optimize-arglist): Declare.
19154         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
19156         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
19157         (ediff-window-C): Declare.
19159         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
19160         Tweak requires to silence compiler.
19162         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
19163         (he-search-string, he-tried-table, he-expand-list)
19164         (he-init-string, he-string-member, he-substitute-string)
19165         (he-reset-string): Declare.
19167         * obsolete/options.el (list-options): Use custom-variable-p,
19168         rather than obsolete alias.
19170 2013-05-23  Sam Steingold  <sds@gnu.org>
19172         * simple.el (shell-command-on-region): Pass the `replace' argument
19173         down to `call-process-region' to comply with the doc as reported on
19174         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
19176 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19178         * emacs-lisp/smie.el (smie-indent-forward-token)
19179         (smie-indent-backward-token): Handle string tokens (bug#14381).
19181 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
19183         * ielm.el (ielm-menu): New menu.
19184         (inferior-emacs-lisp-mode): Set comment-start.
19186 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
19188         * textmodes/reftex.el (reftex-ref-style-toggle):
19189         Fix deactivate action.
19191         * textmodes/reftex-vars.el (reftex-ref-style-alist):
19192         Add cleveref macros.
19194         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
19195         Accept options for bibliography commands.
19196         * textmodes/reftex-vars.el (reftex-bibliography-commands):
19197         Add addbibresource.  Basic Biblatex support.
19199 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
19201         * net/tramp-gvfs.el (top):
19202         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
19203         when loading package.  (Bug#14447)
19205 2013-05-23  Glenn Morris  <rgm@gnu.org>
19207         * progmodes/js.el: No need to load comint when compiling.
19208         (ring-insert, comint-send-string, comint-send-input)
19209         (comint-last-input-end, ido-chop): Declare.
19211         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
19212         * vc/ediff-mult.el: Adjust requires.
19213         (ediff-directories-internal, ediff-directory-revisions-internal)
19214         (ediff-patch-file-internal): Declare.
19215         * vc/ediff-ptch.el: Adjust requires.
19216         (ediff-use-last-dir, ediff-buffers-internal): Declare.
19217         (ediff-find-file): Autoload.
19218         * vc/ediff-util.el: No need to load ediff when compiling.
19219         (ediff-regions-internal): Declare.
19220         * vc/ediff-wind.el: Adjust requires.
19221         (ediff-compute-toolbar-width): Define when compiling.
19222         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
19223         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
19224         (dired-get-filename, dired-get-marked-files)
19225         (ediff-last-dir-patch, ediff-patch-default-directory)
19226         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
19227         (ediff-patch-buffer-internal): Declare.
19229         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
19230         (ispell-process, ispell-buffer-local-words, lm-summary)
19231         (lm-section-start, lm-section-end): Declare.
19232         (checkdoc-ispell-init): Simplify.
19234         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
19235         (he-string-member, he-reset-string, he-substitute-string): Declare.
19237         * eshell/em-ls.el: Adjust requires.
19238         (eshell-glob-regexp): Declare.
19239         * eshell/em-tramp.el: Adjust requires.
19240         (eshell-parse-command): Autoload.
19241         * eshell/em-xtra.el: Adjust requires.
19242         (eshell-parse-command): Autoload.
19243         * eshell/esh-ext.el: Adjust requires.
19244         (eshell-parse-command, eshell-close-handles): Autoload.
19245         * eshell/esh-io.el: Adjust requires.
19246         (eshell-output-filter): Autoload.
19247         * eshell/esh-util.el: No need to load tramp when compiling.
19248         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
19249         Declare.
19250         (eshell-parse-ange-ls): Require ange-ftp and tramp.
19251         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
19252         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
19253         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
19254         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
19255         * eshell/esh-opt.el, eshell/esh-proc.el:
19256         * eshell/esh-var.el: Adjust requires.
19257         * eshell/eshell.el: Do not require esh-util twice.
19258         (eshell-add-input-to-history): Declare.
19259         (eshell-command): Check history module is active before using it.
19261         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
19263 2013-05-22  Leo Liu  <sdl.web@gmail.com>
19265         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
19267 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
19269         * autorevert.el (auto-revert-notify-add-watch)
19270         (auto-revert-notify-handler): Add `attrib' for the inotify case,
19271         it indicates changes in file modification time.
19273 2013-05-22  Glenn Morris  <rgm@gnu.org>
19275         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
19276         Always delete the autoloaded function from the noruntime and
19277         unresolved functions lists.
19279         * allout.el: No need to load epa, epg, overlay when compiling.
19280         (epg-context-set-passphrase-callback, epg-list-keys)
19281         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
19282         (epg-key-user-id-list): Declare.
19284         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
19285         (viper-set-parsing-style-toggling-macro)
19286         (viper-set-emacs-state-searchstyle-macros):
19287         Use called-interactively-p on Emacs.
19288         (viper-looking-back): Make it an obsolete alias.  Update callers.
19289         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
19290         Use looking-back rather than viper-looking-back.
19291         (viper-tmp-insert-at-eob, viper-enlarge-region)
19292         (viper-read-string-with-history, viper-register-to-point)
19293         (viper-append-to-register, viper-change-state-to-vi)
19294         (viper-backward-char-carefully, viper-forward-char-carefully)
19295         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
19296         (viper-change-state-to-emacs): Declare.
19297         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
19298         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
19299         * emulation/viper-mous.el: Do not load viper-cmd.
19300         (viper-backward-char-carefully, viper-forward-char-carefully)
19301         (viper-forward-word, viper-adjust-window): Declare.
19303         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
19305         * progmodes/idlw-help.el (idlwave-help-fontify):
19306         Use called-interactively-p.
19308         * term/w32console.el (w32-get-console-codepage)
19309         (w32-get-console-output-codepage): Declare.
19311         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
19312         Remove unnecessary declarations.
19313         (dframe-message): Doc fix.
19315         * info.el (dframe-select-attached-frame, dframe-current-frame):
19316         Declare.
19318         * speedbar.el (speedbar-message): Make it an obsolete alias.
19319         Update all callers.
19320         (speedbar-with-attached-buffer)
19321         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
19322         (speedbar-with-writable): Use backquote.
19323         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
19324         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
19325         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
19326         rather than speedbar- aliases.
19327         * mail/rmail.el: Load dframe rather than speedbar when compiling.
19328         (speedbar-make-specialized-keymap, speedbar-insert-button)
19329         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
19330         (speedbar-do-function-pointer): Declare.
19331         (rmail-speedbar-button, rmail-speedbar-find-file)
19332         (rmail-speedbar-move-message):
19333         Use dframe-with-attached-buffer rather than speedbar- alias.
19334         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
19335         (dframe-message, speedbar-make-specialized-keymap)
19336         (speedbar-add-expansion-list, speedbar-mode-functions-list)
19337         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
19338         (speedbar-insert-button, dframe-select-attached-frame)
19339         (dframe-maybee-jump-to-attached-frame)
19340         (speedbar-change-initial-expansion-list)
19341         (speedbar-previously-used-expansion-list-name): Declare.
19342         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
19343         Use dframe-message, dframe-with-attached-buffer rather than
19344         speedbar- aliases.
19345         (gud-sentinel): Silence compiler.
19346         * progmodes/vhdl-mode.el (speedbar-refresh)
19347         (speedbar-do-function-pointer, speedbar-add-supported-extension)
19348         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
19349         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
19350         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
19351         (speedbar-file-lists, speedbar-make-tag-line)
19352         (speedbar-line-directory, speedbar-goto-this-file)
19353         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
19354         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
19355         (speedbar-make-button, speedbar-reset-scanners)
19356         (speedbar-files-item-info, speedbar-line-text)
19357         (speedbar-find-file-in-frame, speedbar-set-timer)
19358         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
19359         (speedbar-with-writable): Do not (re)define it.
19360         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
19361         rather than speedbar- alias.
19363 2013-05-21  Leo Liu  <sdl.web@gmail.com>
19365         * progmodes/octave.el (octave-mode-menu): Update and re-organize
19366         menu items.
19367         (octave-mode): Tweak fill-nobreak-predicate.
19368         (inferior-octave-startup): Check process to avoid infinite loop.
19369         (inferior-octave): Pop to buffer first to show abornmal process
19370         exit information.
19372 2013-05-21  Glenn Morris  <rgm@gnu.org>
19374         * printing.el (pr-menu-bar): Define when compiling.
19376 2013-05-21  Leo Liu  <sdl.web@gmail.com>
19378         * progmodes/octave.el (octave-auto-fill): Remove.
19379         (octave-indent-new-comment-line): Improve.
19380         (octave-mode): Use auto fill mode through
19381         comment-line-break-function and fill-nobreak-predicate.
19382         (octave-goto-function-definition): Support DEFUN_DLD.
19383         (octave-beginning-of-defun): Small tweak.
19384         (octave-help): Show parent directory.
19386 2013-05-21  Glenn Morris  <rgm@gnu.org>
19388         * files.el (dired-unmark):
19389         * progmodes/gud.el (gdb-input): Update declarations.
19391         * calculator.el (electric, ehelp): No need to load when compiling.
19392         (Electric-command-loop, electric-describe-mode): Declare.
19394         * doc-view.el (doc-view-current-converter-processes): Move before use.
19396         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19397         Move MODE-set-explicitly definition before use.
19399         * international/mule-diag.el (mule-diag):
19400         Don't use obsolete window-system-version.
19402         * mail/feedmail.el (smtpmail): No need to load when compiling.
19403         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
19405         * mail/mail-utils.el (rfc822): No need to load when compiling.
19406         (rfc822-addresses): Autoload it.
19407         (mail-strip-quoted-names): Trivial simplification.
19409         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
19410         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
19412         * net/snmp-mode.el (tempo): Don't duplicate requires.
19414         * progmodes/prolog.el (info): No need to load when compiling.
19415         (comint): Require before shell requires it.
19416         (Info-goto-node): Autoload it.
19417         (Info-follow-nearest-node): Declare.
19418         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
19420         * textmodes/artist.el (picture-mode-exit): Declare.
19422         * textmodes/reftex-parse.el (reftex-parse-from-file):
19423         Trivial rewrite so the compiler can parse it better.
19425 2013-05-20  Leo Liu  <sdl.web@gmail.com>
19427         * progmodes/octave.el (octave-help-mode-map)
19428         (octave-help-mode-finish-hook): New variables.
19429         (octave-help-mode, octave-help-mode-finish): New functions.
19430         (octave-help): Use octave-help-mode.
19432 2013-05-20  Glenn Morris  <rgm@gnu.org>
19434         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
19436 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
19438         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
19439         start at point, so that expansion starting right after opening
19440         slash in a regexp is recognized.
19441         (ruby-syntax-before-regexp-re): New defvar, extracted from
19442         ruby-syntax-propertize-function.  Since the value of this regexp
19443         is looked up at runtime now, we should be able to turn
19444         `ruby-syntax-methods-before-regexp' into a defcustom later.
19445         (ruby-syntax-propertize-function): Split regexp matching into two
19446         parts, for opening and closing slashes.  That allows us to skip
19447         over string interpolations and support multiline regexps.
19448         Don't call `ruby-syntax-propertize-expansions', instead use another rule
19449         for them, which calls `ruby-syntax-propertize-expansion'.
19450         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
19451         call to `ruby-syntax-propertize-function'.
19452         (ruby-syntax-propertize-expansion): Extracted from
19453         `ruby-syntax-propertize-expansions'.  Handles one expansion.
19454         (ruby-syntax-propertize-percent-literal): Leave point right after
19455         the percent symbol, so that the expression expansion rule can
19456         propertize the contents.
19457         (ruby-syntax-propertize-heredoc): Leave point at bol following the
19458         heredoc openers.
19459         (ruby-syntax-propertize-expansions): Remove.
19461 2013-05-18  Juri Linkov  <juri@jurta.org>
19463         * man.el (Man-default-man-entry): Remove `-' from the end
19464         of the default value.  (Bug#14400)
19466 2013-05-18  Glenn Morris  <rgm@gnu.org>
19468         * comint.el (comint-password-prompt-regexp):
19469         Allow "password for XXX" where XXX contains colons (eg https://...).
19471 2013-05-18  Leo Liu  <sdl.web@gmail.com>
19473         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
19474         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
19475         (octave-source-directories): Don't check process.
19476         (octave-source-directories, octave-find-definition): Doc fix.
19478 2013-05-18  Glenn Morris  <rgm@gnu.org>
19480         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
19481         Remove backspace/delete bindings.  (Bug#14392)
19483         * cus-dep.el (custom-make-dependencies): Sort the output.
19484         (custom-versions-load-alist): Convert comment to doc.
19486 2013-05-17  Leo Liu  <sdl.web@gmail.com>
19488         * newcomment.el (comment-search-backward): Stricter in finding
19489         comment start.  (Bug#14303)
19491         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
19492         (octave-comment-start-skip): Properly anchored.
19494 2013-05-17  Leo Liu  <sdl.web@gmail.com>
19496         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
19497         Clean up when turned off.  (Bug#14395)
19498         (smie--highlight-matching-block-overlay): No longer buffer-local.
19499         (smie-highlight-matching-block): Adjust.
19501 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
19503         Doc string fix for "nanoseconds" (Bug#14406).
19504         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
19505         Fix doc string typo that had "nanoseconds" instead of "microseconds".
19507 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
19509         * calc/calc-units.el (math-extract-units): Preserve powers
19510         of units.
19512 2013-05-17  Leo Liu  <sdl.web@gmail.com>
19514         * subr.el (delete-consecutive-dups): New function.
19515         * ido.el (ido-set-matches-1): Use it.
19516         * progmodes/octave.el (inferior-octave-completion-table): Use it.
19517         * ido.el (ido-remove-consecutive-dups): Remove.
19519 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19521         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19522         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
19523         regexp-opt's `words'.
19525 2013-05-16  Leo Liu  <sdl.web@gmail.com>
19527         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
19528         (smie--highlight-matching-block-overlay)
19529         (smie--highlight-matching-block-lastpos)
19530         (smie--highlight-matching-block-timer): New variables.
19531         (smie-highlight-matching-block): New function.
19532         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
19533         (smie-setup): Conditionally enable smie-blink-matching-open.
19535 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
19537         Sync with upstream verilog-mode r840.
19538         * progmodes/verilog-mode.el (verilog-mode-version)
19539         (verilog-mode-release-date): Update.
19540         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
19541         (verilog-sig-tieoff): Fix string error on
19542         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
19543         (verilog-read-decls): Fix parameters confusing
19544         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
19546 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
19548         * subr.el (reveal-filename): New function.
19550         * loadup.el: Compute Emacs executable versions on MS-Windows,
19551         where executables have the .exe extension.  Add a hard link
19552         emacs-XX.YY.ZZ.exe on MS-Windows.
19554         * Makefile.in (XARGS_LIMIT): New variable.
19555         (custom-deps, finder-data, autoloads)
19556         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
19557         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
19558         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
19559         (compile-main): Limit xargs according to $(XARGS_LIMIT).
19561 2013-05-16  Leo Liu  <sdl.web@gmail.com>
19563         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
19564         (octave-mode-menu, octave-mode-map): Remove its uses.
19566 2013-05-16  Reto Zimmermann  <reto@gnu.org>
19568         Sync with upstream vhdl mode v3.34.2.
19569         * progmodes/vhdl-mode.el: Use `push' throughout.
19570         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
19571         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
19572         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
19573         (vhdl-actual-generic-name): New option to derive actual generic name.
19574         (vhdl-port-paste-signals): Replace formal by actual generics.
19575         (vhdl-beautify): New name for old group vhdl-align.  Update users.
19576         (vhdl-beautify-options): New option.
19577         (vhdl-last-input-event): New compat alias.  Use throughout.
19578         (vhdl-goto-line): Replace user level function `goto-line'.
19579         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
19580         vhdl-fix-statement-buffer.
19581         (vhdl-create-mode-menu): Add some entries.
19582         (vhdl-align-region-groups): Respect vhdl-beautify-options.
19583         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
19584         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
19585         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
19586         to force statements on one line.
19587         (vhdl-remove-trailing-spaces-region):
19588         New, split from vhdl-remove-trailing-spaces.
19589         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
19590         Respect vhdl-beautify-options.
19591         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
19592         (vhdl-update-sensitivity-list): Not add with index if exists without.
19593         Not include array index with signal.  Ignore keywords in comments.
19594         (vhdl-get-visible-signals): Regexp tweaks.
19595         (vhdl-template-component-inst): Handle empty library.
19596         (vhdl-template-type): Add template for 'enum' type.
19597         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
19598         Use vhdl-replace-string.
19599         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
19600         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
19601         (vhdl-speedbar-initialize): Update for above name change.
19602         (vhdl-compose-wire-components): Fix in handling of constants.
19603         (vhdl-error-regexp-emacs-alist): New variable.
19604         (vhdl-error-regexp-add-emacs): New function;
19605         adds support for new compile.el (Emacs 22+)
19606         (vhdl-generate-makefile-1): Change target order for single lib. units.
19607         Allow use of absolute file names.
19609 2013-05-16  Leo Liu  <sdl.web@gmail.com>
19611         * simple.el (prog-indent-sexp): Indent enclosing defun.
19613 2013-05-15  Glenn Morris  <rgm@gnu.org>
19615         * cus-start.el (show-trailing-whitespace): Move to editing basics.
19616         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
19617         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
19618         (whitespace-highlight): Move to whitespace group.
19620         * comint.el (comint-source):
19621         * pcmpl-linux.el (pcmpl-linux):
19622         * shell.el (shell-faces):
19623         * eshell/esh-opt.el (eshell-opt):
19624         * international/ccl.el (ccl): Remove empty custom groups.
19626         * completion.el (dynamic-completion-mode):
19627         * jit-lock.el (jit-lock-debug-mode):
19628         * minibuffer.el (completion-in-region-mode):
19629         * type-break.el (type-break-mode-line-message-mode)
19630         (type-break-query-mode):
19631         * emulation/tpu-edt.el (tpu-edt-mode):
19632         * progmodes/subword.el (global-subword-mode, global-superword-mode):
19633         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19634         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
19636         * term/xterm.el (xterm): Change parent group to terminals.
19638         * master.el (master): Remove empty custom group.
19639         (master-mode): Remove unused :group argument.
19640         * textmodes/refill.el (refill): Remove empty custom group.
19641         (refill-mode): Remove unused :group argument.
19643         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
19645         * cus-dep.el: Provide a feature.
19646         (custom-make-dependencies): Ignore dotfiles (dir-locals).
19647         Don't mistakenly ignore files whose basenames match a basename
19648         from preloaded-file-list (eg cedet/ede/simple.el).
19649         Add a fallback method for getting :group.
19651 2013-05-15  Juri Linkov  <juri@jurta.org>
19653         * isearch.el (isearch-char-by-name): Rename from
19654         `isearch-insert-char-by-name'.  Doc fix.
19655         (isearch-forward): Mention `isearch-char-by-name' in
19656         the docstring.  (Bug#13348)
19658         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
19659         `exit-minibuffer' instead of
19660         `isearch-nonincremental-exit-minibuffer'.
19661         (isearch-edit-string): Remove mention of
19662         `isearch-nonincremental-exit-minibuffer' from docstring.
19663         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
19664         (isearch-forward-exit-minibuffer)
19665         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
19667 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19669         * loadup.el: Just use unversioned DOC.
19671         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
19672         literals as extending to EOB.
19673         (nxml-last-fontify-end): Remove unused variable.
19674         (nxml-after-change1): Use with-silent-modifications.
19675         (nxml-extend-after-change-region): Simplify.
19676         (nxml-extend-after-change-region1): Remove function.
19677         (nxml-after-change1): Don't adjust for dependent regions.
19678         (nxml-fontify-matcher): Simplify.
19679         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
19680         (xmltok-add-dependent): Remove function.
19681         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
19682         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
19683         (xmltok-scan-prolog-after-processing-instruction-open): Treat
19684         unclosed <[[, <?, comment, and other literals as extending to EOB.
19685         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
19686         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
19687         Remove functions.
19688         (rng-do-some-validation-1): Don't mark dependent regions.
19689         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
19690         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
19691         (nxml-clear-dependent-regions): Remove functions.
19692         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
19693         (nxml-ensure-scan-up-to-date):
19694         Don't clear&mark dependent regions.
19696 2013-05-15  Leo Liu  <sdl.web@gmail.com>
19698         * progmodes/octave.el (octave-goto-function-definition):
19699         Improve and fix callers.
19701 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19703         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
19704         the setter (bug#14387).
19706         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
19707         surrounding group (bug#14402).
19709 2013-05-14  Juri Linkov  <juri@jurta.org>
19711         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
19712         (Bug#14390)
19714 2013-05-14  Glenn Morris  <rgm@gnu.org>
19716         * progmodes/f90.el (f90-imenu-generic-expression):
19717         Fix typo in 2013-05-08 change.  (Bug#14402)
19719 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
19721         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
19722         Remove signals for which replies are never received.
19724 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
19726         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
19727         (gdb-handler-alist, gdb-handler-number): Remove variables.
19728         (gdb-handler-list): New variable.
19729         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
19730         (gdb-pending-handler-p, gdb-handle-reply)
19731         (gdb-remove-all-pending-triggers): New functions.
19732         (gdb-discard-unordered-replies): New defcustom.
19733         (gdb-handler): New defstruct.
19734         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
19735         instead of gdb-pending-triggers.  Update docstring.
19736         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
19737         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
19738         (gdb-var-update-handler, def-gdb-auto-update-trigger)
19739         (def-gdb-auto-update-handler, gdb-get-changed-registers)
19740         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
19741         (gdb-frame-handler): Pending triggers are now automatically managed.
19742         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
19743         Remove argument.
19744         (gdb-input): Automatically handles pending triggers.  Update docstring.
19745         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
19746         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
19747         Update comments.
19748         (gdb-done-or-error): Now use gdb-handle-reply.
19750 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
19752         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
19753         gdb-debug-log.
19755 2013-05-14  Glenn Morris  <rgm@gnu.org>
19757         * subr.el (user-emacs-directory-warning): New option.
19758         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
19760 2013-05-14  Leo Liu  <sdl.web@gmail.com>
19762         * progmodes/octave.el (octave-font-lock-keywords): Fix error
19763         during redisplay.
19764         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
19765         (octave-font-lock-texinfo-comment): Fix invalid search bound
19766         error: wrong side of point.
19768 2013-05-14  Glenn Morris  <rgm@gnu.org>
19770         * progmodes/flymake.el (flymake-xml-program): New option.
19771         (flymake-xml-init): Use it.
19773         * term/xterm.el: Provide a feature.
19775         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
19777 2013-05-13  Glenn Morris  <rgm@gnu.org>
19779         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
19780         Add compat aliases as a hack workaround.  (Bug#14384)
19782 2013-05-13  Leo Liu  <sdl.web@gmail.com>
19784         * progmodes/octave.el (octave-indent-comment): Fix indentation for
19785         ###, and %!.
19786         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
19787         C-M-q.
19788         (octave-comment-start-skip): Include %!.
19789         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
19791 2013-05-12  Leo Liu  <sdl.web@gmail.com>
19793         * progmodes/octave.el (inferior-octave-startup): Store the value
19794         of __octave_srcdir__ for octave-source-directories.
19795         (inferior-octave-check-process): New function refactored out of
19796         inferior-octave-send-list-and-digest.
19797         (octave-source-directories)
19798         (octave-find-definition-filename-function): New variables.
19799         (octave-source-directories)
19800         (octave-find-definition-default-filename): New functions.
19801         (octave-find-definition): Improve to find functions implemented in C++.
19803 2013-05-12  Glenn Morris  <rgm@gnu.org>
19805         * calendar/diary-lib.el (diary-outlook-format-1):
19806         Don't include dayname in the output.  (Bug#14349)
19808 2013-05-11  Glenn Morris  <rgm@gnu.org>
19810         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
19812         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
19813         Treat cc-provide like provide.
19815 2013-05-11  Kevin Ryde  <user42@zip.com.au>
19817         * cus-dep.el (custom-make-dependencies):
19818         Use generated-autoload-load-name for the sake of files such
19819         such cedet/semantic/bovine/c.el, where the base file name
19820         is not in load-path.  (Bug#5277)
19822 2013-05-11  Glenn Morris  <rgm@gnu.org>
19824         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
19825         Provide features.
19827 2013-05-11  Leo Liu  <sdl.web@gmail.com>
19829         * progmodes/octave.el (octave-indent-comment): Improve.
19830         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
19831         (octave-eldoc-function-signatures, octave-eldoc-function):
19832         New functions.
19833         (octave-mode, inferior-octave-mode): Add eldoc support.
19835 2013-05-11  Richard Stallman  <rms@gnu.org>
19837         * epa.el (epa-decrypt-file): Take output file name as argument
19838         and read it using `interactive'.
19840 2013-05-11  Leo Liu  <sdl.web@gmail.com>
19842         * progmodes/octave.el (octave-beginning-of-line)
19843         (octave-end-of-line): Check before using up-list because it jumps
19844         out of more syntactic contructs since moving to smie.
19845         (octave-indent-comment): New function.
19846         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
19847         (octave-begin-keywords, octave-end-keywords)
19848         (octave-reserved-words, octave-smie-bnf-table)
19849         (octave-smie-rules): Add new keywords from Octave 3.6.4.
19851 2013-05-11  Glenn Morris  <rgm@gnu.org>
19853         * faces.el (internal-face-x-get-resource):
19854         * frame.el (ns-display-monitor-attributes-list):
19855         * calc/calc-aent.el (math-to-radians-2):
19856         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
19857         Fix declarations.
19859         * calc/calc-menu.el: Make it loadable in isolation.
19861         * net/eudcb-bbdb.el: Make it loadable without bbdb.
19862         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
19863         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
19864         (eudc-bbdb-query-internal): Require 'bbdb.
19866         * lpr.el (lpr-headers-switches):
19867         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
19869         * progmodes/sql.el (sql-login-params): Fix and improve :type.
19871         * emulation/edt-mapper.el: In batch mode, error rather than hang.
19873         * term.el (term-set-escape-char): Make it idempotent.
19875 2013-05-10  Leo Liu  <sdl.web@gmail.com>
19877         * progmodes/octave.el (inferior-octave-completion-table):
19878         No longer a function and all uses changed.  Use cache to speed up
19879         completion due to bug#11906.
19880         (octave-beginning-of-defun): Re-write to be more general.
19882 2013-05-10  Glenn Morris  <rgm@gnu.org>
19884         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
19886 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
19888         * comint.el (comint-redirect-send-command-to-process): Use :around
19889         rather than :override for comint-redirect-filter.
19890         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
19891         Call it instead of comint-redirect-original-filter-function (which
19892         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
19894 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
19896         * frame.el (display-monitor-attributes-list): Add NS case.
19897         (ns-display-monitor-attributes-list): Declare.
19899 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
19901         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
19903 2013-05-09  Glenn Morris  <rgm@gnu.org>
19905         * international/fontset.el (vertical-centering-font-regexp):
19906         Set standard-value.
19908         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
19910         * bookmark.el (bookmark-search-delay):
19911         * cus-start.el (vertical-centering-font-regexp):
19912         * ps-mule.el (ps-mule-font-info-database-default):
19913         * ps-print.el (ps-default-fg, ps-default-bg):
19914         * type-break.el (type-break-good-break-interval):
19915         * whitespace.el (whitespace-indentation-regexp)
19916         (whitespace-space-after-tab-regexp):
19917         * emacs-lisp/testcover.el (testcover-1value-functions)
19918         (testcover-noreturn-functions, testcover-progn-functions)
19919         (testcover-prog1-functions):
19920         * emulation/viper-init.el (viper-emacs-state-cursor-color):
19921         * eshell/em-glob.el (eshell-glob-translate-alist):
19922         * play/tetris.el (tetris-tty-colors):
19923         * progmodes/cpp.el (cpp-face-default-list):
19924         * progmodes/flymake.el (flymake-allowed-file-name-masks):
19925         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
19926         (idlwave-help-browser-generic-args):
19927         * progmodes/make-mode.el (makefile-special-targets-list):
19928         * progmodes/python.el (python-shell-virtualenv-path):
19929         * progmodes/verilog-mode.el (verilog-active-low-regexp)
19930         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
19931         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
19932         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
19933         * textmodes/reftex-vars.el (reftex-format-label-function):
19934         * textmodes/remember.el (remember-diary-file): Fix custom types.
19936         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
19937         Add :version.
19939 2013-05-09  Leo Liu  <sdl.web@gmail.com>
19941         * progmodes/octave.el (inferior-octave-completion-at-point):
19942         Restore file completion.  (Bug#14300)
19943         (inferior-octave-startup): Fix incorrect highlighting for the
19944         first prompt.
19946 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19948         * progmodes/ruby-mode.el: First cut at SMIE support.
19949         (ruby-use-smie): New var.
19950         (ruby-smie-grammar): New constant.
19951         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
19952         (ruby-smie--forward-token, ruby-smie--backward-token)
19953         (ruby-smie-rules): New functions.
19954         (ruby-mode-variables): Setup SMIE if applicable.
19956 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
19958         * simple.el (line-move-visual): Signal beginning/end of buffer
19959         only if vertical-motion moved less than it was requested.  Avoids
19960         silly incorrect error messages when there are display strings with
19961         multiple newlines at EOL.
19963 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19965         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
19966         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
19967         (prolog-char-quote-workaround):
19968         * progmodes/cperl-mode.el (cperl-under-as-char):
19969         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
19970         Mark as obsolete.
19971         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
19972         their declaration.
19973         (vhdl-mode-syntax-table-init): Remove.
19975         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
19976         last change.
19978         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
19979         syntax for "_".
19980         (ld-script-font-lock-keywords):
19981         Change regexps to use things like \_< and \_>.
19983         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
19984         Change all regexps to use things like \_< and \_>.
19986         * progmodes/autoconf.el (autoconf-definition-regexp)
19987         (autoconf-font-lock-keywords, autoconf-current-defun-function):
19988         Handle a _ with symbol syntax.
19989         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
19991         * progmodes/ada-mode.el (ada-mode-abbrev-table):
19992         Consolidate declaration.
19993         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
19994         the declaration.
19995         (ada-create-syntax-table): Remove.
19996         (ada-capitalize-word): Don't mess with the syntax of "_" since it
19997         already has the right syntax nowadays.
19998         (ada-goto-next-word): Don't change the syntax of "_".
20000         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
20001         with-wrapper-hook.
20003 2013-05-08  Sam Steingold  <sds@gnu.org>
20005         * thingatpt.el (thing-at-point): Accept optional second argument
20006         NO-PROPERTIES to strip the text properties from the return value.
20007         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
20008         to `thing-at-point' instead of stripping the properties ourselves.
20009         Also, when `thing-at-point' fails to find a url, prepend "http://"
20010         to the filename at point on the assumption that the user is
20011         pointing at something like gnu.org/gnu.
20013 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
20015         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
20016         * faces.el (crm-separator):
20017         Silence byte-compiler.
20019         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
20020         (tool-bar-map): Remove unneeded defvars.
20022 2013-05-08  Leo Liu  <sdl.web@gmail.com>
20024         Re-work a fix for bug#10994 based on Le Wang's patch.
20025         * ido.el (ido-remove-consecutive-dups): New helper.
20026         (ido-completing-read): Use it.
20027         (ido-chop): Revert fix for bug#10994.
20029 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
20031         * cus-edit.el (custom-save-variables):
20032         Pretty-print long values.  (Bug#14187)
20034 2013-05-08  Glenn Morris  <rgm@gnu.org>
20036         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
20037         (m4-mode-syntax-table): Init in the defvar.
20038         (m4-mode-abbrev-table): Let define-derived-mode define it.
20040 2013-05-08  Tom Tromey  <tromey@redhat.com>
20042         * progmodes/m4-mode.el (m4-mode-syntax-table):
20043         Do not treat "_" as word constituent.  (Bug#14167)
20045 2013-05-07  Glenn Morris  <rgm@gnu.org>
20047         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
20048         Remove explicit eshell-isearch-cancel-map.
20050         * progmodes/f90.el (f90-smart-end-names): New option.
20051         (f90-smart-end): Doc fix.
20052         (f90-end-block-optional-name): New constant.
20053         (f90-block-match): Respect f90-smart-end-names.
20055 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
20057         * progmodes/octave.el (octave-smie-forward-token): Be more careful
20058         about implicit semi-colons (bug#14218).
20060 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
20062         * frame.el (display-monitor-attributes-list)
20063         (frame-monitor-attributes): New functions.
20065 2013-05-06  Leo Liu  <sdl.web@gmail.com>
20067         * progmodes/octave.el (octave-syntax-propertize-function): Change
20068         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
20069         (octave-font-lock-keywords): Use octave-operator-regexp.
20070         (octave-completion-at-point): Rename from
20071         octave-completion-at-point-function.
20072         (inferior-octave-directory-tracker): Robustify.
20073         (octave-text-functions): Remove and fix its uses.  No such things
20074         any more.
20076 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
20078         * emacs-lisp/trace.el (trace--display-buffer): New function.
20079         (trace-make-advice): Use it.
20081 2013-05-06  Juri Linkov  <juri@jurta.org>
20083         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
20084         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
20085         Doc fix.
20086         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
20087         in the help string.  (Bug#12985)
20089 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
20091         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
20093 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
20095         * progmodes/perl-mode.el: Add support for here documents.
20096         (perl-syntax-propertize-function): Match here-doc markers.
20097         (perl-syntax-propertize-special-constructs): Find their end.
20098         (perl-imenu-generic-expression): Use [:alnum:].
20100         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
20101         (advice--add-function): Refresh the advice if already present
20102         (bug#14317).
20104 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
20106         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
20108 2013-05-06  Glenn Morris  <rgm@gnu.org>
20110         * w32-fns.el (w32-charset-info-alist): Declare.
20112         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
20113         of its defcustom properties.
20114         (eshell-cmpl-initialize): No need to load pcomplete.
20116         * generic-x.el: No need to require comint when compiling.
20118         * net/eudc-export.el: Make it loadable without bbdb.
20119         (top-level): Use require rather than load-library.
20120         (eudc-create-bbdb-record, eudc-bbdbify-phone)
20121         (eudc-batch-export-records-to-bbdb)
20122         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
20123         Require bbdb.
20125 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
20127         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
20128         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
20129         some tweaks, instead.
20131 2013-05-05  Leo Liu  <sdl.web@gmail.com>
20133         * progmodes/octave.el (octave-font-lock-keywords)
20134         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
20135         (inferior-octave-send-list-and-digest): Improve error message.
20136         (octave-mode, inferior-octave-mode): Use setq-local.
20137         (octave-help): Set info-lookup-mode.
20139 2013-05-05  Richard Stallman  <rms@gnu.org>
20141         * vc/compare-w.el (compare-windows-whitespace):
20142         Treat no-break space as whitespace.
20144         * mail/rmailsum.el (rmail-summary-rmail-update):
20145         Detect empty summary and don't change selected message.
20146         (rmail-summary-goto-msg): Likewise.
20148         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
20149         Doc fixes, rename args.
20151 2013-05-05  Alan Mackenzie  <acm@muc.de>
20153         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
20155 2013-05-05  Juri Linkov  <juri@jurta.org>
20157         * info.el (Info-read-subfile): Use (point-min) instead of (point)
20158         to not add the length of the summary segment to the return value.
20159         (Bug#14125)
20161 2013-05-05  Leo Liu  <sdl.web@gmail.com>
20163         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
20164         (inferior-octave-output-filter): Remove.
20165         (octave-send-region, inferior-octave-startup): Fix callers.
20166         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
20167         (octave-binary-file-extensions): New user variable.
20168         (octave-find-definition): Confirm if opening binary files.
20169         (octave-help-file): Use octave-find-definition to get the binary
20170         confirmation.
20171         (octave-help): Adjust for octave-help-file change.
20173 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20175         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
20176         Merge the two entries that handle function definitions.
20177         (pascal--syntax-propertize): New const.
20178         (pascal-mode): Use it.  Use setq-local.
20180 2013-05-04  Glenn Morris  <rgm@gnu.org>
20182         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
20183         (diary-from-outlook): Respect diary-from-outlook-function.
20185 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20187         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
20188         Move the declaration from C.
20189         (read-minibuffer, eval-minibuffer): Move from C.
20190         (completion-setup-function): Avoid minibuffer-completion-contents.
20192 2013-05-03  Leo Liu  <sdl.web@gmail.com>
20194         * progmodes/octave.el (octave-font-lock-keywords): Do not
20195         dehighlight 'end' in comments or strings.
20196         (octave-completing-read, octave-goto-function-definition):
20197         New helpers.
20198         (octave-help-buffer): New user variable.
20199         (octave-help-file, octave-help-function): New button types.
20200         (octave-help): New command and bind it to C-h ;.
20201         (octave-find-definition): New command and bind it to M-.
20202         (user-error): Alias to error if not defined.
20204 2013-05-02  Leo Liu  <sdl.web@gmail.com>
20206         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
20207         for \.  (bug#14332)
20208         (octave-font-lock-keywords): Include [ and {.
20210 2013-05-02  Leo Liu  <sdl.web@gmail.com>
20212         * progmodes/octave.el (inferior-octave-startup-file): Change default.
20213         (inferior-octave): Remove calling comint-mode and return the buffer.
20214         (inferior-octave-startup): Cosmetic changes.
20216 2013-05-02  Leo Liu  <sdl.web@gmail.com>
20218         * progmodes/octave.el (octave-syntax-propertize-function):
20219         Include the case when ' is at line beginning.  (Bug#14336)
20221 2013-05-02  Glenn Morris  <rgm@gnu.org>
20223         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
20224         * desktop.el (vc-dir-mode): Just autoload it here.
20226 2013-05-02  Alan Mackenzie  <acm@muc.de>
20228         Eliminate variable c-standard-font-lock-fontify-region-function.
20229         * progmodes/cc-mode.el
20230         (c-standard-font-lock-fontify-region-function): Remove.
20231         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
20233 2013-05-01  Leo Liu  <sdl.web@gmail.com>
20235         * progmodes/octave.el: Compatible with older emacs-24 releases.
20236         (inferior-octave-has-built-in-variables): Remove.  Built-in
20237         variables were removed from Octave in 2007.
20238         (inferior-octave-startup): Fix uses.
20239         (comint-line-beginning-position): Remove compatibility code for
20240         emacs 21.
20242 2013-05-01  Juri Linkov  <juri@jurta.org>
20244         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
20246 2013-05-01  Juri Linkov  <juri@jurta.org>
20248         * comint.el (comint-previous-matching-input): Don't print message
20249         "History item: %d" when `isearch-mode' is active.
20250         (comint-history-isearch-message): Print message "History item: %d"
20251         when `comint-input-ring-index' is not empty and this function is
20252         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
20254 2013-05-01  Leo Liu  <sdl.web@gmail.com>
20256         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
20257         definitions.  Use completion-at-point to insert keywords.
20258         (octave-abbrev-start): Remove.
20259         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
20261 2013-04-30  Leo Liu  <sdl.web@gmail.com>
20263         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
20264         change.
20266 2013-04-30  Alan Mackenzie  <acm@muc.de>
20268         Handle arbitrarily long C++ member initialisation lists.
20269         * progmodes/cc-engine.el (c-back-over-member-initializers):
20270         new function.
20271         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
20272         (most) member init lists.
20274 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
20276         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
20277         variable.
20279 2013-04-30  Leo Liu  <sdl.web@gmail.com>
20281         * progmodes/octave.el (octave-variables): Remove.  No builtin
20282         variables any more.  All converted to functions.
20283         (octave-font-lock-keywords, octave-completion-at-point-function):
20284         Fix uses.
20285         (octave-font-lock-texinfo-comment): New user variable.
20286         (octave-texinfo-font-lock-keywords): New variable for texinfo
20287         comment block.
20288         (octave-function-comment-block): New face.
20289         (octave-font-lock-texinfo-comment): New function.
20290         (octave-mode): Font lock texinfo comment block.
20292 2013-04-29  Leo Liu  <sdl.web@gmail.com>
20294         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
20295         indexing expression.
20296         (octave-continuation-string): Do not use \.
20297         (inferior-octave-complete-impossible): Remove.
20298         (inferior-octave-completion-table)
20299         (inferior-octave-completion-at-point): Remove its uses.
20300         (inferior-octave-startup): completion_matches was introduced to
20301         Octave in 1996 so safe to assume it.
20302         (octave-function-file-comment): Improve to follow how Octave does it.
20303         (octave-update-function-file-comment): Tweak.
20305 2013-04-29  Leo Liu  <sdl.web@gmail.com>
20307         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
20308         (inferior-octave-startup): Remove inferior-octave-startup-hook.
20309         (octave-function-file-comment): Fix typo.
20310         (octave-sync-function-file-names): Use read-char-choice.
20312 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
20314         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
20315         to t for the less important warnings.
20317 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
20319         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
20321 2013-04-27  Glenn Morris  <rgm@gnu.org>
20323         * vc/log-view.el (log-view-current-entry):
20324         Treat "---" separator lines as part of the following rev.  (Bug#14169)
20326 2013-04-27  Juri Linkov  <juri@jurta.org>
20328         * subr.el (read-number): Doc fix about using it by interactive
20329         code letter `n'.  (Bug#14254)
20331 2013-04-27  Juri Linkov  <juri@jurta.org>
20333         * desktop.el (desktop-auto-save-timeout): New option.
20334         (desktop-file-checksum): New variable.
20335         (desktop-save): Add optional arg `auto-save' and don't auto-save
20336         if nothing changed.
20337         (desktop-auto-save-timer): New variable.
20338         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
20339         (after-init-hook): Call `desktop-auto-save-set-timer'.
20340         Suggested by Reuben Thomas <rrt@sc3d.org> in
20341         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
20343 2013-04-27  Leo Liu  <sdl.web@gmail.com>
20345         * progmodes/octave.el (octave-function-file-p)
20346         (octave-skip-comment-forward, octave-function-file-comment)
20347         (octave-update-function-file-comment): New functions.
20348         (octave-mode-map): Bind C-c ; to
20349         octave-update-function-file-comment.
20350         (octave-mode-menu): Add octave-update-function-file-comment.
20351         (octave-mode, inferior-octave-mode): Fix doc-string.
20352         (octave-insert-defun): Conform to Octave's coding convention.
20353         (Bug#14285)
20355         * files.el (basic-save-buffer): Don't let errors in
20356         before-save-hook prevent saving buffer.
20358 2013-04-20  Roland Winkler  <winkler@gnu.org>
20360         * faces.el (read-face-name): Use completing-read if arg multiple
20361         is nil.
20363 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
20365         * ls-lisp.el (ls-lisp-insert-directory): If no files are
20366         displayed, move point to after the totals line.
20367         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
20368         for the details.
20370 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20372         * emacs-lisp/package.el (package-autoload-ensure-default-file):
20373         Add current dir to the load-path.
20374         (package-generate-autoloads): Don't rely on
20375         autoload-ensure-default-file.
20377 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
20379         * textmodes/remember.el (remember-store-in-files): Document that
20380         the file name format is passed to `format-time-string'.
20382 2013-04-26  Leo Liu  <sdl.web@gmail.com>
20384         * progmodes/octave.el (octave-sync-function-file-names): New function.
20385         (octave-mode): Use it in before-save-hook.
20387 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20389         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
20390         (bug#14274).
20392         * progmodes/octave.el (octave-smie-forward-token): Properly skip
20393         \n and comment, even if it's not an implicit ; (bug#14218).
20395 2013-04-26  Glenn Morris  <rgm@gnu.org>
20397         * subr.el (read-number): Once more use `read' rather than
20398         `string-to-number', to trap non-numeric input.  (Bug#14254)
20400 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
20402         * emacs-lisp/syntax.el (syntax-propertize-multiline):
20403         Use `syntax-multiline' text property consistently instead of
20404         `font-lock-multiline'.  (Bug#14237)
20406 2013-04-26  Glenn Morris  <rgm@gnu.org>
20408         * emacs-lisp/shadow.el (list-load-path-shadows):
20409         No longer necessary to check for duplicate simple.el, since
20410         2012-07-07 change to init_lread to not include installation lisp
20411         directories in load-path when running uninstalled.  (Bug#14270)
20413 2013-04-26  Leo Liu  <sdl.web@gmail.com>
20415         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
20416         (octave-mode, inferior-octave-mode): Use setq-local.
20417         (octave-not-in-string-or-comment-p): Rename to
20418         octave-in-string-or-comment-p.
20419         (octave-in-comment-p, octave-in-string-p)
20420         (octave-in-string-or-comment-p): Replace defsubst with defun.
20422 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
20424         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
20426 2013-04-25  Bastien Guerry  <bzg@gnu.org>
20428         * textmodes/remember.el (remember-data-directory)
20429         (remember-directory-file-name-format): Fix custom types.
20431 2013-04-25  Leo Liu  <sdl.web@gmail.com>
20433         * progmodes/octave.el (octave-completion-at-point-function):
20434         Make use of inferior octave process.
20435         (octave-initialize-completions): Remove.
20436         (inferior-octave-completion-table): New function.
20437         (inferior-octave-completion-at-point): Use it.
20438         (octave-completion-alist): Remove.
20440 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
20442         * progmodes/opascal.el: Use font-lock and syntax-propertize.
20443         (opascal-mode-syntax-table): New var.
20444         (opascal-literal-kind, opascal-is-literal-end)
20445         (opascal-literal-token-at): Rewrite.
20446         (opascal--literal-start-re, opascal-font-lock-keywords)
20447         (opascal--syntax-propertize): New constants.
20448         (opascal-font-lock-defaults): Adjust.
20449         (opascal-mode): Use them.  Set comment-<foo> variables as well.
20450         (delphi-comment-face, opascal-comment-face, delphi-string-face)
20451         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
20452         (delphi-other-face, opascal-other-face): Remove face variables.
20453         (opascal-save-state): Remove macro.
20454         (opascal-fontifying-progress-step): Remove constant.
20455         (opascal--ignore-changes): Remove var.
20456         (opascal-set-token-property, opascal-parse-next-literal)
20457         (opascal-is-stable-literal, opascal-complete-literal)
20458         (opascal-is-literal-start, opascal-face-of)
20459         (opascal-parse-region, opascal-parse-region-until-stable)
20460         (opascal-fontify-region, opascal-after-change)
20461         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
20462         (opascal-debug-parse-region, opascal-debug-parse-window)
20463         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
20464         (opascal-debug-fontify-buffer): Remove.
20465         (opascal-debug-mode-map): Adjust accordingly.
20467 2013-04-25  Leo Liu  <sdl.web@gmail.com>
20469         Merge octave-mod.el and octave-inf.el into octave.el with some
20470         cleanups.
20471         * progmodes/octave.el: New file renamed from octave-mod.el.
20472         * progmodes/octave-inf.el: Merged into octave.el.
20473         * progmodes/octave-mod.el: Renamed to octave.el.
20475 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
20477         * textmodes/reftex-vars.el
20478         (reftex-label-ignored-macros-and-environments): New defcustom.
20480         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
20482 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
20484         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
20485         (smie-indent-keyword): Improve the check to ensure that the next
20486         comment is really on the same line.
20487         (smie-indent-comment): Don't align with a subsequent closer (or eob).
20489         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
20490         semi-colons if the line is not otherwise empty (bug#14218).
20492 2013-04-25  Glenn Morris  <rgm@gnu.org>
20494         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
20496 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20498         * progmodes/opascal.el (opascal-set-token-property): Rename from
20499         opascal-set-text-properties and only set `token' (bug#14134).
20500         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
20501         (opascal-literal-text-properties): Remove.
20502         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
20503         Adjust callers.
20505 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
20507         * textmodes/remember.el (remember-handler-functions): Add an
20508         option for a new handler `remember-store-in-files'.
20509         (remember-data-directory, remember-directory-file-name-format):
20510         New options.
20511         (remember-store-in-files): New function to store remember notes
20512         as separate files within a directory.
20514 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
20516         * progmodes/compile.el (compilation-next-error-function):
20517         Pass "formats" to compilation-find-file (bug#11777).
20519 2013-04-24  Glenn Morris  <rgm@gnu.org>
20521         * vc/vc-bzr.el (vc-bzr-print-log):
20522         * vc/vc-hg.el (vc-hg-print-log):
20523         * vc/vc-svn.el (vc-svn-print-log):
20524         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
20526         * vc/vc-bzr.el (vc-bzr-print-log):
20527         * vc/vc-cvs.el (vc-cvs-print-log):
20528         * vc/vc-git.el (vc-git-print-log):
20529         * vc/vc-hg.el (vc-hg-print-log):
20530         * vc/vc-mtn.el (vc-mtn-print-log):
20531         * vc/vc-rcs.el (vc-rcs-print-log):
20532         * vc/vc-sccs.el (vc-sccs-print-log):
20533         * vc/vc-svn.el (vc-svn-print-log):
20534         * vc/vc.el (vc-print-log-internal): Doc fixes.
20536 2013-04-23  Glenn Morris  <rgm@gnu.org>
20538         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
20539         Remove venerable code attempting to avoid substitute-command-keys.
20541 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
20543         * textmodes/reftex-vars.el (reftex-label-regexps):
20544         Call `reftex-compile-variables' after changes to this variable.
20546 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
20548         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
20549         Use lexical-binding.
20550         (jit-lock-force-redisplay): Use markers, check buffer's continued
20551         existence and beware narrowed buffers.
20552         (jit-lock-fontify-now): Adjust call accordingly.
20554 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
20556         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
20557         to avoid misleading the user.
20559 2013-04-22  Leo Liu  <sdl.web@gmail.com>
20561         * info-look.el: Prefer latex2e.info.  (Bug#14240)
20563 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
20565         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
20567         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
20568         * net/tramp.el (tramp-call-process): ... here.
20569         (tramp-set-completion-function, tramp-parse-putty):
20570         * net/tramp-adb.el (tramp-adb-execute-adb-command):
20571         * net/tramp-gvfs.el (tramp-gvfs-send-command):
20572         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
20573         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
20574         (tramp-call-local-coding-command): Use `tramp-call-process'
20575         instead of `tramp-compat-call-process'.
20577         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
20578         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
20579         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
20580         (tramp-find-inline-compress): Improve traces.
20581         (tramp-maybe-send-script): Check for Perl binary.
20582         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
20584 2013-04-22  Daiki Ueno  <ueno@gnu.org>
20586         * epg.el (epg-context-pinentry-mode): New function.
20587         (epg-context-set-pinentry-mode): New function.
20588         (epg--start): Pass --pinentry-mode option to gpg command.
20590 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
20592         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
20593         `comint-dynamic-complete' is obsolete since 24.1, replaced by
20594         `completion-at-point'.  (Bug#13774)
20596         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
20597         default key binding for `describe-distribution' has been moved to
20598         `C-h C-o'.  (Bug#13970)
20600 2013-04-21  Glenn Morris  <rgm@gnu.org>
20602         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
20603         Add doc strings.
20604         (vc-print-log): Clarify interactive prompt.
20606 2013-04-20  Glenn Morris  <rgm@gnu.org>
20608         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
20609         No longer include timestamp etc information.
20611 2013-04-20  Roland Winkler  <winkler@gnu.org>
20613         * faces.el (read-face-name): Bug fix, return just one face if arg
20614         multiple is nil.  (Bug#14209)
20616 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
20618         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
20619         (remove-function): Autoload.
20621         * comint.el (comint-redirect-original-filter-function): Remove.
20622         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
20623         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
20624         (vc-cvs-annotate-command):
20625         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
20626         * progmodes/prolog.el (prolog-consult-compile):
20627         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
20628         Use add/remove-function instead.
20629         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
20630         (gud-tooltip-process-output, gud-tooltip-tips):
20631         Use add/remove-function instead.
20632         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
20633         (scheme-interaction-mode, exit-scheme-interaction-mode):
20634         Use add/remove-function instead.
20636         * vc/vc-dispatcher.el: Use lexical-binding.
20637         (vc--process-sentinel): Rename from vc-process-sentinel.
20638         Change last arg to be the code to run.  Don't use vc-previous-sentinel
20639         and vc-sentinel-commands any more.
20640         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
20641         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
20643 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
20645         * progmodes/sh-script.el (sh-imenu-generic-expression):
20646         Handle function names with a single character.  (Bug#14111)
20648 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
20650         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
20651         for subroutines defined in an eval (bug#14182).
20653 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
20655         * bookmark.el (bookmark-completing-read): Improve handling of empty
20656         string (bug#14176).
20658 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20660         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
20662 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
20664         New faster Imenu implementation (bug#14058).
20665         * progmodes/python.el (python-imenu-prev-index-position)
20666         (python-imenu-format-item-label-function)
20667         (python-imenu-format-parent-item-label-function)
20668         (python-imenu-format-parent-item-jump-label-function):
20669         New vars.
20670         (python-imenu-format-item-label)
20671         (python-imenu-format-parent-item-label)
20672         (python-imenu-format-parent-item-jump-label)
20673         (python-imenu--put-parent, python-imenu--build-tree)
20674         (python-imenu-create-index, python-imenu-create-flat-index)
20675         (python-util-popn): New functions.
20676         (python-mode): Set imenu-create-index-function to
20677         python-imenu-create-index.
20679 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20681         * winner.el (winner-active-region): Use region-active-p, activate-mark
20682         and deactivate-mark (bug#14225).
20684         * simple.el (deactivate-mark): Don't inline it.
20686 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
20688         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
20690 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
20692         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
20693         file extensions from the archive-mode entry in order to prefer
20694         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
20696 2013-04-18  Leo Liu  <sdl.web@gmail.com>
20698         * bindings.el (help-event-list): Add ?\?.
20700 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20702         * subr.el (with-wrapper-hook): Declare obsolete.
20703         * simple.el (filter-buffer-substring-function): New hook.
20704         (filter-buffer-substring): Use it.
20705         (filter-buffer-substring-functions): Mark obsolete.
20706         * minibuffer.el (completion-in-region-function): New hook.
20707         (completion-in-region): Use it.
20708         (completion-in-region-functions): Mark obsolete.
20709         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
20710         * abbrev.el (abbrev-expand-function): New hook.
20711         (expand-abbrev): Use it.
20712         (abbrev-expand-functions): Mark obsolete.
20713         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
20714         and :filter-return.
20716 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
20718         * progmodes/python.el (python-nav--syntactically): Fix cornercases
20719         and do not care about match data.
20721 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
20723         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
20724         completion tables when completing error conditions and
20725         `declare' arguments.
20726         (lisp-complete-symbol, field-complete): Mark as obsolete.
20727         (check-parens): Unmatched parens are user errors.
20728         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
20730 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
20732         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
20733         command changed buffer (ie. `flyspell-pre-buffer' is not current
20734         buffer), which prevents making decisions based on invalid value of
20735         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
20736         cause an error when `flyspell-pre-point' was nil after switching
20737         buffers.
20738         (flyspell-post-command-hook): No longer needs to change buffers when
20739         checking pre-word.  While at it remove unnecessary progn.
20741 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
20743         * textmodes/ispell.el (ispell-add-per-file-word-list):
20744         Fix `flyspell-correct-word-before-point' error when accepting
20745         words and `coment-padding' is an integer by using
20746         `comment-normalize-vars' (Bug #14214).
20748 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
20750         New defun movement commands.
20751         * progmodes/python.el (python-nav--syntactically)
20752         (python-nav--forward-defun, python-nav-backward-defun)
20753         (python-nav-forward-defun): New functions.
20755 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
20757         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
20758         (python-syntax-context): Use named compiler-macro for backwards
20759         compatibility with Emacs 24.x.
20761 2013-04-17  Leo Liu  <sdl.web@gmail.com>
20763         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
20764         octave-hide-process-buffer.
20766 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
20768         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
20769         (bug#14216).
20771 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
20773         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
20774         Fix adjustment of offset when receiving incomplete responses from GDB
20775         (bug#14129).
20777 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20779         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
20780         python-mode-abbrev-table.
20781         (python-skeleton-define): Adjust accordingly.
20782         (python-mode-abbrev-table): New table that inherits from it so that
20783         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
20785         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
20786         (abbrev-symbol): Use it.
20787         (abbrev--before-point): Use it since we already handle inheritance.
20789 2013-04-16  Leo Liu  <sdl.web@gmail.com>
20791         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
20792         binding to info-lookup-symbol.
20794 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
20796         * minibuffer.el (completion--twq-all):
20797         * term/ns-win.el (ns-initialize-window-system):
20798         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
20800 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20802         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
20803         global bindings.
20805         * doc-view.el (doc-view-start-process): Handle url-handler directories.
20807 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
20809         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
20810         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
20811         to nil.
20812         (ruby-end-of-defun): Remove the unused arg, change the docstring
20813         to reflect that this function is only used as the value of
20814         `end-of-defun-function'.
20815         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
20816         to reflect an earlier change that beginning/end-of-defun functions
20817         jump between methods in a class definition, as well as top-level
20818         functions.
20820 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20822         * minibuffer.el (minibuffer-complete): Don't just scroll
20823         a *Completions* that's been iconified.
20824         (minibuffer-force-complete): Make sure repetitions do cycle when going
20825         through completion-in-region -> minibuffer-complete.
20827 2013-04-15  Alan Mackenzie  <acm@muc.de>
20829         Correct the placement of c-cpp-delimiters when there're #s not at
20830         col 0.
20832         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
20833         place a submatch around the #.
20834         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
20835         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
20836         on the #, not BOL.
20838 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20840         * emacs-lisp/nadvice.el: Properly test names when adding advice.
20841         (advice--member-p): New arg `name'.
20842         (advice--add-function, advice-member-p): Use it (bug#14202).
20844 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
20846         Reformulate java imenu-generic-expression.
20847         The old expression contained ill formed regexps.
20849         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
20850         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
20851         (cc-imenu-java-method-arg-regexp): New defconsts.
20852         (cc-imenu-java-build-type-args-regex): New defun.
20853         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
20854         handling of spaces in the regexp.
20856 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
20858         * textmodes/ispell.el (ispell-command-loop): Remove
20859         flyspell highlight of a word when ispell accepts it (bug #14178).
20861 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
20863         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
20864         uses code from the previous `ange-ftp-run-real-handler'.
20865         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
20866         only in case that function exist.  This is needed for proper
20867         unloading of Tramp.
20869 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
20871         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
20873         * textmodes/reftex.el (reftex-compile-variables): Use it.
20875 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
20877         * files.el (normal-mode): Only use default major-mode if no other mode
20878         was specified.
20880         * emacs-lisp/trace.el (trace-values): New function.
20882         * files.el: Allow : in local variables (bug#14089).
20883         (hack-local-variable-regexp): New var.
20884         (hack-local-variables-prop-line, hack-local-variables): Use it.
20886 2013-04-13  Roland Winkler  <winkler@gnu.org>
20888         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
20889         data before it gets modified by bibtex-beginning-of-entry.
20891 2013-04-13  Roland Winkler  <winkler@gnu.org>
20893         * textmodes/bibtex.el (bibtex-url): Doc fix.
20895 2013-04-13  Roland Winkler  <winkler@gnu.org>
20897         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
20898         does not visit a BibTeX file, exclude it from the list of buffers
20899         returned by bibtex-initialize.
20901 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
20903         * window.el (split-window): Remove interactive form, since as a
20904         command this function is a special case of split-window-below.
20905         Correct doc string.
20907 2013-04-12  Roland Winkler  <winkler@gnu.org>
20909         * faces.el (read-face-name): Do not override value of arg default.
20910         Allow single faces and strings as default values.  Remove those
20911         elements from return value that are not faces.
20912         (describe-face): Simplify.
20913         (face-at-point): New optional args thing and multiple so that this
20914         function can provide the same functionality previously provided by
20915         read-face-name.
20916         (make-face-bold, make-face-unbold, make-face-italic)
20917         (make-face-unitalic, make-face-bold-italic, invert-face)
20918         (modify-face, read-face-and-attribute): Use face-at-point.
20920         * cus-edit.el (customize-face, customize-face-other-window)
20921         * cus-theme.el (custom-theme-add-face)
20922         * face-remap.el (buffer-face-set)
20923         * facemenu.el (facemenu-set-face): Use face-at-point.
20925 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
20927         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
20929 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
20931         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
20932         off leading { and trailing } from field values.
20934 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
20936         * emacs-lisp/timer.el (timer--check): New function.
20937         (timer--time, timer-set-function, timer-event-handler): Use it.
20938         (timer-set-idle-time): Simplify.
20939         (timer--activate): CSE.
20940         (timer-event-handler): Give more info in error message.
20941         (internal-timer-start-idle): New function, moved from C.
20943         * mpc.el (mpc-proc): Add `restart' argument.
20944         (mpc-proc-cmd): Use it.
20945         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
20946         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
20947         less often.
20949 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
20951         * progmodes/sh-script.el: Implement `sh-mode' own
20952         `add-log-current-defun-function' (bug#14112).
20953         (sh-current-defun-name): New function.
20954         (sh-mode): Use the function.
20956 2013-04-09  Bastien Guerry  <bzg@gnu.org>
20958         * simple.el (choose-completion-string): Fix docstring (bug#14163).
20960 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
20962         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
20964         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
20965         timer (bug#14156).
20967 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
20969         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
20970         declaration.
20972 2013-04-07  Leo Liu  <sdl.web@gmail.com>
20974         * pcmpl-x.el: New file.
20976 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
20978         Do not set x-display-name until X connection is established.
20979         This is needed to prevent from weird situation described at
20980         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
20981         * frame.el (make-frame): Set x-display-name after call to
20982         window system initialization function, not before.
20983         * term/x-win.el (x-initialize-window-system): Add optional
20984         display argument and use it.
20985         * term/w32-win.el (w32-initialize-window-system):
20986         * term/ns-win.el (ns-initialize-window-system):
20987         * term/pc-win.el (msdos-initialize-window-system):
20988         Add compatible optional display argument.
20990 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
20992         * files.el (normal-backup-enable-predicate): On MS-Windows and
20993         MS-DOS compare truenames of temporary-file-directory and of the
20994         file, so that 8+3 aliases (usually found in $TEMP on Windows)
20995         don't fail comparison by compare-strings.  Also, compare file
20996         names case-insensitively on MS-Windows and MS-DOS.
20998 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21000         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
21001         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
21003 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
21005         * whitespace.el (whitespace-color-on, whitespace-color-off):
21006         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
21008 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
21010         * ispell.el (ispell-set-spellchecker-params):
21011         Really set `ispell-args' for all equivs.
21013 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21015         * ido.el (ido-completions): Use extra elements of ido-decorations
21016         (bug#14143).
21017         (ido-decorations): Update docstring.
21019 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
21021         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
21022         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
21023         nil during initialization, in order not to miss changes since the
21024         file was opened.  (Bug#14140)
21026 2013-04-05  Leo Liu  <sdl.web@gmail.com>
21028         * kmacro.el (kmacro-call-macro): Fix bug#14135.
21030 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
21032         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
21034 2013-04-04  Glenn Morris  <rgm@gnu.org>
21036         * electric.el (electric-pair-inhibit-predicate): Add :version.
21038 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
21040         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
21041         when a package is required several times (bug#14082).
21043 2013-04-04  Roland Winkler  <winkler@gnu.org>
21045         * faces.el (read-face-name): Behave as promised by the docstring.
21046         Assume that arg default is a list of faces.
21047         (describe-face): Call read-face-name with list of default faces.
21049 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
21051         * bookmark.el: Fix deletion of bookmarks (bug#13972).
21052         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
21053         (bookmark-bmenu-execute-deletions): Only skip first line if it's
21054         the header.
21055         (bookmark-exit-hook-internal): Save even if list is empty.
21057 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
21059         * emacs-lisp/package.el (package-pinned-packages): New var.
21060         (package--add-to-archive-contents): Obey it (bug#14118).
21062 2013-04-03  Alan Mackenzie  <acm@muc.de>
21064         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
21065         Also adapt to the new values of element 7 of a parse state.
21067         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
21068         parameter `not-in-delimiter'.  Handle being inside comment opener.
21069         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
21070         character in case we're typing a '*' after a '/'.
21071         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
21072         instead by passing the parameter to c-state-pp-to-literal.
21074         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
21075         for elt. 7 of a parse state.
21077 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
21079         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
21080         * international/latin1-disp.el, international/mule-util.el:
21081         * language/cyril-util.el, language/european.el, language/ind-util.el:
21082         * language/lao-util.el, language/thai.el, language/tibet-util.el:
21083         * language/tibetan.el, language/viet-util.el:
21084         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
21086 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
21088         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
21089         (electric-pair-post-self-insert-function): Use it.
21090         (electric-pair-default-inhibit): New function, extracted from
21091         electric-pair-post-self-insert-function.
21093 2013-03-31  Roland Winkler  <winkler@gnu.org>
21095         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
21097 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
21099         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
21101 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
21103         Un-indent after "pass" and "return" statements (Bug#13888)
21104         * progmodes/python.el (python-indent-block-enders): New var.
21105         (python-indent-calculate-indentation): Use it.
21107 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
21109         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
21110         defun.  Defining it as defalias could introduce too eager
21111         byte-compiler optimization.  (Bug#14030)
21113 2013-03-30  Chong Yidong  <cyd@gnu.org>
21115         * iswitchb.el (iswitchb-read-buffer): Fix typo.
21117 2013-03-30  Leo Liu  <sdl.web@gmail.com>
21119         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
21120         (kmacro-execute-from-register): Pass the keyboard macro to
21121         kmacro-call-macro or repeating won't work correctly.
21123 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
21125         * progmodes/subword.el: Back to using `forward-symbol'.
21127         * subr.el (forward-whitespace, forward-symbol)
21128         (forward-same-syntax): Move from thingatpt.el.
21130 2013-03-29  Leo Liu  <sdl.web@gmail.com>
21132         * kmacro.el (kmacro-to-register): New command.
21133         (kmacro-execute-from-register): New function.
21134         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
21136 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
21138         * mpc.el: Use defvar-local and setq-local.
21139         (mpc--proc-connect): Connection failures are not bugs.
21140         (mpc-mode-map): `follow-link' only applies to the buffer's content.
21141         (mpc-volume-map): Bind to the up-events.
21143 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
21145         * progmodes/subword.el (superword-mode): Use `forward-sexp'
21146         instead of `forward-symbol'.
21148 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
21150         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
21151         (edebug--recursive-edit): Use it.
21152         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
21153         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
21155 2013-03-28  Leo Liu  <sdl.web@gmail.com>
21157         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
21159 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
21161         * facemenu.el (list-colors-callback): New defvar.
21162         (list-colors-redisplay): New function.
21163         (list-colors-display): Install list-colors-redisplay as the
21164         revert-buffer-function.  (Bug#14063)
21166 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
21168         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
21169         and suffixes don't overlap (bug#14061).
21171         * case-table.el: Use lexical-binding.
21172         (case-table-get-table): New function.
21173         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
21175 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
21177         * progmodes/subword.el: Add `superword-mode' to do word motion
21178         over symbol_words (parallels and leverages `subword-mode' which
21179         does word motion inside MixedCaseWords).
21181 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
21183         * eshell/em-unix.el: Move su and sudo to...
21184         * eshell/em-tramp.el: ...Eshell tramp module.
21186 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
21188         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
21189         Change return value to be a sexp.  Delay `get-buffer' to after
21190         restoring the desktop (bug#13951).
21192 2013-03-26  Leo Liu  <sdl.web@gmail.com>
21194         * register.el: Move semantic tag handling back to
21195         cedet/semantic/senator.el.  (Bug#14052)
21197 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
21199         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
21200         into the prompt either (bug#13963).
21202 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
21204         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
21205         part of "(error-foo)".
21207 2013-03-24  Juri Linkov  <juri@jurta.org>
21209         * replace.el (list-matching-lines-prefix-face): New defcustom.
21210         (occur-1): Pass `list-matching-lines-prefix-face' to the function
21211         `occur-engine' if `face-differs-from-default-p' returns t.
21212         (occur-engine): Add `,' inside backquote construct to evaluate
21213         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
21214         Pass `prefix-face' to the functions `occur-context-lines' and
21215         `occur-engine-add-prefix'.
21216         (occur-engine-add-prefix, occur-context-lines): Add optional arg
21217         `prefix-face' and propertize the prefix with `prefix-face'.
21218         (Bug#14017)
21220 2013-03-24  Leo Liu  <sdl.web@gmail.com>
21222         * nxml/rng-valid.el (rng-validate-while-idle)
21223         (rng-validate-quick-while-idle): Guard against deleted buffer.
21224         (Bug#13999)
21226         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
21227         is the last entry in kill-buffer-hook.
21229         * files.el (kill-buffer-hook): Doc fix.
21231 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
21233         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
21234         Make it safe-local.
21236         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
21238 2013-03-23  Leo Liu  <sdl.web@gmail.com>
21240         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
21241         Remove.
21243         * nxml/rng-valid.el (rng-validate-mode)
21244         (rng-after-change-function, rng-do-some-validation):
21245         * nxml/rng-maint.el (rng-validate-buffer):
21246         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
21247         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
21248         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
21249         (nxml-extend-after-change-region): Use with-silent-modifications.
21251         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
21252         timer-idle-list.
21254         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
21255         (rng-next-error-1, rng-previous-error-1): Do not let-bind
21256         timer-idle-list.  (Bug#13999)
21258 2013-03-23  Juri Linkov  <juri@jurta.org>
21260         * info.el (info-index-match): New face.
21261         (Info-index, Info-apropos-matches): Add a nested subgroup to the
21262         main pattern and add text properties with the new face to matches
21263         in index entries relative to the beginning of the index entry.
21264         (Bug#14015)
21266 2013-03-21  Eric Ludlam  <zappo@gnu.org>
21268         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
21269         Inhibit read only while inserting objects.
21271 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
21273         * progmodes/cfengine.el: Update docs to mention
21274         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
21275         symbol motion.  Remove "_" from the word syntax.
21277 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
21279         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
21280         syntax for both `cfengine2-mode' and `cfengine3-mode'.
21282 2013-03-20  Juri Linkov  <juri@jurta.org>
21284         * info.el (Info-next-reference-or-link)
21285         (Info-prev-reference-or-link): New functions.
21286         (Info-next-reference, Info-prev-reference): Use them.
21287         (Info-try-follow-nearest-node): Handle footnote navigation.
21288         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
21290 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
21292         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
21293         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
21295 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
21297         Suppress unnecessary non-ASCII chatter during build process.
21298         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
21299         (batch-skkdic-convert): Suppress most of the chatter.
21300         It's not needed so much now that machines are faster,
21301         and its non-ASCII component was confusing; see Dmitry Gutov in
21302         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
21304 2013-03-20  Leo Liu  <sdl.web@gmail.com>
21306         * ido.el (ido-chop): Fix bug#10994.
21308 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
21310         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
21311         Remove vars.
21312         (whitespace-color-on, whitespace-color-off):
21313         Use `font-lock-fontify-buffer' (Bug#13817).
21315 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
21317         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
21318         remapping in mode-line.
21319         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
21321 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
21323         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
21324         value for `whitespace-line' face (Bug#13875).
21325         (whitespace-font-lock-keywords): Change description.
21326         (whitespace-color-on): Don't save `font-lock-keywords' value, save
21327         the constructed keywords instead.
21328         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
21330 2013-03-19  Leo Liu  <sdl.web@gmail.com>
21332         * progmodes/compile.el (compilation-display-error): New command.
21333         (compilation-mode-map, compilation-minor-mode-map): Bind it to
21334         C-o.  (Bug#13992)
21336 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
21338         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
21340 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
21342         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
21344 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
21346         * net/tramp-compat.el (tramp-compat-user-error): New defun.
21348         * net/tramp-adb.el (tramp-adb-handle-shell-command):
21349         * net/tramp-gvfs.el (top):
21350         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
21351         (tramp-handle-shell-command): Use it.
21352         (tramp-dissect-file-name): Raise an error when hostname is a
21353         method name, and neither method nor user is specified.
21355         * net/trampver.el: Update release number.
21357 2013-03-18  Leo Liu  <sdl.web@gmail.com>
21359         Make sure eldoc can be turned off properly.
21360         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
21361         eldoc-mode.
21362         (eldoc-display-message-p): Revert last change.
21363         (eldoc-display-message-no-interference-p)
21364         (eldoc-print-current-symbol-info): Tweak.
21366 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
21368         * doc-view.el (doc-view-new-window-function): Check the new window
21369         overlay's display property instead the char property of the
21370         buffer's first char.  Use `with-selected-window' instead of
21371         `save-window-excursion' with `select-window'.
21372         (doc-view-document->bitmap): Check the current doc-view overlay's
21373         display property instead the char property of the buffer's first char.
21375 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
21377         Automate the build of ja-dic.el (Bug#13984).
21378         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
21379         from the input, rather than assume that it's been done for us by the
21380         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
21381         the current date into a ja-dic.el comment, as that complicates
21382         regression testing.
21384 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
21386         * whitespace.el: Fix double evaluation.
21387         (whitespace-space, whitespace-hspace, whitespace-tab)
21388         (whitespace-newline, whitespace-trailing, whitespace-line)
21389         (whitespace-space-before-tab, whitespace-indentation)
21390         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
21391         obsolete defvars.
21392         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
21393         (whitespace-color-on): Use a single font-lock-add-keywords call.
21394         Fix double-evaluation of face variables.
21396 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
21398         * net/tramp-adb.el (tramp-adb-parse-device-names):
21399         Use `start-process' instead of `call-process'.  Otherwise, the
21400         function might be blocked under MS Windows.  (Bug#13299)
21402 2013-03-17  Leo Liu  <sdl.web@gmail.com>
21404         Extend eldoc to display info in the mode-line.  (Bug#13978)
21405         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
21406         (eldoc-mode-line-string): New variable.
21407         (eldoc-minibuffer-message): New function.
21408         (eldoc-message-function): New variable.
21409         (eldoc-message): Use it.
21410         (eldoc-display-message-p)
21411         (eldoc-display-message-no-interference-p):
21412         Support eldoc-post-insert-mode.
21414         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
21415         (eval-expression): Run it.
21417 2013-03-17  Roland Winkler  <winkler@gnu.org>
21419         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
21420         strings in the list of return values.
21422 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
21424         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
21425         radix before checking for HMS forms.
21427 2013-03-16  Leo Liu  <sdl.web@gmail.com>
21429         * progmodes/scheme.el: Add indentation and font-locking for λ.
21430         (Bug#13975)
21432 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
21434         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
21435         token before point (bug#13942).
21437 2013-03-16  Leo Liu  <sdl.web@gmail.com>
21439         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
21441 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
21443         * startup.el (command-line-normalize-file-name): Fix handling of
21444         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
21445         <xfq.free@gmail.com> in
21446         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
21448 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
21450         Sync with Tramp 2.2.7.
21452         * net/trampver.el: Update release number.
21454 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
21456         * doc-view.el: Fix bug#13887.
21457         (doc-view-insert-image): Don't modify overlay associated to
21458         non-live windows, and implement horizontal centering of image in
21459         case it's smaller than the window.
21460         (doc-view-new-window-function): Force redisplay of new windows on
21461         doc-view buffers.
21463 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
21465         * saveplace.el (save-place-alist-to-file): Don't sort
21466         `save-place-alist', just pretty-print it (bug#13882).
21468 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
21470         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
21471         Check whether `default-file-name-coding-system' is bound.
21472         It isn't in XEmacs.
21474 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
21476         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
21477         backquotes for `obsolete' (bug#13929).
21479         * international/mule.el (find-auto-coding): Include file name in
21480         obsolescence warning (bug#13922).
21482 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
21484         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
21485         for CFEngine 3-specific indentation.
21486         (cfengine3-indent-line): Use it.  Fix up category regex.
21487         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
21489 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
21491         * type-break.el (type-break-file-name):
21492         * textmodes/remember.el (remember-data-file):
21493         * strokes.el (strokes-file):
21494         * shadowfile.el (shadow-initialize):
21495         * saveplace.el (save-place-file):
21496         * ps-bdf.el (bdf-cache-file):
21497         * progmodes/idlwave.el (idlwave-config-directory):
21498         * net/quickurl.el (quickurl-url-file):
21499         * international/kkc.el (kkc-init-file-name):
21500         * ido.el (ido-save-directory-list-file):
21501         * emulation/viper.el (viper-custom-file-name):
21502         * emulation/vip.el (vip-startup-file):
21503         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
21504         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
21506 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
21508         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
21509         * language/thai-word.el: Switch to UTF-8.
21511 See ChangeLog.16 for earlier changes.
21513 ;; Local Variables:
21514 ;; coding: utf-8
21515 ;; End:
21517   Copyright (C) 2011-2014 Free Software Foundation, Inc.
21519   This file is part of GNU Emacs.
21521   GNU Emacs is free software: you can redistribute it and/or modify
21522   it under the terms of the GNU General Public License as published by
21523   the Free Software Foundation, either version 3 of the License, or
21524   (at your option) any later version.
21526   GNU Emacs is distributed in the hope that it will be useful,
21527   but WITHOUT ANY WARRANTY; without even the implied warranty of
21528   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21529   GNU General Public License for more details.
21531   You should have received a copy of the GNU General Public License
21532   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.