Make inline SVGs work in shr again
[emacs.git] / lisp / ChangeLog
blob54ada6e448c721a3bc98db8e5672d096b8a5fb59
1 2014-12-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3         * net/shr.el (shr-dom-print): Don't print comments.
4         (shr-tag-svg): Give inline SVG images the right type.
6         * net/eww.el (eww-update-header-line-format): Mark valid/invalid
7         certificates in the header line.
8         (eww-invalid-certificate, eww-valid-certificate): New faces.
10 2014-12-09  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12         * progmodes/python.el (inferior-python-mode): Set
13         `comint-prompt-read-only` to `t` only locally.
15 2014-12-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17         * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
18         (nsm-format-certificate): Include more data about the connection.
19         (nsm-query): Fill the text to that it looks nicer.
20         (nsm-check-protocol): Also warn if using SSL3 or older.
22 2014-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
24         * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
26         * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
28         * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
30         * info.el (Info-mode-map): Remove left-over binding.
32         * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
33         (avl-tree--root): Remove redundant defsetf.
35 2014-12-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
37         * net/nsm.el (network-security-level): Remove the detailed
38         description, which was already outdated, and refer the users to
39         the manual.
40         (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
41         (bug#19153).
43 2014-12-06  Andrey Kotlarski  <m00naticus@gmail.com>
45         * net/eww.el (eww-buffers-mode): New major mode.
46         (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
47         (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
48         New commands/functions (bug#19131).
50 2014-12-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
52         * net/gnutls.el (gnutls-negotiate): Ignore files found via
53         'file-name-handler-alist' since the gnutls library can't use those
54         (bug#15866).
56 2014-12-08  Dmitry Gutov  <dgutov@yandex.ru>
58         * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
59         when FILES is non-nil (bug#19304).
61 2014-12-08  Eric S. Raymond  <esr@snark.thyrsus.com>
63         * vc/vc-arch.el: Moved to obsolete directory so a test framework
64         won't trip over bit-rot in it.  There has been no Arch snapshot
65         for nine years.
67 2014-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
69         * net/eww.el (eww-follow-link): Revert prefix behaviour to
70         previous behavior.
71         (eww-copy-page-url): Add doc string.
73 2014-12-07  Ivan Shmakov  <ivan@siamics.net>
75         * net/eww.el (eww): Move history recording here...
76         (eww-browse-url): ... from here (bug#19253).
78         * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
79         iterating over possible buffer names.)
81 2014-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
83         * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
84         (eww-current-buffer): Compilation fix for bug#18550 patch.
86 2014-12-07  Ivan Shmakov  <ivan@siamics.net>
88         * net/eww.el (eww-list-histories): Restore the history in the
89         correct buffer (bug#18550).
91 2014-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
93         * net/eww.el (eww-bookmark-prepare): Display URLs in first by
94         displaying shortened titles first (bug#16398).
96 2014-12-07  Tom Willemse  <tom@ryuslash.org>  (tiny change)
98         * progmodes/python.el: Recognize docstrings.
99         (python-docstring-at-p, python-font-lock-syntactic-face-function):
100         New functions.
101         (python-mode): Use them.
103 2014-12-06  Ulf Jasper  <ulf.jasper@web.de>
105         * net/newst-treeview.el (newsticker--treeview-list-add-item)
106         (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
107         (newsticker--treeview-create-groups-menu)
108         (newsticker--treeview-create-tree-menu): Remove.
109         (newsticker--treeview-tree-open-menu): New.
110         (newsticker-treeview-tree-click): Pass event to
111         `newsticker-treeview-tree-do-click'.
112         (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
114 2014-12-05  Juri Linkov  <juri@linkov.net>
116         * comint.el (comint-history-isearch-search)
117         (comint-history-isearch-wrap): Use field-beginning instead of
118         comint-line-beginning-position.
119         (comint-send-input): Go to the end of the field instead of the end
120         of the line to accept whole multi-line input.
121         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
123 2014-12-05  Juri Linkov  <juri@linkov.net>
125         * minibuffer.el (minibuffer-completion-help):
126         Compare selected-window with minibuffer-window to check whether
127         completions should be displayed near the minibuffer.  (Bug#17809)
128         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
130 2014-12-05  Michael Albinus  <michael.albinus@gmx.de>
132         * vc/vc-mtn.el (vc-mtn-root):
133         * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
135 2014-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
137         * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
138         of the whole pipe when indenting an opening keyword after a |.
139         Generalize this treatment to opening keywords like "while" (bug#18031).
141 2014-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
143         * simple.el (newline): Place the hook buffer-locally,
144         to make sure it's first.
146         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
147         Fix handling of symbols with different syntax at beginning/end or with
148         symbol rather than word syntax.
150 2014-12-05  Eli Zaretskii  <eliz@gnu.org>
152         * simple.el (line-move): If noninteractive, call line-move-1, not
153         forward-line, since the former is compatible with line-move-visual
154         both in terms of the column to which it moves and the return
155         value.  (Bug#19211)
157 2014-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
159         * vc/ediff-init.el (ediff-odd-p): Remove.
160         (ediff-background-face): Use cl-oddp instead.
161         (ediff-buffer-live-p): Make it a defsubst.
163         * tooltip.el (tooltip-region-active-p): Remove.
165         * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
166         (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
168         * fringe.el (fringe-bitmap-p): Make it a plain function.
170         * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
171         (class-p, generic-p, eieio-object-p, class-abstract-p):
172         Make them defsubst, so as to avoid corner case problems where
173         the arg might be evaluated in the condition-case, or it can't be passed
174         to higher-order functions like `cl-some'.
176 2014-12-05  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
178         * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
179         and remove old menu-related code.
181 2014-12-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
183         * net/eww.el (eww-display-pdf): Let mailcap determine how to
184         display PDF files (bug#19270).
186 2014-12-05  Juri Linkov  <juri@linkov.net>
188         Compare with the most recent window by default.
189         * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
190         (compare-windows-get-recent-window)
191         (compare-windows-get-next-window): New functions.
192         (compare-windows, compare-windows-sync-default-function):
193         Use `compare-windows-get-window-function' instead of `next-window'.
194         (compare-windows): Add diff/match messages with region boundaries.
195         (Bug#19170)
197 2014-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
199         * subr.el (filter): Remove.  Use `cl-remove-if-not' or `seq-filter'.
201 2014-12-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
203         * net/shr.el (shr--extract-best-source): Ignore non-text children.
205 2014-12-04  Eli Zaretskii  <eliz@gnu.org>
207         Implement copying of a buffer portion while preserving visual order.
208         * simple.el (bidi-directional-controls-chars)
209         (bidi-directional-non-controls-chars): New variables.
210         (squeeze-bidi-context-1, squeeze-bidi-context)
211         (line-substring-with-bidi-context)
212         (buffer-substring-with-bidi-context): New functions.
214         * files.el (file-tree-walk): Doc fix.
216 2014-12-04  Rupert Swarbrick  <ruperts@broadcom.com> (tiny change)
217             Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
219         * autoinsert.el (auto-insert-alist): Update C/C++ header and
220         program support to match more extensions.  Replace non-alnum
221         characters when generating include guards (headers) and check for
222         more extensions when generating includes (programs)
223         (bug#19254).
225 2014-12-03  Eric S. Raymond  <esr@snark.thyrsus.com>
227         * files.el (file-tree-walk): Fix docstring.
229 2014-12-03  Karl Fogel  <kfogel@red-bean.com>
231         Fix bug whereby saving files hung in VC hook.
233         Saving a buffer visiting a file under SVN control would hang if
234         the remote repository were unreachable, because the VC hooks tried
235         to run "svn status -u" on the file, where the "-u" tells svn to
236         get update information from the remote repository.
237         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
239         * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
240         argument and always pass "-v" to "svn status", never "-u".
242 2014-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
244         * emacs-lisp/inline.el: Fix up copyright header.
245         (inline-quote, inline-const-p, inline-const-val, inline-error):
246         Silence compiler warnings.
247         (inline-letevals): Fix edebug spec.
248         (inline--testconst-p): Consider lambda expressions as const-p.
249         (inline--getconst-val): Use inline--testconst-p.
251         * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
252         and change default to stay in the minibuffer when called from
253         the minibuffer (bug#19250).
254         (lazy-completion-table): Use this new argument to preserve the
255         old behavior.
257         * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
258         incorrect lexical elements (bug#19250).
260 2014-12-03  Eric S. Raymond  <esr@snark.thyrsus.com>
262         * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
264 2014-12-02  Glenn Morris  <rgm@gnu.org>
266         * whitespace.el (whitespace-big-indent-regexp): Add :version.
268 2014-12-02  Eric S. Raymond  <esr@snark.thyrsus.com>
270         * subr.el (filter): New macro. Because it's just silly for a Lisp
271         not to have this in 2014.  And VC needs it.
273         * vc.el, all backends: API simplification: Abolish dir-status.
274         It's replaced by dir-status-files.
276         * vc.el, all backends: API simplification: Remove 4th
277         'default-state' argument from vc-dir-status files and its backend
278         methods - no backend method ever set it.  It was used only in the
279         fallback method to to set a default of 'up-to-date, though a
280         convoluted call chain obscured this.
282         * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
284         * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
285         improving behavior on directories using multiple file-oriented VCSes.
287         * vc/vc.el and all backends: API simplification; clear-headers
288         is no longer a public method.  It is now local to the one place
289         it's used, in the RCS steal-lock method.
291 2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
293         * vc/vc.el and all backends: API simplification; could-register
294         is no longer a public method.  (vc-cvs.el still has a private
295         implementation.)
297         * vc/vc.el and all backends: API cleanup; the backend diff method
298         takes an explicit async flag.  This eliminates a particularly ugly
299         global.
301         * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
302         VC randomly/unpredictably fails without it; cause not yet established.
304 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
306         Merge some of the differences from the standalone CC-mode.
307         The main change is to only use the `category' text-property only when
308         available.  For that many calls are changed to use c-get-char-property,
309         c-next-single-property-change, c-sc-scan-lists,
310         c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
312         * progmodes/cc-mode.el (c-just-done-before-change): New var.
313         (c-basic-common-init): Initialize it.
314         (c-common-init): Only use mode-require-final-newline when available.
315         (c-before-change): Check and set c-just-done-before-change.
316         (c-after-change): Re-set c-just-done-before-change.
317         (c-advise-fl-for-region): New macro.
318         (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
319         (font-lock-after-change-function, jit-lock-after-change):
320         Advise if needed.
322         * progmodes/cc-langs.el (c-modified-constant): New lang var.
323         (c-known-type-key): Don't make a list just to throw it away.
325         * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
326         Handle the case where categories are not available.
327         (c-record-parse-state-state, c-replay-parse-state-state):
328         Handle marker values.
329         (c-before-change-check-<>-operators): Look for the `syntax-table'
330         property rather than for the corresponding `category'.
331         (c-looking-at-decl-block): Remove unused var
332         `c-disallow-comma-in-<>-arglists'.
333         (c-forward-<>-arglist-recur): Remove unused var
334         `orig-record-found-types'.
336         * progmodes/cc-defs.el (c-version): Bump up to 5.33.
337         (c-use-category): New const.
338         (c-next-single-property-change): New macro.
339         (c-region-is-active-p): Prefer region-active-p when available.
340         (c-search-backward-char-property): Fix old min/max typo; probably
341         a copy/paste error.
342         (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
343         Turn them into macros that obey c-use-category.
344         (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
345         (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
346         (c-sc-scan-lists, c-sc-parse-partial-sexp)
347         (c-looking-at-non-alphnumspace): New macros.
348         (c-sc-parse-partial-sexp-no-category): New function.
349         (c-emacs-features): Add `category-properties' element.
351         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
352         (c-backward-into-nomenclature): Use cc-subword if subword-mode is
353         not available.
354         (c-beginning-of-defun, c-end-of-defun, c-mark-function)
355         (c-indent-line-or-region): Use c-region-is-active-p.
357         * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
358         (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
359         (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
360         (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
361         (cc-bytecomp-obsolete-fun): Delete unused functions.
363         * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
365 2014-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
367         * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
368         dom.el changes.
370 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
372         * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
373         current "project" rather than just the current directory.
374         * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
375         the file names make sense.
377         * vc/smerge-mode.el (smerge-swap): New command.
379         * vc/diff-mode.el (diff-kill-applied-hunks): New command.
381 2014-12-01  Ulf Jasper  <ulf.jasper@web.de>
383         * net/newst-treeview.el (newsticker--treeview-item-show):
384         Check window liveliness before measuring its width.
386         * net/newst-backend.el (newsticker--get-news-by-url-callback):
387         Pass correct status to `newsticker--sentinel-work'.
388         (newsticker--sentinel-work): Use "newsticker--download-error" as
389         guid in order to prevent multiple "Could not download..."
390         messages.  Fixes bug#19166.
392 2014-12-01  Ivan Shmakov  <ivan@siamics.net>
394         * net/eww.el (eww-render): Call `eww-after-render-hook' in the
395         correct buffer (bug#19225).
397 2014-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
399         * net/nsm.el (network-security-level): Change the default to `medium'.
401         * net/eww.el (eww): Leave point in a place that doesn't cause
402         scrolling when displaying "Loading...".
404 2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
406         * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
407         backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
408         'merge-branch'.  Prompting for merge revisions is pushed down to
409         the back ends; this fixes a layering violation that caused bad
410         behavior with SVN.
412         * vc/vc.el, vc-hooks.el, and all backends: API simplification;
413         vc-stay-local-p and repository-hostname are no longer public
414         methods.  Only the CVS and SVN backends used these, and the SVN
415         support was conditioned out because svn status -v is too slow.
416         The CVS back end retains this machibery and the vc-stay-local
417         configuration variable now only affects it.
419 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
421         * emacs-lisp/inline.el: New file.
423 2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
425         * vc/vc.el, vc-hooks.el, and all backends: API simplification;
426         vc-state-heuristic is no longer a public method, having been
427         removed where it is redundant, unnecessary, or known buggy.
428         This eliminated all backends except CVS.  Eliminates bug#7850.
430         * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
431         Eliminate vc-mistrust-permissions.  It was only relevant to the
432         RCS and SCCS back ends and defaulted to t. Code now always
433         mistrusts permissions - by actual measurement the effect on
434         performance is negligible. As a side effect bug#11490 is now
435         irrelevant.
437         * vc/vc.el, vc-hooks.el, and all backends: API simplification;
438         vc-workfile-unchanged-p is no longer a public method (but the RCS
439         and SCCS back ends retain it as a private method used in state
440         computation). This method was redundant with vc-state and usually
441         implemented as a trivial call to same. Fixes the failure mode
442         described in bug#694.
444         * vc/vc.el and all backends: API simplification; init-revision is
445         gone, and vc-registered functions no longer take an
446         initial-revision argument.
448 2014-11-29  Glenn Morris  <rgm@gnu.org>
450         * vc/vc-src.el (vc-src, vc-src-diff-switches)
451         (vc-src-master-templates): Fix :version tags.
453 2014-11-29  Paul Rankin  <paul@tilk.co>  (tiny change)
455         * outline.el (outline-move-subtree-down): Refactor and improve code.
457 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
458             Stefan Monnier  <monnier@iro.umontreal.ca>
460         * outline.el (outline-move-subtree-down): Make sure we can move
461         forward to find the end of the subtree and the insertion point
462         (bug#19102).
464 2014-11-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>
466         * progmodes/python.el (python-shell-completion-setup-code):
467         Use __builtin__ module (or builtins in Python 3) and catch all errors
468         when importing readline and rlcompleter.
470 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
472         * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
473         (todo-revert-buffer): New function.
474         (todo-modes-set-1): Use it as the buffer-local value of
475         revert-buffer-function.
477 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
479         * calendar/todo-mode.el (todo-mode): If called interactively, just
480         display a message saying to call todo-show to enter Todo mode
481         (Bug#19112).
483 2014-11-29  Dmitry Gutov  <dgutov@yandex.ru>
485         * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
486         (Bug#18579)
488         * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
489         files.  (Bug#18579)
491 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
493         * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
494         remote `buffer-file-name'.
496 2014-11-29  Leo Liu  <sdl.web@gmail.com>
498         * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
500 2014-11-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>
502         Set PYTHONUNBUFFERED on shell startup.
504         * progmodes/python.el (python-shell-unbuffered): New var.
505         (python-shell-calculate-process-environment): Use it.
507 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
509         * net/tramp.el (tramp-action-password): Clean password on subsequent
510         attempts even if there was no wrong password indication.  (Bug#19047)
512         * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
513         fallback.
514         (tramp-open-connection-setup-interactive-shell): No need to check
515         for nil as `tramp-get-remote-locale' return value.
517 2014-11-29  Eli Zaretskii  <eliz@gnu.org>
519         * vc/vc-git.el (vc-git-command, vc-git--call):
520         Bind coding-system-for-read and coding-system-for-write to
521         vc-git-commits-coding-system.
522         (vc-git-previous-revision): Use "~1" instead of "^", since the
523         latter is a special character for MS-Windows system shells.
525 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
527         Improve XEmacs compatibility.
529         * net/tramp.el (tramp-autoload-file-name-handler):
530         Wrap `temporary-file-directory' by `symbol-value', it doesn't
531         exist in XEmacs.
532         (tramp-read-passwd): Don't use `with-timeout-suspend' and
533         `with-timeout-unsuspend' if they don't exist, like in XEmacs.
534         (tramp-time-less-p, tramp-time-subtract): Remove functions.
535         (tramp-handle-file-newer-than-file-p, tramp-time-diff):
536         * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
537         * net/tramp-cache.el (tramp-get-file-property):
538         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
539         Use `time-less-p' and `time-subtract, respectively.
541         * net/tramp-adb.el (top): Do not require time-date.el.
543         * net/tramp-compat.el (top): Require time-date.el for XEmacs.
545         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
546         Check, whether `utf-8' is a valid coding system.
548 2014-11-29  Eli Zaretskii  <eliz@gnu.org>
550         * vc/vc.el (vc-retrieve-tag): Doc fix.
552 2014-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
554         * simple.el (execute-extended-command--shorter): Fix the "M-p" case
555         (bug#19152).
557 2014-11-28  Martin Rudalics  <rudalics@gmx.at>
559         Fix two issues around help-window-select.  (Bug#11039) (Bug#19012)
560         * help.el (help-window-old-frame): New variable.
561         (help-window-select): Default to nil (Bug#11039).
562         Rewrite doc-string.
563         (help-window-setup): When the help window appears on another
564         frame and `help-window-select' is non-nil, give that frame input
565         focus too (Bug#19012).
566         (with-help-window): Store selected frame in
567         help-window-old-frame.
569 2014-11-28  Ulf Jasper  <ulf.jasper@web.de>
571         * net/newst-treeview.el (newsticker--treeview-load): Take care of
572         nil value for `newsticker-groups-filename'.
574 2014-11-28  Daiki Ueno  <ueno@gnu.org>
576         * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
577         (epa-sign-region, epa-encrypt-region):
578         Use `epg-context-set-{passphrase,progress}-callback', instead of
579         `setf'.  This partially reverts commit 9e48a95c (bug#19150).
580         Reported by José A. Romero L.
582 2014-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
584         * net/eww.el (eww-restore-history):
585         Bind `inhibit-modification-hooks' instead of `after-change-functions'.
587 2014-11-27  Ulf Jasper  <ulf.jasper@web.de>
589         * net/newst-backend.el (newsticker--parse-atom-1.0):
590         Handle embedded (x)html in summary node.
592 2014-11-27  Sam Steingold  <sds@gnu.org>
594         * menu-bar.el (menu-bar-open): When everything else fails,
595         use (mouse-menu-bar-map).
597 2014-11-27  Ulf Jasper  <ulf.jasper@web.de>
599         * net/newst-treeview.el (newsticker-groups-filename):
600         Change default value to nil.  Point out that variable is obsolete in doc
601         string.
602         (newsticker--treeview-load): Change wording of the questions the
603         user is asked when `newsticker-groups-filename' is found to be
604         used and we offer to read and remove the groups file. (bug#19165)
606 2014-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
608         * net/eww.el (eww): Record the new URL immediately, so that if the
609         HTTP fetch fails, we have the right URL in the buffer.
610         (eww-process-text-input): Don't shorten the input field if
611         deleting at the last character (bug#19085).
612         (eww-restore-history): Inhibit change functions while restoring
613         the history.
614         (eww-process-text-input): Fix deletion at the start of the field, too.
615         (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
616         (eww-process-text-input): Try to keep track of the size more reliably.
618         * dom.el (dom-pp): New function.
620 2014-11-27  Eli Zaretskii  <eliz@gnu.org>
622         * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
623         Don't assume --long is the default for "bzr log", always specify
624         it explicitly, in case the user defined an alias for 'log' that
625         uses some other format.
627 2014-11-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
629         * progmodes/python.el (python-eldoc--get-doc-at-point):
630         Strip shell output before returning.  (bug#18794)
632 2014-11-27  Dmitry Gutov  <dgutov@yandex.ru>
634         Fix indentation before `!=' and after `+='.  Originally reported
635         in https://github.com/mooz/js2-mode/issues/174.
636         * progmodes/js.el (js--indent-operator-re): Make assignments and
637         (in)equality operator a separate case.
638         (js--continued-expression-p): Escape the second `+' in the regexp.
640 2014-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
642         * window.el (handle-select-window): Deactivate shift-region (bug#19003).
644 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
646         * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
647         when querying about new certificates.
649         * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
651         * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
652         can be strings.
653         (dom-elements): Protect against non-text nodes.
654         (dom-non-text-children): New function.
656         * net/eww.el (eww-tag-title): Use `dom-text'.
658 2014-11-26  Sam Steingold  <sds@gnu.org>
660         * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
662 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
664         * net/eww.el (eww-highest-readability): More dom.el fixes.
666 2014-11-26  Ulf Jasper  <ulf.jasper@web.de>
668         * net/newst-backend.el (newsticker--parse-generic-items):
669         Take care of UIDs when adding elements to cache.
671 2014-11-26  Alan Mackenzie  <acm@muc.de>
673         Remove spurious reference to symbol category_properties.
674         * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
676 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
678         * net/eww.el: Use the new dom.el accessors throughout.
680         * net/shr.el: Ditto.
682         * dom.el: New file.
684 2014-11-26  Glenn Morris  <rgm@gnu.org>
686         * arc-mode.el (archive-visit-single-files): Add :version.
688 2014-11-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
690         * net/nsm.el (nsm-format-certificate): Don't bug out on missing
691         elements.
692         (nsm-warnings-ok-p): The new version of this function always
693         returned nil when everything was OK.
695 2014-11-25  Teodor Zlatanov  <tzz@lifelogs.com>
697         * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
699         * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
700         (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
702 2014-11-20  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
704         * emacs-lisp/byte-run.el (function-put): Match argument names to
705         docstring.
707 2014-11-24  Sam Steingold  <sds@gnu.org>
709         * vc/vc-hooks.el (vc-directory-exclusion-list):
710         Fix a trivial typo (bug#19171).
712 2014-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
714         * vc/vc-hooks.el (vc-state-base-face): Don't override
715         mode-line-inactive.
717 2014-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
719         * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
720         (eww-process-text-input): Inhibit read only so that input fields
721         don't get shortened (bug#19085).
723 2014-11-24  Leo Liu  <sdl.web@gmail.com>
725         * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
727         * window.el (with-temp-buffer-window)
728         (with-current-buffer-window, with-displayed-buffer-window):
729         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
730         * emacs-lisp/cl-lib.el (substring):
731         * emacs-lisp/cl-extra.el (cl-getf): Use it.
733 2014-11-24  Eli Zaretskii  <eliz@gnu.org>
735         * isearch.el (isearch-update): Don't assume
736         pos-visible-in-window-p will return nil when point is hscrolled
737         out of view.  (Bug#19157)
739 2014-11-20  Andrey Kotlarski  <m00naticus@gmail.com>
741         * net/eww.el (eww-browse-url): Optionally create new eww buffer.
742         (eww-follow-link): Follow in new buffer in case of prefix
743         argument, open externally with double prefix (bug#19130).
745 2014-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
747         * net/eww.el (eww-display-html): Decode the document-defined charset.
748         (eww): Pop to the *eww* buffer immediately after executing the
749         `M-x eww' command to avoid having buffers pop up later.
750         (eww-display-html): Don't pop the *eww* buffer.
751         (eww-display-raw): Ditto.
752         (eww-display-image): Ditto.
753         (eww-follow-link): Make going to #targets in the page work again.
755 2014-11-23  Ivan Shmakov  <ivan@siamics.net>
757         * net/eww.el (eww-suggest-uris): New variable.
758         (eww-suggested-uris): New function.
759         (eww): Default to URL under point.
760         (eww-links-at-point): New function.
762 2014-11-20  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
764         * net/eww.el (eww-add-bookmark): Fix bookmark titles.
766 2014-11-17  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
768         * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
770 2014-11-23  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
772         * net/eww.el (eww-set-character-encoding): New command and keystroke.
773         (eww-display-raw): Use it (bug#16225).
775 2014-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
777         * net/nsm.el (network-security-level): Rename from
778         `nsm-security-level' and documented.
780         * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
781         we're sending a password.
783         * net/nsm.el: New file that implements a Network Security Manager.
785         * net/network-stream.el (open-network-stream): Add a new
786         :warn-unless-encrypted parameter.
787         (network-stream-open-plain): Allow warning unless encrypted.
788         (network-stream-open-starttls): Call the Network Security Manager.
789         (network-stream-open-tls): Ditto.
791 2014-11-23  Leo Liu  <sdl.web@gmail.com>
793         * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
794         (calendar-chinese-to-absolute-for-diary)
795         (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
796         Handle leap months in Chinese calendar.  (Bug#18953)
798 2014-11-22  Alan Mackenzie  <acm@muc.de>
800         Fix error with `mark-defun' and "protected:" in C++ Mode.
801         Fixes: debbugs:19134.
803         * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
804         return code of (label) from c-beginning-of-decl-1.
806 2014-11-22  Ulf Jasper  <ulf.jasper@web.de>
808         * net/newst-backend.el (newsticker--sentinel-work):
809         Tell `libxml-parse-xml-region' to discard comments. Fixes bug#18787.
811 2014-11-22  Michael Albinus  <michael.albinus@gmx.de>
813         * net/tramp-sh.el (tramp-sh-handle-start-file-process)
814         (tramp-sh-handle-process-file): Propagate `process-environment'.
816         * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
817         Tramp propagates environment variables now.
819 2014-11-22  Eric S. Raymond  <esr@snark>
821         * vc/vc-filewise.el: New file to isolate code used only by the
822         file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
823         live in vc.el and certainly not in vc-hooks.el.
825         * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name  -> vc-master-name.
826         This is preaparatory to isolating all the 'master' functions
827         used only by the file-oriented back ends.  With this done first,
828         the substantive diffs will be easier to read.
830 2014-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
832         * play/morse.el (nato-alphabet): Mark URL in docstring in a way
833         that is recognized by `help-mode'.
835 2014-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
837         * desktop.el (desktop-create-buffer): Use activate-mark to set
838         `mark-active' (bug#19058).
840 2014-11-21  Eric S. Raymond  <esr@snark>
842         * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
843         nil state.
845 2014-11-21  Eli Zaretskii  <eliz@gnu.org>
847         * vc/vc.el (vc-deduce-fileset): Support invocation from
848         *vc-change-log* buffer.  (Bug#19084)
850 2014-11-13  Matthew Leach  <matthew@mattleach.net>
852         * arc-mode.el (archive-visit-single-files): New.
853         (archive-mode): Visit file if archive contains a single file.
854         (Bug#1702)
856 2014-11-21  Ulrich Müller  <ulm@gentoo.org>
858         * vc/vc.el: Fix a typo in the commentary.
860 2014-11-20  Eric S. Raymond  <esr@snark.thyrsus.com>
862         * vc/vc-src.el, vc/vc.el: Added support for SRC.  Needs more
863         testing and a real log-view mode.
865         * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
866         * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
867         * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
868         checkout methods; where it matters (which is only in SCCS and RCS)
869         files are always checked out editable.  This may actually have
870         been dynamically true already - it looks like the vc-next-action
871         code evolved past visiting the other case.  Tested with RCS.
873         * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
874         * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
875         * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
876         argument from the backend checkin methods.  Only the RCS, SCCS,
877         and CVS back ends tried to do anything with it, and that code was
878         never exercised.  Chiseling away the cruft of decades...
880 2014-11-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
882         * net/eww.el (eww-render): Remove a no-op :title setting.
884 2014-11-19  Ivan Shmakov  <ivan@siamics.net>
886         * net/eww.el (eww-history-limit): New variable.
887         (eww-save-history): Use it (bug#19105).
888         (eww-reload): Reload the page in the right buffer.
890 2014-11-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
892         * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
894 2014-11-19  Ivan Shmakov  <ivan@siamics.net>
896         * net/eww.el (eww-desktop-remove-duplicates)
897         (eww-restore-desktop, eww-restore-reload-prompt): New variables.
898         (eww-mode): Set up desktop mode (bug#18010).
899         (eww-desktop-data-save, eww-desktop-data-1)
900         (eww-desktop-history-duplicate, eww-desktop-misc-data)
901         (eww-restore-desktop): New functions.
903 2014-11-19  Eli Zaretskii  <eliz@gnu.org>
905         * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
906         correct buffer.  (Bug#19101)
908 2014-11-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
910         * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
911         `diff-switches' if `vc-git-diff-switches' is nil.  (Bug#19099)
913 2014-11-19  Artur Malabarba  <bruce.connor.am@gmail.com>
915         * lisp/ido.el (ido-bury-buffer-at-head): New command.
916         (ido-buffer-completion-map): Bind it to C-S-b.
918 2014-11-18  Juri Linkov  <juri@linkov.net>
920         * simple.el (next-line-or-history-element): Wrap next-line
921         in with-no-warnings.
922         (previous-line-or-history-element): Wrap previous-line
923         in with-no-warnings.
925 2014-11-18  Juri Linkov  <juri@linkov.net>
927         * progmodes/grep.el (grep-compute-defaults):
928         Compute grep-highlight-matches before its use.
930 2014-11-18  Juri Linkov  <juri@linkov.net>
932         * replace.el (query-replace-from-to-separator): Turn defvar into
933         defcustom.  Wrap char-displayable-p in ignore-errors because an
934         attempt to autoload char-displayable-p fails during pre-loading.
935         Move (propertize "\0" ... 'separator t) out of customizable part
936         to query-replace-read-from.
937         (query-replace-read-from): Call custom-reevaluate-setting on
938         query-replace-from-to-separator to reevaluate the separator
939         depending on the return value of char-displayable-p.
940         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
942 2014-11-18  Juri Linkov  <juri@linkov.net>
944         * bindings.el (minibuffer-local-map): Rebind [down] from
945         next-history-element to next-line-or-history-element, and [up]
946         from previous-history-element to previous-line-or-history-element.
948         * simple.el (next-line-or-history-element)
949         (previous-line-or-history-element): New commands.
950         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
952 2014-11-18  Leo Liu  <sdl.web@gmail.com>
954         * emacs-lisp/nadvice.el (define-advice): New macro.
955         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
956         Add define-advice.
957         (lisp-font-lock-keywords-1): Add define-advice.
959 2014-11-18  Daiki Ueno  <ueno@gnu.org>
961         * epg.el (epg-context): New slot EDIT-CALLBACK.
962         (epg--process-filter): Call EDIT-CALLBACK when editing a key.
963         (epg-reset): Reset EDIT-CALLBACK of the context.
964         (epg-start-edit-key): New function.
965         (epg-edit-key): New function.
967 2014-11-18  Paul Eggert  <eggert@cs.ucla.edu>
969         Port new time stamp handling to Emacs 23.2.
970         This fix is for Gnus.  Problem reported by Katsumi Yamaoka.
971         * calendar/time-date.el (time-add, time-subtract, time-less-p):
972         Use eval-and-compile, not eval-when-compile.
974 2014-11-18  Daiki Ueno  <ueno@gnu.org>
976         * epg.el (epg-context-set-passphrase-callback)
977         (epg-context-set-progress-callback): Check if the CALLBACK
978         argument is a function, instead of a cons.
980 2014-11-18  Daiki Ueno  <ueno@gnu.org>
982         * epa-file.el (epa-file-insert-file-contents)
983         (epa-file-write-region): Remove redundant check of
984         epa-pinentry-mode.
985         * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
986         (epa-sign-region, epa-encrypt-region): Remove redundant check of
987         epa-pinentry-mode.
989 2014-11-18  Daiki Ueno  <ueno@gnu.org>
991         * epa-file.el (epa-file-insert-file-contents): Don't show
992         "*Error*" buffer if input file does not exist.
993         Reported by Herbert J. Skuhra.
995 2014-11-18  Paul Pogonyshev  <pogonyshev@gmail.com>
996             Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
998         * progmodes/cc-langs.el: Support some of the new keywords in C++11.
999         An alternative version of the patch from bug#13871.
1000         (c-operators): Add "alignof".
1001         (c-primitive-type-kwds): Add "char16_t", "char32_t".
1002         (c-type-modifier-kwds): Add "constexpr", "noexcept".
1003         (c-modifier-kwds): Add "thread_local".
1004         (c-constant-kwds): Add "nullptr".
1006 2014-11-17  Michal Nazarewicz  <mina86@mina86.com>
1008         * textmodes/tildify.el (tildify-pattern, tildify-space-string):
1009         New variables for specifying tildify pattern and representation of
1010         a hard space -- a no-break space by default -- respectively.
1011         Being buffer-local they are much easier to handle than
1012         `tildify-string-alist' and `tildify-pattern-alist' respectively
1013         that have been used so far.  They also works better with derived
1014         modes.
1015         (tildify-foreach-region-function): New variable specifying
1016         a function determining portions of buffer that should be
1017         tildified.  It allows major modes to create a filtering function
1018         more elaborate than a set of regular expressions.  Initialised to
1019         `tildify--deprecated-ignore-evironments' by default to handle now
1020         deprecated `tildify-ignored-environments-alist' variable.
1021         (tildify--foreach-region): A new function that takes
1022         `tildify-foreach-region-function' into account and calls callback
1023         for regions of the buffer that should be tildified.
1024         (tildify-foreach-ignore-environments): A new function which can be
1025         partially applied and used as `tildify-foreach-region-function'.
1026         (tildify-ignored-environments-alist, tildify-pattern)
1027         (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
1028         (tildify--find-env): Rename from `tildify-find-env' and mark as
1029         obsolete.
1030         (tildify--deprecated-ignore-evironments): New function,
1031         immediately marked as obsolete, used to handle deprecated
1032         `tildify-ignored-environments-alist'.
1034         * textmodes/tex-mode.el (tex-common-initialization):
1035         Set `tildify-space-string' and `tildify-foreach-region-function'
1036         variables in all variants of TeX mode since `tildify-string-alist'
1037         and `tildify-ignored-environments-alist' are now empty by default.
1039         * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
1040         If encoding supports it use no-break space instead of character
1041         entity; this changes previous default which used a numeric
1042         reference.
1044         * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
1045         If encoding does not support no-break space, use numeric reference;
1046         this changes previous default which used named entity (“&nbsp;”)
1047         in HTML mode.
1049 2014-11-17  Ulf Jasper  <ulf.jasper@web.de>
1051         * calendar/icalendar.el (icalendar-export-alarms):
1052         New customizable variable.  (Bug#5433)
1053         (icalendar-export-region): Export alarms as specified in
1054         `icalendar-export-alarms'.
1055         (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
1056         New functions for exporting alarms.
1058 2014-11-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1060         * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
1062 2014-11-17  Paul Eggert  <eggert@cs.ucla.edu>
1064         Port new time stamp handling to old Emacs and to XEmacs.
1065         This is needed for Gnus, which copies time-date.el and which
1066         runs on older Emacs implementations.
1067         * calendar/time-date.el (with-decoded-time-value):
1068         Handle 'nil' and floating-point arg more compatibly with new Emacs.
1069         (encode-time-value, with-decoded-time-value):
1070         Obsolete only if new Emacs.
1071         (time-add, time-subtract, time-less-p): Define if not new Emacs.
1073         Improve time stamp handling, and be more consistent about it.
1074         This implements a suggestion made in:
1075         http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
1076         Among other things, this means timer.el no longer needs to
1077         autoload the time-date module.
1078         * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
1079         * arc-mode.el (archive-ar-summarize):
1080         * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
1081         * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
1082         (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
1083         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1084         * proced.el (proced-time-lessp):
1085         * timezone.el (timezone-time-from-absolute):
1086         * type-break.el (type-break-schedule, type-break-time-sum):
1087         Simplify by using new functionality.
1088         * calendar/cal-dst.el (calendar-next-time-zone-transition):
1089         Do not return time values in obsolete and undocumented (HI . LO)
1090         format; use (HI LO) instead.
1091         * calendar/time-date.el (with-decoded-time-value):
1092         Treat 'nil' as current time.  This is mostly for XEmacs.
1093         (encode-time-value, with-decoded-time-value): Obsolete.
1094         (time-add, time-subtract, time-less-p): Use no-op autoloads, for
1095         XEmacs.  Define only if XEmacs, as they're now C builtins in Emacs.
1096         * ldefs-boot.el: Update to match new time-date.el
1097         * proced.el: Do not require time-date.
1099 2014-11-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1101         * net/eww.el (eww-mode): Make the buffer read-only.
1102         (eww-form-text): Inhibit read-only-ness in text input fields
1103         (bug#16476).
1105 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1107         * simple.el (execute-extended-command--shorter): Cut search here.
1108         (execute-extended-command): Instead of here.
1110 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1112         * progmodes/python.el (python-mode): Avoid use of set-local to
1113         keep Emacs 24.x compatibility.
1115 2014-11-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1117         * net/shr.el (shr): Move to the new defgroup `web'.
1119         * net/eww.el (eww): Ditto.
1121         * simple.el (execute-extended-command): Don't show the help
1122         message if the binding isn't significantly shorter than the
1123         M-x command the user typed (bug#19013).
1125 2014-11-16  Ulf Jasper  <ulf.jasper@web.de>
1127         * calendar/icalendar.el (icalendar--convert-tz-offset):
1128         Return complete cons when offsets of standard time and daylight saving
1129         time are equal.
1130         (icalendar-export-region): Fix unbound variable warning.
1132 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1134         * progmodes/python.el (run-python): Allow CMD to be optional and
1135         default it to a safe command, even for Windows.  (bug#18596)
1137 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1139         * progmodes/python.el (python-shell-calculate-command):
1140         Rename from python-shell-parse-command.  Cleanup.
1141         (run-python, run-python-internal): Use it.
1142         (python-shell-calculate-pythonpath): Rename from
1143         python-new-pythonpath.
1144         (python-shell-calculate-process-environment): Use it.
1145         (python-shell-calculate-exec-path): Add comment.
1147 2014-11-16  Thierry Banel <tbanelwebmin@free.fr>  (tiny change)
1149         * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
1150         for date handling.
1152 2014-11-16  Andreas Schwab  <schwab@linux-m68k.org>
1154         * version.el (emacs-repository-get-version): Use git rev-parse
1155         instead of git log.
1157 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1159         * progmodes/python.el (python-indent-calculate-levels):
1160         Fix indentation behavior multiline dedenter statement.  (Bug#18432)
1162 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1164         * progmodes/python.el (python-indent-region):
1165         Use python-indent-line and skip special cases.  (Bug#18843)
1167 2014-11-16  Peder O. Klingenberg  <peder@klingenberg.no>
1169         * mail/emacsbug.el (report-emacs-bug): Make a better guess at
1170           envelope-from when reporting through sendmail (bug#19054).
1172 2014-11-16  Oscar Fuentes <ofv@wanadoo.es>
1174         Add faces for the VC modeline state indicator.
1175         * lisp/vc/vc-hooks.el:
1176         (vc-state-faces, vc-state-base-face)
1177         (vc-up-to-date-state, vc-needs-update-state)
1178         (vc-locked-state, vc-locally-added-state)
1179         (vc-conflict-state, vc-removed-state)
1180         (vc-missing-state, vc-edited-state):
1181         New faces.
1182         (vc-default-mode-line-string): Use them
1184 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1186         * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
1188 2014-11-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1190         * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
1192 2014-11-15  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1194         * progmodes/python.el (python-eldoc-setup-code): Enhance string
1195         type checks, simplify printing.  (Bug#18962)
1197 2014-11-14  Ivan Andrus  <darthandrus@gmail.com>
1199         * progmodes/python.el (python-shell-font-lock-kill-buffer):
1200         (python-shell-font-lock-with-font-lock-buffer)
1201         (python-shell-get-buffer, python-ffap-module-path):
1202         Use `derived-mode-p' instead of equality test on `major-mode'.
1204 2014-11-14  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1206         * progmodes/python.el (python-shell-virtualenv-root): Rename from
1207         python-shell-virtualenv-path.
1208         (python-shell-internal-get-process-name)
1209         (python-shell-calculate-process-environment)
1210         (python-shell-calculate-exec-path): Use it.
1212 2014-11-14  Eli Zaretskii  <eliz@gnu.org>
1214         * bindings.el (search-map): Fix last change: don't use 'kbd' in
1215         bindings.el, since it is not yet loaded when bindings.el is
1216         preloaded.
1218 2014-11-14  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1220         * progmodes/python.el (python-shell-completion-get-completions):
1221         Fix previous merge.
1223 2014-11-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1225         * net/eww.el (eww-render): Don't set the title to the URL.
1227 2014-11-13  Ulrich Müller  <ulm@gentoo.org>
1229         * version.el (emacs-repository-get-version): Call `git log'
1230         command with proper format argument (bug#19049).
1232 2014-11-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1234         * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
1236 2014-11-14  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1238         * net/eww.el (eww-search-words): New command (bug#16258).
1240 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1242         * net/shr.el (shr-inhibit-images): Add a doc string.
1244         * net/eww.el (eww-after-render-hook): New variable.
1245         (eww-render): Use it.
1247         * net/shr.el (shr-descend): Don't descend further than
1248         `max-specpdl-size' allows (bug#16587).
1249         (shr-depth): New variable.
1250         (shr-warning): New variable.
1252 2014-11-13  Ivan Shmakov  <ivan@siamics.net>
1254         * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
1255         (shr-expand-url): Expand absolute URLs correctly (bug#17958).
1257 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1259         * net/eww.el (eww): Add comment to clarify.
1261         * net/shr.el (shr-parse-image-data): Remove blocked bits from
1262         external SVG images.
1263         (shr-tag-object): Display images in <object> forms (bug#16244).
1264         (shr-tag-table): Also insert <objects> after the tables.
1266 2014-11-13  Michael Albinus  <michael.albinus@gmx.de>
1268         * vc/vc-hg.el (vc-hg-state): Disable pager.  (Bug#18940)
1270 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1272         * net/eww.el (eww-form-file): Fix version number.
1274 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1276         * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
1278 2014-11-10  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1280         * net/eww.el(eww-form-file(defface)): New defface of file upload form.
1281         (eww-submit-file): New key map of file upload.
1282         (eww-form-file): New file upload button and file name context.
1283         (eww-select-file): Select file and display selected file name.
1284         (eww-tag-input): Handle input tag of file type.
1285         (eww-update-field): Add point offset.
1286         (eww-submit): Add submit with multipart/form-data.
1288 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1290         * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
1291         Allow taking a buffer to render data in.  This allows using several
1292         eww buffers (bug#16211).
1294 2014-11-10  Charles Rendleman  <carendle@gmail.com>  (tiny change)
1296         * net/eww.el (eww-download-callback): Save only the file contents,
1297         not the headers.
1299 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1301         * net/eww.el (eww-data): New plist to store all the data relevant
1302         to a single page, used throughout the file instead of the
1303         variables `eww-current-url', `eww-current-dom',
1304         `eww-current-source', and `eww-current-title'.
1305         (eww-readable): Copy over pertinent data from the parent page.
1306         (eww-save-history): Don't let the history grow infinitely.
1308         * net/eww.el: Remove `eww-next-url', `eww-previous-url',
1309         `eww-up-url', `eww-home-url', `eww-start-url' and
1310         `eww-contents-url' and put the data into the `eww-data' plist.
1311         This allow restoring these values after going back in the history.
1313 2014-11-10  Sylvain Chouleur  <sylvain.chouleur@gmail.com>  (tiny change)
1315         Allow VTIMEZONE where daylight and standard time zones are equal.
1316         See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
1317         * calendar/icalendar.el (icalendar--convert-tz-offset):
1318         Support timezone without daylight saving time.
1320 2014-11-10  Glenn Morris  <rgm@gnu.org>
1322         * startup.el (command-line): Handle nil elements in load-path.
1324 2014-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1326         * help.el (view-lossage): Include the actual commands run.
1328 2014-11-10  Dmitry Gutov  <dgutov@yandex.ru>
1330         * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
1331         no state is specified.  (Bug#18964)
1333 2014-11-09  Eric Ludlam  <zappo@gnu.org>
1335         * emacs-lisp/eieio-custom.el (eieio-customize-object):
1336         Set eieio-cog (current group) to g, which is an improved form of input
1337         group.
1339 2014-11-09  Juri Linkov  <juri@jurta.org>
1341         * isearch.el (isearch-message-prefix): Show "Multi-file" and
1342         "Multi-buffer" instead of "Multi".  (Bug#13592)
1344         * misearch.el (multi-isearch-file-list):
1345         Autoload multi-isearch-buffer-list and multi-isearch-file-list.
1346         (multi-isearch-end): Reset multi-isearch-buffer-list and
1347         multi-isearch-file-list to nil.
1349 2014-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1351         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1352         Don't call byte-compile-preprocess since the result will go through
1353         cconv.
1354         (byte-compile-output-docform): Handle uninterned `name' correctly.
1355         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
1356         to circumvent byte-compiler bug.
1358         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
1359         (macroexp--compiler-macro): Remove left-over debug code.
1361         * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
1363 2014-11-08  Juri Linkov  <juri@jurta.org>
1365         * simple.el (shell-command): Use buffer-name when output-buffer is
1366         a buffer.  (Bug#18096)
1368 2014-11-08  Juri Linkov  <juri@jurta.org>
1370         * minibuffer.el (minibuffer-completion-help): Compare this-command
1371         with completion-at-point.  (Bug#17809)
1373 2014-11-08  Glenn Morris  <rgm@gnu.org>
1375         * emacs-lisp/bytecomp.el (byte-compile-report-error):
1376         Allow the argument to be a string.  Due to the vague doc,
1377         it was already being used this way.
1379 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
1381         * net/tramp.el (tramp-check-cached-permissions): Include hop in
1382         the constructed Tramp file name.  (Bug#18943)
1384 2014-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1386         * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
1387         (bug#18952).
1388         (cua-set-mark, cua--post-command-handler-1):
1389         * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
1391 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
1393         * files.el (file-name-non-special): Wrap the call of
1394         `insert-file-contents' by `unwind-protect', in order to set the
1395         buffer's file name anyway.  (Bug#18891)
1397 2014-11-08  Alan Mackenzie  <acm@muc.de>
1399         Fix wrong bound to c-font-lock-declarators.  Fixes bug #18948.
1400         * progmodes/cc-fonts.el (c-font-lock-declarations):
1401         Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
1402         the buffer is sometimes narrowed to less than "limit" (e.g., in
1403         the presence of macros).
1405 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
1407         * net/tramp.el (tramp-error-with-buffer): Show connection buffer
1408         only when message appeared in minibuffer.  (Bug#18891)
1410         * net/tramp-adb.el (tramp-adb-handle-file-attributes):
1411         * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
1412         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
1413         case of errors.
1415 2014-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1417         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1418         Don't compile before eval in `eval-and-compile'.
1419         (byte-compile-arglist-warn): Add check for defining macros after their
1420         first use.  Check call use even if the function is fboundp.
1422 2014-11-08  Richard Stallman  <rms@gnu.org>
1424         * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
1425         Check more carefully for mime-part specified character set.
1426         Check for mime-part Content Transfer Encoding.
1427         Notify if no armor found.
1429 2014-11-08  Martin Rudalics  <rudalics@gmx.at>
1431         * faces.el (face-set-after-frame-default): Enable running
1432         `window-configuration-change-hook'.
1434 2014-11-07  Juri Linkov  <juri@jurta.org>
1436         * replace.el: History for query replace pairs.
1437         (query-replace-defaults): Promote to a list of cons cell.  Doc fix.
1438         (query-replace-from-to-separator): New variable.
1439         (query-replace-read-from): Let-bind query-replace-from-to-history
1440         to a list of FROM-TO strings created from query-replace-defaults
1441         and separated by query-replace-from-to-separator.  Use it as
1442         the history while reading from the minibuffer.  Split the returned
1443         string by the separator to get FROM and TO parts, and add them
1444         to the history variables.
1445         (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
1446         (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
1447         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
1449         * isearch.el (isearch-text-char-description): Keep characters
1450         intact and put formatted strings with the `display' property.
1452 2014-11-07  Martin Rudalics  <rudalics@gmx.at>
1454         * cus-start.el (frame-resize-pixelwise): Fix group.
1455         (frame-inhibit-implied-resize): Add entry.
1457 2014-11-07  Daiki Ueno  <ueno@gnu.org>
1459         * epa.el (epa-pinentry-mode): New user option.
1460         (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
1461         (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
1462         * epa-file.el (epa-file-insert-file-contents)
1463         (epa-file-write-region): Respect epa-pinentry-mode.
1465 2014-11-07  Daiki Ueno  <ueno@gnu.org>
1467         * epg.el (epg--list-keys-1): Ignore fields after the 15th field
1468         (bug#18979).  Reported by Hideki Saito.
1470 2014-11-06  Daiki Ueno  <ueno@gnu.org>
1472         * emacs-lisp/package.el (package--display-verify-error): New function.
1473         (package--check-signature): Use it to display output sent to stderr.
1475 2014-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1477         * subr.el (pop): Don't call the getter twice (bug#18968).
1479         * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
1480         uses of `funcall'.
1482 2014-11-06  Daiki Ueno  <ueno@gnu.org>
1484         * epa.el (epa-error-buffer): New variable.
1485         (epa-display-error): New function.
1486         (epa-decrypt-file, epa-verify-file, epa-verify-region)
1487         (epa-delete-keys, epa-import-keys): Display output sent to stderr.
1488         (epa-sign-file, epa-sign-region, epa-encrypt-region)
1489         (epa-export-keys, epa-insert-keys): Display output sent to stderr.
1490         Use setf instead of epg-context-set-*.
1491         * epa-file.el (epa-file-insert-file-contents):
1492         Use epa-display-error instead of epa-display-info.  Mimic the behavior
1493         of jka-compr when decryption program is not found.
1494         (epa-file-write-region): Use epa-display-error instead of
1495         epa-display-info.
1497 2014-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1499         * vc/vc.el (vc-region-history): New command.
1500         (vc-print-log-internal): Use cl-some.
1502         * vc/vc-git.el (vc-git-region-history): New function.
1503         (vc-git-region-history-mode-map)
1504         (vc-git--log-view-long-font-lock-keywords)
1505         (vc-git-region-history-font-lock-keywords): New vars.
1506         (vc-git-region-history-font-lock): New function.
1507         (vc-git-region-history-mode): New major mode.
1509 2014-11-05  Tassilo Horn  <tsdh@gnu.org>
1511         * net/eww.el (subr-x): Require subr-x at compile-time because eww
1512         uses string-trim.
1514 2014-11-05  Daiki Ueno  <ueno@gnu.org>
1516         * epg.el (epg-context): Add new slot ERROR-OUTPUT.
1517         (epg-error-output): New buffer-local variable.
1518         (epg--start): Initialize epg-error-output.
1519         (epg--process-filter): Record output lines sent to stderr, in
1520         epg-error-output.
1521         (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
1522         slot of context.
1523         * epa-file.el (epa-file-insert-file-contents): On error, display
1524         output sent to stderr.
1525         (epa-file-write-region): Likewise.
1527 2014-11-05  Eli Zaretskii  <eliz@gnu.org>
1529         * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
1530         returned by load-average.
1532 2014-11-05  Michael Albinus  <michael.albinus@gmx.de>
1534         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
1535         a local copy; setting `inhibit-file-name-handlers' proper might be
1536         more performant.  (Bug#18751)
1538 2014-11-05  Glenn Morris  <rgm@gnu.org>
1540         * mail/emacsbug.el (report-emacs-bug): No longer include
1541         recent-keys in the report.  (Bug#18900)
1543 2014-11-04  Paul Eggert  <eggert@cs.ucla.edu>
1545         * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
1547 2014-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
1549         * net/eww.el (eww): Trim URL with `string-trim'.
1550         Suggested by Vibhav Pant <vibhavp@gmail.com>.
1552 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1554         * net/eww.el (eww-score-readability): Don't count comments positively.
1556         * net/shr.el (shr-retransform-dom): Typo fix.
1558         * net/eww.el (eww-score-readability): Parse SVC images correctly.
1559         (eww-display-html): Don't leave point inside forms.
1561         * net/shr.el: Ditto.
1563 2014-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1565         * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
1566         edebug-prin1-to-string already handles circularity.
1568         * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
1569         autoloading when specified as a lambda.
1571         * simple.el (execute-extended-command--last-typed): New var.
1572         (read-extended-command): Set it.
1573         Don't complete obsolete commands.
1574         (execute-extended-command--shorter-1)
1575         (execute-extended-command--shorter): New functions.
1576         (execute-extended-command): Use them to suggest shorter names.
1577         (indicate-copied-region, deactivate-mark): Use region-active-p.
1579 2014-11-03  Michael Albinus  <michael.albinus@gmx.de>
1581         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
1582         local copy of FILENAME, when it is remote.  (Bug#18751)
1584         * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
1585         an error when the command fails; the return code must indicate.
1586         (tramp-adb-send-command-and-check): Fix docstring.
1588 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1590         * net/shr.el (shr-retransform-dom): Don't ignore elements that
1591         have no children like <br />.
1593         * net/eww.el (eww-display-html): Clear `url-queue'.
1594         (eww-display-pdf): New function.
1595         (eww-render): Display PDFs with `doc-view'.
1596         (url-queue): Require `url-queue' to avoid compilation warning.
1597         (eww-colorize-region): Remove duplicate function.
1598         (eww-tag-body): Use `shr-colorize-region'.
1600 2014-11-03  Yoni Rabkin <yrk@gnu.org>
1602         * net/eww.el (eww-list-bookmarks): Autoload.
1604 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1606         * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
1608         * net/eww.el (eww-display-html): The charset is called `utf-8',
1609         not `utf8'.
1610         (eww-readable): Decode the saved text correctly.
1611         (eww-readable): Save the history before displaying so that we can
1612         go back to the non-readable version.
1613         (eww-display-html): Don't try to decode the text if we've been
1614         passed in a pre-parsed DOM.
1615         (eww-tag-title): Remove newlines and extra whitespace from the
1616         displayed title.
1618 2014-11-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1620         * net/eww.el (eww-readable): New command and keystroke.
1622         * net/shr.el (shr-retransform-dom): New function.
1624         * net/eww.el (eww-display-html): Set `eww-current-source' in the
1625         correct buffer.
1626         (eww-view-source): Use it.
1628 2014-11-02  Ivan Shmakov <ivan@siamics.net>
1630         * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
1631         (Bug#18603).
1633 2014-11-02  Brian McKenna <brian@brianmckenna.org>  (tiny change)
1635         * net/eww.el (eww-submit): Encode empty form values as "".  (Bug#17785).
1637 2014-11-02  Ivan Shmakov <ivan@siamics.net>
1639         * net/eww.el (eww): Allow "file:/file/name" URLs.  (Bug#18825).
1641 2014-11-02  Ivan Shmakov <ivan@siamics.net>
1643         * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
1644         (Bug#18834).
1646 2014-11-02  Eric Abrahamsen  <eric@ericabrahamsen.net>
1648         * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
1649         use as advice.
1650         (edebug-setup-hook): Advise `edebug-prin1-to-string'.  (Bug#18897)
1652 2014-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1654         * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
1655         (bug#18821).
1656         * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
1658 2014-11-01  Michael R. Mauger  <michael@mauger.com>
1660         * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
1661         syntax, add new keywords, and parse longer keywords first.
1662         (sql-redirect-one): Protect against empty command.
1663         (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
1664         to SQL.  (Bug#14759)
1666 2014-11-01  Michael R. Mauger  <michael@mauger.com>
1668         * sql.el (sql-interactive-mode, sql-stop): Correct fix for
1669         Bug#16814 with let-bind of comint-input-ring variables around read
1670         and save functions.
1672 2014-11-01  Michael Albinus  <michael.albinus@gmx.de>
1674         * net/tramp-cache.el (tramp-get-file-property)
1675         (tramp-set-file-property): Check that `tramp-cache-get-count-*'
1676         and `tramp-cache-set-count-*' are bound.  Otherwise, there might
1677         be compiler warnings.
1679         * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
1680         Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
1682 2014-11-01  Eli Zaretskii  <eliz@gnu.org>
1684         * progmodes/compile.el (compilation-mode): Turn off deferred
1685         fontifications locally.  (Bug#18856)
1687 2014-11-01  Wolfgang Jenkner  <wjenkner@inode.at>
1689         * net/tramp-sh.el (tramp-send-command): Fix the case where the
1690         remote-echo connection property is non-nil (bug#18858).
1692 2014-11-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1694         * simple.el (newline): Add assertions to try and help catch bug#18913.
1696         * emulation/cua-base.el (cua-delete-region): Use delete-active-region
1697         (bug#18886).
1698         (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
1700 2014-11-01  Kim F. Storm  <storm@cua.dk>
1702         Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
1703         * delsel.el (delete-selection-save-to-register)
1704         (delsel--replace-text-or-position): New vars.
1705         (delete-active-region): Use them.
1706         (delete-selection-repeat-replace-region): New command, moved from
1707         cua-base.el.
1708         * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
1709         (cua-repeat-replace-region): Move command to delsel.el.
1710         (cua--init-keymaps): Update binding accordingly.
1711         (cua-mode): Set delete-selection-save-to-register.
1713 2014-11-01  Alan Mackenzie  <acm@muc.de>
1715         Make blink-parens work with a closing template delimiter.
1716         * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
1717         before calling blink-paren-function, so as to apply syntax-table
1718         properties to the ">".
1720 2014-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1722         * select.el (gui-get-selection): Comment: data-type ignored on NS.
1724 2014-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1726         * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
1727         (macroexp--expand-all): Unrelated tweaks.
1729         * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
1731 2014-10-30  Glenn Morris  <rgm@gnu.org>
1733         * startup.el (command-line): Remove pointless attempt to avoid
1734         statting the file-system (which expand-file-name doesn't do).
1736 2014-10-30  Daniel Colascione  <dancol@dancol.org>
1738         Add "enum class" support to C++ mode.
1739         * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
1740         (c-after-brace-list-key): New language consts/variables.
1741         * progmodes/cc-engine.el (c-looking-at-decl-block):
1742         Exclude spurious match of "enum struct" from decl-block recognition.
1743         (c-backward-colon-prefixed-type): New function.
1744         (c-backward-over-enum-header): Call above function to extend
1745         recognition of enum structure.
1747 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1749         * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
1750         (c-lang-defconst):
1751         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
1753 2014-10-30  Eli Zaretskii  <eliz@gnu.org>
1755         * progmodes/compile.el (compilation-start):
1756         If compilation-scroll-output is non-nil, don't force window-start of
1757         the compilation buffer to be at beginning of buffer.  (Bug#18874)
1759         * startup.el (fancy-about-text): Read the entire tutorial, not
1760         just its first 256 bytes.  (Bug#18760)
1762 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1764         * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
1765         * emacs-lisp/cl-extra.el: Add missing provide.
1767         * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
1768         all args are copyable (bug#18767).
1769         (=, <, >, <=, >=): Re-enable the optimization.
1771 2014-10-29  Glenn Morris  <rgm@gnu.org>
1773         * net/rcirc.el (rcirc-fill-column): Unbump :version.  Mark :risky.
1775         * version.el (emacs-bzr-version, emacs-bzr-get-version):
1776         Revert 2014-10-26 change.
1778 2014-10-29  Paul Eggert  <eggert@cs.ucla.edu>
1780         Simplify use of current-time and friends.
1781         * allout-widgets.el (allout-widgets-hook-error-handler):
1782         * calendar/appt.el (appt-display-message):
1783         * calendar/icalendar.el (icalendar--convert-float-to-ical):
1784         * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
1785         (timeclock-last-period, timeclock-day-base):
1786         * eshell/em-ls.el (eshell-ls-file):
1787         * eshell/esh-util.el (eshell-parse-ange-ls):
1788         * generic-x.el (named-database-print-serial):
1789         * net/newst-backend.el (newsticker--get-news-by-url-callback)
1790         (newsticker-get-news, newsticker--sentinel-work)
1791         (newsticker--image-get, newsticker--image-sentinel):
1792         * net/tramp-sh.el (tramp-get-remote-touch):
1793         * progmodes/opascal.el (opascal-debug-log):
1794         * textmodes/remember.el (remember-mail-date)
1795         (remember-store-in-files):
1796         * vc/vc-annotate.el (vc-annotate-display-autoscale)
1797         (vc-default-annotate-current-time):
1798         * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
1799         * vc/vc-cvs.el (vc-cvs-annotate-current-time):
1800         * vc/vc-rcs.el (vc-rcs-annotate-current-time):
1801         Omit unnecessary call to current-time.
1802         * calendar/time-date.el (time-to-seconds) [!float-time]:
1803         * vc/vc-annotate.el (vc-annotate-convert-time):
1804         Use current time if arg is nil, to be compatible with float-time.
1805         (time-date--day-in-year): New function, with most of the guts of
1806         the old time-to-day-in-year.
1807         (time-to-day-in-year): Use it.
1808         (time-to-days): Use it, to avoid decoding the same time stamp twice.
1809         * calendar/timeclock.el (timeclock-time-to-date):
1810         Arg is now optional, like current-time-string.
1811         (timeclock-update-mode-line):
1812         Don't call current-time twice to get the current time stamp,
1813         as this can lead to inconsistent results.
1814         * completion.el (cmpl-hours-since-origin):
1815         * ido.el (ido-time-stamp):
1816         * vc/vc-annotate.el (vc-annotate-convert-time):
1817         Simplify by using float-time.
1818         * completion.el (save-completions-to-file):
1819         Rename local var to avoid confusion.
1820         * net/rcirc.el (rcirc-float-time): Simplify to an alias because
1821         time-to-seconds now behaves like float-time with respect to nil arg.
1822         * subr.el (progress-reporter-do-update):
1823         Don't call float-time unless needed.
1825 2014-10-29  Leo Liu  <sdl.web@gmail.com>
1827         * net/rcirc.el (rcirc-fill-column): Use function.
1828         (rcirc-markup-fill): Remove adjustment.
1830 2014-10-28  Christopher Schmidt  <ch@ristopher.com>
1832         * calc/calc.el (quick-calc):
1833         * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
1835 2014-10-28  Sam Steingold  <sds@gnu.org>
1837         * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
1838         the sake of `window-body-width' (in addition to `frame-width').
1840 2014-10-26  Eric S. Raymond  <esr@thyrsus.com>
1842         * version.el: Fix some fallback values to conform to the actual
1843         release number.
1845 2014-10-25  Eric S. Raymond  <esr@thyrsus.com>
1847         * Makefile.in: Change some production names so they're neutral
1848         about the repository type.
1850 2014-10-25  Michael Albinus  <michael.albinus@gmx.de>
1852         * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
1853         (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
1854         during initialization.  (Bug#18774)
1856 2014-10-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1858         * ses.el (macroexp): Add require for this package, so that
1859         function `ses--cell' gets macroexp-quote --- this change was
1860         supposed to be in my previous commit, but left out by mistake.
1861         (ses--cell): Do not make formula a macroexp-quote of value when
1862         value, not formula, is *skip*.
1864 2014-10-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1866         * ses.el (macroexp): Add require for this package, so that function
1867         `ses--cell gets macroexp-quote.
1868         (ses--cell): Makes formula a macroexp-quote of value when formula
1869         is nil. The rationale of this changr is to allow in the future
1870         shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
1871         instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
1872         reference list REFLIST would be re-computed after load --- thus
1873         trading off load time against file size.
1875         * emacs-lisp/package.el (package--alist-to-plist-args):
1876         Use macroexp-quote instead of a lambda expression which has the same
1877         content as macroexp-quote.
1878         (macroexp): Add require for this package, so that function
1879         `package--alist-to-plist-args' gets macroexp-quote.
1881         * emacs-lisp/macroexp.el (macroexp-quote): New defun.
1883 2014-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1885         * term/ns-win.el (ns-store-cut-buffer-internal)
1886         (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
1888 2014-10-24  Martin Rudalics  <rudalics@gmx.at>
1890         * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
1891         Calculate increment from last position instead of window edge.
1892         Add right- and bottom-divider bindings to transient map.
1894 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1896         * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
1897         even if :predicate was nil, for the benefit of typep.
1898         Record the name of the predicate for typep's use.
1899         (cl--make-type-test): Use pcase.  Obey new
1900         cl-deftype-satisfies property.
1902         * epg.el: Use cl-defstruct.
1903         (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
1904         (epg-data-string): Define via cl-defstruct.
1905         (epg--gv-nreverse): New macro.
1906         (epg-context--make): New constructor (provided vi cl-defstruct).
1907         (epg-make-context): Rewrite using it.
1908         (epg-context-protocol, epg-context-program)
1909         (epg-context-home-directory, epg-context-armor, epg-context-textmode)
1910         (epg-context-include-certs, epg-context-cipher-algorithm)
1911         (epg-context-digest-algorithm, epg-context-compress-algorithm)
1912         (epg-context-passphrase-callback, epg-context-progress-callback)
1913         (epg-context-signers, epg-context-sig-notations, epg-context-process)
1914         (epg-context-output-file, epg-context-result, epg-context-operation)
1915         (epg-context-pinentry-mode): Define using cl-defstruct.
1916         (epg-context-set-protocol, epg-context-set-program)
1917         (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
1918         (epg-context-set-digest-algorithm)
1919         (epg-context-set-sig-notations, epg-context-set-process)
1920         (epg-context-set-output-file, epg-context-set-result)
1921         (epg-context-set-operation, epg-context-set-pinentry-mode)
1922         (epg-context-set-compress-algorithm): Remove.  Use setf instead.
1923         (epg-context-set-armor, epg-context-set-textmode)
1924         (epg-context-set-signers): Redefine using setf
1925         and declare as obsolete.
1926         (epg-context-set-passphrase-callback)
1927         (epg-context-set-progress-callback): Use setf.
1928         (epg-signature-notations): Rename from epg-sig-notations.
1929         (epg-make-signature, epg-signature-status, epg-signature-key-id)
1930         (epg-signature-validity, epg-signature-fingerprint)
1931         (epg-signature-creation-time, epg-signature-expiration-time)
1932         (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
1933         (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
1934         (epg-signature-set-status, epg-signature-set-key-id)
1935         (epg-signature-set-validity, epg-signature-set-fingerprint)
1936         (epg-signature-set-creation-time, epg-signature-set-expiration-time)
1937         (epg-signature-set-pubkey-algorithm)
1938         (epg-signature-set-digest-algorithm, epg-signature-set-class)
1939         (epg-signature-set-version, epg-signature-set-notations): Remove.
1940         Use setf instead.
1941         (epg-make-new-signature, epg-new-signature-type)
1942         (epg-new-signature-pubkey-algorithm)
1943         (epg-new-signature-digest-algorithm, epg-new-signature-class)
1944         (epg-new-signature-creation-time, epg-new-signature-fingerprint):
1945         Define using cl-defstruct.
1946         (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
1947         (epg-key-user-id-list): Define using cl-defstruct.
1948         (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
1949         Use setf instead.
1950         (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
1951         (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
1952         (epg-sub-key-id, epg-sub-key-creation-time)
1953         (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
1954         cl-defstruct.
1955         (epg-sub-key-set-fingerprint): Remove.  Use setf instead.
1956         (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
1957         (epg-user-id-signature-list): Define using cl-defstruct.
1958         (epg-user-id-set-signature-list): Remove.  Use setf instead.
1959         (epg-make-key-signature, epg-key-signature-validity)
1960         (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
1961         (epg-key-signature-creation-time, epg-key-signature-expiration-time)
1962         (epg-key-signature-user-id, epg-key-signature-class)
1963         (epg-key-signature-exportable-p): Define using cl-defstruct.
1964         (epg-make-sig-notation, epg-sig-notation-name)
1965         (epg-sig-notation-value, epg-sig-notation-human-readable)
1966         (epg-sig-notation-critical): Define using cl-defstruct.
1967         (epg-sig-notation-set-value): Remove.  Use setf instead.
1968         (epg-make-import-status, epg-import-status-fingerprint)
1969         (epg-import-status-reason, epg-import-status-new)
1970         (epg-import-status-user-id, epg-import-status-signature)
1971         (epg-import-status-sub-key, epg-import-status-secret): Define using
1972         cl-defstruct.
1973         (epg-make-import-result, epg-import-result-considered)
1974         (epg-import-result-no-user-id, epg-import-result-imported)
1975         (epg-import-result-imported-rsa, epg-import-result-unchanged)
1976         (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
1977         (epg-import-result-new-signatures, epg-import-result-new-revocations)
1978         (epg-import-result-secret-read, epg-import-result-secret-imported)
1979         (epg-import-result-secret-unchanged, epg-import-result-not-imported)
1980         (epg-import-result-imports): Define using cl-defstruct.
1982         * emacs-lisp/package.el: Require EPG during macroexpansion.
1983         (package--check-signature, package-import-keyring): Use setf instead of
1984         epg-context-set-home-directory.
1986 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1988         * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
1990 2014-10-23  Leo Liu  <sdl.web@gmail.com>
1992         * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
1993         (cfengine3-create-imenu-index): Use it and use ` ' for separation.
1994         (cfengine3-current-defun): New function.
1995         (cfengine3-mode): Set add-log-current-defun-function.
1997 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1999         * select.el: Use lexical-binding.
2000         (gui-set-selection): Provide an implementation for non-GUI frames
2001         (bug#18791).
2002         * term/x-win.el: Use lexical-binding.
2003         (x-clipboard-yank): Fix up missed renamings.
2004         * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
2005         (w32--set-selection): Fix up var names.
2006         * term/pc-win.el: Use lexical-binding.
2007         (w16-selection-exists-p): Silence compiler warning.
2008         (w16-selection-owner-p): Fix up missed renamings.
2010         * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
2012         * frame.el (frame-notice-user-settings): Fix excessive quoting.
2014 2014-10-22  Tassilo Horn  <tsdh@gnu.org>
2016         * doc-view.el (doc-view-open-text): View the document's plain text
2017         in the current buffer instead of a new one.
2018         (doc-view-toggle-display): Handle the case where the current
2019         buffer contains the plain text contents of the document.
2020         (doc-view-initiate-display): Don't switch to fallback mode if the
2021         user wants to view the doc's plain text.
2022         (doc-view-set-doc-type): Use assoc-string instead of
2023         assoc-ignore-case.
2025 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2027         * subr.el (read-key): Fix clicks on the mode-line.
2028         (set-transient-map): Return exit function.
2030         * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
2031         (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
2032         (mouse-yank-secondary): Use gui-get-selection.
2033         (mouse--down-1-maybe-follows-link): Use read-key.
2035         * xt-mouse.el: Add `event-kind' property on the fly from
2036         xterm-mouse-translate-1 rather than statically at the outset.
2038 2014-10-21  Daniel Colascione  <dancol@dancol.org>
2040         * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
2041         change window configuration when we turn it off.
2043 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2045         Get rid of backend-dependent selection-handling functions for kill/yank
2046         and make it generic instead by relying on the lower-level selection
2047         management functions.
2049         * select.el (select-enable-clipboard): Rename from
2050         gui-select-enable-clipboard.
2051         (select-enable-primary): Move from x-win.el and rename from
2052         x-select-enable-primary.
2053         (gui-last-selected-text): Remove.
2054         (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
2055         New vars.
2056         (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
2057         (gui-select-text-alist, gui-selection-value-alist): Remove.
2058         (x-select-request-type): Move from x-win.el.
2059         (gui--selection-value-internal): New function, taken from x-win's
2060         x-selection-value-internal.
2061         (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
2062         (gui-set-selection-alist): Rename from gui-own-selection-alist and
2063         extend it to handle a nil value as a "disown" request.
2064         (gui-disown-selection-alist): Remove.
2065         (xselect-convert-to-delete): Adjust accordingly.
2066         (gui-set-selection): Simplify accordingly as well.  Use dotimes.
2068         * term/x-win.el (x-last-selected-text-primary)
2069         (x-select-enable-primary): Remove (moved to select.el).
2070         (x-select-request-type): Move to select.el.
2071         (x-selection-value-internal, x--selection-value): Remove functions.
2072         (gui-selection-value, gui-select-text): Remove moethods.
2073         (gui-set-selection): Merge own and disown methods.
2075         * term/w32-win.el (w32--select-text, w32--get-selection-value):
2076         Delete function (move functionality into w32--set-selection and
2077         w32--get-selection).
2078         (gui-select-text, gui-selection-value): Don't define methods.
2079         (w32--set-selection, w32--get-selection, w32--selection-owner-p):
2080         New functions.
2081         (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
2082         Use them.
2083         (gui-selection-exists-p): Adjust to new name of C primitive.
2085         * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
2086         test of gui-select-enable-clipboard, to make it usable as
2087         a gui-get-selection method.
2088         (gui-selection-exists-p): Adjust to new name of C primitive.
2089         (gui-set-selection): Merge own and disown methods.
2090         (gui-select-text, gui-selection-value): Delete methods.
2091         (w16--select-text): Delete function.
2093         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
2094         (ns-selection-value): Remove functions.
2095         (gui-select-text, gui-selection-value): Don't define method any more.
2096         (gui-set-selection): Merge the old own and disown methods.
2097         (gui-selection-exists-p, gui-get-selection): Adjust to new name of
2098         underlying C primitive.
2100         * startup.el (command-line): Adjust now that `gui-method' expects nil
2101         for ttys.
2103         * frame.el (gui-method): Use window-system rather than framep.
2104         (gui-method-declare): The tty case is now nil rather than t.
2105         (make-frame): Adjust accordingly.
2107 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2109         * net/newst-reader.el (newsticker--image-read): Simplify.
2110         (newsticker--icon-read): Use dolist and fix free var error.
2112         * imenu.el (imenu--menubar-keymap): New var.
2113         (imenu-add-to-menubar): Set it to remember the keymap we used.
2114         (imenu-update-menubar): Use it instead of asking lookup-key.
2116         * obsolete/cc-compat.el: Make obsolete (bug#18561).
2118         * epg-config.el (epg-gpg-program): Don't use absolute names by default.
2120         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
2121         case (bug#18767).
2123 2014-10-21  Glenn Morris  <rgm@gnu.org>
2125         * Merge in all changes up to version 24.4 release.
2127 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2129         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
2130         case (bug#18767).
2132 2014-10-20  Glenn Morris  <rgm@gnu.org>
2134         * Merge in all changes up to 24.4 release.
2136 2014-10-20  Ulf Jasper  <ulf.jasper@web.de>
2138         * net/newst-backend.el
2139         (newsticker--image-download-by-url-callback): Make this function
2140         actually work: Check status properly, then save image.
2142 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2144         * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
2145         `this-event'.
2146         (mouse-drag-line): Unless there's no actual mouse, use the event's
2147         position info.
2149 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2151         * textmodes/css-mode.el (scss-mode): New major-mode.
2152         (css-mode-syntax-table): Use d style comment, to ease the scss case.
2153         (css-ident-re): Allow things like @-moz-keyframes.
2154         (scss--hash-re): New const.
2155         (css--font-lock-keywords): New function, extracted from
2156         css-font-lock-keywords.
2158 2014-10-19  Ulf Jasper  <ulf.jasper@web.de>
2160         * net/newst-backend.el: Require url-parse.
2161         (newsticker--get-news-by-wget): Store feed name as process property.
2162         (newsticker--sentinel): Read feed name from process property.
2163         (newsticker--sentinel-work): Rename argument name to feed-name.
2164         Rename variable imageurl to image-url.  Pick icon url from Atom
2165         1.0 data.  Launch download of feed icon.
2166         (newsticker--get-icon-url-atom-1.0): New.
2167         (newsticker--unxml)
2168         (newsticker--unxml-node)
2169         (newsticker--unxml-attribute): Documentation.
2170         (newsticker--icons-dir): New.
2171         (newsticker--image-get): New arguments FILENAME and DIRECTORY.
2172         Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
2173         (newsticker--image-download-by-wget): New.  Use process properties
2174         for storing informations.
2175         (newsticker--image-sentinel): Read informations from process properties.
2176         (newsticker--image-save)
2177         (newsticker--image-remove)
2178         (newsticker--image-download-by-url)
2179         (newsticker--image-download-by-url-callback): New.
2180         (newsticker-opml-export): Handle url list entries containing a
2181         function instead of an url string.
2183         * net/newst-reader.el (newsticker-html-renderer): Whitespace.
2184         (newsticker--print-extra-elements)
2185         (newsticker--do-print-extra-element):
2186         Documentation (newsticker--image-read): Optionally limit image height.
2187         Use imagemagick if possible.
2188         (newsticker--icon-read): New.
2190         * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
2191         (newsticker--treeview-tree-expand): Use feed icons in treeview.
2192         (newsticker--tree-widget-icon-create): New.  Set the tree widget icon.
2193         (newsticker--tree-widget-leaf-icon): Use feed icon.
2195 2014-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2197         * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
2198         Use help-function-arglist instead.
2200         * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
2201         (eieio--with-scoped-class): Use `declare'.
2202         (eieio-defclass): Remove compatibility code.
2203         (no-method-definition, no-next-method, inconsistent-class-hierarchy)
2204         (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
2206 2014-10-18  Jan Djärv  <jan.h.d@swipnet.se>
2208         * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
2210         * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
2211         replacements to stock names before stock names in a list.
2212         Cdr may be a list, each name is tried in turn until one is found.
2214 2014-10-18  Alan Mackenzie  <acm@muc.de>
2216         Check that a "macro" found near point-min isn't a ## operator.
2217         Fixes bug #18749.
2218         * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
2219         (c-beginning-of-macro): Use the above new function.
2221 2014-10-18  Teodor Zlatanov  <tzz@lifelogs.com>
2223         * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
2224         correct data to `gnutls-boot' (Bug#18664).
2225         Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
2227 2014-10-18  Michal Nazarewicz  <mina86@mina86.com>
2229         * whitespace.el (whitespace-style, whitespace-big-indent)
2230         (whitespace-big-indent-regexp, whitespace-style-value-list)
2231         (whitespace-toggle-option-alist, whitespace-interactive-char)
2232         (whitespace-toggle-options)
2233         (global-whitespace-toggle-options, whitespace-help-text)
2234         (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
2235         style to `whitespace-mode' to indicate that the line indentation
2236         is too deep.  By default, 32 SPACEs or four TABs are considered
2237         too many but `whitespace-big-indent-regexp' can be configured.
2239 2014-10-17  Michal Nazarewicz  <mina86@mina86.com>
2241         * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
2242         tildify-mode-alist.
2244 2014-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2246         * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
2247         (defclass, defgeneric, defmethod): Add doc-string position.
2248         (with-slots): Require cl-lib.
2250         * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
2251         (list-of): New type.
2252         (eieio--typep): Remove.
2253         (eieio-perform-slot-validation): Use cl-typep instead.
2255         * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
2257         * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
2259 2014-10-16  Alan Mackenzie  <acm@muc.de>
2261         Trigger showing when point is in the "periphery" of a line or just
2262         inside a paren.
2263         * paren.el (show-paren-style, show-paren-delay)
2264         (show-paren-priority, show-paren-ring-bell-on-mismatch):
2265         Remove superfluous :group specifications.
2266         (show-paren-when-point-inside-paren)
2267         (show-paren-when-point-in-periphery): New customizable variables.
2268         (show-paren-highlight-openparen): Make into a defcustom.
2269         (show-paren--unescaped-p, show-paren--categorize-paren)
2270         (show-paren--locate-near-paren): New defuns.
2271         (show-paren--default): Refaactor and trigger on more paren
2272         positions.
2273         (show-paren-function): Small consequential changes.
2275 2014-10-16  Tom Tromey  <tom@tromey.com>
2277         * files.el (auto-mode-alist): Use javascript-mode for .jsm
2278         (bug #18719).
2280 2014-10-16  Eli Zaretskii  <eliz@gnu.org>
2282         * international/characters.el (bracket-type): Force pre-loading of
2283         uni-brackets.el.
2285 2014-10-16  Alan Mackenzie  <acm@muc.de>
2287         * cus-edit.el (custom-command-apply): Specify the return value in
2288         the doc string.
2289         (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
2290         custom-command-apply has returned non-nil.
2292 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2294         * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
2295         Remove incorrect handling of eldoc-print-after-edit.
2296         (eldoc-message-commands, eldoc-last-data): Use defvar.
2297         * loadup.el (emacs-lisp/eldoc): Load it.
2299         * progmodes/m4-mode.el (m4-syntax-propertize): New var.
2300         (m4-mode): Use it.
2301         (m4--quoted-p): New function.
2302         (m4-font-lock-keywords): Don't handle #..\n comments any more.
2303         (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
2304         for most special characters.
2306         * progmodes/compile.el (compilation--previous-directory): Simplify.
2307         (compilation-next-error): Ensure the parse before we look at
2308         compilation-message property.
2310 2014-10-15  Eli Zaretskii  <eliz@gnu.org>
2312         * simple.el (what-cursor-position):
2313         * descr-text.el (describe-char): Update to support the new bidi
2314         characters.
2316         * emacs-lisp/tabulated-list.el (tabulated-list-mode):
2317         Force bidi-paragraph-direction to 'left-to-right'.  This fixes
2318         buffer-menu display when the first buffer happens to start with
2319         R2L letter.
2321 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2323         * progmodes/elisp-mode.el (elisp--local-variables-1):
2324         Handle quoted expressions (bug#18688).
2326 2014-10-14  Jérémy Compostella  <jeremy.compostella@intel.com>
2327             Michael Albinus  <michael.albinus@gmx.de>
2329         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2330         Reduce the amount of set environment variable commands.
2332 2014-10-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2334         Fix import completion.  (Bug#18582)
2335         * progmodes/python.el (python-shell-completion-get-completions):
2336         Fix import case regexp.
2338 2014-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2340         * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
2341         (bug#18622).  Reported by Arni Magnusson <arnima@hafro.is>.
2342         * progmodes/prolog.el (prolog-electric--underscore): Same.
2344 2014-10-12  Michael Albinus  <michael.albinus@gmx.de>
2346         * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
2348 2014-10-11  Jan Djärv  <jan.h.d@swipnet.se>
2350         * cus-start.el (all): Add missing ns and boolean to
2351         ns-use-fullscreen-animation.
2353 2014-10-11  Leo Liu  <sdl.web@gmail.com>
2355         * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
2356         Use strings.
2357         (cfengine3-create-imenu-index): New function.
2358         (cfengine3-mode): Use it for `imenu-create-index-function'.
2359         (cfengine-auto-mode): Improve and prefer cfengine3-mode when
2360         buffer is empty.
2362 2014-10-11  Jan Djärv  <jan.h.d@swipnet.se>
2364         * cus-start.el (all): Add ns-use-fullscreen-animation.
2366 2014-10-11  Glenn Morris  <rgm@gnu.org>
2368         * calendar/diary-lib.el (diary-display-function):
2369         Drop support for deprecated nil and list forms.
2370         (diary-list-entries): Update for the above.
2371         * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
2373 2014-10-10  Leo Liu  <sdl.web@gmail.com>
2375         * window.el (temp-buffer-window-show): Make BUFFER a required arg.
2376         (Bug#18656)
2378 2014-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2380         * select.el (gui-selection-exists-p-alist): New method.
2381         * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
2382         * simple.el (deactivate-mark): Use it.
2383         * term/x-win.el (gui-selection-exists-p):
2384         * term/w32-win.el (gui-selection-exists-p):
2385         * term/pc-win.el (gui-selection-exists-p):
2386         * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
2388 2014-10-10  Glenn Morris  <rgm@gnu.org>
2390         * info.el (Info-fontify-maximum-menu-size): Bump to 400k.  (Bug#16227)
2391         Fix :type.  Allow t to mean no limit.
2392         (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
2394 2014-10-09  Glenn Morris  <rgm@gnu.org>
2396         * frame.el (display-monitor-attributes-list): Doc tweaks.
2398 2014-10-09  Eli Zaretskii  <eliz@gnu.org>
2400         * faces.el (display-grayscale-p): Mention in the doc string that
2401         the argument can be either a display name or a frame.
2403         * frame.el (display-pixel-height, display-pixel-width)
2404         (display-mm-height, display-mm-width, display-backing-store)
2405         (display-save-under, display-planes, display-color-cells)
2406         (display-visual-class, display-monitor-attributes-list)
2407         (display-screens): Mention in the doc string that the argument can
2408         be either a display name or a frame.  Improve the docs of the
2409         monitor attributes.  (Bug#18636)
2411 2014-10-09  Martin Rudalics  <rudalics@gmx.at>
2413         * term.el (term-window-width): Subtract 1 from the width when
2414         any fringe has zero width, not just the right fringe.  (Bug#18601)
2416 2014-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2418         * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
2420 2014-10-08  Leo Liu  <sdl.web@gmail.com>
2422         * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
2424 2014-10-08  Glenn Morris  <rgm@gnu.org>
2426         * calendar/cal-x.el (calendar-dedicate-diary):
2427         Drop support for recently deleted aliases.
2429 2014-10-08  Leo Liu  <sdl.web@gmail.com>
2431         * progmodes/cfengine.el (cfengine3-make-syntax-cache):
2432         Always return a syntax.  Replace call-process-shell-command with
2433         process-file.  Ensure cfengine-mode-syntax-functions-regex is
2434         always set.  Ensure cache when cfengine-cf-promises fails.
2435         (Bug#18620)
2437 2014-10-07  Glenn Morris  <rgm@gnu.org>
2439         * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
2441 2014-10-07  Wilson Snyder  <wsnyder@wsnyder.org>
2443         Sync with upstream verilog-mode revision c075a492.
2444         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
2445         (verilog-menu): Add AUTOINSERTLAST.
2446         (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
2447         is nil, fix indenting initial/final to match always statements, bug825.
2448         Reported by Tim Clapp.
2449         (verilog-extended-complete-re): Fix indentation of DPI-C imports,
2450         bug557.  Reported by ZeDong Mao and Jason Forkey.
2451         (verilog-read-decls): Fix parsing typed interfaces.
2452         Fix AUTOINOUTMODPORT missing types.  Reported by Stephan Bourduas.
2453         (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
2454         (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
2455         Reported by Pierre-David Pfister.
2456         (verilog-auto-insert-lisp): Doc fix.
2457         (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
2458         allow post-AUTO user fixups, bug826.  Reported by Dennis Muhlestein.
2459         (verilog-sk-ovm-class, verilog-sk-uvm-object)
2460         (verilog-sk-uvm-component): Fix missing string keyword in class
2461         skeletons, bug824.  Reported by eldad faruhi.
2463 2014-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2465         * term/w32-win.el: Move all code from 32-common-fns.el here.
2466         (gui-select-text, gui-selection-value): Use w32 handlers in the w32
2467         console as well (bug#18629).
2468         * w32-common-fns.el: Remove.
2469         * loadup.el: Don't load w32-common-fns.el.
2470         * w32-fns.elc: Don't require w32-common-fns.
2472         * icomplete.el: Move Iswitchb autoload here.  Much simpler.
2473         * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
2474         Remove redundant obsolescence thingy.
2475         * loadup.el: Don't load obsolete/loaddefs.el.
2476         * Makefile.in (obsolete-autoloads): Remove.
2477         (AUTOGENEL): Remove obsolete/loaddefs.el.
2479 2014-10-06  Glenn Morris  <rgm@gnu.org>
2481         * Makefile.in (obsolete-autoloads): Write to a separate file,
2482         to workaround autoloads bug.  (Bug#17407)
2483         (AUTOGENEL): Add obsolete/loaddefs.el.
2484         * loadup.el: Load obsolete/loaddefs.el if present.
2485         * subr.el (do-after-load-evaluation):
2486         Don't warn about obsolete/loaddefs.el.
2488         * menu-bar.el (menu-bar-games-menu): Remove landmark.
2489         It has zero relationship to a game.
2491 2014-10-06  Leo Liu  <sdl.web@gmail.com>
2493         * imenu.el (imenu): Re-write for clarity.
2495 2014-10-06  Glenn Morris  <rgm@gnu.org>
2497         Remove calendar code obsolete since at least version 23.1.
2498         * calendar/cal-bahai.el (calendar-absolute-from-bahai)
2499         (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
2500         (calendar-goto-bahai-date, list-bahai-diary-entries)
2501         (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
2502         (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
2503         (insert-yearly-bahai-diary-entry):
2504         * calendar/cal-china.el (chinese-calendar-time-zone)
2505         (chinese-calendar-location-name)
2506         (chinese-calendar-daylight-time-offset)
2507         (chinese-calendar-standard-time-zone-name)
2508         (chinese-calendar-daylight-time-zone-name)
2509         (chinese-calendar-daylight-savings-starts)
2510         (chinese-calendar-daylight-savings-ends)
2511         (chinese-calendar-daylight-savings-starts-time)
2512         (chinese-calendar-daylight-savings-ends-time)
2513         (chinese-calendar-celestial-stem)
2514         (chinese-calendar-terrestrial-branch)
2515         (calendar-absolute-from-chinese, calendar-print-chinese-date)
2516         (calendar-goto-chinese-date):
2517         * calendar/cal-coptic.el (calendar-absolute-from-coptic)
2518         (calendar-print-coptic-date, coptic-prompt-for-date)
2519         (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
2520         (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
2521         * calendar/cal-french.el (calendar-absolute-from-french)
2522         (calendar-print-french-date, calendar-goto-french-date):
2523         * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
2524         (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
2525         (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
2526         (holiday-rosh-hashanah-etc, holiday-hanukkah)
2527         (holiday-passover-etc, holiday-tisha-b-av-etc)
2528         (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
2529         (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
2530         (insert-monthly-hebrew-diary-entry)
2531         (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
2532         (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
2533         (diary-sabbath-candles):
2534         * calendar/cal-islam.el (calendar-absolute-from-islamic)
2535         (calendar-print-islamic-date, calendar-goto-islamic-date)
2536         (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
2537         (mark-islamic-diary-entries, insert-islamic-diary-entry)
2538         (insert-monthly-islamic-diary-entry)
2539         (insert-yearly-islamic-diary-entry):
2540         * calendar/cal-iso.el (calendar-absolute-from-iso)
2541         (calendar-print-iso-date, calendar-iso-read-args)
2542         (calendar-goto-iso-date, calendar-goto-iso-week):
2543         * calendar/cal-julian.el (calendar-absolute-from-julian)
2544         (calendar-print-julian-date, calendar-goto-julian-date)
2545         (calendar-absolute-from-astro, calendar-print-astro-day-number)
2546         (calendar-goto-astro-day-number):
2547         * calendar/cal-mayan.el (calendar-print-mayan-date)
2548         (calendar-next-haab-date, calendar-previous-haab-date)
2549         (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
2550         (calendar-next-calendar-round-date)
2551         (calendar-previous-calendar-round-date)
2552         (calendar-absolute-from-mayan-long-count)
2553         (calendar-goto-mayan-long-count-date):
2554         * calendar/cal-move.el (scroll-calendar-left)
2555         (scroll-calendar-right, scroll-calendar-left-three-months)
2556         (scroll-calendar-right-three-months):
2557         * calendar/cal-persia.el (calendar-absolute-from-persian)
2558         (calendar-print-persian-date, persian-prompt-for-date)
2559         (calendar-goto-persian-date):
2560         * calendar/cal-x.el (calendar-after-frame-setup-hooks):
2561         * calendar/calendar.el (view-diary-entries-initially)
2562         (mark-diary-entries-in-calendar, calendar-today-face)
2563         (diary-face, holiday-face, view-calendar-holidays-initially)
2564         (mark-holidays-in-calendar, initial-calendar-window-hook)
2565         (today-visible-calendar-hook, today-invisible-calendar-hook)
2566         (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
2567         (bahai-diary-entry-symbol, american-date-diary-pattern)
2568         (european-date-diary-pattern, european-calendar-display-form)
2569         (american-calendar-display-form, holidays-in-diary-buffer)
2570         (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
2571         (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
2572         (fancy-diary-buffer, increment-calendar-month)
2573         (extract-calendar-month, extract-calendar-day)
2574         (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
2575         (mark-visible-calendar-date, calendar-version):
2576         * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
2577         (diary-display-hook, list-diary-entries-hook)
2578         (mark-diary-entries-hook, nongregorian-diary-listing-hook)
2579         (nongregorian-diary-marking-hook, print-diary-entries-hook)
2580         (abbreviated-calendar-year, number-of-diary-entries)
2581         (view-other-diary-entries, add-to-diary-list)
2582         (include-other-diary-files, simple-diary-display)
2583         (fancy-diary-display, print-diary-entries, mark-diary-entries)
2584         (mark-sexp-diary-entries, mark-included-diary-files)
2585         (mark-calendar-days-named, mark-calendar-month)
2586         (mark-calendar-date-pattern, sort-diary-entries)
2587         (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
2588         (insert-weekly-diary-entry, insert-monthly-diary-entry)
2589         (insert-yearly-diary-entry, insert-anniversary-diary-entry)
2590         (insert-block-diary-entry, insert-cyclic-diary-entry)
2591         (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
2592         * calendar/holidays.el (general-holidays, oriental-holidays)
2593         (local-holidays, other-holidays, hebrew-holidays)
2594         (christian-holidays, islamic-holidays, bahai-holidays)
2595         (solar-holidays, list-calendar-holidays)
2596         (check-calendar-holidays, mark-calendar-holidays)
2597         (filter-visible-calendar-holidays):
2598         * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
2599         (diary-phases-of-moon): Remove obsolete aliases.
2600         * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
2601         * calendar/cal-x.el (calendar-one-frame-setup)
2602         (calendar-only-one-frame-setup, calendar-two-frame-setup):
2603         Remove obsolete functions.
2604         (cal-x-load-hook): Remove obsolete hook.
2605         * calendar/calendar.el (european-calendar-style):
2606         Remove obsolete variable.
2607         (calendar-date-style): No longer consult european-calendar-style.
2608         * calendar/calendar.el (european-calendar, american-calendar):
2609         Remove obsolete commands.
2610         * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
2611         * calendar/diary-lib.el (diary-face): Remove obsolete variable.
2612         (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
2613         Use the face `diary' instead of the variable `diary-face'.
2614         * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
2615         (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
2616         * calendar/icalendar.el (icalendar--date-style): Remove function.
2617         Replace all uses with calendar-date-style.
2618         * textmodes/remember.el (calendar-date-style): Declare.
2619         (remember-diary-convert-entry):
2620         No longer consult european-calendar-style.
2622 2014-10-05  Leo Liu  <sdl.web@gmail.com>
2624         * imenu.el (imenu-default-goto-function): Fix typo.
2626 2014-10-04  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2628         * net/ntlm.el (ntlm-build-auth-request):
2629         Add NTLM2 Session support.  (Bug#15603)
2631 2014-10-04  Glenn Morris  <rgm@gnu.org>
2633         * apropos.el (apropos-symbols-internal):
2634         Avoid error with non-symbol properties.  (Bug#18337#16)
2636         * startup.el (command-line):
2637         Handle altered user-emacs-directory in load-path warning.  (Bug#18512)
2639 2014-10-04  Martin Rudalics  <rudalics@gmx.at>
2641         * window.el (window-full-height-p): Make it behave correctly for
2642         minibuffer window.
2643         (window-current-scroll-bars): Fix code.
2644         (fit-frame-to-buffer): Use window-scroll-bar-height instead of
2645         window-scroll-bars.
2646         * frame.el (frame-current-scroll-bars): Fix doc-string.
2647         * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
2649 2014-10-04  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
2651         * files.el (auto-mode-alist): Use sh-mode for .zsh files.  (Bug#18488)
2653 2014-10-04  Glenn Morris  <rgm@gnu.org>
2655         * frame.el (frame-monitor-attributes)
2656         (display-monitor-attributes-list): Doc fixes.
2658 2014-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2660         Merge trivially safe differences from standalone CC-mode.
2661         * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
2662         just to then pass it to `symbol-value'.
2663         (prog-mode): Provide fallback definition, if needed.
2664         * progmodes/cc-langs.el: Always load `cl'.  Don't load `cl-lib'.
2665         Remove "cl-" prefix accordingly.
2666         * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
2667         characterp depending on the type of characters.
2668         (c-font-lock-enum-tail): Remove unused var `start'.
2669         * progmodes/cc-engine.el: Load CL at compile-time.
2670         (c-declare-lang-variables): Use mapcan.
2671         (c-append-to-state-cache): Remove unused var `ce+1'.
2672         (c-parse-state-state): Make buffer-local.
2673         (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
2674         (c-just-after-func-arglist-p): Remove unused var `end'.
2675         * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
2676         (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
2677         (c-make-keywords-re): Use delete-dups.
2678         (c-get-current-file): Avoid file-name-base.
2679         * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
2680         `close-paren-inserted'.
2681         * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
2683         * progmodes/python.el: Avoid building unneeded markers.
2684         (python-font-lock-keywords, python-indent-dedent-line)
2685         (python-fill-paren, python-shell-completion-complete-or-indent):
2686         Prefer point over point-marker.
2687         (inferior-python-mode): Remove redundant completion settings.
2689 2014-10-03  Dmitry Gutov  <dgutov@yandex.ru>
2691         * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
2692         (vc-svn-ignore): Use it.  (Bug#18619)
2694 2014-10-03  Martin Rudalics  <rudalics@gmx.at>
2696         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2697         In doc-string mention need to set `frame-resize-pixelwise'.
2699 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2701         * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
2702         similarly to Rogers's 2010-06-16 change for the remote case
2703         (bug#18605).
2705 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2707         New gui-selection-value consolidating x-selection-value.
2708         * select.el (gui-selection-value-alist): New method.
2709         (gui-selection-value): New function.
2710         (x-selection-value): Make it an obsolete alias.
2711         * simple.el (interprogram-paste-function): Default to
2712         gui-selection-value.
2713         * w32-common-fns.el (w32-get-selection-value): Simplify.
2714         (x-selection-value): Remove alias.
2715         (interprogram-paste-function): Don't set.
2716         (gui-selection-value): Define for w32.
2717         * term/x-win.el (gui-selection-value): Define for x.
2718         (x--selection-value): Rename from x--selection-value.
2719         (interprogram-paste-function): Don't set.
2720         * term/pc-win.el (w16-get-selection-value): Simplify.
2721         (msdos-initialize-window-system): Don't set
2722         interprogram-paste-function.
2723         (gui-selection-value): Define for pc.
2724         * term/ns-win.el (x-selection-value): Remove.
2725         (gui-selection-value): Define for ns, instead.
2726         * term/common-win.el (x-setup-function-keys): Don't set
2727         interprogram-paste-function.
2728         * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
2729         Use gui-selection-value.
2731 2014-10-02  David Raynes  <rayners@gmail.com>  (tiny change)
2733         * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
2735 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2737         * obsolete/lucid.el (read-number): Remove, redundant.
2738         * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
2739         Remove, broken.
2741 2014-10-02  Glenn Morris  <rgm@gnu.org>
2743         * emacs-lisp/package.el (package-import-keyring):
2744         Create gnupg directory private.  (Bug#17625#155)
2746 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2748         * progmodes/python.el (python-shell-completion-get-completions):
2749         Use python-shell--prompt-calculated-input-regexp from the
2750         process buffer (bug#18582).
2751         Don't assume that `line' comes from the process buffer.
2753 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2755         * frame.el: Use lexical-binding (bug#18598).
2756         (make-frame): Use t rather than nil for tty's window-system.
2757         * startup.el (command-line): Use gui-method.
2759         Consolidate management/ownership of selections.
2760         * select.el (gui-get-selection-alist): New method.
2761         (gui-get-selection): Use it.  Rename from x-get-selection.
2762         (x-get-selection): Define as obsolete alias.
2763         (x-get-clipboard): Mark obsolete.
2764         (gui-get-primary-selection): New function.
2765         (x-get-selection-value): Mark obsolete.
2766         (gui-own-selection-alist, gui-disown-selection-alist)
2767         (gui-selection-owner-p-alist): New methods.
2768         (gui-set-selection): Use them.  Rename from x-set-selection.
2769         (x-set-selection): Define as obsolete alias.
2770         (gui--valid-simple-selection-p): Rename from
2771         x-valid-simple-selection-p.
2772         * w32-common-fns.el (gui-own-selection, gui-disown-selection)
2773         (gui-selection-owner-p, gui-get-selection): Define for w32.
2774         (w32-get-selection-value): Rename from x-get-selection-value.
2775         Use the new gui-last-selected-text.
2776         * term/x-win.el (x-get-selection-value): Remove.
2777         (x-clipboard-yank): Declare obsolete.
2778         (gui-own-selection, gui-disown-selection, gui-get-selection)
2779         (gui-selection-owner-p): Define for x.
2780         * term/w32-win.el (w32-win-suspend-error): Rename from
2781         x-win-suspend-error.
2782         * term/pc-win.el (w16-get-selection-value): Rename from
2783         x-get-selection-value.
2784         (w16-selection-owner-p): Rename from x-selection-owner-p.
2785         (gui-own-selection, gui-disown-selection, gui-get-selection)
2786         (gui-selection-owner-p): Define for pc.
2787         (w16--select-text): New function.
2788         * term/ns-win.el (gui-own-selection, gui-disown-selection)
2789         (gui-get-selection, gui-selection-owner-p): Define for ns.
2790         * term.el (term-mouse-paste):
2791         * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
2793 2014-10-02  H. Dieter Wilhelm  <dieter@duenenhof-wilhelm.de>
2795         * calc/calc-help.el (calc-describe-thing): Quote strings
2796         which could look like regexps.
2798 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2800         Consolidate x-select-text.
2801         * frame.el (gui-method, gui-method-define, gui-method-declare)
2802         (gui-call): New macros.
2803         (gui-method--name): New function.
2804         (frame-creation-function-alist): Use gui-method-declare.
2805         (make-frame): Use gui-method.
2806         * select.el (gui-select-enable-clipboard): Rename from
2807         x-select-enable-clipboard and move here.
2808         (x-select-enable-clipboard): Define as obsolete alias.
2809         (gui-last-selected-text): New var, to replace x-last-selected-text.
2810         (gui-select-text): New GUI method.
2811         (gui-select-text): New function.
2812         (x-select-text): Define as obsolete alias.
2813         * term/common-win.el (x-select-enable-clipboard, x-select-text):
2814         Move to select.el.
2815         * simple.el (interprogram-cut-function): Change default to
2816         x-select-text.
2817         (interprogram-paste-function): Change default to `ignore'.
2818         * w32-common-fns.el (interprogram-cut-function): Don't modify.
2819         * term/x-win.el (interprogram-cut-function): Don't modify.
2820         (gui-select-text): Add method for x.
2821         * term/w32-win.el (gui-select-text): Add method for w32.
2822         * term/pc-win.el (x-last-selected-text): Remove, use
2823         gui-last-selected-text instead.
2824         (msdos-initialize-window-system): Don't set interprogram-cut-function.
2825         (gui-select-text): Add method for pc.
2826         * term/ns-win.el (ns-last-selected-text): Remove, use
2827         gui-last-selected-text instead.
2828         (gui-select-text): Add method for ns.
2829         (x-setup-function-keys): Don't change interprogram-cut-function.
2830         * loadup.el ("startup"): Load after "frame".
2831         * subr.el (package--builtin-versions, package--description-file):
2832         Move from startup.el.
2833         * startup.el (package--builtin-versions, package--description-file):
2834         Move to subr.el.
2835         (handle-args-function-alist, window-system-initialization-alist):
2836         Use gui-method-declare.
2837         (command-line): Use gui-method.
2839 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2841         * subr.el (alist-get): New accessor.
2842         * emacs-lisp/gv.el (alist-get): Provide expander.
2843         * winner.el (winner-remember):
2844         * tempo.el (tempo-use-tag-list):
2845         * progmodes/gud.el (minor-mode-map-alist):
2846         * international/mule-cmds.el (define-char-code-property):
2847         * frameset.el (frameset-filter-params):
2848         * files.el (dir-locals-set-class-variables):
2849         * register.el (get-register, set-register):
2850         * calc/calc-yank.el (calc-set-register): Use it.
2851         * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
2852         * tooltip.el (tooltip-set-param): Mark as obsolete.
2853         (tooltip-show): Use alist-get instead.
2854         * ses.el (ses--alist-get): Remove.  Use alist-get instead.
2856 2014-10-01  Ulf Jasper  <ulf.jasper@web.de>
2858         * net/newst-backend.el: Remove Time-stamp.  Rename variable
2859         `newsticker--download-logos' to `newsticker-download-logos' and
2860         make it customizable.
2861         (newsticker--sentinel-work): Move xml-workarounds to function
2862         `newsticker--do-xml-workarounds', call unless libxml-parser is
2863         used.  Allow single quote in regexp for encoding.
2864         Use libxml-parser if available, else fall back to `xml-parse-region'.
2865         Take care of possibly missing namespace prefixes (like "RDF"
2866         instead of "rdf:RDF") when checking xml nodes and attributes (as
2867         libxml correctly removes the prefixes).  Always use Atom 1.0 as
2868         fallback feed type.  Rename `newsticker--download-logos' to
2869         `newsticker-download-logos'
2870         (newsticker--unxml, newsticker--unxml-node)
2871         (newsticker--unxml-attribute): New.
2872         (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
2873         HTML code has become part of the xml parse tree.
2874         (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
2875         of possibly missing namespace prefixes.
2876         (newsticker--parse-generic-items): Code formatting. Typo.
2877         (newsticker--images-dir): Add trailing slash.
2878         (newsticker--image-get): Fix error message.
2880         * net/newst-plainview.el: Remove Time-stamp.
2882         * net/newst-reader.el: Remove Time-stamp.
2883         (newsticker-download-logos): Rename variable
2884         `newsticker--download-logos' to `newsticker-download-logos' and
2885         make it customizable.
2886         (newsticker--print-extra-elements): Add optional parameter
2887         'htmlish for using html markup.  Amend list of ignored elements.
2888         (newsticker--do-print-extra-element): Add parameter 'htmlish for
2889         using html markup.
2891         * net/newst-ticker.el: Remove Time-stamp.
2893         * net/newst-treeview.el (newsticker--treeview-item-show): Use html
2894         for formatting extra elements.
2896         * net/newsticker.el:  Remove Time-stamp, Version.
2897         (newsticker-version): Make obsolete.
2899 2014-09-30  Leonardo Nobrega  <leonobr@gmail.com>  (tiny change)
2901         * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
2902         (bug#18462).
2904 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2906         * emacs-lisp/package.el (package-check-signature): Default to nil if
2907         GPG is not available.
2908         (package-refresh-contents): Don't mess with the keyring if we won't
2909         check the signatures anyway.
2911 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2913         * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
2914         (ses-center, ses-center-span): Use them.
2915         (ses-print-cell): Bind them while calling the printer.
2916         (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
2917         (ses-dorange): Revert last change.
2918         (ses-calculate-cell): Don't bind row&col dynamically while evaluating
2919         the formula.
2920         (ses-set-cell): Avoid `eval'.
2921         (ses--time-check): Rename it from ses-time-check and turn it into
2922         a macro.
2924         * ses.el (ses-setup): Don't assume modifying the iteration var of
2925         dotimes affects the iteration (bug#18191).
2927 2014-09-30  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2929         * ses.el (ses-calculate-cell): Bind row and col dynamically to
2930         their values with 'cl-progv'.
2931         (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
2932         their values with 'cl-progv', also use non-interned symbols for
2933         row, minrow, maxrow, mincol and maxcol.
2934         (maxrow maxcol): New defvar, to make the compiler happy.
2936 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2938         * minibuffer.el (completion-at-point): Emit warning for ill-behaved
2939         completion functions.
2941 2014-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2943         * ses.el (ses--letref): Quote value before it gets re-evaluated.
2945 2014-09-28  Thien-Thi Nguyen  <ttn@gnu.org>
2947         Font-lock `cl-flet*', too.
2948         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
2949         Add "flet*" to intermediate var `cl-lib-kw'.
2951 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2953         * epg-config.el (epg-gpg-program): Use the plain program names rather
2954         than their absolute file name.
2956         * subr.el (track-mouse): New macro.
2957         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2958         Remove track-mouse case.
2959         * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
2961 2014-09-27  Leo Liu  <sdl.web@gmail.com>
2963         * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
2965         * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
2967 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2969         * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
2970         Handle the case where `match' is :pcase--succeed or :pcase--fail
2971         (bug#18554).
2973         Introduce global-eldoc-mode.  Move Elisp-specific code to elisp-mode.el.
2974         * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
2975         (eldoc-schedule-timer): Obey it.
2976         (eldoc-documentation-function): Default to nil.
2977         (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
2978         (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
2979         (eldoc-highlight-function-argument, eldoc-get-var-docstring)
2980         (eldoc-last-data-store, eldoc-docstring-first-line)
2981         (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
2982         (eldoc-beginning-of-sexp, eldoc-current-symbol)
2983         (eldoc-function-argstring): Move to elisp-mode.el.
2984         (eldoc-symbol-function): Remove, unused.
2985         * progmodes/elisp-mode.el: New file.  Rename all "eldoc-*" to "elisp--*".
2986         (elisp-completion-at-point): Rename from lisp-completion-at-point.
2987         (elisp--preceding-sexp): Rename from preceding-sexp.
2988         * loadup.el: Load new file progmodes/elisp-mode.
2989         * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
2990         * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
2991         (lisp--local-variables-completion-table, lisp--expect-function-p)
2992         (lisp--form-quoted-p, lisp--company-doc-buffer)
2993         (lisp--company-doc-string, lisp--company-location)
2994         (lisp-completion-at-point): Move to elisp-mode.el.
2995         * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
2996         extracted from emacs-lisp-mode-syntax-table.
2997         (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
2998         elisp-mode.el.
2999         (lisp-imenu-generic-expression): Add comments to document what comes
3000         from which Lisp dialect.
3001         (emacs-lisp-mode-map, emacs-lisp-byte-compile)
3002         (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
3003         (emacs-lisp-mode, emacs-list-byte-code-comment-re)
3004         (emacs-lisp-byte-code-comment)
3005         (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
3006         (lisp-interaction-mode-map, lisp-interaction-mode)
3007         (eval-print-last-sexp, last-sexp-setup-props)
3008         (last-sexp-toggle-display, prin1-char, preceding-sexp)
3009         (eval-last-sexp-1, eval-last-sexp-print-value)
3010         (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
3011         (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
3013 2014-09-26  Paul Eggert  <eggert@cs.ucla.edu>
3015         * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
3016         Do not match file names that end in '/', as they cannot be 'grep'
3017         hits nowadays.  This prevents confusion when 'grep -r' reports a
3018         match in a file whose basename is ':12345:'.  Conversely, do not
3019         require exactly the same sequence of spaces and tabs after both
3020         colons, and allow spaces or tabs before the second colon, as per
3021         the POSIX spec for 'grep' output.
3023 2014-09-26  Leo Liu  <sdl.web@gmail.com>
3025         Add cl-parse-integer based on parse-integer (Bug#18557)
3026         * calendar/parse-time.el (parse-time-digits): Remove.
3027         (digit-char-p, parse-integer) Moved to cl-lib.el.
3028         (parse-time-tokenize, parse-time-rules, parse-time-string):
3029         Use cl-parse-integer.
3031         * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
3033         * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
3034         (cl-digit-char-p): New function.
3036 2014-09-25  Juri Linkov  <juri@jurta.org>
3038         * vc/add-log.el (change-log-next-buffer): Don't create an empty
3039         buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
3040         Return the current buffer if no files match the default pattern
3041         ChangeLog.[0-9].  Signal "end of multi" when file is nil. (Bug#18547)
3043 2014-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3045         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
3046         the global vc-handled-backends (bug#18535).
3048 2014-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3050         * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
3051         Suggested by <lompik@voila.fr>.
3053 2014-09-24  Ulf Jasper  <ulf.jasper@web.de>
3055         * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
3056         Rename from `newsticker--treeview-do-get-node'.
3057         (newsticker--treeview-get-node-by-id):
3058         Rename from `newsticker--treeview-get-node'.
3059         (newsticker--treeview-buffer-init)
3060         (newsticker--treeview-buffer-init): Disable buffer undo.
3061         (newsticker--treeview-unfold-node): Adapt to modified
3062         `newsticker--group-find-parent-group'.
3063         (newsticker--group-do-find-group):
3064         Rename from `newsticker--group-do-find-group-for-feed'.
3065         Now works for both, groups and feeds.
3066         (newsticker--group-find-parent-group):
3067         Rename from `newsticker--group-find-group-for-feed'.
3068         Now works for both, groups and feeds.
3069         (newsticker--group-do-get-parent-group)
3070         (newsticker--group-get-parent-group): Remove.
3071         (newsticker-group-add-group): Change interactive prompts.
3072         (newsticker-group-add-group): Finally jump to added group.
3073         (newsticker-group-delete-group): Finally jump to current feed.
3074         (newsticker--group-do-rename-group, newsticker-group-rename-group)
3075         (newsticker--get-group-names, newsticker--group-names): New.
3076         (newsticker-group-move-feed): Finally jump to moved feed.
3077         (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
3078         (newsticker-group-shift-group-down)
3079         (newsticker-group-shift-group-up, newsticker--group-shift): New.
3080         (newsticker-treeview-mode-map): New keybindings for new shift commands.
3082         * net/newst-backend.el (newsticker--item-list)
3083         (newsticker--item-position, newsticker--prev-message)
3084         (newsticker--scrollable-text): Move to newst-ticker.el.
3086         * net/newst-ticker.el (newsticker--item-list)
3087         (newsticker--item-position, newsticker--prev-message)
3088         (newsticker--scrollable-text): Move from newst-backend.el.
3090 2014-09-22  Kan-Ru Chen  <kanru@kanru.info>
3092         * window.el (fit-window-to-buffer): When counting buffer width,
3093         count the whole visible buffer.  Correctly convert the body-height
3094         to pixel size for window-text-pixel-size (Bug#18498).
3096 2014-09-22  Sam Steingold  <sds@gnu.org>
3098         * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
3099         (sql-execute): Use `special-mode'.
3101 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3103         Add pcase-defmacro, as well as `quote' and `app' patterns.
3104         * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
3105         * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
3106         (pcase--funcall, pcase--eval): New functions.
3107         (pcase--u1): Use them for guard, pred, let, and app.
3108         (\`): Use the new feature to generate better code for vector patterns.
3109         * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
3110         (pcase--upat): Remove.
3111         (pcase--macroexpand): Don't hardcode handling of `.
3112         (pcase--split-consp, pcase--split-vector): Remove.
3113         (pcase--split-equal): Disregard ` since it's expanded away.
3114         (pcase--split-member): Optimize for quote rather than for `.
3115         (pcase--split-pred): Optimize for quote rather than for `.
3116         (pcase--u1): Remove handling of ` (and of `or' and `and').
3117         Quote non-selfquoting values when passing them to `eq'.
3118         Drop `app's let-binding if the variable is not used.
3119         (pcase--q1): Remove.
3120         (`): Define as a pattern macro.
3121         * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
3122         (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
3123         (pcase--macroexpand): Handle self-quoting patterns here, expand them to
3124         quote patterns.
3125         (pcase--split-match): Don't hoist or/and here any more.
3126         (pcase--split-equal): Optimize quote patterns as well as ` patterns.
3127         (pcase--flip): New helper macro.
3128         (pcase--u1): Optimize the memq case directly.
3129         Don't handle neither self-quoting nor and/or patterns any more.
3130         * emacs-lisp/pcase.el (pcase-defmacro): New macro.
3131         (pcase--macroexpand): New function.
3132         (pcase--expand): Use it.
3133         * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
3134         New optimization functions.
3135         (pcase--u1): Add support for `quote' and `app'.
3136         (pcase): Document them in the docstring.
3138 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3140         Use lexical-bindin in Ibuffer.
3141         * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
3142         (ibuffer-compile-format): Simplify.
3143         (ibuffer-clear-summary-columns): Simplify.
3144         * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
3145         elem of dotimes when we don't refer to the iteration var from it.
3146         (ibuffer-toggle-sorting-mode): Avoid add-to-list.
3147         * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
3148         Silence byte-compiler.
3150 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3152         * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
3153         expression for a list.
3155         * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
3156         for functions with no arguments.
3158         * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
3159         (mpc-volume-refresh): Make sure the corresponding header-line is updated.
3161 2014-09-17  Tom Willemse  <tom@ryuslash.org>  (tiny change)
3163         * simple.el (clone-indirect-buffer): Mention the return value
3164         (bug#18478).
3166         * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
3167         Text mode in docstring (bug#18464).
3169 2014-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3171         * progmodes/perl-mode.el (perl-syntax-propertize-function):
3172         Accept underscores in identifiers after "sub" (bug#18502).
3174 2014-09-21  Tassilo Horn  <tsdh@gnu.org>
3176         * textmodes/reftex-sel.el (reftex-select-label-mode)
3177         (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
3178         from special-mode (instead of fundamental-mode) and propertize
3179         with font-lock-face instead of just face. (Bug#18496)
3181         * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
3183 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
3185         * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
3186         `table-etc' when `end' is non-nil.
3187         (lisp-completion-at-point): Move `end' back if it's after quote.
3188         If in comment or string, only complete when after backquote.
3189         (Bug#18265)
3190         (lisp-completion-at-point): Don't use
3191         `lisp--local-variables-completion-table' in the
3192         `lisp--form-quoted-p' case.
3194 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
3196         * emacs-lisp/lisp.el (lisp--expect-function-p)
3197         (lisp--form-quoted-p): New functions.
3198         (lisp-completion-at-point): Use them to see if we're completing a
3199         variable reference, a function name, or just any symbol.
3200         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
3202 2014-09-18  Ivan Kanis  <ivan@kanis.fr>
3204         * net/shr.el, net/eww.el: Don't override `shr-width', but
3205         introduce a new variable `shr-internal-width'.  This allows users
3206         to specify a width themselves.
3208 2014-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3210         * image-mode.el (image-toggle-display-image): If we have a
3211         `fit-width' or a `fit-height', don't limit the size of the image
3212         to the window size, because that doesn't preserve the aspect ratio.
3213         * image-mode.el: Move defvars earlier to avoid a byte-compilation
3214         warning.
3216 2014-09-17  Reuben Thomas  <rrt@sc3d.org>
3218         * progmodes/js.el: Add interpreter-mode-alist support for various
3219         JavaScript interpreters.
3221 2014-09-17  Paul Eggert  <eggert@cs.ucla.edu>
3223         Don't assume 'grep' supports GREP_OPTIONS.
3224         The GREP_OPTIONS environment variable is planned to be marked
3225         obsolescent in GNU grep, due to problems in its use, so stop
3226         relying on it.
3227         * progmodes/grep.el (grep-highlight-matches): Document this.
3228         (grep-process-setup): Do not set GREP_OPTIONS.
3229         (grep-compute-defaults): Use an explicit --color option if supported.
3231 2014-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3233         * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
3234         Don't add outdated key-shortcut cache (bug#18482).
3236 2014-09-15  Glenn Morris  <rgm@gnu.org>
3238         * image.el (image-multi-frame-p): Fix thinko - do not force
3239         a delay if none was specified.  (Bug#18334)
3241 2014-09-15  Kan-Ru Chen  <kanru@kanru.info>
3243         * window.el (fit-window-to-buffer): Doc fix.
3245 2014-09-15  Ivan Shmakov  <ivan@siamics.net>
3247         * desktop.el (desktop-create-buffer): Check that buffers are still live
3248         before burying them (bug#18373).
3250 2014-09-15  Glenn Morris  <rgm@gnu.org>
3252         * calendar/diary-lib.el (diary-list-entries):
3253         Restore 24.3 display behavior.  (Bug#18381)
3255 2014-09-15  Eli Zaretskii  <eliz@gnu.org>
3257         * mouse.el (mouse-drag-line): On text-mode frames, count the mode
3258         line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
3259         discrepancy between window-pixel-edges and mouse events, and
3260         avoids moving mode line up when the mouse click is on the modeline
3261         and no drag is attempted.
3263 2014-09-14  Daniel Colascione  <dancol@dancol.org>
3265         * register.el (insert-register): Change default interactive
3266         insertion mode.
3268 2014-09-14  Michael Albinus  <michael.albinus@gmx.de>
3270         * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
3271         Suppress debug messages.
3273         * net/tramp.el (tramp-file-name-handler):
3274         * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
3275         appropriate.
3277 2014-09-13  Christopher Schmidt  <ch@ristopher.com>
3279         * calendar/calendar.el (calendar-update-mode-line):
3280         Do not overwrite mode-line-format if calendar-mode-line-format is
3281         nil.  (Bug#18467)
3283 2014-09-13  Leo Liu  <sdl.web@gmail.com>
3285         * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
3286         (pcase--expand): Use it.
3287         (pcase-exhaustive): New macro.  (Bug#16567)
3289         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
3290         Add pcase-exhaustive.
3292 2014-09-13  Eli Zaretskii  <eliz@gnu.org>
3294         * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
3295         using the specified transfer-encoding, if any, or 'undecided'.
3296         (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
3297         broken at the window margin.
3299 2013-12-27  Ken Olum  <kdo@cosmos.phy.tufts.edu>
3301         Support rendering of HTML parts in Rmail (bug#4258).
3302         * mail/rmailmm.el (rmail-mime-process): Handle text/html
3303         separately from other text/ types.  Suppress tagline for
3304         multipart body.
3305         (rmail-mime-parse): Don't change visibility of tagline here.
3306         (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
3307         Handle text/html specially.
3308         (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
3309         (rmail-mime-insert-html, rmail-mime-render-html-shr)
3310         (rmail-mime-render-html-lynx): New functions.
3311         (rmail-mime-fix-inserted-faces): New function.
3312         (rmail-mime-process-multipart): Find the best part to show
3313         following rmail-mime-prefer-html if set.
3314         (rmail-mime-searching): New variable.
3315         (rmail-search-mime-message): Bind rmail-mime-searching to
3316         suppress rendering while searching.
3318 2014-09-12  Sam Steingold  <sds@gnu.org>
3320         * progmodes/sql.el (sql-product-alist): Add vertica.
3321         (sql-vertica-program, sql-vertica-options)
3322         (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
3323         New functions and variables to support Vertica.
3324         Inspired by code by Roman Scherer <roman@burningswell.com>.
3326 2014-09-11  Paul Eggert  <eggert@cs.ucla.edu>
3328         * ses.el (ses-file-format-extend-parameter-list): Rename from
3329         ses-file-format-extend-paramter-list, to correct a misspelling.
3330         All uses changed.
3332 2014-09-10  Alan Mackenzie  <acm@muc.de>
3334         CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
3335         gets loaded at run-time).
3336         * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
3337         c-lang-const to c-make-no-parens-syntax-table and correct the
3338         logic.
3339         (c-no-parens-syntax-table): Correct the logic of the
3340         c-lang-defvar.
3342 2014-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3344         CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
3345         plus misc cleanup.
3346         * progmodes/cc-mode.el (c-basic-common-init):
3347         Set open-paren-in-column-0-is-defun-start.
3348         (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
3349         Remove declarations, unused.
3350         (run-mode-hooks): Remove declaration.
3351         (font-lock-defaults): Use plain `defvar' to declare.
3352         (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
3353         * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
3354         (c-make-mode-syntax-table): Don't micro-optimize.
3355         (c-keywords, c-keyword-member-alist): Simplify.
3356         (c-kwds-lang-consts): Don't eval at compile-time.
3357         (c-primary-expr-regexp): Comment out unused vars.
3358         * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
3359         (c-font-byte-compile): New var.
3360         (c--compile): New function.  Use it instead of `byte-compile'.
3361         (c-cpp-matchers): Quote the value returned by
3362         `c-make-syntactic-matcher' in case it's not self-evaluating.
3363         (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
3364         parentheses instead (in case MATCHER happens to be a list).
3365         (c-font-lock-enum-tail): Remove unused var `start'.
3366         (c-font-lock-objc-methods): Silence byte-compiler warnings.
3367         * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
3368         test into an argument.
3369         * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
3370         (c-get-char-property): Don't use `eval' just to unquote a constant.
3371         (c-use-extents): Remove.  Use (featurep 'xemacs), compiled
3372         more efficiently.
3373         (c-put-char-property-fun): Don't call `byte-compile' by hand.
3374         (c-clear-char-property, c-clear-char-properties): Check that `property'
3375         is a quoted constant.
3376         (c-emacs-features): Remove `infodock', `syntax-properties', and
3377         `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
3378         'xemacs) instead).  Use `with-temp-buffer' and let-bind vars after
3379         changing buffer, so we don't have to setq them again afterwards.
3380         (c-lang-const): Remove redundant symbolp assertions.
3381         (c-find-assignment-for-mode): Use `or'.
3382         * Makefile.in (compile-one-process): Remove cc-mode dependency.
3384 2014-09-09  Sam Steingold  <sds@gnu.org>
3386         * progmodes/sql.el (sql-default-directory): Fix type annotation.
3388 2014-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3390         * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
3391         Change doc comments into docstrings.
3392         * Makefile.in: Remove cc-awk dependency.
3394 2014-09-08  Sam Steingold  <sds@gnu.org>
3396         * progmodes/sql.el (sql-send-line-and-next): New command,
3397         bound to C-c C-n.
3398         (sql-show-sqli-buffer): Display the buffer instead of its name and
3399         bind the command to C-c C-z.
3400         (sql-default-directory): New user option.
3401         (sql-product-interactive): Bind `default-directory' to it to
3402         enable remote connections using Tramp.
3403         (sql-set-sqli-buffer): Call `sql-product-interactive' when no
3404         suitable buffer is available.
3406 2014-09-08  Glenn Morris  <rgm@gnu.org>
3408         * calendar/calendar.el (calendar-basic-setup):
3409         Fix calendar-view-holidays-initially-flag and fancy display.
3410         * calendar/diary-lib.el (diary-live-p): Doc fix.
3412         * calendar/calendar.el (calendar-basic-setup):
3413         Avoid clobbering calendar with diary.  (Bug#18381)
3415 2014-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3417         * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
3419 2014-09-08  Lars Ljung  <lars@matholka.se>  (tiny change)
3421         * isearch.el (isearch-yank-word-or-char): Obey superword-mode
3422         as well (bug#18400).
3424 2014-09-08  Eli Zaretskii  <eliz@gnu.org>
3426         * subr.el (posn-actual-col-row): Doc fix.  (Bug#18385)
3428 2014-09-06  Leo Liu  <sdl.web@gmail.com>
3430         * emacs-lisp/pcase.el (pcase): Doc fix.
3431         (pcase--split-vector): New function.
3432         (pcase--q1): Support vector qpattern.  (Bug#18327)
3434 2014-09-05  Sam Steingold  <sds@gnu.org>
3436         * textmodes/tex-mode.el (tex-print-file-extension): New user
3437         option.
3438         (tex-print): Use it instead of the hard-coded string.
3440 2014-09-05  Michael Albinus  <michael.albinus@gmx.de>
3442         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3443         Expand `default-directory'.
3445 2014-09-05  Martin Rudalics  <rudalics@gmx.at>
3447         * scroll-bar.el (horizontal-scroll-bars-available-p):
3448         New function.
3449         (horizontal-scroll-bar-mode): Rewrite using
3450         horizontal-scroll-bars-available-p.
3451         * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
3452         horizontal-scroll-bars-available-p.
3454 2014-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3456         * subr.el (call-process-shell-command, process-file-shell-command):
3457         Make the `args' obsolete (bug#18409).
3458         (start-process-shell-command, start-file-process-shell-command):
3459         Use `declare'.
3461 2014-09-05  Jay Belanger  <jay.p.belanger@gmail.com>
3463         * calc/calc-forms.el (math-normalize-hms): Do a better check for
3464         "negative" hms forms.
3466 2014-09-04  Rasmus Pank Roulund  <emacs@pank.eu>
3468         * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
3469         returns nil (bug#18391).
3471 2014-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3473         * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
3474         terminating paren (bug#18352).
3475         (eldoc-last-data-store): Return cached data.
3476         (eldoc-get-var-docstring): Avoid setq.
3477         (eldoc-get-fnsym-args-string): Clarify data flow.
3479 2014-09-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3481         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
3482         case where we're currently providing part of the &rest arg after some
3483         &key args, as in define-ibuffer-op (bug#18048).
3485 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3487         * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
3488         buffer-local setting of which-func-mode.
3489         (which-func-mode): Use defvar-local.
3490         (which-function-mode): Don't reset which-func-mode in each buffer since
3491         it might have been set by someone else.
3492         (which-func-update-ediff-windows): Check which-function-mode.
3494 2014-09-03  Martin Rudalics  <rudalics@gmx.at>
3496         * frame.el (frame-initialize): Remove horizontal-scroll-bars
3497         from frame-initial-frame-alist.
3498         * scroll-bar.el (previous-horizontal-scroll-bar-mode)
3499         (horizontal-scroll-bar-mode-explicit)
3500         (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
3501         (toggle-horizontal-scroll-bar): Remove.
3502         (horizontal-scroll-bar-mode): Remove defcustom.
3503         (horizontal-scroll-bar-mode): Fix doc-string.
3504         (scroll-bar-toolkit-scroll)
3505         (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
3507 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3509         * emacs-lisp/package.el (package-generate-description-file):
3510         Properly quote the arguments (bug#18332).  Change second arg.
3511         (package--alist-to-plist-args): Rename from package--alist-to-plist and
3512         quote the elements.
3513         (package--make-autoloads-and-stuff): Fix the test for pre-existence of
3514         the *-pkg.el file.  Adjust to new calling convention of
3515         package-generate-description-file.
3517         * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
3518         (gud-gdb-completions): Remove obsolete workaround.
3520 2014-09-03  Eli Zaretskii  <eliz@gnu.org>
3522         * subr.el (posn-col-row): Revert the change from commit
3523         2010-11-13T21:07:58Z!eliz@gnu.org, which
3524         was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
3525         monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
3526         introduced an off-by-one error in the reported row when there is a
3527         header line.  (Bug#18384)
3529 2014-09-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3531         * progmodes/python.el (python-indent-post-self-insert-function):
3532         Avoid electric colon at beginning-of-defun.  (Bug#18228)
3534 2014-09-03  Glenn Morris  <rgm@gnu.org>
3536         * tutorial.el (tutorial--display-changes):
3537         Fix 2014-08-01 change.  (Bug#18382)
3539 2014-09-03  Ken Brown  <kbrown@cornell.edu>
3541         * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
3542         the Cygwin-w32 build.  (Bug#18347)
3544 2014-09-03  Glenn Morris  <rgm@gnu.org>
3546         * tar-mode.el (tar--extract, tar-extract):
3547         Avoid permanently disabling undo in extracted buffers.  (Bug#18344)
3549 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3551         * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
3552         handle multiline elements (bug#18380).
3554 2014-09-01  Eli Zaretskii  <eliz@gnu.org>
3556         * ls-lisp.el (ls-lisp-use-string-collate)
3557         (ls-lisp-UCA-like-collation): New defcustoms.
3558         (ls-lisp-string-lessp): Use them to control sorting by file
3559         names.  (Bug#18051)
3560         (ls-lisp-version-lessp): New function.
3561         (ls-lisp-handle-switches): Use it to implement the -v switch of
3562         GNU ls.
3563         (ls-lisp--insert-directory): Mention the -v switch in the doc string.
3565 2014-08-31  Christoph Scholtes  <cschol2112@gmail.com>
3567         * ibuffer.el: Replace mode-specific quit function with
3568         `quit-window' via `special-mode'.
3569         (ibuffer-mode-map): Use keybindings from special-mode-map instead
3570         of local overrides.
3571         (ibuffer): Don't store previous windows configuration.
3572         Let `quit-window' handle restoring.
3573         (ibuffer-quit): Remove function. Use `quit-window' instead.
3574         (ibuffer-restore-window-config-on-quit): Remove variable.
3575         (ibuffer-prev-window-config): Remove variable.
3577 2014-08-29  Michael Heerdegen  <michael_heerdegen@web.de>
3579         * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
3580         name instead of variable name in hook docstring.  (Bug#18349)
3582 2014-08-29  Martin Rudalics  <rudalics@gmx.at>
3584         * window.el (display-buffer-at-bottom): Prefer bottom-left
3585         window to other bottom windows.  Reuse a bottom window if it
3586         shows the buffer already.  Suggested by Juri Linkov
3587         <juri@jurta.org> in discussion of (Bug#18181).
3589 2014-08-29  Leo Liu  <sdl.web@gmail.com>
3591         * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
3592         append to minibuffer-setup-hook.  (Bug#18341)
3594 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3596         * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
3597         byte-compiler.
3598         (lookup-syntax-properties): Silence byte-compiler.
3599         (c-lang-defconst): Quote the code with `lambda' rather than with
3600         `quote'.
3601         (c-lang-const): Avoid unneeded setq.
3602         (c-lang-constants-under-evaluation): Add docstring.
3603         (c-lang--novalue): New constant.
3604         (c-find-assignment-for-mode): Use it instead of c-lang-constants.
3605         (c-get-lang-constant): Same here.
3606         Get the mode's value using `funcall' now that the code is quoted
3607         with `lambda'.
3609 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
3611         * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
3612         (Bug#18326)
3614 2014-08-28  Martin Rudalics  <rudalics@gmx.at>
3616         * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
3617         interpretation of `portion-whole'.
3619 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
3621         * net/tramp-adb.el: Spell author name correctly.
3623 2014-08-28  João Távora  <joaotavora@gmail.com>
3625         * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
3626         use url-expand-file-name.  (Bug#18310)
3628 2014-08-28  Glenn Morris  <rgm@gnu.org>
3630         * emulation/cua-rect.el (cua--highlight-rectangle):
3631         Avoid error at point-min.  (Bug#18309)
3633 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3635         * progmodes/python.el (python-shell-prompt-detect): Remove redundant
3636         executable-find (bug#18244).
3638         * simple.el (self-insert-uses-region-functions): Defvar.
3640 2014-08-28  Glenn Morris  <rgm@gnu.org>
3642         * subr.el (remq): Revert 2014-08-25 doc change (not always true).
3644 2014-08-27  Dmitry Antipov  <dmantipov@yandex.ru>
3646         * startup.el (normal-top-level): Now use internal--top-level-message.
3648 2014-08-26  Dmitry Antipov  <dmantipov@yandex.ru>
3650         * startup.el (normal-top-level): Use top-level-message.
3652 2014-08-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3654         * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
3655         URLs containing spaces and the like.
3657 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
3659         * subr.el (remq): Fix docstring (Bug#18253).
3661 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
3663         * replace.el (query-replace): Fix typo in docstring (Bug#18320).
3665 2014-08-24  Alan Mackenzie  <acm@muc.de>
3667         Handle C++11's "auto" and "decltype" constructions.
3668         * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
3669         and return 'decltype.
3670         (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
3671         prev-kwd-sym, new-style-auto.  Enhance to handle the new "auto"
3672         keyword.
3673         * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
3674         "decltype" keyword.
3675         (c-font-lock-c++-new): Handle "decltype" constructions.
3676         * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
3677         New c-lang-defconsts/defvars.
3678         (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
3679         (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
3680         (c-typeless-decl-kwds): Append "auto" onto the C++ value.
3681         (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
3683         Make ">>" act as double template ender in C++ Mode.  (Bug#11386)
3684         * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
3685         off from c->-op-cont-re.
3686         (c->-op-cont-tokens): Change to use the above.
3687         (c->-op-without->-cont-regexp): New lang-const.
3688         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
3689         Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
3692 2014-08-23  Alan Mackenzie  <acm@muc.de>
3694         * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
3695         loop, bug #18306.  The bug was introduced on 2014-08-02.
3697 2014-08-21  Eli Zaretskii  <eliz@gnu.org>
3699         * textmodes/texnfo-upd.el (texinfo-specific-section-type):
3700         Don't recognize a Top node if there are other sectioning commands
3701         earlier in the Texinfo file.  This fixes a bug in
3702         texinfo-make-menu and avoids inflooping in
3703         texinfo-all-menus-update when they are invoked on texinfo.texi.
3705 2014-08-21  Martin Rudalics  <rudalics@gmx.at>
3707         * window.el (window--side-window-p): New function.
3708         (split-window, window-splittable-p): Use window--side-window-p to
3709         determine whether WINDOW can be split (Bug#18304).
3710         * calendar/calendar.el (calendar-basic-setup): Fix one call of
3711         `window-splittable-p' and add another (Bug#18304).
3713 2014-08-20  Sam Steingold  <sds@gnu.org>
3715         * progmodes/python.el (python-new-pythonpath): Extract from
3716         `python-shell-calculate-process-environment'.
3718 2014-08-18  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3720         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
3721         for &key args (bug#18048).
3723 2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3725         * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
3726         (eldoc-function-argstring-format): Remove.
3727         (eldoc-function-argstring): Always return upcase args.
3728         Use help-make-usage.  Don't add parens.
3729         (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
3730         it's too late to do it right (bug#18048).
3732 2014-08-18  Eli Zaretskii  <eliz@gnu.org>
3734         * scroll-bar.el (scroll-bar-horizontal-drag-1)
3735         (scroll-bar-toolkit-horizontal-scroll): When determining the
3736         paragraph direction, use the buffer of the window designated in
3737         the event.
3739 2014-08-16  Andreas Schwab  <schwab@linux-m68k.org>
3741         * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
3742         context of unified diff.
3744 2014-08-16  Paul Eggert  <eggert@cs.ucla.edu>
3746         Add dependencies to fix loaddefs race during parallel builds.
3747         Without this, for example, 'make -j bootstrap' can fail and report
3748         "Opening input file: no such file or directory,
3749         .../lisp/calendar/diary-loaddefs.el ... recipe for target
3750         'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
3751         got confused because diary-loaddefs.el was being built in parallel.
3752         * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
3753         Depend on $(CAL_DIR)/cal-loaddefs.el.
3754         ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
3756 2014-08-16  Martin Rudalics  <rudalics@gmx.at>
3758         * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
3759         portion-whole for scrolling right-to-left text.
3761 2014-08-15  Leo Liu  <sdl.web@gmail.com>
3763         * speedbar.el (speedbar-generic-list-tag-p): Allow special
3764         elements from imenu.
3766 2014-08-15  Glenn Morris  <rgm@gnu.org>
3768         * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
3770 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
3772         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3773         Add Guile regexpses.
3775 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
3777         * progmodes/gud.el (guiler): New function.  Starts the Guile REPL;
3778         add Guile debugger support for GUD.
3780 2014-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3782         * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
3783         (mouse-sel--ignore): New function.
3784         (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
3785         (mouse-sel-original-interprogram-cut-function)
3786         (mouse-sel-original-interprogram-paste-function): Remove.
3788 2014-08-13  Eric S. Raymond  <esr@thyrsus.com>
3790         * vc/vc-git.el (vc-git-resolve-when-done): New function.
3791         Call "git add" when there are no longer conflict markers.
3793 2014-08-13  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3795         * vc/vc-git.el (vc-git-find-file-hook): New function.
3796         Adds support for calling smerge (and resolve) on a conflicted file.
3797         (vc-git-conflicted-files): New function.
3798         Useful in itself and a step towards better smerge support.
3800 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3802         * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
3803         to the first part if they're the same as the selection.
3805 2014-08-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3807         * image-mode.el (image-transform-reset): New command and menu item.
3808         (image-mode-map): Rearrange the menu items to put presumably more
3809         obscure items at the end.
3811 2014-08-12  Juri Linkov  <juri@jurta.org>
3813         * vc/vc-annotate.el (vc-annotate-background-mode):
3814         Use `with-demoted-errors' instead of `ignore-errors'.  (Bug#18189)
3816 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3818         * files.el (out-of-memory-warning-percentage): Turn it off by default.
3820 2014-08-11  Sam Steingold  <sds@gnu.org>
3822         * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
3823         the presence of known validators (tidy, (o)nsgmls).
3825 2014-08-11  Ulf Jasper  <ulf.jasper@web.de>
3827         Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
3829         * net/newst-treeview.el (newsticker-treeview-date-format): New.
3830         (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
3832 2014-08-11  Glenn Morris  <rgm@gnu.org>
3834         * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
3835         chose coding system for writing before backing up, since it causes
3836         a more serious problem than the one it solves.  (Closes Bug#18141,
3837         reopens Bug#13522.)
3839 2014-08-11  Martin Rudalics  <rudalics@gmx.at>
3841         * window.el (window-total-size): Make doc-string more self-contained.
3843         * window.el (display-buffer-below-selected): Restore original
3844         behavior if buffer is already displayed in the window below the
3845         selected one (Bug#18181).
3847 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3849         * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
3850         event (bug#18212).
3852 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
3854         * info.el (info): Doc fix.
3856 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3858         * info.el (Info-mode-map): Override a global down-mouse-2 binding
3859         (bug#18212).
3861 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
3863         * simple.el (default-line-height): A floating-point value of
3864         line-spacing means a fraction of the default frame font's height,
3865         not of the font currently used by the 'default' face.
3866         Truncate the pixel value, like the display engine does.
3867         (window-screen-lines): Use window-inside-pixel-edges for
3868         determining the window height in pixels.  (Bug#18195)
3870 2014-08-11  Grégoire Jadi  <daimrod@gmail.com>
3872         * leim/quail/latin-post.el: Transform " __" into " _".  (Bug#18023)
3874 2014-08-10  Ulf Jasper  <ulf.jasper@web.de>
3876         Enumerate evaluated sexp diary entries (Bug#7911).
3877         * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
3878         (icalendar-export-sexp-enumeration-days): New.
3879         (icalendar-export-region): Now `icalendar--convert-to-ical'
3880         returns a cons cell or a list of cons cells.
3881         (icalendar--convert-to-ical): Take care of
3882         `icalendar-export-sexp-enumerate-all'.  Return (a list of) cons cells.
3883         (icalendar--convert-ordinary-to-ical)
3884         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3885         (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
3886         (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
3887         (icalendar--convert-anniversary-to-ical): Return cons cell.
3888         (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
3889         entries.  Return (list of) cons cells.
3891 2014-08-09  Juri Linkov  <juri@jurta.org>
3893         * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
3894         to reevaluate `vc-annotate-color-map'.  (Bug#18189)
3896 2014-08-09  Alan Mackenzie  <acm@muc.de>
3898         * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
3899         for top-level that can cause unacceptable slow-down in scrolling.
3900         See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
3901         Antipov from 2013-10-14 in emacs-devel.
3903 2014-08-08  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3905         * ibuffer.el (ibuffer-mode-map): Use toggle button for
3906         `ibuffer-auto-mode' menu entry.
3907         (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
3909 2014-08-08  Matthias Meulien  <orontee@gmail.com>
3911         * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
3912         (Bug#16394)
3914 2014-08-07  Martin Rudalics  <rudalics@gmx.at>
3916         * window.el (window--min-size-1): Explicitly set WINDOW arg in
3917         calls of window-min-pixel-height and window-min-pixel-width.
3919 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
3921         * progmodes/ada-mode.el:
3922         * net/tramp.el (tramp-handle-file-symlink-p):
3923         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
3924         about VMS, which we no longer support.
3925         * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
3926         and fix a FIXME, using convert-standard-filename in place of
3927         removed ada-convert-file-name.
3929 2014-08-07  Eli Zaretskii  <eliz@gnu.org>
3931         * files.el (auto-mode-alist): Remove support for VMS from a pattern.
3933 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
3935         Refer to MS-DOS using the same name everywhere.
3936         * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
3937         ``msdog'' become ``MS-DOS''.
3939 2014-08-07  Michael Albinus  <michael.albinus@gmx.de>
3941         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3942         Use cached "remote-copy-args" value, if available.  (Bug#18199)
3944 2014-08-07  Leo Liu  <sdl.web@gmail.com>
3946         * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
3947         Revert change on 2014-03-22.
3949 2014-08-06  Ulf Jasper  <ulf.jasper@web.de>
3951         * calendar/icalendar.el (icalendar--diarytime-to-isotime)
3952         (icalendar--convert-ordinary-to-ical): Allow for missing minutes
3953         (Bug#13750).
3956 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3958         * image-mode.el (image-toggle-display-image): Always rescale images
3959         to not be bigger than the current window.
3961 2014-08-05  Eric Brown  <brown@fastmail.fm>  (tiny change)
3963         * net/eww.el (eww-bookmarks-directory): New variable.
3964         (eww-write-bookmarks): Use it.
3965         (eww-read-bookmarks): Ditto.
3967 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3969         * net/shr.el (shr-copy-url): Also copy the image URL.
3971 2014-08-05  Michael Albinus  <michael.albinus@gmx.de>
3973         * net/tramp-cache.el (tramp-flush-file-function): Suppress function
3974         also for Tramp working buffers.
3976 2014-08-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3978         * progmodes/python.el: Fix completions inside (i)pdb.
3979         (python-shell-completion-pdb-string-code): Make obsolete.
3980         (python-shell-completion-get-completions):
3981         Use python-shell-completion-string-code resending setup code
3982         continuously for (i)pdb.
3984 2014-08-04  Paul Eggert  <eggert@cs.ucla.edu>
3986         * rect.el (rectangle--default-line-number-format): Rename
3987         from misspelled rectange--default-line-number-format (Bug#18045).
3988         All uses changed.
3990 2014-08-03  Paul Eggert  <eggert@cs.ucla.edu>
3992         Don't mishandle year-9999 dates (Bug#18176).
3993         * calendar/parse-time.el (parse-time-rules):
3994         Allow years up to most-positive-fixnum.
3995         * calendar/time-date.el (date-to-time):
3996         Pass "Specified time is not representable" errors through.
3998 2014-08-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4000         * progmodes/python.el: Completion code cleanups.
4001         (python-shell-completion-get-completions): Detect and send import
4002         statements directly to completion function.
4003         (python-shell-completion-at-point): Simplify prompt calculation
4004         and import vs input completion logic.
4006 2014-08-02  Alan Mackenzie  <acm@muc.de>
4008         Fix confusion in C++ file caused by comma in "= {1,2},".
4009         Bug #17756.
4010         * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
4011         for a statement boundary marked by "}", check there's no "="
4012         before the "{".
4013         (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
4014         non-nil `comma-delim' argument.
4015         * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
4016         initializer expression more accurately.
4018         Correct loop termination condition in c-syntactic-skip-backward.
4019         * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
4020         the situation where, after moving back out of a literal,
4021         skip-chars-backward doesn't move further, yet checks have still to
4022         be done.
4024 2014-08-01  Eli Zaretskii  <eliz@gnu.org>
4026         * tutorial.el (tutorial--display-changes): Accept punctuation
4027         characters before the key binding.  (Bug#18146)
4029 2014-07-31  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4031         * progmodes/python.el: Shell output capture enhancements.
4032         (python-shell-accept-process-output): New function.
4033         (inferior-python-mode)
4034         (python-shell-send-setup-code): Use it.
4036 2014-07-30  Christophe Deleuze  <christophe.deleuze@free.fr>  (tiny change)
4038         * calendar/icalendar.el (icalendar--decode-isodatetime):
4039         Use actual current-time-zone when converting to local time. (Bug#15408)
4041 2014-07-29  Martin Rudalics  <rudalics@gmx.at>
4043         * window.el (window--state-put-2): Handle horizontal scroll
4044         bars, if present.
4046 2014-07-29  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4048         * menu-bar.el (menu-bar-update-buffers): Update item list format
4049         in `buffers-menu' to confirm with changes to `get_keyelt'
4050         (r117463).  (Bug#18016)
4052 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4054         * progmodes/python.el (inferior-python-mode): Make input prompts
4055         read-only.
4057 2014-07-28  Emilio C. Lopes  <eclig@gmx.net>
4059         * net/tramp-sh.el (tramp-get-remote-python): Also search for
4060         executables named "python2" or "python3".
4061         (tramp-get-remote-uid-with-python): Use parentheses around
4062         arguments to `print' to make it compatible with Python 3.
4063         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
4065 2014-07-28  Eli Zaretskii  <eliz@gnu.org>
4067         * window.el (window--pixel-to-total): Use FRAME's root window, not
4068         that of the selected frame.  (Bug#18112, Bug#16674)
4070 2014-07-28  Andreas Schwab  <schwab@linux-m68k.org>
4072         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
4073         (Bug#18117)
4075 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4077         * progmodes/python.el (inferior-python-mode): Doc fix.
4079 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
4081         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
4082         not a character, ignore it instead of raising an error.
4084         * calendar/todo-mode.el: Fix handling of marked items and make
4085         minor code improvements.
4086         (todo-edit-item): If there are marked items, ensure user can only
4087         invoke editing commands that work with marked items.
4088         (todo-edit-item--text): When there are marked items, make it a
4089         noop if invoked with point not on an item; otherwise, ensure it
4090         applies only to item at point.
4091         (todo-item-undone): If there are marked not-done items, return
4092         point to its original position before signaling user error.
4093         (todo--user-error-if-marked-done-item): New function.
4094         (todo-edit-item--header, todo-edit-item--diary-inclusion)
4095         (todo-item-done): Use it.
4097 2014-07-28  Glenn Morris  <rgm@gnu.org>
4099         * files.el (toggle-read-only): Re-add basic doc-string.
4100         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
4102         * progmodes/prolog.el (prolog-mode-keybindings-edit):
4103         Replace missing `switch-to-prolog' with `run-prolog'.
4104         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
4106 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
4108         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
4109         of file-wide setting when changing category-wide setting.
4111 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
4113         * doc-view.el (doc-view-open-text): Don't require that the
4114         document is saved in a file (e.g., email attachment).
4116 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4118         Parse completion input in a iPython friendly way.  (Bug#18084)
4119         * progmodes/python.el
4120         (python-shell-completion-at-point): Rename from
4121         python-shell-completion-complete-at-point.
4122         (inferior-python-mode): Use it.
4123         (python-completion-at-point): Rename from
4124         python-completion-complete-at-point.  Parse input up to first
4125         backward occurrence of whitespace, open-paren, close-paren or
4126         string delimiter.
4127         (python-mode): Use it.
4129 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4131         Prevent Python process shell buffer to pop twice.
4132         * progmodes/python.el (python-shell-switch-to-shell): Do not call
4133         pop-to-buffer.
4135 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4137         * progmodes/python.el
4138         (python-shell-with-shell-buffer): New macro.
4139         (python-shell-font-lock-get-or-create-buffer)
4140         (python-shell-font-lock-kill-buffer)
4141         (python-shell-font-lock-with-font-lock-buffer)
4142         (python-shell-font-lock-cleanup-buffer)
4143         (python-shell-font-lock-toggle): Use it.
4144         (python-shell-font-lock-turn-on)
4145         (python-shell-font-lock-turn-off): Use it.  Make command.
4147 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4149         Grab all Python process output before inferior-python-mode hooks.
4150         * progmodes/python.el (inferior-python-mode):
4151         Call accept-process-output and sit-for to ensure all output for process
4152         has been received before running hooks.
4153         (python-shell-internal-get-or-create-process):
4154         Cleanup accept-process-output and sit-for calls.
4156 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4158         More robust shell startup and code setup.
4159         * progmodes/python.el (python-shell-make-comint):
4160         Remove accept-process-output call.
4161         (python-shell-get-buffer): Return current buffer if major-mode is
4162         inferior-python-mode.
4163         (python-shell-get-or-create-process): Use it.
4164         (python-shell-send-setup-code): Send all setup code in one string,
4165         output success message and accept-process-output.
4167 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
4169         * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
4170         Add rudimentary support for bidirectional text.
4172 2014-07-27  Martin Rudalics  <rudalics@gmx.at>
4174         * frame.el (frame-notice-user-settings): Rewrite using
4175         frame-initial-frame-tool-bar-height.
4176         * menu-bar.el (menu-bar-horizontal-scroll-bar)
4177         (menu-bar-no-horizontal-scroll-bar): New functions.
4178         (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
4179         scroll bars.
4180         * scroll-bar.el (scroll-bar-lines)
4181         (set-horizontal-scroll-bar-mode)
4182         (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
4183         (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
4184         (scroll-bar-toolkit-horizontal-scroll): New functions.
4185         (horizontal-scroll-bar-mode)
4186         (previous-horizontal-scroll-bar-mode)
4187         (horizontal-scroll-bar-mode-explicit): New variables.
4188         (horizontal-scroll-bar-mode): New option.
4189         (toggle-horizontal-scroll-bar): Do something.
4190         (top-level): Bind horizontal-scroll-bar mouse-1.
4191         * startup.el (tool-bar-originally-present): Remove variable.
4192         (command-line): Don't set tool-bar-originally-present.
4193         * window.el (window-min-height): Update doc-string.
4194         (window--dump-frame): Dump horizontal scroll bar values.
4195         (window--min-size-1): Handle minibuffer window separately.
4196         Count in margins and horizontal scroll bar.  Return safe value
4197         iff IGNORE equals 'safe.
4198         (frame-windows-min-size): New function (used by frame resizing
4199         routines).
4200         (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
4201         scroll bars.
4202         (window--sanitize-window-sizes): New function.
4203         (window-split-min-size): Remove.
4204         (split-window): Count divider-width.  Don't use
4205         `window-split-min-size' any more.  Reword error messages.
4206         Sanitize windows sizes after splitting.
4208 2014-07-27  Thien-Thi Nguyen  <ttn@gnu.org>
4210         Use `defvar-local' more.
4211         * progmodes/hideshow.el
4212         (hs-c-start-regexp, hs-block-start-regexp)
4213         (hs-block-start-mdata-select, hs-block-end-regexp)
4214         (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
4215         remove corresponding `make-variable-buffer-local' top-level calls.
4217 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4219         Cleanup error signals.  (Bug#18067)
4220         * progmodes/python.el
4221         (python-indent-shift-left): Use user-error instead.
4222         (python-shell-prompt-detect): Use lwarn with python group.
4223         (python-completion-complete-at-point)
4224         (python-eldoc--get-doc-at-point): Don't signal error.
4226 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4228         Support for packages in Python shell.  (Bug#13570)
4229         * progmodes/python.el (python-shell--package-depth): New var.
4230         (python-shell-package-enable): New command.
4231         (python-util-list-directories, python-util-list-files)
4232         (python-util-list-packages): New functions.
4234 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4236         Faster comint output.  (Bug#16875)
4237         * progmodes/python.el:
4238         (python-comint-output-filter-function): Make obsolete.
4239         (python-comint-postoutput-scroll-to-bottom): New function.
4240         (inferior-python-mode): Set comint-output-filter-functions to a
4241         minimum.
4243 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4245         * progmodes/python.el (python-shell-font-lock-post-command-hook):
4246         Safeguard current point and undo history.
4248 2014-07-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4250         Robust shell syntax highlighting.  (Bug#18084, Bug#16875)
4251         * progmodes/python.el:
4252         (python-shell-prompt-input-regexps): Add iPython block prompt.
4253         (python-shell-output-syntax-table): Delete var.
4254         (python-shell-font-lock-with-font-lock-buffer): New macro.
4255         (python-shell-font-lock-get-or-create-buffer)
4256         (python-shell-font-lock-kill-buffer)
4257         (python-shell-font-lock-cleanup-buffer)
4258         (python-shell-font-lock-post-command-hook)
4259         (python-shell-font-lock-turn-off): New functions.
4260         (python-shell-font-lock-turn-on): New function.
4261         (inferior-python-mode): Use it.
4262         (python-shell-font-lock-toggle): New command.
4263         (python-shell-font-lock-enable): Rename from
4264         python-shell-enable-font-lock.
4265         (run-python-internal): Use it.
4266         (python-shell-font-lock-comint-output-filter-function): New function.
4267         (python-shell-comint-end-of-output-p): New function.
4268         (python-shell-output-filter): Use it.
4269         (python-util-comint-last-prompt): New function.
4270         (python-util-text-properties-replace-name): New function.
4272 2014-07-25  Glenn Morris  <rgm@gnu.org>
4274         * vc/ediff-init.el (ediff-toggle-read-only-function):
4275         * vc/ediff-util.el (ediff-toggle-read-only):
4276         Replace obsolete toggle-read-only with read-only-mode.
4278 2014-07-24  Michael Albinus  <michael.albinus@gmx.de>
4280         * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
4281         with `save-match-data'.  (Bug#18095)
4283 2014-07-21  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4285         * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
4286         order to ensure that row and col are lexically bound inside the
4287         evaluated sexp.
4289 2014-07-21  Glenn Morris  <rgm@gnu.org>
4291         * progmodes/hideif.el (hide-ifdef-mode-submap):
4292         Also substitute read-only-mode.
4293         * bindings.el (mode-line-toggle-read-only):
4294         * bs.el (bs-toggle-readonly):
4295         * buff-menu.el (Buffer-menu-toggle-read-only):
4296         * dired.el (dired-toggle-read-only):
4297         * files.el (view-read-only, find-file-read-only)
4298         (find-file-read-only-other-window)
4299         (find-file-read-only-other-frame):
4300         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
4301         Doc fixes re toggle-read-only.
4303 2014-07-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4305         * progmodes/python.el: Add comment about pipe buffering and
4306         solutions for missing/delayed output in inferior Python shells.
4307         (Bug#17304)
4309         * progmodes/python.el (python-mode): Don't set
4310         mode-require-final-newline.  (Bug#17990)
4312         Make python.el work with IPython automatically.  (Bug#15510)
4313         * progmodes/python.el:
4314         (python-shell-completion-setup-code): New value supporting iPython.
4315         (python-shell-completion-string-code): New value supporting iPython.
4316         (python-shell-completion-get-completions): Use them.
4317         (python-shell-completion-module-string-code): Make obsolete.
4318         (python-shell-prompt-input-regexps)
4319         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
4320         (python-shell-output-filter): Fix comment typo.
4322         Fix Python shell prompts detection for remote hosts.
4323         * progmodes/python.el (python-shell-prompt-detect):
4324         Replace call-process with process-file and make it more robust.
4326         Autodetect Python shell prompts.  (Bug#17370)
4327         * progmodes/python.el:
4328         (python-shell-interpreter-interactive-arg)
4329         (python-shell-prompt-detect-enabled)
4330         (python-shell-prompt-detect-failure-warning)
4331         (python-shell-prompt-input-regexps)
4332         (python-shell-prompt-output-regexps): New vars.
4333         (python-shell-prompt-calculated-input-regexp)
4334         (python-shell-prompt-calculated-output-regexp): New vars.
4335         (python-shell-get-process-name)
4336         (python-shell-internal-get-process-name)
4337         (python-shell-output-filter)
4338         (python-shell-completion-get-completions): Use them.
4339         (python-shell-prompt-detect)
4340         (python-shell-prompt-validate-regexps): New functions.
4341         (python-shell-prompt-set-calculated-regexps): New function.
4342         (inferior-python-mode): Use it.  Also honor overriden
4343         python-shell-interpreter and python-shell-interpreter-args.
4344         (python-shell-make-comint): Honor overriden
4345         python-shell-interpreter and python-shell-interpreter-args.
4346         (python-shell-get-or-create-process): Make it testable by allowing
4347         to call run-python non-interactively.
4348         (python-util-valid-regexp-p): New function.
4349         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
4350         (python-shell-prompt-output-regexp)
4351         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
4353 2014-07-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4355         * emacs-lisp/smie.el (smie-config--guess-1): Split from
4356         smie-config--guess.
4357         (smie-config--guess): Use it.
4359         * emacs-lisp/edebug.el: Use nadvice.
4360         (edebug-original-read): Remove.
4361         (edebug--read): Rename from edebug-read and add `orig' arg.
4362         (edebug-uninstall-read-eval-functions)
4363         (edebug-install-read-eval-functions): Use nadvice.
4364         (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
4365         (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
4366         (edebug-read-string, edebug-read-function): Use just `read'.
4367         (edebug-original-debug-on-entry): Remove.
4368         (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
4369         `orig' arg.
4370         (debug-on-entry): Override with nadvice.
4372         * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
4373         it also makes sense to bind it to a non-mouse event.
4375         * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
4377 2014-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4379         * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
4380         (bug#18015).
4382         * rect.el (rectangle--string-preview): Don't assume there
4383         a non-nil default (bug#17984).
4385 2014-07-16  Glenn Morris  <rgm@gnu.org>
4387         * desktop.el (after-init-hook): Disable startup frame restoration
4388         in non-graphical situations.  (Bug#17693)
4390         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
4391         if it was "empty", or used for a different set of files.  (Bug#17884)
4393 2014-07-16  Eli Zaretskii  <eliz@gnu.org>
4395         * bindings.el (mode-line-remote): If default-directory is not a
4396         string, don't call file-remote-p on it; instead state in the
4397         help-echo that it is nil.  (Bug#17986)
4399 2014-07-14  Daniel Colascione  <dancol@dancol.org>
4401         * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
4402         to `macroexpand-all'
4404         * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
4405         Use `macroexpand-all' instead of `cl-macroexpand-all'.
4407 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
4409         Fix bug: C-x v v discarded existing log message (Bug#17884).
4410         * vc/vc-dispatcher.el (vc-log-edit):
4411         Don't clobber an already-existing log message.
4413 2014-07-12  Glenn Morris  <rgm@gnu.org>
4415         * vc/log-edit.el (log-edit-changelog-entries):
4416         Check for a visited-but-never-saved ChangeLog.
4418 2014-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4420         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
4421         a non-existing file (bug#17970).
4423         * faces.el (face-name): Undo last change.
4424         (x-resolve-font-name): Don't call face-name (bug#17956).
4426 2014-07-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4428         Fix dedenters and electric colon handling. (Bug#15163)
4429         * progmodes/python.el
4430         (python-rx-constituents): Add dedenter and block-ender.
4431         (python-indent-dedenters, python-indent-block-enders): Delete.
4432         (python-indent-context): Return new case for dedenter-statement.
4433         (python-indent-calculate-indentation): Handle new case.
4434         (python-indent-calculate-levels): Fix levels calculation for
4435         dedenter statements.
4436         (python-indent-post-self-insert-function): Fix colon handling.
4437         (python-info-dedenter-opening-block-message): New function.
4438         (python-indent-line): Use it.
4439         (python-info-closing-block)
4440         (python-info-closing-block-message): Remove.
4441         (python-info-dedenter-opening-block-position)
4442         (python-info-dedenter-opening-block-positions)
4443         (python-info-dedenter-statement-p): New functions.
4445 2014-07-11  Dmitry Antipov  <dmantipov@yandex.ru>
4447         * files.el (out-of-memory-warning-percentage): New defcustom.
4448         (warn-maybe-out-of-memory): Use it.
4450 2014-07-11  Michael Albinus  <michael.albinus@gmx.de>
4452         * subr.el (read-passwd): Use `read-hide-char' if non-nil.  Bind it
4453         when calling `read-string'.  (Bug#17839)
4455 2014-07-10  Eli Zaretskii  <eliz@gnu.org>
4457         * files.el (warn-maybe-out-of-memory): Fix the wording of the
4458         warning.
4460 2014-07-10  Dmitry Antipov  <dmantipov@yandex.ru>
4462         * files.el (warn-maybe-out-of-memory): New function.
4463         (find-file-noselect): Use it.
4465 2014-07-09  Sam Steingold  <sds@gnu.org>
4467         * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
4468         `constant' like `bless', `return' &c
4470 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4472         * rect.el (apply-on-rectangle): Check forward-line really moved to the
4473         next line.
4475 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4477         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
4478         the middle of a line (bug#17896).
4480 2014-07-09  Juri Linkov  <juri@jurta.org>
4482         * startup.el (command-line): Append displaying the warning about
4483         the errors in the init file to the end of `after-init-hook'.
4484         (Bug#17927)
4486         * faces.el (face-name): Return input arg `face' as-is
4487         when it's not a symbol.
4488         (x-resolve-font-name): Don't check if the face is a symbol.
4489         (Bug#17956)
4491         * facemenu.el (list-colors-print): In help-echo format use %.2f
4492         instead of %d because now HSV values are floating-point components
4493         between 0.0 and 1.0.
4495 2014-07-09  Glenn Morris  <rgm@gnu.org>
4497         * emulation/cua-rect.el (cua--activate-rectangle):
4498         Avoid setting cua--rectangle to nil.  (Bug#17877)
4500 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
4502         * calendar/todo-mode.el: Fix wrong-type-argument error when
4503         marking multiple consecutive items.
4504         (todo-toggle-mark-item): Don't try to mark the empty lines at the
4505         end of the todo and done items sections.  Note in doc string that
4506         items marked by passing a numeric prefix argument can include the
4507         last todo and first done items.
4508         (todo-mark-category): Don't try to mark the empty line between the
4509         todo and done items sections.
4511 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4513         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
4514         proper Lisp quoting (bug#17934).
4516         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
4517         require-final-newline since prog-mode already took care of it (bug#17947).
4519 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
4521         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
4522         refer to the Todo mode Info manual.  Update the comment on
4523         requiring cl-lib.
4524         (todo-find-filtered-items-file): Add todo-prefix overlays.
4525         (todo-filter-items): Reorder a let-bound variable to avoid a
4526         wrong-type-argument error on canceling the file choice dialog.
4528 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4530         * progmodes/octave.el (inferior-octave-mode):
4531         Set comint-input-ring-size to a number (bug#17912).
4533 2014-07-09  Juri Linkov  <juri@jurta.org>
4535         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
4536         and `isearch-mode' associated with nil.  (Bug#17849)
4538 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4540         * linum.el (linum--face-height): New function (bug#17813).
4541         (linum-update-window): Use it to adjust margin to linum's width.
4543         * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
4544         * eshell/em-smart.el (eshell-smart-scroll-window):
4545         Use with-selected-window.
4547         * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
4548         Remove also pointless window&mark manipulation.
4550         * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
4551         (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
4552         (perl-continuation-line-p): Don't skip over anything else than labels.
4553         Return the previous char.
4554         (perl-calculate-indent): Use syntax-ppss instead of parse-start
4555         and update callers accordingly.  For continuation lines, check the
4556         the case of array hashes.
4557         (perl-backward-to-noncomment): Make it non-interactive.
4558         (perl-backward-to-start-of-continued-exp): Rewrite.
4560 2014-07-08  Sam Steingold  <sds@gnu.org>
4562         * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
4563         New user commands.
4565 2014-07-08  Juri Linkov  <juri@jurta.org>
4567         * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
4568         (vc-annotate-color-map): Use less saturated colors (20%) for
4569         background-mode.
4570         (vc-annotate-very-old-color): Add default value for background-mode.
4571         (vc-annotate-background): Set default value to nil since now text on
4572         the default backgrounds should be legible in light and dark modes.
4573         (vc-annotate-lines): Use `vc-annotate-background-mode'.  Doc fix.
4574         (Bug#17808)
4576 2014-07-08  Juri Linkov  <juri@jurta.org>
4578         * simple.el (transpose-chars): Don't move point into read-only area.
4579         (Bug#17829)
4581 2014-07-08  Juri Linkov  <juri@jurta.org>
4583         * window.el (with-displayed-buffer-window): New macro.
4584         (with-temp-buffer-window, with-current-buffer-window):
4585         Use `macroexp-let2' to evaluate and bind variables
4586         in the same order as macro arguments.
4587         (display-buffer--action-function-custom-type):
4588         Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
4590         * minibuffer.el (minibuffer-completion-help): Replace
4591         `with-output-to-temp-buffer' with `with-displayed-buffer-window'
4592         with actions that display *Completions* at-bottom when called
4593         from the minibuffer, or below-selected in a normal buffer.
4594         Associate `window-height' with `fit-window-to-buffer'.
4595         Let-bind `pop-up-windows' to nil.
4597         * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
4598         instead of `with-current-buffer-window'.  (Bug#17809)
4600 2014-07-07  Luke Lee  <luke.yx.lee@gmail.com>
4602         * progmodes/hideif.el (hide-ifdef-env): Change to global.
4603         (hide-ifdef-env-backup): New variable.
4604         (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
4605         New customizable variables.
4606         (hif-clear-all-ifdef-defined): New defun.
4607         (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
4608         (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
4609         (hif-tokenize): Fix for MS-DOS/Win EOL style.
4610         (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
4611         Fix bug to hide the correct #elif region(s).
4612         (hif-range-elif): New defun.
4613         (hif-recurse-level): New var.
4614         (hif-evaluate-region, hif-evaluate-macro): New defun.
4615         (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
4616         fully hidden.
4617         (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
4618         Better interaction.
4620 2014-07-04  Michael Albinus  <michael.albinus@gmx.de>
4622         * net/dbus.el (dbus-peer-handler): New defun.
4623         (dbus-register-service): Register it.  (Bug#17858)
4624         (dbus-managed-objects-handler): Fix docstring.
4626 2014-07-04  Phil Sainty  <psainty@orcon.net.nz>
4628         * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
4629         (narrow-to-defun): New arg include-comments, defaulting to it
4630         (bug#16328).
4632 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4634         * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
4635         different calling convention to rectangle--unhighlight-for-redisplay.
4637 2014-07-03  Michael Albinus  <michael.albinus@gmx.de>
4639         * net/tramp.el (tramp-call-process): Handle error strings.
4641         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
4643         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
4644         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
4646         * net/trampver.el: Update release number.
4648 2014-07-03  Juri Linkov  <juri@jurta.org>
4650         * desktop.el (desktop-save): Rename arg `auto-save' to
4651         `only-if-changed'.  Doc fix.  (Bug#17873)
4653 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4655         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
4656         Use insert-for-yank (bug#17271).
4658 2014-07-03  Leo Liu  <sdl.web@gmail.com>
4660         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
4661         Support lexical-binding.
4663 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4665         * vc/log-edit.el (log-edit-goto-eoh): New function.
4666         (log-edit--match-first-line): Use it (bug#17861).
4668 2014-07-03  Glenn Morris  <rgm@gnu.org>
4670         * vc/log-edit.el (log-edit-hook): Add missing :version.
4672 2014-07-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4674         * progmodes/python.el (python-indent-post-self-insert-function):
4675         Enhancements to electric indentation behavior inside
4676         parens. (Bug#17658)
4678 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4680         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
4681         buffer-invisibility-spec (bug#17867).
4683 2014-07-03  Andreas Schwab  <schwab@linux-m68k.org>
4685         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
4686         pass "-a".
4688 2014-07-03  Glenn Morris  <rgm@gnu.org>
4690         * cus-edit.el (help):
4691         * finder.el (finder-known-keywords):
4692         * help.el (help-for-help-internal):
4693         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
4694         (ediff-redraw-registry-buffer):
4695         * vc/ediff-ptch.el (ediff-patch-file-internal):
4696         Doc fixes re "online" help.  (Bug#17803)
4698         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
4699         (idlwave-mode): Doc URL update.
4701 2014-07-01  Juri Linkov  <juri@jurta.org>
4703         * man.el: Display man pages immediately and use process-filter
4704         to format them asynchronously.
4705         (Man-width): Doc fix.
4706         (man): Doc fix.
4707         (Man-start-calling): Use `with-selected-window' to get
4708         `frame-width' and `window-width'.
4709         (Man-getpage-in-background): Call `Man-notify-when-ready'
4710         immediately after creating a new buffer.  Call `Man-mode' and set
4711         `mode-line-process' in the created buffer.  Set process-filter to
4712         `Man-bgproc-filter' in start-process branch.  In call-process branch
4713         call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
4714         Use `Man-start-calling' inside `with-current-buffer'.
4715         (Man-fontify-manpage): Don't print messages.  Fix boundary condition.
4716         (Man-cleanup-manpage): Don't print messages.
4717         (Man-bgproc-filter): New function.
4718         (Man-bgproc-sentinel): Add `save-excursion' to keep point when
4719         user moved it during asynchronous formatting.  Move calls of
4720         `Man-fontify-manpage' and `Man-cleanup-manpage' to
4721         `Man-bgproc-filter'.  Move the call of `Man-mode' to
4722         `Man-getpage-in-background'.  Use `quit-restore-window'
4723         instead of `kill-buffer'.  Use `message' instead of `error'
4724         because errors are caught by process sentinel.
4725         (Man-mode): Move calls of `Man-build-page-list',
4726         `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
4727         `Man-bgproc-sentinel'.  Doc fix.  (Bug#2588, bug#5054, bug#9084, bug#17831)
4729         * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
4730         for the message about the man page cleaned up.
4732 2014-07-01  Mario Lang  <mlang@delysid.org>
4734         * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
4735         cosutomization option `gnutls-verify-error'.
4737 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4739         * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
4740         Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
4742         * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
4743         (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
4744         is suspended (bug#17857).
4746 2014-07-01  Michael Albinus  <michael.albinus@gmx.de>
4748         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4749         Prefer utf-8 coding.  (Bug#17859)
4751 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4753         * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
4754         for `reverse'.
4756 2014-06-30  Glenn Morris  <rgm@gnu.org>
4758         * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
4759         (autoload-ensure-default-file): Maybe make existing output writable.
4760         * Makefile.in (AUTOGEN_VCS): Remove.
4761         (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
4763 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4765         * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
4767 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4769         New if-let, when-let, thread-first and thread-last macros.
4771         * emacs-lisp/subr-x.el
4772         (internal--listify, internal--check-binding)
4773         (internal--build-binding-value-form, internal--build-binding)
4774         (internal--build-bindings): New functions.
4775         (internal--thread-argument, thread-first, thread-last)
4776         (if-let, when-let): New macros.
4778 2014-06-30  Grégoire Jadi  <daimrod@gmail.com>
4780         * net/rcirc.el (rcirc-buffer-process): Restore previous
4781         behaviour.  (Bug#17772)
4783 2014-06-29  Alan Mackenzie  <acm@muc.de>
4785         Don't call c-parse-state when c++-template-syntax-table is active.
4786         * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
4787         (c-guess-basic-syntax CASE 5D.3): Rearrange so that
4788         c-syntactic-skip-backwards isn't called with the pertinent syntax table.
4790 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
4792         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
4793         account for file-wide setting of todo-top-priorities-overrides.
4794         Make code a bit cleaner.
4796 2014-06-28  Glenn Morris  <rgm@gnu.org>
4798         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
4800 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
4802         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
4803         category-wide setting of todo-top-priorities-overrides, check for
4804         a file-wide setting and fontify accordingly.
4806 2014-06-28  Glenn Morris  <rgm@gnu.org>
4808         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
4810 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4812         * progmodes/hideif.el: Use lexical-binding.  Fix up cl-lib usage.
4814 2014-06-28  K. Handa  <handa@gnu.org>
4816         Fix Bug#17739.
4818         * composite.el: Setup composition-function-table for dotted circle.
4819         (compose-gstring-for-dotted-circle): New function.
4821         * international/characters.el: Add category "^" to all
4822         non-spacing characters.
4824 2014-06-28  Glenn Morris  <rgm@gnu.org>
4826         * Makefile.in (doit): Remove force rule.
4827         (custom-deps, finder-data, autoloads, update-subdirs)
4828         (compile-one-process): PHONY targets do not need force rules.
4830         * Makefile.in (compile-main, compile, compile-always):
4831         No need to explicitly pass variables to ourself in recursive calls.
4833 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4835         * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
4837 2014-06-26  Glenn Morris  <rgm@gnu.org>
4839         * Makefile.in (update-authors): Update for moved authors.el.
4841 2014-06-26  Leo Liu  <sdl.web@gmail.com>
4843         * skeleton.el (skeleton-end-hook): Default to nil and move the
4844         work to skeleton-insert.  (Bug#17850)
4846 2014-06-26  Dmitry Antipov  <dmantipov@yandex.ru>
4848         * calc/calc-alg.el (math-beforep):
4849         * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
4850         Simplify because string-lessp can accept symbols as args.
4852 2014-06-26  Daiki Ueno  <ueno@gnu.org>
4854         * emacs-lisp/package.el (package--check-signature):
4855         If package-check-signature is allow-unsigned, don't signal error when
4856         we can't verify signature because of missing public key
4857         (bug#17625).
4859 2014-06-26  Glenn Morris  <rgm@gnu.org>
4861         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
4862         Remove outdated declaration.
4864         * emacs-lisp/authors.el (authors-valid-file-names)
4865         (authors-renamed-files-alist): Additions.
4867 2014-06-26  Leo Liu  <sdl.web@gmail.com>
4869         * textmodes/picture.el (picture-set-tab-stops):
4870         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
4871         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
4873         * progmodes/asm-mode.el (asm-calculate-indentation):
4874         Use indent-next-tab-stop.
4876         * indent.el (indent-accumulate-tab-stops): New function.
4878 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4880         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
4881         (package-desc-status): Obey it.
4883 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
4885         * calendar/todo-mode.el: Fix two bugs.
4886         (todo-insert-item--basic): If user cancels item insertion to
4887         another category before setting priority, show original category
4888         whether it is in the same or a different file.
4889         (todo-set-item-priority): After selecting category, instead of
4890         moving point to top, which extends an active region, restore it.
4892 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4894         * help-fns.el (describe-function-1): Check file-name is a string before
4895         calling help-fns--autoloaded-p (bug#17564).
4897 2014-06-26  Juri Linkov  <juri@jurta.org>
4899         * desktop.el (desktop-auto-save-enable)
4900         (desktop-auto-save-disable): New functions.
4901         (desktop-save-mode, desktop-auto-save-timeout): Use them.
4902         (desktop-read): Disable the autosave before loading the desktop,
4903         and enable afterwards.  (Bug#17351)
4905 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4907         Fix some indentation problem with \; and pipes (bug#17842).
4908         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
4909         (sh-smie--default-forward-token, sh-smie--default-backward-token):
4910         New functions.
4911         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
4912         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
4913         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
4915 2014-06-26  Glenn Morris  <rgm@gnu.org>
4917         * emacs-lisp/find-func.el (find-function-C-source-directory):
4918         Use file-accessible-directory-p.
4920         * ps-samp.el: Make it slightly less awful.
4921         (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
4922         (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
4923         Only set local values.
4924         (ps-article-subject, ps-article-author): Use standard functions
4925         like mail-fetch-field.
4926         (ps-info-file, ps-info-node): Use match-string.
4927         (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
4928         (ps-samp-ps-setup): ... new function.
4930         * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
4931         Optimize away code unneeded on any modern Emacs.
4933         * emacs-lisp/authors.el: Move to ../admin.
4935         * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
4937 2014-06-26  Luke Lee  <luke.yx.lee@gmail.com>
4939         * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
4940         (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
4941         performance enhancements.
4942         (hif-parse-if-exp): Rename to `hif-parse-exp'.  Enhance for macro
4943         expansion.
4944         (hif-factor, hif-string-concatenation, intern-safe): Support string
4945         concatenation and argumented macro expansion.
4946         (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
4947         (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
4948         (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
4949         (hif-canonicalize-tokens, hif-place-macro-invocation)
4950         (hif-parse-macro-arglist): Mostly new functions for supporting
4951         argumented macro expansion.
4952         (hif-string-concatenation, hif-stringify, hif-token-concat)
4953         (hif-token-stringification, hif-token-concatenation):
4954         Stringification and concatenation.
4955         (hif-find-next-relevant): Fix comments.
4956         (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
4957         some cases involving #elif.
4958         (hif-find-define, hif-add-new-defines): New functions for automatically
4959         scanning of defined symbols.
4960         (hide-ifdef-guts): Fix for defined symbol auto scanning.
4961         (hide-ifdef-undef): Fix behavior to match CPP.
4963 2014-06-25  Glenn Morris  <rgm@gnu.org>
4965         * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
4966         ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
4967         ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
4968         files.  They are not relevant to the original issue (bug#1004),
4969         and cause unnecessary recompilation (bug#2151).
4971 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4973         * play/landmark.el: Use lexical-binding and avoid `intangible'.
4974         (landmark--last-pos): New var.
4975         (landmark--intangible-chars): New const.
4976         (landmark--intangible): New function.
4977         (landmark-mode, landmark-move): Use it.
4978         (landmark-mode): Remove properties.
4979         (landmark-plot-square, landmark-point-square, landmark-goto-xy)
4980         (landmark-cross-qtuple):
4981         Don't worry about `intangible' any more.
4982         (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
4983         (landmark-init-display): Don't set `intangible' and `point-entered'.
4984         (square): Remove.  Inline it instead.
4985         (landmark--distance): Rename from `distance'.
4986         (landmark-calc-distance-of-robot-from): Rename from
4987         calc-distance-of-robot-from.
4988         (landmark-calc-smell-internal): Rename from calc-smell-internal.
4990 2014-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
4992         * files.el (dir-locals-find-file, file-relative-name):
4993         * info.el (Info-complete-menu-item):
4994         * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
4995         to compare-strings to avoid out-of-range errors.
4996         * subr.el (string-prefix-p): Adjust to match strict range
4997         checking in compare-strings.
4999 2014-06-24  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
5001         * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
5002         for comment lines non-greedy and stopping at newlines to fix stack
5003         overflows with large files.
5005 2014-06-24  Eli Barzilay  <eli@barzilay.org>
5007         * calculator.el (calculator-last-input): Drop 'ascii-character property
5008         lookup.
5010 2014-06-24  Leo Liu  <sdl.web@gmail.com>
5012         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
5013         tab-stop-list to nil.  (Bug#16381)
5015         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
5016         (indent-rigidly-left-to-tab-stop)
5017         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
5018         (move-to-tab-stop): Change callers.
5020 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
5022         * skeleton.el (skeleton-insert): Yet another fix of the doc string
5023         wrt behavior of \n as the first/last element of a skeleton.
5025 2014-06-24  Michael Albinus  <michael.albinus@gmx.de>
5027         * net/tramp-adb.el (tramp-adb-handle-process-file):
5028         * net/tramp-sh.el (tramp-sh-handle-process-file):
5029         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
5030         the output buffer when DISPLAY is non-nil.  (Bug#17815)
5032 2014-06-24  Glenn Morris  <rgm@gnu.org>
5034         * play/landmark.el (landmark-move-down, landmark-move-up):
5035         Fix 2007-10-20 change - preserve horizontal position.
5037 2014-06-23  Sam Steingold  <sds@gnu.org>
5039         * simple.el (kill-append): Remove undo boundary depending on ...
5040         (kill-append-merge-undo): New user option.
5042 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5044         * simple.el (handle-shift-selection, exchange-point-and-mark)
5045         (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
5046         (transient-mark-mode): Use&set the global value.
5047         * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
5048         * emulation/edt.el (edt-emulation-off): Save&restore the global
5049         transient-mark-mode setting.
5050         * obsolete/pc-select.el (pc-selection-mode): Use the
5051         transient-mark-mode function.
5053 2014-06-23  Eli Zaretskii  <eliz@gnu.org>
5055         * international/fontset.el (script-representative-chars):
5056         Add representative characters for scripts added in Unicode 7.0.
5057         (otf-script-alist): Synchronize with the latest registry of OTF
5058         script tags.
5060         * international/characters.el (char-script-table): Update for
5061         scripts added and codepoint ranges changed in Unicode 7.0.
5063 2014-06-23  Eli Barzilay  <eli@barzilay.org>
5065         * calculator.el (calculator-standard-displayer): Fix bug in use of
5066         `calculator-groupize-number'.
5067         (calculator-funcall): Fix broken `cl-flet' use by moving it into the
5068         `eval' code, so it works in v24.3.1 too.
5069         (calculator-last-input): Comment to clarify purpose.
5071 2014-06-22  Mario Lang  <mlang@delysid.org>
5073         * textmodes/rst.el (rst-comment-region): From from -> from.
5075         * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
5077 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
5079         * electric.el (electric-layout-post-self-insert-function):
5080         * emacs-lisp/ert.el (ert--insert-infos):
5081         * obsolete/vi.el (vi-set-mark):
5082         * term.el (term-handle-scroll):
5083         * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
5084         * wid-edit.el (widget-editable-list-value-create):
5085         Prefer point-marker to copy-marker of point.
5087 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5089         Fix completion retrieval parsing (bug#17209).
5090         * progmodes/python.el (python-mode):
5091         (python-util-strip-string): New function.
5092         (python-shell-completion-get-completions): Use it.
5094 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
5096         * skeleton.el (skeleton-insert): Fix last change.
5098 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5100         Enhancements for outline integration (bug#17796).
5101         * progmodes/python.el (python-mode): Properly set
5102         outline-heading-end-regexp so that comments after colons for
5103         defuns are supported.
5105 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
5107         * skeleton.el (skeleton-insert): Doc fix.
5109 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5111         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
5112         (smie-config-guess): Use smie-config-local so the rules are obeyed
5113         (bug#17818).
5115         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
5116         since it's already done inside the loop (bug#17819).
5118 2014-06-21  Martin Rudalics  <rudalics@gmx.at>
5120         * mouse.el (mouse-drag-line): Re-remove code initially removed
5121         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
5122         (Bug#17819).
5124 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5126         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
5127         align with the surrounding parent (bug#17721).
5129 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
5131         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
5132         locally to nil.
5133         (texinfo-insert-block, texinfo-insert-@end)
5134         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
5135         local setting of skeleton-end-newline by adding an explicit \n to
5136         the skeletons where appropriate.  (Bug#17801)
5138 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5140         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
5141         (smie-indent--hanging-p): Use it.
5142         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
5144 2014-06-21  Leo Liu  <sdl.web@gmail.com>
5146         * simple.el (read-quoted-char): Don't let help chars pop up help
5147         buffer.  (Bug#16617)
5149 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5151         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
5152         for | (bug#17621).
5154         * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
5155         Drop unknown events instead of burping.
5157 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
5159         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
5160         and later.  (Bug#17790)
5162 2014-06-21  Juri Linkov  <juri@jurta.org>
5164         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
5165         to `soft'.  (Bug#17554)
5167 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5169         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
5170         (bug#17737).
5172 2014-06-21  Dmitry Gutov  <dgutov@yandex.ru>
5174         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
5175         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
5177 2014-06-21  Michael Albinus  <michael.albinus@gmx.de>
5179         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
5180         `unread-command-events'.
5182 2014-06-19  William Xu  <william.xwl@gmail.com>
5184         * progmodes/hideif.el (hif-string-to-number): Don't return float for
5185         hex integer constants (bug#17807).
5187 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5189         * international/mule-util.el (truncate-string-ellipsis): New var.
5190         (truncate-string-to-width): Use it.
5192 2014-06-19  Robert Brown  <robert.brown@gmail.com>  (tiny change)
5194         * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
5195         (lisp-string-in-doc-position-p): New function, extracted from
5196         lisp-font-lock-syntactic-face-function.
5197         (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
5199 2014-06-19  Grégoire Jadi  <daimrod@gmail.com>
5201         * net/rcirc.el (rcirc-omit-mode): Fix recenter error.  (Bug#17769)
5203 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5205         * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
5206         (bubbles--game-over): Don't add `intangible' properties since they
5207         didn't work anyway.
5209 2014-06-18  Juri Linkov  <juri@jurta.org>
5211         * vc/ediff-init.el (ediff-current-diff-Ancestor)
5212         (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
5213         (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
5214         (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
5215         Add `min-colors 88' version with removed black/white foregrounds.
5216         (Bug#10181)
5218 2014-06-18  Juri Linkov  <juri@jurta.org>
5220         * vc/diff-mode.el (diff-changed): Empty face definition to use
5221         `diff-removed' and `diff-added' on tty as well.  (Bug#10181)
5222         (diff-context): Use darker color on light background and
5223         lighter color on dark background.
5225 2014-06-18  Juri Linkov  <juri@jurta.org>
5227         * vc/diff-mode.el (diff-refine-changed): Rename from
5228         `diff-refine-change' for consistency with `diff-changed'.
5229         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
5231         * vc/smerge-mode.el (smerge-refined-changed): Rename from
5232         `smerge-refined-change'.
5233         (smerge-refined-change): Add obsolete face alias.
5235 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5237         * rect.el (rectangle-preview): New custom.
5238         (rectangle): New group.
5239         (rectangle--pos-cols): Add `window' argument.
5240         (rectangle--string-preview-state, rectangle--string-preview-window):
5241         New vars.
5242         (rectangle--string-flush-preview, rectangle--string-erase-preview)
5243         (rectangle--space-to, rectangle--string-preview): New functions.
5244         (string-rectangle): Use them.
5245         (rectangle--inhibit-region-highlight): New var.
5246         (rectangle--highlight-for-redisplay): Obey it.  Make sure
5247         `apply-on-region' uses the point-crutches of the right window.
5248         Use :align-to rather than multiple spaces.
5250 2014-06-16  Andrea Rossetti  <andrea.rossetti@gmail.com>  (tiny change)
5252         * ruler-mode.el (ruler-mode-window-col)
5253         (ruler-mode-mouse-set-left-margin)
5254         (ruler-mode-mouse-set-right-margin): Fix calculation of column
5255         from mouse position (Bug#17768).
5257 2014-06-16  Ron Schnell  <ronnie@driver-aces.com>
5259         * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
5260         without varname or rhs causes crash.
5261         (dun-ftp): Fix bug where blank ftp password is allowed, making it
5262         impossible to win endgame.
5263         (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
5264         rlogin is anymore.
5265         (dun-help): Bump version number; update contact info.
5267 2014-06-15  Eli Barzilay  <eli@barzilay.org>
5269         * calculator.el (calculator-prompt, calculator-remove-zeros)
5270         (calculator-mode-hook, calculator-operators, calculator-stack)
5271         (calculator-mode): Tweak docstring.
5272         (calculator-user-operators): Tweak docstring, fix a bug in the last
5273         example.
5274         (calculator-displayer): `std' case has an optional boolean.
5275         (calculator-displayers): Use the new boolean to group in decimal mode.
5276         (calculator-mode-map, calculator, calculator-message)
5277         (calculator-op-arity, calculator-add-operators)
5278         (calculator-string-to-number, calculator-displayer-prev)
5279         (calculator-displayer-next, calculator-remove-zeros)
5280         (calculator-eng-display, calculator-number-to-string)
5281         (calculator-update-display, calculator-last-input)
5282         (calculator-clear-fragile, calculator-digit, calculator-decimal)
5283         (calculator-exp, calculator-saved-move, calculator-clear)
5284         (calculator-copy, calculator-put-value, calculator-help)
5285         (calculator-expt, calculator-truncate): Minor code improvements.
5286         (calculator-need-3-lines): New function pulling out code from
5287         `calculator'.
5288         (calculator-get-display): Rename from `calculator-get-prompt', and
5289         improved.
5290         (calculator-push-curnum): Rename from `calculator-curnum-value', and
5291         extended for all uses of it.  All callers changed.
5292         (calculator-groupize-number): New utility for splitting a number into
5293         groups.
5294         (calculator-standard-displayer): Improve code, new optional argument to
5295         use comma-split groups, make second argument optional too to use with
5296         'left/'right inputs.  All callers changed.
5297         (calculator-reduce-stack-once): New utility, doing the meat of what
5298         `calculator-reduce-stack' used to do, much improved (mostly using
5299         `pcase' for conciseness and clarity).
5300         (calculator-reduce-stack): Now doing just the reduction loop using
5301         `calculator-reduce-stack-once'.
5302         (calculator-funcall): Improve code, make it work in v24.3.1 too.
5303         (calculator-last-input): Improve code, remove some old cruft.
5304         (calculator-quit): Kill `calculator-buffer' in electric mode too.
5305         (calculator-integer-p): Remove.
5306         (calculator-fact): Improve code, make it work on non-integer values
5307         too (using truncated numbers).
5309 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
5311         Sync with Tramp 2.2.10.
5313         * net/tramp.el (tramp-methods): Tweak docstring.
5314         (tramp-handle-file-accessible-directory-p): Check for
5315         `file-readable-p' instead of `file-executable-p'.
5316         (tramp-check-cached-permissions):
5317         Use `tramp-compat-file-attributes'.
5318         (tramp-call-process): Add new argument VEC.  Adapt callees in all
5319         tramp*.el files.
5321         * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
5322         (tramp-adb-maybe-open-connection): Don't set
5323         `tramp-current-*' variables.
5325         * net/tramp-cache.el (tramp-flush-file-function): Do not flush
5326         file properties of temporary buffers.
5328         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
5330         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
5331         (tramp-gvfs-handle-delete-file): Flush file
5332         properties, not directory properties.
5333         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
5334         reading "unix::mode".
5335         (tramp-gvfs-handle-file-name-all-completions):
5336         Use "-h" option for "gvfs-ls".
5337         (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
5338         (tramp-gvfs-send-command): Simplify traces.
5340         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
5341         (vc-git-program, vc-hg-program): Declare.
5342         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
5343         (tramp-methods) <nc>: Add new method.
5344         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
5345         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
5346         `tramp-login-args'.
5347         (tramp-default-user-alist): Add "nc".
5348         (top): Remove completion function for "sftp".  Add completion
5349         functions for "nc" and "psftp".
5350         (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
5351         Implement support for "nc" method.
5352         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
5353         (tramp-remote-coding-commands, tramp-call-local-coding-command):
5354         Tweak docstring.
5355         (tramp-sh-handle-write-region): Tweak error message.
5356         (tramp-sh-handle-vc-registered): Remove backends when the remote
5357         binary does not exist.
5358         (tramp-find-inline-encoding): Do not raise an error.
5359         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
5360         the "nc" case.  Quote result also locally.
5362         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5363         (tramp-smb-handle-set-file-acl): Use `start-process'.
5364         (tramp-smb-handle-insert-directory): Use progress reporter.
5365         (tramp-smb-handle-rename-file): Flush also file properties of
5366         FILENAME.
5368         * net/trampver.el: Update release number.
5370 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5372         * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
5373         add-to-list.
5374         (ses-localvars): Remove ses--local-printer-list, unused.
5375         (ses--metaprogramming): New macro.  Use it to defvar variables.
5376         (ses-set-localvars): Simplify.
5377         (ses--locprn, ses-cell): Use defstruct.  Change ses-cell's
5378         property-list into an alist.
5379         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
5380         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
5381         Remove; use defstruct accessors/setters instead.
5382         (ses-cell-formula-aset, ses-cell-printer-aset)
5383         (ses-cell-references-aset): Remove, use setf instead.
5384         (ses--alist-get): New function.
5385         (ses-cell-property): Rename from ses-cell-property-get and rewrite.
5386         Use an alist instead of a plist and don't do move-to-front since the
5387         list is always short.
5388         (ses-cell-property-get-fun, ses-cell-property-delq-fun)
5389         (ses-cell-property-set-fun, ses-cell-property-set)
5390         (ses-cell-property-pop-fun, ses-cell-property-get-handle)
5391         (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
5392         (ses--letref): New macro.
5393         (ses-cell-property-pop): Rewrite.
5394         (ses--cell): Rename from ses-cell and make it into a function.
5395         Make `formula' fallback on `value' if nil.
5396         (ses--local-printer): Rename from ses-local-printer and make it into
5397         a function.
5398         (ses-set-cell): Turn it into a macro so finding the accessor from the
5399         field name is done at compile time.
5400         (ses-repair-cell-reference-all): Test presence of `sym' rather than
5401         `ref' before adding `sym' to :ses-repair-reference.
5402         (ses-calculate-cell): Use ses--letref rather than
5403         ses-cell-property-get-handle.
5404         (ses-write-cells): Use a single prin1-to-string.
5405         (ses-setter-with-undo): New function.
5406         (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
5407         (ses-unset-with-undo): Remove.
5408         (ses-load): Prefer apply' over `eval'.
5409         (ses-read-printer, ses-set-column-width): Use standard "(default
5410         foo)" format.
5412 2014-06-15  Glenn Morris  <rgm@gnu.org>
5414         * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
5416         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
5417         Replace delete-duplicates and mapcan by cl- versions throughout.
5418         And cl-macroexpand-all by macroexpand-all.
5419         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
5421 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
5423         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
5425 2014-06-15  Juri Linkov  <juri@jurta.org>
5427         * bindings.el: Put `ascii-character' property on keypad keys
5428         mapped to characters.  (Bug#17759)
5430 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5432         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
5433         bumping forward into a closing paren (bug#17761).
5435         * term/xterm.el (xterm--version-handler): Work around for OSX
5436         Terminal.app (bug#17607).
5438 2014-06-14  Ron Schnell  <ronnie@driver-aces.com>
5440         * play/dunnet.el (dun-describe-room, dun-mode):
5441         If a lamp is in the room, you won't be eaten by a grue.
5443 2014-06-13  Glenn Morris  <rgm@gnu.org>
5445         * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
5446         (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
5447         (compile-always): GNU make automatically passes
5448         command-line arguments to sub-makes.
5450         * calendar/calendar.el (calendar-generate-window):
5451         Remove pointless call to font-lock-fontify-buffer.
5453 2014-06-13  Matthias Meulien  <orontee@gmail.com>
5455         * simple.el (completion-list-mode-map): Navigate with tab and backtab
5456         (bug#17767).
5458 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5460         * simple.el (set-mark-command): Simplify a bit.
5462 2014-06-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
5464         * help.el (help--key-binding-keymap): New function.
5465         (help--binding-locus): New function.
5466         (describe-key): Mention the keymap in which the binding was
5467         found. (bug#13948)
5469 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5471         * hippie-exp.el (he--all-buffers): New function.
5472         (try-expand-line-all-buffers, try-expand-list-all-buffers)
5473         (try-expand-dabbrev-all-buffers): Use it.
5475 2014-06-12  Emilio C. Lopes  <eclig@gmx.net>
5477         * hippie-exp.el (try-expand-line-all-buffers)
5478         (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
5479         Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
5480         original buffer, in case they're buffer-local.
5482 2014-06-12  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5484         * ses.el (ses-initial-global-parameters-re): New defconst, a
5485         specific regexp is needed now that ses.el can handle both
5486         file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
5487         local printers.
5488         (ses-localvars): Add local variables needed for local printer handling.
5489         (ses-set-localvars): Handle hashmap initialisation.
5490         (ses-paramlines-plist): Add param-line for number of local printers.
5491         (ses-paramfmt-plist): New defconst, needed for code factorization
5492         between functions `ses-set-parameter' and
5493         `ses-file-format-extend-paramter-list'
5494         (ses-make-local-printer-info): New defsubst.
5495         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
5496         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
5497         (ses-cell-printer-aset): New defmacro.
5498         (ses-local-printer-compile): New defun.
5499         (ses-local-printer): New defmacro.
5500         (ses-printer-validate, ses-call-printer): Add support for local
5501         printer functions.
5502         (ses-file-format-extend-paramter-list): New defun.
5503         (ses-set-parameter): Use const `ses-paramfmt-plist' for code
5504         factorization.
5505         (ses-load): Add support for local printer functions.
5506         (ses-read-printer): Update docstring and add support for local printer
5507         functions.
5508         (ses-refresh-local-printer, ses-define-local-printer): New defun.
5509         (ses-safe-printer): Add support for local printer functions.
5511 2014-06-12  Ivan Andrus  <darthandrus@gmail.com>
5513         * ffap.el (ffap-lax-url): New var (bug#17723).
5514         (ffap-url-at-point): Use it.
5515         (ffap-file-at-point): Avoid returning just "/".
5517 2014-06-12  Matthias Meulien  <orontee@gmail.com>
5519         * progmodes/python.el (import skeleton): New skeleton (bug#17672).
5520         (python-mode-map): Bind it.
5522         * progmodes/python.el (class skeleton): Don't erase last char of class
5523         name (bug#17683).
5525 2014-06-12  Cameron Desautels  <camdez@gmail.com>  (tiny change)
5527         * help.el (where-is): Use `default' arg of completing-read (bug#17705).
5529 2014-06-12  Kevin Ryde  <user42_kevin@yahoo.com.au>
5531         * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
5532         (bug#17745).
5534 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5536         * international/mule-cmds.el: Use lexical-binding.
5537         (ucs-names): Simplify.
5539 2014-05-18  Eric Hanchrow  <eric.hanchrow@gmail.com>
5541         * progmodes/python.el (run-python): Use read-shell-command.
5543 2014-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5545         * rect.el: Make it possible to move bounds past EOL or into TABs.
5546         (operate-on-rectangle): Use apply-on-rectangle.
5547         (rectangle--mark-crutches): New var.
5548         (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
5549         (rectangle--crutches, rectangle--reset-crutches): New functions.
5550         (apply-on-rectangle): Obey crutches.  Avoid setq.
5551         Fix missing final iteration if end is at EOB&BOL.
5552         (rectangle-mark-mode-map): Add remap bindings for
5553         exchange-point-and-mark and char/line movements.
5554         (rectangle--*-char): New function.
5555         (rectangle-exchange-point-and-mark, rectangle-right-char)
5556         (rectangle-left-char, rectangle-forward-char)
5557         (rectangle-backward-char, rectangle-next-line)
5558         (rectangle-previous-line): New commands.
5559         (rectangle--place-cursor): New function.
5560         (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
5562 2014-06-08  Glenn Morris  <rgm@gnu.org>
5564         * startup.el (initial-buffer-choice): Doc fix.
5565         Reset :version (adding an option does not merit a :version bump).
5567         * bookmark.el (bookmark-load):
5568         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
5570 2014-06-08  Juri Linkov  <juri@jurta.org>
5572         * desktop.el: Activate auto-saving on window configuration changes.
5573         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
5574         `desktop-auto-save-set-timer' to/from
5575         `window-configuration-change-hook'.
5576         (desktop-auto-save-set-timer): Change REPEAT arg of
5577         `run-with-idle-timer' from t to nil.
5578         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
5580 2014-06-08  Santiago Payà i Miralta  <santiagopim@gmail.com>
5582         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
5583         vc-hg-command (bug#17570).
5585 2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5587         * international/mule-cmds.el (ucs-names): Add special entry for BEL
5588         (bug#17702).
5590 2014-06-08  Glenn Morris  <rgm@gnu.org>
5592         * startup.el (window-setup-hook): Doc fix.
5594         * emacs-lisp/package.el (package-check-signature)
5595         (package-unsigned-archives): Doc fixes.
5597 2014-06-08  Martin Rudalics  <rudalics@gmx.at>
5599         * window.el (display-buffer-use-some-window): Don't make window
5600         used smaller than it was before (Bug#17671).
5602 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
5604         * menu-bar.el (menu-bar-open): Fix last change: use the PC
5605         'redisplay' instead of '(sit-for 0)'.
5607 2014-06-08  Michael Albinus  <michael.albinus@gmx.de>
5609         * net/tramp.el (tramp-ssh-controlmaster-options):
5610         Improve search regexp.  (Bug#17653)
5612 2014-06-08  Glenn Morris  <rgm@gnu.org>
5614         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
5616 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
5618         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
5620 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
5622         * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
5623         (bug#17586).
5625         * vc/vc-hg.el (vc-hg-log-graph): New var.
5626         (vc-hg-print-log): Use it.
5627         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
5628         graph output (bug#17515).
5630 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5632         * mouse.el (mouse-posn-property): Ignore buffer position info when the
5633         even happened elsewhere.
5635 2014-06-06  Mario Lang  <mlang@delysid.org>
5637         * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
5638         `recenter' if `current-buffer' is equal to `window-buffer'.
5640 2014-06-05  Leo Liu  <sdl.web@gmail.com>
5642         * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
5644 2014-06-05  Michal Nazarewicz  <mina86@mina86.com>
5646         * textmodes/tildify.el (tildify-foreach-region-outside-env):
5647         New function which calls a callback on portions of the buffer that are
5648         outside of ignored environments.
5649         (tildify-build-regexp): Remove function since it is now
5650         incorporated in `tildify-foreach-region-outside-env' where it is
5651         optimized and simplified by the use of `mapconcat'.
5652         (tildify-tildify): Return number of substitutions made so that…
5653         (tildify-count): …can be removed.
5654         (tildify-find-env): Accept a new PAIRS argument which was
5655         previously looked up in `tildify-ignored-environments-alist' each
5656         time the function was called.  With this change, the lookup is
5657         performed only once in `tildify-foreach-region-outside-env'.
5658         (tildify-region): Greatly simplify the function since now most of
5659         the work is done by `tildify-foreach-region-outside-env'.
5660         (tildify-mode-alist): Simplify slightly by avoiding if and setq
5661         and instead using or.
5663         * textmodes/tildify.el (tildify-ignored-environments-alist):
5664         Optimize environments regexes
5666         Each time beginning of an environment to ignore is found,
5667         `tildify-find-env' needs to identify regexp for the ending
5668         of the environment.  This is done by trying all the opening
5669         regexes on matched text in a loop, so to speed that up, this
5670         loop should have fewer things to match, which can be done by
5671         using alternatives in the opening regexes.
5673         Coincidentally, this should make matching of the opening
5674         regexp faster as well thanks to the use of `regexp-opt' and
5675         having common prefix pulled from many regexes.
5677         * textmodes/tildify.el (tildify-string-alist)
5678         (tildify-ignored-environments-alist): Add `nxml-mode' to the list
5679         of supported modes since `xml-mode' is no longer a thing but just
5680         an alias to the former.  Also include comments and insides of tags
5681         in `tildify-ignored-environments-alist' for XML modes.  Finally,
5682         since XML does not define “&nbsp;”[1], use a numeric reference for
5683         a no-break space (namely “&#160;”)
5685         [1] XML specification defines only a handful of predefined entities.
5686             The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
5687             and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
5688             >, &, ' and " respectively).  This is in contrast to HTML and even
5689             XHTML which defined a whole bunch of entities including “&nbsp;”.
5691         * textmodes/tildify.el (tildify-pattern-alist)
5692         (tildify-string-alist, tildify-ignored-environments-alist):
5693         Improve defcustom's types by adding more tags explaining what each
5694         value means and replace “sexp” used in
5695         `tildify-ignored-environments-alist' with a full type declaration.
5697         * textmodes/tildify.el (tildify-find-env): Fix matched group
5698         indexes in end-regex building
5700         When looking for a start of an ignore-environment, the regex is built
5701         by concatenating regexes of all the environments configured in
5702         `tildify-ignored-environments-alist'.  So for example, the following
5703         list could be used to match TeX's \verb and \verb* commands:
5705             (("\\\\verb\\(.\\)" . (1))
5706              ("\\\\verb\\*\\(.\\)" . (1)))
5708         This would result in the following regex being used to find the start
5709         of any of the variants of the \verb command:
5711             \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
5713         But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
5714         won't match anything, and thus (match-string 1) will be nil, which
5715         will cause building of the end-matching regex to fail.
5717         Fix this by using capture groups from the time when the opening
5718         regexes are matched individually.
5720         * textmodes/tildify.el (tildify-find-env): Fix end-regex building
5721         in `tildify-find-env'
5723         The `tildify-ignored-environments-alist' allows the end-regex to
5724         be provided not as a static string but mix of strings and indexes
5725         of groups matched the begin-regex.  For example, the “\verb!…!”
5726         TeX-command (where “!” is an arbitrary character) is handled
5727         using:
5729             ("\\\\verb\\*?\\(.\\)" . (1))
5731         In the same way, the following should be supported as well:
5733             ("open-\\(.\\)" . ("end-" 1))
5735         However the tildify-find-env function fails at
5737             (concat result
5738                     (if (stringp (setq aux (car expression)))
5739                          expression  ; BUG: expression is a list
5740                        (regexp-quote (match-string aux))))
5742         where the string part is handled incorrectly.
5744         The most trivial fix would be to replace `expression' in the
5745         true-part of the if-statement with `aux', but instead, this commit
5746         optimizes `tildify-find-env' by changing it to use `mapconcat'
5747         rather than open-coded while-loop.
5749 2014-06-05  Mario Lang  <mlang@delysid.org>
5751         * woman.el (woman-mapcan): Remove.
5752         (woman-parse-colon-path): Use cl-mapcan instead.
5754 2014-06-03  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5756         * register.el: Add link to Emacs manual in Commentary.
5758 2014-06-02  Sam Steingold  <sds@gnu.org>
5760         * menu-bar.el (lookup-key-ignore-too-long): Extract from...
5761         (popup-menu): ...here.
5762         (menu-bar-open): Use it to avoid an error when `lookup-key'
5763         returns a number.
5765 2014-06-02  Michael Albinus  <michael.albinus@gmx.de>
5767         * net/tramp.el (tramp-call-process): Add traces.
5768         (tramp-handle-unhandled-file-name-directory): Return "/".
5770 2014-06-02  Wilson Snyder  <wsnyder@wsnyder.org>
5772         Sync with upstream verilog-mode revision 3cd8144.
5773         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
5774         (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
5775         (verilog-type-font-keywords): Add nor.
5776         (verilog-batch-execute-func): Force reading of Local Variables.
5777         Fix printing "no changes to be saved" with verilog-batch.
5778         (verilog-auto-arg-ports): Doc fix.
5779         Add verilog-auto-arg-format to support newlines in AUTOARG.
5780         (verilog-auto-arg): Doc fix.
5782 2014-06-02  Glenn Morris  <rgm@gnu.org>
5784         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
5785         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
5786         * emulation/ws-mode.el: Move to obsolete/.
5787         * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
5789 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
5791         * simple.el (keyboard-quit): Force update of mode lines, to remove
5792         the "Def" indicator, if we were defining a macro.  (Bug#17615)
5794 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5796         * minibuffer.el (minibuffer-force-complete-and-exit):
5797         Obey minibuffer-default (bug#17545).
5799         * progmodes/js.el (js-indent-line): Don't mix columns and chars
5800         (bug#17619).
5802         * subr.el (set-transient-map): Don't wait for some "nested"
5803         transient-map to finish if we're only supposed to be active for
5804         the next command (bug#17642).
5806 2014-06-02  Leo Liu  <sdl.web@gmail.com>
5808         * emacs-lisp/gv.el (window-buffer, window-display-table)
5809         (window-dedicated-p, window-hscroll, window-point, window-start):
5810         Fix gv-expander.  (Bug#17630)
5812 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5814         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
5815         clicks (bug#17633).
5817         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
5818         for the single comma, since ", " is *very* common in normal French text
5819         (bug#17643).
5821 2014-06-02  Glenn Morris  <rgm@gnu.org>
5823         * emacs-lisp/package.el (package-check-signature)
5824         (package-unsigned-archives): Fix :version.
5826 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5828         * subr.el (sit-for): Don't run input-methods (bug#15614).
5830 2014-06-02  Glenn Morris  <rgm@gnu.org>
5832         * cus-start.el: Fix some :version numbers.
5834 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5836         * simple.el (deactivate-mark): Set mark-active to nil even if
5837         deactivation is done via setting transient-mark-mode to nil,
5838         since one is buffer-local and the other is global.
5840         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
5841         there can't be more than 2 arguments (bug#17584).
5843 2014-06-02  Glenn Morris  <rgm@gnu.org>
5845         * simple.el (filter-buffer-substring-functions)
5846         (filter-buffer-substring-function, buffer-substring-filters)
5847         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
5849         * minibuffer.el (completion-in-region-functions, completion-in-region)
5850         (completion--in-region): Doc fixes.
5852         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
5853         (expand-abbrev, abbrev--default-expand): Doc fixes.
5855 2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
5857         Include sources used to create macuvs.h.
5858         * international/README: Refer to the Unicode Terms of Use rather
5859         than copying it bodily here, as that simplifies maintenance.
5861 2014-06-01  Glenn Morris  <rgm@gnu.org>
5863         * loadup.el (load-prefer-newer): Set non-nil when dumping.  (Bug#17629)
5865 2014-05-31  Glenn Morris  <rgm@gnu.org>
5867         * files.el (locate-dominating-file): Expand file argument.  (Bug#17641)
5869 2014-05-30  Glenn Morris  <rgm@gnu.org>
5871         * loadup.el: Treat `command-line-args' more flexibly.
5873 2014-05-30  Alan Mackenzie  <acm@muc.de>
5875         Guard (looking-at "\\s!") from XEmacs.
5876         * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
5878 2014-05-30    Ken Olum  <kdo@cosmos.phy.tufts.edu>
5880         * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
5881         The argument COUNT is now optional, to be more backward-compatible.
5882         Doc fix.  (Bug#17560)
5884 2014-05-29  Reuben Thomas  <rrt@sc3d.org>
5886         * whitespace.el (whitespace-report-region):
5887         Simplify documentation.
5888         (whitespace-report-region): Allow report-if-bogus to take the
5889         value `never', for non-interactive use.
5890         (whitespace-report): Refer to whitespace-report-region's
5891         documentation.
5893 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5895         * whitespace.el: Use font-lock-flush.  Minimize refontifications.
5896         Side benefit: it works without jit-lock.
5897         (whitespace-point--used): New buffer-local var.
5898         (whitespace-color-on): Initialize it and flush it.  Use font-lock-flush.
5899         (whitespace-color-off): Use font-lock-flush.
5900         (whitespace-point--used, whitespace-point--flush-used): New functions.
5901         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
5902         (whitespace-empty-at-eob-regexp): Use them.
5903         (whitespace-post-command-hook): Rewrite.
5905         * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
5906         (font-lock-fontify-buffer): Mark interactive-only.
5907         (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
5908         Make buffer-local.
5909         (font-lock-specified-p): Remove redundant boundp check.
5910         (font-lock-flush-function, font-lock-ensure-function): New vars.
5911         (font-lock-turn-on-thing-lock): Set them.
5912         (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
5913         (font-lock-after-change-function): Make `old-len' optional.
5914         (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
5915         Call font-lock-flush, just in case.
5916         * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
5917         recent Emacsen.
5918         * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
5919         (vera-mode-map, vera-mode-menu): Remove bindings to it.
5920         * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
5921         and with-syntax-table.
5922         * textmodes/conf-mode.el (conf-quote-normal):
5923         * progmodes/sh-script.el (sh-set-shell):
5924         * progmodes/prog-mode.el (prettify-symbols-mode):
5925         * progmodes/f90.el (f90-font-lock-n):
5926         * progmodes/cwarn.el (cwarn-mode):
5927         * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
5928         * progmodes/compile.el (compilation-setup, compilation--unsetup):
5929         * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
5930         (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
5931         * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
5932         font-lock-fontify-buffer-function and
5933         font-lock-unfontify-buffer-function.
5934         (rmail-unfontify-buffer-function, rmail-fontify-message):
5935         Use with-silent-modifications.
5936         * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
5937         and font-lock-ensure.
5938         * bs.el (bs-show-in-buffer): Use font-lock-ensure.
5940 2014-05-28  Thien-Thi Nguyen  <ttn@gnu.org>
5942         * emacs-lisp/package.el (package-generate-autoloads):
5943         Inhibit backup files.
5945 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5947         * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
5948         (bug#17608).
5950 2014-05-21  Michal Nazarewicz  <mina86@mina86.com>
5952         * textmodes/tildify.el (tildify-buffer, tildify-region):
5953         Add dont-ask option.
5955 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5957         * subr.el (zerop): Move from C.  Add compiler-macro (bug#17475).
5958         * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
5960         * subr.el (internal--funcall-interactively): New.
5961         (internal--call-interactively): Remove.
5962         (called-interactively-p): Detect funcall-interactively instead of
5963         call-interactively.
5964         * simple.el (repeat-complex-command): Use funcall-interactively.
5965         (repeat-complex-command--called-interactively-skip): Remove.
5967 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5969         * register.el (register-read-with-preview): Don't burp on
5970         frame switches (e.g. due to the frame we just popped).
5972         * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
5973         (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
5975 2014-05-26  Andreas Schwab  <schwab@linux-m68k.org>
5977         * cus-face.el (custom-face-attributes): Add :distant-foreground.
5979 2014-05-26  Martin Rudalics  <rudalics@gmx.at>
5981         * window.el (window--dump-frame): Remove interactive specification.
5983 2014-05-26  Glenn Morris  <rgm@gnu.org>
5985         * hippie-exp.el (he-line-search-regexp):
5986         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
5988 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
5990         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
5991         to avoid errors when trying to create or visit a file foo.todo
5992         located outside to todo-directory, and to allow having such files
5993         without them being tied to Todo mode (bug#17482).
5994         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
5995         (todo-archive-done-item, todo-find-filtered-items-file)
5996         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
5997         (todo-category-completions, todo-read-category): When visiting a
5998         Todo file, make sure we're in the right mode and the buffer local
5999         variables are set.
6000         (todo-make-categories-list, todo-reset-nondiary-marker)
6001         (todo-reset-done-string, todo-reset-comment-string):
6002         After processing all Todo files, kill the buffers of those files that
6003         weren't being visited before the processing.
6004         (todo-display-as-todo-file, todo-add-to-buffer-list)
6005         (todo-visit-files-commands): Comment out.
6006         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
6007         (auto-mode-alist): Remove add-to-list calls making Todo file
6008         extensions unrestrictedly tied to Todo modes.
6010 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6012         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
6013         (advice-function-member-p): Tell it to check both names and functions
6014         (bug#17531).
6015         (advice--add-function): Adjust call accordingly.
6017 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
6019         * calendar/todo-mode.el: Miscellaneous bug fixes.
6020         (todo-delete-file): When deleting an archive but not its todo
6021         file, make sure to update the todo file's category sexp.
6022         (todo-move-category): Keep the moved category's name unless the
6023         file moved to already has a category with that name.  If the
6024         numerically last category of the source file was moved, make the
6025         first category current to avoid selecting a nonexisting category.
6026         (todo-merge-category): Fix implementation to make merging to a
6027         category in another file work as documented.  Eliminate now
6028         insufficient and unnecessary renaming of archive category, correct
6029         document string accordingly, and clarify it.  If the numerically
6030         last category of the source file was merged, make the first
6031         category current to avoid selecting a nonexisting category.
6032         (todo-archive-done-item): When there are marked items and point
6033         happens to be on an unmarked item, ignore the latter.  Don't leave
6034         point below last item after archiving marked items.
6035         (todo-unarchive-items): Fix logic to ensure unarchiving an item
6036         from an archive with only one category deletes the archive only
6037         when the category is empty after unarchiving.  Make sure the todo
6038         file's category sexp is updated.
6039         (todo-read-file-name): Allow an existing file name even when it is
6040         not required (todo-move-category needs this to work as documented).
6041         (todo-add-file): Call todo-validate-name to reject the name of an
6042         existing todo file (needed due to fix in todo-read-file-name).
6043         (todo-reset-nondiary-marker): Also reset in filtered items files.
6044         (todo-reset-done-string, todo-reset-comment-string): Also reset in
6045         regexp filtered items files.
6046         (todo-reset-highlight-item): Also reset in filtered items files.
6047         Fix incorrect variable reference in document string.
6049 2014-05-26  Glenn Morris  <rgm@gnu.org>
6051         * window.el (window--dump-frame): Avoid error in --without-x builds.
6053 2014-05-26  Glenn Morris  <rgm@gnu.org>
6055         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
6057 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
6059         * frame.el (set-frame-font): Doc fix.
6061         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
6063 2014-05-26  Dmitry Gutov  <dgutov@yandex.ru>
6065         * emacs-lisp/package.el (package--download-one-archive):
6066         Use `write-region' instead of `save-buffer' to avoid running various
6067         hooks.  (Bug#17155)
6068         (describe-package-1): Same.  Insert newline at the end of the
6069         buffer if appropriate.
6071 2014-05-26  Juri Linkov  <juri@jurta.org>
6073         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
6074         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
6075         Add more modifiers: meta, control, shift, hyper, super, alt.
6076         (Bug#17439)
6078         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
6079         to allow changing its value with `set-variable'.
6081 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6083         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
6084         #; comments.
6085         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
6086         New functions.
6087         (scheme-mode-variables): Set syntax-propertize-function instead of
6088         font-lock-syntactic-face-function.
6089         (scheme-font-lock-syntactic-face-function): Delete.
6091         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
6093         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
6094         (bug#17392).
6096 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
6098         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
6099         for a temporary file name.
6101 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
6103         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
6105 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
6107         * net/dbus.el (dbus-init-bus, dbus-call-method)
6108         (dbus-call-method-asynchronously, dbus-send-signal)
6109         (dbus-method-return-internal, dbus-method-error-internal):
6110         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
6112 2014-05-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
6114         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
6115         methods which do not have a doc string.  (Bug#17490)
6117 2014-05-25  Tassilo Horn  <tsdh@gnu.org>
6119         * textmodes/reftex-ref.el (reftex-format-special): Make it work
6120         also for AMS Math's \eqref macro.
6122 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
6124         Arrange to never byte-compile the generated -pkg.el file.
6126         * emacs-lisp/package.el (package-generate-description-file):
6127         Output first-line comment to set buffer-local var `no-byte-compile'.
6128         Suggested by Dmitry Gutov:
6129         <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
6131 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
6133         Fix bug: Properly quote args to generated -pkg.el `define-package'.
6135         * emacs-lisp/package.el (package-generate-description-file):
6136         Inline `package--alist-to-plist'; rewrite to selectively
6137         quote alist values that are not self-quoting.
6138         (package--alist-to-plist): Delete func.
6140 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
6142         * term/xterm.el (xterm-function-map): Add mapping for shifted
6143         keypad keys.
6145 2014-05-24  Daniel Colascione  <dancol@dancol.org>
6147         * progmodes/subword.el (subword-find-word-boundary): Move point to
6148         correct spot before search. (Bug#17580)
6150         * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
6151         breaking the build.
6153 2014-05-24  Leo Liu  <sdl.web@gmail.com>
6155         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
6157 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6159         * minibuffer.el (completion--sreverse): Remove.
6160         (completion--common-suffix): Use `reverse' instead.
6161         * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
6163 2014-05-22  Glenn Morris  <rgm@gnu.org>
6165         * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
6167 2014-05-21  Daniel Colascione  <dancol@dancol.org>
6169         * files.el (interpreter-mode-alist): Add mksh.
6171         * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
6172         derivative.
6173         (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
6174         mksh. Improve custom spec; allow regular expressions.
6175         (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
6176         (sh-after-hack-local-variables): New function.
6177         (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
6178         (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
6179         the normalization.
6180         (sh-canonicalize-shell): Rewrite to support regexes.
6182 2014-05-21  Leo Liu  <sdl.web@gmail.com>
6184         * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
6186 2014-05-19  Leo Liu  <sdl.web@gmail.com>
6188         * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
6190 2014-05-18  Glenn Morris  <rgm@gnu.org>
6192         * loadup.el:
6193         * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
6195 2014-05-14  Sam Steingold  <sds@gnu.org>
6197         * progmodes/python.el (python-shell-get-or-create-process):
6198         Do not bind `current-prefix-arg' so that C-c C-z does not talk
6199         back unless requested.
6201 2014-05-14  Glenn Morris  <rgm@gnu.org>
6203         * subr.el (with-file-modes): New macro.
6204         * printing.el (pr-save-file-modes): Make obsolete.
6205         * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
6206         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
6207         Add with-file-modes.
6208         * doc-view.el (doc-view-make-safe-dir):
6209         * epg.el (epg--start):
6210         * files.el (locate-user-emacs-file, make-temp-file)
6211         (backup-buffer-copy, move-file-to-trash):
6212         * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
6213         * eshell/esh-util.el (eshell-with-private-file-modes)
6214         (eshell-make-private-directory):
6215         * net/browse-url.el (browse-url-mosaic):
6216         * obsolete/mailpost.el (post-mail-send-it):
6217         * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
6218         * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
6219         Use with-file-modes.
6221         * vc/emerge.el (emerge-make-temp-file): Simplify.
6223 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
6224             Stefan Monnier  <monnier@iro.umontreal.ca>
6226         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
6227         suffix (bug#15419).
6229 2014-05-14  Glenn Morris  <rgm@gnu.org>
6231         * vc/emerge.el (emerge-temp-file-prefix):
6232         Make pointless option obsolete.
6233         (emerge-temp-file-mode): Make non-functional option obsolete.
6235 2014-05-14  Michael Albinus  <michael.albinus@gmx.de>
6237         * net/browse-url.el (browse-url):
6238         Use `unhandled-file-name-directory' when setting `default-directory',
6239         in order to circumvent stalled remote connections.  (Bug#17425)
6241 2014-05-14  Glenn Morris  <rgm@gnu.org>
6243         * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
6244         Optimize on Emacs, which has the relevant functions for ages.
6246 2014-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6248         * simple.el (undo-make-selective-list): Obey undo-no-redo.
6250 2014-05-12  Sam Steingold  <sds@gnu.org>
6252         * calendar/time-date.el (seconds-to-string): New function to
6253         pretty print time delay in seconds.
6255 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6257         * mpc.el (mpc-format): Trim Date to the year.
6258         (mpc-songs-hashcons): Shorten the Date field.
6260         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
6261         into autoloading just because of a silly indirection.
6263 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
6265         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
6267 2014-05-12  Glenn Morris  <rgm@gnu.org>
6269         * emacs-lisp/find-gc.el: Move to ../admin.
6271         * printing.el (pr-version):
6272         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
6274         * net/browse-url.el (browse-url-mosaic):
6275         Create /tmp/Mosaic.PID as a private file.
6277 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6279         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
6280         (advice--member-p): If name is given, only compare the name.
6281         (advice--remove-function): Don't stop at the first match.
6282         (advice--normalize-place): New function.
6283         (add-function, remove-function): Use it.
6284         (advice--add-function): Pass the name, if any, to
6285         advice--remove-function.
6287 2014-05-12  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
6289         * electric.el (electric-indent-post-self-insert-function): Don't use
6290         `pos' after modifying the buffer (bug#17449).
6292 2014-05-12  Stephen Berman  <stephen.berman@gmx.net>
6294         * calendar/todo-mode.el (todo-insert-item-from-calendar):
6295         Correct argument list to conform to todo-insert-item--basic.
6297 2014-05-12  Glenn Morris  <rgm@gnu.org>
6299         * files.el (cd-absolute): Test if directory is accessible
6300         rather than executable.  (Bug#17330)
6302         * progmodes/compile.el (recompile):
6303         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
6305         * net/browse-url.el (browse-url-mosaic):
6306         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
6307         This is CVE-2014-3423.
6309 2014-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6311         * mouse.el: Use the normal toplevel loop while dragging.
6312         (mouse-set-point): Handle multi-clicks.
6313         (mouse-set-region): Handle multi-clicks for drags.
6314         (mouse-drag-region): Update call accordingly.
6315         (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
6316         Use the normal event loop instead of a local while/read-event loop.
6317         (global-map): Remove redundant bindings for double/triple-mouse-1.
6318         * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
6319         Generate synthetic down events when the protocol only sends up events.
6320         (xterm-mouse-last): Remove.
6321         (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
6322         terminal parameter instead.
6323         (xterm-mouse--set-click-count): New function.
6324         (xterm-mouse-event): Detect/generate double/triple clicks.
6325         * reveal.el (reveal-close-old-overlays): Don't close while dragging.
6327         * info.el (Info-quoted): New face.
6328         (Info-mode-font-lock-keywords): New var.
6329         (Info-mode): Use it.
6331         * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
6332         are a hindrance for C-x C-e.
6334 2014-05-11  Leo Liu  <sdl.web@gmail.com>
6336         * net/rcirc.el (rcirc-sentinel): Fix last change.
6338 2014-05-08  Sam Steingold  <sds@gnu.org>
6340         * net/rcirc.el (rcirc-reconnect-delay): New user option.
6341         (rcirc-sentinel): Auto-reconnect to the server if
6342         `rcirc-reconnect-delay' is non-0 (but not more often than its
6343         value in case the host is off-line).
6345 2014-05-09  Eli Zaretskii  <eliz@gnu.org>
6347         * progmodes/grep.el (lgrep): Fix a typo in last commit.
6349 2014-05-09  Glenn Morris  <rgm@gnu.org>
6351         * files.el (file-expand-wildcards):
6352         * man.el (Man-support-local-filenames):
6353         * printing.el (pr-i-directory, pr-interface-directory):
6354         * progmodes/grep.el (lgrep, rgrep):
6355         * textmodes/ispell.el (ispell-call-process)
6356         (ispell-call-process-region, ispell-start-process)
6357         (ispell-init-process): Use file-accessible-directory-p.
6359 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6361         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
6362         (xterm-mouse--read-event-sequence-1000): Return nil if something
6363         looks fishy.
6364         (xterm-mouse-event): Propagate it.
6365         (xterm-mouse-translate-1): Handle it.
6367 2014-05-08  Stephen Berman  <stephen.berman@gmx.net>
6369         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
6370         four slots of the parameter list are filled, make sure to pass it
6371         to the argument list of todo-insert-item--basic.
6373 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6375         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
6376         Add optional `seen' argument to detect and break infinite loops.
6378 2014-05-08  Eli Zaretskii  <eliz@gnu.org>
6380         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
6381         (trace-unsafe, trace-use-tree): Make parentheses style be
6382         according to Emacs style.
6384 2014-05-08  Michael Albinus  <michael.albinus@gmx.de>
6386         * net/tramp-sh.el (tramp-remote-process-environment):
6387         Remove HISTFILE and HISTSIZE; it's too late to set them here.
6388         Add :version entry.
6389         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
6390         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
6391         extra "PSx=..." commands.
6392         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
6393         (Bug#17295)
6395         (tramp-uudecode): Replace the hard-coded temporary file name by a
6396         format specifier.
6397         (tramp-remote-coding-commands): Enhance docstring.
6398         (tramp-find-inline-encoding): Replace "%t" by a temporary file
6399         name.  (Bug#17415)
6400         This is CVE-2014-3424.
6402 2014-05-08  Glenn Morris  <rgm@gnu.org>
6404         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
6405         (find-gc-source-files): Update some names.
6406         (trace-call-tree): Simplify and update.
6407         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
6408         This is CVE-2014-3422.
6410 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6412         * minibuffer.el (completion--try-word-completion): Revert fix for
6413         Bug#15980 (bug#17375).
6415         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
6416         Always store button numbers in the same way in xterm-mouse-last;
6417         Don't burp is xterm-mouse-last is not set as expected.
6418         Never return negative indices.
6420 2014-05-08  Dmitry Gutov  <dgutov@yandex.ru>
6422         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6423         Backtrack one char if the global/char-literal var matcher hits
6424         inside a string.  The next char could be the beginning of an
6425         expression expansion.
6427 2014-05-08  Glenn Morris  <rgm@gnu.org>
6429         * help-fns.el (describe-function-1): Test for an autoload before a
6430         macro, since `macrop' works on autoloads.  (Bug#17410)
6432 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6434         * electric.el (electric-indent-functions-without-reindent): Add yaml.
6436         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
6437         Make sure the new point we return is within the new string (bug#17239).
6439 2014-05-05  Daniel Colascione  <dancol@dancol.org>
6441         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6442         Port `gnu' pattern to rx.
6444 2014-05-05  Jarek Czekalski  <jarekczek@poczta.onet.pl>
6446         Remove unneeded prompt when closing a buffer with active
6447         emacsclient ("Buffer ... still has clients"), #16548.
6448         * server.el (server-start): Remove the only call to:
6449         (server-kill-buffer-query-function): Remove.
6451 2014-05-04  Leo Liu  <sdl.web@gmail.com>
6453         * calendar/diary-lib.el (calendar-chinese-month-name-array):
6454         Defvar to pacify compiler.
6456 2014-05-04  Eli Zaretskii  <eliz@gnu.org>
6458         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
6460 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6462         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
6463         Use nil rather than `default' for the "default" appearance (bug#17388).
6464         * vc/ediff-util.el (ediff-inferior-compare-regions)
6465         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
6466         a misleading `default' value when it's really a boolean.
6467         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
6468         overlay is not visible.
6470 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
6472         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
6473         (todo-menu): Uncomment and update.
6475 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
6477         * calendar/todo-mode.el: Reimplement item editing to have the same
6478         basic user interface as item insertion, and make small UI and
6479         larger internal improvements to the latter.
6480         (todo-insert-item): Add reference to the Todo mode user manual to
6481         the documentation string.
6482         (todo-insert-item--basic): Rename from todo-basic-insert-item and
6483         adjust all callers.  Change signature to combine diary and
6484         nonmarking arguments.  Incorporate functionality of deleted item
6485         copying command and add error checking.  Remove detailed
6486         descriptions of the arguments from the documentation string, since
6487         this is treated in the Todo mode user manual.
6488         (todo-copy-item, todo-edit-multiline-item)
6489         (todo-edit-done-item-comment, todo-edit-item-header)
6490         (todo-edit-item-time, todo-edit-item-date-from-calendar)
6491         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
6492         (todo-edit-item-date-year, todo-edit-item-date-month)
6493         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
6494         Remove.
6495         (todo-edit-item): Reimplement as wrapper command for
6496         todo-edit-item--next-key and make it distinguish done and not done
6497         todo items.
6498         (todo-edit-item--text): New function, replacing old command
6499         todo-edit-item and incorporating deleted commands
6500         todo-edit-multiline-item and todo-edit-done-item-comment.
6501         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
6502         Use only numeric value of prefix argument.  Remove detailed
6503         descriptions of the arguments from the documentation string, since
6504         this is treated in the Todo mode user manual.
6505         (todo-edit-item--diary-inclusion): New function, replacing old
6506         command todo-edit-item-diary-inclusion and incorporating and fixing
6507         functionality of deleted command todo-edit-item-diary-nonmarking,
6508         making sure to remove todo-nondiary-marker when adding
6509         diary-nonmarking-symbol.
6510         (todo-edit-category-diary-inclusion): Make sure to delete
6511         diary-nonmarking-symbol when adding todo-nondiary-marker.
6512         (todo-edit-category-diary-nonmarking): Fix indentation.
6513         (todo-insert-item--parameters): Group diary and nonmarking
6514         parameters together.
6515         (todo-insert-item--apply-args): Adjust to signature of
6516         todo-insert-item--basic and incorporate copy parameter.
6517         Make small code improvements.
6518         (todo-insert-item--next-param): Improve prompt and adjust it to
6519         new parameter grouping.  Remove obsolete code.
6520         (todo-edit-item--param-key-alist)
6521         (todo-edit-item--date-param-key-alist)
6522         (todo-edit-done-item--param-key-alist): New defconsts.
6523         (todo-edit-item--prompt): New variable.
6524         (todo-edit-item--next-key): New function.
6525         (todo-key-bindings-t): Bind "e" to todo-edit-item.
6526         Remove bindings of deleted commands.
6528 2014-05-04  Leo Liu  <sdl.web@gmail.com>
6530         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
6532 2014-05-04  Glenn Morris  <rgm@gnu.org>
6534         * allout-widgets.el (allout-widgets-tally)
6535         (allout-decorate-item-guides):
6536         * menu-bar.el (menu-bar-positive-p):
6537         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
6538         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
6539         * progmodes/js.el (js--inside-param-list-p)
6540         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
6541         * progmodes/prolog.el (region-exists-p):
6542         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
6543         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
6544         Doc fixes (replace `iff').
6546 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6548         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
6550 2014-05-04  Leo Liu  <sdl.web@gmail.com>
6552         Support Chinese diary entries in calendar and diary.  (Bug#17393)
6553         * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
6554         (calendar-chinese-from-absolute-for-diary)
6555         (calendar-chinese-to-absolute-for-diary)
6556         (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
6557         (diary-chinese-list-entries): New functions to list and mark
6558         Chinese diary entries in the calendar window.
6559         (diary-chinese-anniversary)
6560         (diary-chinese-insert-anniversary-entry)
6561         (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
6562         (diary-chinese-insert-yearly-entry): New commands to insert
6563         Chinese diary entries.
6565         * calendar/diary-lib.el (diary-font-lock-keywords):
6566         Support font-locking Chinese dates.
6568         * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
6569         inserting Chinese diary entries.
6571         * calendar/calendar.el (diary-chinese-entry-symbol):
6572         New customizable variable.
6573         (calendar-mode-map): Add bindings for inserting Chinese diary
6574         entries.
6576 2014-05-03  Juri Linkov  <juri@jurta.org>
6578         * dired.el (dired-check-switches, dired-switches-recursive-p):
6579         New functions.  (Bug#17218)
6580         (dired-switches-escape-p, dired-move-to-end-of-filename):
6581         Use `dired-check-switches'.
6582         (dired-insert-old-subdirs, dired-build-subdir-alist)
6583         (dired-sort-R-check): Use `dired-switches-recursive-p'.
6585 2014-05-01  Barry O'Reilly  <gundaetiapo@gmail.com>
6587         * simple.el (undo-make-selective-list): New algorithm fixes
6588         incorrectness of position adjustments when undoing in region.
6589         (Bug#17235)
6590         (undo-elt-crosses-region): Make obsolete.
6591         (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
6592         New functions to adjust positions using undo-deltas.
6594 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6596         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
6597         the last consecutive closing paren (bug#17345).
6599 2014-04-30  Reuben Thomas  <rrt@sc3d.org>
6601         * dired.el (dired-mode): make terminology for eXpunge command
6602         consistent.  (Bug#17276)
6604 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
6606         * dired.el (dired-initial-position-hook, dired-initial-position):
6607         Doc string fixes.
6609 2014-04-30  Glenn Morris  <rgm@gnu.org>
6611         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
6613 2014-04-30  Matthias Dahl  <matthias.dahl@binary-island.eu>
6615         * faces.el (face-spec-recalc): Apply X resources only after the
6616         defface spec has been applied. Thus, X resources are no longer
6617         overriden by the defface spec which also fixes issues on win32 where
6618         the toolbar coloring was wrong because it is set through X resources
6619         and was (wrongfully) overriden.  (Bug#16694)
6621 2014-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6623         * textmodes/rst.el (electric-pair-pairs): Declare.
6624         (rst-mode): Set it (bug#17131).
6626 2014-04-30  Juri Linkov  <juri@jurta.org>
6628         * desktop.el (desktop-value-to-string): Let-bind `print-length'
6629         and `print-level' to nil.  (Bug#17351)
6631 2014-04-30  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
6633         * battery.el (battery-update): Handle the case where battery
6634         status is "N/A" (bug#17319).
6636 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6638         * progmodes/ps-mode.el: Use SMIE.  Move string and comment recognition
6639         to syntax-propertize.
6640         (ps-mode-auto-indent): Mark as obsolete.
6641         (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
6642         (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
6643         word regexp operators.
6644         (ps-mode-map): Move initialization into declaration.  Remove binding
6645         for TAB, RET, >, ], and }.
6646         (ps-mode-syntax-table): Move initialization into declaration.
6647         Don't give word syntax to non-word chars.
6648         (ps-run-mode-map): Move initialization into declaration.
6649         (ps-mode-menu-main): Remove auto-indent entry.
6650         (ps-mode-smie-rules): New function.
6651         (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
6652         (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
6653         (ps-mode--string-syntax-table): New const.
6654         (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
6655         New functions.
6656         (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
6657         (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
6659 2014-04-27  Daniel Colascione  <dancol@dancol.org>
6661         * term/xterm.el (xterm-paste): Use large finite timeout when
6662         reading event to avoid putting keys in this-command-keys.
6664 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6666         * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
6667         (perl-syntax-propertize-function): Use it.  Extend handling of
6668         here-docs to the unquoted case.
6670 2014-04-25  Eli Zaretskii  <eliz@gnu.org>
6672         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
6673         Use equal-including-properties to compare help-echo strings (bug#17331).
6675 2014-04-25  Leo Liu  <sdl.web@gmail.com>
6677         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
6678         Fix syntax for @.  (Bug#17325)
6680 2014-04-25  Daniel Colascione  <dancol@dancol.org>
6682         * emacs-lisp/cl.el (gv): Require gv early to break eager
6683         macro-expansion cycles.
6685 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6687         * simple.el (region-active-p): Check there's a mark (bug#17324).
6689         * simple.el (completion-list-mode-map): Use choose-completion for the
6690         mouse binding as well (bug#17302).
6691         (completion-list-mode, completion-setup-function): Adjust docstring and
6692         echo area message accordingly.
6693         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
6694         calling convention of choose-completion.
6695         * comint.el (comint-dynamic-list-completions):
6696         * term.el (term-dynamic-list-completions): Accept choose-completion.
6698         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
6699         &, |, +, - and * can't be a division (bug#17317).
6701         * term/xterm.el (xterm--version-handler): Don't use modern xterm
6702         features on gnome-terminal (bug#16988).
6704 2014-04-25  Thien-Thi Nguyen  <ttn@gnu.org>
6706         Improve Scheme font-locking for (define ((foo ...) ...) ...).
6708         * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
6709         the declared object, ignore zero or more parens, not zero or one.
6711 2014-04-24  Leo Liu  <sdl.web@gmail.com>
6713         * progmodes/xscheme.el (xscheme-expressions-ring)
6714         (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
6715         (xscheme-control-g-disabled-p, xscheme-process-filter-state)
6716         (xscheme-allow-output-p, xscheme-prompt)
6717         (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
6719         * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
6720         Comment out unused functions.
6722 2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6724         * info.el: Use lexical-binding and cl-lib.
6725         Use defvar-local and setq-local instead of make-local-variable.
6726         (Info-apropos-matches): Avoid add-to-list.
6727         (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
6729 2014-04-24  Daniel Colascione  <dancol@dancol.org>
6731         * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
6733 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6735         * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
6737 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
6739         * dired.el (dired-insert-set-properties): Do not consider
6740         subdirectory headings and empty lines to be information that
6741         `dired-hide-details-mode' should hide.  (Bug#17228)
6743 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
6745         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6746         Remove test messages.
6747         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
6748         and `target' twice.
6750 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6752         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
6753         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
6755         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
6757 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
6759         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6760         Set "IFS=" when using read builtin, in order to preserve spaces in
6761         the file name.  Add test messages for hunting a bug on hydra.
6762         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
6764 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6766         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
6767         Don't prettify a word within a symbol.
6769 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
6771         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
6772         possible.
6774 2014-04-22  Daniel Colascione  <dancol@dancol.org>
6776         * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
6777         use defun to define `function-put'.
6779 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6781         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
6782         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
6783         (lisp-mode-variables): Set font-lock-extra-managed-props.
6785         * emacs-lisp/byte-run.el (function-put): New function.
6786         (defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
6787         * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
6788         (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
6789         Use them.
6791 2014-04-22  Daniel Colascione  <dancol@dancol.org>
6793         * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
6794         Add `full-p' parameter; when nil, call `macroexpand' instead of
6795         `macroexpand-all'.
6797         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
6798         Improve docstrings.
6800         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6801         Use lambda function values, not quoted lambdas.
6802         (byte-compile-recurse-toplevel): Remove extraneous &optional.
6804         * emacs-lisp/cl-macs.el
6805         (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
6806         (cl-struct-slot-value): Conditionally use aref or nth so that the
6807         compiler produces optimal code.
6809 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6811         * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
6812         (inline): Don't inline cl--set-elt.
6813         (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
6814         Define as inlinable instead.
6815         (cl-struct-set-slot-value): Remove.
6817         * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
6818         * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
6819         Use setf instead.
6821 2014-04-21  Daniel Colascione  <dancol@dancol.org>
6823         * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
6824         last two parameters after all.
6825         (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
6826         (cl--compiler-macro-assoc,cl-struct-slot-value)
6827         (cl-struct-set-slot-value): Stop using them.
6829 (2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6831         * image-mode.el (image-mode-window-put): Don't assume there's a `t'
6832         entry in image-mode-winprops-alist.
6834 2014-04-21  Daniel Colascione  <dancol@dancol.org>
6836         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
6837         (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
6838         (byte-compile-toplevel-file-form): Use it.
6840         * emacs-lisp/cl-macs.el:
6841         (cl--loop-let): Properly destructure `while' clauses.
6843 2014-04-20  Daniel Colascione  <dancol@dancol.org>
6845         * vc/vc.el (vc-root-dir): New public autoloaded function for
6846         generically finding the current VC root.
6847         * vc/vc-hooks.el (vc-not-supported): New error.
6848         (vc-call-backend): Signal `vc-not-supported' instead of generic error.
6850 2014-04-20  Daniel Colascione  <dancol@dancol.org>
6852         * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
6853         argument.
6854         (cl--const-expr-val): cl--const-expr-val should macroexpand its
6855         argument in case we're inside a symbol-macrolet.
6856         (cl--do-arglist, cl--compiler-macro-typep)
6857         (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
6858         environment to `cl--const-expr-val'.
6859         (cl-struct-sequence-type,cl-struct-slot-info)
6860         (cl-struct-slot-offset, cl-struct-slot-value)
6861         (cl-struct-set-slot-value): New functions.
6863 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6865         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
6866         assignments such as "case=hello" (bug#17297).
6868 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
6870         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
6871         Do not autoload.
6872         (tramp-file-name-handler, tramp-completion-file-name-handler):
6873         Revert patch from 2014-04-10, it isn't necessary anymore.
6874         (tramp-autoload-file-name-handler)
6875         (tramp-register-autoload-file-name-handlers): New defuns.
6876         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
6877         (tramp-register-file-name-handlers): Remove also
6878         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
6879         Do not autoload its invocation, but eval it after loading of 'tramp.
6881         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
6883         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
6885 2014-04-17  Daniel Colascione  <dancol@dancol.org>
6887         Add support for bracketed paste mode; add infrastructure for
6888         managing terminal mode enabling and disabling automatically.
6890         * xt-mouse.el:
6891         (xterm-mouse-mode): Simplify.
6892         (xterm-mouse-tracking-enable-sequence)
6893         (xterm-mouse-tracking-disable-sequence): New constants.
6894         (turn-on-xterm-mouse-tracking-on-terminal)
6895         (turn-off-xterm-mouse-tracking-on-terminal):
6896         Use tty-mode-set-strings and tty-mode-reset-strings terminal
6897         parameters instead of random hooks.
6898         (turn-on-xterm-mouse-tracking)
6899         (turn-off-xterm-mouse-tracking): Delete.
6901         * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
6902         (xterm-paste-ending-sequence): New constant.
6903         (xterm-paste): New command used for bracketed paste support.
6905         (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
6906         (terminal-init-xterm-bracketed-paste-mode): New function.
6907         (terminal-init-xterm): Call it.
6908         (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
6909         and tty-mode-reset-strings instead of random hooks.
6910         (xterm-turn-on-modify-other-keys)
6911         (xterm-turn-off-modify-other-keys)
6912         (xterm-remove-modify-other-keys): Delete obsolete functions.
6914         * term/screen.el: Rewrite to just use the xterm code.
6915         Add copyright notice.  Mention tmux.
6917 2014-04-17  Ian D  <dunni@gnu.org>  (tiny change)
6919         * image-mode.el (image-mode-window-put): Also update the property of
6920         the "default window".
6921         * doc-view.el (doc-view-new-window-function): If no window
6922         exists, move to the last known page.
6924 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6926         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
6927         here-documents (bug#17262).
6929 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
6931         * term/pc-win.el (x-list-fonts, x-get-selection-value):
6932         Provide doc strings, as required by snarf-documentation.
6934 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6936         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
6937         arg of overlays-at.  Use `invisible-p'.
6939         * obsolete/lucid.el (extent-at):
6940         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
6941         overlays-at.
6942         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
6944 2014-04-16  João Távora  <joaotavora@gmail.com>
6946         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
6947         links.  (Bug#17217).
6949 2014-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
6951         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
6952         Use mapc to loop over a vector.  (Bug#17257).
6954 2014-04-16  Michael Albinus  <michael.albinus@gmx.de>
6956         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
6957         patch, there are new problems with file names containing spaces.
6958         Get rid of backticks.  (Bug#17238)
6960 2014-04-16  João Távora  <joaotavora@gmail.com>
6962         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
6963         possible bug.
6965 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
6967         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
6968         (blink-cursor-mode): Mention customization variables and the
6969         effect of 'blink-cursor-blinks'.
6971 2014-04-16  Barry O'Reilly  <gundaetiapo@gmail.com>
6973         * simple.el (undo): Prevent insertion of identity mapping into
6974         undo-equiv-table so as undo-only does not inf loop in the presence
6975         of consecutive nils in undo list.
6977 2014-04-16  Matthias Dahl  <matthias.dahl@binary-island.eu>
6979         * faces.el (make-face): Deprecate optional argument as it is no
6980         longer needed/used since the conditional X resources handling
6981         has been pushed down to make-face-x-resource-internal itself.
6982         (make-empty-face): Don't pass optional argument to make-face.
6984 2014-04-16  Karl Fogel  <kfogel@red-bean.com>
6986         * savehist.el (savehist-save): Remove workaround for a read-passwd
6987         bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
6988         noticing that the shim was still present.
6990 2014-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6992         * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
6994 2014-04-14  Juanma Barranquero  <lekktu@gmail.com>
6996         * faces.el (face-set-after-frame-default): Remove unused local variable.
6998 2014-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7000         * progmodes/grep.el: Use lexical-binding.
7001         (grep-expand-template): Pass explicit lexical env to `eval'.
7002         (zrgrep): Let-bind grep-find-template explicitly.
7004         * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
7005         * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
7007 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
7009         * international/characters.el <standard-case-table>: Add entries
7010         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
7011         Set category of Coptic characters be 'g' (Greek).
7013 2014-04-12  Leo Liu  <sdl.web@gmail.com>
7015         * progmodes/octave.el (completion-table-with-cache):
7016         Define if not available.
7017         (octave-goto-function-definition, octave-sync-function-file-names)
7018         (octave-find-definition-default-filename):
7019         Backquote upattern for compatibility.
7021 2014-04-12  Michael Albinus  <michael.albinus@gmx.de>
7023         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
7024         name twice due to backticks.  (Bug#17238)
7026 2014-04-12  Glenn Morris  <rgm@gnu.org>
7028         * term/w32-win.el (x-win-suspend-error):
7029         * term/x-win.el (x-win-suspend-error): Sync docs.
7031 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
7033         * faces.el (make-face): Remove deprecated optional argument.
7034         The conditional application of X resources is handled directly by
7035         make-face-x-resource-internal since Emacs 24.4.
7036         (make-empty-face): Don't pass optional argument to make-face.
7038 2014-04-11  Glenn Morris  <rgm@gnu.org>
7040         * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport.  (Bug#16429)
7042 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7044         Ediff's overlay priorities cause more trouble than they solve.
7045         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
7046         (ediff-highest-priority): Remove function (bug#17234).
7047         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
7048         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
7049         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
7050         overlay priorities.
7052 2014-04-11  Feng Li  <fengli@gmail.com>  (tiny change)
7054         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
7055         entry; use symbol boundaries to avoid mis-matches.
7057 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
7059         * net/tramp.el (tramp-file-name-handler)
7060         (tramp-completion-file-name-handler): Avoid recursive loading.
7062         * net/tramp-sh.el (tramp-make-copy-program-file-name):
7063         Quote result also locally.
7065 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7067         * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
7068         Remove left-over code.
7070         * newcomment.el (comment-indent-new-line): Sink code where it's used.
7071         Reuse the previous comment's indentation unconditionally if it's on its
7072         own line.
7074 2014-04-09  Daniel Colascione  <dancol@dancol.org>
7076         * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
7077         `no-syntax-crossing' arguments.  Forward to `up-list'.
7078         (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
7079         Implement logic for escaping from strings.  Use narrowing to deal
7080         with corner cases.
7082 2014-04-09  Leo Liu  <sdl.web@gmail.com>
7084         * net/rcirc.el (rcirc-connection-info): New variable.
7085         (rcirc-connect): Use it to store connection info.
7086         (rcirc-buffer-process): Avoid get-buffer-process which returns nil
7087         for killed process.
7088         (rcirc-cmd-reconnect): New command.  (Bug#17045)
7089         (rcirc-mode, set-rcirc-encode-coding-system)
7090         (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
7092 2014-04-09  Daniel Colascione  <dancol@dancol.org>
7094         * emacs-lisp/cl-indent.el: Add comment claiming
7095         facility is also good for elisp.
7096         (lisp-indent-find-method): New function.
7097         (common-lisp-indent-function): Recognize cl-loop.
7098         (common-lisp-indent-function-1): Recognize cl constructs; use
7099         `lisp-indent-find-method' instead of `get' directly.
7100         (if): Use else-body style for elisp.
7102 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
7104         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7105         Module methods.  (Bug#17216)
7107 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7109         * help.el (describe-bindings): Fix buffer handling (bug#17210).
7110         (describe-bindings-internal): Mark obsolete.
7112 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7114         * subr.el (with-silent-modifications): Don't bind deactivate-mark,
7115         buffer-file-name, and buffer-file-truename any more.
7117 2014-04-08  Leo Liu  <sdl.web@gmail.com>
7119         Use lexical-binding and require cl-lib.
7120         * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
7121         (rcirc-handler-generic, rcirc-fill-paragraph)
7122         (rcirc-format-response-string, rcirc-target-buffer)
7123         (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
7124         (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
7125         (rcirc-ctcp-sender-PING, rcirc-browse-url)
7126         (rcirc-markup-timestamp, rcirc-markup-attributes)
7127         (rcirc-markup-my-nick, rcirc-markup-urls)
7128         (rcirc-markup-bright-nicks, rcirc-markup-fill)
7129         (rcirc-check-auth-status, rcirc-handler-WALLOPS)
7130         (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
7131         (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
7132         (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
7133         (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
7134         (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
7135         (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
7136         (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
7137         (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
7138         (rcirc-handler-CTCP-response): Fix unused arguments warnings and
7139         use cl-lib.
7141 2014-04-07  João Távora  <joaotavora@gmail.com>
7143         * elec-pair.el (electric-pair--syntax-ppss):
7144         When inside comments parse from comment beginning.
7145         (electric-pair--balance-info): Fix typo in comment.
7146         (electric-pair--in-unterminated-string-p): Delete.
7147         (electric-pair--unbalanced-strings-p): New function.
7148         (electric-pair-string-bound-function): New var.
7149         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
7150         according to `electric-pair--in-unterminated-string-p'
7152         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
7153         Inhibit quote pairing if point-max is inside an unterminated string.
7154         (electric-pair--looking-at-unterminated-string-p): Delete.
7155         (electric-pair--in-unterminated-string-p): New function.
7157 2014-04-07  Glenn Morris  <rgm@gnu.org>
7159         * shell.el (shell-directory-tracker):
7160         Go back to just ignoring failures.  (Bug#17159)
7162 2014-04-07  João Távora  <joaotavora@gmail.com>
7164         Fix `electric-pair-delete-adjacent-pairs' in modes binding
7165         backspace. (bug#16981)
7166         * elec-pair.el (electric-pair-backward-delete-char): Delete.
7167         (electric-pair-backward-delete-char-untabify): Delete.
7168         (electric-pair-mode-map): Bind backspace to a menu item filtering
7169         a new `electric-pair-delete-pair' command.
7170         (electric-pair-delete-pair): New command.
7172         * progmodes/python.el (python-electric-pair-string-delimiter):
7173         Fix triple-quoting electricity.  (Bug#17192)
7175         * elec-pair.el (electric-pair-post-self-insert-function):
7176         Don't skip whitespace when `electric-pair-text-pairs' and
7177         `electric-pair-pairs' were used. syntax to
7178         electric-pair--skip-whitespace.  (Bug#17183)
7180 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
7182         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
7183         "<F>".  (Bug#17199)
7185 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7187         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
7188         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
7190 2014-04-07  Glenn Morris  <rgm@gnu.org>
7192         * help.el (view-lossage): Doc tweak.
7194 2014-04-07  Matthias Dahl  <ml_emacs-lists@binary-island.eu>
7196         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
7197         only when inhibit-x-resources is nil, and do that earlier in the
7198         function.  Doc fix.  (Bug#16694)
7199         (face-spec-choose): Accept additional optional argument, whose
7200         value is returned if no matching attributes are found.
7201         (face-spec-recalc): Use the new optional argument when calling
7202         face-spec-choose.  (Bug#16378)
7203         (make-face-x-resource-internal): Do nothing when
7204         inhibit-x-resources is non-nil.  Don't touch the default face if
7205         reversed video is given--as was done in previous versions of Emacs.
7206         (face-set-after-frame-default): Don't call
7207         make-face-x-resource-internal here.  (Bug#16434)
7209 2014-04-07  Tassilo Horn  <tsdh@gnu.org>
7211         * doc-view.el (doc-view-bookmark-jump):
7212         Use `bookmark-after-jump-hook' to jump to the right page after the
7213         buffer is shown in a window.  (bug#16090)
7215 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
7217         * international/characters.el (mirroring): Fix last change:
7218         instead of loading uni-mirrored.el explicitly, do that implicitly
7219         by creating the 'mirroring' uniprop table.  This avoids announcing
7220         the loading of uni-mirrored.el.
7222 2014-04-07  Glenn Morris  <rgm@gnu.org>
7224         * files.el (buffer-stale--default-function)
7225         (buffer-stale-function, revert-buffer--default):
7226         * autorevert.el (auto-revert-buffers): Doc tweaks.
7228 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
7230         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
7232 2014-04-07  Glenn Morris  <rgm@gnu.org>
7234         * files.el (make-backup-file-name-function)
7235         (make-backup-file-name, make-backup-file-name--default-function)
7236         (make-backup-file-name-1, find-backup-file-name)
7237         (revert-buffer-function, revert-buffer-insert-file-contents-function)
7238         (buffer-stale--default-function, buffer-stale-function)
7239         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
7240         (revert-buffer, revert-buffer--default)
7241         (revert-buffer-insert-file-contents--default-function):
7242         Doc fixes related to defaults no longer being nil.
7243         (make-backup-file-name-function): Bump :version.
7244         Restore nil as a valid but deprecated custom type.
7246 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7248         * progmodes/perl-mode.el (perl-syntax-propertize-function):
7249         Handle $' used as a variable (bug#17174).
7251         * progmodes/perl-mode.el (perl-indent-new-calculate):
7252         Handle forward-sexp failure (bug#16985).
7253         (perl-syntax-propertize-function): Add "foreach" and "for" statement
7254         modifiers introducing expressions (bug#17116).
7256 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7258         * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
7260 2014-04-05  Leo Liu  <sdl.web@gmail.com>
7262         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7263         Add define-compilation-mode.
7265 2014-04-04  João Távora  <joaotavora@gmail.com>
7267         * elec-pair.el (electric-pair--syntax-ppss): When inside comments
7268         parse from comment beginning.
7269         (electric-pair--balance-info): Fix typo in comment.
7270         (electric-pair--in-unterminated-string-p): Delete.
7271         (electric-pair--unbalanced-strings-p): New function.
7272         (electric-pair-string-bound-function): New var.
7273         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
7274         according to `electric-pair--in-unterminated-string-p'.
7276 2014-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7278         * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
7279         Move declaration before first use.
7280         (reftex-move-to-next-arg): Silence compiler warning.
7282 2014-04-04  Joost Kremers  <joostkremers@fastmail.fm>  (tiny change)
7284         * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
7285         Use `window-total-width' instead of `window-width'.
7287 2014-04-03  Daniel Colascione  <dancol@dancol.org>
7289         * subr.el (set-transient-map): Remove rms's workaround entirely;
7290         use new `suspicious-object' subr to mark our lambda for closer
7291         scrutiny during gc.
7293 2014-04-02  Richard Stallman  <rms@gnu.org>
7295         * subr.el (set-transient-map): Comment out previous change.
7297 2014-04-02  Glenn Morris  <rgm@gnu.org>
7299         * menu-bar.el (menu-bar-file-menu):
7300         * vc/ediff.el (ediff-current-file):
7301         Update for revert-buffer-function no longer being nil by default.
7303         * simple.el (command-execute): Respect nil disabled-command-function.
7305 2014-04-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
7307         * simple.el (command-execute): Do not execute the command when it
7308         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
7310 2014-04-02  Juri Linkov  <juri@jurta.org>
7312         * dired-aux.el (dired-compress-file): Don't use string-match-p
7313         because its match data is used afterwards.
7315 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7317         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
7318         0 like nil.
7320 2014-04-02  João Távora  <joaotavora@gmail.com>
7322         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
7323         Inhibit quote pairing if point-max is inside an unterminated string.
7324         (electric-pair--looking-at-unterminated-string-p):
7325         Delete.
7326         (electric-pair--in-unterminated-string-p): New function.
7328 2014-04-01  Daniel Colascione  <dancol@dancol.org>
7330         * minibuffer.el (minibuffer-complete): Prevent assertion failure
7331         when trying to complete the prompt.
7333 2014-03-31  Leo Liu  <sdl.web@gmail.com>
7335         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
7336         Refactor out eldoc-documentation-function-default.
7337         (eldoc-documentation-function-default): New function.
7338         (eldoc-documentation-function): Change value.
7340 2014-03-31  Glenn Morris  <rgm@gnu.org>
7342         * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
7344         * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
7345         (vhdl-compose-components-package, vhdl-compose-configuration):
7346         Abbreviate default-directory (missing from some previous upstream sync).
7348 2014-03-31  Reto Zimmermann  <reto@gnu.org>
7350         Sync with upstream vhdl mode v3.35.2.
7351         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
7352         (top-level): No longer require assoc.
7353         (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
7354         New functions.  Use throughout to replace aget etc.
7355         (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
7356         (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
7357         (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
7358         (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
7359         (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
7360         except `vhdl-compiler'.
7361         (vhdl-error-regexp-add-emacs): Remove all other compilers,
7362         when appropriate.
7364 2014-03-31  Glenn Morris  <rgm@gnu.org>
7366         * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
7367         Revert 2014-03-26 merge goof; go back to using defalias.
7369 2014-03-30  Daniel Colascione  <dancol@dancol.org>
7371         * comint.el (comint-send-input):
7372         Deactivate completion-in-region-mode before we send comint input.
7373         (Bug#17139).
7375         * simple.el (keyboard-quit): Deactivate completion-in-region-mode
7376         on keyboard-quit.
7378 2014-03-29  Glenn Morris  <rgm@gnu.org>
7380         * textmodes/reftex.el: Manage most autoloads automatically.
7381         * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
7382         * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
7383         * textmodes/reftex-index.el, textmodes/reftex-parse.el:
7384         * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
7385         * textmodes/reftex-toc.el: Set generated-autoload-file,
7386         and add autoload cookies for reftex.el.
7387         * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
7389 2014-03-28  Glenn Morris  <rgm@gnu.org>
7391         * cus-start.el (report-emacs-bug-address): Set custom properties.
7392         * mail/emacsbug.el (report-emacs-bug-address):
7393         Variable is now defined in emacs.c.
7395         * mail/emacsbug.el (report-emacs-bug):
7396         Include system-configuration-features.
7398 2014-03-28  Michal Nazarewicz  <mina86@mina86.com>
7400         * simple.el (cycle-spacing): Never delete spaces on first run by
7401         default, but do so in a new 'fast mode and if there are already
7402         N spaces (the previous behavior).
7403         Compare N with its value in previous invocation so that changing
7404         prefix argument restarts `cycle-spacing' sequence.
7405         The idea is that with this change, binding M-SPC to
7406         `cycle-spacing' should not introduce any changes in behavior of
7407         the binding so long as users do not type M-SPC twice in a raw with
7408         the same prefix argument or lack thereof.
7410 2014-03-28  Glenn Morris  <rgm@gnu.org>
7412         * faces.el (term-file-aliases): New variable.
7413         (tty-run-terminal-initialization): Respect term-file-aliases.
7414         * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
7415         * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
7416         * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
7418 2014-03-27  Glenn Morris  <rgm@gnu.org>
7420         * startup.el (inhibit-startup-hooks): Doc tweak.
7421         (normal-top-level): Simplify running of hooks.
7422         For window-setup-hook, respect inhibit-startup-hooks.
7423         (command-line-1): Don't set window-setup-hook to nil.
7425         Allow selective autoloading from obsolete/ directory.
7426         * Makefile.in (obsolete-autoloads): New rule.
7427         (autoloads): Run obsolete-autoloads.
7428         * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
7429         * simple.el (iswitchb-mode): Remove hand-written autoloads.
7431 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
7433         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7434         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
7436         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7437         Don't propertize `?' or `!' as symbol constituent when after
7438         colon.  (Bug#17097)
7440 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
7442         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
7443         which is no longer needed and causes trouble in GTK builds (bug#17046).
7445         * emacs-lisp/package-x.el (package--archive-contents-from-url):
7446         Use url-insert-file-contents; package-handle-response no longer exists.
7448 2014-03-26  Daniel Colascione  <dancol@dancol.org>
7450         * simple.el (process-menu-mode-map): New variable.
7451         (process-menu-delete-process): New command.
7453 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
7455         * emacs-lisp/package.el: Fix bug#16733 (again).
7456         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
7457         (url-http-target-url): Remove unused declarations.
7458         (package-handle-response): Remove.
7459         (package--with-work-buffer): Use url-insert-file-contents and simplify.
7460         (package--download-one-archive): Use current-buffer instead of
7461         dynamic binding of `buffer'.
7462         (describe-package-1): Do not decode readme-string.
7464 2014-03-26  Michael Albinus  <michael.albinus@gmx.de>
7466         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
7468         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
7469         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
7470         `remote-file-name-inhibit-cache' to nil in the second pass.
7471         (tramp-find-executable): Do not call "which" on SunOS.
7472         (tramp-send-command-and-check): Fix docstring.
7473         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
7474         check whether source directory has set the sticky bit.
7476 2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
7478         * simple.el (primitive-undo): Only process marker adjustments
7479         validated against their corresponding (TEXT . POS).  Issue warning
7480         for lone marker adjustments in undo history.  (Bug#16818)
7481         (undo-make-selective-list): Add marker adjustments to selective
7482         undo list based on whether their corresponding (TEXT . POS) is in
7483         the region.  Remove variable adjusted-markers, which was unused
7484         and only non nil during undo-make-selective-list.
7485         (undo-elt-in-region): Return nil when passed a marker adjustment
7486         and explain in function doc.
7488 2014-03-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
7490         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
7492 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
7494         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
7495         Match special global variables without curlies, too.
7496         (ruby-font-lock-keywords): Simplify the matcher for special global
7497         variables.  Don't require a non-word character after the variable.
7498         (Bug#17057)
7500 2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7502         * simple.el (redisplay-highlight-region-function): Increase priority of
7503         overlay to make sure boundaries are visible (bug#15899).
7505 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
7507         * frameset.el (frameset--initial-params): Fix typo in parameter name.
7508         (frameset-restore): Compare display strings with equal.
7510         * frame.el (make-frame): Don't quote display name in error message,
7511         it is already a string.
7513 2014-03-26  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7515         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
7516         the password.
7518 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
7520         * emacs-lisp/package.el (package--add-to-archive-contents):
7521         Include already installed and built-in packages in
7522         `package-archive-contents'.
7523         (package-install): Don't include already installed packages in the
7524         options during interactive invocation.  (Bug#16762)
7525         (package-show-package-list): If the buffer is already displayed in
7526         another window, switch to that window.
7528 2014-03-26  Reto Zimmermann  <reto@gnu.org>
7530         Sync with upstream vhdl mode v3.35.1.
7531         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
7532         (vhdl-compiler-alist): Doc fix.
7533         (vhdl-goto-line): Remove.
7534         (vhdl-mode-abbrev-table-init): Add XEmacs compat.
7535         (vhdl-mode) <paragraph-start>: Fix value.
7536         (vhdl-fix-statement-region): Not `for' in wait-statement.
7537         (vhdl-beautify-region): Also (un)tabify.
7538         (vhdl-get-visible-signals):
7539         Scan declarative part of generate statements.
7540         (vhdl-template-record): Fix indentation for record type declaration.
7541         (vhdl-expand-abbrev, vhdl-expand-paren):
7542         Revert to using fset again rather than defalias.
7543         (vhdl-scan-directory-contents): Tweak.
7544         (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
7545         (vhdl-compose-components-package):
7546         Replace vhdl-goto-line with forward-line.
7547         (top-level): Tweak speedbar frame selection.
7548         (vhdl-generate-makefile-1): Support for compilers with no
7549         unit-to-file name mapping (create directory with dummy files).
7551 2014-03-26  Wilson Snyder  <wsnyder@wsnyder.org>
7553         Sync with upstream verilog-mode revision 702457d.
7554         * progmodes/verilog-mode.el (verilog-mode-version): Update.
7555         (create-lockfiles): Declare.
7556         (verilog-read-decls): Fix module header imports, bug709.
7557         Reported by Victor Lau.
7558         Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
7559         (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
7560         interface-only modules, bug721.  Reported by Dean Hoyt.
7562 2014-03-26  Glenn Morris  <rgm@gnu.org>
7564         * obsolete/gulp.el: Move here from emacs-lisp/.
7566         * files.el (lock-buffer, unlock-buffer, file-locked-p):
7567         Remove fallback aliases, since they are always defined now.
7569 2014-03-24  Daniel Colascione  <dancol@dancol.org>
7571         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
7572         instead of cl-loop search function.
7574 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
7576         * calendar/parse-time.el (parse-time-iso8601-regexp)
7577         (parse-iso8601-time-string): Copy from `url-dav' so that we can use
7578         it more generally.
7580 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
7582         * net/dns.el (network-interface-list): Define for XEmacs.
7584 2014-03-23  Magnus Henoch  <magnus.henoch@gmail.com>
7586         * net/dns.el (dns-servers-up-to-date-p): New function to see whether
7587         the network interfaces changed.
7588         (dns-query): Use it to flush the data.
7590 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
7592         * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
7594 2014-03-23  Daniel Colascione  <dancol@dancol.org>
7596         Change subword-mode to use `find-word-boundary-function-table' and
7597         replace `capitalized-words-mode'.  Also, convert to lexical binding.
7598         * progmodes/cap-words.el: Delete now-obsolete file.
7599         * progmodes/subword.el: Reimplement using
7600         `find-word-boundary-function-table'.
7601         (subword-mode-map): Hollow out.
7602         (capitalized-words-mode): Define as obsolete alias for
7603         `subword-mode'.
7604         (subword-mode, superword-mode): Tweak documentation to reflect new
7605         implementation; call `subword-setup-buffer'.
7606         (subword-forward, subword-capitalize): Add underscore to indicate
7607         unused variable.
7608         (subword-find-word-boundary-function-table): New constant.
7609         (subword-empty-char-table): New constant.
7610         (subword-setup-buffer): New function.
7611         (subword-find-word-boundary): New function.
7613 2014-03-23  Daniel Colascione  <dancol@dancol.org>
7615         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
7616         list to look for keyword arguments instead of `memq', fixing
7617         (Bug#3647) --- unfortunately, only for freshly-compiled code.
7618         Please make bootstrap.
7620 2014-03-22  Glenn Morris  <rgm@gnu.org>
7622         * dired.el (dired-read-regexp): Make obsolete.
7623         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
7624         (dired-flag-files-regexp):
7625         * dired-aux.el (dired-mark-read-regexp):
7626         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
7628         * startup.el (fancy-startup-text):
7629         * help.el (describe-gnu-project): Visit online info about GNU project.
7631         * help-fns.el (help-fns--interactive-only): New function.
7632         (help-fns-describe-function-functions): Add the above function.
7633         * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
7634         (next-line, previous-line): Remove hand-written interactive-only
7635         information from doc strings, it is auto-generated now.
7636         * bookmark.el (bookmark-write):
7637         * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
7638         (epa-mail-import-keys): Mark interactive-only,
7639         and remove hand-written interactive-only information from doc strings.
7640         * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
7641         (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
7642         * files.el (not-modified):
7643         * simple.el (mark-whole-buffer): Mark interactive-only.
7645         * emacs-lisp/byte-run.el (defun-declarations-alist):
7646         Add interactive-only.  Doc tweak.
7647         (macro-declarations-alist): Doc tweak.
7648         * subr.el (declare): Doc tweak (add xref to manual).
7649         * comint.el (comint-run):
7650         * files.el (insert-file-literally, insert-file):
7651         * replace.el (replace-string, replace-regexp):
7652         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
7653         (delete-forward-char, goto-line, insert-buffer, next-line)
7654         (previous-line): Set interactive-only via declare.
7656 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
7658         * emacs-lisp/package.el (package-desc): Use the contents of the
7659         quoted form, not its cdr.  (Bug#16873)
7661 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
7663         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
7664         benefit of doc.c; change parameter profile to match the X function.
7666 2014-03-22  Leo Liu  <sdl.web@gmail.com>
7668         * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
7669         (temp-buffer-show-hook): Remove help-mode-finish.  (Bug#16038)
7671 2014-03-21  Richard Stallman  <rms@gnu.org>
7673         * battery.el (battery-linux-sysfs): Search for each field
7674         from the beginning of the buffer.
7676         * subr.el (set-transient-map): Clear out function and value
7677         of the temporary symbol when we're done with it.
7679         * mail/rmailsum.el (rmail-summary-delete-forward):
7680         Optimize case of reaching end and handling count.
7681         (rmail-summary-mark-deleted): Optimize when N is current msg.
7682         Don't create new summary line.
7683         (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
7684         (rmail-summary-undelete-many): Rewrite for speed.
7685         (rmail-summary-msg-number): New function.
7687         * mail/rmail.el (rmail-delete-message): Update summary.
7688         (rmail-undelete-previous-message): Handle repeat count arg.
7689         (rmail-delete-backward, rmail-delete-forward): Likewise.
7691 2014-03-21  Daniel Colascione  <dancol@dancol.org>
7693         * mail/emacsbug.el (report-emacs-bug): Include memory usage
7694         information in bug reports.
7696 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
7698         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
7699         and `tramp-copy-env'.
7701         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
7702         (tramp-maybe-open-connection): Handle `tramp-login-env'.
7704 2014-03-21  Glenn Morris  <rgm@gnu.org>
7706         * electric.el (electric-indent-post-self-insert-function): Add doc.
7708 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
7710         * emacs-lisp/package.el (package-compute-transaction):
7711         Use `version-list-<=' to compare the requirement version against
7712         the version of package already to be installed.  Update the error
7713         message.  (Bug#16826)
7715         * progmodes/ruby-mode.el (ruby-smie-rules):
7716         Add indentation rule for ` @ '.  (Bug#17050)
7718 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
7720         * align.el (align-regexp): Remove superfluous backslash.
7722         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
7723         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
7724         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
7725         Fix docstring typos.
7726         (ffap-next): Use C-u in docstring.
7727         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
7728         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
7729         Remove superfluous backslashes.
7730         (ffap-string-at-point): Reflow docstring.
7732         * server.el (server-host): Reflow docstring.
7733         (server-unload-function): Fix docstring typo.
7734         (server-eval-at): Remove superfluous backslash.
7736         * skeleton.el (skeleton-insert): Remove superfluous backslash.
7737         (skeleton-insert): Doc fix.
7738         (skeleton-insert): Reflow docstring.
7740         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
7741         (tty-color-approximate, tty-color-by-index, tty-color-values)
7742         (tty-color-desc): Remove superfluous backslashes.
7744 2014-03-21  Glenn Morris  <rgm@gnu.org>
7746         * cus-start.el (history-length): Bump :version.
7748         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7749         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7750         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7751         Don't set `make-backup-files'.
7753         * info.el (info--prettify-description): New function,
7754         to give info-finder descriptions consistent case, punctuation.
7755         (Info-finder-find-node): Use it.  Sort packages.
7756         Refer to "description" rather than "commentary".
7758 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
7760         * frameset.el (frameset--print-register): New function.
7761         (frameset-to-register): Use it.
7763 2014-03-20  Juanma Barranquero  <lekktu@gmail.com>
7765         * progmodes/hideif.el (hif-string-to-number): New function.
7766         (hif-tokenize): Use it to understand non-decimal floats.
7768         * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
7770         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
7772 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7774         * electric.el (electric-newline-and-maybe-indent): New command.
7775         Bind it globally to C-j.
7776         (electric-indent-mode): Don't mess with the global map any more.
7777         Don't drop the post-self-insert-hook is some buffer is still using it
7778         (bug#16770).
7780         * bindings.el (global-map): Remove C-j binding.
7782         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
7783         the docstring of functions advised before dumping (bug#16993).
7785 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
7787         * ps-print.el (ps-generate-postscript-with-faces):
7788         Explicitly deactivate the mark (bug#16866).
7789         * simple.el (deactivate-mark): Update region highlight.
7791 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
7793         * emacs-lisp/package.el (describe-package-1):
7794         Decode commentary (bug#16733).
7796 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
7798         * custom.el (defcustom): Doc fix: recommend avoiding destructive
7799         modification of the value argument of :set (bug#16755).
7801 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7803         * simple.el (newline-and-indent): Do autofill (bug#17031).
7805 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
7807         * newcomment.el (comment-normalize-vars): Only add escaping check
7808         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
7809         (comment-beginning): Use `narrow-to-region' instead of moving back
7810         one character.
7811         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
7812         (comment-start-skip): Update the docstring.
7814 2014-03-18  Richard Stallman  <rms@gnu.org>
7816         * dired.el (dired-display-file): Force use of other window.
7818 2014-03-18  Daniel Colascione  <dancol@dancol.org>
7820         * startup.el (tty-handle-args): Remove debug message from 2007.
7822 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7824         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
7825         (advice--make-interactive-form): Use it to avoid (auto)loading function.
7826         (advice--make-1, advice-add, advice-remove):
7827         Remove braindead :advice-pending hack.
7829 2014-03-17  Glenn Morris  <rgm@gnu.org>
7831         * calendar/calendar.el (calendar-generate-month): Apply weekend
7832         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
7834 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
7836         * net/tramp.el (tramp-action-out-of-band): Read pending output.
7837         (tramp-call-process): Trace also DESTINATION.
7839         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7840         Quote file names when they are local.  Remove superfluous trace.
7842 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
7844         * newcomment.el (comment-beginning): If `comment-start-skip'
7845         doesn't match, move back one char and try again.  (Bug#16971)
7847         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7848         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
7849         Set `comment-start-skip' to a simpler value that doesn't try to
7850         check if the semicolon is escaped (this is handled by
7851         `syntax-ppss' now).  (Bug#16971)
7853         * progmodes/scheme.el (scheme-mode-variables): Same.
7855 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
7857         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
7858         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
7859         current (Bug#16816, Bug#17007).
7860         (with-current-buffer-window): New macro doing the same as
7861         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
7862         * help.el (help-print-return-message): Warn in doc-string to not
7863         use this in `with-help-window'.
7864         (describe-bindings-internal): Call `describe-buffer-bindings'
7865         from within help buffer.  See Juanma's scenario in (Bug#16816).
7866         (with-help-window): Update doc-string.
7867         * dired.el (dired-mark-pop-up):
7868         * files.el (save-buffers-kill-emacs):
7869         * register.el (register-preview): Use `with-current-buffer-window'
7870         instead of `with-temp-buffer-window'.
7872 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
7874         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
7875         Implement inserting into current buffer, documented in their docstrings.
7876         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
7877         (rst-section-tree-point, rst-forward-section, rst-indent)
7878         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
7879         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
7880         (rst-font-lock-handle-adornment-pre-match-form)
7881         (rst-repeat-last-character): Reflow docstrings.
7882         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
7883         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
7884         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
7885         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
7886         Fix docstring typos.
7887         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
7888         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
7889         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
7891 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
7893         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
7894         for compatibility with other ports.
7895         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
7896         from the -xrm command line argument, but in the Nextstep port its value
7897         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
7899         * progmodes/python.el (defconst, python-syntax-count-quotes)
7900         (python-indent-region, python-indent-shift-right)
7901         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
7902         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
7903         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
7904         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
7905         (inferior-python-mode, python-shell-make-comint, run-python-internal)
7906         (python-shell-buffer-substring, python-shell-send-buffer)
7907         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
7908         (python-completion-complete-at-point, python-fill-docstring-style)
7909         (python-eldoc-function, python-imenu-format-item-label)
7910         (python-imenu-format-parent-item-label)
7911         (python-imenu-format-parent-item-jump-label)
7912         (python-imenu--build-tree, python-imenu-create-index)
7913         (python-imenu-create-flat-index): Fix docstring typos.
7914         (python-indent-context, python-shell-prompt-regexp, run-python):
7915         Remove superfluous backslashes.
7916         (python-indent-line, python-nav-beginning-of-defun)
7917         (python-shell-get-buffer, python-shell-get-process)
7918         (python-info-current-defun, python-info-current-line-comment-p)
7919         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
7920         (python-indent-post-self-insert-function, python-shell-send-file)
7921         (python-shell-completion-get-completions)
7922         (python-shell-completion-complete-or-indent)
7923         (python-eldoc--get-doc-at-point): Reflow docstrings.
7925 2014-03-14  Glenn Morris  <rgm@gnu.org>
7927         * emacs-lisp/package.el (package-menu-mode-map):
7928         Replace use of obsolete function alias.  Tweak menu item text.
7930         * info.el (Info-finder-find-node):
7931         Ignore the `emacs' metapackage.  (Bug#10813)
7933         * finder.el (finder-list-matches): Include unversioned packages
7934         in the result of a keyword search.
7936         * finder.el (finder--builtins-descriptions): New constant.
7937         (finder-compile-keywords): Use finder--builtins-descriptions.
7939 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
7941         * simple.el (blink-matching-paren): Describe the new value,
7942         `jump', enabling the old behavior.
7943         (blink-matching-open): Use that value.  (Bug#17008)
7945 2014-03-14  Glenn Morris  <rgm@gnu.org>
7947         * finder.el (finder-no-scan-regexp): Add leim-list.
7948         (finder-compile-keywords):
7949         Don't skip files with same basename.  (Bug#14010)
7950         * Makefile.in (setwins_finder): New, excluding leim.
7951         (finder-data): Use setwins_finder.
7953         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
7954         (help-function-arglist, help-make-usage): Move from here...
7955         * help.el (help-split-fundoc, help-add-fundoc-usage)
7956         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
7957         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
7959 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
7961         * net/socks.el (socks, socks-override-functions)
7962         (socks-find-services-entry):
7963         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
7964         (hif-find-ifdef-block):
7965         * progmodes/modula2.el (m2-indent): Fix docstring typos.
7967         * net/tls.el (tls-program): Reflow docstring.
7969         * progmodes/pascal.el (pascal-mode-abbrev-table)
7970         (pascal-imenu-generic-expression, pascal-auto-endcomments)
7971         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
7972         (pascal-outline-mode): Fix docstring typos.
7973         (pascal-mode): Let define-derived-mode document mode hook.
7974         (pascal-uncomment-area): Reflow.
7975         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
7977         * progmodes/opascal.el (opascal-compound-block-indent)
7978         (opascal-case-label-indent): Fix docstring typos.
7979         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
7981 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
7983         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7984         Fontify multiple adjacent negation chars.  (Bug#17004)
7986 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
7988         * emacs-lisp/package.el (package--prepare-dependencies):
7989         Accept requirements without explicit version (bug#14941).
7991 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
7993         * register.el (register-separator, copy-to-register): Doc fixes.
7994         (register-preview-default): Remove unnecessary call to concat.
7996         * frameset.el (frameset-restore): When checking for a visible frame,
7997         use the action map instead of calling visible-frame-list.
7999 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
8001         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
8003 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
8005         * window.el (fit-frame-to-buffer): Get maximum width from
8006         display's width instead of height.
8008 2014-03-12  Glenn Morris  <rgm@gnu.org>
8010         * desktop.el (desktop-restore-frames)
8011         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
8012         (desktop-restore-reuses-frames): Doc tweaks.
8014         * electric.el (electric-indent-mode): Doc fix.
8016 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
8018         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
8019         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
8020         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
8021         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
8022         (cvs-dired-use-hook): Fix docstring typos.
8023         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
8024         Doc fixes.
8026         * vc/pcvs-defs.el (cvs-auto-remove-handled)
8027         (cvs-auto-remove-directories, cvs-default-ignore-marks)
8028         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
8029         (cvs-execute-single-dir): Fix docstring typos.
8031         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
8032         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
8034         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
8036         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
8037         Fix docstring typos.
8039 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
8041         * frameset.el (frameset--jump-to-register): Add autoload; it could be
8042         called from jump-to-register after unloading the frameset package.
8044 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8046         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
8047         (bug#16975).  Deactivate the mark before setting it to nil.
8048         (activate-mark): Do nothing if region is already active.
8050 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
8052         * frameset.el (frameset--target-display): Remove definition; declare.
8053         (frameset-save, frameset-restore): Let-bind frameset--target-display.
8055 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8057         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
8058         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
8059         when the advice is pending.
8060         (advice-remove): Remove this marker when not needed any more.
8062 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
8064         * frameset.el: Separate options for reusing frames and cleaning up.
8065         (frameset--reuse-list): Remove definition; declare.
8066         (frameset--action-map): Declare.
8067         (frameset--find-frame-if): Doc fix.
8068         (frameset--restore-frame): Cache frame action.
8069         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
8070         how to clean up the frame list after restoring.  Remove cleaning
8071         options from REUSE-FRAMES.  Change all keyword values to symbols.
8072         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
8074         * desktop.el (desktop-restore-forces-onscreen)
8075         (desktop-restore-reuses-frames): Use non-keyword values.
8076         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
8078 2014-03-10  Glenn Morris  <rgm@gnu.org>
8080         * files.el (find-file): Doc fix: update info node name.
8082         * emacs-lisp/advice.el (ad-add-advice, defadvice):
8083         Doc fix: remove references to deleted info nodes.
8085 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
8087         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8088         Do not add nil to the environment, when there's no remote `locale'.
8089         (tramp-find-inline-encoding): Check, that the remote host has
8090         installed perl, before sending scripts.
8092 2014-03-10  Leo Liu  <sdl.web@gmail.com>
8094         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
8095         Clear eldoc-last-message.  (Bug#16920)
8097 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8099         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
8100         (bug#14430).
8102 2014-03-09  Juri Linkov  <juri@jurta.org>
8104         * ansi-color.el (ansi-color-names-vector): Copy default colors
8105         from `xterm-standard-colors' that look well on the default white
8106         background (and also on the black background) to avoid illegible
8107         color combinations like yellow-on-white and white-on-white.
8108         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
8110 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
8112         * frameset.el (frameset-restore): When no frame is visible, do not
8113         generate a list of frames, just make visible the selected one.
8115 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
8117         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
8118         it only contains the repository root.  (Bug#16897)
8120 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
8122         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
8123         only when `remote-file-name-inhibit-cache' is nil.
8124         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
8126 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
8128         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
8129         Fix doc-strings.
8130         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
8131         fit-frame-to-buffer variable.  Fix doc-string.
8132         (fit-window-to-buffer): Set ONLY argument in call of
8133         fit-frame-to-buffer.  Fix doc-string.
8135 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
8137         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
8138         (tramp-action-password): Clear password cache if needed.
8139         (tramp-read-passwd): Do not clear password cache.
8141         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
8142         cache unless it is the first password request.
8144 2014-03-06  Glenn Morris  <rgm@gnu.org>
8146         * simple.el (newline): Doc tweak.
8148         * emacs-lisp/shadow.el (load-path-shadows-find):
8149         Ignore dir-locals.  (Bug#12357)
8151 2014-03-05  Glenn Morris  <rgm@gnu.org>
8153         * files.el (interpreter-mode-alist):
8154         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
8156 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
8158         * frameset.el (frameset--initial-params): Filter out null entries.
8160 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
8162         * window.el (window-min-height, window-min-width):
8163         Rewrite doc-strings.
8164         (window-body-size): Add PIXELWISE argument to make it consistent
8165         with its callees.
8167 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
8169         * finder.el (finder-mode-map, finder-mode-syntax-table):
8170         Revert part of 2014-02-28 change.
8172 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
8174         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
8175         (eww-setup-buffer): Clear next/prev/etc more reliably.
8176         (eww-textarea-map): [tab] doesn't work on tty.
8177         Reported by Mario Lang.
8179         * net/shr.el (shr-map): Ditto.
8181 2014-03-04  Glenn Morris  <rgm@gnu.org>
8183         * minibuffer.el (completion-hilit-commonality):
8184         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
8186 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
8188         * hilit-chg.el (hilit-chg-unload-function): New function.
8189         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
8190         (hilit-chg-map-changes): Prefer cardinal number to digit.
8191         (hilit-chg-display-changes): Reflow docstring.
8192         (highlight-changes-rotate-faces): Remove superfluous backslash.
8194 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
8196         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
8197         `tramp-send-command-and-check'.
8199 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
8201         * hexl.el (hexl-address-region, hexl-ascii-region)
8202         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
8203         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
8204         (hexl-forward-word, hexl-previous-line, hexl-next-line):
8205         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
8206         (hexl-mode): Doc fix.
8207         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
8208         (hexl-mode-ruler): Fix typos in docstrings.
8210         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
8211         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
8212         Remove superfluous backslashes.
8213         (strokes-last-stroke, strokes-global-map, strokes-mode):
8214         Reflow docstrings.
8215         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
8216         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
8217         (strokes-distance-squared, strokes-global-set-stroke)
8218         (strokes-global-set-stroke-string): Doc fixes.
8219         (strokes-help): Fix typos; reflow docstring.
8221 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
8223         * window.el (window-in-direction): Fix doc-string.
8225 2014-03-04  Glenn Morris  <rgm@gnu.org>
8227         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
8228         Explicit error if no grammar.
8229         (smie-config-save): Doc fix.  Fix quote typo.
8231 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8233         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
8234         electric-indent-mode-hook if we obey electric-indent-mode.
8235         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
8236         decide whether we obey electric-indent-mode.
8237         (c-change-set-fl-decl-start, c-extend-after-change-region):
8238         Silence warnings.
8239         (c-electric-indent-mode-hook): Assume we do want to obey
8240         electric-indent-mode.
8242         * electric.el (electric-indent-mode-has-been-called): Remove.
8243         (electric-indent-mode): Fix accordingly.
8245         * files.el (hack-local-variables): Mention file name in warning.
8247         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
8249 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
8251         * bindings.el: Add comment describing why C-d binds to `delete-char'.
8252         * simple.el (delete-forward-char): Mark as interactive-only.
8254 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
8256         * icomplete.el (icomplete-completions):
8257         Follow-up to 2014-03-01 change.
8259         * icomplete.el: Miscellaneous doc fixes.
8260         Use Icomplete everywhere instead of icomplete for consistency.
8261         (icomplete-max-delay-chars): Fix typo.
8262         (icomplete-mode): Use \[].
8263         (icomplete-tidy, icomplete-exhibit): Reflow.
8264         (icomplete-minibuffer-setup-hook, icomplete-completions):
8265         Remove superfluous backlashes.
8267         * ido.el: Miscellaneous doc fixes.
8268         Use Ido everywhere instead of ido or `ido' for consistency.
8269         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
8270         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
8271         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
8272         (ido-separator): Extract obsolescence info from docstring and declare
8273         with make-obsolete-variable.
8274         (ido-minibuffer-setup-hook): Simplify example.
8275         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
8276         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
8277         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
8278         (ido-everywhere): Reflow docstring.
8279         (ido-toggle-vc): Doc fix.
8280         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
8281         of long list of keybindings.
8283 2014-03-03  Glenn Morris  <rgm@gnu.org>
8285         * frame.el (display-pixel-height, display-pixel-width)
8286         (display-mm-dimensions-alist, display-mm-height)
8287         (display-mm-width): Doc tweaks.
8289 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
8291         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
8292         case of undo in region.
8294 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
8296         * window.el (fit-window-to-buffer): Fix argument in window-size
8297         call when window is horizontally combined.
8299 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
8301         * icomplete.el (icomplete-completions): Use string-width.
8302         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8304 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
8306         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8307         Highlight regexp options.  (Bug#16914)
8309 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
8311         * window.el (window--max-delta-1): Round down when calculating
8312         how many lines/columns we can get from a window.
8314 2014-03-01  Glenn Morris  <rgm@gnu.org>
8316         * isearch.el (search-invisible): Doc fix.
8318         * minibuffer.el (completion-hilit-commonality):
8319         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
8320         * comint.el (comint-dynamic-list-completions): Doc fix.
8321         * comint.el (comint-dynamic-list-completions):
8322         * filecache.el (file-cache-minibuffer-complete):
8323         * tempo.el (tempo-display-completions):
8324         * eshell/em-hist.el (eshell-list-history):
8325         Replace use of obsolete argument of display-completion-list.
8327 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
8329         * icomplete.el (icomplete-completions):
8330         Revert back to using "..." when ?… cannot be displayed.
8332 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
8334         * finder.el (finder-unload-function): New function.
8336 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
8338         * dframe.el (dframe-detach):
8339         * find-dired.el (find-dired, find-name-dired):
8340         * finder.el (finder-mode-map, finder-mode-syntax-table)
8341         (finder-headmark, finder-select, finder-mouse-select):
8342         Fix docstring typos.
8344 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
8346         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
8347         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
8348         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8349         Fix doc-string based on a suggestion by Nicolas Richard
8350         <theonewiththeevillook@yahoo.fr>.
8351         * help.el (with-help-window): Fix doc-string.
8353 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
8355         * net/shr.el (shr-image-animate): New option.
8356         (shr-put-image): Respect shr-image-animate.
8358 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
8360         * net/tramp-adb.el (tramp-adb-parse-device-names):
8361         Use `accept-process-output'.
8362         (tramp-adb-handle-file-truename): Cache the localname only.
8363         (tramp-adb-handle-make-directory)
8364         (tramp-adb-handle-delete-directory): Flush file properties correctly.
8365         (tramp-adb-handle-set-file-modes): Do not raise an error when file
8366         modes cannot be changed.
8368         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
8369         file properties of symlinks.
8371 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
8373         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
8374         required/optional fields to match development biblatex.  (Bug#16781)
8376 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
8378         * saveplace.el (toggle-save-place):
8379         Fix argument handling.  (Bug#16673)
8381 2014-02-28  Glenn Morris  <rgm@gnu.org>
8383         * minibuffer.el (completions-first-difference)
8384         (completions-common-part, completion-hilit-commonality): Doc fixes.
8386 2014-02-28  Karl Berry  <karl@gnu.org>
8388         * info.el (Info-mode-map): Add H for describe-mode,
8389         to synchronize with standalone Info.
8391 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
8393         * progmodes/sql.el (sql-interactive-mode):
8394         Avoid setting global comint-input-ring-separator.  (Bug#16814)
8396 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
8398         * net/dbus.el (dbus--init-bus): Declare function.
8399         (dbus-path-local, dbus-interface-local): New defconst.
8400         (dbus-init-bus): Use them.
8401         (dbus-return-values-table): Extend doc.
8402         (dbus-handle-bus-disconnect): Extend error message.
8404 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
8406         * subr.el (y-or-n-p): Fix double space issue in message.
8408 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
8410         * net/tramp.el (tramp-call-process): Improve trace message.
8411         (tramp-handle-insert-file-contents): Trace error case.
8413         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
8414         <insert-directory>: Use `tramp-handle-insert-directory'.
8415         (tramp-adb-handle-insert-directory): Remove function.
8416         (tramp-adb-send-command-and-check): New defun, replacing
8417         `tramp-adb-command-exit-status'.  Change all callees.
8418         (tramp-adb-handle-file-attributes)
8419         (tramp-adb-handle-directory-files-and-attributes): Use it.
8420         (tramp-adb-ls-output-name-less-p):
8421         Use `directory-listing-before-filename-regexp'.
8422         (tramp-adb-handle-delete-directory): Flush also file properties of
8423         the truename of directory.
8424         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
8425         (tramp-adb-handle-file-local-copy): Make the local copy readable.
8426         (tramp-adb-handle-write-region): Implement APPEND.
8427         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
8428         properties correctly.
8429         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
8430         variables.  Check for connected devices only when needed.
8432 2014-02-27  Glenn Morris  <rgm@gnu.org>
8434         * minibuffer.el (completion-table-dynamic)
8435         (completion-table-with-cache): Doc fixes.
8437         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
8438         (completing-read-multiple): Doc fixes.
8440 2014-02-27  Daniel Colascione  <dancol@dancol.org>
8442         * minibuffer.el (completion--nth-completion): Fix indentation.
8444         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
8445         explicit tramp path is empty.
8447 2014-02-27  Glenn Morris  <rgm@gnu.org>
8449         * emacs-lisp/crm.el (completing-read-multiple):
8450         Empower help-enable-auto-load.
8452 2014-02-26  Glenn Morris  <rgm@gnu.org>
8454         * startup.el (command-line): Don't init the tty in daemon mode.
8456         Avoid calling tty-setup-hook twice, eg if a term file
8457         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
8458         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
8459         (tty-create-frame-with-faces): Use it.
8460         * startup.el (command-line): Pass run-hook argument
8461         to tty-run-terminal-initialization.
8463         * dired.el (dired-restore-desktop-buffer): Demote errors;
8464         eg in case a glob match fails.  (Bug#16884)
8466 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
8468         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
8469         error from `read-from-string'.  (Bug#16850)
8471         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
8472         result of `completing-read' in the interactive form.  (Bug#16854)
8474 2014-02-25  Glenn Morris  <rgm@gnu.org>
8476         * image.el (image-animate, image-animate-timeout):
8477         Stop animating images in dead buffers.  (Bug#16878)
8479         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
8481         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
8482         Doc fixes.
8483         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
8484         * term/sun.el (sun-raw-prefix-hooks):
8485         Use tty-setup-hook instead of term-setup-hook.
8486         (terminal-init-sun): Construct message from bytecomp plist.
8487         * term/wyse50.el (enable-arrow-keys): Doc fix.
8489 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
8491         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
8492         Fix docstring typos.
8494 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
8496         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
8498 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
8500         * minibuffer.el (completion--try-word-completion):
8501         Fix error when completing M-x commands (bug#16808).
8503 2014-02-24  Leo Liu  <sdl.web@gmail.com>
8505         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
8507 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
8509         * apropos.el (apropos-print): Avoid formatting error when
8510         apropos-do-all and apropos-compact-layout are both t.
8512 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
8514         * apropos.el (apropos-property, apropos-all-words-regexp)
8515         (apropos-true-hit, apropos-variable, apropos-print):
8516         Fix docstring typos, and remove obsolete comment.
8518 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
8520         * net/tramp-sh.el (tramp-sh-handle-file-truename):
8521         Preserve trailing "/".  (Bug#16851)
8523 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
8525         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
8526         after `=>' (bug#16811).
8527         (ruby-smie-rules): Handle the inconsistent second element of the
8528         list returned by `smie-indent--parent'.
8529         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
8530         method call.
8532 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
8534         * elec-pair.el (electric-pair-text-syntax-table)
8535         (electric-pair-syntax-info, electric-pair--syntax-ppss)
8536         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
8537         (electric-pair--looking-at-unterminated-string-p): Doc fix.
8538         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
8540 2014-02-22  Glenn Morris  <rgm@gnu.org>
8542         * imenu.el (imenu--generic-function): Doc fix.
8544         * register.el (frame-configuration-to-register): Make obsolete.
8546 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
8548         * desktop.el (desktop-save-buffer-p): Do not fail when
8549         desktop-files-not-to-save is nil.  Return t for true result
8550         as the doc says.
8552 2014-02-22  Daniel Colascione  <dancol@dancol.org>
8554         * net/secrets.el (secrets-create-item, secrets-search-items):
8555         Check that attribute values are strings, avoiding the construction
8556         of invalid dbus messages.
8558 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
8560         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
8561         defun-declarations-alist.
8563 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8565         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
8566         (bug#16829).
8568 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
8570         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
8571         (whitespace-newline, whitespace-trailing, whitespace-line)
8572         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
8573         (whitespace-space-after-tab): Fix typo in docstrings.
8575 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
8577         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
8579         * electric.el (electric-indent-functions-without-reindent):
8580         Add `yaml-indent-line'.
8582 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
8584         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
8585         It has done nothing for years; should be removed after the release.
8587         * simple.el (choose-completion): Fix docstring typo.
8588         (read-quoted-char-radix): Remove unneeded * in docstring.
8589         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
8590         Don't escape parentheses unnecessarily in docstrings.
8592 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
8594         Fix handling of window-min-height/-width (Bug#16738).
8595         * window.el (window--dump-window, window--dump-frame):
8596         New functions.
8597         (window--min-size-1): Account for window dividers.
8598         When window-resize-pixelwise is nil, delay rounding till after the
8599         sum of the window components has been calculated.
8600         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
8601         nil make sure at least one text line and two text columns remain
8602         fully visible.
8603         (window-resize): Signal an error when window-resize-apply fails.
8604         (window--resize-child-windows): Fix calculation of by how many
8605         pixels a window can still be shrunk via window-new-normal.
8606         (adjust-window-trailing-edge): Call window--resizable with
8607         correct TRAIL argument.
8609         (with-temp-buffer-window): Don't evaluate BODY within
8610         with-current-buffer (Bug#16816).
8612 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
8614         * net/tramp.el (tramp-check-cached-permissions):
8615         Call `file-attributes' with `suffix' being a symbol but a string.
8617 2014-02-21  Daniel Colascione  <dancol@dancol.org>
8619         * net/dbus.el (dbus-init-bus-1): Declare new subr.
8620         (dbus-init-bus): New function: call into dbus-init-bus-1
8621         and installs a handler for the disconnect signal.
8622         (dbus-call-method): Rewrite to look for result in cons.
8623         (dbus-call-method-handler): Store result in cons.
8624         (dbus-check-event): Recognize events with nil sender as valid.
8625         (dbus-handle-bus-disconnect): New function.  React to bus
8626         disconnection signal by synthesizing dbus error for each
8627         pending synchronous or asynchronous call.
8628         (dbus-notice-synchronous-call-errors): New function.
8629         (dbus-handle-event): Raise errors directly only when `dbus-debug'
8630         is true, not all the time.
8632 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
8634         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
8635         Remove obsolescence declarations, these variables do not exist anymore.
8637         * savehist.el (savehist-save-minibuffer-history)
8638         (savehist-additional-variables, savehist-file, savehist-mode-hook)
8639         (savehist-save-hook, savehist-coding-system, savehist-loaded)
8640         (savehist-load, savehist-install, savehist-autosave): Fix typos;
8641         mostly, refer to "Savehist mode" when talking about the mode,
8642         and not the function.
8644         * saveplace.el (save-place): Remove redundant info in docstring.
8645         (save-place-forget-unreadable-files, toggle-save-place)
8646         (save-place-forget-unreadable-files, save-place-dired-hook):
8647         Fix typos and remove unneeded backslashes.
8649 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
8651         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
8652         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
8654         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8655         <insert-directory>: Use `tramp-handle-insert-directory'.
8656         (tramp-gvfs-handle-insert-directory): Remove function.
8658         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8659         Call `tramp-handle-insert-directory'.
8661 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
8663         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
8664         before the start of buffer/region (bug#16799).
8666 2014-02-20  Glenn Morris  <rgm@gnu.org>
8668         * isearch.el (search-invisible): Doc fix.
8670 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
8672         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
8673         (bug#16657).
8675 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
8677         * frameset.el (frameset-restore): Delay removing an old frame's
8678         duplicate id until the new frame has been correctly created.
8680 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
8682         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
8683         (tramp-check-cached-permissions): Call `file-attributes' if the
8684         cache is empty.
8686         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
8687         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
8689         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8690         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
8691         (tramp-gvfs-maybe-open-connection): Set always connection
8692         properties, even if target is mounted already.
8694         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
8695         Set tramp-autoload cookie.
8696         (tramp-get-remote-touch): New defun.
8697         (tramp-sh-handle-set-file-times): Use it.
8698         (tramp-sh-handle-directory-files-and-attributes):
8699         Use `tramp-handle-directory-files-and-attributes' if neither stat
8700         nor perl are available on the remote host.
8702         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
8703         "/".  Write long listing only when "l" belongs to the switches.
8705         * net/trampver.el: Update release number.
8707 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
8709         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
8711 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
8713         * window.el (window-state-put): Allow WINDOW to refer to an
8714         internal window (Bug#16793).
8716 2014-02-19  Glenn Morris  <rgm@gnu.org>
8718         * textmodes/remember.el: Move provide statement to end.
8719         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
8720         (remember-notes): Doc fixes.
8722 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8724         * delsel.el (delete-char): Restore incorrectly erased property
8725         (bug#16795).
8727 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
8729         * frameset.el (frameset--restore-frame): When a frame is being reused
8730         and its root window is not alive, delete all the frame's windows before
8731         restoring the window state.  This works around the issue in bug#16793.
8733 2014-02-18  Glenn Morris  <rgm@gnu.org>
8735         * textmodes/remember.el (remember-data-directory)
8736         (remember-directory-file-name-format, remember-store-in-files)
8737         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
8738         (remember-notes-save-and-bury-buffer)
8739         (remember-notes--kill-buffer-query): Doc fixes.
8741         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
8743 2014-02-17  Alan Mackenzie  <acm@muc.de>
8745         Connect electric-indent-mode up with CC Mode.  Bug #15478.
8746         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
8747         to electric-indent-{,local-}-mode.
8748         (c-basic-common-init): Set electric-indent-inhibit.
8749         Initialise c-electric-flag from electric-indent-mode.
8750         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
8751         New hook functions which propagate electric-indent-mode to CC mode.
8753         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
8754         hit, toggle electric-indent-local-mode.
8756         * electric.el (electric-indent-mode-has-been-called):
8757         New variable.
8759 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
8761         * frameset.el (frameset-cfg-id): New function.
8762         (frameset--reuse-frame, frameset-restore): Use it.
8763         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
8765 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8767         * ido.el (ido-file-internal): Remove unused var `d'.
8768         Use \` for to match BoS.  Fit within 80n columns.
8770 2014-02-17  Daniel Colascione  <dancol@dancol.org>
8772         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
8773         dbus-call-method check for completion using a busy-wait loop with
8774         gradual backoff.
8776 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
8778         Sync with Tramp 2.2.9.
8780         * net/trampver.el: Update release number.
8782 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
8784         * ido.el (ido-file-internal): Don't add the name of an existing
8785         directory twice.  (Bug#16747)
8787 2014-02-16  Glenn Morris  <rgm@gnu.org>
8789         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
8790         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
8792 2014-02-15  Michael R. Mauger  <michael@mauger.com>
8794         * progmodes/sql.el: Version 3.4
8795         (sql-oracle-options): New default value ("-L").
8796         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
8797         (sql-placeholders-filter): Correct placeholder pattern.
8798         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
8799         (sql-login-delay): New variable.
8800         (sql-product-interactive): Use it.
8802 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
8804         * frameset.el (frameset--jump-to-register): Check that buffer is live
8805         (bug#16749).
8807 2014-02-15  Glenn Morris  <rgm@gnu.org>
8809         * info.el (info-initialize): Revert 2014-01-10 change.
8811 2014-02-14  Glenn Morris  <rgm@gnu.org>
8813         * replace.el (map-query-replace-regexp)
8814         (read-regexp-defaults-function, read-regexp): Doc fixes.
8816         * dired.el (dired-read-regexp):
8817         * faces.el (list-faces-display):
8818         * misearch.el (multi-isearch-read-matching-buffers)
8819         (multi-isearch-read-matching-files):
8820         * play/cookie1.el (cookie-apropos):
8821         * progmodes/grep.el (grep-read-regexp): Doc fixes.
8823         * textmodes/remember.el (remember): Use frameset-to-register
8824         rather than frame-configuration-to-register.
8826 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
8828         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
8829         incorrect keybinding.
8831 2014-02-13  Daniel Colascione  <dancol@dancol.org>
8833         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
8834         when adding overlays so that line numbers from compiler match line
8835         numbers we use.
8837 2014-02-13  Glenn Morris  <rgm@gnu.org>
8839         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
8841         * jit-lock.el (jit-lock-mode): Doc fix.
8843 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
8845         * apropos.el (apropos-read-pattern): When the user passes an empty
8846         string, give a more helpful error message than "Wrong type
8847         argument: stringp, nil".
8849 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8851         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
8853 2014-02-13  Glenn Morris  <rgm@gnu.org>
8855         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
8857 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8859         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
8860         shift-select commands.
8862 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
8864         * progmodes/js.el (js-indent-line): Don't widen.
8865         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
8867 2014-02-12  Glenn Morris  <rgm@gnu.org>
8869         * icomplete.el (icomplete): Add info-link to defgroup.
8870         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
8871         (icomplete-minibuffer-map, icomplete-mode)
8872         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
8874         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
8875         (package-menu-filter): Rename from package-menu-filter-interactive.
8876         Doc fix.
8878 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
8880         * frameset.el (frameset--jump-to-register): Select the required
8881         window and buffer before restoring position (bug#16696).
8883 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
8885         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
8887 2014-02-10  Glenn Morris  <rgm@gnu.org>
8889         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
8891 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
8893         * w32-common-fns.el (x-get-selection): Doc fix.
8894         * select.el (x-get-selection): Doc fix.  (Bug#15109)
8896         * face-remap.el (face-remap-add-relative)
8897         (face-remap-remove-relative, face-remap-reset-base)
8898         (face-remap-set-base): Call force-mode-line-update to redisplay
8899         the current buffer due to potential change in faces.  (Bug#16709)
8901 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
8903         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
8904         script more robustly.
8906 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
8908         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
8910         * simple.el (choose-completion): Doc fix (bug#14160).
8912         * subr.el (event-start): Say what a nil EVENT value means.
8914         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
8915         (bug#14197).
8917         * progmodes/grep.el (find-program): Doc fix (bug#14289).
8919         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
8921         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
8923         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
8924         predicate function (bug#15455).
8926 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
8928         * ielm.el (inferior-emacs-lisp-mode): Instead of
8929         `comment-use-global-state', set `comment-use-syntax'.
8931 2014-02-10  Glenn Morris  <rgm@gnu.org>
8933         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
8935 2014-02-09  Alan Mackenzie  <acm@muc.de>
8937         Fix c-invalidate-state-cache on narrowed buffers.
8938         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
8939         Widen when setting and clearing the CPP delimiter properties.
8941 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
8943         * help.el (describe-bindings): Doc fix (bug#9888).
8945         * files.el (save-buffer): Use ARG as the parameter name for
8946         consistency (bug#10346).
8947         (save-buffer): Clarify the 0 argument (bug#10346).
8949         * cus-edit.el (customize-apropos): Fix error string.
8950         (custom-buffer-create): Doc fix (bug#11122).
8951         (custom-sort-items): Doc fix (bug#11121).
8953         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
8955         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
8956         (icomplete-simple-completing-p): Mention the previous variable.
8958         * font-lock.el (font-lock-value-in-major-mode): Clarify the
8959         meaning of the parameter (bug#12282).
8961         * files.el (find-file-noselect): Clarify prompt when changing
8962         readedness (bug#13261).
8963         (locate-file): Suffixes aren't returned, so don't say that they
8964         are (bug#12674).
8965         (backup-inhibited): Doc clarification (bug#12525).
8967         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
8968         before we actually start to delete things (bug#16331).
8970         * subr.el (event-start): Doc fix (bug#14228).
8971         (event-end): Ditto.
8973 2014-02-09  Glenn Morris  <rgm@gnu.org>
8975         * emacs-lisp/warnings.el (lwarn):
8976         Empower help-enable-auto-load.  (Bug#15940)
8978 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
8980         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
8981         (Bug#16690)
8983 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
8985         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8986         Insert output at end of buffer.  (Bug#16120)
8988 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
8990         * simple.el (choose-completion-string-functions): Document new
8991         calling convention (bug#14153).
8992         (execute-extended-command): Clarify doc string (bug#13373).
8994         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
8996         * find-dired.el (find-name-dired): Doc fix (bug#14290).
8997         (find-grep-dired): Doc fix (bug#14288).
8999 2014-02-08  Juri Linkov  <juri@jurta.org>
9001         * isearch.el (isearch-quote-char): Check character validity
9002         like in `quoted-insert' (bug#16677).
9004 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
9006         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
9008         * isearch.el (isearch-hide-immediately): Doc clarification
9009         (bug#14723).
9011         * simple.el (line-move): Document utility function used many
9012         places in the Emacs sources (bug#14843).
9014         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
9015         (dired-prev-marked-file): Doc fix (bug#14855).
9016         (dired-up-directory): Doc fix (bug#14848).
9018         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
9020         * files.el (file-relative-name): Doc fix (bug#15159).
9022         * fringe.el (fringe-styles): Doc fix (bug#15239).
9024         * isearch.el (isearch-filter-predicate): Documentation typo fix
9025         (bug#15474).
9027         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
9029         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
9031         * replace.el (replace-match-maybe-edit): Doc clarification
9032         (bug#15632).
9034         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
9036         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
9038 2014-02-08  Glenn Morris  <rgm@gnu.org>
9040         * help-fns.el (describe-variable):
9041         Check {file,dir}-local-variables-alist, and buffer-file-name,
9042         in the correct buffer.
9044 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
9046         * help-fns.el (describe-variable): Fix the case where
9047         a value is directory-local with no dir-locals file.  (Bug#16635)
9049 2014-02-08  Glenn Morris  <rgm@gnu.org>
9051         * abbrev.el (edit-abbrevs-mode):
9052         Derive from fundamental-mode.  (Bug#16682)
9054 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
9056         * simple.el (quoted-insert): Check character validity (bug#16677).
9058 2014-02-07  Juri Linkov  <juri@jurta.org>
9060         * desktop.el (desktop-read): Claim the lock when the owner is not
9061         the current process.  (Bug#16157)
9063 2014-02-07  Juri Linkov  <juri@jurta.org>
9065         * desktop.el (desktop-buffers-not-to-save): Change default from nil
9066         to "\\` ".  (Bug#16651)
9068 2014-02-07  Juri Linkov  <juri@jurta.org>
9070         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
9071         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
9072         (desktop-auto-save-cancel-timer): New function with some code from
9073         `desktop-auto-save-set-timer'.
9074         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
9075         Instead of setting `desktop-save-mode' to nil, call
9076         `desktop-save-mode' with arg 0.  (Bug#16630)
9078 2014-02-07  Glenn Morris  <rgm@gnu.org>
9080         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
9081         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
9082         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
9084         * obsolete/iswitchb.el: Move to obsolete/.
9085         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
9086         since obsolete/ is not scanned for autoloads.
9087         * emacs-lisp/authors.el (authors-valid-file-names):
9088         Add iswitchb.el.
9090         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
9091         Disable now non-functional find-file-hook.
9093 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
9095         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
9096         instead of ";" in order to avoid additional prompts.  Let heredoc
9097         scripts read from tty.  (Bug#16582)
9098         (tramp-send-command): No special handling of heredocs, it isn't
9099         necessary anymore.
9101 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9103         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
9104         with a space (bug#16664).  Limit the symbols considered to the ones
9105         that are bound or fbound (bug#16646).
9107 2014-02-06  Glenn Morris  <rgm@gnu.org>
9109         * epa.el (epa-mail-aliases): Doc fix.
9111 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
9113         * emacs-lisp/lisp.el (lisp-completion-at-point):
9114         Use `completion-table-merge' instead of `completion-table-in-turn'
9115         (bug#16604).
9117         * minibuffer.el (completion-table-merge): New function.
9119 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
9121         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
9122         (tramp-sh-handle-set-file-acl)
9123         (tramp-sh-handle-start-file-process)
9124         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
9125         (tramp-find-executable, tramp-send-command): Use it.
9127 2014-02-05  Glenn Morris  <rgm@gnu.org>
9129         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
9131 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9133         * progmodes/python.el (python-shell-send-string)
9134         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
9136 2014-02-04  Anders Lindgren  <andlind@gmail.com>
9138         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
9139         the names (bug#16620).
9141 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
9143         * faces.el (window-divider): New default value.  Rewrite doc-string.
9144         (window-divider-first-pixel, window-divider-last-pixel): New faces.
9146 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
9148         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
9149         `protected' and `public' can also be called without arguments.
9151 2014-02-03  Glenn Morris  <rgm@gnu.org>
9153         * register.el (window-configuration-to-register)
9154         (frame-configuration-to-register): Unadvertise unused argument.
9155         * frameset.el (frameset-to-register): Remove unused argument.
9157         * frameset.el (frameset-to-register):
9158         * kmacro.el (kmacro-to-register):
9159         * register.el (increment-register):
9160         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
9161         (calc-append-to-register, calc-prepend-to-register):
9162         * play/gametree.el (gametree-layout-to-register)
9163         (gametree-apply-register-layout):
9164         * textmodes/picture.el (picture-clear-rectangle-to-register)
9165         (picture-yank-rectangle-from-register):
9166         * vc/emerge.el (emerge-combine-versions-register):
9167         Use register-read-with-preview to read registers.
9169 2014-02-03  João Távora  <joaotavora@gmail.com>
9171         * elec-pair.el (electric-pair-backward-delete-char): Don't error
9172         when at beginning of (possibly narrowed) buffer.
9174 2014-02-02  Daniel Colascione  <dancol@dancol.org>
9176         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
9177         Also try to display local help from just before point.
9179 2014-02-02  Alan Mackenzie  <acm@muc.de>
9181         c-parse-state.  Don't "append-lower-brace-pair" in certain
9182         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
9183         recognised as a comment.
9185         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
9186         as well as normal comment starter.
9187         (c-parse-state-get-strategy): Extra return possibility
9188         'back-and-forward.
9189         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
9190         return value list to indicate replacement of a brace-pair cons
9191         with its car.
9192         (c-parse-state-1): With 'back-and-forward, only call
9193         c-append-lower-brace-pair-to state-cache when cons-separated.
9195 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
9197         * term/ns-win.el (ns-suspend-error): New function.
9198         (ns-initialize-window-system): Add ns-suspend-error to
9199         suspend-hook (Bug#16612).
9201 2014-02-02  Daniel Colascione  <dancol@dancol.org>
9203         * progmodes/cc-defs.el (c-find-assignment-for-mode):
9204         Make loading cc-mode silent.
9206 2014-02-02  Daniel Colascione  <dancol@dancol.org>
9208         * comint.el (comint-prompt-read-only): Change doc to suggest
9209         remap keybinding.
9211 2014-02-02  Glenn Morris  <rgm@gnu.org>
9213         * register.el (register-read-with-preview, point-to-register)
9214         (window-configuration-to-register, frame-configuration-to-register)
9215         (jump-to-register, number-to-register, view-register, insert-register)
9216         (copy-to-register, append-to-register, prepend-to-register)
9217         (copy-rectangle-to-register): Doc fixes.
9219 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9221         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
9222         * emacs-lisp/find-func.el (find-function-C-source): Idem.
9223         * emacs-lisp/nadvice.el (advice--cd*r): New function.
9224         * help-fns.el (describe-function-1): Use it.
9226 2014-02-02  Glenn Morris  <rgm@gnu.org>
9228         * register.el (register-preview-default): New function,
9229         split from register-preview.
9230         (register-preview-function): Rename from register-preview-functions,
9231         make it not a hook.
9232         (register-preview): Use register-preview-function.
9233         (register-read-with-preview): Error on non-character event.  (Bug#16595)
9235 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
9237         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
9238         `:' before binary operators (bug#16609).  Don't check for `:'
9239         before `[' and `(', or their syntax status.  A percent literal
9240         can't end with either.
9241         (ruby-font-lock-keywords): For built-ins that require arguments,
9242         check that they're followed by something that looks like argument
9243         (bug#16610).
9245 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
9247         * subr.el (butlast): Document what an omitted N means (bug#13437).
9248         (nbutlast): Ditto.
9250 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
9252         * net/shr.el (shr-generic): Make into a defsubst to make the stack
9253         depth shallower (bug#16587).
9254         (shr-tag-svg): Respect `shr-inhibit-images'.
9255         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
9257 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
9259         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
9260         (ruby-smie-grammar): Make "." right-associative.  Make its priority
9261         lower than the ternary and all binary operators.
9262         (ruby-smie-rules): Indent "(" relative to the first non-"."
9263         parent, or the first "." parent at indentation.
9264         Use `ruby-align-chained-calls' for indentation of "." tokens.
9265         (Bug#16593)
9267 2014-01-31  Juri Linkov  <juri@jurta.org>
9269         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
9270         from `make-hash-table'.
9272         * textmodes/ispell.el (ispell-init-process): Change message format
9273         to be consistent with other messages.
9275 2014-01-31  Glenn Morris  <rgm@gnu.org>
9277         * delsel.el (delete-selection-mode): Doc fix.
9279         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
9280         (trace-function-background): Doc fixes.
9282         * ido.el (ido-use-virtual-buffers): Doc fix.
9283         Reset :version, since the default value has not changed.
9285         * register.el (register-preview-delay, register-read-with-preview):
9286         Doc fixes.
9288         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
9289         do not mess with mail-buffer position (fixes 2009-11-03 change).
9290         * progmodes/cc-mode.el (c-submit-bug-report):
9291         Check auto-fill-mode is bound.  (Bug#16592)
9293 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
9295         * startup.el (fancy-splash-image-file): New function,
9296         split from fancy-splash-head.
9297         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
9298         so that we are both using the same image.  (Bug#16574)
9300 2014-01-30  Glenn Morris  <rgm@gnu.org>
9302         * simple.el (eval-expression): Doc fix.
9304         * hexl.el (hexl-mode-hook):
9305         * ielm.el (ielm-mode-hook):
9306         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
9307         (lisp-interaction-mode-hook):
9308         * progmodes/cfengine.el (cfengine3-documentation-function):
9309         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
9311 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9313         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
9314         is a symbol (bug#16584).
9316 2014-01-30  Glenn Morris  <rgm@gnu.org>
9318         * help.el (help-for-help-internal): Add "P" to text.
9320 2014-01-29  Glenn Morris  <rgm@gnu.org>
9322         * simple.el (just-one-space, cycle-spacing): Doc fixes.
9324 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
9326         * window.el (fit-frame-to-buffer): Fix calculations for margins and
9327         height constraints.
9329 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
9331         * progmodes/hideif.el: Extend to full CPP expression syntax.
9332         (hif-token-alist): Add missing tokens.
9333         (hif-token-regexp): Add support for float/octal/hex immediates.
9334         (hif-string-literal-regexp): New const.
9335         (hif-tokenize): Recognize strings and float/octal/hex immediates.
9336         (hif-exprlist): New function.
9337         (hif-parse-if-exp): Use it.
9338         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
9339         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
9340         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
9341         (hif-logxor, hif-comma): New functions.
9343 2014-01-28  Glenn Morris  <rgm@gnu.org>
9345         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
9347         * indent.el (tab-stop-list): Doc fix.  Add :version.
9349         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
9350         (cvs-append-to-ignore): Add compatibility alias.
9352 2014-01-27  Glenn Morris  <rgm@gnu.org>
9354         * dired.el (dired-hide-details-mode): Don't autoload it,
9355         since it cannot be used outside Dired buffers anyway.
9357         * emulation/cua-base.el (cua-mode): Doc fix.
9359         * dired.el (dired-hide-details-hide-symlink-targets)
9360         (dired-hide-details-hide-information-lines)
9361         (dired-hide-details-mode): Doc fixes.
9363         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
9364         * strokes.el (strokes-file): Doc fix.  Bump :version.
9365         (strokes-help): Doc fix.
9366         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
9367         * emulation/viper.el (viper): Doc fix for custom group.
9368         (top-level): Remove oh-so-no-longer-relevant text about vip.
9369         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
9371         * ido.el (ido-save-directory-list-file):
9372         * saveplace.el (save-place-file):
9373         * calendar/timeclock.el (timeclock-file):
9374         * net/quickurl.el (quickurl-url-file):
9375         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9376         * progmodes/idlwave.el (idlwave-config-directory):
9377         * textmodes/remember.el (remember-data-file):
9378         Bump :version.
9380 2014-01-26  Glenn Morris  <rgm@gnu.org>
9382         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
9383         Doc fix.  Make obsolete.
9384         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
9386         * sort.el (delete-duplicate-lines): Doc fix.
9388 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9390         * progmodes/ada-mode.el (ada):
9391         * woman.el (woman): Link to info manual and Commentary section.
9393         * progmodes/flymake.el (flymake):
9394         * nxml/nxml-mode.el (nxml):
9395         * net/eww.el (eww):
9396         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
9397         * htmlfontify.el (htmlfontify):
9398         * ses.el (ses):
9399         * epa.el (epa):
9400         * ido.el (ido): Link to info manual.
9402 2014-01-25  Leo Liu  <sdl.web@gmail.com>
9404         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
9406 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
9408         * net/shr.el (shr-tag-img): Prefer the title over the alt text
9409         (bug#16537).
9411 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
9413         * net/eww.el (eww-download-callback):
9414         Fix reference to eww-download-directory.
9416         * emacs-lisp/bytecomp.el (byte-compile-file):
9417         Remove unused local variable `file-name'.
9419 2014-01-24  Glenn Morris  <rgm@gnu.org>
9421         * woman.el (woman-default-faces, woman-monochrome-faces):
9422         Fix obsolescence specification.
9424         * subr.el (with-demoted-errors): Doc fix.
9426 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9428         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
9429         (cl--macroexp-fboundp): New function.
9430         (cl--make-type-test): Use it.
9432 2014-01-23  Glenn Morris  <rgm@gnu.org>
9434         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
9435         * simple.el (eval-expression): Doc fixes.
9437 2014-01-22  Glenn Morris  <rgm@gnu.org>
9439         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
9441 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9443         * emacs-lisp/package.el: Write files silently.
9444         (package-autoload-ensure-default-file, package--write-file-no-coding)
9445         (package-generate-description-file, package--download-one-archive)
9446         (package-install-from-archive): Tell `write-region' to stay quiet.
9447         (package-menu-mode, package-menu--print-info): Omit the Archive column
9448         if there's only one archive.
9449         (package-all-keywords, package--has-keyword-p): Remove dead code.
9451 2014-01-22  Glenn Morris  <rgm@gnu.org>
9453         * version.el (emacs-bzr-version-bzr): Fix typo.
9455         * version.el (emacs-repository-get-version):
9456         Check either .bzr or .git, but not both.
9457         Make the git case actually use the DIR argument, and return nil
9458         rather than the empty string.
9459         Avoid error if .git exists but the git executable is not found.
9461 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
9463         Fixes in window size functions around Bug#16430 and Bug#16470.
9464         * window.el (window-total-size, window-size): New argument ROUND.
9465         (window--min-delta-1, window-min-delta, window--max-delta-1):
9466         Be more conservative when calculating the numbers of lines or
9467         columns a window can shrink (Bug#16430).
9468         (fit-window-to-buffer): Simplify code.
9469         * term.el (term-window-width): Call window-body-width again.
9471 2014-01-22  Glenn Morris  <rgm@gnu.org>
9473         * image.el (image-format-suffixes): Doc fix.
9475         * international/quail.el (quail-define-package): Doc fix.
9477         * emacs-lisp/authors.el (authors-valid-file-names)
9478         (authors-renamed-files-alist): Additions.
9480         * vc/vc-git.el (vc-git-print-log): Remove --follow;
9481         reverts 2014-01-09 change.  (Bug#16422)
9483         * calc/calc-embed.el (thing-at-point-looking-at):
9484         * emacs-lisp/map-ynp.el (x-popup-dialog):
9485         * obsolete/lmenu.el (x-popup-dialog):
9486         * emacs-lisp/package.el (url-recreate-url):
9487         * mail/mailclient.el (clipboard-kill-ring-save):
9488         * subr.el (x-popup-dialog): Update declaration.
9489         * mail/rmail.el (rmail-mime-message-p):
9490         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
9492 2014-01-21  Daniel Colascione  <dancol@dancol.org>
9494         * progmodes/sh-script.el (sh--inside-noncommand-expression):
9495         Correctly detect when we're inside an arithmetic expansion form
9496         containing nested parenthesis.
9497         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
9498         to detect cases where we shouldn't expand "<<" to a heredoc
9499         skeleton.
9501 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9503         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
9504         (eldoc--message-command-p): New function.
9505         (eldoc-display-message-p): Use it.
9506         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
9507         message is not automatically erased for us.
9508         (eldoc-print-current-symbol-info): Erase previous message, if any.
9510 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
9512         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
9513         specify it's an interactive function.
9515         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
9516         Fix regex used for scanning for citation keys which failed for
9517         citations with optional arguments.
9519 2014-01-21  Leo Liu  <sdl.web@gmail.com>
9521         * simple.el (read--expression): Don't enable eldoc-mode.
9523 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9525         * simple.el (move-beginning-of-line): Make sure we don't move forward
9526         (bug#16497).
9528 2014-01-20  Juri Linkov  <juri@jurta.org>
9530         * saveplace.el (toggle-save-place, save-place-to-alist)
9531         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
9532         'dired-mode) before checking for dired-directory.  (Bug#16477)
9534 2014-01-20  Juri Linkov  <juri@jurta.org>
9536         * indent.el (indent-line-to): Use backward-to-indentation
9537         instead of back-to-indentation.  (Bug#16461)
9539 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
9541         Revert some of the CANNOT_DUMP fix (Bug#16494).
9542         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
9543         but fixing this can wait until after the next release.
9544         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
9546 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
9548         * eshell/esh-mode.el (eshell-password-prompt-regexp):
9549         Use `password-word-equivalents'.
9550         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
9551         to t.  (Bug#5664, Bug#13124)
9553 2014-01-19  Alan Mackenzie  <acm@muc.de>
9555         Bind open-paren-in-column-0-is-defun-start to nil at some entry
9556         points.
9557         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
9558         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
9559         * progmodes/cc-mode.el (c-before-change, c-after-change)
9560         (c-font-lock-fontify-region): Bind it here.
9562 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
9564         * term.el (term-window-width): Call window-text-width instead of
9565         window-width (Bug#16470).
9567 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
9569         * simple.el (password-word-equivalents): Remove duplicates.
9570         Sort, to make this easier next time.
9571         Downcase.  Omit ": " after "jelszó".
9573 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
9575         * term/common-win.el (saved-region-selection): Defvar it.
9576         (x-select-text): Set saved-region-selection (Bug#16382).
9578 2014-01-18  Glenn Morris  <rgm@gnu.org>
9580         * emacs-lisp/authors.el (authors-aliases)
9581         (authors-renamed-files-alist): Add some entries.
9583 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
9585         * net/tramp.el (tramp-password-prompt-regexp):
9586         Use `password-word-equivalents' if available.
9587         (tramp-action-password, tramp-process-one-action)
9588         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
9590 2014-01-17  Chong Yidong  <cyd@gnu.org>
9592         * simple.el (password-word-equivalents): New defcustom.
9593         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
9594         to 24.4.
9595         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
9596         to t.  (Bug#13124)
9598 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
9600         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
9601         (ruby-align-to-stmt-keywords): Change the default value.
9602         Use `ruby-alignable-keywords' to generate the possible customization
9603         choices.
9604         (ruby-smie-rules): Instead of using a hardcoded list of alignable
9605         keywords, check against the value of `ruby-alignable-keywords'
9606         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
9608 2014-01-17  Glenn Morris  <rgm@gnu.org>
9610         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
9612         Make M-x authors return zero *Authors Errors* from current logs.
9613         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
9614         (authors-ignored-files): Add some entries, remove others.
9615         (authors-ambiguous-files, authors-valid-file-names):
9616         Add some entries.
9617         (authors-renamed-files-alist): Add, remove, and adjust entries.
9618         (authors-renamed-files-regexps): Add some entries.
9619         Remove some very broad ones.  Make some entries `lax'.
9620         (authors-lax-changelogs): New constant.
9621         (authors-disambiguate-file-name): Treat top-level specially.
9622         (authors-lax-changelog-p): New function.
9623         (authors-canonical-file-name): Check file as written against
9624         authors-valid-file-names.  Do not special-case etc/.
9625         Handle `lax' logs and authors-renamed-files-regexps elements.
9627 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
9629         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
9630         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
9631         callers.
9633 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9635         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
9636         Assume we're already in the proper buffer.
9637         Inspired by Anders Lindgren <andlind@gmail.com>.
9638         (follow-post-command-hook): Call it from the right buffer.
9639         (follow-comint-scroll-to-bottom): Adjust call.
9640         (follow-all-followers): Use get-buffer-window-list.
9642 2014-01-15  Daniel Colascione  <dancol@dancol.org>
9644         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
9645         `buffer-file-name' in interactive-form so that we don't leave
9646         pathless file names in `file-name-history'.
9648 2014-01-15  Juri Linkov  <juri@jurta.org>
9650         * indent.el (indent-rigidly): Set deactivate-mark to nil
9651         in transient indentation mode.  (Bug#16438)
9653 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
9655         * emacs-lisp/package.el (package-desc-keywords): New function
9656         (Bug#16222).
9657         (describe-package-1, package-all-keywords)
9658         (package--has-keyword-p): Use it.
9660 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
9662         * simple.el (define-alternatives): When creating the
9663         COMMAND-alternatives variable, assign COMMAND as its definition
9664         name so that `describe-variable' can relocate it.
9666 2014-01-14  Matthew Leach  <matthew@mattleach.net>
9668         * font-lock.el (font-lock-keywords): Fix typo in docstring
9669         (bug#16307).
9671 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9673         * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
9674         line instead of wrongly reset `add-coment' (bug#13577).
9676 2014-01-14  Daiki Ueno  <ueno@gnu.org>
9678         * epa-file.el (epa-file-write-region): Encode the region according
9679         to `buffer-file-format'.  Problem reported at:
9680         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
9682 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9684         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
9685         so it applies in the right buffer (bug#16410).
9687 2014-01-13  Daniel Colascione  <dancol@dancol.org>
9689         * textmodes/rst.el (rst-define-key): Provide deprecated
9690         keybindings through named functions instead of anonymous ones so
9691         that "??" doesn't appear in describe-mode output.
9693 2014-01-13  Bastien Guerry  <bzg@gnu.org>
9695         * simple.el (define-alternatives): Call the selected command
9696         interactively.  When setting `COMMAND--implementation' for the
9697         first time, tell the user how to chose another implementation.
9698         Enhance the docstring.
9700 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9702         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
9703         (log-edit--match-first-line): New function.
9704         (log-edit-font-lock-keywords): Use it.
9705         (log-edit-mode): Make jit-lock-defer-multiline work.
9707 2014-01-13  Bastien Guerry  <bzg@gnu.org>
9709         * rect.el (rectangle-mark-mode): When the region is not active,
9710         display a message saying that the mark as been set and that
9711         rectangle mode is in use.
9712         (rectangle--highlight-for-redisplay): Only put an overlay with a
9713         visible vertical bar when (display-graphic-p) is non-nil.
9714         This partially fixes Bug#16403.
9716 2014-01-13  Juri Linkov  <juri@jurta.org>
9718         * info.el (Info-find-file): Go to DIR before displaying the error
9719         about a nonexistent file if no previous Info file is visited.
9720         Use `user-error' instead of `error' for "Info file %s does not exist".
9721         (Info-find-node-2): In case of a nonexistent node in unwind forms
9722         go to the Top node if there is no previous node to revert to.
9723         (Bug#16405)
9725 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
9727         fit-frame/window-to-buffer code fixes including one for Bug#14096.
9728         * window.el (fit-frame-to-buffer): Fix doc-string.
9729         Respect window-min-height/-width.  Fit pixelwise when
9730         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
9731         when avoiding that frame goes partially off-screen.
9732         (fit-window-to-buffer): Respect window-min-height/-width
9733         (Bug#14096).
9735 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9737         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
9738         after an empty line.
9740 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9742         * net/shr.el (shr-render-region): Autoload.
9744 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
9746         * net/eww.el (eww-download-directory): Rename from
9747         `eww-download-path' (Bug#16419).
9749 2014-01-12  Leo Liu  <sdl.web@gmail.com>
9751         * dired-x.el (dired-mode-map): Fix last change.
9753         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
9755 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
9757         Spelling fixes.
9758         * emacs-lisp/generic.el (generic--normalize-comments):
9759         Rename from generic--normalise-comments.  All uses changed.
9760         * play/bubbles.el (bubbles--neighborhood-score)
9761         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
9762         (bubbles--neighborhood-available)
9763         (bubbles--update-neighborhood-score):
9764         Rename from names with 'neighbourhood'.  All uses changed.
9766 2014-01-12  Leo Liu  <sdl.web@gmail.com>
9768         Re-implement the feature of showing eldoc info after editing.
9769         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
9770         (eldoc-edit-message-commands): New function.
9771         (eldoc-print-after-edit): New variable.
9772         (eldoc-pre-command-refresh-echo-area): Emit message only by
9773         eldoc-message-commands.
9774         (eldoc-mode): Restrict eldoc-message-commands to editing commands
9775         if eldoc-print-after-edit is set.  (Bug#16346)
9776         * simple.el (read--expression): Enable eldoc-mode.
9777         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9779 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
9780             Eric S. Raymond  <esr@thyrsus.com>
9782         * version.el (emacs-repository-get-version): Enhance so the
9783         function works correctly in either a Bazaar or Git repo.
9785 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
9787         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
9788         Goes with removal of the joke manpages from /etc.
9790 2014-01-10  Kenichi Handa  <handa@gnu.org>
9792         * mail/rmail.el (rmail-get-coding-system):
9793         Check rmail-get-coding-function before "funcall"ing it.
9795 2014-01-10  Glenn Morris  <rgm@gnu.org>
9797         * emacs-lisp/authors.el (authors-fixed-entries):
9798         Update for files that no longer exist.
9800 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
9802         * version.el (emacs-bzr-get-version): Restore compatibilty with
9803         24.3 (Tested).
9805 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
9807         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
9808         and Podfile.
9810 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
9812         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
9814 2014-01-10  Chong Yidong  <cyd@gnu.org>
9816         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
9818 2014-01-10  Anders Lindgren  <andlind@gmail.com>
9820         * follow.el (follow-cache-command-list): Include right-char and
9821         left-char.
9823 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
9825         Spelling fixes.
9826         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
9827         * woman.el (woman-mark-horizontal-position):
9828         Rename from woman-mark-horizonal-position.  Use changed.
9830 2014-01-10  Glenn Morris  <rgm@gnu.org>
9832         * info.el (info-initialize): If running uninstalled, ensure our
9833         own info files are always found first, even if INFOPATH is set.
9835         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
9837 2014-01-09  David Engster  <deng@randomsample.de>
9839         * emacs-lisp/eieio-custom.el:
9840         * emacs-lisp/eieio-opt.el: Set generated autoload file to
9841         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
9842         * emacs-lisp/eieio.el: Regenerate autoloads.
9844 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
9846         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
9847         following renames.  (Bug#8756)
9849 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9851         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
9852         (bug#16382).
9853         (activate-mark): Add `no-tmm' argument.
9854         (set-mark, push-mark-command): Use it instead of running
9855         activate-mark-hook by hand.
9857 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
9859         In preparation for the move to git, sanitize out some
9860         Bazaar-specific names.
9862         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
9864         * version.el (emacs-bzr-version): Name changed to
9865         emacs-repository-version.  Obsolete-variable alias made.
9866         * loadup.el: Follow through on this name change.
9867         * mail/emacsbug.el (report-emacs-bug): Factor out any
9868         assumption about the version control system in use.
9870 2014-01-08  David Engster  <deng@randomsample.de>
9872         * help-fns.el (help-fns-describe-function-functions):
9873         New variable to call functions for augmenting help buffers.
9874         (describe-function-1): Remove explicit calls to
9875         `help-fns--compiler-macro', `help-fns--parent-mode' and
9876         `help-fns--obsolete'.  Put them in above new variable instead, and
9877         call them through `run-hook-with-args'.
9878         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
9879         `eieio-describe-class'.  Not meant for interactive use anymore,
9880         but to augment existing help buffers.  Remove optional second
9881         argument.  Create proper button for file location.
9882         Rewrite function to use `insert' instead of `princ' and `prin1' where
9883         possible.
9884         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
9885         (eieio-method-def, eieio-class-def): Move further up.
9886         (describe-method, describe-generic, eieio-describe-method):
9887         Remove aliases.
9888         (eieio-help-constructor, eieio-help-generic): Rename from
9889         `eieio-describe-constructor' and `eieio-describe-generic', resp.
9890         Rewrite to use `insert' in the current buffer and use proper help
9891         buttons.
9892         (eieio-help-find-method-definition)
9893         (eieio-help-find-class-definition): Also accept symbols as
9894         arguments.
9895         (eieio-help-mode-augmentation-maybee): Remove.
9896         (eieio-describe-class-sb): Use `describe-function'.
9897         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
9898         Add `eieio-help-generic' and `eieio-help-constructor'.
9900 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
9902         Spelling fixes.
9903         * language/china-util.el (hz-ascii-designation):
9904         Rename from hz-ascii-designnation.
9905         (hz-ascii-designation): Rename from hz-ascii-designnation.
9906         All uses changed.
9908 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9910         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
9911         package-alist.
9913 2014-01-08  Bastien Guerry  <bzg@gnu.org>
9915         * emacs-lisp/package.el (package-delete):
9916         Correctly delete the package from package-alist.
9918 2014-01-08  Daiki Ueno  <ueno@gnu.org>
9920         * emacs-lisp/package.el (url-recreate-url): Declare.
9921         (url-http-target-url): Declare.
9922         (package-handle-response): Include requested URL in the error message.
9923         (package--check-signature): Don't re-signal errors from
9924         package--with-work-buffer.  Suggested by Stefan Monnier.
9926 2014-01-07  Bastien Guerry  <bzg@gnu.org>
9928         * minibuffer.el (completion--try-word-completion): When both a
9929         hyphen and a space are possible candidates for the character
9930         following a word, display both candidates.  (Bug#15980)
9932 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
9934         * window.el (balance-windows-2): While rounding don't give a
9935         window more than the remainder.  Bug#16351, bug#16383.
9937 2014-01-07  Glenn Morris  <rgm@gnu.org>
9939         * menu-bar.el (menu-bar-help-extra-packages): Remove.
9940         (menu-bar-help-menu): Use view-external-packages instead.
9942 2014-01-07  Bastien Guerry  <bzg@gnu.org>
9944         * emacs-lisp/package.el (package-delete): Also delete the package
9945         name from `package-alist', not its description only.
9947 2014-01-07  Glenn Morris  <rgm@gnu.org>
9949         * help.el (view-external-packages):
9950         * menu-bar.el (menu-bar-help-extra-packages):
9951         Visit efaq.info rather than etc/MORE.STUFF.
9953 2014-01-07  Juri Linkov  <juri@jurta.org>
9955         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
9956         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
9958         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
9959         that shadows RET.  (Bug#16342)
9961 2014-01-07  Chong Yidong  <cyd@gnu.org>
9963         * isearch.el (isearch-yank-char, isearch-yank-word)
9964         (isearch-yank-line): Doc fix.
9966 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9968         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
9969         * emacs-lisp/elint.el (elint-find-builtins):
9970         * emacs-lisp/eldoc.el (eldoc-symbol-function):
9971         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
9972         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
9973         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9974         * apropos.el (apropos-safe-documentation):
9975         * subr.el (symbol-file): Remove redundant fboundp.
9976         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
9978 2014-01-06  Bastien Guerry  <bzg@gnu.org>
9980         * hl-line.el (global-hl-line-overlay): Make a local variable.
9981         (global-hl-line-overlays): New variable to store all overlays.
9982         (global-hl-line-mode): Don't delete overlays from the current
9983         buffer when `global-hl-line-sticky-flag' is non-nil.
9984         (global-hl-line-highlight): Add new overlays to
9985         `global-hl-line-overlays'.
9986         (global-hl-line-unhighlight-all): New function to delete all
9987         overlays when turning off `global-hl-line-mode'.
9988         This fixes Bug#16183.
9990 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9992         * subr.el (set-transient-map): Fix nested case and docstring.
9994 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
9996         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
9997         `Texinfo' entry.
9999 2014-01-06  Daniel Colascione  <dancol@dancol.org>
10001         Fix defun navigation in vc log view.
10003         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
10004         like `beginning-of-defun'.
10005         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
10006         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
10007         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
10008         (log-view-extract-comment): Call `log-view-current-entry' directly
10009         instead of relying on broken `log-view-beginning-of-defun' behavior.
10011 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
10013         Spelling fixes.
10014         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
10015         * emacs-lisp/debug.el (cancel-debug-on-entry):
10016         * epg.el (epg-error-to-string):
10017         * files.el (recover-file):
10018         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
10019         * mail/emacsbug.el (report-emacs-bug-hook):
10020         * mail/sendmail.el (mail-recover):
10021         * ses.el (ses-yank-resize):
10022         * term/ns-win.el (ns-print-buffer):
10023         Spelling fixes in diagnostics, mostly for "canceled" with one L.
10024         * epg.el (epg-key-capability-alist): Rename from misspelled version.
10025         All uses changed.
10026         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
10028 2014-01-06  Leo Liu  <sdl.web@gmail.com>
10030         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
10031         to avoid shadowing global key.  (Bug#16354)
10033 2014-01-06  Daniel Colascione  <dancol@dancol.org>
10035         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
10036         rst-mode.
10038 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
10040         * window.el (balance-windows): Add mising t to fix Bug#16351.
10042 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10044         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
10045         (bug#16285).
10046         (shr-insert): If we have a word that's longer than `shr-width',
10047         break after it anyway.  Otherwise we'll do no breaking once we get
10048         such a long word.
10050 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
10052         * net/eww.el (eww): Support single/double quote for search.
10053         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
10054         (eww-history-quit): Delete and use quit-window.
10055         (eww-history-kill): Delete, because it doesn't work well and
10056         not necessary.
10057         (eww-history-mode-map): Delete some keys and add easy-menu.
10059 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
10061         Fix misspelling of 'chinese' in rx (Bug#16237).
10062         * emacs-lisp/rx.el (rx-categories): Correct spelling of
10063         chinese-two-byte.
10065         Change subword regexps back to vars (Bug#16296).
10066         * progmodes/subword.el (subword-forward-regexp)
10067         (subword-backward-regexp): Change these back to variables.
10069 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10071         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
10072         syntax-begin-function (bug#16247).
10074 2014-01-03  Chong Yidong  <cyd@gnu.org>
10076         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
10077         (advice--docstring): Delete variable.
10078         (advice--make-1): Leave the docstring empty.
10079         (advice-add): Use function-documentation for advised docstring.
10081         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
10082         Ignore function-documentation property when getting documentation.
10083         (ad-activate-advised-definition): Use function-documentation
10084         generate the docstring.
10085         (ad-make-advised-definition): Don't call
10086         ad-make-advised-definition-docstring.
10087         (ad-make-advised-definition-docstring, ad-advised-definition-p):
10088         Delete functions.
10090         * progmodes/sql.el (sql-help): Use function-documentation instead
10091         of dynamic-docstring-function property.  No need to autoload now.
10092         (sql--help-docstring): New variable.
10093         (sql--make-help-docstring): Use it.
10095 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10097         * ielm.el (ielm-tab): Retarget.
10098         (ielm-map): Use ielm-tab for tab.
10099         (ielm-complete-filename): Use comint-filename-completion.
10100         (ielm-complete-symbol): Remove.
10101         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
10102         remove ielm-tab from completion-at-point-functions (bug#16224).
10104         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
10105         Beware signals raised by predicates (bug#16201).
10107 2014-01-02  Richard Stallman  <rms@gnu.org>
10109         * dired-aux.el (dired-do-print): Handle printer-name.
10111         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
10112         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
10113         (rmail-epa-decrypt): Turn off mime processing.
10115         * mail/rmail.el (rmail-make-in-reply-to-field):
10116         Add parens in message-id.
10118         * mail/rmail.el (rmail-get-coding-function): Variable.
10119         (rmail-get-coding-system): Use it.
10121 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
10123         * international/mule-conf.el: Unify the charset indian-is13194.
10124         (indian-is13194): Specify unify-map.
10126 2013-12-31  Leo Liu  <sdl.web@gmail.com>
10128         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
10130 2013-12-30  Daniel Colascione  <dancol@dancol.org>
10132         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
10133         of printing a useless when we resume from sleep.
10135         * progmodes/sh-script.el
10136         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
10137         in indentation code.  (Bug#16233)
10139 2013-12-28  João Távora  <joaotavora@gmail.com>
10141         * elec-pair.el (electric-pair-post-self-insert-function):
10142         Don't open extra newlines at beginning of buffer.  (Bug#16272)
10144 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
10146         * frame.el (window-system-for-display): Don't allow to create a
10147         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
10149 2013-12-28  Glenn Morris  <rgm@gnu.org>
10151         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
10152         Update callers.
10154         * apropos.el (apropos-match-face):
10155         * calculator.el (calculator-displayer):
10156         * dabbrev.el (dabbrev-search-these-buffers-only):
10157         * face-remap.el (buffer-face-mode-face):
10158         * simple.el (yank-handled-properties):
10159         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
10160         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
10161         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
10162         (hashcash-double-spend-database):
10163         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
10164         (ruby-deep-indent-paren-style):
10165         * textmodes/flyspell.el (flyspell-auto-correct-binding):
10166         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
10167         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
10168         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
10169         Specify custom types.
10171         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
10172         * bookmark.el (bookmark-bmenu-use-header-line):
10173         * doc-view.el (doc-view-scale-internally):
10174         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
10175         * register.el (register-preview-delay):
10176         * net/shr.el (shr-bullet):
10177         * progmodes/cfengine.el (cfengine-cf-promises)
10178         (cfengine-parameters-indent):
10179         * progmodes/octave.el (inferior-octave-error-regexp-alist):
10180         * textmodes/reftex-vars.el (reftex-label-regexps):
10181         * vc/log-edit.el (log-edit-setup-add-author): Add version.
10183         * net/tls.el (tls-certtool-program): Fix default value.
10185         * desktop.el (desktop-restore-in-current-display):
10186         * newcomment.el (comment-empty-lines):
10187         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
10188         (idlwave-pad-keyword):
10189         * progmodes/tcl.el (tcl-tab-always-indent):
10190         * textmodes/reftex-vars.el (reftex-index-default-tag):
10191         * elec-pair.el (electric-pair-skip-whitespace):
10192         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
10194         * emacs-lisp/authors.el (authors-ignored-files)
10195         (authors-valid-file-names, authors-renamed-files-alist): Additions.
10197 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
10199         * shell.el (shell-dynamic-complete-command): Doc fix.
10200         (shell--command-completion-data): Shell completion now matches
10201         executable filenames from the current buffer's directory, on
10202         systems in which this behavior is the default (windows-nt, ms-dos).
10204 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
10206         * net/shr.el (shr-insert): Don't infloop if the width is zero.
10208 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10210         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
10211         (bug#16251).
10213         * electric.el: Move all electric-pair-* to elec-pair.el.
10214         * elec-pair.el: New file, split from electric.el.
10216 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
10218         * net/shr.el (shr-find-fill-point): Don't try to fill if the
10219         indentation level is larger than the width, because that will
10220         infloop.
10221         (shr-insert): Fill repeatedly long texts, so that Japanese is
10222         formatted correctly (bug#16263).
10223         (shr-find-fill-point): Off by one error in comparison with the
10224         indentation.
10226 2013-12-26  João Távora  <joaotavora@gmail.com>
10228         * electric.el (electric-pair-mode): More flexible engine for skip-
10229         and inhibit predicates, new options for pairing-related functionality.
10230         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
10231         if that keeps or improves their balance in buffers.
10232         (electric-pair-delete-adjacent-pairs): Delete the pair when
10233         backspacing over adjacent matched delimiters.
10234         (electric-pair-open-extra-newline): Open extra newline when
10235         inserting newlines between adjacent matched delimiters.
10236         (electric--sort-post-self-insertion-hook):
10237         Sort post-self-insert-hook according to priority values when
10238         minor-modes are activated.
10239         * simple.el (newline-and-indent): Call newline with interactive
10240         set to t.
10241         (blink-paren-post-self-insert-function): Set priority to 100.
10242         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10243         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
10244         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
10245         electric-pair-open-newline-between-pairs to nil.
10247 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10249         * progmodes/python.el: Use lexical-binding.
10250         (python-nav-beginning-of-defun): Stop searching ASAP.
10252 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
10254         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
10255         Fix interactive spec.  Doc fix.  (Bug#15754)
10257 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
10259         * emacs-lisp/byte-run.el (eval-when-compile):
10260         * progmodes/cc-defs.el (cc-eval-when-compile):
10261         Fix edebug spec (bug#16184).
10263 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
10265         * net/shr.el (shr-visit-file): Remove debugging function.
10266         (shr-insert): Don't infloop if we can't find a good place to break
10267         the line (bug#16256).
10269 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10271         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
10272         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
10273         python-nav-lisp-forward-sexp-safe.
10274         (python-nav--forward-sexp): New argument SAFE allows switching
10275         forward sexp movement behavior for parens.
10276         (python-nav-forward-sexp): Throw errors on unterminated parens
10277         (Bug#16191).
10278         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
10279         (python-nav-backward-sexp-safe): New functions.
10280         (python-shell-buffer-substring):
10281         Use `python-nav-forward-sexp-safe'.
10283 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
10285         * net/shr.el (shr-find-fill-point): Don't break lines before a
10286         quotation mark.
10287         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
10288         (shr-find-fill-point): Remove the special checks for the quotation
10289         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
10291 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
10293         * net/eww.el (eww-form-textarea): Use a different face for
10294         textareas than text input since they have different keymaps
10295         (bug#16142).
10297 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10299         * progmodes/python.el (python-nav-beginning-of-statement):
10300         Speed up (Bug#15295).
10302 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
10304         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
10305         the window configuration.
10307 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
10309         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
10310         we run on MS-Windows or MS-DOS.
10312 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
10314         * window.el (balance-windows-area): Call window-size instead of
10315         window-height and window-width.  Bug#16241.
10317 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
10319         * net/eww.el (eww-bookmark-quit): Remove.
10320         (eww-bookmark-browse): Restore the window configuration when you
10321         choose a bookmark (bug#16144).
10323 2013-12-24  Daniel Colascione  <dancol@dancol.org>
10325         * icomplete.el: Remove redundant :group arguments to `defcustom'
10326         throughout.
10327         (icomplete-show-matches-on-no-input): New customizable variable.
10328         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
10329         we have something to show.
10330         (icomplete-exhibit): Compute completions even if we have no user input.
10332 2013-12-23  Daniel Colascione  <dancol@dancol.org>
10334         * icomplete.el: Move `provide' to end of file.
10336 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
10338         * net/gnutls.el (gnutls-verify-error): Add version tag.
10340 2013-12-23  Chong Yidong  <cyd@gnu.org>
10342         * subr.el (set-transient-map): Rename from
10343         set-temporary-overlay-map.  Doc fix.
10345         * face-remap.el (text-scale-adjust):
10346         * indent.el (indent-rigidly):
10347         * kmacro.el (kmacro-call-macro):
10348         * minibuffer.el (minibuffer-force-complete):
10349         * repeat.el (repeat):
10350         * simple.el (universal-argument--mode):
10351         * calendar/todo-mode.el (todo-insert-item--next-param):
10352         * progmodes/f90.el (f90-abbrev-start): Callers changed.
10354         * indent.el (indent-rigidly): Use substitute-command-keys.
10356 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
10358         * net/eww.el (eww-tag-select): Add text-property to jump to next
10359         select field.
10360         (eww): Add non-supported ftp error.
10362 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
10364         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
10365         comments.  Handle electric indent after typing `?' and `!'.
10367 2013-12-22  Chong Yidong  <cyd@gnu.org>
10369         * faces.el (face-spec-recalc): If the theme specs are not
10370         applicable to a frame, fall back on the defface spec.
10371         This prevents themes from obliterating faces on low-color terminals.
10373 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
10375         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
10376         after `{'.  We need it after block openers, and it doesn't seem
10377         to hurt after hash openers.
10379 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
10381         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
10382         extracted from `ruby-smie-rules'.
10383         (ruby--electric-indent-chars): New variable.
10384         (ruby--electric-indent-p): New function.
10385         (ruby-mode): Use `electric-indent-functions' instead of
10386         `electric-indent-chars'.
10388 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
10390         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
10391         docstring.
10392         (ruby-smie-rules): Indent plus one level after `=>'.
10394 2013-12-21  Richard Stallman  <rms@gnu.org>
10396         * simple.el (newline): Doc fix.
10398 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
10400         * net/eww.el (eww-list-histories, eww-list-histories)
10401         (eww-history-browse, eww-history-quit, eww-history-kill)
10402         (eww-history-mode-map, eww-history-mode): New command and
10403         functions to list browser histories.
10404         (eww-form-text): Support text form with disabled
10405         and readonly attributes.
10406         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
10408 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10410         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
10411         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
10412         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
10413         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
10414         Use `user-error'.
10415         (eww-bookmark-mode-map): Add menu.
10416         (eww-render, eww-mode): Use `setq-local'.
10417         (eww-tool-bar-map): New variable.
10418         (eww-mode): Set `tool-bar-map'.
10419         (eww-view-source): Check for `html-mode' with `fboundp'.
10421 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10423         * net/shr.el (shr--extract-best-source): Don't bug out on audio
10424         elements with text inside.  Also remove debugging.
10426 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
10428         * cus-start.el (all): Add ns-use-srgb-colorspace.
10430 2013-12-21  Chong Yidong  <cyd@gnu.org>
10432         * custom.el (custom-theme-recalc-face): Do nothing if the face is
10433         undefined.  Thus, theme settings for undefined faces do not take
10434         effect until the faces are defined with defface, the same as with
10435         theme variables.
10437         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
10438         (face-spec-reset-face): Don't assign extra properties in temacs.
10439         (face-spec-recalc): Apply X resources too.
10441 2013-12-21  Chong Yidong  <cyd@gnu.org>
10443         * faces.el (face-spec-set):
10444         * cus-face.el (custom-theme-set-faces, custom-set-faces):
10445         * custom.el (defface): Doc fixes (Bug#16203).
10447         * indent.el (indent-rigidly-map): Add docstring, and move commands
10448         into named functions.
10449         (indent-rigidly-left, indent-rigidly-right)
10450         (indent-rigidly-left-to-tab-stop)
10451         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
10452         indentation direction based on bidi direction, and accumulate
10453         sequential commands in a single undo boundary.
10454         (indent-rigidly--pop-undo): New utility function.
10456 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
10458         * faces.el (read-face-name): Require crm.el when using crm-separator.
10460 2013-12-20  Daniel Colascione  <dancol@dancol.org>
10462         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
10463         so that we don't reflow comments into the shebang line.
10465 2013-12-20  Juri Linkov  <juri@jurta.org>
10467         * saveplace.el (save-place-to-alist): Add `dired-filename' as
10468         a position when `dired-directory' is non-nil.  Check integer
10469         positions with `integerp'.
10470         (toggle-save-place, save-places-to-alist): Add check for
10471         `dired-directory'.
10472         (save-place-find-file-hook): Check integer positions with
10473         `integerp'.
10474         (save-place-dired-hook): Use `dired-goto-file' when
10475         `dired-filename' is found in the assoc list.  Check integer
10476         positions with `integerp'.
10477         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
10479         * dired.el (dired-initial-position-hook): Rename back from
10480         `dired-initial-point-hook'.
10481         (dired-initial-position): Rename `dired-initial-point-hook' to
10482         `dired-initial-position-hook'.
10483         (dired-file-name-at-point): Doc fix.  (Bug#15329)
10485 2013-12-20  Juri Linkov  <juri@jurta.org>
10487         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
10488         (read-regexp-suggestions): New function.
10489         (read-regexp): Use `read-regexp-defaults-function' to get default values.
10490         Use `read-regexp-suggestions'.  Add non-empty default to history
10491         for empty input.
10492         (occur-read-regexp-defaults-function): Remove function.
10493         (occur-read-primary-args): Use `regexp-history-last' instead of
10494         `occur-read-regexp-defaults-function'.
10496         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
10497         (hi-lock-line-face-buffer, hi-lock-face-buffer)
10498         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
10499         `hi-lock-read-regexp-defaults-function'.  Doc fix.
10500         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
10501         with `find-tag-default-as-symbol-regexp'.  Doc fix.
10502         (hi-lock-read-regexp-defaults): Remove function.
10503         (hi-lock-regexp-okay): Add check for null.
10505         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
10506         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
10508         * subr.el (find-tag-default-as-symbol-regexp): New function.
10509         (find-tag-default-as-regexp): Move symbol regexp formatting to
10510         `find-tag-default-as-symbol-regexp'.
10512 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
10514         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
10515         (Bug#14179)
10517 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
10519         * calendar/todo-mode.el: New implementation of item insertion
10520         commands and key bindings.
10521         (todo-key-prompt): New face.
10522         (todo-insert-item): New command.
10523         (todo-insert-item--parameters): New defconst, replacing defvar
10524         todo-insertion-commands-args-genlist.
10525         (todo-insert-item--param-key-alist): New defconst, replacing
10526         defvar todo-insertion-commands-arg-key-list.
10527         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
10528         (todo-insert-item--argsleft, todo-insert-item--apply-args)
10529         (todo-insert-item--next-param): New functions.
10530         (todo-insert-item--args, todo-insert-item--argleft)
10531         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
10532         New variables.
10533         (todo-key-bindings-t): Change binding of "i" from
10534         todo-insertion-map to todo-insert-item.
10535         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
10536         (todo-insertion-command-name, todo-insertion-commands-names)
10537         (todo-define-insertion-command, todo-insertion-commands)
10538         (todo-insertion-key-bindings, todo-insertion-map): Remove.
10540 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
10542         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
10543         (todo-toggle-item-highlighting): Use eval-and-compile instead of
10544         eval-when-compile.
10545         (todo-move-category): Allow choosing a non-existing todo file to
10546         move the category to, and create that file.
10547         (todo-default-priority): New user option.
10548         (todo-set-item-priority): Use it.
10549         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
10550         (desktop-restore-file-buffer): Declare.
10551         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
10552         (todo-modes-set-2): Locally set desktop-save-buffer to
10553         todo-desktop-save-buffer.
10554         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
10555         (auto-mode-alist): Add autoload cookie.
10557 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
10559         * emacs-lisp/subr-x.el: Renamed from helpers.el.
10560         helpers.el was a poor choice of name.
10561         (string-remove-prefix): New function.
10562         (string-remove-suffix): New function.
10564 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
10566         Fix assignment for new window total sizes.
10567         * window.el (window--pixel-to-size): Remove function.
10568         (window--pixel-to-total-1, window--pixel-to-total):
10569         Fix calculation of new total sizes.
10571 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
10573         * comint.el (comint-output-filter): Fix rear-nonsticky property
10574         placement (Bug#16010).
10576 2013-12-20  Chong Yidong  <cyd@gnu.org>
10578         * faces.el (read-color): Minor fix for completion function.
10580 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
10582         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
10583         New option.  (Bug#16182)
10584         (ruby-smie--indent-to-stmt-p): Use it.
10585         (ruby-smie-rules): Revert the logic in the handling of `when'.
10586         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
10587         (ruby-deep-arglist, ruby-deep-indent-paren)
10588         (ruby-deep-indent-paren-style): Update docstrings to note that the
10589         vars don't have any effect with SMIE.
10591 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
10593         * calc/calc.el (calc-enter, calc-pop): Use the variable
10594         `calc-context-sensitive-enter'.
10596 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10598         * net/shr.el (shr-insert): Protect against infloops in degenerate
10599         tables.
10601 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10603         * progmodes/octave.el (octave): Add link to manual and octave
10604         homepage.
10605         (octave-mode-menu): Link to octave-mode manual.
10607 2013-12-20  Leo Liu  <sdl.web@gmail.com>
10609         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
10610         insertion using skeleton-end-newline.  (Bug#16138)
10612 2013-12-20  Juri Linkov  <juri@jurta.org>
10614         * replace.el (occur-engine): Use `add-face-text-property'
10615         to add the face property to matches and titles.  (Bug#14645)
10617         * hi-lock.el (hi-green): Use lighter color "light green" closer to
10618         the palette of other hi-lock colors.
10619         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
10621 2013-12-19  Juri Linkov  <juri@jurta.org>
10623         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
10624         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
10625         (minibuffer-history-symbol): Move variable declaration closer to
10626         its usage.
10628         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
10629         (Bug#14785)
10631 2013-12-19  Juri Linkov  <juri@jurta.org>
10633         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
10634         New function.
10635         (log-edit-hook): Add it to :options.  (Bug#16170)
10637 2013-12-19  Juri Linkov  <juri@jurta.org>
10639         * simple.el (eval-expression-print-format): Don't check for
10640         command names and the last command.  Always display additional
10641         formats of the integer result in the echo area, and insert them
10642         to the current buffer only with a zero prefix arg.
10643         Display character when char-displayable-p is non-nil.
10644         (eval-expression): With a zero prefix arg, set `print-length' and
10645         `print-level' to nil, and insert the integer values from
10646         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
10648         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
10649         `eval-last-sexp-arg-internal'.  Doc fix.
10650         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
10651         `eval-last-sexp-print-value'.  Doc fix.
10652         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
10653         Set `print-length' and `print-level' to nil when arg is zero.
10654         (eval-last-sexp): Doc fix.
10655         (eval-defun-2): Print the integer values from
10656         `eval-expression-print-format' at the end.
10658         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
10659         values from `eval-expression-print-format' at the end.
10661         * ielm.el (ielm-eval-input): Print the integer
10662         values from `eval-expression-print-format' at the end.
10664 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
10666         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
10667         2013-12-11T19:01:44Z!tzz@lifelogs.com.
10669 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10671         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
10672         (hl-line-highlight, global-hl-line-highlight): Use it.
10673         (hl-line-overlay): Use defvar-local.
10675 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
10677         * term/ns-win.el: Require dnd.
10678         (global-map): Remove drag items.
10679         (ns-insert-text, ns-set-foreground-at-mouse)
10680         (ns-set-background-at-mouse):
10681         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
10682         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
10683         New functions.
10685 2013-12-19  Glenn Morris  <rgm@gnu.org>
10687         * emacs-lisp/ert.el (ert-select-tests):
10688         Fix string/symbol mixup.  (Bug#16121)
10690 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
10692         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
10693         keywords to their parent.
10695 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
10697         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
10698         first arg to be a string (fixed dead code), or an operator symbol.
10699         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
10700         operator symbols.
10701         (ruby-smie-rules): Remove parent token check in the `.' clause, it
10702         did nothing.  Don't respond to `(:after ".")', it will be called
10703         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
10704         change anything.  Only return indentation for binary operators
10705         when they are hanging.  De-dent opening paren when its parent is
10706         `.', otherwise it looks bad when the dot is not at bol or eol
10707         (bug#16182).
10709 2013-12-19  Juri Linkov  <juri@jurta.org>
10711         * replace.el (query-replace-read-args): Split a non-negative arg
10712         and a negative arg into separate elements.
10713         (query-replace, query-replace-regexp, replace-string)
10714         (replace-regexp): Add arg `backward'.  Doc fix.
10715         (replace-match-maybe-edit): When new arg `backward' is non-nil,
10716         move point to the beginning of the match.
10717         (replace-search, replace-highlight): Use new arg `backward'
10718         to set the value of `isearch-forward'.
10719         (perform-replace): Add arg `backward' and use it to perform
10720         replacement backward.  (Bug#14979)
10722         * isearch.el (isearch-query-replace): Use a negative prefix arg
10723         to call `perform-replace' with a non-nil arg `backward'.
10725 2013-12-18  Juri Linkov  <juri@jurta.org>
10727         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
10728         to the default list.  Move `log-edit-show-files' to the end.
10729         Add more available functions to options.
10730         (log-edit): Move default specific settings to
10731         `log-edit-insert-message-template'.  Don't move point.
10732         (log-edit-insert-message-template): New function.
10733         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
10734         (Bug#16170)
10736 2013-12-18  Juri Linkov  <juri@jurta.org>
10738         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
10739         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
10741 2013-12-18  Leo Liu  <sdl.web@gmail.com>
10743         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
10744         (Bug#16186)
10746 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
10748         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
10749         formats for displaying file sizes when the -s switch is given.
10750         Instead, compute a separate format for displaying the size in
10751         blocks, which is displayed in addition to the "regular" size.
10752         When -h is given in addition to -s, produce size in blocks in
10753         human-readable form as well.  (Bug#16179)
10755 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
10757         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10758         Reference tables with ~\ref{...} instead of only \ref{...}.
10760 2013-12-18  Chong Yidong  <cyd@gnu.org>
10762         * cus-edit.el (custom-magic-alist): Fix "themed" description
10763         (Bug#14348).
10765         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
10766         is non-nil, do not create a new entry in the symbol's theme-value
10767         or theme-face property; update theme-settings only (Bug#14664).
10768         (custom-available-themes): Doc fix.
10770         * cus-theme.el (custom-new-theme-mode-map): Add bindings
10771         (Bug#15674).
10773         * replace.el (occur-engine): Avoid infloop (Bug#7593).
10775 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
10777         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
10778         (Bug#13914).
10780 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
10782         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
10784 2013-12-18  Glenn Morris  <rgm@gnu.org>
10786         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
10787         * cus-start.el (load-prefer-newer): New option.
10789 2013-12-18  Le Wang  <l26wang@gmail.com>
10791         * comint.el (comint-previous-matching-input-from-input):
10792         Retain point (Bug#13404).
10794 2013-12-18  Chong Yidong  <cyd@gnu.org>
10796         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
10798 2013-12-18  Glenn Morris  <rgm@gnu.org>
10800         * mail/emacsbug.el (report-emacs-bug):
10801         Only mention enable-multibyte-characters if non-standard.
10803 2013-12-17  Juri Linkov  <juri@jurta.org>
10805         * arc-mode.el (archive-extract-by-file): Check if directory exists
10806         before deletion to not show irrelevant errors if it doesn't exist.
10808 2013-12-17  Juri Linkov  <juri@jurta.org>
10810         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
10811         (Bug#14751)
10813         * net/eww.el (browse-web): Add alias to `eww'.
10814         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
10815         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
10817         * net/browse-url.el (browse-url-browser-function): Move `eww'
10818         closer to similar functions.
10820         * startup.el (fancy-startup-screen, fancy-about-screen):
10821         Set browse-url-browser-function to eww-browse-url locally.
10822         (Bug#14751)
10824 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10826         * window.el (window--pixel-to-total): Remove unused `mini' var.
10827         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
10828         (split-window): Remove unused `new' var.
10829         (window--display-buffer): Remove unused `frame' and `delta' vars.
10830         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
10831         and display-width'.
10833 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
10835         * dired.el (dired-mark-pop-up):
10836         * register.el (register-preview): Don't bind
10837         split-height-threshold here since it's now done in
10838         display-buffer-below-selected.
10840 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
10842         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
10843         xterm-rgb-convert-to-16bit.
10844         (rxvt-register-default-colors): Standardize with
10845         xterm-register-default-colors (Bug#14078).
10847 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
10849         * simple.el (kill-region): Pass mark first, then point, so that
10850         kill-append works right (Bug#12819).
10851         (copy-region-as-kill, kill-ring-save): Likewise.
10853 2013-12-17  Leo Liu  <sdl.web@gmail.com>
10855         * net/rcirc.el (rcirc-add-face):
10856         * eshell/em-prompt.el (eshell-emit-prompt):
10857         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
10858         (Bug#16167)
10860 2013-12-17  Chong Yidong  <cyd@gnu.org>
10862         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
10863         Suggested by Xue Fuqiao.
10865 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
10867         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
10869 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10871         * net/shr.el (shr-insert-document): Remove unused var
10872         `shr-preliminary-table-render'.
10873         (shr-rescale-image): Remove unused arg `force'.
10874         (shr-put-image): Update calls accordingly.
10875         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
10877 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
10879         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
10880         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
10881         :close-all, to see which indentation method to use (Bug#16116).
10882         (smie-rules-function): Document the method :close-all.
10884 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10886         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
10888         * net/eww.el (eww-display-html): If we can't find the anchor we're
10889         looking for, then go to point-min.
10891 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
10893         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
10894         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
10895         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
10896         Expand dir too, in case it's relative.
10898 2013-12-16  Juri Linkov  <juri@jurta.org>
10900         * desktop.el (desktop-auto-save-timeout): Change default to
10901         `auto-save-timeout'.  Doc fix.
10902         (desktop-save): Skip the timestamp in desktop-saved-frameset
10903         when checking for auto-save changes.
10904         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
10905         `desktop-auto-save' is called repeatedly by the idle timer.
10906         (desktop-auto-save-set-timer): Replace `run-with-timer' with
10907         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
10908         (Bug#15331)
10910 2013-12-16  Juri Linkov  <juri@jurta.org>
10912         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
10913         (Bug#16035)
10914         (isearch-pre-command-hook): Check `this-command' for symbolp.
10916 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10918         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
10920 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
10922         * progmodes/cfengine.el (cfengine3--current-word): Remove.
10923         (cfengine3--current-function): Bring in the current-function
10924         functionality from `cfengine3--current-word'.
10925         (cfengine3-completion-function): Bring in the
10926         bounds-of-current-word functionality from
10927         `cfengine3--current-word'.
10929 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
10931         * window.el (display-buffer-below-selected):
10932         Bind split-height-threshold to 0 as suggested by Juri Linkov.
10934 2013-12-16  Leo Liu  <sdl.web@gmail.com>
10936         * progmodes/compile.el (compile-goto-error): Do not push-mark.
10937         Remove NOMSG arg and all uses changed.
10939 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10941         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
10942         (cua--deactivate-rectangle): Don't deactivate the mark.
10943         (cua-set-rectangle-mark): Don't set mark-active since
10944         cua--activate-rectangle already does it for us.
10945         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
10946         non-rectangular region.
10948         * emulation/cua-base.el (cua-repeat-replace-region):
10949         Use with-current-buffer.
10951         * net/gnutls.el: Use cl-lib.
10952         (gnutls-negotiate): `mapcan' -> cl-mapcan.
10954 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
10956         * emacs-lisp/package.el (package-built-in-p): Support both
10957         built-in and the package.el converted package descriptions.
10958         (package-show-package-list): Allow keywords.
10959         (package-keyword-button-action): Use it instead of
10960         `finder-list-matches'.
10961         (package-menu-filter-interactive): Interactive filtering (by
10962         keyword) function.
10963         (package-menu--generate): Support keywords and change keymappings
10964         and headers when they are given.
10965         (package--has-keyword-p): Helper function.
10966         (package-menu--refresh): Use it.
10967         (package--mapc): Helper function.
10968         (package-all-keywords): Use it.
10969         (package-menu-mode-map): Set up menu items and keybindings to
10970         provide a filtering UI.
10972 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
10974         * net/gnutls.el (gnutls-verify-error): New defcustom to control
10975         the behavior when a certificate fails validation.  Defaults to
10976         old behavior: never abort, just warn.
10977         (gnutls-negotiate): Use it.
10979 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
10981         * window.el (display-buffer-below-selected): Never split window
10982         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
10984 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
10986         * emacs-lisp/package.el (package--prepare-dependencies): New function.
10987         (package-buffer-info): Use it (bug#15108).
10989 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10991         * icomplete.el (icomplete-completions): Make sure the prefix is already
10992         displayed elsewhere before hiding it (bug#16219).
10994 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
10996         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
10997         open-paren tokens when preceded by a open-paren, too.
10998         (ruby-smie-rules): Handle virtual indentation after open-paren
10999         tokens specially.  If there is code between it and eol, return the
11000         column where is starts (Bug#16118).
11002 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
11004         * progmodes/cfengine.el: Fix `add-hook' doc.
11005         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
11006         (cfengine3--current-word): Fix parameters.
11007         (cfengine3-make-syntax-cache): Simplify further.
11008         (cfengine3-completion-function, cfengine3--current-function):
11009         Use `assq' for symbols.
11010         (cfengine3--current-function): Fix `cfengine3--current-word' call.
11012 2013-12-13  Glenn Morris  <rgm@gnu.org>
11014         * loadup.el (load-path): Warn if site-load or site-init changes it.
11015         No more need to reset it when bootstrapping.
11017 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
11019         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
11020         locations for cf-promises.
11021         (cfengine-mode-syntax-functions-regex): New caching variable.
11022         (cfengine3-fallback-syntax): Fallback syntax for cases where
11023         cf-promises doesn't run.
11024         (cfengine3--current-word): Reimplement using
11025         `cfengine-mode-syntax-functions-regex'.
11026         (cfengine3-completion-function, cfengine3--current-function):
11027         Use `cfengine3-make-syntax-cache' directly.
11028         (cfengine3-clear-syntax-cache): New function.
11029         (cfengine3-make-syntax-cache): Simplify and create
11030         `cfengine-mode-syntax-functions-regex' on demand.
11031         (cfengine3-format-function-docstring): Don't call
11032         `cfengine3-make-syntax-cache' explicitly.
11034 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
11036         Fix windmove-find-other-window broken after pixelwise resizing
11037         (Bug#16017).
11038         * windmove.el (windmove-other-window-loc): Revert change from
11039         2013-12-04.
11040         (windmove-find-other-window): Call window-in-direction.
11041         * window.el (window-in-direction): New arguments SIGN, WRAP and
11042         MINI to emulate original windmove-find-other-window behavior.
11044 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
11046         * simple.el (blink-matching--overlay): New variable.
11047         (blink-matching-open): Instead of moving point, highlight the
11048         matching paren with an overlay
11049         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
11051         * faces.el (paren-showing-faces, show-paren-match)
11052         (show-paren-mismatch): Move from paren.el.
11054 2013-12-13  Leo Liu  <sdl.web@gmail.com>
11056         * indent.el (indent-region): Disable progress reporter in
11057         minibuffer.  (Bug#16108)
11059         * bindings.el (visual-order-cursor-movement): Fix version.
11061 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11063         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
11064         Also match after beginning of line.
11065         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
11066         files.  Thanks to Russell Sim.  (Bug#15378)
11068 2013-12-13  Juri Linkov  <juri@jurta.org>
11070         * simple.el <Keypad support>: Remove key bindings duplicated
11071         with bindings.el.  (Bug#14397)
11073 2013-12-13  Juri Linkov  <juri@jurta.org>
11075         * comint.el (comint-mode-map): Replace `delete-char' with
11076         `delete-forward-char'.  (Bug#16109)
11078 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11080         * progmodes/python.el (python-indent-calculate-indentation):
11081         Fix de-denters cornercase.  (Bug#15731)
11083 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11085         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
11086         (advice--make): Pay attention to `depth'.
11087         (advice--make-1): Don't autoload commands eagerly.
11088         * emacs-lisp/elp.el (elp-instrument-function):
11089         * emacs-lisp/trace.el (trace-function-internal):
11090         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
11092         * iswitchb.el (iswitchb-mode): Don't belittle ido.
11094 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
11096         * term/w32-win.el (w32-handle-dropped-file):
11097         * startup.el (normal-top-level):
11098         * net/browse-url.el (browse-url-file-url):
11099         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
11100         decode file names using 'utf-8' rather than
11101         file-name-coding-system.
11103 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11105         * progmodes/python.el (python-indent-context)
11106         (python-indent-calculate-indentation): Fix auto-identation
11107         behavior for comment blocks.  (Bug#15916)
11109 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
11111         * progmodes/python.el (python-indent-calculate-indentation):
11112         When determining indentation, don't treat "return", "pass", etc., as
11113         operators when they are just string constituents.  (Bug#15812)
11115 2013-12-12  Juri Linkov  <juri@jurta.org>
11117         * uniquify.el (uniquify-buffer-name-style): Change default to
11118         `post-forward-angle-brackets'.
11120         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
11121         `uniquify'.  Change default to `post-forward-angle-brackets'.
11123 2013-12-11  Glenn Morris  <rgm@gnu.org>
11125         * emacs-lisp/package.el (finder-list-matches):
11126         Autoload rather than falsely declaring.
11128 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
11130         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
11131         (eww-mode-map): Use them.
11133 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
11135         * window.el (display-buffer-in-side-window): Fix doc-string
11136         (Bug#16115).
11138 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
11140         * vc/vc-git.el: Silence byte-compiler warnings.
11141         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
11142         (log-edit-set-header): Declare.
11144 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
11146         * Makefile.in (custom-deps, finder-data): Run output file names
11147         through unmsys--file-name.  (Bug#16099)
11149 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11151         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
11152         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
11154         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
11155         instead of deleting the selection "by hand" (bug#16098).
11156         Rely on insert-for-yank to yank rectangles.
11157         (cua-highlight-region-shift-only): Mark obsolete.
11158         (cua-mode): Don't enable/disable transient-mark-mode,
11159         shift-select-mode (cua-mode works both with and without them), and
11160         pc-selection-mode (obsolete).
11161         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
11162         (cua--deactivate-rectangle): Deactivate it.
11164         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
11165         (delete-selection-helper): Make sure yank starts at the top of the
11166         deleted region.
11167         (minibuffer-keyboard-quit): Use region-active-p.
11169         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
11171         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
11172         to `delete' (bug#16109).
11174 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11176         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
11177         info manual and show keybindings and set `:group' keyword.
11179 2013-12-11  Juri Linkov  <juri@jurta.org>
11181         * delsel.el (delete-active-region): Let-bind `this-command'
11182         to prevent `kill-region' from changing its original value.
11183         (delete-selection-helper): Handle `overwrite-mode' for the type
11184         `kill' exactly the same way as for the type `t'.
11185         (insert-char, quoted-insert, reindent-then-newline-and-indent):
11186         Support more commands.  (Bug#13312)
11188 2013-12-11  Juri Linkov  <juri@jurta.org>
11190         * bindings.el: Map kp keys to non-kp keys systematically
11191         with basic modifiers control, meta and shift.  (Bug#14397)
11193 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
11195         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
11196         "Close browser" menu items.  Fix wrong function of "List
11197         bookmarks".
11199 2013-12-11  Juri Linkov  <juri@jurta.org>
11201         * misearch.el (multi-isearch-buffers): Set the value of
11202         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
11203         arg of isearch-forward to t.
11204         (multi-isearch-buffers-regexp): Set the value of
11205         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
11206         arg of isearch-forward-regexp to t.
11207         (multi-isearch-files): Set the value of
11208         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
11209         arg of isearch-forward to t.
11210         (multi-isearch-files-regexp): Set the value of
11211         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
11212         arg of isearch-forward-regexp to t.  (Bug#16035)
11214         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
11215         arg of isearch-forward to t.
11216         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
11217         arg of isearch-forward-regexp to t.
11218         (dired-isearch-filter-filenames): Remove unnecessary check for
11219         `dired-isearch-filenames'.
11221         * comint.el (comint-history-isearch-backward):
11222         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
11223         (comint-history-isearch-backward-regexp):
11224         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
11226 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
11228         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
11229         unmsys--file-name.  (Bug#16099)
11231 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
11233         * emacs-lisp/package.el (package-keyword-button-action):
11234         Remove finder.el require dependency.
11236 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
11238         * emacs-lisp/package.el: Require finder.el.
11239         (describe-package-1): Add keyword buttons.
11240         (package-make-button): New convenience function.
11241         (package-keyword-button-action): Keyword button action using
11242         `finder-list-matches'.
11244 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
11246         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
11247         last commit.
11249 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
11251         * autorevert.el (auto-revert-notify-add-watch): Do not handle
11252         symlinked files.
11254 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
11256         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
11257         after the end of a percent literal.
11259 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
11261         * progmodes/ruby-mode.el (ruby-forward-string): Document.
11262         Handle caret-delimited strings (Bug#16079).
11264 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
11266         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
11267         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
11268         `ruby-parse-partial' (Bug#16078).
11270 2013-12-09  Leo Liu  <sdl.web@gmail.com>
11272         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
11274 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
11276         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
11277         (js-switch-indent-offset): New option.
11278         (js--proper-indentation): Use it.  And handle the case when
11279         "default" is actually a key in an object literal.
11280         (js--same-line): New function.
11281         (js--multi-line-declaration-indentation): Use it.
11282         (js--indent-in-array-comp, js--array-comp-indentation):
11283         New functions.
11284         (js--proper-indentation): Use them, to handle array comprehension
11285         continuations.
11287 2013-12-08  Leo Liu  <sdl.web@gmail.com>
11289         * progmodes/flymake.el (flymake-highlight-line): Re-write.
11290         (flymake-make-overlay): Remove arg MOUSE-FACE.
11291         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
11293 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11295         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
11296         New function.
11297         (redisplay-highlight-region-function): Use it.
11299         * emulation/cua-base.el (cua--explicit-region-start)
11300         (cua--last-region-shifted): Remove.
11301         (cua--deactivate): Use deactivate-mark.
11302         (cua--pre-command-handler-1): Don't handle shift-selection.
11303         (cua--post-command-handler-1): Don't change transient-mark-mode.
11304         (cua--select-keymaps): Use region-active-p rather than
11305         cua--explicit-region-start or cua--last-region-shifted.
11306         (cua-mode): Enable shift-select-mode.
11308 2013-12-08  Leo Liu  <sdl.web@gmail.com>
11310         * progmodes/flymake.el (flymake-popup-current-error-menu):
11311         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
11312         (flymake-posn-at-point-as-event, flymake-popup-menu)
11313         (flymake-make-emacs-menu): Remove.  (Bug#16077)
11315 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11317         * rect.el (rectangle-mark-mode): Activate mark even if
11318         transient-mark-mode is off (bug#16066).
11319         (rectangle--highlight-for-redisplay): Fix boundary condition when point
11320         is > mark and at bolp.
11322         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
11323         (region-extract-function): Use it.
11324         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
11325         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
11326         Delete functions.
11327         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
11328         kill-ring-save, kill-region, delete-char, delete-forward-char.
11329         Ignore self-insert-iso.
11331         * emulation/cua-gmrk.el (cua--init-global-mark):
11332         Ignore `self-insert-iso'.
11334         * emulation/cua-base.el (cua--prefix-copy-handler)
11335         (cua--prefix-cut-handler): Rely on region-extract-function rather than
11336         checking cua--rectangle.
11337         (cua-delete-region): Use region-extract-function.
11338         (cua-replace-region): Delete function.
11339         (cua-copy-region, cua-cut-region): Obey region-extract-function.
11340         (cua--pre-command-handler-1): Don't do the delete-selection thing.
11341         (cua--self-insert-char-p): Ignore `self-insert-iso'.
11342         (cua--init-keymaps): Don't remap delete-selection commands.
11343         (cua-mode): Use delete-selection-mode instead of rolling our own
11344         (bug#16085).
11346         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
11347         Obey region-extract-function.
11349         Make registers and delete-selection-mode work on rectangles.
11350         * register.el (describe-register-1): Don't modify the register's value.
11351         (copy-to-register): Obey region-extract-function.
11352         * delsel.el (delete-active-region): Obey region-extract-function.
11354 2013-12-08  Leo Liu  <sdl.web@gmail.com>
11356         * progmodes/flymake.el (flymake, flymake-error-bitmap)
11357         (flymake-warning-bitmap, flymake-fringe-indicator-position)
11358         (flymake-compilation-prevents-syntax-check)
11359         (flymake-start-syntax-check-on-newline)
11360         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
11361         (flymake-start-syntax-check-on-find-file, flymake-log-level)
11362         (flymake-xml-program, flymake-master-file-dirs)
11363         (flymake-master-file-count-limit)
11364         (flymake-allowed-file-name-masks): Relocate.
11365         (flymake-makehash, flymake-float-time)
11366         (flymake-replace-regexp-in-string, flymake-split-string)
11367         (flymake-get-temp-dir): Remove.
11368         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
11369         (flymake-current-row, flymake-selected-frame)
11370         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
11371         related functions.  (Bug#16077)
11373 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
11375         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
11377 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
11379         * help-fns.el (describe-function-1): Use new advice-* functions
11380         rather than old ad-* functions.  Fix function type description and
11381         source links for advised functions and subrs.
11383 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11385         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
11387 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
11389         * progmodes/compile.el (compilation-start):
11390         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
11392         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
11393         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
11395 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
11397         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11398         Touch up the last change.
11400 2013-12-06  Leo Liu  <sdl.web@gmail.com>
11402         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
11403         (inferior-octave-startup): Always use "octave> " for prompt.
11404         (octave-goto-function-definition)
11405         (octave-sync-function-file-names)
11406         (octave-find-definition-default-filename): Remove redundant backquotes.
11408 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
11410         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
11411         syntax for `?'.
11412         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
11413         where appropriate already.
11414         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
11415         end of method names (Bug#15874).
11417 2013-12-06  Juri Linkov  <juri@jurta.org>
11419         * isearch.el (isearch--saved-overriding-local-map):
11420         New internal variable.
11421         (isearch-mode): Set it to the initial value of
11422         `overriding-terminal-local-map'.
11423         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
11424         with `isearch--saved-overriding-local-map'.  (Bug#16035)
11426 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
11428         * progmodes/octave.el (inferior-octave-completion-table):
11429         Turn back into function, use `completion-table-with-cache'
11430         (Bug#11906).  Update all references.
11432         * minibuffer.el (completion-table-with-cache): New function.
11434 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
11436         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
11438 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
11440         * net/eww.el (eww-current-source): New variable to store page
11441         source.
11442         (eww-display-html, eww-mode, eww-save-history)
11443         (eww-restore-history): Use it.
11444         (eww-view-source): New command to view page source.
11445         Opportunistically uses `html-mode' to highlight the buffer.
11446         (eww-mode-map): Install it.
11448 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
11450         * net/dbus.el (dbus-unregister-service)
11451         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
11452         Fix docstring.
11453         (dbus-unregister-service): Skip :serial entries in
11454         `dbus-registered-objects-table'.
11455         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
11457 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
11459         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
11460         around keywords with extra `split-string' argument.
11462 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
11464         * windmove.el (windmove-other-window-loc): Handle navigation
11465         between windows (excluding the minibuffer window - Bug#16017).
11467 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
11469         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
11470         in D-Bus type syntax.
11471         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
11472         preserve unibyte strings.  (Bug#16048)
11474 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11476         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
11477         Call force-mode-line-update is the proper buffer (bug#16042).
11479 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
11481         * vc/log-edit.el (log-edit-add-new-comment): Rename to
11482         `log-edit-remember-comment', make argument optional.  Adjust all
11483         callers.
11484         (log-edit-mode): Add `log-edit-remember-comment' to
11485         `kill-buffer-hook' locally.
11486         (log-edit-kill-buffer): Don't remember comment explicitly since
11487         the buffer is killed anyway.
11489 2013-12-04  Juri Linkov  <juri@jurta.org>
11491         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
11492         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
11494 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
11496         * notifications.el (notifications-close-notification): Call the
11497         D-Bus method with ID being a `:uint32'.  (Bug#16030)
11499 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
11501         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
11503 2013-12-03  Juri Linkov  <juri@jurta.org>
11505         * progmodes/compile.el (compilation-start): Rename window alist
11506         entry `no-display-ok' to `allow-no-window'.
11508         * simple.el (shell-command): Add window alist entry
11509         `allow-no-window' to `display-buffer'.
11510         (async-shell-command): Doc fix.
11512         * window.el (display-buffer-no-window): New action function.
11513         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
11515 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
11517         * vc/log-edit.el (log-edit-set-header): Extract from
11518         `log-edit-toggle-header'.
11519         (log-edit-extract-headers): Separate the summary, when extracted
11520         from header, from the rest of the message with an empty line.
11522         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
11523         line, if present, to the Summary header.
11525 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11527         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
11528         in current-buffer (bug#16029).
11530 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
11532         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
11533         (debugger-mode-map): Bind it.
11534         (debugger--backtrace-base): New function.
11535         (debugger-eval-expression): Use it.
11536         (debugger-frame-number): Skip local vars when present.
11537         (debugger--locals-visible-p, debugger--insert-locals)
11538         (debugger--show-locals, debugger--hide-locals): New functions.
11540 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
11542         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
11543         "LC_ALL".
11544         (tramp-get-remote-locale): New defun.
11545         (tramp-open-connection-setup-interactive-shell): Use it.
11547 2013-12-02  Leo Liu  <sdl.web@gmail.com>
11549         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
11551         * progmodes/sh-script.el (sh-shell-process):
11552         * progmodes/octave.el (inferior-octave-process-live-p):
11553         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
11554         (gdb-inferior-io-sentinel):
11555         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
11557 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
11559         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
11560         `save-selected-window' to `log-edit-hide-buf'.  This makes
11561         `log-edit-show-files' idempotent.
11562         (log-edit-show-files): Mark the new window as dedicated.
11564 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
11566         * vc/log-edit.el (log-edit-mode-map): Add binding for
11567         `log-edit-kill-biffer'.
11568         (log-edit-hide-buf): Add a FIXME comment.
11569         (log-edit-add-new-comment): New function, extracted from
11570         `log-edit-done'.
11571         (log-edit-done, log-edit-add-to-changelog): Use it.
11572         (log-edit-kill-buffer): New command.
11574 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11576         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
11577         instead of killing the buffer.
11579 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11581         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
11583 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11585         * net/eww.el (eww-form-checkbox-selected-symbol)
11586         (eww-form-checkbox-symbol): New customizable variable.
11587         (eww-form-checkbox, eww-toggle-checkbox):
11588         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
11590         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
11591         (shr--get-media-pref, shr--extract-best-source): New function.
11592         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
11593         no :src tag was specified.
11595         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
11596         (eww-render): Handle `eww-use-external-browser-for-content-type'.
11597         Use \\` to match beginning of string instead of ^.
11598         (eww-browse-with-external-browser): Provide optional URL parameter.
11599         (eww-render): Set `eww-current-title' back to "".
11601         * net/shr.el (shr-tag-video): Display content for video if no
11602         poster is available.
11603         (shr-tag-audio): Add support for <audio> tag.
11605         * net/eww.el (eww-text-input-types): New const.
11606         (eww-process-text-input): Treat input types in
11607         `eww-text-input-types' as text.
11609         * net/shr.el (shr-tag-table): Fix comment typo.
11611 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11613         * net/eww.el (eww-follow-link): New command to avoid reloading
11614         pages when we follow #target links (bug#15243).
11615         (eww-quit): Special mode buffers shouldn't query before exiting.
11617 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
11619         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
11620         forms.
11622 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11624         * net/eww.el (eww-restore-history): Update the window title after
11625         moving in the history.
11626         (eww-current-dom): New variable used to save the current DOM.
11628 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
11630         * vc/log-edit.el (log-edit-mode-map): Add binding for
11631         `log-edit-beginning-of-line'.
11632         (log-edit-setup-add-author): New user option.
11633         (log-edit-beginning-of-line): New command.
11634         (log-edit): Move major mode call above the contents setup so that
11635         the local variable values are already applied.
11636         (log-edit): Only insert "Author: " when
11637         `log-edit-setup-add-author' is non-nil.
11638         (log-edit): When SETUP is non-nil, position point after ": "
11639         instead of point-min.
11641 2013-12-01  Glenn Morris  <rgm@gnu.org>
11643         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
11645 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
11647         * startup.el (fancy-splash-frame): On MS-Windows, trigger
11648         redisplay to make sure the initial frame gets a chance to become
11649         visible.  (Bug#16014)
11651 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
11653         Support resizing frames and windows pixelwise.
11654         * cus-start.el (frame-resize-pixelwise)
11655         (window-resize-pixelwise): New entries.
11656         * emacs-lisp/debug.el (debug): Use window-total-height instead
11657         of window-total-size.
11658         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
11659         * help.el (describe-bindings-internal): Use help-buffer as
11660         argument for with-help-window.
11661         (temp-buffer-max-width): New option.
11662         (resize-temp-buffer-window, help-window-setup)
11663         (with-help-window): Rewrite.
11664         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
11665         dragging dividers.
11666         * window.el (frame-char-size, window-min-pixel-height)
11667         (window-safe-min-pixel-height, window-safe-min-pixel-width)
11668         (window-min-pixel-width, window-safe-min-pixel-size)
11669         (window-combination-p, window-safe-min-size)
11670         (window-resizable-p, window--size-to-pixel)
11671         (window--pixel-to-size, window--resize-apply-p): New functions.
11672         (window-safe-min-height): Fix doc-string.
11673         (window-size, window-min-size, window--min-size-1)
11674         (window-sizable, window-sizable-p, window--min-delta-1)
11675         (window-min-delta, window--max-delta-1, window-max-delta)
11676         (window--resizable, window--resizable-p, window-resizable)
11677         (window-full-height-p, window-full-width-p, window-at-side-p)
11678         (window--in-direction-2, window-in-direction)
11679         (window--resize-reset-1, window--resize-mini-window)
11680         (window-resize, window-resize-no-error)
11681         (window--resize-child-windows-normal)
11682         (window--resize-child-windows, window--resize-siblings)
11683         (window--resize-this-window, window--resize-root-window)
11684         (window--resize-root-window-vertically)
11685         (adjust-window-trailing-edge, enlarge-window, shrink-window)
11686         (maximize-window, minimize-window, delete-window)
11687         (quit-restore-window, window-split-min-size, split-window)
11688         (balance-windows-2, balance-windows)
11689         (balance-windows-area-adjust, balance-windows-area)
11690         (window--state-get-1, window-state-get, window--state-put-1)
11691         (window--state-put-2, window-state-put)
11692         (display-buffer-record-window, window--display-buffer):
11693         Make functions handle pixelwise sizing of windows.
11694         (display-buffer--action-function-custom-type)
11695         (display-buffer-fallback-action):
11696         Add display-buffer-in-previous-window.
11697         (display-buffer-use-some-window): Resize window to height it had
11698         before.
11699         (fit-window-to-buffer-horizontally): New option.
11700         (fit-frame-to-buffer): Describe new values.
11701         (fit-frame-to-buffer-bottom-margin): Replace with
11702         fit-frame-to-buffer-margins.
11703         (window--sanitize-margin): New function.
11704         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
11705         using window-text-pixel-size.
11707 2013-11-30  Glenn Morris  <rgm@gnu.org>
11709         * emacs-lisp/bytecomp.el (byte-compile-form):
11710         Make the `interactive-only' warning like the `obsolete' one.
11711         * comint.el (comint-run):
11712         * files.el (insert-file-literally, insert-file):
11713         * replace.el (replace-string, replace-regexp):
11714         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11715         (goto-line, insert-buffer, next-line, previous-line):
11716         Tweak `interactive-only' spec.
11718         Stop keeping (most) generated cedet grammar files in the repository.
11719         * Makefile.in (semantic): New.
11720         (compile-main): Depend on semantic.
11722 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11724         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
11725         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
11727         * uniquify.el (uniquify-buffer-name-style): Change default.
11729         * loadup.el: Preload "uniquify".
11731         * time.el (display-time-update): Update all mode lines (bug#15999).
11733         * electric.el (electric-indent-mode): Enable by default.
11734         * loadup.el: Preload "electric".
11736 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
11738         * emacs-lisp/helpers.el (string-empty-p): New function.
11739         (string-blank-p): New function.
11741 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
11743         * imenu.el (imenu--index-alist): Add missing dot to the docstring
11744         (Bug#14029).
11746 2013-11-29  Andreas Politz  <politza@fh-trier.de>
11747         * imenu.el (imenu--subalist-p): Don't error on non-conses and
11748         allow non-lambda lists as functions.
11749         (imenu--in-alist): Don't recurse into non-subalists.
11750         (imenu): Don't pass function itself as an argument (Bug#14029).
11752 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11754         * progmodes/python.el (python-mode-map): Remove binding for ":".
11755         (python-indent-electric-colon): Remove command.
11756         (python-indent-post-self-insert-function): Integrate the previous code
11757         of python-indent-electric-colon.  Make it conditional on
11758         electric-indent-mode.
11759         (python-mode): Add ?: to electric-indent-chars.
11760         Move python-indent-post-self-insert-function to the end of
11761         post-self-insert-hook.
11763 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11765         * doc-view.el (doc-view-goto-page): Update mode-line.
11767         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
11769 2013-11-27  Glenn Morris  <rgm@gnu.org>
11771         * international/charprop.el, international/uni-bidi.el:
11772         * international/uni-category.el, international/uni-combining.el:
11773         * international/uni-comment.el, international/uni-decimal.el:
11774         * international/uni-decomposition.el, international/uni-digit.el:
11775         * international/uni-lowercase.el, international/uni-mirrored.el:
11776         * international/uni-name.el, international/uni-numeric.el:
11777         * international/uni-old-name.el, international/uni-titlecase.el:
11778         * international/uni-uppercase.el:
11779         Remove generated files from VCS repository.
11781 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
11783         * filenotify.el (file-notify-add-watch): Don't special-case
11784         w32notify when computing the directory to watch.
11786 2013-11-27  Glenn Morris  <rgm@gnu.org>
11788         Make bootstrap without generated uni-*.el files possible again.
11789         * loadup.el: Update command-line-args checking for unidata-gen.
11790         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
11791         * composite.el, international/characters.el:
11792         Handle unicode tables being undefined.
11794         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
11795         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
11796         (compile-main): Depend on leim rule.
11797         (leim): New rule.
11798         * loadup.el: Move leim-list.el to leim/ subdirectory.
11799         * startup.el (normal-top-level): No more leim directory.
11800         * international/ja-dic-cnv.el (skkdic-convert):
11801         Disable version-control and autoloads in output files.
11802         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
11803         Disable version-control and autoloads in output files.
11804         * leim/quail: Move here from ../leim.
11805         * leim/quail/hangul.el (hangul-input-method-activate):
11806         Add autoload cookie.
11807         (generated-autoload-load-name): Set file-local value.
11808         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
11809         (generated-autoload-load-name): Set file-local value.
11811 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
11813         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
11814         (eww-add-bookmark): Ask confirmation when add to bookmarks.
11815         (eww-quit): Ask confirmation before quitting eww.
11817 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
11819         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
11820         reading output from Diff on MS-Windows and MS-DOS.
11822 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
11824         * emacs-lisp/helpers.el (string-reverse): New function.
11826 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
11828         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
11829         names on MS Windows, like "/[::1]:".
11831         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
11832         SWITCHES.
11834 2013-11-26  Glenn Morris  <rgm@gnu.org>
11836         * progmodes/python.el (python-indent-guess-indent-offset):
11837         Avoid corner-case error.  (Bug#15975)
11839         Preload leim-list.el.  (Bug#4789)
11840         * loadup.el: Load leim-list.el when found.
11841         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
11843 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
11845         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
11847         * emacs-lisp/helpers.el (string-join): New function.
11849 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
11851         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11852         Mark as obsolete and replace it with a symbol property.
11853         (byte-compile-form): Use new 'interactive-only property.
11854         * comint.el, files.el, replace.el, simple.el:
11855         Apply new 'interactive-only properly.
11857 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
11859         * window.el (display-buffer-at-bottom): Make sure that
11860         split-window-sensibly creates the new window on bottom
11861         (Bug#15961).
11863 2013-11-23  David Kastrup  <dak@gnu.org>
11865         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
11866         on the conflict markers when available.
11867         (smerge--get-marker): New function.
11868         (smerge-end-re, smerge-base-re): Add subgroup.
11870 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11872         * frame.el (handle-focus-in, handle-focus-out): Add missing
11873         interactive spec.
11875 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
11877         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
11878         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
11880 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11882         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
11883         (gomoku--last-pos): New var.
11884         (gomoku--intangible-chars): New const.
11885         (gomoku--intangible): New function.
11886         (gomoku-mode): Use it.  Derive from special-mode.
11887         (gomoku-move-up): Adjust line count.
11888         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
11889         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
11890         Simplify accordingly.
11892         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
11893         Remove blink-cursor code.
11894         (blink-cursor-timer-function, blink-cursor-suspend):
11895         Don't special-case GUIs.
11896         (blink-cursor-mode): Use focus-in/out-hook.
11898 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
11900         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
11901         work when annotation is invisible (Bug#13886).
11903 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
11905         * json.el (json-alist-p): Only return non-nil if the alist has
11906         simple keys (Bug#13518).
11908 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
11910         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
11911         when control-statement is the first statement in a buffer (Bug#15956).
11913 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
11915         * imenu.el (imenu-generic-skip-comments-and-strings):
11916         New option (Bug#15560).
11917         (imenu--generic-function): Use it.
11919 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
11921         * minibuffer.el (completion--in-region-1): Scroll the correct window.
11922         (Bug#13898)
11924 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
11926         * emacs-lisp/helpers.el: Add some string helpers.
11927         (string-trim-left): Removes leading whitespace.
11928         (string-trim-right): Removes trailing whitespace.
11929         (string-trim): Removes leading and trailing whitespace.
11931         * subr.el (string-suffix-p): New function.
11933 2013-11-23  Glenn Morris  <rgm@gnu.org>
11935         * progmodes/python.el (python-shell-send-file):
11936         Add option to delete file when done.  (Bug#15647)
11937         (python-shell-send-string, python-shell-send-region): Use it.
11939 2013-11-23  Ivan Shmakov  <ivan@siamics.net>
11941         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
11942         to set buffer-read-only to t, never to nil.  (Bug#15938)
11944         * textmodes/tex-mode.el (latex-noindent-environments):
11945         Add safe-local-variable property.  (Bug#15936)
11947 2013-11-23  Glenn Morris  <rgm@gnu.org>
11949         * textmodes/enriched.el (enriched-mode): Doc fix.
11950         * emacs-lisp/authors.el (authors-renamed-files-alist):
11951         Add enriched.doc -> enriched.txt.
11953         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
11955 2013-11-22  Leo Liu  <sdl.web@gmail.com>
11957         * progmodes/octave.el (inferior-octave-startup): Spit out error
11958         message.
11960 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
11962         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
11963         Improve docstring.
11964         Add :version.
11965         (ruby-encoding-magic-comment-style): Add :version.
11967 2013-11-22  Leo Liu  <sdl.web@gmail.com>
11969         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
11970         (Bug#15076)
11971         (octave-help-mode): Adapt to change to help-mode-finish to use
11972         derived-mode-p on 2013-09-17.
11973         (inferior-octave-prompt): Also match octave-gui.
11974         (octave-kill-process): Don't ask twice.  (Bug#10564)
11976 2013-11-22  Leo Liu  <sdl.web@gmail.com>
11978         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
11979         (inferior-octave-startup, inferior-octave-check-process)
11980         (inferior-octave-track-window-width-change)
11981         (octave-completion-at-point, octave-eldoc-function): Use it.
11982         (octave-kill-process): Provide confirmation.  (Bug#10564)
11984 2013-11-21  Leo Liu  <sdl.web@gmail.com>
11986         * progmodes/octave.el (octave-mode, inferior-octave-mode):
11987         Fix obsolete variable comment-use-global-state.
11989 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11991         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
11992         Add `octave-source-file'.
11993         (octave-source-file): New function.  (Bug#15935)
11995 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
11997         * net/eww.el (eww-local-regex): New variable.
11998         (eww): Use it to detect localhost and similar.
12000 2013-11-21  Leo Liu  <sdl.web@gmail.com>
12002         Add completion for command `ag'.
12003         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
12004         (pcomplete/ag): New function.
12005         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
12007 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12009         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
12010         (bug#14646).
12011         (make-obsolete): Remove interactive spec.
12013 2013-11-21  Glenn Morris  <rgm@gnu.org>
12015         * startup.el (command-line-1): Use path-separator with -L.
12017 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
12019         * emacs-lisp/package.el (describe-package-1): Add package archive
12020         to shown fields.
12022 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
12024         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
12025         Change default to "# encoding: %s" to differentiate it from the
12026         default Ruby encoding comment template.
12028 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
12030         * ses.el (ses-mode): Doc fix.  (Bug#14748)
12032 2013-11-20  Leo Liu  <sdl.web@gmail.com>
12034         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
12036 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
12038         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
12039         when rebase or bisect are in progress.
12041 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
12043         * filenotify.el (file-notify-add-watch): Doc fix.
12045 2013-11-19  Leo Liu  <sdl.web@gmail.com>
12047         * obsolete/rcompile.el: Mark obsolete.
12049         * progmodes/compile.el (compilation-start)
12050         (compilation-goto-locus, compilation-find-file):
12051         Pass no-display-ok and handle nil value from display-buffer.
12052         (Bug#13594)
12054         * window.el (display-buffer-alist, display-buffer): Document the
12055         new parameter no-display-ok.  Return either a window or nil
12056         but never a non-window value.
12058 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12060         * electric.el (electric-indent-mode-map): Remove.
12061         (electric-indent-mode): Change the global-map instead (bug#15915).
12063         * textmodes/text-mode.el (paragraph-indent-minor-mode):
12064         Use add-function.
12066 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12068         * emacs-lisp/nadvice.el (remove-function): Align with
12069         add-function's behavior.
12071         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
12072         (gdb--string-regexp): New constant.
12073         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
12074         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
12075         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
12076         submatch 1.
12077         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
12078         Adjust use accordingly.
12079         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
12081 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
12083         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
12084         interpolation curlies (Bug#15914).
12086 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
12088         * calc/calc.el (calc-context-sensitive-enter): New variable.
12089         (calc-enter): Use `calc-context-sensitive-enter'.
12091 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
12093         * progmodes/cfengine.el: Version bump.
12094         (cfengine-cf-promises): New defcustom to locate cf-promises.
12095         (cfengine3-vartypes): Add new "data" type.
12096         (cfengine3--current-word): New function to get current name-like
12097         word or its bounds.
12098         (cfengine3--current-function): New function to look up a CFEngine
12099         function's definition.
12100         (cfengine3-format-function-docstring): New function.
12101         (cfengine3-make-syntax-cache): New function.
12102         (cfengine3-documentation-function): New function: ElDoc glue.
12103         (cfengine3-completion-function): New function: completion glue.
12104         (cfengine3-mode): Set `compile-command',
12105         `eldoc-documentation-function', and add to
12106         `completion-at-point-functions'.
12108 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
12110         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
12111         `tramp-current-connection'.
12113 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
12115         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
12116         nil/self/true/false with "end of symbol".
12118 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
12120         * subr.el (version-regexp-alist): Fix a typo.
12122 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
12124         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
12125         "en_US.utf8" and "LC_CTYPE" to "".
12126         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
12127         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
12129 2013-11-15  Leo Liu  <sdl.web@gmail.com>
12131         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
12133 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12135         * progmodes/gud.el (ctl-x-map):
12136         Remove C-x SPC binding.  (Bug#12342)
12137         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
12139 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
12141         * subr.el (version-regexp-alist):
12142         Recognize hg, svn and darcs versions as snapshot versions.
12144         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
12145         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
12146         (ruby--encoding-comment-required-p): Extract from
12147         `ruby-mode-set-encoding'.
12148         (ruby-mode-set-encoding): Add the ability to always insert an
12149         utf-8 encoding comment.  Fix and simplify coding comment update
12150         logic.
12152 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
12154         * net/tramp-gvfs.el (top): Run init code only when
12155         `tramp-gvfs-enabled' is not nil.
12156         (tramp-gvfs-enabled): Check also :system bus.
12158 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12160         Sync with upstream verilog-mode revision 78e66ba.
12161         * progmodes/verilog-mode.el (verilog-end-of-defun)
12162         (verilog-type-completion, verilog-get-list): Remove unused funcs.
12163         (verilog-get-end-of-defun): Remove unused argument.
12164         (verilog-comment-depth): Remove unused local `e'.
12165         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
12166         Don't pass arg to verilog-get-end-of-defun.
12168 2013-11-14  Glenn Morris  <rgm@gnu.org>
12170         * obsolete/assoc.el (aget): Prefix dynamic variable.
12172         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
12174 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12176         * widget.el, hfy-cmap.el: Remove bogus package version number.
12178 2013-11-13  Glenn Morris  <rgm@gnu.org>
12180         * replace.el (replace-eval-replacement):
12181         Try to give more helpful error message.  (Bug#15836)
12183         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12184         (archive-7z-update): Avoid custom type mismatches.
12186         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
12188 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
12190         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
12191         address can be empty.
12193         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
12194         Accept nil SWITCHES.
12195         (tramp-gvfs-handle-write-region): Implement APPEND.
12197 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
12199         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
12200         binary "|" operator and closing block args delimiter.
12201         Remove FIXME comment referring to Ruby 1.8-only syntax.
12202         (ruby-smie--implicit-semi-p): Not after "|" operator.
12203         (ruby-smie--closing-pipe-p): New function.
12204         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
12205         (ruby-smie-rules): Indent after "|".
12207 2013-11-12  Glenn Morris  <rgm@gnu.org>
12209         * ps-print.el (ps-face-attribute-list):
12210         Handle anonymous faces.  (Bug#15827)
12212 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
12214         * window.el (display-buffer-other-frame): Fix doc-string.
12215         (Bug#15868)
12217 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12219         * subr.el (force-mode-line-update): Delete, move to buffer.c.
12221 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
12223         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
12224         (tramp-sh-handle-file-local-copy): Don't write a message when
12225         saving temporary files.
12227         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
12228         both directories are remote.
12229         (tramp-smb-handle-directory-files): Do not return double entries.
12230         Do not expand full file names.
12231         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
12232         (tramp-smb-handle-write-region): Implement APPEND.
12233         (tramp-smb-get-stat-capability): Fix a stupid bug.
12235 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12237         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
12239 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
12241         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
12242         throwing error over malformed let/let* (bug#15814).
12244 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12246         * iswitchb.el (iswitchb-mode): Mark obsolete.
12248 2013-11-11  Glenn Morris  <rgm@gnu.org>
12250         * international/uni-bidi.el, international/uni-category.el:
12251         * international/uni-name.el, international/uni-numeric.el:
12252         Regenerate for Unicode 6.3.0.
12254 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
12256         * net/tramp.el (tramp-methods):
12257         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
12258         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
12260 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
12262         * progmodes/sh-script.el (sh-font-lock-keywords-var):
12263         Force highlighting text after Summary keyword in doc face for rpm.
12265 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
12267         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
12268         available and the word has no wildcards, append one to the grep pattern.
12269         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
12270         (ispell-complete-word): Call `ispell-lookup-words' with the value
12271         independent of `ispell-look-p'.
12273 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
12275         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
12276         Not after "||".
12277         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
12278         their parent.
12280 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12282         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
12283         (ruby-font-lock-keywords): Use backquote.
12285 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
12287         * progmodes/ruby-mode.el (ruby-smie--forward-token)
12288         (ruby-smie--backward-token): Only consider full-string matches.
12290 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
12292         * faces.el (describe-face): Add distant-foreground.
12294 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
12296         * progmodes/ruby-mode.el: Improve encoding comment handling.
12297         (ruby-encoding-magic-comment-style): New option.
12298         (ruby-custom-encoding-magic-comment-template): New option.
12299         (ruby--insert-coding-comment, ruby--detect-encoding):
12300         New functions extracted from `ruby-mode-set-encoding'.
12301         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
12302         to control the style of the auto-inserted encoding comment.
12304 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
12306         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
12307         Use `smie-backward-sexp' with token argument.
12309 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
12311         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
12312         Remove instrumentation code.
12314 2013-11-08  Glenn Morris  <rgm@gnu.org>
12316         * progmodes/autoconf.el (autoconf-mode):
12317         Tweak comment-start-skip.  (Bug#15822)
12319 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12321         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
12322         at bobp (bug#15826).
12323         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
12325 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
12327         * man.el (Man-start-calling): New macro, extracted from
12328         Man-getpage-in-background.
12329         (Man-getpage-in-background): Use it.
12330         (Man-update-manpage): New command.
12331         (Man-mode-map): Bind it.
12333 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
12335         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
12336         of "and", "or", "&&" and "||".
12337         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
12338         argument.  Prohibit opening curly brace because it could only be a
12339         block opener in that position.
12340         (ruby-smie--forward-token, ruby-smie--backward-token):
12341         Separate "|" from "&" or "*" going after it.  That can happen in block
12342         arguments.
12343         (ruby-smie--indent-to-stmt): New function, seeks the end of
12344         previous statement or beginning of buffer.
12345         (ruby-smie-rules): Use it.
12346         (ruby-smie-rules): Check if there's a ":" before a curly block
12347         opener candidate; if there is, it's a hash.
12349 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12351         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
12352         (cl--block-wrapper): Fix last accidental change.
12354 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
12356         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
12357         Instrument, in order to hunt failure on hydra.
12359 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
12361         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
12362         malformed bindings form (bug#15814).
12364 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
12366         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
12367         "." compared to " @ ".  This incidentally fixes some indentation
12368         examples with "do".
12369         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
12370         (ruby-smie-grammar): New tokens: "and" and "or".
12371         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
12372         Exclude "and" and "or".  Remove "do" in order to work around token
12373         priorities.
12374         (ruby-smie-rules): Add all infix tokens.  Handle the case of
12375         beginning-of-buffer.
12377 2013-11-06  Glenn Morris  <rgm@gnu.org>
12379         * Makefile.in (setwins_almost, setwins_for_subdirs):
12380         Avoid accidental matches.
12382 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12384         * menu-bar.el (popup-menu): Use key-binding.
12386 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
12388         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
12389         menus, support also the menus produced by minor modes.
12390         (Bug#15817)
12392 2013-11-06  Leo Liu  <sdl.web@gmail.com>
12394         * thingatpt.el (thing-at-point-looking-at): Add optional arg
12395         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
12397 2013-11-06  Glenn Morris  <rgm@gnu.org>
12399         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
12400         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
12401         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
12403 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12405         * electric.el (electric-indent-just-newline): New command.
12406         (electric-indent-mode-map): New keymap.
12407         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
12408         Re-add :group which weren't redundant.
12410         * electric.el (electric-indent-local-mode): New minor mode.
12411         (electric-indent-functions-without-reindent): New var.
12412         (electric-indent-post-self-insert-function): Use it.
12413         * emacs-lisp/gv.el (buffer-local-value): Add setter.
12415 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
12417         * international/quail.el (quail-help): Be more explicit about the
12418         meaning of the labels shown on the keys.  (Bug#15800)
12420         * startup.el (normal-top-level): Load the subdirs.el files before
12421         setting the locale environment.  (Bug#15805)
12423 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12425         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
12426         via arguments so as to get the right ones (bug#15418).
12428         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
12430 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
12432         Fix problems found while writing a test suite.
12434         * net/tramp-compat.el (tramp-compat-load): New defun.
12435         * net/tramp.el (tramp-handle-load): Use it.
12437         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
12438         "(numberp ok-if-already-exists)" correctly.
12440 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
12442         * international/characters.el (glyphless-char-display-control):
12443         Add usage note.
12445 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
12447         * progmodes/python.el (python-mode):
12448         * progmodes/scheme.el (scheme-mode):
12449         * progmodes/prolog.el (prolog-mode):
12450         * progmodes/ruby-mode.el (ruby-mode):
12451         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
12452         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
12454 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12456         * rect.el (rectangle--highlight-for-redisplay):
12457         * emacs-lisp/smie.el (smie--next-indent-change):
12458         Use buffer-chars-modified-tick.
12460         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
12462         * electric.el (electric-indent-post-self-insert-function):
12463         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
12465 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
12467         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
12469 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
12471         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
12472         (bug#15786).
12474 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12476         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
12478         * progmodes/python.el: Fix up last change.
12479         (python-shell--save-temp-file): New function.
12480         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
12481         `string' comes from the current buffer.
12482         (python-shell-send-string-no-output): Remove `msg' arg.
12483         (python--use-fake-loc): New var.
12484         (python-shell-buffer-substring): Obey it.  Try to compensate for the
12485         extra coding line added by python-shell--save-temp-file.
12486         (python-shell-send-region): Use python-shell--save-temp-file and
12487         python-shell-send-file directly.  Add `nomain' argument.
12488         (python-shell-send-buffer): Use python-shell-send-region.
12489         (python-electric-pair-string-delimiter): New function.
12490         (python-mode): Use it.
12492 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
12494         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
12495         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
12496         environment and decoding all of the default-directory's to here
12497         from command-line.
12498         (command-line): Decode also argv[0].
12500         * loadup.el: Error out if default-directory is a multibyte string
12501         when we are dumping.
12503         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
12505 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
12507         * emacs-lisp/package.el (package-menu-mode)
12508         (package-menu--print-info, package-menu--archive-predicate):
12509         Add Archive column to package list.
12511 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
12513         Fix problems found while writing a test suite.
12515         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
12516         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
12517         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
12518         to nil when running original file name handler.  Otherwise,
12519         there are problems with constructs like "$$FOO".
12521         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
12522         for `localname'.
12524 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
12526         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
12528         * subr.el (version<, version<=, version=):
12529         Update docstrings with information for snapshot versions.
12531         * helpers.el: New library for misc helper functions.
12532         (hash-table-keys): New function returning a list of hash keys.
12533         (hash-table-values): New function returning a list of hash values.
12535 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
12537         * progmodes/ruby-mode.el (ruby-smie--forward-token)
12538         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
12540 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
12542         * textmodes/fill.el (fill-single-char-nobreak-p): New function
12543         checking whether point is after a 1-letter word.
12545 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
12547         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
12548         Don't infloop when expanding region over `multiline' syntax-type that
12549         begins a line (bug#15778).
12551 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12553         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
12554         Make it into a proper minor mode.
12555         (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
12556         (rectangle-mark-mode-map): New keymap.
12557         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
12559 2013-11-04  Glenn Morris  <rgm@gnu.org>
12561         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
12563 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12565         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
12566         (ruby-smie-rules): Use smie-rule-parent instead.
12568         * emacs-lisp/smie.el (smie-rule-parent): Always call
12569         smie-indent-virtual rather than only for hanging tokens.
12570         (smie--next-indent-change): New helper command.
12572 2013-11-03  Glenn Morris  <rgm@gnu.org>
12574         * Makefile.in (abs_srcdir): Remove.
12575         (emacs): Unset EMACSLOADPATH.
12577 2013-11-02  Glenn Morris  <rgm@gnu.org>
12579         * Makefile.in (EMACS): Use a relative filename.
12580         (abs_top_builddir): Remove.
12581         (custom-deps, finder-data, autoloads): Use --chdir.
12583         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
12585         Use relative filenames in TAGS files.
12586         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
12587         (lisptagsfiles4, TAGS): Use relative file names.
12588         (TAGS-LISP): Remove.
12589         (maintainer-clean): No more TAGS-LISP file.
12591         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
12592         (lisptagsfiles4): Use absolute filenames again.
12593         (TAGS, TAGS-LISP): Not everything needs to run in one line.
12594         Remove all *loaddefs files, not just the first.  Remove esh-groups.
12595         (maintainer-clean): Delete TAGS, TAGS-LISP.
12597 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
12599         * emacs-lisp/package.el (package-version-join):
12600         Recognize snapshot versions.
12602 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
12604         * subr.el (version-regexp-alist): Add support for snapshot versions.
12606 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
12608         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
12609         New function, replacement for `smie-rule-parent' for when we want to
12610         skip over our direct parent if it's an assignment token..
12611         (ruby-smie-rules): Use it.
12613 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
12615         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
12616         unconditionally.  Remove now unnecessary forward declarations.
12617         Remove XEmacs-specific setup.
12618         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
12619         (ruby-font-lock-syntactic-keywords)
12620         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
12621         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
12622         (ruby-here-doc-end-syntax): Remove.
12623         (ruby-mode): Don't check whether `syntax-propertize-rules' is
12624         defined as function.
12626 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
12628         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
12630 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
12632         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
12633         table and abbrev table, `define-derived-mode' does that for us
12634         anyway.
12636 2013-11-01  Glenn Morris  <rgm@gnu.org>
12638         * Makefile.in: Remove manual mh-e dependencies (writing .elc
12639         files is atomic for some time, so no parallel compilation issues).
12641 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
12643         * faces.el (face-x-resources): Add :distant-foreground.
12644         (region): Use :distant-foreground for gtk and ns.
12646 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
12648         Allow multiple bibliographies when BibLaTeX is used rather than
12649         BibTeX.
12650         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
12651         (reftex-locate-bibliography-files): Us it.
12653 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
12655         * image.el (image-type-header-regexps): Fix the 'pbm' part to
12656         allow comments in pbm files.
12658         * term/w32-win.el (dynamic-library-alist): Support newer versions
12659         of libjpeg starting with v7: look only for the DLL from the
12660         version against which Emacs was built.
12661         Support versions of libpng beyond 1.4.x.
12662         Support libtiff v4.x.
12664 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
12666         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
12667         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
12668         Add property :safe.
12669         (ruby-deep-arglist): Add property :type.
12671 2013-10-31  Glenn Morris  <rgm@gnu.org>
12673         * Makefile.in (custom-deps, finder-data): No need to setq the target
12674         variables, we are in the right directory and the defaults work fine.
12676 2013-10-30  Glenn Morris  <rgm@gnu.org>
12678         * Makefile.in (autoloads): Do not use abs_lisp.
12680         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12681         `newline' does not respect `standard-output', so use `princ'.
12683 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
12685         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
12686         * buff-menu.el (Buffer-menu--unmark): New function.
12687         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
12689 2013-10-30  Glenn Morris  <rgm@gnu.org>
12691         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
12693         * emacs-lisp/package.el (lm-homepage): Declare.
12695         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
12696         Fix doc typos.
12698         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
12700         * Makefile.in (finder-data, autoloads, update-subdirs)
12701         (compile-main, compile-clean, compile-always, bootstrap-clean):
12702         Check return value of cd.
12703         (compile-calc): Remove.
12705 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12707         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
12709         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
12710         (byte-compile-and-folded): New function.
12711         (=, <, >, <=, >=): Use it.
12713         * dos-w32.el (minibuffer-history-case-insensitive-variables)
12714         (path-separator, null-device, buffer-file-coding-system)
12715         (lpr-headers-switches): Check system-type before modifying them.
12716         (find-buffer-file-type-coding-system): Mark obsolete.
12717         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
12718         find-file-not-found-set-buffer-file-coding-system.
12719         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
12720         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
12721         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
12722         (w32-direct-print-region-helper, w32-direct-print-region-function)
12723         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
12724         * startup.el (normal-top-level-add-subdirs-to-load-path):
12725         * ps-print.el (ps-print-region-function):
12726         * lpr.el (print-region-function): Use new name.
12728         * subr.el (custom-declare-variable-early): Remove function.
12729         (custom-declare-variable-list): Remove var.
12730         (error, user-error): Remove `while' loop.
12731         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
12732         (user-emacs-directory-warning, locate-user-emacs-file):
12733         Move to files.el.
12734         * simple.el (read-quoted-char-radix, read-quoted-char):
12735         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
12736         Move from subr.el.
12737         * custom.el (custom-declare-variable-list): Don't process
12738         custom-declare-variable-list.
12740         * progmodes/python.el (python-shell-get-buffer): New function.
12741         (python-shell-get-process): Use it.
12742         (python-shell-send-string): Always use utf-8 and add a cookie to tell
12743         Python which encoding was used.  Don't split-string since we only care
12744         about the first line.  Return the temp-file, if applicable.
12745         (python-shell-send-region): Tell compile.el how to turn locations in
12746         the temp-file into locations in the source buffer.
12748 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12750         * subr.el (undefined): Add missing behavior from the C code for
12751         unbound keys.
12753         * rect.el: Use lexical-binding.  Add new rectangular region support.
12754         (rectangle-mark): New command.
12755         (rectangle--region): New var.
12756         (deactivate-mark-hook): Reset rectangle--region.
12757         (rectangle--extract-region, rectangle--insert-for-yank)
12758         (rectangle--highlight-for-redisplay)
12759         (rectangle--unhighlight-for-redisplay): New functions.
12760         (region-extract-function, redisplay-unhighlight-region-function)
12761         (redisplay-highlight-region-function): Use them to handle
12762         rectangular region.
12763         * simple.el (region-extract-function): New var.
12764         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
12765         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
12766         (kill-region): Replace obsolete `yank-handler' arg with `region'.
12767         (copy-region-as-kill, kill-ring-save): Add `region' argument.
12768         (redisplay-unhighlight-region-function)
12769         (redisplay-highlight-region-function): New vars.
12770         (redisplay--update-region-highlight): New function.
12771         (pre-redisplay-function): Use it.
12772         (exchange-point-and-mark): Don't deactivate the mark before
12773         reactivate-it anyway.
12774         * comint.el (comint-kill-region): Remove yank-handler argument.
12775         * delsel.el (delete-backward-char, backward-delete-char-untabify)
12776         (delete-char): Remove property, since it's now part of their
12777         default behavior.
12778         (self-insert-iso): Remove property since this command doesn't exist.
12780         * emacs-lisp/package.el (package--download-one-archive)
12781         (describe-package-1): Don't query the user about final newline.
12783 2013-10-29  Daniel Colascione  <dancol@dancol.org>
12785         * net/tramp.el (tramp-methods): Document new functionality.
12786         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
12787         tramp-hostname-checker if method provides one instead of scanning
12788         argument list for "%h" to decide hostname acceptability.
12790 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
12792         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
12793         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12794         Handle COPY-CONTENTS.  (Bug#15737)
12796 2013-10-28  Daiki Ueno  <ueno@gnu.org>
12798         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
12799         Document that this option has no effect with GnuPG 2.0 (bug#15552).
12801 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
12803         * image.el (defimage, image-load-path): Doc fixes.
12805 2013-10-27  Alan Mackenzie  <acm@muc.de>
12807         Indent statements in macros following "##" correctly.
12808         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12809         Modify the "#" arm of a cond form to handle "#" and "##" operators.
12811 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
12813         * linum.el (linum-update-window): Fix boundary test (bug#13446).
12815 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
12817         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
12818         after `=' is probably a new expression.
12820 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12822         * man.el (man-imenu-title): New option.
12823         (Man-mode-map): Add menu.  (Bug#15722)
12824         (Man-mode): Add imenu to menu.
12826 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
12828         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
12829         specific in what the first arg can be: a non-keyword word,
12830         string/regexp/percent literal opener, opening paren, or unary
12831         operator followed directly by word.
12833 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12835         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
12836         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
12837         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
12838         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
12839         Remove vars, they do not apply any more.
12840         (prolog-mode-abbrev-table): Remove redundant declaration.
12841         (prolog-upper-case-string, prolog-lower-case-string): Remove.
12842         (prolog-use-smie): Remove.
12843         (prolog-smie-rules): Add indentation rule for the if-then-else layout
12844         supported by prolog-electric-if-then-else-flag.
12845         (prolog-mode-variables, prolog-menu): Use setq-local.
12846         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
12847         Remove binding to `Backspace' since this key doesn't exist anyway.
12848         Remove bindings for electric self-inserting keys.
12849         (prog-mode): Assume it's defined.
12850         (prolog-post-self-insert): New function.
12851         (prolog-mode): Use it.
12852         (prolog-indent-line, prolog-indent-level)
12853         (prolog-find-indent-of-matching-paren)
12854         (prolog-indentation-level-of-line, prolog-goto-comment-column)
12855         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
12856         (prolog-goto-next-paren, prolog-in-string-or-comment)
12857         (prolog-tokenize, prolog-inside-mline-comment)
12858         (prolog-find-start-of-mline-comment): Remove functions.
12859         (prolog-find-unmatched-paren, prolog-clause-end)
12860         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
12861         (prolog-electric--if-then-else): Rename from
12862         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
12863         (prolog-tokenize-searchkey): Remove const.
12864         (prolog-clause-info): Use forward-sexp.
12865         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
12866         (prolog-electric-if-then-else): Remove commands.
12867         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
12868         for use in post-self-insert-hook.
12869         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
12870         for use in post-self-insert-hook.
12871         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
12872         for use in post-self-insert-hook.
12873         (prolog-electric--underscore): Rename from prolog-electric--underscore;
12874         adapt it for use in post-self-insert-hook.
12876 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
12878         * emacs-lisp/ert.el (ert-run-tests-interactively):
12879         Use `completing-read'.  (Bug#9756)
12881 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
12883         * simple.el (line-move): Call line-move-1 instead of
12884         line-move-visual when the current window hscroll is zero, but
12885         temporary-goal-column indicates we will need to hscroll as result
12886         of the movement.  (Bug#15712)
12888 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
12890         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
12891         capitalization.  Use :visible instead of :active.
12892         Fix `ruby-indent-exp' reference.  Add menu items for the generic
12893         commands that are used with SMIE.
12894         (ruby-do-end-to-brace): Insert space after `{'.
12896 2013-10-25  John Anthony  <john@jo.hnanthony.com>
12898         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
12900         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
12902 2013-10-25  Glenn Morris  <rgm@gnu.org>
12904         * vc/vc.el (vc-print-log): Don't use a working revision unless
12905         one was explicitly specified.  (Bug#15322)
12907 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12909         * subr.el (add-to-list): Preserve return value in compiler-macro
12910         (bug#15692).
12912 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12914         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
12915         result.  Ask user to retry using '-all' flag.  (Bug#15701)
12917 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12919         * emacs-lisp/smie.el: New smie-config system.
12920         (smie-config): New defcustom.
12921         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
12922         (smie-config-guess, smie-config-save): New commands.
12923         (smie-config--mode-local, smie-config--buffer-local)
12924         (smie-config--trace, smie-config--modefuns): New vars.
12925         (smie-config--advice, smie-config--mode-hook)
12926         (smie-config--setter, smie-config-local, smie-config--get-trace)
12927         (smie-config--guess-value, smie-config--guess): New functions.
12928         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
12929         text properties.  Treat "string fence" syntax like string syntax.
12931         * progmodes/sh-script.el (sh-use-smie): Change default.
12932         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
12933         (sh-var-value): Simplify by CSE.
12934         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
12935         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
12936         is used.
12937         (sh-guess-basic-offset): Use cl-incf.
12938         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
12940 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
12942         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
12943         (bug#15699).
12945 2013-10-24  Glenn Morris  <rgm@gnu.org>
12947         * Makefile.in (abs_top_srcdir): Remove.
12948         (update-subdirs): Use relative path to update-subdirs.
12950 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
12952         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
12953         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
12954         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
12955         Call unmsys--file-name before expand-file-name, not after it.
12957 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
12959         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
12960         (ert-test-skipped): New error.
12961         (ert-skip, ert-stats-skipped): New defuns.
12962         (ert--skip-unless): New macro.
12963         (ert-test-skipped): New struct.
12964         (ert--run-test-debugger, ert-test-result-type-p)
12965         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
12966         (ert--stats-set-test-and-result, ert-char-for-test-result)
12967         (ert-string-for-test-result, ert-run-tests-batch)
12968         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
12969         Handle skipped tests.  (Bug#9803)
12971 2013-10-24  Glenn Morris  <rgm@gnu.org>
12973         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
12975         * Makefile.in (abs_top_srcdir): New, set by configure.
12976         (update-subdirs): Correct build-aux location.
12978 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
12980         * vc/vc.el (vc-print-root-log): Always set `default-directory'
12981         value, whether we could auto-deduce `backend', or not.
12983         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
12984         with parameters" example.  Simplify the "is it block or is it
12985         hash" check, but also make it more thorough.
12987 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
12989         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
12991 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12993         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
12994         { if it is hanging.
12996         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
12997         :before ";".
12999 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
13001         * progmodes/compile.el (compilation-directory-matcher)
13002         (compilation-page-delimiter):
13003         Support GNU Make-4.0 directory quoting.  (Bug#15678)
13005 2013-10-23  Leo Liu  <sdl.web@gmail.com>
13007         * ido.el (ido-tidy): Handle read-only text.
13009 2013-10-23  Glenn Morris  <rgm@gnu.org>
13011         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
13012         (emacs, compile, compile-always):
13013         Quote entities that might contain whitespace.
13014         (custom-deps, finder-data, autoloads): Use abs_lisp.
13015         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13016         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13017         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
13019 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
13021         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
13022         Use `following-char'.
13024 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13026         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
13027         * progmodes/ruby-mode.el (ruby-smie-rules):
13028         Remove corresponding workaround.  Fix indentation rule of ";" so it
13029         also applies when ";" is the parent.
13031 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
13033         * frame.el (display-screens, display-pixel-height)
13034         (display-pixel-width, display-mm-width, display-backing-store)
13035         (display-save-under, display-planes, display-color-cells)
13036         (display-visual-class, display-monitor-attributes-list):
13037         Mention the optional ‘display’ argument in doc strings.
13039 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
13041         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
13042         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
13044 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
13046         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
13047         TODO.  Add "." after " @ ".
13048         (ruby-smie--at-dot-call): New function.  Checks if point at method
13049         call with explicit target.
13050         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
13051         to the method name tokens when it precedes them.
13052         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
13053         (ruby-smie-rules): Add rule for indentation before and after "."
13054         token.
13056 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13058         * textmodes/remember.el (remember-diary-extract-entries):
13059         Avoid add-to-list.
13061         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
13062         an instruction.
13064 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
13066         * progmodes/ruby-mode.el (ruby-smie-grammar):
13067         Add (almost) all infix operators.
13068         (ruby-smie--implicit-semi-p): Add new operator chars.
13070         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
13071         `smie-down-list'.
13072         (ruby-smie--args-separator-p): Check that there's no newline
13073         between method call and its arguments.
13075 2013-10-20  Alan Mackenzie  <acm@muc.de>
13077         Allow comma separated lists after Java "implements".
13079         * progmodes/cc-engine.el (c-backward-over-enum-header):
13080         Parse commas.
13081         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
13082         from a "disallowed" list in enum fontification.
13084 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
13086         * startup.el (default-frame-background-mode): Remove unused defvar.
13088         * progmodes/verilog-mode.el (verilog-mode): Don't set
13089         comment-indent-function globally.
13091 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
13093         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
13094         Move Info menu item creation to ns-win.el.
13096         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
13097         in menu bar.
13099         * menu-bar.el: Move GNUstep specific menus...
13101         * term/ns-win.el (ns-initialize-window-system): ... to here.
13103 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13105         * simple.el (newline): Only run post-self-insert-hook when
13106         called interactively.
13108 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
13110         * icomplete.el (icomplete-with-completion-tables): Add :version.
13112 2013-10-19  Alan Mackenzie  <acm@muc.de>
13114         Fix fontification bugs with constructors and const.
13116         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
13117         CASE 2) Remove the check for the absence of a suffix construct
13118         after a function declaration with only types (no identifiers) in
13119         the parentheses.  Also, accept a function declaration with just a
13120         type inside the parentheses, if this type can be positively
13121         recognised as such, or if a prefix keyword like "explicit" nails
13122         down the construct as a declaration.
13124 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
13126         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
13127         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
13128         the problem whereby selecting a menu item that leads to a
13129         minibuffer prompt moves the cursor out of the minibuffer window,
13130         making it hard to type at the prompt.  Suggested by Stefan Monnier
13131         <monnier@iro.umontreal.ca>.
13133 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
13135         * menu-bar.el: Don't make Services menu.
13137 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13139         * ffap.el: Handle "/usr/include/c++/<version>" directories.
13140         (ffap-alist): Use ffap-c++-mode for c++-mode.
13141         (ffap-c++-path): New variable.
13142         (ffap-c++-mode): New function.
13144 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
13146         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
13148 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
13150         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
13151         introduced on 2013-09-08, which results in an infinite loop
13152         requesting a password.
13154 2013-10-18  Glenn Morris  <rgm@gnu.org>
13156         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
13158 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
13160         Sync with upstream verilog-mode revision 1a6ecec7.
13161         * progmodes/verilog-mode.el (verilog-mode-version): Update.
13162         (verilog-mode-release-date): Remove.
13163         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
13164         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
13165         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
13166         (verilog-auto-tieoff-ignore-regexp)
13167         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
13168         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
13169         (verilog-signals-with, verilog-dir-cache-preserving)
13170         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
13171         Doc fixes.
13172         (verilog-case-fold): New option, to control case folding in
13173         regexp searches, bug597.
13174         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
13175         (verilog-string-match-fold, verilog-in-paren-count)
13176         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
13177         (verilog-at-close-struct-p): New functions.
13178         (verilog-beg-block-re-ordered, verilog-extended-case-re)
13179         (verilog-forward-sexp, verilog-set-auto-endcomments)
13180         (verilog-leap-to-case-head): Handle "unique0" case.
13181         (verilog-in-constraint-re): New constant.
13182         (verilog-keywords, verilog-type-font-keywords):
13183         Add some SystemVerilog 1800-2012 keywords.
13184         (verilog-label-be): Remove unimplemented argument, bug669.
13185         (verilog-batch-execute-func): When batch expanding clear
13186         create-lockfiles to prevent spurious user locks when a file ends
13187         up not changing.
13188         (verilog-calculate-indent, verilog-calc-1)
13189         (verilog-at-close-constraint-p, verilog-at-constraint-p)
13190         (verilog-do-indent): Fix indentation of nested constraints
13191         and structures.
13192         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
13193         (verilog-auto-inst-param): Use verilog-string-match-fold.
13194         (verilog-read-inst-module-matcher):
13195         Fix AUTOINST on gate primitives with #1.
13196         (verilog-read-decls): Fix double-declaring user-defined typed signals.
13197         Reads all user-defined typed variables.
13198         (verilog-read-defines): Fix reading definitions inside comments, bug647.
13199         (verilog-signals-matching-regexp)
13200         (verilog-signals-not-matching-regexp, verilog-auto):
13201         Respect verilog-case-fold.
13202         (verilog-diff-report): Fix line count.
13203         (verilog-auto-assign-modport): Remove unused local `modi'.
13204         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
13205         better handle multidimensional arrays.
13206         Fix packed array ports misadding bit index in AUTOINST, bug637.
13207         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
13208         to not double-declare existing outputs and inputs, respectively.
13209         (verilog-template-map): Bind U to verilog-sk-uvm-component.
13210         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
13211         (verilog-sk-uvm-component): New skeleton.
13212         (verilog-submit-bug-report): Add verilog-case-fold,
13213         remove verilog-mode-release-date.
13215 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
13217         * subr.el (sit-for): Call (input-pending-p t) so as to behave
13218         as before.
13220 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
13222         * textmodes/remember.el (remember): Set buffer-offer-save in
13223         remember buffers (bug#13566).
13225 2013-10-18  Daniel Colascione  <dancol@dancol.org>
13227         When evaluating forms in ielm, direct standard output to ielm
13228         buffer.  Add new ielm-return-for-effect command.  Remove trailing
13229         whitespace throughout.
13231         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
13232         (ielm-return-for-effect): New command.
13233         (ielm-send-input): Accept optional `for-effect' parameter.
13234         (ielm-eval-input): Accept optional `for-effect' parameter.
13235         Bind `standard-output' to stream we create using
13236         `ielm-standard-output-impl'.  Suppress printing result when
13237         `for-effect'.
13238         (ielm-standard-output-impl): New function.
13239         (inferior-emacs-lisp-mode): Explain new features in documentation.
13241 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
13243         Code cleanup.
13245         * net/tramp.el (tramp-debug-message): Do not check for connection
13246         buffer.
13247         (tramp-message): Use "vector" connection property.
13249         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
13250         (tramp-equal-remote, tramp-eshell-directory-change)
13251         * net/tramp-adb.el (tramp-adb-handle-copy-file)
13252         (tramp-adb-handle-rename-file)
13253         * net/tramp-cmds.el (tramp-list-remote-buffers)
13254         (tramp-cleanup-connection, tramp-cleanup-this-connection)
13255         * net/tramp-compat.el (tramp-compat-process-running-p)
13256         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
13257         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
13258         (tramp-gvfs-handle-rename-file)
13259         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13260         (tramp-set-file-uid-gid)
13261         * net/tramp-smb.el (tramp-smb-handle-copy-file)
13262         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
13263         of `file-remote-p'.
13265         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
13266         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
13267         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
13268         (tramp-gw-open-network-stream): Suppress unrelated traces.
13270         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
13271         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
13272         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13273         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
13274         connection property.
13276         * net/tramp-cache.el (top): Suppress traces when reading
13277         persistency file.
13279         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
13280         Refactor common code.  Improve debug message.
13281         (tramp-maybe-open-connection)
13282         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
13283         connection buffer too early.
13285         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
13286         from `tramp-smb-actions-with-acl'.
13287         (tramp-smb-actions-set-acl): New defconst.
13288         (tramp-smb-handle-copy-directory)
13289         (tramp-smb-action-get-acl): New defun, renamed from
13290         `tramp-smb-action-with-acl'.
13291         (tramp-smb-action-set-acl): New defun.
13292         (tramp-smb-handle-set-file-acl): Rewrite.
13294 2013-10-17  Glenn Morris  <rgm@gnu.org>
13296         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
13298 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13300         * skeleton.el (skeleton-newline): Remove.
13301         (skeleton-internal-1): Use (insert "\n") instead.
13303         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
13304         let-bindings.
13306         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
13307         forward-sexp-function while we redo its job (bug#15613).
13309 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
13311         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
13312         represented by lists.
13314 2013-10-16  Glenn Morris  <rgm@gnu.org>
13316         * tmm.el (tmm--history): New dynamic variable.
13317         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
13319 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
13321         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
13322         (tramp-smb-errors): Add error messages.
13323         (tramp-smb-actions-with-acl): New defconst.
13324         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
13325         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
13326         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
13327         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
13328         (tramp-smb-get-stat-capability): Fix tests.
13330 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
13332         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
13333         (bug#15580).
13335 2013-10-16  Glenn Morris  <rgm@gnu.org>
13337         * ansi-color.el (ansi-color-drop-regexp):
13338         Add 1J, 1K, 2K.  (Bug#15617)
13340         * files.el (hack-local-variables--warned-lexical): New.
13341         (hack-local-variables):
13342         Warn about misplaced lexical-binding.  (Bug#15616)
13344         * net/eww.el (eww-render): Always set eww-current-url,
13345         and update header line.  (Bug#15622)
13346         (eww-display-html): ... Rather than just doing it here.
13348 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
13350         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
13351         menu navigations commands.
13353 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
13355         * progmodes/subword.el (subword-capitalize): Be careful when
13356         the search for [[:alpha:]] fails (bug#15580).
13358 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
13360         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
13361         to commands that scroll the menu.
13363 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
13365         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
13366         Handle methods ending with `?' and `!'.
13368 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
13370         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
13371         `japanese-cp932' to `cp932' to fix the problem where saving a
13372         source file written in Shift_JIS twice would end up having
13373         `coding: japanese-cp932' which Ruby could not recognize.
13374         (ruby-mode-set-encoding): Add support for encodings mapped to nil
13375         in `ruby-encoding-map'.
13376         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
13377         doesn't need to be explicitly declared in magic comment.
13378         (ruby-encoding-map): Add type declaration for better customize UI.
13380 2013-10-13  Glenn Morris  <rgm@gnu.org>
13382         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
13383         Occur buffers are read-only.  http://bugs.debian.org/720775
13385         * emacs-lisp/authors.el (authors-fixed-entries):
13386         Comment out old alpha stuff.
13388 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
13390         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
13391         to `after-save-hook' instead of `before-save-hook'.
13392         (ruby-mode-set-encoding): Use the value of coding system used to
13393         write the file.  Call `basic-save-buffer-1' after modifying the
13394         buffer.
13396 2013-10-13  Alan Mackenzie  <acm@muc.de>
13398         Fix indentation/fontification of Java enum with
13399         "implements"/generic.
13401         * progmodes/cc-engine.el (c-backward-over-enum-header):
13402         Extracted from the three other places and enhanced to handle generics.
13403         (c-inside-bracelist-p): Uses new function above.
13404         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
13405         function above.
13406         (c-font-lock-enum-tail): Uses new function above.
13408 2013-10-13  Kenichi Handa  <handa@gnu.org>
13410         * international/mule-cmds.el (select-safe-coding-system): Remove a
13411         superfluous condition in chekcing whether a coding system is safe
13412         or not.
13414 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
13416         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
13418 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
13420         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
13422 2013-10-13  Glenn Morris  <rgm@gnu.org>
13424         * menu-bar.el (menu-bar-update-buffers):
13425         Unify Buffers menu prompt string.  (Bug#15576)
13427         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
13429         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
13430         Add some entries.
13431         (authors-fixed-entries): Use accented form of name.
13433 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13435         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
13436         method calls (bug#15594).
13437         (ruby-smie--args-separator-p): New function.
13438         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
13439         recognize paren-free method calls.
13441         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
13442         internals of universal-argument.
13444 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
13446         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
13447         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
13448         dropped menu on second mouse click on the menu bar.
13450 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13452         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
13453         (explicit-shell-file-name): Declare.
13454         (sh--vars-before-point, sh--cmd-completion-table): New functions.
13455         (sh-completion-at-point-function): New function.
13456         (sh-mode): Use it.
13457         (sh-smie--keyword-p): Remove unused argument.
13458         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
13459         vars.
13460         (sh-set-shell): Always setup SMIE, even if we use the
13461         old indentation code.
13463 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
13465         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
13466         cases of ? and =.
13467         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
13468         predicate would return nil are almost non-existent.
13469         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
13471         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
13472         cache also after commands that modify the buffer but don't move
13473         point.
13475 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13477         * env.el (substitute-env-in-file-name): New function.
13478         (substitute-env-vars): Extend the meaning of the optional arg.
13480 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
13482         * term/w32-win.el (dynamic-library-alist): Define separate lists
13483         of GIF DLLs for versions before and after 5.0.0 of giflib.
13484         (Bug#15531)
13486 2013-10-10  João Távora  <joaotavora@gmail.com>
13488         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
13489         not locked, use last revision and current source as
13490         defaults.  (Bug#15569)
13492 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
13494         * menu-bar.el (menu-bar-open): Don't use popup-menu if
13495         menu-bar is hidden.
13497 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
13499         * window.el (pop-to-buffer-same-window): Fix doc-string.
13500         (Bug#15492)
13502 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13504         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
13506 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
13508         * calendar/icalendar.el (icalendar-import-file):
13509         Fix interactive spec.  (Bug#15482)
13511 2013-10-10  Glenn Morris  <rgm@gnu.org>
13513         * desktop.el (desktop-save): Default to saving in .emacs.d,
13514         since PWD is no longer in desktop-path by default.  (Bug#15319)
13516         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
13517         now that text mode has a menu with the same entry.
13518         (menu-bar-text-mode-auto-fill): Remove now unused func.
13519         * textmodes/text-mode.el (text-mode-map):
13520         Use auto-fill help text from menu-bar.el.
13522 2013-10-10  John Anthony  <john@jo.hnanthony.com>
13524         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
13526 2013-10-09  Juri Linkov  <juri@jurta.org>
13528         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
13529         instead of this-command-keys.  Add universal-argument-more and
13530         universal-argument-minus to the list of prefix commands.  (Bug#15568)
13532 2013-10-09  Glenn Morris  <rgm@gnu.org>
13534         * vc/vc-svn.el (vc-svn-create-repo):
13535         Expand paths in file://... url.  (Bug#15446)
13537         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
13538         Add some entries.
13539         (authors): Remove unused local variables.
13541 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13543         * profiler.el: Create a more coherent calltree from partial backtraces.
13544         (profiler-format): Hide the tail with `invisible' so that C-s can still
13545         find the hidden elements.
13546         (profiler-calltree-depth): Don't recurse so enthusiastically.
13547         (profiler-function-equal): New hash-table-test.
13548         (profiler-calltree-build-unified): New function.
13549         (profiler-calltree-build): Use it.
13550         (profiler-report-make-name-part): Indent the calltree less.
13551         (profiler-report-mode): Add visibility specs for profiler-format.
13552         (profiler-report-expand-entry, profiler-report-toggle-entry):
13553         Expand the whole subtree when provided with a prefix arg.
13555 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
13557         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
13558         iuwu-mod token.
13559         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
13560         hanging iuwu-mod token.
13561         (ruby-smie--forward-token): Do not include a dot after a token in
13562         that token.
13563         (ruby-smie--backward-token): Likewise.
13565 2013-10-08  Juri Linkov  <juri@jurta.org>
13567         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
13568         to isearch-other-control-char.
13569         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
13570         and isearch-post-command-hook to post-command-hook.
13571         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
13572         and isearch-post-command-hook from post-command-hook.
13573         (isearch-unread-key-sequence)
13574         (isearch-reread-key-sequence-naturally)
13575         (isearch-lookup-scroll-key, isearch-other-control-char)
13576         (isearch-other-meta-char): Remove functions.
13577         (isearch-pre-command-hook, isearch-post-command-hook):
13578         New functions based on isearch-other-meta-char rewritten
13579         relying on the new behavior of overriding-terminal-local-map
13580         that does not replace the local keymaps any more.  (Bug#15200)
13582 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
13584         Support menus on text-mode terminals.
13585         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
13586         functionality.
13588         * tooltip.el (tooltip-mode): Don't error out on TTYs.
13590         * menu-bar.el (popup-menu, popup-menu-normalize-position):
13591         Move here from mouse.el.
13592         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
13593         and arrow keys.
13594         (tty-menu-navigation-map): New map for TTY menu navigation.
13596         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
13598         * frame.el (display-mouse-p): Report text-mode mouse as available
13599         on w32.
13600         (display-popup-menus-p): Report availability if mouse is
13601         available; don't condition on window-system.
13603         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
13604         (tty-menu-selected-face): New faces.
13606 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13608         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
13609         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
13610         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
13611         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
13612         New constants.
13613         (lisp-mode-variables): New `elisp' argument.
13614         (emacs-lisp-mode): Use it.
13615         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
13616         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
13618         * indent.el: Use lexical-binding.
13619         (indent-region): Add progress reporter.
13620         (tab-stop-list): Make it implicitly extend to infinity by repeating the
13621         last step.
13622         (indent--next-tab-stop): New function to implement this behavior.
13623         (tab-to-tab-stop, move-to-tab-stop): Use it.
13625 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
13627         * indent.el (indent-rigidly--current-indentation): New function.
13628         (indent-rigidly-map): New var.
13629         (indent-rigidly): Use it to provide interactive mode (bug#8196).
13631 2013-10-08  Bastien Guerry  <bzg@gnu.org>
13633         * register.el (insert-register): Fix 2013-10-07 change.
13635 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13637         * progmodes/perl-mode.el: Use lexical-binding.
13638         Remove redundant :group args.
13639         (perl-nochange): Change default to be closer to other major modes's
13640         standard behavior.
13641         (perl-indent-line): Don't consider text on current line as a
13642         valid beginning of function from which to indent.
13644         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
13645         with more than one argument (bug#15538).
13647         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
13649         * vc/pcvs.el: Use lexical-binding.
13650         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
13651         environment of `eval'.
13652         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
13653         than a list of expressions.  Adjust callers.
13654         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
13656 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
13658         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
13659         case of the dot in a chained method call being on the following line.
13661 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13663         * electric.el (electric-indent-inhibit): New var.
13664         (electric-indent-post-self-insert-function): Use it.
13665         * progmodes/python.el (python-mode): Set it.
13667         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
13668         open braces.
13670         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
13672         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
13673         (css-mode): Use electric-indent-chars.
13675         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
13676         (font-lock-beg, font-lock-end): Move before first use.
13677         (nxml-mode): Use syntax-propertize-function.
13678         (nxml-after-change, nxml-after-change1): Adjust accordingly.
13679         (nxml-extend-after-change-region): Remove.
13680         * nxml/xmltok.el: Use lexical-binding.
13681         (xmltok-save): Use `declare'.
13682         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
13683         * nxml/nxml-util.el: Use lexical-binding.
13684         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
13685         Use `declare'.
13686         * nxml/nxml-ns.el: Use lexical-binding.
13687         (nxml-ns-save): Use `declare'.
13688         (nxml-ns-prefixes-for): Avoid add-to-list.
13689         * nxml/rng-match.el: Use lexical-binding.
13690         (rng--ipattern): Use cl-defstruct.
13691         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
13692         (rng-cons-group-after, rng-subst-group-after)
13693         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
13694         Use closures instead of `(lambda...).
13696 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
13698         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
13699         of BEG and END.
13701         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13702         Use `tramp-handle-insert-file-contents'.
13703         (tramp-gvfs-handle-insert-file-contents): Remove function.
13705         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13706         Use `save-restriction' in order to keep markers.
13708         * net/trampver.el: Update release number.
13710 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13712         * progmodes/compile.el (compilation-parse-errors):
13713         Use compilation--put-prop.
13714         (compilation--ensure-parse): Check compilation-multiline.
13716         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
13718         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
13719         lexical-binding.
13721         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
13723         * progmodes/ruby-mode.el: Fix recently added tests.
13724         (ruby-smie-grammar): Add - and +.
13725         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
13726         (ruby-smie--backward-id): New functions.
13727         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
13728         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
13729         any more.
13731 2013-10-07  Leo Liu  <sdl.web@gmail.com>
13733         * register.el (register-preview-delay)
13734         (register-preview-functions): New variables.
13735         (register-read-with-preview, register-preview)
13736         (register-describe-oneline): New functions.
13737         (point-to-register, window-configuration-to-register)
13738         (frame-configuration-to-register, jump-to-register)
13739         (number-to-register, view-register, insert-register)
13740         (copy-to-register, append-to-register, prepend-to-register)
13741         (copy-rectangle-to-register): Use register-read-with-preview to
13742         read register.  (Bug#15525)
13744 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
13746         * net/network-stream.el (network-stream-open-starttls): Don't add
13747         --insecure if it's already present, because that gnutls-cli
13748         rejects getting that parameter twice.
13750 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
13752         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
13753         keyword, too.
13755 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
13757         * newcomment.el (comment-use-global-state): Change default value
13758         to t, mark obsolete (Bug#15251).
13759         (comment-beginning): In addition to `comment-to-syntax', check the
13760         value of `comment-use-global-state'.
13762 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13764         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
13765         (ruby-comment-column): Follow the global default, by default.
13766         (ruby-smie-grammar): Add assignment syntax.
13767         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
13768         open-paren, a comma, or a \.
13769         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
13770         and line continuations.
13771         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
13772         followed by implicit semi-colons.  Add rule for string concatenation
13773         and for indentation at BOB.
13774         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
13776         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
13777         calling next-sexp, since next-token may have skipped chars which
13778         next-sexp doesn't know should be skipped!
13780 2013-10-05  Leo Liu  <sdl.web@gmail.com>
13782         * progmodes/octave.el (octave-send-region):
13783         Call compilation-forget-errors.
13785 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
13787         * vc/vc-svn.el (vc-svn-find-admin-dir):
13788         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
13789         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
13790         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
13791         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
13793 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13795         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
13797 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13799         * subr.el (read-passwd): Hide chars even when called within a context
13800         where after-change-functions is disabled (bug#15501).
13801         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
13802         until we removed ourself from overriding-terminal-local-map.
13804 2013-10-04  Leo Liu  <sdl.web@gmail.com>
13806         * progmodes/octave.el (inferior-octave-mode):
13807         Call compilation-forget-errors.
13809 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
13811         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
13813 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
13815         * net/secrets.el (secrets-create-collection): Add optional
13816         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
13817         dbus-call-method argument.  (Bug#15516)
13819 2013-10-04  Leo Liu  <sdl.web@gmail.com>
13821         * progmodes/octave.el (inferior-octave-error-regexp-alist)
13822         (inferior-octave-compilation-font-lock-keywords): New variables.
13823         (compilation-error-regexp-alist)
13824         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
13825         (inferior-octave-mode): Use compilation-shell-minor-mode.
13827 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
13829         * minibuffer.el (completion--replace): Be careful that `end' might be
13830         a marker.
13832 2013-10-03  Daiki Ueno  <ueno@gnu.org>
13834         Add support for package signature checking.
13835         * emacs-lisp/package.el (url-http-file-exists-p)
13836         (epg-make-context, epg-context-set-home-directory)
13837         (epg-verify-string, epg-context-result-for)
13838         (epg-signature-status, epg-signature-to-string)
13839         (epg-check-configuration, epg-configuration)
13840         (epg-import-keys-from-file): Declare.
13841         (package-check-signature): New user option.
13842         (package-unsigned-archives): New user option.
13843         (package-desc): Add `signed' field.
13844         (package-load-descriptor): Set `signed' field if .signed file exists.
13845         (package--archive-file-exists-p): New function.
13846         (package--check-signature): New function.
13847         (package-install-from-archive): Check package signature.
13848         (package--download-one-archive): Check archive signature.
13849         (package-delete): Remove .signed file.
13850         (package-import-keyring): New command.
13851         (package-refresh-contents): Import default keyring.
13852         (package-desc-status): Add "unsigned" status.
13853         (describe-package-1, package-menu--print-info)
13854         (package-menu-mark-delete, package-menu--find-upgrades)
13855         (package-menu--status-predicate): Support "unsigned" status.
13857 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13859         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
13860         the new compilation scheme using the new byte-codes.
13862         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
13863         (byte-pophandler): New byte codes.
13864         (byte-goto-ops): Adjust accordingly.
13865         (byte-compile--use-old-handlers): New var.
13866         (byte-compile-catch): Use new byte codes depending on
13867         byte-compile--use-old-handlers.
13868         (byte-compile-condition-case--old): Rename from
13869         byte-compile-condition-case.
13870         (byte-compile-condition-case--new): New function.
13871         (byte-compile-condition-case): New function that dispatches depending
13872         on byte-compile--use-old-handlers.
13873         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
13874         when we can.
13876         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
13877         Optimize under `condition-case' and `catch' if
13878         byte-compile--use-old-handlers is nil.
13879         (disassemble-offset): Handle new bytecodes.
13881 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13883         * subr.el (error): Use `declare'.
13884         (decode-char, encode-char): Use advertised-calling-convention instead
13885         of the docstring to discourage use of the `restriction' arg.
13887 2013-10-03  Daiki Ueno  <ueno@gnu.org>
13889         * epg.el (epg-verify-file): Add a comment saying that it does not
13890         notify verification error as a return value nor a signal.
13891         (epg-verify-string): Ditto.
13893 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
13895         * progmodes/compile.el (compilation-start): Try globbing the arg to
13896         `cd' (bug#15417).
13898 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
13900         Sync with Tramp 2.2.8.
13902         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
13903         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
13904         * net/trampver.el: Update release number.
13906 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
13908         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
13909         and default-process-coding-system for darwin only.
13911 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13913         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
13915 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
13917         * vc/vc-git.el (vc-git-grep): Disable pager.
13919 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
13921         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
13922         Use :url instead of :homepage, as per
13923         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
13925         * newcomment.el (comment-beginning): When `comment-use-syntax' is
13926         non-nil, use `syntax-ppss' (Bug#15251).
13928 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13930         * progmodes/octave.el (inferior-octave-startup-file):
13931         Prefer ~/.emacs.d/init_octave.m.
13933 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
13935         * emacs-lisp/package.el (package-desc-from-define):
13936         Accept additional arguments as plist, convert them to an alist and store
13937         them in the `extras' slot.
13938         (package-generate-description-file): Convert extras alist back to
13939         plist and append to the `define-package' form arguments.
13940         (package--alist-to-plist): New function.
13941         (package--ac-desc): Add `extras' slot.
13942         (package--add-to-archive-contents): Check if the archive-contents
13943         vector is long enough, and if it is, pass its `extras' slot value
13944         to `package-desc-create'.
13945         (package-buffer-info): Call `lm-homepage', pass the returned value
13946         to `package-desc-from-define'.
13947         (describe-package-1): Render the homepage button (Bug#13291).
13949         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13950         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
13952 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
13954         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
13955         and default-process-coding-system to utf-8-unix (Bug#15402).
13957 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
13959         * subr.el (looking-back): Do not recommend using looking-back.
13961 2013-09-28  Alan Mackenzie  <acm@muc.de>
13963         Fix indentation/fontification of Java enum with "implements".
13965         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
13966         regexp which matches "implements", etc., in Java.
13967         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
13968         specifier clauses coming after "enum".
13969         * progmodes/cc-fonts.el (c-font-lock-declarations)
13970         (c-font-lock-enum-tail): Check for extra specifier clauses coming
13971         after "enum".
13973 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
13975         * faces.el (region): Change ns_selection_color to
13976         ns_selection_fg_color, add ns_selection_bg_color.
13978 2013-09-28  Leo Liu  <sdl.web@gmail.com>
13980         * progmodes/octave.el (inferior-octave-completion-table)
13981         (inferior-octave-completion-at-point): Minor tweaks.
13983         * textmodes/ispell.el (ispell-lookup-words): Rename from
13984         lookup-words.  (Bug#15460)
13985         (lookup-words): Obsolete.
13986         (ispell-complete-word, ispell-command-loop): All uses changed.
13988 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13990         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
13991         (octave-mode-menu): Add octave-send-buffer.
13992         (octave-send-buffer): New function.
13994 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13996         * progmodes/octave.el (octave-mode-map): Add key binding for
13997         octave-lookfor.
13998         (octave-mode-menu): Add octave-lookfor.
13999         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
14000         octave-lookfor.
14001         (octave-lookfor): New function.
14003 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14005         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
14006         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
14007         its convention.
14008         (cl--loop-set-iterator-function): New function.
14009         (cl-loop): Adjust accordingly, so as not to use cl-subst.
14010         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
14011         Bind `it' with `let' instead of substituting it with `cl-subst'.
14012         (cl--unused-var-p): New function.
14013         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
14014         Eliminate some unused variable warnings (bug#15326).
14016 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
14018         * doc-view.el (doc-view-scale-reset): Rename from
14019         `doc-view-reset-zoom-level'.
14020         (doc-view-scale-adjust): New command.
14021         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
14022         `doc-view-scale-adjust'.
14024 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
14026         * doc-view.el (doc-view-reset-zoom-level): New command.
14027         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
14028         zoom commands (bug#15466).
14030 2013-09-26  Kenichi Handa  <handa@gnu.org>
14032         * international/quail.el (quail-help): Make it not a command.
14034 2013-09-26  Leo Liu  <sdl.web@gmail.com>
14036         * minibuffer.el (completion-all-sorted-completions): Make args
14037         optional as they are.
14039 2013-09-25  Daniel Colascione  <dancol@dancol.org>
14041         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
14042         specs are and that they're not evaluated.
14044 2013-09-24  Sam Steingold  <sds@gnu.org>
14046         * midnight.el (clean-buffer-list-kill-regexps)
14047         (clean-buffer-list-kill-buffer-names): Update for the new Man
14048         buffer naming which includes the object name.
14050 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14052         * eshell/esh-cmd.el (eshell--sep-terms): New var.
14053         (eshell-parse-command, eshell-parse-pipeline): Use it since
14054         eshell-separate-commands requires a dynamic scoped var.
14055         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
14057 2013-09-23  Leo Liu  <sdl.web@gmail.com>
14059         * autoinsert.el (auto-insert-alist): Make the value of
14060         lexical-binding match its file setting.
14062 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
14064         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
14066         * autoarg.el (autoarg-kp-digit-argument):
14067         * electric.el (Electric-command-loop):
14068         * kmacro.el (kmacro-step-edit-insert):
14069         Do not set universal-argument-num-events.
14071 2013-09-22  Leo Liu  <sdl.web@gmail.com>
14073         * files.el (interpreter-mode-alist): Add octave.
14075 2013-09-21  Alan Mackenzie  <acm@muc.de>
14077         C++: fontify identifier in declaration following "public:" correctly.
14078         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
14079         to match "public", etc.
14080         (c-decl-prefix-re): Add ":" into the C++ value.
14081         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
14082         bit.  Add a check for a ":" preceded by "public", etc.
14084 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
14086         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
14087         recognized by GDB 7.5 and later.
14089 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
14091         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
14093 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14095         * subr.el (internal--call-interactively): New const.
14096         (called-interactively-p): Use it (bug#3984).
14098 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
14100         * vc/pcvs.el (cvs-mode-ignore):
14101         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
14102         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
14104 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14106         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
14107         (eshell-ls-orig-insert-directory): Remove.
14108         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
14109         (eshell-ls-use-in-dired): Use advice-add/remove.
14110         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
14111         Add `orig-fun' arg for use in :around advice.
14112         Make it check (redundantly) eshell-ls-use-in-dired.
14114 2013-09-19  Glenn Morris  <rgm@gnu.org>
14116         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
14118         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
14120         * emacs-lisp/eieio.el (class-parent): Undo previous change.
14122 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
14124         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
14125         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
14126         (tramp-get-remote-python): New defuns.
14127         (tramp-get-remote-uid-with-perl)
14128         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
14129         contributed by yary <not.com@gmail.com> (tiny change).
14130         (tramp-get-remote-uid-with-python)
14131         (tramp-get-remote-gid-with-python): New defuns.  Python code
14132         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
14133         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
14135 2013-09-19  Glenn Morris  <rgm@gnu.org>
14137         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
14139         * eshell/em-unix.el (eshell-remove-entries):
14140         Rename argument to avoid name-clash with global `top-level'.
14142         * eshell/esh-proc.el (eshell-kill-process-function):
14143         Remove eshell-reset-after-proc from eshell-kill-hook if present.
14144         (eshell-reset-after-proc): Remove unused arg `proc'.
14146         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
14147         (directory-files-and-attributes): Mark unused arg.
14149         * eshell/em-unix.el (eshell-remove-entries):
14150         Remove unused arg `path'.  Update callers.
14152         * eshell/em-hist.el (eshell-hist-parse-arguments):
14153         Remove unused arg `silent'.  Update callers.
14155         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
14156         Fix (f)boundp mix-up.
14158         * eshell/em-smart.el (eshell-smart-scroll-window)
14159         (eshell-disable-after-change):
14160         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
14162 2013-09-18  Alan Mackenzie  <acm@muc.de>
14164         Fix fontification of type when followed by "const".
14165         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
14166         "known" types from fontification.
14168 2013-09-18  Glenn Morris  <rgm@gnu.org>
14170         * emacs-lisp/chart.el (x-display-color-cells): Declare.
14171         (chart-face-list): Drop Emacsen without display-color-p.
14173         * net/eww.el (libxml-parse-html-region): Declare.
14174         (eww-display-html): Explicit error if no libxml2 support.
14176         * doc-view.el (doc-view-mode): Silence --without-x compilation.
14178         * image.el (image-type-from-buffer, image-multi-frame-p):
14179         Remove --without-x warning/error.
14181         * mouse.el (mouse-yank-primary):
14182         * term.el (term-mouse-paste):
14183         Reorder to silence --without-x compilation.
14185         * mpc.el (doc-view-mode): Silence --without-x compilation.
14187         * mail/rmailmm.el (rmail-mime-set-bulk-data):
14188         Silence --without-x compilation.
14190         * progmodes/gud.el (gud-find-file, gud-mode):
14191         Silence --without-x compilation.
14192         (tooltip-mode): Declare.
14194         * wdired.el (dired-backup-overwrite): Remove declaration.
14195         (wdired-mode-map): Add doc string.
14197         * custom.el (x-get-resource): Declare.
14199         * eshell/em-glob.el (ange-cache):
14200         * eshell/em-unix.el (ange-cache): Declare.
14202         * faces.el (x-display-list, x-open-connection, x-get-resource):
14203         Declare.
14205         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
14206         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
14207         Declare.
14209         * frame.el (x-display-grayscale-p, x-display-name): Declare.
14211         * net/gnutls.el (gnutls-log-level): Declare.
14213         * net/shr.el (image-size, image-animate): Declare.
14215         * simple.el (font-info): Declare.
14217         * subr.el (x-popup-dialog): Declare.
14219         * term/common-win.el (x-select-enable-primary)
14220         (x-last-selected-text-primary, x-last-selected-text-clipboard):
14221         Declare.
14223         * term/ns-win.el (x-handle-args): Declare.
14225         * term/x-win.el (x-select-enable-clipboard): Declare.
14227         * term/w32-win.el (create-default-fontset): Declare.
14229         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
14230         Declare.
14232         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
14233         (fit-frame-to-buffer): Explicit error if --without-x.
14234         (mouse-autoselect-window-select): Silence compiler.
14236         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14238         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
14239         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
14240         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
14241         * eshell/esh-util.el (eshell-sublist):
14242         Remove unused local variables.
14244         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
14246         * textmodes/two-column.el: Make 2C-split work for --without-x.
14247         (scroll-bar-columns): Autoload.
14248         (top-level): Require fringe when compiling.
14250 2013-09-18  Leo Liu  <sdl.web@gmail.com>
14252         * subr.el (add-hook): Robustify to handle closure as well.
14254 2013-09-17  Glenn Morris  <rgm@gnu.org>
14256         * simple.el (messages-buffer-mode-map): Unbind "g".
14258 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14260         * help-mode.el (help-mode-finish): Use derived-mode-p.
14261         Remove obsolete highlighting.
14263         * play/life.el (life-mode): Use define-derived-mode.  Derive from
14264         special-mode.
14265         (life): Let-bind inhibit-read-only.
14266         (life-setup): Avoid `setq'.  Use `life-mode'.
14268         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
14269         which should not be needed any more.
14270         (package-menu-refresh, package-menu-describe-package): Use user-error.
14272         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
14273         (eshell-post-rewrite-command-hook): Make obsolete.
14274         (eshell-parse-command): Simplify.
14275         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
14276         (eshell--cmd): Declare.
14277         (eshell-parse-pipeline): Remove unused var `final-p'.
14278         Pass a dynvar to eshell-post-rewrite-command-hook.
14279         Implement the new eshell-post-rewrite-command-function.
14280         (eshell-invoke-directly): Remove unused arg `input'.
14281         * eshell/esh-io.el (eshell-io-initialize):
14282         Use eshell-post-rewrite-command-function (bug#15399).
14283         (eshell--apply-redirections): Rename from eshell-apply-redirections;
14284         adjust to new calling convention.
14285         (eshell-create-handles): Rename args to avoid clashing with dynvar
14286         `standard-output'.
14288 2013-09-17  Glenn Morris  <rgm@gnu.org>
14290         * simple.el (messages-buffer-mode): New major mode.
14291         (messages-buffer): New function.
14292         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
14293         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
14294         (ert-run-test): Use `messages-buffer' function.
14295         (ert--force-message-log-buffer-truncation): Ignore read-only.
14296         * help.el (view-echo-area-messages): Use `messages-buffer' function.
14297         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
14299 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14301         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
14303         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
14305 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14307         * icomplete.el (icomplete-in-buffer): New var.
14308         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
14309         vars and replace them with functions.
14310         (icomplete-minibuffer-setup): Adjust accordingly.
14311         (icomplete--completion-table, icomplete--completion-predicate)
14312         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
14313         New functions.
14314         (icomplete-forward-completions, icomplete-backward-completions)
14315         (icomplete-simple-completing-p, icomplete-exhibit)
14316         (icomplete-completions): Use them.
14317         (icomplete--in-region-buffer): New var.
14318         (icomplete--in-region-setup): New function.
14319         (icomplete-mode): Use it.
14321         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
14322         (bug#15379).
14323         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
14324         return args and options.
14325         (eshell-eval-using-options): Use the new return value of
14326         eshell--do-opts to set the options's vars in their scope.
14327         (eshell--set-option): Rename from eshell-set-option.
14328         Add arg `opt-vals'.
14329         (eshell--process-option): Rename from eshell-process-option.
14330         Add arg `opt-vals'.
14331         (eshell--process-args): Use an `opt-vals' alist to store the options's
14332         values during their processing and return them additionally to the
14333         remaining args.
14335 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
14337         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
14338         continuation character an operator, as far as indentation is
14339         concerned (Bug#15369).
14341 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
14343         * window.el (window--state-put-2): Don't process buffer state
14344         when buffer doesn't exist any more (Bug#15382).
14346 2013-09-15  Glenn Morris  <rgm@gnu.org>
14348         * eshell/em-unix.el (eshell/rm):
14349         Make -f ignore missing files.  (Bug#15373)
14351         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
14352         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
14353         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
14355 2013-09-14  Glenn Morris  <rgm@gnu.org>
14357         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
14359 2013-09-13  Glenn Morris  <rgm@gnu.org>
14361         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
14362         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
14364 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
14366         * frame.el (x-focus-frame): Mark as declared in frame.c.
14368 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14370         * ls-lisp.el: Use advice-add.
14371         (original-insert-directory): Remove.
14372         (ls-lisp--insert-directory): Rename from insert-directory; add
14373         `orig-fun' argument.
14374         (insert-directory): Advise.
14376 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
14378         * term.el (term-emulate-terminal): Decode the command string
14379         before passing it to term-command-hook.  (Bug#15337)
14381 2013-09-13  Glenn Morris  <rgm@gnu.org>
14383         * eshell/esh-util.el (ange-cache): Move declaration earlier.
14385         * eshell/esh-ext.el (eshell-search-path): Declare.
14387         * eshell/em-prompt.el (eshell/pwd): Autoload it.
14388         Otherwise an error occurs if eshell-dirs module not loaded.
14390         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
14392 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
14394         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
14395         `tramp-check-proper-host'.  Check for a valid method name.
14397         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
14398         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
14399         * net/tramp-sh.el (tramp-maybe-open-connection):
14400         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
14402         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
14403         also for hash values.
14405 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14407         * term/ns-win.el (parameters): Don't declare as dynamic.
14408         (before-make-frame-hook): Don't add ineffective function.
14410         * eshell/*.el: Use lexical-binding (bug#15231).
14412 2013-09-12  Kenichi Handa  <handa@gnu.org>
14414         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
14416 2013-09-12  Glenn Morris  <rgm@gnu.org>
14418         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
14419         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
14421         * subr.el (do-after-load-evaluation): Also give compiler warnings
14422         when obsolete files are used (except by obsolete files).
14424         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
14425         in the status output, assume `filename' is the first.  (Bug#15322)
14427         * vc/vc.el (vc-deduce-fileset): Doc fix.
14429         * calc/calc-help.el (Info-goto-node):
14430         * progmodes/cperl-mode.el (Info-find-node):
14431         * vc/ediff.el (Info-goto-node): Update declarations.
14433         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
14435         * vc/vc-bzr.el (vc-compilation-mode): Declare.
14436         (vc-bzr-pull): Require vc-dispatcher.
14437         * vc/vc-git.el (vc-compilation-mode): Declare.
14438         (vc-git-pull): Require vc-dispatcher.
14440         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
14442         * progmodes/octave.el (help-button-action): Declare.
14444         * shell.el (shell-directory-tracker): Output error as a message
14445         rather than just returning it as a string.
14446         (shell-process-pushd): Remove useless use of message.
14448         * dframe.el (dframe-timer-fn):
14449         * files.el (dir-locals-read-from-file):
14450         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
14451         (mpc-format):
14452         * reveal.el (reveal-post-command):
14453         * saveplace.el (load-save-place-alist-from-file):
14454         * shell.el (shell-resync-dirs):
14455         * w32-common-fns.el (x-get-selection-value):
14456         * emacs-lisp/copyright.el (copyright-find-copyright):
14457         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
14458         * emulation/tpu-edt.el (tpu-copy-keyfile):
14459         * play/bubbles.el (bubbles--mark-neighbourhood):
14460         * progmodes/executable.el
14461         (executable-make-buffer-file-executable-if-script-p):
14462         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
14464 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14466         Cleanup Eshell to rely less on dynamic scoping.
14467         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
14468         last-value, and ext-command here.  Bind `args' closer to `body'.
14469         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
14470         (eshell--args): Declare new dynamic var.
14471         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
14472         last-value, and ext-command.  Pass `args' to `body'.
14473         (eshell-process-args): Bind eshell--args.
14474         (eshell-set-option): Use eshell--args.
14475         * eshell/eshell.el (eshell): Use derived-mode-p.
14476         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
14477         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
14478         (eshell-glob-function): Declare.
14479         * eshell/esh-util.el: Require cl-lib.
14480         (eshell-read-hosts-file): Avoid add-to-list.
14481         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
14482         `err'.
14483         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
14484         Declare.
14485         (eshell/diff): Remove unused var `err'.
14486         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
14487         `killflag'.
14488         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
14489         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
14490         first use.
14491         * eshell/em-glob.el (eshell-glob-matches, message-shown):
14492         Move declaration before first use.
14493         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
14494         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
14495         rely on cl-return.
14497 2013-09-12  Glenn Morris  <rgm@gnu.org>
14499         * term/ns-win.el (global-map): Remove binding for ispell-next,
14500         deleted 1999-05-29.  (Bug#15357)
14502 2013-09-11  Glenn Morris  <rgm@gnu.org>
14504         * echistory.el (electric-command-history): Remove call to deleted func.
14506         * play/landmark.el (landmark-mode): Fix typos.
14508         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
14509         Check cvs-sort-ignore-file is bound.
14511         * savehist.el: No need for cl when compiling on Emacs.
14513 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14515         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
14516         (bug#15338).
14517         (eshell-self-insert-command, eshell-send-invisible):
14518         Remove unused argument.
14519         (eshell-handle-control-codes): Remove unused var `orig'.
14520         Avoid delete-backward-char.
14522         * files.el (set-auto-mode): Simplify a bit further.
14524 2013-09-11  Glenn Morris  <rgm@gnu.org>
14526         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
14527         (set-auto-mode): Don't regexp-quote elements.
14528         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
14529         * progmodes/cc-mode.el (interpreter-mode-alist):
14530         * progmodes/ruby-mode.el (interpreter-mode-alist):
14531         Revert previous change.
14533 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14535         * play/snake.el (snake-mode):
14536         * play/mpuz.el (mpuz-mode):
14537         * play/landmark.el (lm-mode):
14538         * play/blackbox.el (blackbox-mode):
14539         * play/5x5.el (5x5-mode):
14540         * obsolete/options.el (Edit-options-mode):
14541         * net/quickurl.el (quickurl-list-mode):
14542         * net/newst-treeview.el (newsticker-treeview-mode):
14543         * mail/rmailsum.el (rmail-summary-mode):
14544         * mail/mspools.el (mspools-mode):
14545         * locate.el (locate-mode):
14546         * ibuffer.el (ibuffer-mode):
14547         * emulation/ws-mode.el (wordstar-mode):
14548         * emacs-lisp/debug.el (debugger-mode):
14549         * array.el (array-mode):
14550         * net/eudc.el (eudc-mode): Use define-derived-mode.
14551         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
14552         Move initialization into declaration.
14553         (mairix-searches-mode): Use define-derived-mode.
14554         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
14555         (eudc-edit-hotlist): Use dolist.
14556         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
14557         (Man-mode): Use define-derived-mode.
14558         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
14559         (Info-edit-mode): Use define-derived-mode.
14560         (Info-cease-edit): Use Info-mode.
14561         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
14562         into declaration.
14563         (eshell-mode): Use define-derived-mode.
14564         * chistory.el (command-history-mode-map): Rename from
14565         command-history-map.
14566         (command-history-mode): Use define-derived-mode.
14567         (Command-history-setup): Remove function.
14568         * calc/calc.el (calc-trail-mode-map): New var.
14569         (calc-trail-mode): Use define-derived-mode.
14570         (calc-trail-buffer): Set calc-main-buffer manually.
14571         * bookmark.el (bookmark-insert-annotation): New function.
14572         (bookmark-edit-annotation): Use it.
14573         (bookmark-edit-annotation-mode): Make it a proper major mode.
14574         (bookmark-send-edited-annotation): Use derived-mode-p.
14575         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
14576         closer to its ideal place.  Use \' to match EOS.
14578         * profiler.el (profiler-calltree-find): Use function-equal.
14580 2013-09-10  Glenn Morris  <rgm@gnu.org>
14582         * files.el (interpreter-mode-alist): Convert to regexps.
14583         (set-auto-mode): Adapt for this.  (Bug#15306)
14584         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
14585         Comment out unused variable.
14586         * progmodes/cc-mode.el (interpreter-mode-alist):
14587         * progmodes/python.el (interpreter-mode-alist):
14588         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
14589         * progmodes/sh-script.el (sh-set-shell):
14590         No longer use interpreter-mode-alist to get list of shells.
14592         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
14594 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14596         * simple.el: Use set-temporary-overlay-map for universal-argument.
14597         (universal-argument-map): Don't use default-bindings (bug#15317).
14598         Bind switch-frame explicitly.  Replace universal-argument-minus with
14599         a conditional binding.
14600         (universal-argument-num-events, saved-overriding-map): Remove.
14601         (restore-overriding-map): Remove.
14602         (universal-argument--mode): Rename from save&set-overriding-map,
14603         and rewrite.
14604         (universal-argument, universal-argument-more, negative-argument)
14605         (digit-argument): Adjust accordingly.
14606         (universal-argument-minus): Remove.
14607         (universal-argument-other-key): Remove.
14609         * subr.el (with-demoted-errors): Add `format' argument.
14611 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
14613         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
14614         `tramp-cleanup-connection'.
14616         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
14617         parameters KEEP-DEBUG and KEEP-PASSWORD.
14619         * net/tramp.el (tramp-file-name-handler):
14620         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
14621         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14622         (tramp-maybe-open-connection):
14623         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
14624         Use `tramp-cleanup-connection'.
14626         * net/tramp-sh.el (tramp-maybe-open-connection):
14627         Catch 'uname-changed inside the progress reporter.
14629 2013-09-10  Glenn Morris  <rgm@gnu.org>
14631         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
14633         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
14634         returns "alternate access method" in mode (eg "-rw-r--r--.").
14636 2013-09-08  Glenn Morris  <rgm@gnu.org>
14638         * saveplace.el (load-save-place-alist-from-file):
14639         Demote errors.  (Bug#15305)
14641 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
14643         Improve compatibility with older Emacsen, and XEmacs.
14645         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
14646         only if it is bound.  It isn't for XEmacs.
14647         (with-tramp-progress-reporter): Do not let-bind `result'.
14648         This yields to scoping errors in XEmacs.
14649         (tramp-handle-make-auto-save-file-name): New function, moved from
14650         tramp-sh.el.
14652         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
14653         for `make-auto-save-file-name'.
14654         (tramp-adb--gnu-switches-to-ash):
14655         Use `tramp-compat-replace-regexp-in-string'.
14657         * net/tramp-cache.el (tramp-cache-print): Call
14658         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
14660         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
14661         bound.  It isn't for XEmacs.
14663         * net/tramp-compat.el (tramp-compat-copy-file):
14664         Catch `wrong-number-of-arguments' error.
14665         (tramp-compat-replace-regexp-in-string): New defun.
14667         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
14668         for `make-auto-save-file-name'.
14669         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
14670         `copy-file'.
14671         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
14672         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
14673         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
14675         * net/tramp-gw.el (tramp-gw-open-network-stream):
14676         Use `tramp-compat-replace-regexp-in-string'.
14678         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
14679         Call `tramp-handle-make-auto-save-file-name'.
14680         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
14681         (tramp-sh-file-gvfs-monitor-dir-process-filter)
14682         (tramp-sh-file-inotifywait-process-filter):
14683         Use `tramp-compat-replace-regexp-in-string'.
14684         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
14686         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
14687         for `make-auto-save-file-name'.
14688         (tramp-smb-handle-copy-directory):
14689         Call `tramp-compat-replace-regexp-in-string'.
14690         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
14691         (tramp-smb-handle-copy-file): Improve error message.
14692         (tramp-smb-handle-rename-file): Rename directly only in case
14693         `newname' does not exist yet.  This is a restriction of smbclient.
14694         (tramp-smb-maybe-open-connection): Rerun the function only when
14695         `auth-sources' is non-nil.
14697 2013-09-08  Kenichi Handa  <handa@gnu.org>
14699         * international/characters.el: Set category "^" (Combining) for
14700         more characters.
14702 2013-09-07  Alan Mackenzie  <acm@muc.de>
14704         Correctly fontify Java class constructors.
14705         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
14706         in Java Mode.
14707         (c-recognize-typeless-decls): Set the Java value to t.
14708         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14709         While handling a "(", add a check for, effectively, Java, and handle a
14710         "typeless" declaration there.
14712 2013-09-07  Roland Winkler  <winkler@gnu.org>
14714         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
14715         field subtitle for entry type book.
14717 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14719         * minibuffer.el: Make minibuffer-complete call completion-in-region
14720         rather than other way around.
14721         (completion--some, completion-pcm--find-all-completions):
14722         Don't delay signals when debugging.
14723         (minibuffer-completion-contents): Beware fields within the
14724         minibuffer contents.
14725         (completion-all-sorted-completions): Use defvar-local.
14726         (completion--do-completion, completion--cache-all-sorted-completions)
14727         (completion-all-sorted-completions, minibuffer-force-complete):
14728         Add args `beg' and `end'.
14729         (completion--in-region-1): New fun, extracted from minibuffer-complete.
14730         (minibuffer-complete): Use completion-in-region.
14731         (completion-complete-and-exit): New fun, extracted from
14732         minibuffer-complete-and-exit.
14733         (minibuffer-complete-and-exit): Use it.
14734         (completion--complete-and-exit): Rename from
14735         minibuffer--complete-and-exit.
14736         (completion-in-region--single-word): New function, extracted from
14737         minibuffer-complete-word.
14738         (minibuffer-complete-word): Use it.
14739         (display-completion-list): Make `common-substring' argument obsolete.
14740         (completion--in-region): Call completion--in-region-1 instead of
14741         minibuffer-complete.
14742         (completion-help-at-point): Pass boundaries to
14743         minibuffer-completion-help as args rather than via an overlay.
14744         (completion-pcm--string->pattern): Use `any-delim'.
14745         (completion-pcm--optimize-pattern): New function.
14746         (completion-pcm--pattern->regex): Handle `any-delim'.
14747         * icomplete.el (icomplete-forward-completions)
14748         (icomplete-backward-completions, icomplete-completions):
14749         Adjust calls to completion-all-sorted-completions and
14750         completion--cache-all-sorted-completions.
14751         (icomplete-with-completion-tables): Default to t.
14752         * emacs-lisp/crm.el (crm--current-element): Rename from
14753         crm--select-current-element.  Don't put an overlay but return the
14754         boundaries instead.
14755         (crm--completion-command): Take two new args to bind to the boundaries.
14756         (crm-completion-help): Adjust accordingly.
14757         (crm-complete): Use completion-in-region.
14758         (crm-complete-word): Use completion-in-region--single-word.
14759         (crm-complete-and-exit): Use completion-complete-and-exit.
14761 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14763         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
14764         than dynamically.
14766 2013-09-06  Juri Linkov  <juri@jurta.org>
14768         * info.el (Info-display-images-node): When image file doesn't exist
14769         display text version of the image if it's provided in the Info file.
14770         Otherwise, display the location of missing image from SRC attribute.
14771         Add help-echo text property from ALT attribute.  (Bug#15279)
14773 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14775         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
14776         (edit-abbrevs-mode): Use define-derived-mode.
14778         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
14779         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
14780         that it's defined.
14781         (epa-key-list-mode, epa-key-mode, epa-info-mode):
14782         Use define-derived-mode.
14784         * epg.el (epg-start-encrypt): Minor CSE simplification.
14786 2013-09-06  William Xu  <william.xwl@gmail.com>
14788         * arc-mode.el: Add support for 7za (bug#15264).
14789         (archive-7z-program): New var.
14790         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
14791         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
14792         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
14794 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
14796         Remove URL syntax.
14798         * net/tramp.el (tramp-syntax, tramp-prefix-format)
14799         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
14800         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
14801         (tramp-postfix-host-format, tramp-file-name-regexp)
14802         (tramp-completion-file-name-regexp)
14803         (tramp-completion-dissect-file-name)
14804         (tramp-handle-substitute-in-file-name): Remove 'url case.
14805         (tramp-file-name-regexp-url)
14806         (tramp-completion-file-name-regexp-url): Remove constants.
14808 2013-09-06  Glenn Morris  <rgm@gnu.org>
14810         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
14812 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
14814         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
14815         keywords" below "here-doc beginnings" (Bug#15270).
14817 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14819         * subr.el (pop): Use `car-safe'.
14820         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
14821         to detect unused `pop' return value.
14823         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
14824         var `block-regexp'.
14825         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
14826         (python-fill-string): Remove unused var `marker'.
14827         (python-skeleton-add-menu-items): Remove unused var `items'.
14829         * international/mule-cmds.el: Require CL.
14830         (find-coding-systems-for-charsets): Avoid add-to-list.
14831         (sanitize-coding-system-list): New function, extracted from
14832         select-safe-coding-system-interactively.
14833         (select-safe-coding-system-interactively): Use it.
14834         (read-input-method-name): Accept symbols for `default'.
14836         * emacs-lisp/advice.el (defadvice): Add indent rule.
14838 2013-09-05  Daniel Hackney  <dan@haxney.org>
14840         * dired-x.el:
14841         * net/ange-ftp.el:
14842         * net/browse-url.el:
14843         * net/dbus.el:
14844         * net/eudc.el:
14845         * net/eudcb-ldap.el:
14846         * net/eww.el:
14847         * net/imap.el:
14848         * printing.el:
14849         * vc/ediff-diff.el:
14850         * vc/ediff-init.el:
14851         * vc/ediff-merg.el:
14852         * vc/ediff-mult.el:
14853         * vc/ediff-util.el:
14854         * vc/ediff-wind.el:
14855         * vc/ediff.el:
14856         * vc/emerge.el:
14857         * vc/pcvs.el:
14858         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
14859         byte compiler.  Remove some unused let-bound variables.
14861 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14863         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
14864         a "ref-cell", since it gets better optimized (bug#14883).
14866 2013-09-05  Glenn Morris  <rgm@gnu.org>
14868         * progmodes/cc-awk.el (c-forward-sws): Declare.
14870 2013-09-04  Glenn Morris  <rgm@gnu.org>
14872         * generic-x.el [rul-generic-mode]: Require cc-mode.
14873         (c++-mode-syntax-table): Declare.
14874         (rul-generic-mode-syntax-table): Init in the defvar.
14876 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14878         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
14879         (vc-do-command, vc-set-async-update):
14880         * vc/vc-mtn.el (vc-mtn-dir-status):
14881         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
14882         (vc-hg-pull, vc-hg-merge-branch):
14883         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
14884         (vc-git-merge-branch):
14885         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
14886         (vc-cvs-dir-status-files):
14887         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
14888         (vc-bzr-dir-status-files):
14889         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
14890         * vc/vc-annotate.el: Use lexical-binding.
14891         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
14892         (vc-sentinel-movepoint): Declare.
14893         (vc-annotate): Don't use `goto-line'.
14894         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
14895         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
14896         (vc-sentinel-movepoint): Declare.
14897         * vc/vc-svn.el: Use lexical-binding.
14898         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
14899         * vc/vc-sccs.el:
14900         * vc/vc-rcs.el: Use lexical-binding.
14902         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
14903         `deleted'.  Don't drop errors silently.
14905         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
14907 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
14909         * vc/vc.el (vc-ignore): Rewrite.
14910         (vc-default-ignore): New function.
14911         (vc-default-ignore-completion-table): Use find-ignore-file.
14913         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
14914         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
14915         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
14916         Remove.  Most code moved to vc.el.
14918 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14920         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
14921         * net/tramp-smb.el (tramp-smb-get-file-entries):
14922         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
14923         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
14925         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
14926         Update call to it.
14927         (eww-change-select): Remove unused var `properties'.
14928         (eww-make-unique-file-name): Remove unused var `base'.
14930         * finder.el (finder-compile-keywords): Don't mess with windows.
14932         * calculator.el (calculator-funcall): Fix typo in last change.
14934         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
14936         * emacs-lisp/package.el (package-activate-1): Don't let a missing
14937         <pkg>-autoloads.el file stop us.
14939         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14940         warnings, and factor out common code.
14942 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
14944         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
14945         two-character operators and whether the character preceding them
14946         changes their meaning (Bug#15208).
14948 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14950         Format code sent to Python shell for robustness.
14951         * progmodes/python.el (python-shell-buffer-substring):
14952         New function.
14953         (python-shell-send-region, python-shell-send-buffer): Use it.
14955 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
14957         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
14958         * net/tramp.el (tramp-user-error): ... here.
14959         (tramp-find-method, tramp-check-proper-host)
14960         (tramp-dissect-file-name, tramp-debug-message)
14961         (tramp-handle-shell-command):
14962         * net/tramp-adb.el (tramp-adb-handle-shell-command):
14963         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
14965         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
14967 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
14969         * avoid.el (mouse-avoidance-point-position)
14970         (mouse-avoidance-too-close-p): Handle case where posn-at-point
14971         returns nil.
14973 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14975         * progmodes/python.el (python-shell-completion-get-completions):
14976         Drop use of deleted `comint-last-prompt-overlay'.
14977         (python-nav-if-name-main): New command.
14979 2013-09-01  Glenn Morris  <rgm@gnu.org>
14981         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
14982         Avoid leading space in $wins.  Otherwise the sed command used by
14983         eg compile-main ends up containing "/*.el".  (Bug#15170)
14985         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
14987 2013-08-30  Glenn Morris  <rgm@gnu.org>
14989         * emacs-lisp/bytecomp.el (byte-recompile-directory):
14990         Fix is-this-a-directory logic.  (Bug#15220)
14992 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14994         * textmodes/css-mode.el: Use SMIE.
14995         (css-smie-grammar): New var.
14996         (css-smie--forward-token, css-smie--backward-token)
14997         (css-smie-rules): New functions.
14998         (css-mode): Use them.
14999         (css-navigation-syntax-table): Remove var.
15000         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
15001         (css-indent-calculate, css-indent-line): Remove functions.
15003         Misc changes to reduce use of `(lambda...); and other cleanups.
15004         * cus-edit.el: Use lexical-binding.
15005         (customize-push-and-save, customize-apropos)
15006         (custom-buffer-create-internal): Use closures.
15007         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
15008         * progmodes/ada-xref.el: Use setq.
15009         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
15010         * dframe.el: Use lexical-binding.
15011         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
15012         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
15013         * descr-text.el: Use lexical-binding.
15014         (describe-text-widget, describe-text-sexp, describe-property-list):
15015         Use closures.
15016         * comint.el (comint-history-isearch-push-state): Use a closure.
15017         * calculator.el: Use lexical-binding.
15018         (calculator-number-to-string): Make it work with lexical-binding.
15019         (calculator-funcall): Same and use cl-letf.
15021         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
15022         (lisp--company-doc-string, lisp--company-location): New functions.
15023         (lisp-completion-at-point): Use them to improve Company support.
15025         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
15026         params of lambda expressions.
15027         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
15028         (ruby-smie--opening-pipe-p): New function.
15029         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
15030         symbols and matched |...| for formal params.
15031         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
15032         from being treated as hanging.  Handle "rescue".
15034 2013-08-29  Glenn Morris  <rgm@gnu.org>
15036         * progmodes/cc-engine.el (c-pull-open-brace):
15037         Move definition before use.
15039 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15041         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
15042         are immutable.  Don't use `unsafe' any more.
15043         (cl--defsubst-expand): Don't substitute at the same time as keeping
15044         a residual unused let-binding.  Don't use `unsafe' any more.
15046 2013-08-29  Glenn Morris  <rgm@gnu.org>
15048         * calendar/cal-china.el (calendar-chinese-year-cache):
15049         Recenter on 2015.
15051         * nxml/nxml-util.el (nxml-debug-clear-inside):
15052         Use cl-loop rather than loop.
15054         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
15056         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
15058 2013-08-28  Glenn Morris  <rgm@gnu.org>
15060         * progmodes/antlr-mode.el: No need to require cc-mode twice.
15062         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
15064         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
15066 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15068         * simple.el (repeat-complex-command--called-interactively-skip):
15069         New function.
15070         (repeat-complex-command): Use it (bug#14136).
15072         * progmodes/cc-mode.el: Minor cleanup of var declarations.
15073         (c-define-abbrev-table): Add `doc' argument.
15074         (c-mode-abbrev-table, c++-mode-abbrev-table)
15075         (objc-mode-abbrev-table, java-mode-abbrev-table)
15076         (idl-mode-abbrev-table, pike-mode-abbrev-table)
15077         (awk-mode-abbrev-table): Use it.
15078         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
15079         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
15080         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
15081         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
15082         Move initialization into the declaration; and remove any
15083         autoload cookie.
15085         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
15086         and dynamic let binding.
15088         * vc/smerge-mode.el: Remove redundant :group args.
15090         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
15091         to load-path.
15093 2013-08-28  Juri Linkov  <juri@jurta.org>
15095         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
15096         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
15097         (isearch-other-meta-char): Handle an undefined shifted printing
15098         character by downshifting it.  (Bug#15200)
15100 2013-08-28  Juri Linkov  <juri@jurta.org>
15102         * isearch.el (isearch-search): Change regexp error message for
15103         non-regexp searches.  (Bug#15166)
15105 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
15107         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
15108         for portability to hosts where /bin/sh has problems.
15110 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15112         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
15114 2013-08-27  Juri Linkov  <juri@jurta.org>
15116         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
15117         in the keyboard macro.  (Bug#15126)
15119 2013-08-27  Juri Linkov  <juri@jurta.org>
15121         * isearch.el (isearch-quote-char): Comment out converting unibyte
15122         to multibyte, thus syncing with its `quoted-insert' counterpart.
15123         (Bug#15166)
15125 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
15127         * window.el (display-buffer-use-some-window): Add missing
15128         argument in call of get-largest-window (Bug#15185).
15129         Reported by Stephen Leake.
15131 2013-08-27  Glenn Morris  <rgm@gnu.org>
15133         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
15135 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15137         * progmodes/python.el (python-font-lock-keywords): Don't return nil
15138         from a matcher-function unless there's no more matches (bug#15161).
15140 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
15142         * minibuffer.el: Revert change from 2013-08-20.
15144         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
15145         with text property `tramp-default', if appropriate.
15146         (tramp-check-proper-host): New defun.
15147         (tramp-dissect-file-name): Do not check hostname.  Revert change
15148         of 2013-03-18.
15149         (tramp-backtrace): Make VEC-OR-PROC optional.
15151         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
15152         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
15153         * net/tramp-sh.el (tramp-maybe-open-connection):
15154         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
15155         Apply `tramp-check-proper-host'.
15157 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
15159         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
15160         lambda expression in order to have `describe-variable' display it.
15162 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
15164         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
15165         BUF can be optional.  (Bug#15186)
15167 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
15169         * progmodes/flymake.el (flymake-get-real-file-name-function):
15170         Fix broken customization.  (Bug#15184)
15172 2013-08-25  Alan Mackenzie  <acm@muc.de>
15174         Improve indentation of bracelists defined by macros (without "=").
15176         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
15177         expansion begins with "{", regard it as bracelist when it doesn't
15178         contain a ";".
15180         Parse C++ inher-intro when there's a template split over 2 lines.
15182         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
15183         rigorously the search for "class" etc. followed by ":".
15185         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
15186         random languages a regexp which never matches rather than nil.
15188         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
15190         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
15191         (c-awk-regexp-one-line-possibly-open-char-list-re)
15192         (c-awk-one-line-possibly-open-regexp-re)
15193         (c-awk-one-line-non-syn-ws*-re): Remove.
15194         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
15195         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
15196         (c-awk-space*-unclosed-regexp-/-re): New constants.
15197         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
15198         aren't regexp delimiters.
15200         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
15201         handling for a rare situation in AWK Mode involving unterminated
15202         strings/regexps.
15204 2013-08-23  Glenn Morris  <rgm@gnu.org>
15206         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
15208         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
15210         * files.el (create-file-buffer): If the result would begin with
15211         spaces, prepend a "|" instead of removing them.  (Bug#15162)
15213 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15215         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
15216         text-properties (bug#15155).
15218         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
15219         exist any more.
15220         (calc-keypad-redraw): Remove unused var `pad'.
15221         (calc-keypad-press): Remove unused var `menu'.
15223 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
15225         * window.el (display-buffer-pop-up-frame):
15226         Call pop-up-frame-function with BUFFER current so `make-frame' will
15227         use it as the new frame's buffer (Bug#15133).
15229 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15231         * calendar/timeclock.el: Minor cleanups.
15232         (timeclock-ask-before-exiting, timeclock-use-display-time):
15233         Use `symbol'.
15234         (timeclock-modeline-display): Define as alias before the
15235         actual definition.
15236         (timeclock-mode-line-display): Use define-minor-mode.
15237         (timeclock-day-list-template): Make it a function, add an argument.
15238         (timeclock-day-list-required, timeclock-day-list-length)
15239         (timeclock-day-list-debt, timeclock-day-list-span)
15240         (timeclock-day-list-break): Adjust calls accordingly.
15242 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15244         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
15245         Use read--expression so that completion works again.
15247 2013-08-21  Sam Steingold  <sds@gnu.org>
15249         Add rudimentary inferior shell interaction
15250         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
15251         (sh-set-shell): Reset it.
15252         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
15253         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
15255 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15257         * align.el: Use lexical-binding.
15258         (align-region): Simplify accordingly.
15260 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
15262         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
15264         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
15265         `non-essential' up.
15267 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
15269         * net/tramp.el:
15270         * net/tramp-adb.el:
15271         * net/tramp-cmds.el:
15272         * net/tramp-ftp.el:
15273         * net/tramp-gvfs.el:
15274         * net/tramp-gw.el:
15275         * net/tramp-sh.el: Don't wrap external variable declarations by
15276         `eval-when-compile'.
15278 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15280         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
15281         now that Emacs supports ImageMagick animations.
15283 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
15285         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
15286         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
15288 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
15290         * window.el (mouse-autoselect-window-select): Do autoselect when
15291         mouse pointer is on margin.
15293 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
15295         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
15297 2013-08-16  Glenn Morris  <rgm@gnu.org>
15299         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
15300         Handle "Remote Directory" response of some clients.  (Bug#15058)
15302         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
15303         Tweak warning.  (Bug#14926)
15305         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
15306         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
15308         * image-mode.el (image-mode-map): Add menu items to reverse,
15309         increase, decrease, reset animation speed.
15310         (image--set-speed, image-increase-speed, image-decrease-speed)
15311         (image-reverse-speed, image-reset-speed): New functions.
15312         (image-mode-map): Add bindings for speed commands.
15314         * image.el (image-animate-get-speed, image-animate-set-speed):
15315         New functions.
15316         (image-animate-timeout): Respect image :speed property.
15318 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15320         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
15321         previous line (bug#15101).
15322         (debugger-eval-expression, debugger-record-expression):
15323         Use read--expression (bug#15102).
15325 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
15327         Remove byte compiler warnings, visible when compiling with
15328         `byte-compile-force-lexical-warnings' set to t.
15330         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
15331         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
15332         (tramp-handle-unhandled-file-name-directory)
15333         (tramp-handle-file-notify-add-watch, tramp-action-login)
15334         (tramp-action-succeed, tramp-action-permission-denied)
15335         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
15336         arguments with "_".
15338         * net/tramp-adb.el (tramp-adb-parse-device-names)
15339         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
15340         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
15341         (tramp-adb-handle-file-truename): Remove unused arguments.
15343         * net/tramp-cache.el (tramp-flush-directory-property)
15344         (tramp-flush-connection-property, tramp-list-connections)
15345         (tramp-parse-connection-properties): Prefix unused arguments with "_".
15347         * net/tramp-compat.el (tramp-compat-make-temp-file):
15348         Rename FILENAME to F.
15350         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
15351         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
15352         (tramp-zeroconf-parse-workstation-device-names)
15353         (tramp-zeroconf-parse-webdav-device-names)
15354         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
15356         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
15357         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
15359         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
15360         arguments.
15361         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
15362         (tramp-sh-handle-insert-file-contents-literally)
15363         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
15364         with "_".
15365         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
15366         Remove unused variables.
15368         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15369         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
15370         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
15372         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
15373         Make them a defconst.
15374         (tramp-uuencode-region): Remove unused variable.
15376 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
15378         * frameset.el (frameset--prop-setter): New function.
15379         (frameset-prop): Add gv-setter declaration.
15380         (frameset-filter-minibuffer): Deal with the case that the minibuffer
15381         parameter was already set in FILTERED.  Doc fix.
15382         (frameset--record-minibuffer-relationships): Allow saving a
15383         minibufferless frame without its corresponding minibuffer frame.
15384         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
15385         frame, if the frame id matches.
15386         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
15387         frames before orphaned ones.
15388         (frameset-restore): Warn about orphaned windows, instead of error out.
15390 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
15392         * window.el (window-make-atom): Don't overwrite parameter
15393         already present.
15394         (display-buffer-in-atom-window): Handle special case where we
15395         split an already atomic window.
15396         (window--major-non-side-window, display-buffer-in-side-window)
15397         (window--side-check): Ignore minibuffer window when walking
15398         window tree.
15399         (window-deletable-p): Return 'frame only if no other frame uses
15400         our minibuffer window.
15401         (record-window-buffer): Run buffer-list-update-hook.
15402         (split-window): Make sure window--check-frame won't destroy an
15403         existing atomic window in case the new window gets nested
15404         inside.
15405         (display-buffer-at-bottom): Ignore minibuffer window when
15406         walking window tree.  Don't split a side window.
15407         (pop-to-buffer): Don't set-buffer here, the select-window call
15408         should do that.
15409         (mouse-autoselect-window-select): Autoselect only if we are in the
15410         text portion of the window.
15412 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15414         * net/shr.el (shr-parse-image-data): New function to grab both the
15415         data itself and the Content-Type.
15416         (shr-put-image): Use it.
15418         * net/eww.el (eww-display-image): Ditto.
15420         * image.el (image-content-type-suffixes): New variable.
15422 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15424         * progmodes/python.el (python-imenu--build-tree)
15425         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
15427 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
15429         * simple.el (backward-word): Mention the optional argument.
15431 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15433         * frameset.el (frameset--make): Rename constructor from make-frameset.
15434         (frameset-p, frameset-valid-p): Don't autoload.
15435         (frameset-valid-p): Use normal accessors.
15437 2013-08-13  Glenn Morris  <rgm@gnu.org>
15439         * progmodes/compile.el (compile-command): Tweak example in doc.
15440         * obsolete/scribe.el (scribe-mode):
15441         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
15443         * mail/feedmail.el (feedmail-confirm-outgoing)
15444         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
15446         * cus-start.el (truncate-partial-width-windows): Fix type.
15448         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
15450         * net/shr.el (shr-table-horizontal-line): Fix custom type.
15452 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15454         * emacs-lisp/timer.el (timer--time-setter): New function.
15455         (timer--time): Use it as gv-setter.
15457         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
15458         setter is not a symbol.
15460 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
15462         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
15463         if sending fails.  This makes debugging easier.
15465 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
15467         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
15468         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
15469         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
15471 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
15473         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
15475 2013-08-12  Glenn Morris  <rgm@gnu.org>
15477         * format.el (format-annotate-function):
15478         Handle read-only text properties in the source.  (Bug#14887)
15480 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15482         * net/eww.el (eww-display-html): Ignore coding system errors.
15483         One web site uses "utf-8lias" as the coding system.
15485 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
15487         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
15489 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
15491         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
15492         (tutorial--detailed-help): Remove unused local variables.
15493         (tutorial--save-tutorial-to): Use ignore-errors.
15494         (help-with-tutorial): Use looking-at-p.
15496         * view.el (view-buffer-other-window, view-buffer-other-frame):
15497         Mark unused arguments.
15499         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
15500         (woman-select-symbol-fonts, woman, woman-find-file)
15501         (woman-insert-file-contents, woman-non-underline-faces):
15502         Use string-match-p.
15503         (woman1-unquote): Move declaration.
15505         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
15506         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
15507         argument.  Remove unused local variable.
15508         (xml-parse-elem-type): Use string-match-p.
15509         (xml-substitute-numeric-entities): Use ignore-errors.
15511         * calculator.el (calculator): Mark unused argument.
15512         (calculator-paste, calculator-quit, calculator-integer-p):
15513         Use ignore-errors.
15514         (calculator-string-to-number, calculator-decimal, calculator-exp)
15515         (calculator-op-or-exp): Use string-match-p.
15517         * dired.el (dired-buffer-more-recently-used-p): Declare.
15518         (dired-insert-set-properties, dired-insert-old-subdirs):
15519         Use ignore-errors.
15521         * dired-aux.el (dired-compress): Use ignore-errors.
15522         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
15523         (dired-do-async-shell-command, dired-do-shell-command)
15524         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
15525         (dired-insert-subdir-validate): Use string-match-p.
15526         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
15527         (dired-add-entry): Use string-match-p, looking-at-p.
15528         (dired-insert-subdir-newpos): Remove unused local variable.
15530         * filenotify.el (file-notify-callback): Remove unused local variable.
15532         * filesets.el (filesets-error): Mark unused argument.
15533         (filesets-which-command-p, filesets-filter-dir-names)
15534         (filesets-directory-files, filesets-get-external-viewer)
15535         (filesets-ingroup-get-data): Use string-match-p.
15537         * find-file.el (ff-other-file-name, ff-other-file-name)
15538         (ff-find-the-other-file, ff-cc-hh-converter):
15539         Remove unused local variables.
15540         (ff-get-file-name): Use string-match-p.
15541         (ff-all-dirs-under): Use ignore-errors.
15543         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
15544         (follow-select-if-visible): Remove unused local variable.
15546         * forms.el (read-file-filter): Move declaration.
15547         (forms--make-format, forms--make-parser, forms-insert-record):
15548         Quote function with #'.
15549         (forms--update): Use string-match-p.  Quote function with #'.
15551         * help-mode.el (help-dir-local-var-def): Mark unused argument.
15552         (help-make-xrefs): Use looking-at-p.
15553         (help-xref-on-pp): Use looking-at-p, ignore-errors.
15555         * ibuffer.el (ibuffer-ext-visible-p): Declare.
15556         (ibuffer-confirm-operation-on): Use string-match-p.
15558         * msb.el (msb-item-handler, msb-dired-item-handler):
15559         Mark unused arguments.
15561         * ses.el (ses-decode-cell-symbol)
15562         (ses-kill-override): Remove unused local variable.
15563         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
15564         (ses-load): Use ignore-errors, looking-at-p.
15565         (ses-jump-safe): Use ignore-errors.
15566         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
15568         * tabify.el (untabify, tabify): Mark unused arguments.
15570         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
15571         Mark unused argument.
15572         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
15573         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
15575         * emacs-lisp/timer.el (timer--time): Define setter with
15576         gv-define-setter to avoid deprecation warning.
15578         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
15579         (*record-cmpl-statistics-p*): Remove (was commented out).
15580         (cmpl-statistics-block): Remove (body was commented out).
15581         All callers changed.
15582         (add-completions-from-buffer, load-completions-from-file):
15583         Remove unused variables.
15585 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
15587         * filecache.el (file-cache-delete-file-list):
15588         Print message only when told so.
15589         (file-cache-files-matching): Use #' in mapconcat argument.
15591         * ffap.el (ffap-url-at-point): Fix reference to variable
15592         thing-at-point-default-mail-uri-scheme.
15594 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
15596         * subr.el (define-error): New function.
15597         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
15598         error-file-not-found and define with define-error.
15599         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
15600         and define with define-error.
15601         * userlock.el (file-locked, file-supersession):
15602         * simple.el (mark-inactive):
15603         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
15604         * progmodes/ada-mode.el (ada-mode-errors):
15605         * play/life.el (life-extinct):
15606         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
15607         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
15608         * nxml/rng-util.el (rng-error):
15609         * nxml/rng-uri.el (rng-uri-error):
15610         * nxml/rng-match.el (rng-compile-error):
15611         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
15612         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
15613         * nxml/nxml-rap.el (nxml-scan-error):
15614         * nxml/nxml-outln.el (nxml-outline-error):
15615         * net/soap-client.el (soap-error):
15616         * net/gnutls.el (gnutls-error):
15617         * net/ange-ftp.el (ftp-error):
15618         * mpc.el (mpc-proc-error):
15619         * json.el (json-error, json-readtable-error, json-unknown-keyword)
15620         (json-number-format, json-string-escape, json-string-format)
15621         (json-key-format, json-object-format):
15622         * jka-compr.el (compression-error):
15623         * international/quail.el (quail-error):
15624         * international/kkc.el (kkc-error):
15625         * emacs-lisp/ert.el (ert-test-failed):
15626         * calc/calc.el (calc-error, inexact-result, math-overflow)
15627         (math-underflow):
15628         * bookmark.el (bookmark-error-no-filename):
15629         * epg.el (epg-error): Define with define-error.
15631         * time.el (display-time-event-handler)
15632         (display-time-next-load-average): Don't call sit-for since it seems
15633         unnecessary (bug#15045).
15635         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
15636         Use #' instead of ' to quote functions.
15637         (checkdoc-output-mode): Use setq-local.
15638         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
15639         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
15640         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
15641         (checkdoc-ispell, checkdoc-ispell-current-buffer)
15642         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
15643         (checkdoc-ispell-message-text, checkdoc-ispell-start)
15644         (checkdoc-ispell-continue, checkdoc-ispell-comments)
15645         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
15647         * ido.el (ido-completion-help): Fix up compiler warning.
15649 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
15651         * frameset.el (frameset-p): Add autoload cookie.
15652         (frameset--jump-to-register): New function, based on code moved from
15653         register.el.
15654         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
15656         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
15657         (frameset-restore, frameset-save, frameset-session-filter-alist):
15658         Remove declarations.
15659         (register-alist): Doc fix.
15660         (frameset-to-register): Move to frameset.el.
15661         (jump-to-register, describe-register-1): Remove frameset-specific code.
15663 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
15665         * allout-widgets.el (allout-widgets-pre-command-business)
15666         (allout-widgets-post-command-business)
15667         (allout-widgets-after-change-handler)
15668         (allout-decorate-item-and-context, allout-set-boundary-marker)
15669         (allout-body-modification-handler)
15670         (allout-graphics-modification-handler): Mark ignored arguments.
15671         (allout-widgets-post-command-business)
15672         (allout-widgets-exposure-change-processor)
15673         (allout-widgets-exposure-undo-processor)
15674         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
15675         (allout-parse-item-at-point, allout-decorate-item-guides)
15676         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
15677         * allout.el (epa-passphrase-callback-function): Declare.
15678         (allout-overlay-insert-in-front-handler)
15679         (allout-overlay-interior-modification-handler)
15680         (allout-isearch-end-handler, allout-chart-siblings)
15681         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
15682         (allout-yank-processing, allout-process-exposed)
15683         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
15684         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
15685         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
15686         (lisp-indent-defform): Mark ignored arguments.
15687         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
15688         (calculate-lisp-indent): Remove unused variables.
15689         * international/characters.el (indian-2-column, arabic-2-column)
15690         (tibetan): Mark ignored arguments.
15691         (use-cjk-char-width-table): Mark ignored arguments.
15692         Remove unused variables.
15693         * international/fontset.el (build-default-fontset-data)
15694         (x-compose-font-name, create-fontset-from-fontset-spec):
15695         Mark ignored arguments.
15696         (fontset-plain-name): Remove unused variables.
15697         * international/mule.el (charset-id, charset-bytes, generic-char-p)
15698         (keyboard-coding-system): Mark ignored arguments.
15699         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
15700         * help.el (resize-temp-buffer-window):
15701         * window.el (display-buffer-in-major-side-window)
15702         (display-buffer-in-side-window, display-buffer-in-previous-window):
15703         Remove unused variables.
15704         * isearch.el (isearch-forward-symbol):
15705         * version.el (emacs-bzr-version-bzr):
15706         * international/mule-cmds.el (current-language-environment):
15707         * term/common-win.el (x-handle-iconic, x-handle-geometry)
15708         (x-handle-display):
15709         * term/pc-win.el (x-list-fonts, x-display-planes)
15710         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
15711         (x-server-version, x-display-screens, x-display-mm-height)
15712         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
15713         (x-selection-owner-p, x-own-selection-internal)
15714         (x-disown-selection-internal, x-get-selection-internal)
15715         (msdos-initialize-window-system):
15716         * term/tty-colors.el (tty-color-alist, tty-color-clear):
15717         * term/x-win.el (x-handle-no-bitmap-icon):
15718         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
15719         (vc-default-find-file-hook, vc-default-extra-menu):
15720         Mark ignored arguments.
15722 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15724         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
15725         break-condition in the context of the debugged code (bug#12685).
15727 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
15729         * comint.el:
15730         Do not use an overlay to highlight the last prompt.  (Bug#14744)
15731         (comint-mode): Make comint-last-prompt buffer local.
15732         (comint-last-prompt): New variable.
15733         (comint-last-prompt-overlay): Remove.  Superseded by
15734         comint-last-prompt.
15735         (comint-snapshot-last-prompt, comint-output-filter):
15736         Use comint-last-prompt.
15738 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
15740         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
15741         (frameset-save): Check validity of the resulting frameset.
15743 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
15745         * ido.el (ido-record-command): Add doc string.
15747 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
15749         * frameset.el (frameset): Do not disable creation of the default
15750         frameset-p predicate.  Doc fix.
15751         (frameset-valid-p): New function, copied from the old predicate-p.
15752         Add additional checks.
15753         (frameset-restore): Check with frameset-valid-p.
15754         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
15755         (frameset-name, frameset-description, frameset-properties)
15756         (frameset-states): Add docstring.
15757         (frameset-session-filter-alist, frameset-persistent-filter-alist)
15758         (frameset-filter-alist): Doc fixes.
15760 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
15762         * frameset.el (frameset-p, frameset-prop): Doc fixes.
15764 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15766         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
15767         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
15768         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
15769         (byte-compile-normal-call): Remove obsolescence check.
15771 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
15773         * frameset.el (frameset-restore): Doc fix.
15775         * register.el (frameset-frame-id, frameset-frame-with-id)
15776         (frameset-p, frameset-restore, frameset-save): Declare.
15777         (register-alist): Document framesets.
15778         (frameset-session-filter-alist): Declare.
15779         (frameset-to-register): New function.
15780         (jump-to-register): Implement jumping to framesets.  Doc fix.
15781         (describe-register-1): Describe framesets.
15783         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
15785 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
15787         * desktop.el (desktop-save-frameset): Use new frameset-save args.
15788         Use lexical-binding.
15790         * frameset.el (frameset): Use type vector, not list (incompatible
15791         change).  Do not declare a new constructor, use the default one.
15792         Upgrade suggested properties `app', `name' and `desc' to slots `app',
15793         `name' and `description', respectively, and add read-only slot
15794         `timestamp'.  Doc fixes.
15795         (frameset-copy, frameset-persistent-filter-alist)
15796         (frameset-filter-alist, frameset-switch-to-gui-p)
15797         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
15798         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
15799         (frameset-filter-iconified, frameset-keep-original-display-p):
15800         Doc fixes.
15801         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
15802         Rename from frameset-filter-(save|restore)-param.  All callers changed.
15803         Doc fix.
15804         (frameset-p): Adapt to change to vector and be more thorough.
15805         Change arg name to OBJECT.  Doc fix.
15806         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
15807         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
15808         All callers changed.
15809         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
15810         All callers changed.
15811         (frameset--record-minibuffer-relationships): Rename from
15812         frameset--process-minibuffer-frames.  All callers changed.
15813         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
15814         Use new default constructor (again).  Doc fix.
15815         (frameset--find-frame-if): Rename from `frameset--find-frame'.
15816         All callers changed.
15817         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
15818         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
15819         Doc fix.
15820         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
15821         PARAMETERS and WINDOW-STATE, respectively.
15822         (frameset-restore): Add new keyword argument PREDICATE.
15823         Reset frameset--target-display to nil.  Doc fix.
15825 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15827         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
15828         (bat-mode): Use it.
15829         (bat-mode-syntax-table): Mark \n as end-of-comment.
15830         (bat-font-lock-keywords): Remove comment rule.
15832         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
15833         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
15835         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
15836         (byte-compile-callargs-warn): Use `push'.
15837         (byte-compile-arglist-warn): Ignore higher-order "calls".
15838         (byte-compile-file-form-autoload): Use `pcase'.
15839         (byte-compile-function-form): If quoting a symbol, check that it exists.
15841 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
15843         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
15844         and add a few popular commands found in batch files.
15845         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
15846         (dos-mode): Doc fixes.
15848 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15850         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
15851         (dos-mode): Use setq-local.  Add space after "rem".
15852         (dos-mode-syntax-table): Don't use "w" for symbol chars.
15853         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
15855 2013-08-07  Arni Magnusson  <arnima@hafro.is>
15857         * progmodes/dos.el: New file.
15858         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
15859         dos-mode.
15861 2013-08-06  Glenn Morris  <rgm@gnu.org>
15863         * calendar/calendar.el: Add new faces, and day-header-array.
15864         (calendar-weekday-header, calendar-weekend-header)
15865         (calendar-month-header): New faces.
15866         (calendar-day-header-construct): New function.
15867         (calendar-day-header-width): Also :set calendar-day-header-array.
15868         (calendar-american-month-header, calendar-european-month-header)
15869         (calendar-iso-month-header): Use calendar- faces.
15870         (calendar-generate-month):
15871         Use calendar-day-header-array for day headers; apply faces to them.
15872         (calendar-mode): Check calendar-font-lock-keywords non-nil.
15873         (calendar-abbrev-construct): Add optional maxlen argument.
15874         (calendar-day-name-array): Doc fix.
15875         (calendar-day-name-array, calendar-abbrev-length)
15876         (calendar-day-abbrev-array):
15877         Also :set calendar-day-header-array, and maybe redraw.
15878         (calendar-day-header-array): New option.  (Bug#15007)
15879         (calendar-font-lock-keywords): Set to nil and make obsolete.
15880         (calendar-day-name): Add option to use header array.
15882 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15884         * net/shr.el (shr-render-td): Remove debugging.
15885         (shr-render-td): Make width computation consistent by defaulting
15886         all zero-width columns to 10 characters.  This may not be optimal,
15887         but it's at least consistent.
15888         (shr-make-table-1): Redo last change to fix the real problem in
15889         colspan handling.
15891 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
15893         * files.el (cache-long-line-scans):
15894         Make obsolete alias to `cache-long-scans'.
15896 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
15898         * frameset.el (frameset, frameset-filter-alist)
15899         (frameset-filter-params, frameset-save, frameset--reuse-frame)
15900         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
15901         (frameset-compute-pos): Rename from frameset--compute-pos,
15902         and add docstring.
15903         (frameset-move-onscreen): Use frameset-compute-pos.
15904         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
15906         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
15907         Fix typos in docstrings.
15909 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
15911         * frame.el (get-other-frame): Tiny cleanup.
15913 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
15915         * vc/vc.el (vc-default-ignore-completion-table):
15916         Silence byte-compiler warning.
15918         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
15919         slot, which can indeed be nil.
15920         (frameset-live-filter-alist, frameset-persistent-filter-alist):
15921         Move entry for `left' from persistent to live filter alist.
15922         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
15923         Doc fixes.
15924         (frameset-filter-params): When restoring a frame, copy items added to
15925         `filtered', to avoid unwittingly modifying the original parameters.
15926         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
15927         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
15929         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
15930         to use looking-at-p instead of looking-at.  (Bug#15028)
15932 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15934         Revert introduction of isearch-filter-predicates (bug#14714).
15935         Rely on add-function instead.
15936         * isearch.el (isearch-filter-predicates): Rename it back to
15937         isearch-filter-predicate.
15938         (isearch-message-prefix): Use advice-function-mapc and advice
15939         properties to get the isearch-message-prefix.
15940         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
15941         instead of run-hook-with-args-until-failure.
15942         (isearch-filter-visible): Not obsolete any more.
15943         * loadup.el: Preload nadvice.
15944         * replace.el (perform-replace): Revert to funcall
15945         instead of run-hook-with-args-until-failure.
15946         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
15947         * dired-aux.el (dired-isearch-filenames-mode): Rename from
15948         dired-isearch-filenames-toggle; make it into a proper minor mode.
15949         Use add/remove-function.
15950         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
15951         Call the minor-mode rather than add/remove-hook.
15952         (dired-isearch-filter-filenames):
15953         Remove isearch-message-prefix property.
15954         * info.el (Info--search-loop): New function, extracted from Info-search.
15955         Funcall isearch-filter-predicate instead of
15956         run-hook-with-args-until-failure isearch-filter-predicates.
15957         (Info-search): Use it.
15958         (Info-mode): Use isearch-filter-predicate instead of
15959         isearch-filter-predicates.
15961 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
15963         Do not call to `selected-window' where it is assumed by default.
15964         Affected functions are `window-minibuffer-p', `window-dedicated-p',
15965         `window-hscroll', `window-width', `window-height', `window-buffer',
15966         `window-frame', `window-start', `window-point', `next-window'
15967         and `window-display-table'.
15968         * abbrev.el (abbrev--default-expand):
15969         * bs.el (bs--show-with-configuration):
15970         * buff-menu.el (Buffer-menu-mouse-select):
15971         * calc/calc.el (calc):
15972         * calendar/calendar.el (calendar-generate-window):
15973         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
15974         (diary-make-entry):
15975         * comint.el (send-invisible, comint-dynamic-complete-filename)
15976         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
15977         * completion.el (complete):
15978         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
15979         * disp-table.el (describe-current-display-table):
15980         * doc-view.el (doc-view-insert-image):
15981         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
15982         * ehelp.el (with-electric-help):
15983         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15984         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
15985         * emacs-lisp/helper.el (Helper-help-scroller):
15986         * emulation/cua-base.el (cua--post-command-handler-1):
15987         * eshell/esh-mode.el (eshell-output-filter):
15988         * ffap.el (ffap-gnus-wrapper):
15989         * help-macro.el (make-help-screen):
15990         * hilit-chg.el (highlight-compare-buffers):
15991         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
15992         * hl-line.el (global-hl-line-highlight):
15993         * icomplete.el (icomplete-simple-completing-p):
15994         * isearch.el (isearch-done):
15995         * jit-lock.el (jit-lock-stealth-fontify):
15996         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
15997         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
15998         * mpc.el (mpc-tagbrowser, mpc):
15999         * net/rcirc.el (rcirc-any-buffer):
16000         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
16001         * play/landmark.el (landmark-max-width, landmark-max-height):
16002         * play/zone.el (zone):
16003         * progmodes/compile.el (compilation-goto-locus):
16004         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
16005         * progmodes/etags.el (find-tag-other-window):
16006         * progmodes/fortran.el (fortran-column-ruler):
16007         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16008         * progmodes/verilog-mode.el (verilog-point-text):
16009         * reposition.el (reposition-window):
16010         * rot13.el (toggle-rot13-mode):
16011         * server.el (server-switch-buffer):
16012         * shell.el (shell-dynamic-complete-command)
16013         (shell-dynamic-complete-environment-variable):
16014         * simple.el (insert-buffer, set-selective-display)
16015         (delete-completion-window):
16016         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
16017         (speedbar-recenter):
16018         * startup.el (fancy-splash-head):
16019         * textmodes/ispell.el (ispell-command-loop):
16020         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
16021         * tutorial.el (help-with-tutorial):
16022         * vc/add-log.el (add-change-log-entry):
16023         * vc/compare-w.el (compare-windows):
16024         * vc/ediff-help.el (ediff-indent-help-message):
16025         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
16026         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
16027         (ediff-setup-control-frame):
16028         * vc/emerge.el (emerge-position-region):
16029         * vc/pcvs-util.el (cvs-bury-buffer):
16030         * window.el (walk-windows, mouse-autoselect-window-select):
16031         * winner.el (winner-set-conf, winner-undo): Related users changed.
16033 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
16035         * frameset.el (frameset--set-id): Doc fix.
16036         (frameset-frame-id, frameset-frame-id-equal-p)
16037         (frameset-locate-frame-id): New functions.
16038         (frameset--process-minibuffer-frames, frameset--reuse-frame)
16039         (frameset-restore): Use them.
16041 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
16043         Do not call to `selected-frame' where it is assumed by default.
16044         Affected functions are `raise-frame', `redraw-frame',
16045         `frame-first-window', `frame-terminal' and `delete-frame'.
16046         * calendar/appt.el (appt-disp-window):
16047         * epg.el (epg-wait-for-completion):
16048         * follow.el (follow-delete-other-windows-and-split)
16049         (follow-avoid-tail-recenter):
16050         * international/mule.el (set-terminal-coding-system):
16051         * mail/rmail.el (rmail-mail-return):
16052         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16053         * progmodes/f90.el (f90-add-imenu-menu):
16054         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
16055         * server.el (server-switch-buffer):
16056         * simple.el (delete-completion-window):
16057         * talk.el (talk):
16058         * term/xterm.el (terminal-init-xterm-modify-other-keys)
16059         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
16060         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
16061         * vc/ediff.el (ediff-documentation): Related users changed.
16062         * frame.el (selected-terminal): Remove the leftover.
16064 2013-08-05  Glenn Morris  <rgm@gnu.org>
16066         * calendar/calendar.el (calendar-generate-month):
16067         Fix for calendar-column-width != 1 + calendar-day-digit-width.
16068         (calendar-generate-month, calendar-font-lock-keywords):
16069         Fix for calendar-day-header-width > length of any day name.
16071 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
16073         * desktop.el (desktop-clear): Use new name of sort predicate.
16075         * frameset.el (frameset): Add docstring.  Move :version property to its
16076         own `version' slot.
16077         (frameset-copy): Rename from copy-frameset.
16078         (frameset-p): Check more thoroughly.
16079         (frameset-prop): Do not check for :version, which is no longer a prop.
16080         (frameset-live-filter-alist, frameset-persistent-filter-alist):
16081         Use new :never value instead of t.
16082         (frameset-filter-alist): Expand and clarify docstring.
16083         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
16084         (frameset-filter-minibuffer, frameset-filter-save-param)
16085         (frameset-filter-restore-param, frameset-filter-iconified):
16086         Add pointer to docstring of frameset-filter-alist.
16087         (frameset-filter-params): Rename filter values to be more meaningful:
16088         :never instead of t, and reverse the meanings of :save and :restore.
16089         (frameset--process-minibuffer-frames): Clarify error message.
16090         (frameset-save): Avoid unnecessary and confusing call to framep.
16091         Use new BOA constructor for framesets.
16092         (frameset--reuse-list): Doc fix.
16093         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
16094         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
16095         (frameset-minibufferless-first-p): Doc fix.
16096         Rename from frameset-sort-frames-for-deletion.
16097         (frameset-restore): Doc fixes.  Use new function names.
16098         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
16100 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
16102         * desktop.el (desktop-restore-forces-onscreen)
16103         (desktop-restore-reuses-frames): Document :keyword constant values.
16104         (desktop-filter-parameters-alist): Remove, now identical to
16105         frameset-filter-alist.
16106         (desktop--filter-tty*): Remove, moved to frameset.el.
16107         (desktop-save-frameset, desktop-restore-frameset):
16108         Do not pass :filters argument.
16110         * frameset.el (frameset-live-filter-alist)
16111         (frameset-persistent-filter-alist): New variables.
16112         (frameset-filter-alist): Use them.  Add autoload cookie.
16113         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
16114         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
16115         `frameset--id' (it's supposed to be internal to frameset.el).
16116         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
16117         (frameset--initial-params): New function.
16118         (frameset--get-frame): Use it.  Doc fix.
16119         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
16120         Accept :all, not 'all.
16121         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
16122         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
16123         with fbound symbols.  Fix frame id matching, and remove matching ids if
16124         the frame being restored is deleted.  Obey :delete.
16126 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16128         * subr.el (macrop): New function.
16129         (text-clone--maintaining): New var.
16130         (text-clone--maintain): Rename from text-clone-maintain.  Use it
16131         instead of inhibit-modification-hooks.
16133         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
16134         a proxy, so as handle autoloads and redefinitions of the target.
16135         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
16137         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
16138         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
16139         (pcase--mutually-exclusive-p): New function.
16140         (pcase--split-consp): Use it.
16141         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
16142         mutually exclusive with the current predicate.
16144         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
16145         (edebug-macrop): Remove.  Use `macrop' instead.
16146         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
16147         (ad-macro-p):
16148         * eshell/esh-cmd.el (eshell-macrop):
16149         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
16151 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16153         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
16154         (advice-mapc): New function, using it.
16155         (advice-function-member-p): New function.
16156         (advice--normalize): Store the cdr in advice--saved-rewrite since
16157         that's the part that will be changed.
16158         (advice--symbol-function): New function.
16159         (advice-remove): Handle removal before the function is defined.
16160         Adjust to new advice--saved-rewrite.
16161         (advice-member-p): Use advice-function-member-p and
16162         advice--symbol-function.
16164 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
16166         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
16167         (frameset-filter-minibuffer): Doc fix.
16168         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
16169         (frameset--set-id, frameset--process-minibuffer-frames)
16170         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
16171         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
16173         * desktop.el (desktop-clear): Only delete frames when called
16174         interactively and desktop-restore-frames is non-nil.  Doc fix.
16175         (desktop-read): Set desktop-saved-frameset to nil.
16177 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
16179         * vc/vc.el (vc-ignore): Rewrite.
16180         (vc-default-ignore-completion-table, vc--read-lines)
16181         (vc--add-line, vc--remove-regexp): New functions.
16183         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
16184         (vc-svn-ignore-completion-table): New function.
16186         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
16187         (vc-hg-ignore-completion-table)
16188         (vc-hg-find-ignore-file): New functions.
16190         * vc/vc-git.el (vc-git-ignore): Rewrite.
16191         (vc-git-ignore-completion-table)
16192         (vc-git-find-ignore-file): New functions.
16194         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
16196         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
16197         (vc-bzr-ignore-completion-table)
16198         (vc-bzr-find-ignore-file): New functions.
16200 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
16202         * frameset.el (frameset-prop): New function and setter.
16203         (frameset-save): Do not modify frame list passed by the caller.
16205 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16207         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
16209 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16211         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
16212         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
16214         * custom.el (custom-initialize-default, custom-initialize-set)
16215         (custom-initialize-reset, custom-initialize-changed): Affect the
16216         toplevel-default-value (bug#6275, bug#14586).
16217         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
16218         for bug#6275.
16220 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
16222         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
16223         Add cl-def* expressions.
16225         * frameset.el (frameset-filter-params): Fix order of arguments.
16227 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
16229         Move code related to saving frames to frameset.el.
16230         * desktop.el: Require frameset.
16231         (desktop-restore-frames): Doc fix.
16232         (desktop-restore-reuses-frames): Rename from
16233         desktop-restoring-reuses-frames.
16234         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
16235         (desktop-clear): Clear frames too.
16236         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
16237         (desktop--filter-tty*, desktop-save, desktop-read):
16238         Use frameset functions.
16239         (desktop-before-saving-frames-functions, desktop--filter-*-color)
16240         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
16241         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
16242         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
16243         (desktop--process-minibuffer-frames, desktop-save-frames)
16244         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
16245         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
16246         (desktop--sort-states, desktop-restoring-frames-p)
16247         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
16248         (desktop-restoring-frameset-p, desktop-restore-frameset)
16249         (desktop--check-dont-save, desktop-save-frameset): New functions.
16250         (desktop--app-id): New constant.
16251         (desktop-first-buffer, desktop-buffer-ok-count)
16252         (desktop-buffer-fail-count): Move before first use.
16253         * frameset.el: New file.
16255 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16257         * files.el: Use lexical-binding.
16258         (dir-locals-read-from-file): Remove unused `err' variable.
16259         (hack-dir-local-variables--warned-coding): New var.
16260         (hack-dir-local-variables): Use it to avoid repeated warnings.
16261         (make-backup-file-name--default-function): New function.
16262         (make-backup-file-name-function): Use it as default.
16263         (buffer-stale--default-function): New function.
16264         (buffer-stale-function): Use it as default.
16265         (revert-buffer-insert-file-contents--default-function): New function.
16266         (revert-buffer-insert-file-contents-function): Use it as default.
16267         (insert-directory): Avoid add-to-list.
16269         * autorevert.el (auto-revert-handler): Simplify.
16270         Use buffer-stale--default-function.
16272 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
16274         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
16276         * whitespace.el (whitespace-ensure-local-variables): New function.
16277         (whitespace-cleanup-region): Call it.
16278         (whitespace-turn-on): Call it.
16280 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
16282         Complete file name handlers.
16284         * net/tramp.el (tramp-handle-set-visited-file-modtime)
16285         (tramp-handle-verify-visited-file-modtime)
16286         (tramp-handle-file-notify-rm-watch): New functions.
16287         (tramp-call-process): Do not bind `default-directory'.
16289         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
16290         Order alphabetically.
16291         <access-file, add-name-to-file, dired-call-process>:
16292         <dired-compress-file, file-acl, file-notify-rm-watch>:
16293         <file-ownership-preserved-p, file-selinux-context>:
16294         <make-directory-internal, make-symbolic-link, set-file-acl>:
16295         <set-file-selinux-context, set-visited-file-modtime>:
16296         <verify-visited-file-modtime>: Add handler.
16297         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
16299         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
16300         <file-notify-add-watch, file-notify-rm-watch>:
16301         <set-file-times, set-visited-file-modtime>:
16302         <verify-visited-file-modtime>: Add handler.
16303         (with-tramp-gvfs-error-message)
16304         (tramp-gvfs-handle-set-visited-file-modtime)
16305         (tramp-gvfs-fuse-file-name): Remove.
16306         (tramp-gvfs-handle-file-notify-add-watch)
16307         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
16308         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
16310         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
16311         Order alphabetically.
16312         <file-notify-rm-watch>: Use default Tramp handler.
16313         <executable-find>: Remove private handler.
16314         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
16315         `default-directory'.
16316         (tramp-sh-handle-executable-find)
16317         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
16318         (tramp-sh-file-gvfs-monitor-dir-process-filter)
16319         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
16320         Do not use `format' in `tramp-message'.
16322         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
16323         <file-notify-rm-watch, set-visited-file-modtime>:
16324         <verify-visited-file-modtime>: Add handler.
16325         (tramp-smb-call-winexe): Do not bind `default-directory'.
16327 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
16329         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
16331 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
16333         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
16334         use it.
16335         (log-view-diff-changeset): Same.
16336         (log-view-diff-common): Call backend command `previous-revision'
16337         to find out the previous revision, in both cases.  Swap the
16338         variables `to' and `fr', so that `fr' usually refers to the
16339         earlier revision (Bug#14989).
16341 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
16343         * ibuf-ext.el (ibuffer-filter-by-filename):
16344         Make it work with dired buffers too.
16346 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
16348         * emacs-lisp/re-builder.el (reb-color-display-p):
16349         * files.el (save-buffers-kill-terminal):
16350         * net/browse-url.el (browse-url):
16351         * server.el (server-save-buffers-kill-terminal):
16352         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
16353         Prefer nil to selected-frame for the first arg of frame-parameter.
16355 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
16357         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
16359 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
16361         * minibuffer.el (completion--twq-all): Try and preserve each
16362         completion's case choice (bug#14907).
16364 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16366         * net/network-stream.el (open-network-stream): Mention the new
16367         :nogreeting parameter.
16368         (network-stream-open-starttls): Use the :nogreeting parameter
16369         (bug#14938).
16371         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
16373         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
16374         more natural than popping.
16376         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
16377         (shr-urlify): Highlight under mouse.
16379 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
16381         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
16383         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
16385         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
16386         buffer for output.
16388         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
16389         point-min==1.  Fix search string.  Fix parentheses missing.
16391         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
16392         assume point-min==1.  Fix search string.  Fix parentheses missing.
16394         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
16396         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
16397         buffer for output.
16399 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
16401         * frame.el (frame-notice-user-settings): Avoid inflooping when the
16402         initial frame is minibuffer-less.  (Bug#14841)
16404 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
16406         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
16407         option.
16409         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16410         (tramp-maybe-open-connection): Use it.
16412 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
16414         * desktop.el (desktop--make-frame): Include `minibuffer' in the
16415         minimal set of parameters passed when creating a frame, because
16416         the minibuffer status of a frame cannot be changed later.
16418 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
16420         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
16421         replace-regexp-in-string and inadvertent omissions in previous change.
16422         (todo-filter-items): Ensure only file names are comma-separated in
16423         name of filtered items buffer.
16425 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
16427         * desktop.el: Optionally force offscreen frames back onscreen.
16428         (desktop-restoring-reuses-frames): New option.
16429         (desktop--compute-pos, desktop--move-onscreen): New functions.
16430         (desktop--make-frame): Use desktop--move-onscreen.
16432 2013-07-27  Alan Mackenzie  <acm@muc.de>
16434         Fontify a Java generic method as a function.
16435         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
16436         value to t.
16438 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
16440         * calendar/todo-mode.el: Add command to rename todo files.
16441         (todo-rename-file): New command.
16442         (todo-key-bindings-t): Add key binding for it.  Change the
16443         bindings of todo-filter-regexp-items(-multifile) to use `x'
16444         instead of `r', since the latter is better suited to the new
16445         renaming command.
16447 2013-07-27  Alan Mackenzie  <acm@muc.de>
16449         Make Java try-with-resources statement parse properly.
16450         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
16451         (c-block-stmt-1-2-key): New language constants/variables.
16452         * progmodes/cc-engine.el (c-beginning-of-statement-1)
16453         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
16454         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
16455         with c-block-stmt-1-2-key.
16457 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
16459         * desktop.el (desktop--make-frame): Apply most frame parameters after
16460         creating the frame to force (partially or totally) offscreen frames to
16461         be restored as such.
16463 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
16465         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
16466         (Bug#14948)
16468 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16470         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
16471         `base' arg of backtrace-frame.
16473 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
16475         * simple.el (list-processes): Doc fix.
16477 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
16479         * desktop.el (desktop--select-frame):
16480         Try harder to reuse existing frames.
16482 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16484         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
16485         (edebug-eval): Use backtrace-eval.
16486         (edebug--display, edebug--recursive-edit): Don't let-bind the
16487         edebug-outer-* vars that keep track of variables we locally let-bind.
16488         (edebug-outside-excursion): Don't restore outside values of locally
16489         let-bound vars.
16490         (edebug--display): Use user-error.
16491         (cl-lexical-debug, cl-debug-env): Remove.
16493 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
16495         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
16496         are restored to be sure that they are visible before deleting any
16497         remaining ones.
16499 2013-07-26  Matthias Meulien  <orontee@gmail.com>
16501         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
16502         vc-print-root-log.  (Bug#14948)
16504 2013-07-26  Richard Stallman  <rms@gnu.org>
16506         Add aliases for encrypting mail.
16507         * epa.el (epa-mail-aliases): New option.
16508         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
16509         Bind inhibit-read-only so read-only text doesn't ruin everything.
16510         (epa-mail-default-recipients): New subroutine broken out.
16511         Handle epa-mail-aliases.
16513 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16515         Add support for lexical variables to the debugger's `e' command.
16516         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
16517         vars, except for debugger-outer-match-data.
16518         (debugger-frame-number): Move check for "on a function call" from
16519         callers into it.  Add `skip-base' argument.
16520         (debugger-frame, debugger-frame-clear): Simplify accordingly.
16521         (debugger-env-macro): Only reset the state stored in non-variables,
16522         i.e. current-buffer and match-data.
16523         (debugger-eval-expression): Rewrite using backtrace-eval.
16524         * subr.el (internal--called-interactively-p--get-frame): Remove.
16525         (called-interactively-p):
16526         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
16527         `base' arg of backtrace-frame instead.
16529 2013-07-26  Glenn Morris  <rgm@gnu.org>
16531         * align.el (align-regexp): Doc fix.  (Bug#14857)
16532         (align-region): Explicit error if subexpression missing/does not match.
16534         * simple.el (global-visual-line-mode):
16535         Do not duplicate the mode lighter.  (Bug#14858)
16537 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
16539         * window.el (display-buffer): In display-buffer bind
16540         split-window-keep-point to t, bug#14829.
16542 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
16544         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
16545         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
16546         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
16547         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
16548         Change accordingly.
16549         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
16550         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
16552 2013-07-25  Glenn Morris  <rgm@gnu.org>
16554         * dired-x.el (dired-mark-extension): Convert comment to doc string.
16556 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
16558         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
16559         parameter to modify-frame-parameters if the value has not changed;
16560         this is a workaround for bug#14949.
16561         (desktop--make-frame): On cl-delete-if call, check parameter name,
16562         not full parameter.
16564 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
16566         * vc/vc.el (vc-ignore): New function.
16568         * vc/vc-svn.el (vc-svn-ignore): New function.
16570         * vc/vc-hg.el (vc-hg-ignore): New function.
16572         * vc/vc-git.el (vc-git-ignore): New function.
16574         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
16575         (vc-dir-ignore): New function.
16577         * vc/vc-cvs.el (vc-cvs-ignore): New function.
16578         (cvs-append-to-ignore): Move here from pcvs.el.
16580         * vc/vc-bzr.el (vc-bzr-ignore): New function.
16582         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
16584 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
16586         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
16587         (desktop-restore-frames): Warn when deleting an existing frame failed.
16589 2013-07-24  Glenn Morris  <rgm@gnu.org>
16591         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
16593 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
16595         * filenotify.el (file-notify-supported-p):
16596         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
16597         Remove functions.
16599         * autorevert.el (auto-revert-use-notify)
16600         (auto-revert-notify-add-watch):
16601         * net/tramp.el (tramp-file-name-for-operation):
16602         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
16603         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16604         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
16605         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
16606         Remove `file-notify-supported-p' entry.
16608 2013-07-24  Glenn Morris  <rgm@gnu.org>
16610         * printing.el: Replace all uses of deleted ps-windows-system,
16611         ps-lp-system, ps-flatten-list with lpr- versions.
16613 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16615         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
16616         checked with memq (bug#14935).
16618         * files.el (revert-buffer-function): Use a non-nil default.
16619         (revert-buffer-preserve-modes): Declare var to
16620         provide access to the `preserve-modes' argument.
16621         (revert-buffer): Let-bind it.
16622         (revert-buffer--default): New function, extracted from revert-buffer.
16624 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16626         * lpr.el: Signal print errors more prominently.
16627         (print-region-function): Don't default to nil.
16628         (lpr-print-region): New function, extracted from print-region-1.
16629         Check lpr's return value and signal an error in case of problem.
16630         (print-region-1): Use it.
16631         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
16632         versions instead.
16633         (ps-printer-name): Default to nil.
16634         (ps-printer-name-option): Default to lpr-printer-switch.
16635         (ps-print-region-function): Don't default to nil.
16636         (ps-postscript-code-directory): Simplify default.
16637         (ps-do-despool): Use lpr-print-region to properly check the outcome.
16638         (ps-string-list, ps-eval-switch, ps-flatten-list)
16639         (ps-flatten-list-1): Remove.
16640         (ps-multibyte-buffer): Avoid setq.
16641         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
16642         (print-region-function, ps-print-region-function): Don't set them here.
16644 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
16646         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
16647         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
16648         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
16649         (ido-decorations): Doc fix.
16651         * ansi-color.el: Fix old URL.
16653 2013-07-23  Michael R. Mauger  <michael@mauger.com>
16655         * progmodes/sql.el: Version 3.3
16656         (sql-product-alist): Improve oracle :prompt-cont-regexp.
16657         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
16658         (sql-interactive-remove-continuation-prompt): Rewrite, use
16659         functions above.  Fix continuation prompt and complete output line
16660         handling.
16661         (sql-redirect-one, sql-execute): Use `read-only-mode' on
16662         redirected output buffer.
16663         (sql-mode): Restore deleted code (Bug#13591).
16665 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
16667         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
16669 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
16671         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
16673         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
16674         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16675         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
16677 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
16679         * desktop.el (desktop-clear): Simplify; remove useless checks
16680         against invalid buffer names.
16681         (desktop-list*): Use cl-list*.
16682         (desktop-buffer-info, desktop-create-buffer): Simplify.
16684 2013-07-23  Leo Liu  <sdl.web@gmail.com>
16686         * bookmark.el (bookmark-make-record): Restore NAME as a default
16687         value.  (Bug#14933)
16689 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16691         * emacs-lisp/autoload.el (autoload--setup-output): New function,
16692         extracted from autoload--insert-text.
16693         (autoload--insert-text): Remove.
16694         (autoload--print-cookie-text): New function, extracted from
16695         autoload--insert-cookie-text.
16696         (autoload--insert-cookie-text): Remove.
16697         (autoload-generate-file-autoloads): Adjust calls accordingly.
16699         * winner.el (winner-hook-installed-p): Remove.
16700         (winner-mode): Simplify accordingly.
16702         * subr.el (add-to-list): Fix compiler-macro when `append' is
16703         not constant.  Don't use `cl-member' for the base case.
16705         * progmodes/subword.el: Fix boundary case (bug#13758).
16706         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
16707         own group.
16708         (subword-backward-regexp): Make it a constant.
16709         (subword-forward-internal): Don't treat a trailing capital as the
16710         beginning of a word.
16712 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
16714         * emacs-lisp/package.el (package-menu-mode): Don't modify the
16715         global value of tabulated-list-revert-hook (bug#14930).
16717 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
16719         * desktop.el: Require 'cl-lib.
16720         (desktop-before-saving-frames-functions): New hook.
16721         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
16722         for frames being saved.  Rename from desktop--save-minibuffer-frames.
16723         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
16724         Do not save frames with non-nil `desktop-dont-save' parameter.
16725         Filter out deleted frames.
16726         (desktop--find-frame): Use cl-find-if.
16727         (desktop--select-frame): Use cl-(first|second|third) to access values
16728         of desktop-mini.
16729         (desktop--make-frame): Use cl-delete-if.
16730         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
16731         (desktop-restore-frames): Use cl-(first|second|third) to access values
16732         of desktop-mini.  Look for visible frame at the end, not while
16733         restoring frames.
16735         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
16736         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
16737         Use string-match-p, looking-at-p (bug#14927).
16739 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
16741         * desktop.el (desktop-saved-frame-states):
16742         Rename from desktop--saved-states; all users changed.
16743         (desktop-save-frames): Rename from desktop--save-frames.
16744         Do not save state to desktop file.
16745         (desktop-save): Save desktop-saved-frame-states to desktop file
16746         and reset to nil.
16747         (desktop-restoring-frames-p): New function.
16748         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
16749         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
16750         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
16752         * desktop.el: Correctly restore iconified frames.
16753         (desktop--filter-iconified-position): New function.
16754         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
16756 2013-07-20  Glenn Morris  <rgm@gnu.org>
16758         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
16759         Let `message' do the formatting.
16760         (def-gdb-preempt-display-buffer): Add explicit format.
16762         * image-dired.el (image-dired-track-original-file):
16763         Use with-current-buffer.
16764         (image-dired-track-thumbnail): Use with-current-buffer.
16765         Avoid changing point of wrong window.
16767         * image-dired.el (image-dired-track-original-file):
16768         Avoid changing point of wrong window.  (Bug#14909)
16770 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
16772         * progmodes/gdb-mi.el (gdb-done-or-error):
16773         Guard against "%" in gdb output.  (Bug#14127)
16775 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
16777         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
16778         (Bug#14826)
16780         * international/mule.el (coding-system-iso-2022-flags): Fix last
16781         change.
16783 2013-07-20  Kenichi Handa  <handa@gnu.org>
16785         * international/mule.el (coding-system-iso-2022-flags):
16786         Add `8-bit-level-4'.  (Bug#8522)
16788 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16790         * net/shr.el (shr-mouse-browse-url): New command and keystroke
16791         (bug#14815).
16793         * net/eww.el (eww-process-text-input): Allow inputting when the
16794         point is at the start of the line, as the properties aren't
16795         front-sticky.
16797         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
16798         degenerate widths.
16800 2013-07-19  Richard Stallman  <rms@gnu.org>
16802         * epa.el (epa-popup-info-window): Doc fix.
16804         * subr.el (split-string): New arg TRIM.
16806 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
16808         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
16809         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
16811 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
16813         * filenotify.el (file-notify--library): Rename from
16814         `file-notify-support'.  Do not autoload.  Adapt all uses.
16815         (file-notify-supported-p): New defun.
16817         * autorevert.el (auto-revert-use-notify):
16818         Use `file-notify-supported-p' instead of `file-notify-support'.
16819         Adapt docstring.
16820         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
16822         * net/tramp.el (tramp-file-name-for-operation):
16823         Add `file-notify-supported-p'.
16825         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
16826         New defun.
16827         (tramp-sh-file-name-handler-alist): Add it as handler for
16828         `file-notify-supported-p '.
16830         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
16831         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16832         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
16833         Add `ignore' as handler for `file-notify-*' functions.
16835 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
16837         * simple.el (line-move-partial, line-move): Don't start vscroll or
16838         scroll-up if the current line is not taller than the window.
16839         (Bug#14881)
16841 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
16843         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
16844         highlight question marks in the method names as strings.
16845         (ruby-block-beg-keywords): Inline.
16846         (ruby-font-lock-keyword-beg-re): Extract from
16847         `ruby-font-lock-keywords'.
16849 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
16851         * frame.el (blink-cursor-blinks): New defcustom.
16852         (blink-cursor-blinks-done): New defvar.
16853         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
16854         (blink-cursor-timer-function): Check if number of blinks has been
16855         done on X and NS.
16856         (blink-cursor-suspend, blink-cursor-check): New defuns.
16858 2013-07-15  Glenn Morris  <rgm@gnu.org>
16860         * edmacro.el (edmacro-format-keys): Fix previous change.
16862 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
16864         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
16865         The hack didn't work outside English locales anyway.
16867 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
16869         * simple.el (define-alternatives): Rename from alternatives-define,
16870         per RMS' suggestion.
16872 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
16874         * desktop.el (desktop-restore-frames): Change default to t.
16875         (desktop-restore-in-current-display): Now offer more options.
16876         (desktop-restoring-reuses-frames): New customization option.
16877         (desktop--saved-states): Doc fix.
16878         (desktop-filter-parameters-alist): New variable, renamed and expanded
16879         from desktop--excluded-frame-parameters.
16880         (desktop--target-display): New variable.
16881         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
16882         (desktop--filter-tty*, desktop--filter-*-color)
16883         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
16884         (desktop--filter-save-desktop-parm)
16885         (desktop-restore-in-original-display-p): New functions.
16886         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
16887         (desktop--save-minibuffer-frames): New function, inspired by a similar
16888         function from Martin Rudalics.
16889         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
16890         (desktop--restore-in-this-display-p): Remove.
16891         (desktop--find-frame): Rename from desktop--find-frame-in-display
16892         and add predicate argument.
16893         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
16894         (desktop--reuse-list): New variable.
16895         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
16896         New functions.
16897         (desktop--restore-frames): Add support for "minibuffer-special" frames.
16899 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
16901         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
16903 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
16905         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
16906         Highlight conversion methods on Kernel.
16908 2013-07-13  Alan Mackenzie  <acm@muc.de>
16910         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
16911         and comment it out.  This out-commenting enables certain C++
16912         declarations to be parsed correctly.
16914 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
16916         * international/mule.el (define-coding-system): Doc fix.
16918         * simple.el (default-font-height): Don't call font-info if the
16919         frame's default font didn't change since the frame was created.
16920         (Bug#14838)
16922 2013-07-13  Leo Liu  <sdl.web@gmail.com>
16924         * ido.el (ido-read-file-name): Guard against non-symbol value.
16926 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
16928         * progmodes/python.el (python-imenu--build-tree): Fix corner case
16929         in nested defuns.
16931 2013-07-13  Leo Liu  <sdl.web@gmail.com>
16933         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
16934         ido-set-matches call.  (Bug#6852)
16936 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
16938         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
16939         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
16940         Ruby 2.0.
16941         (ruby-font-lock-keywords): Distinguish calls to functions with
16942         module-like names from module references.  Highlight character
16943         literals.
16945 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
16947         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
16948         (gdb-send): Handle continued commands.  (Bug#14847)
16950 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
16952         * desktop.el (desktop--v2s): Remove unused local variable.
16953         (desktop-save-buffer): Make defvar-local; adjust docstring.
16954         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
16955         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
16957 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
16959         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
16961 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
16963         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
16964         (Bug#14842)
16966 2013-07-12  Glenn Morris  <rgm@gnu.org>
16968         * doc-view.el: Require cl-lib at runtime too.
16969         (doc-view-remove-if): Remove.
16970         (doc-view-search-next-match, doc-view-search-previous-match):
16971         Use cl-remove-if.
16973         * edmacro.el: Require cl-lib at runtime too.
16974         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
16975         (edmacro-mismatch, edmacro-subseq): Remove.
16977         * shadowfile.el: Require cl-lib.
16978         (shadow-remove-if): Remove.
16979         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
16980         Use cl-remove-if.
16982         * wid-edit.el: Require cl-lib.
16983         (widget-choose): Use cl-remove-if.
16984         (widget-remove-if): Remove.
16986         * progmodes/ebrowse.el: Require cl-lib at runtime too.
16987         (ebrowse-delete-if-not): Remove.
16988         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
16989         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
16990         Use cl-delete-if-not.
16992 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
16994         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
16995         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
16997 2013-07-12  Leo Liu  <sdl.web@gmail.com>
16999         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
17001 2013-07-11  Glenn Morris  <rgm@gnu.org>
17003         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
17004         (edebug-gensym-index, edebug-gensym):
17005         Remove reimplementation of cl-gensym.
17006         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
17008         * thumbs.el: Require cl-lib at run-time too.
17009         (thumbs-gensym-counter, thumbs-gensym):
17010         Remove reimplementation of cl-gensym.
17011         (thumbs-temp-file): Use cl-gensym.
17013         * emacs-lisp/ert.el: Require cl-lib at runtime too.
17014         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
17015         (ert--intersection, ert--set-difference, ert--set-difference-eq)
17016         (ert--union, ert--gensym-counter, ert--gensym-counter)
17017         (ert--coerce-to-vector, ert--remove*, ert--string-position)
17018         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
17019         (ert-make-test-unbound, ert--expand-should-1)
17020         (ert--expand-should, ert--should-error-handle-error)
17021         (should-error, ert--explain-equal-rec)
17022         (ert--plist-difference-explanation, ert-select-tests)
17023         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
17024         Use cl-lib functions rather than reimplementations.
17026 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
17028         * net/tramp.el (tramp-methods): Extend docstring.
17029         (tramp-connection-timeout): New defcustom.
17030         (tramp-error-with-buffer): Reset timestamp only when appropriate.
17031         (with-tramp-progress-reporter): Simplify.
17032         (tramp-process-actions): Improve messages.
17034         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
17035         * net/tramp-sh.el (tramp-maybe-open-connection):
17036         Use `tramp-connection-timeout'.
17037         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
17038         (Bug#14808)
17040 2013-07-11  Leo Liu  <sdl.web@gmail.com>
17042         * ido.el (ido-read-file-name): Conform to the requirements of
17043         read-file-name.  (Bug#11861)
17044         (ido-read-directory-name): Conform to the requirements of
17045         read-directory-name.
17047 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
17049         * subr.el (delay-warning): New function.
17051 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
17053         * simple.el (default-line-height): New function.
17054         (line-move-partial, line-move): Use it instead of computing the
17055         line height inline.
17056         (line-move-partial): Always compute ROWH.  If the last line is
17057         partially-visible, but its text is completely visible, allow
17058         cursor to enter such a partially-visible line.
17060 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
17062         Improve error messages.  (Bug#14808)
17064         * net/tramp.el (tramp-current-connection): New defvar, moved from
17065         tramp-sh.el.
17066         (tramp-message-show-progress-reporter-message): Remove, not
17067         needed anymore.
17068         (tramp-error-with-buffer): Show message in minibuffer.
17069         Discard input before waiting.  Reset connection timestamp.
17070         (with-tramp-progress-reporter): Improve messages.
17071         (tramp-process-actions): Use progress reporter.  Delete process in
17072         case of error.  Improve messages.
17074         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
17075         Call `tramp-error-with-buffer' with vector and buffer.
17076         (tramp-current-connection): Remove.
17077         (tramp-maybe-open-connection): The car of
17078         `tramp-current-connection' are the first 3 slots of the vector.
17080 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
17082         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
17083         inside continued strings.
17085 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
17087         Timestamp fixes for undo (Bug#14824).
17088         * files.el (clear-visited-file-modtime): Move here from fileio.c.
17090 2013-07-10  Leo Liu  <sdl.web@gmail.com>
17092         * files.el (require-final-newline): Allow safe local value.
17093         (Bug#14834)
17095 2013-07-09  Leo Liu  <sdl.web@gmail.com>
17097         * ido.el (ido-read-directory-name): Handle fallback.
17098         (ido-read-file-name): Update DIR to ido-current-directory.
17099         (Bug#1516)
17100         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
17102 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
17104         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
17105         "autoload".  Remove "warn lower camel case" section, previously
17106         commented out.  Highlight negation char.  Do not highlight the
17107         target in singleton method definitions.
17109 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17111         * faces.el (tty-setup-hook): Declare the hook.
17113         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
17114         and detect when a guard/pred depends on local vars (bug#14773).
17115         (pcase--u1): Adjust caller.
17117 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
17119         * simple.el (line-move-partial, line-move): Account for
17120         line-spacing.
17121         (line-move-partial): Avoid setting vscroll when the last
17122         partially-visible line in window is of default height.
17124 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17126         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
17127         been used a while.
17129 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
17131         * subr.el (read-quoted-char): Remove unused local variable `char'.
17133 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
17135         * vc/ediff.el (ediff-version): Version update.
17136         (ediff-files-command, ediff3-files-command, ediff-merge-command)
17137         (ediff-merge-with-ancestor-command, ediff-directories-command)
17138         (ediff-directories3-command, ediff-merge-directories-command)
17139         (ediff-merge-directories-with-ancestor-command): New functions.
17140         All are command-line interfaces to ediff: to facilitate calling
17141         Emacs with the appropriate ediff functions invoked.
17143         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
17144         New function.
17145         (viper-save-kill-buffer): Check if buffer is modified.
17147         * emulation/viper.el (viper-version): Version update.
17148         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
17150 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17152         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
17153         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
17154         (viper-intercept-ESC-key): Simplify.
17155         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
17156         don't use kbd.
17157         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
17158         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
17159         (viper-setup-ESC-to-escape): New functions.
17160         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
17161         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
17163 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
17165         * simple.el (default-font-height, window-screen-lines):
17166         New functions.
17167         (line-move, line-move-partial): Use them instead of
17168         frame-char-height and window-text-height.  This makes scrolling
17169         text smoother when the buffer's default face uses a font that is
17170         different from the frame's default font.
17172 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
17174         * files.el (write-file): Do not display confirm dialog for NS,
17175         it does its own dialog, which can't be canceled (Bug#14578).
17177 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
17179         * simple.el (line-move-partial): Adjust the row returned by
17180         posn-at-point for the current window-vscroll.  (Bug#14567)
17182 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
17184         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
17185         (tramp-sh-file-inotifywait-process-filter): Handle file names with
17186         spaces.
17188 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
17190         * window.el (window-state-put-stale-windows): New variable.
17191         (window--state-put-2): Save list of windows without matching buffer.
17192         (window-state-put): Remove "bufferless" windows if possible.
17194 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
17196         * simple.el (alternatives-define): Remove leftover :group keyword.
17197         Tweak docstring.
17199 2013-07-06  Leo Liu  <sdl.web@gmail.com>
17201         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
17202         (ido-enable-virtual-buffers): New variable.
17203         (ido-buffer-internal, ido-toggle-virtual-buffers)
17204         (ido-make-buffer-list): Use it.
17205         (ido-exhibit): Support turning on and off virtual buffers
17206         automatically.
17208 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
17210         * simple.el (alternatives-define): New macro.
17212 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
17214         * subr.el (read-quoted-char): Use read-key.
17215         (sit-for): Let read-event decode tty input (bug#14782).
17217 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
17219         * calendar/todo-mode.el: Add handling of file deletion, both by
17220         mode command and externally.  Fix various related bugs.
17221         Clarify Commentary and improve some documentation strings and code.
17222         (todo-delete-file): New command.
17223         (todo-check-file): New function.
17224         (todo-show): Handle external deletion of the file we're trying to
17225         show (bug#14688).  Replace called-interactively-p by an optional
17226         prefix argument to avoid problematic interaction with catch form
17227         when byte compiled (bug#14702).
17228         (todo-quit): Handle external deletion of the archive's todo file.
17229         Make sure the buffer that was visiting the archive file is still
17230         live before trying to bury it.
17231         (todo-category-completions): Handle external deletion of any
17232         category completion files.
17233         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
17234         of todo files, in case of external deletion.
17235         (todo-add-file): Replace unnecessary setq by let-binding.
17236         (todo-find-archive): Check whether there are any archives.
17237         Replace unnecessary setq by let-binding.
17238         (todo-archive-done-item): Use find-file-noselect to get the
17239         archive buffer whether or not the archive already exists.
17240         Remove superfluous code.  Use file size instead of buffer-file-name to
17241         check if the archive is new; if it is, update list of archives.
17242         (todo-default-todo-file): Allow nil to be a valid value for when
17243         there are no todo files.
17244         (todo-reevaluate-default-file-defcustom): Use corrected definition
17245         of todo-default-todo-file.
17246         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
17247         (todo-delete-category, todo-show-categories-table)
17248         (todo-category-number): Clarify comment.
17249         (todo-filter-items): Clarify documentation string.
17250         (todo-show-current-file, todo-display-as-todo-file)
17251         (todo-reset-and-enable-done-separator): Tweak documentation string.
17252         (todo-done-separator): Make separator length window-width, since
17253         bug#2749 is now fixed.
17255 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
17257         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
17258         Support both "gvfs-monitor-dir" and "inotifywait".
17259         (tramp-sh-file-inotifywait-process-filter): Rename from
17260         `tramp-sh-file-notify-process-filter'.
17261         (tramp-sh-file-gvfs-monitor-dir-process-filter)
17262         (tramp-get-remote-gvfs-monitor-dir): New defuns.
17264 2013-07-05  Leo Liu  <sdl.web@gmail.com>
17266         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
17268 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
17270         * frame.el (display-pixel-height, display-pixel-width)
17271         (display-mm-height, display-mm-width): Mention behavior on
17272         multi-monitor setups in docstrings.
17273         (w32-display-monitor-attributes-list): Declare function.
17274         (display-monitor-attributes-list): Use it.
17276 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
17278         * filenotify.el: New package.
17280         * autorevert.el (top): Require filenotify.el.
17281         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
17282         instead.
17283         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
17284         (auto-revert-notify-handler): Use `file-notify-*' functions.
17286         * subr.el (file-notify-handle-event): Move function to filenotify.el.
17288         * net/tramp.el (tramp-file-name-for-operation):
17289         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
17291         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
17292         for `file-notify-add-watch' and `file-notify-rm-watch'.
17293         (tramp-process-sentinel): Improve trace.
17294         (tramp-sh-handle-file-notify-add-watch)
17295         (tramp-sh-file-notify-process-filter)
17296         (tramp-sh-handle-file-notify-rm-watch)
17297         (tramp-get-remote-inotifywait): New defuns.
17299 2013-07-03  Juri Linkov  <juri@jurta.org>
17301         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
17302         call of `occur-read-primary-args' to interactive spec.
17304         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
17305         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
17307 2013-07-03  Matthias Meulien  <orontee@gmail.com>
17309         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
17310         `Buffer-menu-multi-occur'.  Add it to the menu.
17311         (Buffer-menu-mode): Document it in docstring.
17312         (Buffer-menu-multi-occur): New command.  (Bug#14673)
17314 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
17316         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
17317         keywords and built-ins.
17319 2013-07-03  Glenn Morris  <rgm@gnu.org>
17321         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
17323         Make info-xref checks case-sensitive by default
17324         * info.el (Info-find-node, Info-find-in-tag-table)
17325         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
17326         Add option for exact case matching of nodes.
17327         * info-xref.el (info-xref): New custom group.
17328         (info-xref-case-fold): New option.
17329         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
17331 2013-07-03  Leo Liu  <sdl.web@gmail.com>
17333         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
17335 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
17337         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
17338         middle of block statement initially, lower the depth.  Remove
17339         FIXME comment, not longer valid.  Remove middle of block statement
17340         detection, no need to do that anymore since we've been using
17341         `ruby-parse-region' here.
17343 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
17345         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
17347 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
17349         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
17351 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
17353         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
17354         (desktop-restore-in-current-display): New customization option.
17355         (desktop--excluded-frame-parameters): Add `font'.
17356         (desktop--save-frames): Rename from desktop--save-windows.
17357         (desktop--restore-in-this-display-p): New function.
17358         (desktop--make-full-frame): Remove unwanted width/height from
17359         full(width|height) frames.
17360         (desktop--restore-frames): Rename from desktop--restore-windows.
17361         Obey desktop-restore-current-display.  Do not delete old frames or
17362         select a new frame unless we were able to restore at least one frame.
17364 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
17366         * files.el (find-file-noselect): Simplify conditional expression.
17368         * textmodes/remember.el (remember-append-to-file):
17369         Don't mix `find-buffer-visiting' and `get-file-buffer'.
17371         Add `remember-notes' function to store random notes across Emacs
17372         restarts.
17373         * textmodes/remember.el (remember-data-file): Add :set callback to
17374         affect notes buffer (if any).
17375         (remember-notes): New command.
17376         (remember-notes-buffer-name, bury-remember-notes-on-kill):
17377         New defcustoms for the `remember-notes' function.
17378         (remember-notes-save-and-bury-buffer): New command.
17379         (remember-notes-mode-map): New variable.
17380         (remember-mode): New minor mode.
17381         (remember-notes--kill-buffer-query): New function.
17382         * startup.el (initial-buffer-choice): Add notes to custom type.
17384 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
17386         * bindings.el (right-char, left-char): Don't call sit-for, this is
17387         no longer needed.  Use arithmetic comparison only for numerical
17388         arguments.
17390         * international/mule-cmds.el (select-safe-coding-system):
17391         Handle the case of FROM being a string correctly.  (Bug#14755)
17393 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17395         * net/shr.el (shr-make-table-1): Add a sanity check that allows
17396         progression on degenerate tables.
17397         (shr-rescale-image): ImageMagick animated images currently don't work.
17399 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
17401         Some fixes and improvements for desktop frame restoration.
17402         It is still experimental and disabled by default.
17403         * desktop.el (desktop--save-windows): Put the selected frame at
17404         the head of the list.
17405         (desktop--make-full-frame): New function.
17406         (desktop--restore-windows): Try to re-select the frame that was
17407         selected upon saving.  Do not abort if some frames fail to restore,
17408         just show an error message and continue.  Set up maximized frames
17409         so they have default non-maximized dimensions.
17411 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
17413         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
17414         Don't start heredoc inside a string or comment.
17416 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
17418         * bindings.el (visual-order-cursor-movement): New defcustom.
17419         (right-char, left-char): Provide visual-order cursor motion by
17420         calling move-point-visually.  Update the doc strings.
17422 2013-06-28  Kenichi Handa  <handa@gnu.org>
17424         * international/mule.el (define-coding-system): New coding system
17425         properties :inhibit-null-byte-detection,
17426         :inhibit-iso-escape-detection, and :prefer-utf-8.
17427         (set-buffer-file-coding-system): If :charset-list property of
17428         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
17429         appropriate for setting.
17431         * international/mule-cmds.el (select-safe-coding-system):
17432         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
17433         multibyte characters, return utf-8 (or one of its siblings).
17435         * international/mule-conf.el (prefer-utf-8): New coding system.
17436         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
17437         files.
17439 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
17441         * net/shr.el (shr-render-region): New function.
17443         * net/eww.el: Autoload `eww-browse-url'.
17445 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
17447         * emacs-lisp/package-x.el (package-upload-buffer-internal):
17448         Adapt to `package-desc-version' being a list.
17449         Use `package--ac-desc-version' to retrieve version from a package
17450         archive element.
17452 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
17454         New experimental feature to save&restore window and frame setup.
17455         * desktop.el (desktop-save-windows): New defcustom.
17456         (desktop--saved-states): New var.
17457         (desktop--excluded-frame-parameters): New defconst.
17458         (desktop--filter-frame-parms, desktop--find-frame-in-display)
17459         (desktop--restore-windows, desktop--save-windows): New functions.
17460         (desktop-save): Call `desktop--save-windows'.
17461         (desktop-read): Call `desktop--restore-windows'.
17463 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17465         * net/shr.el (add-face-text-property): Remove compat definition.
17467 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
17469         * info.el (Info-try-follow-nearest-node): Move search for footnote
17470         above search for node name to prevent missing a footnote (bug#14717).
17472 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
17474         * obsolete/otodo-mode.el: Add obsolescence info to file header.
17476 2013-06-27  Leo Liu  <sdl.web@gmail.com>
17478         * net/eww.el (eww-read-bookmarks): Check file size.
17480 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17482         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
17483         advice--pending if newdef is nil or an autoload (bug#13820).
17484         (advice-mapc): New function.
17486 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17488         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
17489         probably.
17490         (eww-mode-map): Add a menu bar.
17491         (eww-add-bookmark): New command.
17492         (eww-bookmark-mode): New mode and commands.
17493         (eww-add-bookmark): Remove newlines from the title.
17494         (eww-bookmark-browse): Don't bug out if it's the only window.
17496 2013-06-26  Glenn Morris  <rgm@gnu.org>
17498         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
17499         (hfy-size): Handle ttys.  (Bug#14668)
17501         * info-xref.el: Update for Texinfo 5 change in *note format.
17502         (info-xref-node-re, info-xref-note-re): New constants.
17503         (info-xref-check-buffer): Use info-xref-note-re.
17505 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17507         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
17509         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
17510         nil terminate the loop (bug#14718).
17512 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17514         * net/eww.el: Rework history traversal.  When going forward/back,
17515         put these actions into the history, too, so that they can be
17516         replayed.
17517         (eww-render): Move the history reset to the correct buffer.
17519 2013-06-25  Juri Linkov  <juri@jurta.org>
17521         * files-x.el (modify-dir-local-variable): Change the header comment
17522         in the file with directory local variables.  (Bug#14692)
17524         * files-x.el (read-file-local-variable-value): Add `default'.
17525         (Bug#14710)
17527 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17529         * net/eww.el (eww-make-unique-file-name): Create a unique file
17530         name before saving to entering `y' accidentally asynchronously.
17532 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
17534         * net/eww.el (eww-download): New command and keystroke.
17536 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17538         * net/eww.el (eww-copy-page-url): Change name of command.
17540         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
17541         be more consistent with Info and dired.
17543         * net/eww.el (eww-mode-map): Ditto.
17545 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17547         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
17548         packages from archives.
17549         (package-archive-contents): Change format; include obsolete packages.
17550         (package-desc): Use `dir' to mark builtin packages.
17551         (package--from-builtin): Set the `dir' field to `builtin'.
17552         (generated-autoload-file, version-control): Declare.
17553         (package-compute-transaction): Change first arg and return value to be
17554         lists of package-descs.  Adjust to new package-archive-contents format.
17555         (package--add-to-archive-contents): Adjust to new
17556         package-archive-contents format.
17557         (package-download-transaction): Arg is now a list of package-descs.
17558         (package-install): If `pkg' is a package name, pass it as
17559         a requirement, so it is subject to the usual (e.g. disabled) checks.
17560         (describe-package): Accept package-desc as well.
17561         (describe-package-1): Describe a specific package-desc.  Add links to
17562         other package-descs for the same package name.
17563         (package-menu-describe-package): Pass the actual package-desc.
17564         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
17565         works correctly.
17566         (package-desc-status): New function.
17567         (package-menu--refresh): New function, extracted
17568         from package-menu--generate.
17569         (package-menu--generate): Use it.
17570         (package-delete): Update package-alist.
17571         (package-menu-execute): Don't call package-initialize.
17573         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
17574         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
17575         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
17576         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
17577         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
17578         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
17580 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
17582         * window.el (window--state-get-1): Workaround for bug#14527.
17583         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
17585 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17587         * net/eww.el (eww-back-url): Implement the history by stashing all
17588         the data into a list.
17589         (eww-forward-url): Allow going forward in the history, too.
17591 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17593         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
17594         for values and use read--expression for expressions (bug#14710).
17595         (read-file-local-variable): Avoid setq.
17596         (read-file-local-variable-mode): Use minor-mode-list.
17598 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17600         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
17601         for DOI URLs.
17603 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17605         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
17606         Update imenu-support when dialect changes.
17608 2013-06-25  Leo Liu  <sdl.web@gmail.com>
17610         * ido.el (ido-read-internal): Allow forward slash on windows.
17612 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17614         * net/eww.el (eww): Start of strings is \\`, not ^.
17616 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
17618         * net/shr.el (shr-browse-url): Fix interactive spec.
17620         * net/eww.el (eww): Add a trailing slash to domain names.
17622 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
17624         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
17626 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17628         * net/shr.el (shr-browse-url): Use an external browser if given a
17629         prefix.
17631         * net/eww.el (eww-external-browser): Move to shr.
17633 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
17635         * net/eww.el (eww): Work more correctly for file: URLs.
17636         (eww-detect-charset): Allow quoted charsets.
17637         (eww-yank-page-url): New command and keystroke.
17639 2013-06-24  Daiki Ueno  <ueno@gnu.org>
17641         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
17642         file name of gpg executable.
17643         (epg-context-program): New function.
17644         (epg-context-home-directory): New function.
17645         (epg-context-set-program): New function.
17646         (epg-context-set-home-directory): New function.
17647         (epg--start): Use `epg-context-program' instead of
17648         'epg-gpg-program'.
17649         (epg--list-keys-1): Likewise.
17651 2013-06-24  Leo Liu  <sdl.web@gmail.com>
17653         * ido.el (ido-read-internal): Fix bug#14620.
17655 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
17657         * faces.el (face-documentation): Simplify.
17658         (read-face-attribute, tty-find-type, x-resolve-font-name):
17659         Use `string-match-p'.
17660         (list-faces-display): Use `string-match-p'.  Simplify.
17661         (face-spec-recalc): Check face to avoid face alias loops.
17662         (read-color): Use `string-match-p' and non-capturing parenthesis.
17664 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17666         * net/shr.el (shr-rescale-image): Use the new
17667         :max-width/:max-height functionality.
17669 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
17671         * net/eww.el (eww-search-prefix): New variable.
17672         (eww): Use it.
17673         (eww-external-browser): New variable.
17674         (eww-mode-map): New keystroke.
17675         (eww-browse-with-external-browser): New command.
17677         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
17679 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
17681         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
17682         Don't skip aligning the next header field when padding is 0;
17683         otherwise, field width is not respected unless the title is as
17684         wide as the field.
17686 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17688         * emacs-lisp/package.el (package-el-version): Remove.
17689         (package-process-define-package): Fix inf-loop.
17690         (package-install): Allow symbols as arguments again.
17692 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
17694         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
17695         add some more keyword-like methods.
17696         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
17698 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
17700         * bs.el (bs-buffer-show-mark): Make defvar-local.
17701         (bs-mode): Use setq-local.
17703         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
17704         (emacs-lock--try-unlocking): Make defvar-local.
17706 2013-06-22  Glenn Morris  <rgm@gnu.org>
17708         * play/cookie1.el (cookie-apropos): Minor simplification.
17710         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
17712 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
17714         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
17715         `regexp-opt', it breaks the build during dumping.
17717 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
17719         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
17720         Highlight keyword-like methods on Kernel and Module with
17721         font-lock-builtin-face.
17722         (auto-mode-alist): Consolidate different entries into one regexp
17723         and add more *file-s.
17725 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
17727         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
17729         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
17730         (diary-entry): Use it in the action of this button type instead of
17731         diary-goto-entry.
17733         * calendar/todo-mode.el: New version.
17734         (todo-add-category): Append new category to end of file and give
17735         it the highest number, instead of putting it at the beginning and
17736         giving it 0.  Incorporate noninteractive functionality.
17737         (todo-forward-category): Adapt to 1-based category numbering.
17738         Allow skipping over archived categories.
17739         (todo-backward-category): Derive from todo-forward-category.
17740         (todo-backward-item, todo-forward-item): Make noninteractive and
17741         delegate interactive part to new commands.  Make sensitive to done items.
17742         (todo-categories): Make value an alist of category names and
17743         vectors of item counts.
17744         (todo-category-beg): Make a defconst.
17745         (todo-category-number): Use 1 instead of 0 as initial value.
17746         (todo-category-select): Make sensitive to overlays, optional item
17747         highlighting and done items.
17748         (todo-delete-item): Make sensitive to overlays and marked and done items.
17749         (todo-edit-item): Make sensitive to overlays and editing of
17750         date/time header optional.  Add format checks.
17751         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
17752         no-op if point is not on an item.  Advertise using todo-edit-quit.
17753         (todo-edit-mode): Make sensitive to new format, font-locking, and
17754         multiple todo files.
17755         (todo-insert-item, todo-insert-item-here): Derive from
17756         todo-basic-insert-item and extend functionality.
17757         (todo-item-end, todo-item-start): Make sensitive to done items.
17758         (todo-item-string): Don't return text properties.  Restore point.
17759         (todo-jump-to-category): Make sensitive to multiple todo files and
17760         todo archives.  Use extended category completion.
17761         (todo-lower-item, todo-raise-item): Rename to *-priority and
17762         derive from todo-set-item-priority.
17763         (todo-mode): Derive from special-mode.  Make sensitive to new
17764         format, font-locking and multiple todo files.  Make read-only.
17765         (todo-mode-map): Don't suppress digit keys, so they can supply
17766         prefix arguments.  Add many new key bindings.
17767         (todo-prefix): Insert as an overlay instead of file text.
17768         Change semantics from diary date expression to purely visual mark.
17769         (todo-print): Rename to todo-print-buffer.  Make buffer display
17770         features printable.  Remove option to restrict number of items
17771         printed.  Add option to print to file.
17772         (todo-print-function): Rename to todo-print-buffer-function.
17773         (todo-quit): Extend to handle exiting new todo modes.
17774         (todo-remove-item): Make sensitive to overlays.
17775         (todo-save): Extend to buffers of filtered items.
17776         (todo-show): Make sensitive to done items, multiple todo files and
17777         new todo modes.  Offer to convert legacy todo file before creating
17778         first new todo file.
17779         (todo-show-priorities): Rename to todo-top-priorities.
17780         Change semantics of value 0.
17781         (todo-top-priorities): Rename to todo-filter-top-priorities,
17782         derive from todo-filter-items and extend functionality.
17783         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
17784         and extend functionality to other types of filtered items.
17785         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
17786         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
17787         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
17788         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
17789         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
17790         (todo-edit-mode-hook, todo-entry-prefix-function)
17791         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
17792         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
17793         (todo-initials, todo-insert-threshold, todo-item-string-start)
17794         (todo-line-string, todo-menu, todo-mode-hook)
17795         (todo-more-important-p, todo-previous-answer, todo-previous-line)
17796         (todo-print-priorities, todo-remove-separator)
17797         (todo-save-top-priorities-too, todo-string-count-lines)
17798         (todo-string-multiline-p, todo-time-string-format)
17799         (todo-tmp-buffer-name): Remove.
17800         (todo-add-file, todo-archive-done-item, todo-choose-archive)
17801         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
17802         (todo-edit-category-diary-inclusion)
17803         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
17804         (todo-edit-file, todo-edit-item-date-day)
17805         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
17806         (todo-edit-item-date-month, todo-edit-item-date-to-today)
17807         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
17808         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
17809         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
17810         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
17811         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
17812         (todo-filter-top-priorities-multifile, todo-find-archive)
17813         (todo-find-filtered-items-file, todo-go-to-source-item)
17814         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
17815         (todo-jump-to-archive-category, todo-lower-category)
17816         (todo-mark-category, todo-marked-item-p, todo-merge-category)
17817         (todo-move-category, todo-move-item, todo-next-button)
17818         (todo-next-item, todo-padded-string, todo-powerset)
17819         (todo-previous-button, todo-previous-item)
17820         (todo-print-buffer-to-file, todo-raise-category)
17821         (todo-rename-category, todo-repair-categories-sexp, todo-search)
17822         (todo-set-category-number, todo-set-item-priority)
17823         (todo-set-top-priorities-in-category)
17824         (todo-set-top-priorities-in-file, todo-show-categories-table)
17825         (todo-sort-categories-alphabetically-or-numerically)
17826         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
17827         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
17828         (todo-toggle-item-header, todo-toggle-item-highlighting)
17829         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
17830         (todo-toggle-view-done-items, todo-toggle-view-done-only)
17831         (todo-unarchive-items, todo-unmark-category): New commands.
17832         (todo-absolute-file-name, todo-add-to-buffer-list)
17833         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
17834         (todo-basic-insert-item, todo-category-completions)
17835         (todo-category-number, todo-category-string-matcher-1)
17836         (todo-category-string-matcher-2, todo-check-filtered-items-file)
17837         (todo-check-format, todo-clear-matches)
17838         (todo-comment-string-matcher, todo-convert-legacy-date-time)
17839         (todo-current-category, todo-date-string-matcher)
17840         (todo-define-insertion-command, todo-diary-expired-matcher)
17841         (todo-diary-goto-entry, todo-diary-item-p)
17842         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
17843         (todo-display-categories, todo-display-sorted, todo-done-item-p)
17844         (todo-done-item-section-p, todo-done-separator)
17845         (todo-done-string-matcher, todo-files, todo-filter-items)
17846         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
17847         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
17848         (todo-insert-category-line, todo-insert-item-from-calendar)
17849         (todo-insert-sort-button, todo-insert-with-overlays)
17850         (todo-insertion-command-name, todo-insertion-key-bindings)
17851         (todo-label-to-key, todo-longest-category-name-length)
17852         (todo-make-categories-list, todo-mode-external-set)
17853         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
17854         (todo-modes-set-3, todo-multiple-filter-files)
17855         (todo-nondiary-marker-matcher, todo-prefix-overlays)
17856         (todo-read-category, todo-read-date, todo-read-dayname)
17857         (todo-read-file-name, todo-read-time)
17858         (todo-reevaluate-category-completions-files-defcustom)
17859         (todo-reevaluate-default-file-defcustom)
17860         (todo-reevaluate-filelist-defcustoms)
17861         (todo-reevaluate-filter-files-defcustom)
17862         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
17863         (todo-reset-done-separator, todo-reset-done-separator-string)
17864         (todo-reset-done-string, todo-reset-global-current-todo-file)
17865         (todo-reset-highlight-item, todo-reset-nondiary-marker)
17866         (todo-reset-prefix, todo-set-categories)
17867         (todo-set-date-from-calendar, todo-set-show-current-file)
17868         (todo-set-top-priorities, todo-short-file-name)
17869         (todo-show-current-file, todo-sort, todo-time-string-matcher)
17870         (todo-total-item-counts, todo-update-buffer-list)
17871         (todo-update-categories-display, todo-update-categories-sexp)
17872         (todo-update-count, todo-validate-name, todo-y-or-n-p):
17873         New functions.
17874         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
17875         New major modes.
17876         (todo-categories, todo-display, todo-edit, todo-faces)
17877         (todo-filtered): New defgroups.
17878         (todo-archived-only, todo-button, todo-category-string, todo-date)
17879         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
17880         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
17881         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
17882         (todo-add-item-if-new-category, todo-always-add-time-string)
17883         (todo-categories-align, todo-categories-archived-label)
17884         (todo-categories-category-label, todo-categories-diary-label)
17885         (todo-categories-done-label, todo-categories-number-separator)
17886         (todo-categories-todo-label, todo-categories-totals-label)
17887         (todo-category-completions-files, todo-completion-ignore-case)
17888         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
17889         (todo-done-separator-string, todo-done-string)
17890         (todo-files-function, todo-filter-done-items, todo-filter-files)
17891         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
17892         (todo-initial-category, todo-initial-file, todo-item-mark)
17893         (todo-legacy-date-time-regexp, todo-mode-line-function)
17894         (todo-nondiary-marker, todo-number-prefix)
17895         (todo-print-buffer-function, todo-show-current-file)
17896         (todo-show-done-only, todo-show-first, todo-show-with-done)
17897         (todo-skip-archived-categories, todo-top-priorities-overrides)
17898         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
17899         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
17900         New defcustoms.
17901         (todo-category-done, todo-date-pattern, todo-date-string-start)
17902         (todo-diary-items-buffer, todo-done-string-start)
17903         (todo-filtered-items-buffer, todo-item-start)
17904         (todo-month-abbrev-array, todo-month-name-array)
17905         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
17906         (todo-top-priorities-buffer): New defconsts.
17907         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
17908         (todo-categories-with-marks, todo-category-string-face)
17909         (todo-comment-face, todo-comment-string, todo-current-todo-file)
17910         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
17911         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
17912         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
17913         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
17914         (todo-font-lock-keywords, todo-global-current-todo-file)
17915         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
17916         (todo-insertion-commands-args)
17917         (todo-insertion-commands-args-genlist)
17918         (todo-insertion-commands-names, todo-insertion-map)
17919         (todo-key-bindings-t, todo-key-bindings-t+a)
17920         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
17921         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
17922         (todo-nondiary-face, todo-print-buffer, todo-time-face)
17923         (todo-visited): New variables.
17925 2013-06-21  Glenn Morris  <rgm@gnu.org>
17927         * play/cookie1.el (cookie-apropos): Add optional display argument.
17928         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
17929         (psychoanalyze-pinhead): Use cookie-doctor.
17931 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
17933         * emacs-lisp/package.el (tar-get-file-descriptor)
17934         (tar--extract): Declare.
17936 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
17938         Extend flymake's warning predicate to be a function (bug#14217).
17939         * progmodes/flymake.el (flymake-warning-predicate): New.
17940         (flymake-parse-line): Use it.
17941         (flymake-warning-re): Make obsolete alias to
17942         `flymake-warning-predicate'.
17944 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17946         * emacs-lisp/package.el (package-alist): Include obsolete packages.
17947         (package-obsolete-list): Remove.
17948         (package-activate): Remove min-version argument.  Add `force' argument.
17949         Adjust to new package-alist format.
17950         (package-mark-obsolete): Remove.
17951         (package-unpack): Force reload of the package's autoloads.
17952         (package-installed-p): Check builtins if the installed package is not
17953         recent enough.
17954         (package-initialize): Don't reset package-obsolete-list.
17955         Don't specify which package version to activate.
17956         (package-process-define-package, describe-package-1)
17957         (package-menu--generate): Adjust to new package-alist format.
17959 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
17961         * allout-widgets.el (allout-widgets-mode-off)
17962         (allout-widgets-mode-on, allout-widgets-pre-command-business)
17963         (allout-widgets-post-command-business)
17964         (allout-widgets-after-copy-or-kill-function)
17965         (allout-widgets-after-undo-function, allout-test-range-overlaps)
17966         (allout-decorate-item-and-context)
17967         (allout-graphics-modification-handler): Fix typos in docstrings.
17968         (allout-get-or-create-parent-widget): Use `looking-at-p'.
17970         * cmuscheme.el (scheme-start-file): Doc fix.
17971         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
17972         (scheme-input-filter): Use `string-match-p'.
17974         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
17976         * dired-x.el: Use Dired consistently in docstrings.
17978         * dired.el: Use Dired consistently in docstrings.
17979         (dired-readin, dired-mode): Use `setq-local'.
17980         (dired-switches-alist): Make defvar-local.
17981         (dired-buffers-for-dir): Use `zerop'.
17982         (dired-safe-switches-p, dired-switches-escape-p)
17983         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
17984         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
17985         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
17986         (dired-goto-next-nontrivial-file): Use `string-match-p'.
17987         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
17988         (dired-toggle-marks, dired-mark-files-containing-regexp)
17989         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
17990         (dired-flag-auto-save-files, dired-flag-backup-files):
17991         Use `looking-at-p'.
17992         (dired-mark-files-regexp, dired-build-subdir-alist):
17993         Use `string-match-p', `looking-at-p'.
17995         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
17996         (direct-print-region-helper): Use `string-match-p'.
17998 2013-06-21  Leo Liu  <sdl.web@gmail.com>
18000         * comint.el (comint-redirect-results-list-from-process):
18001         Fix infinite loop.
18003 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18005         * net/eww.el (eww-update-header-line-format): Quote % characters.
18007 2013-06-21  Glenn Morris  <rgm@gnu.org>
18009         * play/cookie1.el (cookie): New custom group.
18010         (cookie-file): New option.
18011         (cookie-check-file): New function.
18012         (cookie): Make it interactive.  Make start and end messages optional.
18013         Interactively, display the result.  Default to cookie-file.
18014         (cookie-insert): Default to cookie-file.
18015         (cookie-snarf): Make start and end messages optional.
18016         Default to cookie-file.  Use with-temp-buffer.
18017         (cookie-read): Rename from read-cookie.
18018         Make start and end messages optional.  Default to cookie-file.
18019         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
18020         Do not autoload it.
18021         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
18022         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
18024 2013-06-21  Leo Liu  <sdl.web@gmail.com>
18026         * progmodes/octave.el (octave-mode): Backward compatibility fix.
18028 2013-06-21  Glenn Morris  <rgm@gnu.org>
18030         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
18032 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18033             Daniel Hackney  <dan@haxney.org>
18035         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
18036         Consolidate the single-file vs tarball code.
18037         (package-desc-suffix): New function.
18038         (package-desc-full-name): Don't bother inlining it.
18039         (package-load-descriptor): Return the new package-desc.
18040         (package-mark-obsolete): Remove unused arg `package'.
18041         (package-unpack): Make it work for single files as well.
18042         Make it update package-alist.
18043         (package--make-autoloads-and-stuff): Rename from
18044         package--make-autoloads-and-compile.  Don't compile any more.
18045         (package--compile): New function.
18046         (package-generate-description-file): New function, extracted from
18047         package-unpack-single.
18048         (package-unpack-single): Remove.
18049         (package--with-work-buffer): Add indentation and debugging info.
18050         (package-download-single): Remove.
18051         (package-install-from-archive): Rename from package-download-tar, make
18052         it take a pkg-desc, and make it work for single files as well.
18053         (package-download-transaction): Simplify.
18054         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
18055         external tar program.
18056         (package-install-from-buffer): Remove `pkg-desc' argument.
18057         Use package-tar-file-info for tar-mode buffers.
18058         (package-install-file): Simplify accordingly.
18059         (package-archive-base): Change to take a pkg-desc.
18060         * tar-mode.el (tar--check-descriptor): New function, extracted from
18061         tar-get-descriptor.
18062         (tar-get-descriptor): Use it.
18063         (tar-get-file-descriptor): New function.
18064         (tar--extract): New function, extracted from tar-extract.
18065         (tar--extract): Use it.
18066         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
18067         case the summary uses non-ascii.  Adjust to new calling convention of
18068         package-tar-file-info.
18070 2013-06-21  Leo Liu  <sdl.web@gmail.com>
18072         * comint.el (comint-redirect-results-list-from-process):
18073         Fix random delay.  (Bug#14681)
18075 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
18077         * profiler.el (profiler-format-number): Use log, not log10.
18079 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
18081         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
18083 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18085         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
18086         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
18087         yet available.
18088         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
18089         (AUTOGENEL): ... here.
18090         * emacs-lisp/cl-macs.el (cl--sublis): New function.
18091         (cl--defsubst-expand): Use it.
18093 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
18095         * subr.el (log10): Move here from C code, and declare as obsolete.
18096         All uses of (log10 X) replaced with (log X 10).
18098 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
18100         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
18101         Declare with `defvar-local'.
18102         (tabulated-list-use-header-line, tabulated-list-entries)
18103         (tabulated-list-padding, tabulated-list-printer)
18104         (tabulated-list-sort-key): Declare with `defvar-local'.
18105         (tabulated-list-init-header, tabulated-list-print-fake-header):
18106         Use `setq-local'.
18108 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
18110         * arc-mode.el (archive-mode): Add `archive-write-file' to
18111         `write-contents-functions' also for remote files.  (Bug#14652)
18113 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
18115         * cus-edit.el (custom-commands): Fix typos.
18116         (custom-display): Fix tooltip text.
18117         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
18118         Fix typos in docstrings.
18119         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
18120         (custom-unlispify-menu-entry, custom-magic-value-create)
18121         (custom-add-see-also, custom-group-value-create): Use ?\s.
18122         (custom-guess-type, customize-apropos, editable-field)
18123         (custom-face-value-create): Use `string-match-p'.
18124         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
18126         * custom.el (custom-load-symbol): Use `string-match-p'.
18128         * ansi-color.el: Convert to lexical binding.
18129         (ansi-colors): Fix URL.
18130         (ansi-color-context, ansi-color-context-region): Use defvar-local.
18131         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
18132         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
18134 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18136         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
18138         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
18140 2013-06-19  Tom Tromey  <tromey@redhat.com>
18142         * net/eww.el (eww-top-url): Remove.
18143         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
18144         (eww-render): Set new variables.  Don't set eww-top-url.
18145         (eww-handle-link): Handle "prev", "home", and "contents".
18146         Downcase the rel text.
18147         (eww-top-url): Choose best top URL.
18149 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18151         * net/eww.el: Rewrite to implement form elements "by hand" instead of
18152         relying in widget.el.  Using widget.el leads to too many
18153         user interface inconsistencies.
18154         (eww-self-insert): Implement entering commands in text fields.
18155         (eww-process-text-input): New function to make text input field editing
18156         work.
18157         (eww-submit): Rewrite to use the new-style form methods.
18158         (eww-select-display): Display the correct selected item.
18159         (eww-change-select): Implement changing the select value.
18160         (eww-toggle-checkbox): Implement radio/checkboxes.
18161         (eww-update-field): Fix compilation error.
18162         (eww-tag-textarea): Implement <textarea>.
18164         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
18165         we don't shadow mode-specific bindings.
18167         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
18168         nothing to push.
18170         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
18172 2013-06-19  Glenn Morris  <rgm@gnu.org>
18174         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
18176 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
18178         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
18179         not needed.
18181         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
18183 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18185         * net/browse-url.el (browse-url-browser-function):
18186         `eww-browse-url' has the right calling signature, `eww' does not.
18188 2013-06-19  Glenn Morris  <rgm@gnu.org>
18190         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
18191         Only eval autoloaded macros.
18192         (byte-compile-autoload): Only give the macro warning for macros.
18194         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
18195         (ps-underlined-faces): Declare.
18197         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
18198         (speedbar-add-supported-extension): Declare.
18200         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
18201         Don't include a date stamp in the header of the generated file;
18202         it leads to needless differences between output files.
18204 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
18206         * net/secrets.el (secrets-struct-secret-content-type):
18207         Replace check of introspection data by a test call of "CreateItem".
18208         Some servers do not offer introspection.
18210 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18212         * electric.el (electric-pair-mode): Improve interaction with
18213         electric-layout-mode.
18214         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
18215         (electric-pair-syntax): Use text-mode-syntax-table in comments
18216         and strings.
18217         (electric-pair--insert): New function.
18218         (electric-pair-post-self-insert-function): Use it and
18219         electric--after-char-pos.
18221 2013-06-19  Leo Liu  <sdl.web@gmail.com>
18223         * progmodes/octave.el (octave-help): Fix regexp.
18225 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18227         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
18228         (shr-table-horizontal-line): Allow nil as a value, and change the
18229         default.
18230         (shr-insert-table-ruler): Respect the nil value.
18232 2013-06-18  Tom Tromey  <tromey@barimba>
18234         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
18235         New defvars.
18236         (eww-open-file): New defun.
18237         (eww-render): Initialize new variables.
18238         (eww-display-html): Handle "link" and "a".
18239         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
18240         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
18241         (eww-back-url): Rename from eww-previous-url.
18242         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
18243         New defuns.
18245 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
18247         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
18248         Distinguish ternary operator tokens from slash symbol and slash
18249         char literal.
18251 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
18253         Convert symbol prettification into minor mode and global minor mode.
18255         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
18256         `prog-prettify-symbols', and make a local defvar instead of defcustom.
18257         (prettify-symbols--keywords): Rename from
18258         `prog-prettify-symbols-alist' and make a local defvar.
18259         (prettify-symbols--compose-symbol): Rename from
18260         `prog--prettify-font-lock-compose-symbol'.
18261         (prettify-symbols--make-keywords): Rename from
18262         `prog-prettify-font-lock-symbols-keywords' and simplify.
18263         (prog-prettify-install): Remove.
18264         (prettify-symbols-mode): New minor mode, based on
18265         `prog-prettify-install'.
18266         (turn-on-prettify-symbols-mode): New function.
18267         (global-prettify-symbols-mode): New globalized minor mode.
18269         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
18270         * progmodes/cfengine.el (cfengine3-mode):
18271         * progmodes/perl-mode.el (perl-mode): Don't call
18272         `prog-prettify-install'; set `prettify-symbols-alist' instead.
18274 2013-06-18  Juri Linkov  <juri@jurta.org>
18276         * files-x.el (modify-file-local-variable-message): New function.
18277         (modify-file-local-variable)
18278         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
18279         and call `modify-file-local-variable-message' when it's non-nil.
18280         (add-file-local-variable, delete-file-local-variable)
18281         (add-file-local-variable-prop-line)
18282         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
18283         and use it.  (Bug#9820)
18285 2013-06-18  Juri Linkov  <juri@jurta.org>
18287         * emulation/vi.el (vi-shell-op):
18288         * emulation/vip.el (vip-execute-com, ex-command):
18289         * emulation/viper-cmd.el (viper-exec-bang):
18290         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
18291         the call of `shell-command-on-region'.  (Bug#14637)
18293         * simple.el (shell-command-on-region): Doc fix.
18295 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18297         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
18298         (bug#14633).
18300 2013-06-18  Glenn Morris  <rgm@gnu.org>
18302         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
18304         * newcomment.el (comment-search-forward, comment-search-backward):
18305         Doc fix.  (Bug#14376)
18307 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
18309         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
18310         (buffer-face-mode-invoke): Doc fix.
18312 2013-06-18  Matthias Meulien  <orontee@gmail.com>
18314         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
18315         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
18317 2013-06-18  Glenn Morris  <rgm@gnu.org>
18319         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
18320         Replace obsolete function generic-make-keywords with its expansion.
18322         * progmodes/python.el (ffap-alist): Declare.
18324         * textmodes/reftex.el (bibtex-mode-map): Declare.
18326 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18328         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
18329         (package-unpack, package-unpack-single): Return the pkg-dir.
18330         (package-download-transaction): Use it to update package-alist.
18332 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18334         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
18335         possible choice.
18337 2013-06-17  Juri Linkov  <juri@jurta.org>
18339         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
18341 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
18343         * emacs-lisp/package.el (package-load-descriptor):
18344         Remove `with-syntax-table' call, `read' doesn't need it.
18345         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
18347 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
18349         * startup.el (command-line): Expand package name returned by
18350         `package--description-file' (bug#14639).
18352 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
18354         * emacs-lisp/package.el (package-load-descriptor): Do not call
18355         `emacs-lisp-mode', just use its syntax table.
18357 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
18359         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
18360         `font-lock-extra-managed-props' if any prettifying keyword is added.
18361         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
18362         (prog-mode): Use `setq-local'.
18364 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18366         * international/characters.el (standard-case-table): Set syntax of ?»
18367         and ?« to punctuation.
18369 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
18371         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
18372         Save relevant match data before calling `syntax-ppss' (bug#14595).
18374 2013-06-15  Juri Linkov  <juri@jurta.org>
18376         * files-x.el (modify-file-local-variable-prop-line): Add local
18377         variables to the end of the existing comment on the first line.
18378         Use `file-auto-mode-skip' to skip interpreter magic line,
18379         and also skip XML declaration.
18381 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18383         * startup.el (package--builtin-versions): New var.
18384         (package-subdirectory-regexp): Remove.
18385         (package--description-file): Hard code its value instead.
18387         * emacs-lisp/package.el: Don't activate packages older than builtin.
18388         (package-obsolete-list): Rename from package-obsolete-alist, and make
18389         it into a simple list of package-desc.
18390         (package-strip-version): Remove.
18391         (package-built-in-p): Use package--builtin-versions.
18392         (package-mark-obsolete): Simplify.
18393         (package-process-define-package): Mark it obsolete if older than the
18394         builtin version.
18395         (package-handle-response): Use line-end-position.
18396         (package-read-archive-contents, package--download-one-archive):
18397         Simplify.
18398         (package--add-to-archive-contents): Skip if older than the builtin or
18399         installed version.
18400         (package-menu-describe-package): Fix last change.
18401         (package-list-unversioned): New var.
18402         (package-menu--generate): Use it.
18404         * emacs-lisp/autoload.el: Manage package--builtin-versions.
18405         (autoload--insert-text, autoload--insert-cookie-text): New functions.
18406         (autoload-builtin-package-versions): New variable.
18407         (autoload-generate-file-autoloads): Use them.
18408         Remove the list of autoloaded functions/macros from the
18409         (autoload...) comments.
18411         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
18413 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
18415         * simple.el (line-move-partial): Don't jump to the next screen
18416         line as soon as it becomes visible.  Instead, continue enlarging
18417         the vscroll until the portion of a tall screen line that's left on
18418         display is about the height of the frame's default font.
18419         (Bug#14567)
18421 2013-06-15  Glenn Morris  <rgm@gnu.org>
18423         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
18424         compilation-error-regexp-alist void, or local while let-bound.
18426         * progmodes/make-mode.el (makefile-mode-syntax-table):
18427         Treat "=" as punctuation.  (Bug#14614)
18429 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
18431         * help-fns.el (describe-variable):
18432         Add extra line for permanent-local variables.
18434 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
18436         * progmodes/scheme.el (scheme-font-lock-keywords-2):
18437         Add export, import, library.  (Bug#9164)
18438         (library): Set indent function.
18440 2013-06-14  Glenn Morris  <rgm@gnu.org>
18442         * term/xterm.el (xterm--query):
18443         Stop after first matching handler.  (Bug#14615)
18445 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
18447         Add support for dired in saveplace.
18448         * dired.el (dired-initial-position-hook): New variable.
18449         (dired-initial-position): Call hook to place cursor position.
18450         * saveplace.el (save-place-to-alist): Add dired position.
18451         (save-place-dired-hook): New function.
18453 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18455         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
18456         through a symbol rather than letrec.
18458         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
18459         (package-desc): Add `dir' field.
18460         (package-desc-full-name): New function.
18461         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
18462         (package-maybe-load-descriptor): Remove.
18463         (package-load-all-descriptors): Just call package-load-descriptor.
18464         (package--disabled-p): New function.
18465         (package-desc-vers, package-desc-doc): Remove aliases.
18466         (package--dir): Remove function.
18467         (package-activate): Check if a package is disabled.
18468         (package-process-define-package): New function, extracted from
18469         define-package.
18470         (define-package): Turn into a place holder.
18471         (package-unpack-single, package-tar-file-info):
18472         Use package--description-file.
18473         (package-compute-transaction): Use package--disabled-p.
18474         (package-download-transaction): Don't call
18475         package-maybe-load-descriptor since they're all loaded anyway.
18476         (package-install): Change argument to be a pkg-desc.
18477         (package-delete): Use a single pkg-desc argument.
18478         (describe-package-1): Use package-desc-dir instead of package--dir.
18479         Use package-desc property instead of package-symbol.
18480         (package-install-button-action): Adjust accordingly.
18481         (package--push): Rewrite.
18482         (package-menu--print-info): Adjust accordingly.  Change the ID format
18483         to be a pkg-desc.
18484         (package-menu-describe-package, package-menu-get-status)
18485         (package-menu--find-upgrades, package-menu-mark-upgrades)
18486         (package-menu-execute, package-menu--name-predicate):
18487         Adjust accordingly.
18488         * startup.el (package--description-file): New function.
18489         (command-line): Use it.
18490         * emacs-lisp/package-x.el (package-upload-buffer-internal):
18491         Use package-desc-version.
18493         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
18494         (byte-compile-preprocess): Use it.
18495         (byte-compile-file-form-defalias): Try a bit harder to use macros we
18496         can't quite recognize.
18497         (byte-compile-add-to-list): Remove.
18498         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
18499         (cconv-closure-convert): Add assertion.
18501         * emacs-lisp/map-ynp.el: Use lexical-binding.
18502         (map-y-or-n-p): Remove unused vars `tail' and `object'.
18503         Factor out some repeated code.
18505 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18507         * subr.el (with-eval-after-load): New macro.
18508         (eval-after-load): Allow form to be a function.
18509         take advantage of lexical-binding.
18510         (do-after-load-evaluation): Use dolist and adjust to new format.
18511         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
18513 2013-06-13  Juri Linkov  <juri@jurta.org>
18515         * replace.el (perform-replace): Display "symbol " and other search
18516         modes from `isearch-message-prefix' in the *Help* buffer.
18518         * isearch.el (isearch-query-replace): Add " symbol" and other
18519         possible search modes from `isearch-message-prefix' to the prompt.
18520         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
18521         when reading a regexp to collect.
18523 2013-06-13  Juri Linkov  <juri@jurta.org>
18525         * isearch.el (word-search-regexp): Match whitespace if the search
18526         string begins or ends in whitespace.  The LAX arg is applied to
18527         both ends of the search string.  Use `regexp-quote' and explicit
18528         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
18529         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
18530         boundaries are replaced with symbol boundaries, and characters
18531         between symbols match non-word non-symbol syntax.  (Bug#14602)
18533 2013-06-13  Juri Linkov  <juri@jurta.org>
18535         * isearch.el (isearch-del-char): Don't exceed the length of
18536         `isearch-string' by the prefix arg.  (Bug#14563)
18538 2013-06-13  Juri Linkov  <juri@jurta.org>
18540         * isearch.el (isearch-yank-word, isearch-yank-line)
18541         (isearch-char-by-name, isearch-quote-char)
18542         (isearch-printing-char, isearch-process-search-char):
18543         Add optional count prefix arg.  (Bug#14563)
18545         * international/isearch-x.el
18546         (isearch-process-search-multibyte-characters):
18547         Add optional count prefix arg.
18549 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18551         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
18552         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
18553         lexical-binding.
18555 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
18557         * subr.el (set-temporary-overlay-map): Add on-exit argument.
18559 2013-06-13  Glenn Morris  <rgm@gnu.org>
18561         * startup.el (tty-handle-args):
18562         Don't just discard "--" and anything after.  (Bug#14608)
18564         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
18566 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
18568         Implement changes in Secret Service API.  Make it backward compatible.
18569         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
18570         (secrets-create-item): Use it.  Prefix properties with interface.
18572 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
18574         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
18575         (term-emulate-terminal): Respect term-suppress-hard-newline.
18577 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
18579         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
18580         Only remove a `thumb-file' overlay.  (Bug#14548)
18582 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
18584         * mail/reporter.el (reporter-submit-bug-report):
18585         Handle missing package-name.  (Bug#14600)
18587 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
18589         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
18590         (reftex-citation-prompt, reftex-default-bibliography)
18591         (reftex-bib-or-thebib, reftex-get-bibfile-list)
18592         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
18593         (reftex-bib-sort-author, reftex-bib-sort-year)
18594         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
18595         (reftex-extract-bib-entries-from-thebibliography)
18596         (reftex-get-bibkey-default, reftex-get-bib-names)
18597         (reftex-parse-bibtex-entry, reftex-get-bib-field)
18598         (reftex-format-bib-entry, reftex-parse-bibitem)
18599         (reftex-format-bibitem, reftex-do-citation)
18600         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
18601         (reftex-restrict-bib-matches, reftex-extract-bib-file)
18602         (reftex-insert-bib-matches, reftex-format-citation)
18603         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
18604         (reftex-create-bibtex-file): Add docstrings, mostly by converting
18605         existing comments into docstrings.
18607 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
18609         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
18611 2013-06-12  Andreas Schwab  <schwab@suse.de>
18613         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
18614         for auto-save files.
18616 2013-06-12  Glenn Morris  <rgm@gnu.org>
18618         * ido.el (ido-delete-ignored-files): Remove.
18619         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
18620         Go back to calling ido-ignore-item-p directly.
18622 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
18624         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
18626         * ido.el (ido-delete-ignored-files): New function,
18627         split from ido-make-file-list-1.
18628         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
18629         (ido-make-file-list-1): Use ido-delete-ignored-files.
18631 2013-06-12  Leo Liu  <sdl.web@gmail.com>
18633         * progmodes/octave.el (inferior-octave-startup)
18634         (inferior-octave-completion-table)
18635         (inferior-octave-track-window-width-change)
18636         (octave-eldoc-function-signatures, octave-help)
18637         (octave-find-definition): Use single quoted strings.
18638         (inferior-octave-startup-args): Change default value.
18639         (inferior-octave-startup): Do not hard code "-i" and
18640         "--no-line-editing".
18641         (inferior-octave-resync-dirs): Add optional arg NOERROR.
18642         (inferior-octave-directory-tracker): Use it.
18643         (octave-goto-function-definition): Robustify.
18644         (octave-help): Support highlighting operators in 'See also'.
18645         (octave-find-definition): Find subfunctions only in Octave mode.
18647 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18649         * help-fns.el (help-fns--compiler-macro): If the handler function is
18650         named, then put a link to it.
18651         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
18652         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
18653         (cl-typep): Use it.
18654         (cl-eval-when): Simplify debug spec.
18655         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
18656         compiler-macro function instead of setting `compiler-macro-file'.
18658 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
18660         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
18661         * vc/vc-hooks.el (vc-stay-local): Doc fix.
18663 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18664             Daniel Hackney  <dan@haxney.org>
18666         First part of Daniel Hackney's patch to package.el.
18667         * emacs-lisp/package.el: Use defstruct.
18668         (package-desc): New, main struct.
18669         (package--bi-desc, package--ac-desc): New structs, used to describe the
18670         format in external files.
18671         (package-desc-vers): Replace with package-desc-version accessor.
18672         (package-desc-doc): Replace with package-desc-summary accessor.
18673         (package-activate-1): Remove `package' arg since the pkg-vec now
18674         includes the name.
18675         (define-package): Use package-desc-from-define.
18676         (package-unpack-single): Change file-name arg to be a symbol.
18677         (package--add-to-archive-contents): Use package-desc-create and new
18678         accessor functions to package--ac-desc.
18679         (package-buffer-info, package-tar-file-info): Return a package-desc.
18680         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
18681         arg to be a package-desc.
18682         (package-install-file): Adjust accordingly.  Use \' to match EOS.
18683         (package--from-builtin): New function.
18684         (describe-package-1, package-menu--generate): Use it.
18685         (package--make-autoloads-and-compile): Change name arg to be a symbol.
18686         (package-generate-autoloads): Idem and return the name of the file.
18687         * emacs-lisp/package-x.el (package-upload-buffer-internal):
18688         Change pkg-info arg to be a package-desc.
18689         Use package-make-ac-desc.
18690         (package-upload-file): Use \' to match EOS.
18691         * finder.el (finder-compile-keywords): Use package-make-builtin.
18693 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18695         * vc/vc.el (vc-deduce-fileset): Change error message.
18696         (vc-read-backend): New function.
18697         (vc-next-action): Use it.
18699         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
18701         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
18702         (prolog-font-lock-keywords): Use regexp-opt instead.
18703         Don't manually highlight strings.
18704         (prolog-mode-variables): Simplify comment-start-skip.
18705         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
18707         * emacs-lisp/generic.el (generic--normalise-comments)
18708         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
18709         (generic-mode-set-comments): Use them.
18710         (generic-bracket-support): Use setq-local.
18711         (generic-make-keywords-list): Declare obsolete.
18713 2013-06-11  Glenn Morris  <rgm@gnu.org>
18715         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
18716         Prettify after setting font-lock-defaults.  (Bug#14574)
18718 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
18720         * replace.el (query-replace, occur-read-regexp-defaults-function)
18721         (replace-search):
18722         * subr.el (declare-function, number-sequence, local-set-key)
18723         (substitute-key-definition, locate-user-emacs-file)
18724         (with-silent-modifications, split-string, eval-after-load):
18725         Fix typos, remove unneeded backslashes and reflow some docstrings.
18727 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18729         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
18730         default for Elisp files.
18732 2013-06-11  Glenn Morris  <rgm@gnu.org>
18734         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
18735         although define-derived-mode was doing this anyway.  (Bug#14583)
18737 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
18739         * allout.el (allout-encryption-plaintext-sanitization-regexps):
18740         Fix make-variable-buffer-local call to refer to the correct variable.
18742 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
18744         * eshell/em-term.el (eshell-visual-commands)
18745         (eshell-visual-subcommands, eshell-visual-options):
18746         Add summary line to docstrings.  Add cross-references.
18748 2013-06-10  Glenn Morris  <rgm@gnu.org>
18750         * epa.el (epa-read-file-name): New function.  (Bug#14510)
18751         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
18753 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
18755         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
18756         output redirection to be ignored with visual commands.
18758 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
18760         * eshell/em-term.el (eshell-visual-command-p): New function.
18761         (eshell-term-initialize): Move long lambda to separate function
18762         eshell-visual-command-p.
18763         * eshell/em-dirs.el (eshell-dirs-initialize):
18764         * eshell/em-script.el (eshell-script-initialize):
18765         Add missing #' to lambda.
18767 2013-06-08  Leo Liu  <sdl.web@gmail.com>
18769         * progmodes/octave.el (octave-add-log-current-defun): New function.
18770         (octave-mode): Set add-log-current-defun-function.
18771         (octave-goto-function-definition): Do not move point if not found.
18772         (octave-find-definition): Enhance to try subfunctions first.
18774 2013-06-08  Glenn Morris  <rgm@gnu.org>
18776         * emacs-lisp/bytecomp.el (byte-compile-char-before)
18777         (byte-compile-backward-char, byte-compile-backward-word):
18778         Improve previous change, to handle non-explicit nil.
18780 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
18782         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
18783         (smie--opener/closer-at-point): New function.
18784         (smie--matching-block-data): Use it.  Don't match from right after an
18785         opener or right before a closer.  Obey smie-blink-matching-inners.
18786         Don't signal a mismatch for repeated inners like "switch..case..case".
18788 2013-06-07  Leo Liu  <sdl.web@gmail.com>
18790         * progmodes/octave.el (octave-mode): Set comment-use-global-state
18791         to t.  (Bug#14303)
18792         (octave-function-header-regexp): Fix.  (Bug#14570)
18793         (octave-help-mode-finish-hook, octave-help-mode-finish):
18794         Remove.  Just use temp-buffer-show-hook.
18796         * newcomment.el (comment-search-backward): Revert last change.
18797         (Bug#14434)
18799         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
18801 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
18803         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
18804         through xargs, to avoid failure due to MS-Windows limitations on
18805         command-line length.
18807 2013-06-06  Glenn Morris  <rgm@gnu.org>
18809         * font-lock.el (lisp-font-lock-keywords-2):
18810         Treat user-error like error.
18812         * emacs-lisp/bytecomp.el (byte-compile-char-before)
18813         (byte-compile-backward-char, byte-compile-backward-word):
18814         Handle explicit nil arguments.  (Bug#14565)
18816 2013-06-05  Alan Mackenzie  <acm@muc.de>
18818         * isearch.el (isearch-allow-prefix): New user option.
18819         (isearch-other-meta-char): Don't exit isearch when a prefix
18820         argument is typed whilst `isearch-allow-prefix' is non-nil.
18821         (Bug#9706)
18823 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18825         * autorevert.el (auto-revert-notify-handler): Use memq.
18826         Hide assertion failure.
18828         * skeleton.el: Use cl-lib.
18829         (skeleton-further-elements): Use defvar-local.
18830         (skeleton-insert): Use cl-progv.
18832 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
18834         * progmodes/prog-mode.el (prog-prettify-symbols)
18835         (prog-prettify-install): Update docstrings.
18837 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18839         * simple.el: Move all the prog-mode code to prog-mode.el.
18840         * progmodes/prog-mode.el: New file.
18841         * loadup.el: Add prog-mode.el.
18843 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
18845         * simple.el (prog-prettify-symbols): Add version.
18846         (prog-prettify-install): Add convenience function to prettify symbols.
18848         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
18849         (perl--augmented-font-lock-keywords-1)
18850         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
18851         variables and use it.
18853         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
18854         (cfengine3-mode): Remove unneeded variable and use it.
18856         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
18857         (lisp--augmented-font-lock-keywords-1)
18858         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
18859         Remove unneeded variables and use it.
18861 2013-06-05  João Távora  <joaotavora@gmail.com>
18863         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
18864         to point when opening the connection.  (Bug#14380)
18866 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18868         * subr.el (load-history-regexp, load-history-filename-element)
18869         (eval-after-load, after-load-functions, do-after-load-evaluation)
18870         (eval-next-after-load, display-delayed-warnings)
18871         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
18872         definition of save-match-data.
18873         (overriding-local-map): Remove accidental obsolescence declaration.
18875         * emacs-lisp/edebug.el (edebug-result): Move before first use.
18877 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
18879         Generalize symbol prettify support to prog-mode and implement it
18880         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
18881         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
18882         (prog--prettify-font-lock-compose-symbol)
18883         (prog-prettify-font-lock-symbols-keywords): New variables and
18884         functions to support symbol prettification.
18885         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
18886         (lisp--augmented-font-lock-keywords-1)
18887         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
18888         (lisp--prettify-symbols-alist): Implement prettify of lambda.
18889         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
18890         (cfengine3--prettify-symbols-alist, cfengine3-mode):
18891         Implement prettify of -> => :: strings.
18892         * progmodes/perl-mode.el (perl-prettify-symbols)
18893         (perl--font-lock-compose-symbol)
18894         (perl--font-lock-symbols-keywords): Move to prog-mode.
18895         (perl--prettify-symbols-alist): Prettify -> => :: strings.
18896         (perl-font-lock-keywords-1)
18897         (perl-font-lock-keywords-2): Remove explicit prettify support.
18898         (perl--augmented-font-lock-keywords)
18899         (perl--augmented-font-lock-keywords-1)
18900         (perl--augmented-font-lock-keywords-2, perl-mode):
18901         Implement prettify support.
18903 2013-06-05  Leo Liu  <sdl.web@gmail.com>
18905         Re-implement SMIE matching block highlight using
18906         show-paren-data-function.  (Bug#14395)
18907         * emacs-lisp/smie.el (smie-matching-block-highlight)
18908         (smie--highlight-matching-block-overlay)
18909         (smie--highlight-matching-block-lastpos)
18910         (smie-highlight-matching-block)
18911         (smie-highlight-matching-block-mode): Remove.
18912         (smie--matching-block-data-cache): New variable.
18913         (smie--matching-block-data): New function.
18914         (smie-setup): Use smie--matching-block-data for
18915         show-paren-data-function.
18917         * progmodes/octave.el (octave-mode-menu): Fix.
18918         (octave-find-definition): Skip garbage lines.
18920 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18922         Fix compilation error with simultaneous dynamic+lexical scoping.
18923         Add warning when a defvar appears after the first let-binding.
18924         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
18925         (byte-compile-close-variables): Initialize it.
18926         (byte-compile--declare-var): New function.
18927         (byte-compile-file-form-defvar)
18928         (byte-compile-file-form-define-abbrev-table)
18929         (byte-compile-file-form-custom-declare-variable): Use it.
18930         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
18931         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
18932         (byte-compile-bind): Handle dynamic bindings that shadow
18933         lexical bindings.
18934         (byte-compile-unbind): Make arg non-optional.
18935         (byte-compile-let): Simplify.
18936         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
18937         (cconv--analyse-function, cconv-analyse-form): Populate it.
18938         Protect byte-compile-bound-variables to limit the scope of defvars.
18939         (cconv-analyse-form): Add missing rule for (defvar <foo>).
18940         Remove unneeded rule for `declare'.
18942         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
18943         so as to avoid depending on cl-adjoin at run-time.
18944         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
18946         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
18947         (macroexp--warn-and-return): Use it.
18949 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18951         * subr.el: Convert to lexical binding.
18952         (overriding-local-map): Make obsolete.
18953         (add-to-list): Doc fix.  Add compiler macro.
18954         (read-key): Swap values of local maps.
18956 2013-06-05  Leo Liu  <sdl.web@gmail.com>
18958         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
18960 2013-06-04  Leo Liu  <sdl.web@gmail.com>
18962         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
18963         (compilation-auto-jump): Suppress the "Mark set" message to give
18964         way to exit message.
18966 2013-06-04  Alan Mackenzie  <acm@muc.de>
18968         Remove faulty optimization from indentation calculation.
18969         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
18970         search limit based on 2000 characters back from indent-point.
18972 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
18974         * eshell/em-term.el (cl-lib): Require `cl-lib'.
18976 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
18978         * emacs-lisp/lisp.el: Use lexical-binding.
18979         (lisp--local-variables-1, lisp--local-variables): New functions.
18980         (lisp--local-variables-completion-table): New var.
18981         (lisp-completion-at-point): Use it complete let-bound vars.
18983         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
18984         eagerly (bug#14422).
18986 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
18988         * autorevert.el (auto-revert-notify-enabled)
18989         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
18990         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
18991         (auto-revert-notify-handler): Handle also gfilenotify.
18993         * subr.el (file-notify-handle-event): New defun.  Replacing ...
18994         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
18995         Remove.
18997 2013-06-03  Juri Linkov  <juri@jurta.org>
18999         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
19000         `M-s h .'.  (Bug#14427)
19002         * hi-lock.el (highlight-symbol-at-point): New alias for the new
19003         command `hi-lock-face-symbol-at-point'.
19004         (hi-lock-face-symbol-at-point): New command.
19005         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
19006         (hi-lock-menu): Add `highlight-symbol-at-point'.
19007         (hi-lock-mode): Doc fix.
19009         * isearch.el (isearch-forward-symbol-at-point): New command.
19010         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
19011         (isearch-highlight-regexp): Add a regexp which matches
19012         words/symbols for word/symbol mode.
19014         * subr.el (find-tag-default-bounds): New function with the body
19015         mostly moved from `find-tag-default'.
19016         (find-tag-default): Move most code to `find-tag-default-bounds',
19017         call it and apply `buffer-substring-no-properties' afterwards.
19019 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
19021         * eshell/em-term.el (eshell-term-initialize):
19022         Use `cl-intersection' rather than `intersection'.
19024 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
19026         * vc/log-view.el: Doc fix.
19027         (log-view-mode-map): Copy keymap from `special-mode-map'.
19029 2013-06-02  Eric Ludlam  <zappo@gnu.org>
19031         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
19032         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
19033         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
19034         (eieio-unbound, eieio-default-superclass)
19035         (eieio--define-field-accessors, method-static, method-before)
19036         (method-primary, method-after, method-num-lists)
19037         (method-generic-before, method-generic-primary)
19038         (method-generic-after, method-num-slots)
19039         (eieio-specialized-key-to-generic-key)
19040         (eieio--check-type, class-v, class-p)
19041         (eieio-class-name, define-obsolete-function-alias)
19042         (eieio-class-parents-fast, eieio-class-children-fast)
19043         (same-class-fast-p, class-constructor, generic-p)
19044         (generic-primary-only-p, generic-primary-only-one-p)
19045         (class-option-assoc, class-option, eieio-object-p)
19046         (class-abstract-p, class-method-invocation-order)
19047         (eieio-defclass-autoload-map, eieio-defclass-autoload)
19048         (eieio-class-un-autoload, eieio-defclass)
19049         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
19050         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
19051         (eieio--defgeneric-init-form, eieio-defgeneric-form)
19052         (eieio-defgeneric-reset-generic-form)
19053         (eieio-defgeneric-form-primary-only)
19054         (eieio-defgeneric-reset-generic-form-primary-only)
19055         (eieio-defgeneric-form-primary-only-one)
19056         (eieio-defgeneric-reset-generic-form-primary-only-one)
19057         (eieio-unbind-method-implementations)
19058         (eieio--defmethod, eieio--typep)
19059         (eieio-perform-slot-validation, eieio-validate-slot-value)
19060         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
19061         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
19062         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
19063         (eieio-slot-name-index, eieio-class-slot-name-index)
19064         (eieio-set-defaults, eieio-initarg-to-attribute)
19065         (eieio-attribute-to-initarg, eieio-c3-candidate)
19066         (eieio-c3-merge-lists, eieio-class-precedence-c3)
19067         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
19068         (eieio-class-precedence-list, eieio-generic-call-methodname)
19069         (eieio-generic-call-arglst, eieio-generic-call-key)
19070         (eieio-generic-call-next-method-list)
19071         (eieio-pre-method-execution-functions, eieio-generic-call)
19072         (eieio-generic-call-primary-only, eieiomt-method-list)
19073         (eieiomt-optimizing-obarray, eieiomt-install)
19074         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
19075         (eieio-generic-form, eieio-defmethod, make-obsolete)
19076         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
19077         (defclass): Remove `eval-and-compile' from macro.
19078         (call-next-method, shared-initialize): Instead of using
19079         `scoped-class' variable, use new eieio--scoped-class, and
19080         eieio--with-scoped-class.
19081         (initialize-instance): Rename local variable 'scoped-class' to
19082         'this-class' to remove ambiguitity from old global.
19084         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
19085         eieio.el.
19086         (eieio--scoped-class-stack): New variable.
19087         (eieio--scoped-class): New fcn.
19088         (eieio--with-scoped-class): New scoping macro.
19089         (eieio-defclass): Use pushnew instead of add-to-list.
19090         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
19091         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
19092         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
19093         `scoped-class' variable, use new eieio--scoped-class, and
19094         eieio--with-scoped-class.
19096         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
19098 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
19100         * eshell/esh-ext.el (eshell-external-command): Pass args to
19101         `eshell-find-interpreter'.
19102         (eshell-find-interpreter): Add new second parameter ARGS.
19104         * eshell/em-script.el (eshell-script-initialize): Add second arg
19105         to the function added as MATCH to `eshell-interpreter-alist'.
19107         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
19108         the function added as MATCH to `eshell-interpreter-alist'.
19110         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
19111         (eshell-visual-options): New defcustom.
19112         (eshell-escape-control-x): Adapt docstring.
19113         (eshell-term-initialize): Test `eshell-visual-subcommands' and
19114         `eshell-visual-options' in addition to `eshell-visual-commands'.
19115         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
19117 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
19119         * progmodes/python.el (python-indent-block-enders): Add break,
19120         continue and raise keywords.
19122 2013-06-01  Glenn Morris  <rgm@gnu.org>
19124         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
19126         Plain (f)boundp silences compilation warnings since Emacs 22.1.
19127         * progmodes/cc-cmds.el (delete-forward-p):
19128         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
19129         * progmodes/cc-engine.el (buffer-syntactic-context):
19130         * progmodes/cc-fonts.el (face-property-instance):
19131         * progmodes/cc-mode.el (set-keymap-parents):
19132         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
19133         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
19134         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
19135         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
19136         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
19138         * progmodes/cc-vars.el (other): Emacs has this widget since
19139         at least 21.1, so don't (re)define it.
19141         * eshell/em-cmpl.el (eshell-cmpl-initialize):
19142         Replace the obsolete alias pcomplete-arg-quote-list.
19144 2013-06-01  Leo Liu  <sdl.web@gmail.com>
19146         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
19147         punctuation syntax.
19148         (inferior-octave-minimal-columns)
19149         (inferior-octave-last-column-width): New variables.
19150         (inferior-octave-track-window-width-change): New function.
19151         (inferior-octave-mode): Adjust column width so that Octave output,
19152         for example from 'ls', can fit into the window nicely.
19154 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
19156         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
19157         Highlight expansions inside regexp literals.
19159 2013-05-31  Glenn Morris  <rgm@gnu.org>
19161         * obsolete/sym-comp.el (symbol-complete):
19162         Replace obsolete completion-annotate-function.
19164         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
19166 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
19168         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
19169         New function, checks if point is inside a literal that allows
19170         expression expansion.
19171         (ruby-syntax-propertize-expansion): Use it.
19172         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
19173         around the body.
19175 2013-05-30  Juri Linkov  <juri@jurta.org>
19177         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
19178         to "\M-si".
19179         (isearch-invisible): New variable.
19180         (isearch-forward): Doc fix.
19181         (isearch-mode): Set `isearch-invisible'
19182         to the value of `search-invisible'.
19183         (isearch-toggle-case-fold): Doc fix.
19184         (isearch-toggle-invisible): New command.
19185         (isearch-query-replace): Let-bind `search-invisible'
19186         to the value of `isearch-invisible'.
19187         (isearch-search): Use `isearch-invisible' instead of
19188         `search-invisible'.  Let-bind `search-invisible'
19189         to the value of `isearch-invisible'.  (Bug#11378)
19191 2013-05-30  Juri Linkov  <juri@jurta.org>
19193         * replace.el (perform-replace): Avoid `isearch-range-invisible'
19194         call when `query-flag' is nil and `search-invisible' is non-nil.
19195         (Bug#11746)
19197 2013-05-30  Glenn Morris  <rgm@gnu.org>
19199         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
19201         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
19202         (cc-require): Suppress spurious "noruntime" warnings.
19203         (cc-require-when-compile): Use fboundp, for sake of compiler.
19205         * progmodes/cc-mode.el: Move load of cc-vars before that of
19206         cc-langs (which in turn loads cc-vars), to quieten compiler.
19208 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19210         * paren.el: Simplify the code.
19211         (show-paren-mode): Always start the timer.
19212         (show-paren--idle-timer): Rename from show-paren-idle-timer.
19213         (show-paren--overlay, show-paren--overlay-1): Rename from
19214         show-paren-overlay and show-paren-overlay-1, and initialize to an
19215         overlay rather than to nil.
19216         (show-paren-function): Misc cleanup and simplifications.
19218 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19220         * paren.el (show-paren-data-function): New hook.
19221         (show-paren--default): New function, extracted from show-paren-function.
19222         (show-paren-function): Use show-paren-data-function.
19224 2013-05-30  Glenn Morris  <rgm@gnu.org>
19226         * ielm.el (ielm-map, ielm-complete-symbol):
19227         Use completion-at-point rather than obsolete functions.
19228         (inferior-emacs-lisp-mode): Doc fix.
19229         Set completion-at-point-functions, rather than
19230         comint-dynamic-complete-functions.
19232         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
19233         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
19234         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
19236         * image.el (image-animated-p): Tweak definition.
19238         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
19239         (rlogin-process-connection-type): Tweak default.  Add set-after.
19240         (rlogin-host): Doc fix.
19241         (rlogin): Tweak prompt.
19242         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
19244         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
19245         * progmodes/tcl.el (inferior-tcl-mode-map):
19246         Use completion-at-point rather than obsolete alias.
19248         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
19250         * minibuffer.el (read-file-name-completion-ignore-case):
19251         Move before completion--in-region, for eager macro expansion.
19253 2013-05-29  Juri Linkov  <juri@jurta.org>
19255         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
19256         for total count of matching lines.  Add `global-matches' for total
19257         count of matches.  Rename `matches' to `lines' for count of
19258         matching lines.  Add `matches' for count of matches.
19259         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
19260         to `prev-line' for line number of prev match endpt.
19261         Increment `matches' for every match.  Print the number of
19262         matching lines in the header.
19263         (occur-context-lines): Rename `lines' to `curr-line'.
19264         Rename `prev-lines' to `prev-line'.  (Bug#14017)
19266 2013-05-29  Juri Linkov  <juri@jurta.org>
19268         * replace.el (perform-replace): Add `skip-read-only-count',
19269         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
19270         Increment them for corresponding conditions and report the number
19271         of skipped occurrences in the final message.  (Bug#11746)
19272         (query-replace, query-replace-regexp, query-replace-regexp-eval)
19273         (replace-string, replace-regexp): Doc fix.
19275 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
19277         * emacs-lisp/trace.el (trace--read-args): Provide a default.
19279         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
19280         prog-mode-map (bug#14504).
19282 2013-05-29  Leo Liu  <sdl.web@gmail.com>
19284         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
19285         (octave-help): Small simplification.
19287         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
19288         off the highlight first.
19290 2013-05-29  Glenn Morris  <rgm@gnu.org>
19292         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
19293         Handle idlwave-last-system-routine-info-cons-cell being nil.
19295         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
19296         (idlwave-write-paths): Simplify via with-temp-buffer.
19298         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
19299         * emulation/cua-rect.el: Also load cua-base at run time.
19301         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
19302         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
19303         (cperl-imenu-on-info): Require imenu.
19305 2013-05-28  Alan Mackenzie  <acm@muc.de>
19307         Handle "capitalised keywords" correctly.
19308         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
19310 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
19312         * eshell/em-unix.el: Add -r option to cp.
19314 2013-05-28  Glenn Morris  <rgm@gnu.org>
19316         * vc/vc-arch.el (vc-exec-after): Declare.
19317         (vc-switches): Autoload.
19318         * vc/vc-bzr.el: No need to require vc when compiling.
19319         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
19320         (vc-resynch-buffer, vc-dir-refresh): Declare.
19321         (vc-setup-buffer, vc-switches): Autoload.
19322         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
19323         (vc-resynch-buffer): Declare.
19324         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
19325         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
19326         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
19327         (grep-read-regexp, grep-read-files, grep-expand-template)
19328         (vc-dir-refresh): Declare.
19329         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
19330         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
19331         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
19332         * vc/vc-mtn.el (vc-exec-after): Declare.
19333         (vc-switches): Autoload.
19334         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
19335         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
19336         (vc-file-tree-walk): Declare.
19337         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
19338         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
19339         (vc-tag-precondition, vc-rename-master): Autoload.
19340         * vc/vc-svn.el (vc-exec-after): Declare.
19341         (vc-switches, vc-setup-buffer): Autoload.
19342         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
19343         Autoload.
19344         (vc-resynch-buffer): Declare.
19346         * obsolete/fast-lock.el (byte-compile-warnings):
19347         Don't warn about obsolete features in this obsolete file.
19349         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
19350         Move definition before use.
19352         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
19353         (dun-unix-verbs): Remove dun-zippy.
19354         (dun-zippy): Remove function.
19356         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
19358 2013-05-27  Juri Linkov  <juri@jurta.org>
19360         * replace.el (replace-search): New function with code moved out
19361         from `perform-replace'.
19362         (replace-highlight, replace-dehighlight): Move function definitions
19363         up closer to `replace-search'.  (Bug#11746)
19365 2013-05-27  Juri Linkov  <juri@jurta.org>
19367         * replace.el (perform-replace): Ignore invisible matches.
19368         In addition to checking `query-replace-skip-read-only', also
19369         filter out matches by calling `run-hook-with-args-until-failure'
19370         on `isearch-filter-predicates', and also check `search-invisible'
19371         for t or call `isearch-range-invisible'.
19372         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
19374 2013-05-27  Juri Linkov  <juri@jurta.org>
19376         * isearch.el (isearch-filter-predicates): Rename from
19377         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
19378         (isearch-message-prefix): Display text from the property
19379         `isearch-message-prefix' of the currently active filters.
19380         (isearch-search): Don't compare `isearch-filter-predicate' with
19381         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
19382         on `isearch-filter-predicates'.  Also check `search-invisible' for t
19383         or call `isearch-range-invisible'.
19384         (isearch-filter-visible): Make obsolete.
19385         (isearch-lazy-highlight-search):
19386         Call `run-hook-with-args-until-failure' on
19387         `isearch-filter-predicates' and use `isearch-range-invisible'.
19389         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
19390         `isearch-filter-predicates' instead of `funcall'ing
19391         `isearch-filter-predicate'.
19392         (Info-mode): Set `Info-isearch-filter' to
19393         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
19395         * dired-aux.el (dired-isearch-filter-predicate-orig):
19396         Remove variable.
19397         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
19398         (dired-isearch-filenames-end): Add and remove
19399         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
19400         instead of changing the value of `isearch-filter-predicate'.
19401         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
19402         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
19403         Put property `isearch-message-prefix' to "filename " on
19404         `dired-isearch-filter-filenames'.
19406         * wdired.el (wdired-change-to-wdired-mode):
19407         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
19408         locally instead of changing `isearch-filter-predicate'.
19409         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
19411 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
19413         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
19414         return the commit hash (Bug#14459).  Also set the
19415         `vc-git-detached' property.
19416         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
19417         (vc-git-mode-line-string): Use the same help-echo format whether
19418         in detached mode or not, because we know the actual revision now.
19419         When in detached mode, shorten the revision to 7 chars.
19421 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19423         * emacs-lisp/easy-mmode.el (define-minor-mode):
19424         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
19425         mode hook and provide a docstring.
19427 2013-05-27  Alan Mackenzie  <acm@muc.de>
19429         Remove spurious syntax-table text properties inserted by C-y.
19430         * progmodes/cc-mode.el (c-after-change): Also clear hard
19431         syntax-table property with value nil.
19433 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
19435         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
19436         when reading the events; the buffer layout shall not be changed.
19438 2013-05-27  Leo Liu  <sdl.web@gmail.com>
19440         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
19441         New variable.
19442         (inferior-octave-directory-tracker): Automatically re-sync
19443         default-directory.
19444         (octave-help): Improve handling of 'See also'.
19446 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19448         * doc-view.el: Minor naming convention tweaks.
19449         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
19451         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
19452         even if there's no `display' property yet (bug#14435).
19454 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
19456         * subr.el (unmsys--file-name): Rename from reveal-filename.
19458         * Makefile.in (custom-deps, finder-data, autoloads)
19459         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
19460         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
19461         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
19463 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
19465         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
19466         error-completion on the first 2 args of condition-case (bug#14446).
19467         Don't burp at EOB.
19469 2013-05-25  Leo Liu  <sdl.web@gmail.com>
19471         * comint.el (comint-previous-matching-input): Do not flood the
19472         *Messages* buffer with trivial messages.
19474 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
19476         * progmodes/flymake.el (flymake-nop): Don't return a string.
19477         (flymake-set-at): Fix typo.
19479         * simple.el (read--expression): New function, extracted from
19480         eval-expression.  Set completion-at-point-functions (bug#14465).
19481         (eval-expression, eval-minibuffer): Use it.
19483 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
19485         * progmodes/flymake.el (flymake-save-buffer-in-file)
19486         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
19487         (flymake-selected-frame, flymake-log, flymake-ins-after)
19488         (flymake-set-at, flymake-get-buildfile-from-cache)
19489         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
19490         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
19491         Refine the doc string.
19492         (flymake-get-file-name-mode-and-masks): Reformat.
19493         (flymake-get-real-file-name-function): Fix a minor bug.
19495 2013-05-24  Juri Linkov  <juri@jurta.org>
19497         * progmodes/grep.el (grep-mode-font-lock-keywords):
19498         Support =linenumber= format used by git-grep for lines with
19499         function names.  (Bug#13549)
19501 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19503         * progmodes/octave.el (octave-smie-rules): Return nil rather than
19504         0 after a semi-colon; it works better for smie-auto-fill.
19505         (octave--indent-new-comment-line): New function.
19506         (octave-indent-new-comment-line): Use it (indirectly).
19507         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
19508         modify comment-line-break-function.
19510         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
19511         (smie-setup): Use add-function to set it.
19513 2013-05-24  Sam Steingold  <sds@gnu.org>
19515         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
19516         argument (before the `interactive' argument).
19518 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19520         * image-mode.el (image-mode-winprops): Add winprops to
19521         image-mode-winprops-alist before running
19522         image-mode-new-window-functions.
19523         * doc-view.el (doc-view-new-window-function): Don't delay
19524         doc-view-goto-page via timers (bug#14435).
19526 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
19528         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
19529         (doc-view-desktop-save-buffer): New function.
19530         (doc-view-restore-desktop-buffer): New function.
19531         (desktop-buffer-mode-handlers):
19532         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
19533         handler.
19534         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
19535         `desktop-save-buffer' function.
19537 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
19539         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
19540         (tramp-gvfs-file-name-handler): Raise a user error when
19541         `tramp-gvfs-enabled' is nil.
19542         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
19543         Do not raise a user error when loading package.  (Bug#14447)
19545         * net/xesam.el: Move to obsolete/.
19547 2013-05-24  Glenn Morris  <rgm@gnu.org>
19549         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
19551         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
19553         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
19554         (Info-find-node, Man-getpage-in-background): Declare.
19556         * mail/unrmail.el (unrmail):
19557         Replace obsolete detect-coding-with-priority.
19559         * net/socks.el (socks-split-string): Use this rather than split-string.
19560         (socks-nslookup-host): Update for above change.
19561         (dynamic-choice, s5-dynamic-choice-match)
19562         (s5-dynamic-choice-match-inline, s5-widget-value-create):
19563         Comment out unused code.
19565         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
19566         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
19567         (gud-tooltip-echo-area): Make obsolete.
19568         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
19570         * progmodes/js.el (js--optimize-arglist): Declare.
19572         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
19574         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
19575         (ediff-window-C): Declare.
19577         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
19578         Tweak requires to silence compiler.
19580         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
19581         (he-search-string, he-tried-table, he-expand-list)
19582         (he-init-string, he-string-member, he-substitute-string)
19583         (he-reset-string): Declare.
19585         * obsolete/options.el (list-options): Use custom-variable-p,
19586         rather than obsolete alias.
19588 2013-05-23  Sam Steingold  <sds@gnu.org>
19590         * simple.el (shell-command-on-region): Pass the `replace' argument
19591         down to `call-process-region' to comply with the doc as reported on
19592         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
19594 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19596         * emacs-lisp/smie.el (smie-indent-forward-token)
19597         (smie-indent-backward-token): Handle string tokens (bug#14381).
19599 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
19601         * ielm.el (ielm-menu): New menu.
19602         (inferior-emacs-lisp-mode): Set comment-start.
19604 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
19606         * textmodes/reftex.el (reftex-ref-style-toggle):
19607         Fix deactivate action.
19609         * textmodes/reftex-vars.el (reftex-ref-style-alist):
19610         Add cleveref macros.
19612         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
19613         Accept options for bibliography commands.
19614         * textmodes/reftex-vars.el (reftex-bibliography-commands):
19615         Add addbibresource.  Basic Biblatex support.
19617 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
19619         * net/tramp-gvfs.el (top):
19620         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
19621         when loading package.  (Bug#14447)
19623 2013-05-23  Glenn Morris  <rgm@gnu.org>
19625         * progmodes/js.el: No need to load comint when compiling.
19626         (ring-insert, comint-send-string, comint-send-input)
19627         (comint-last-input-end, ido-chop): Declare.
19629         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
19630         * vc/ediff-mult.el: Adjust requires.
19631         (ediff-directories-internal, ediff-directory-revisions-internal)
19632         (ediff-patch-file-internal): Declare.
19633         * vc/ediff-ptch.el: Adjust requires.
19634         (ediff-use-last-dir, ediff-buffers-internal): Declare.
19635         (ediff-find-file): Autoload.
19636         * vc/ediff-util.el: No need to load ediff when compiling.
19637         (ediff-regions-internal): Declare.
19638         * vc/ediff-wind.el: Adjust requires.
19639         (ediff-compute-toolbar-width): Define when compiling.
19640         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
19641         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
19642         (dired-get-filename, dired-get-marked-files)
19643         (ediff-last-dir-patch, ediff-patch-default-directory)
19644         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
19645         (ediff-patch-buffer-internal): Declare.
19647         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
19648         (ispell-process, ispell-buffer-local-words, lm-summary)
19649         (lm-section-start, lm-section-end): Declare.
19650         (checkdoc-ispell-init): Simplify.
19652         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
19653         (he-string-member, he-reset-string, he-substitute-string): Declare.
19655         * eshell/em-ls.el: Adjust requires.
19656         (eshell-glob-regexp): Declare.
19657         * eshell/em-tramp.el: Adjust requires.
19658         (eshell-parse-command): Autoload.
19659         * eshell/em-xtra.el: Adjust requires.
19660         (eshell-parse-command): Autoload.
19661         * eshell/esh-ext.el: Adjust requires.
19662         (eshell-parse-command, eshell-close-handles): Autoload.
19663         * eshell/esh-io.el: Adjust requires.
19664         (eshell-output-filter): Autoload.
19665         * eshell/esh-util.el: No need to load tramp when compiling.
19666         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
19667         Declare.
19668         (eshell-parse-ange-ls): Require ange-ftp and tramp.
19669         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
19670         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
19671         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
19672         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
19673         * eshell/esh-opt.el, eshell/esh-proc.el:
19674         * eshell/esh-var.el: Adjust requires.
19675         * eshell/eshell.el: Do not require esh-util twice.
19676         (eshell-add-input-to-history): Declare.
19677         (eshell-command): Check history module is active before using it.
19679         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
19681 2013-05-22  Leo Liu  <sdl.web@gmail.com>
19683         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
19685 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
19687         * autorevert.el (auto-revert-notify-add-watch)
19688         (auto-revert-notify-handler): Add `attrib' for the inotify case,
19689         it indicates changes in file modification time.
19691 2013-05-22  Glenn Morris  <rgm@gnu.org>
19693         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
19694         Always delete the autoloaded function from the noruntime and
19695         unresolved functions lists.
19697         * allout.el: No need to load epa, epg, overlay when compiling.
19698         (epg-context-set-passphrase-callback, epg-list-keys)
19699         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
19700         (epg-key-user-id-list): Declare.
19702         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
19703         (viper-set-parsing-style-toggling-macro)
19704         (viper-set-emacs-state-searchstyle-macros):
19705         Use called-interactively-p on Emacs.
19706         (viper-looking-back): Make it an obsolete alias.  Update callers.
19707         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
19708         Use looking-back rather than viper-looking-back.
19709         (viper-tmp-insert-at-eob, viper-enlarge-region)
19710         (viper-read-string-with-history, viper-register-to-point)
19711         (viper-append-to-register, viper-change-state-to-vi)
19712         (viper-backward-char-carefully, viper-forward-char-carefully)
19713         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
19714         (viper-change-state-to-emacs): Declare.
19715         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
19716         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
19717         * emulation/viper-mous.el: Do not load viper-cmd.
19718         (viper-backward-char-carefully, viper-forward-char-carefully)
19719         (viper-forward-word, viper-adjust-window): Declare.
19721         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
19723         * progmodes/idlw-help.el (idlwave-help-fontify):
19724         Use called-interactively-p.
19726         * term/w32console.el (w32-get-console-codepage)
19727         (w32-get-console-output-codepage): Declare.
19729         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
19730         Remove unnecessary declarations.
19731         (dframe-message): Doc fix.
19733         * info.el (dframe-select-attached-frame, dframe-current-frame):
19734         Declare.
19736         * speedbar.el (speedbar-message): Make it an obsolete alias.
19737         Update all callers.
19738         (speedbar-with-attached-buffer)
19739         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
19740         (speedbar-with-writable): Use backquote.
19741         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
19742         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
19743         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
19744         rather than speedbar- aliases.
19745         * mail/rmail.el: Load dframe rather than speedbar when compiling.
19746         (speedbar-make-specialized-keymap, speedbar-insert-button)
19747         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
19748         (speedbar-do-function-pointer): Declare.
19749         (rmail-speedbar-button, rmail-speedbar-find-file)
19750         (rmail-speedbar-move-message):
19751         Use dframe-with-attached-buffer rather than speedbar- alias.
19752         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
19753         (dframe-message, speedbar-make-specialized-keymap)
19754         (speedbar-add-expansion-list, speedbar-mode-functions-list)
19755         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
19756         (speedbar-insert-button, dframe-select-attached-frame)
19757         (dframe-maybee-jump-to-attached-frame)
19758         (speedbar-change-initial-expansion-list)
19759         (speedbar-previously-used-expansion-list-name): Declare.
19760         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
19761         Use dframe-message, dframe-with-attached-buffer rather than
19762         speedbar- aliases.
19763         (gud-sentinel): Silence compiler.
19764         * progmodes/vhdl-mode.el (speedbar-refresh)
19765         (speedbar-do-function-pointer, speedbar-add-supported-extension)
19766         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
19767         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
19768         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
19769         (speedbar-file-lists, speedbar-make-tag-line)
19770         (speedbar-line-directory, speedbar-goto-this-file)
19771         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
19772         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
19773         (speedbar-make-button, speedbar-reset-scanners)
19774         (speedbar-files-item-info, speedbar-line-text)
19775         (speedbar-find-file-in-frame, speedbar-set-timer)
19776         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
19777         (speedbar-with-writable): Do not (re)define it.
19778         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
19779         rather than speedbar- alias.
19781 2013-05-21  Leo Liu  <sdl.web@gmail.com>
19783         * progmodes/octave.el (octave-mode-menu): Update and re-organize
19784         menu items.
19785         (octave-mode): Tweak fill-nobreak-predicate.
19786         (inferior-octave-startup): Check process to avoid infinite loop.
19787         (inferior-octave): Pop to buffer first to show abornmal process
19788         exit information.
19790 2013-05-21  Glenn Morris  <rgm@gnu.org>
19792         * printing.el (pr-menu-bar): Define when compiling.
19794 2013-05-21  Leo Liu  <sdl.web@gmail.com>
19796         * progmodes/octave.el (octave-auto-fill): Remove.
19797         (octave-indent-new-comment-line): Improve.
19798         (octave-mode): Use auto fill mode through
19799         comment-line-break-function and fill-nobreak-predicate.
19800         (octave-goto-function-definition): Support DEFUN_DLD.
19801         (octave-beginning-of-defun): Small tweak.
19802         (octave-help): Show parent directory.
19804 2013-05-21  Glenn Morris  <rgm@gnu.org>
19806         * files.el (dired-unmark):
19807         * progmodes/gud.el (gdb-input): Update declarations.
19809         * calculator.el (electric, ehelp): No need to load when compiling.
19810         (Electric-command-loop, electric-describe-mode): Declare.
19812         * doc-view.el (doc-view-current-converter-processes): Move before use.
19814         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19815         Move MODE-set-explicitly definition before use.
19817         * international/mule-diag.el (mule-diag):
19818         Don't use obsolete window-system-version.
19820         * mail/feedmail.el (smtpmail): No need to load when compiling.
19821         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
19823         * mail/mail-utils.el (rfc822): No need to load when compiling.
19824         (rfc822-addresses): Autoload it.
19825         (mail-strip-quoted-names): Trivial simplification.
19827         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
19828         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
19830         * net/snmp-mode.el (tempo): Don't duplicate requires.
19832         * progmodes/prolog.el (info): No need to load when compiling.
19833         (comint): Require before shell requires it.
19834         (Info-goto-node): Autoload it.
19835         (Info-follow-nearest-node): Declare.
19836         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
19838         * textmodes/artist.el (picture-mode-exit): Declare.
19840         * textmodes/reftex-parse.el (reftex-parse-from-file):
19841         Trivial rewrite so the compiler can parse it better.
19843 2013-05-20  Leo Liu  <sdl.web@gmail.com>
19845         * progmodes/octave.el (octave-help-mode-map)
19846         (octave-help-mode-finish-hook): New variables.
19847         (octave-help-mode, octave-help-mode-finish): New functions.
19848         (octave-help): Use octave-help-mode.
19850 2013-05-20  Glenn Morris  <rgm@gnu.org>
19852         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
19854 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
19856         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
19857         start at point, so that expansion starting right after opening
19858         slash in a regexp is recognized.
19859         (ruby-syntax-before-regexp-re): New defvar, extracted from
19860         ruby-syntax-propertize-function.  Since the value of this regexp
19861         is looked up at runtime now, we should be able to turn
19862         `ruby-syntax-methods-before-regexp' into a defcustom later.
19863         (ruby-syntax-propertize-function): Split regexp matching into two
19864         parts, for opening and closing slashes.  That allows us to skip
19865         over string interpolations and support multiline regexps.
19866         Don't call `ruby-syntax-propertize-expansions', instead use another rule
19867         for them, which calls `ruby-syntax-propertize-expansion'.
19868         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
19869         call to `ruby-syntax-propertize-function'.
19870         (ruby-syntax-propertize-expansion): Extracted from
19871         `ruby-syntax-propertize-expansions'.  Handles one expansion.
19872         (ruby-syntax-propertize-percent-literal): Leave point right after
19873         the percent symbol, so that the expression expansion rule can
19874         propertize the contents.
19875         (ruby-syntax-propertize-heredoc): Leave point at bol following the
19876         heredoc openers.
19877         (ruby-syntax-propertize-expansions): Remove.
19879 2013-05-18  Juri Linkov  <juri@jurta.org>
19881         * man.el (Man-default-man-entry): Remove `-' from the end
19882         of the default value.  (Bug#14400)
19884 2013-05-18  Glenn Morris  <rgm@gnu.org>
19886         * comint.el (comint-password-prompt-regexp):
19887         Allow "password for XXX" where XXX contains colons (eg https://...).
19889 2013-05-18  Leo Liu  <sdl.web@gmail.com>
19891         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
19892         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
19893         (octave-source-directories): Don't check process.
19894         (octave-source-directories, octave-find-definition): Doc fix.
19896 2013-05-18  Glenn Morris  <rgm@gnu.org>
19898         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
19899         Remove backspace/delete bindings.  (Bug#14392)
19901         * cus-dep.el (custom-make-dependencies): Sort the output.
19902         (custom-versions-load-alist): Convert comment to doc.
19904 2013-05-17  Leo Liu  <sdl.web@gmail.com>
19906         * newcomment.el (comment-search-backward): Stricter in finding
19907         comment start.  (Bug#14303)
19909         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
19910         (octave-comment-start-skip): Properly anchored.
19912 2013-05-17  Leo Liu  <sdl.web@gmail.com>
19914         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
19915         Clean up when turned off.  (Bug#14395)
19916         (smie--highlight-matching-block-overlay): No longer buffer-local.
19917         (smie-highlight-matching-block): Adjust.
19919 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
19921         Doc string fix for "nanoseconds" (Bug#14406).
19922         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
19923         Fix doc string typo that had "nanoseconds" instead of "microseconds".
19925 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
19927         * calc/calc-units.el (math-extract-units): Preserve powers
19928         of units.
19930 2013-05-17  Leo Liu  <sdl.web@gmail.com>
19932         * subr.el (delete-consecutive-dups): New function.
19933         * ido.el (ido-set-matches-1): Use it.
19934         * progmodes/octave.el (inferior-octave-completion-table): Use it.
19935         * ido.el (ido-remove-consecutive-dups): Remove.
19937 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19939         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19940         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
19941         regexp-opt's `words'.
19943 2013-05-16  Leo Liu  <sdl.web@gmail.com>
19945         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
19946         (smie--highlight-matching-block-overlay)
19947         (smie--highlight-matching-block-lastpos)
19948         (smie--highlight-matching-block-timer): New variables.
19949         (smie-highlight-matching-block): New function.
19950         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
19951         (smie-setup): Conditionally enable smie-blink-matching-open.
19953 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
19955         Sync with upstream verilog-mode r840.
19956         * progmodes/verilog-mode.el (verilog-mode-version)
19957         (verilog-mode-release-date): Update.
19958         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
19959         (verilog-sig-tieoff): Fix string error on
19960         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
19961         (verilog-read-decls): Fix parameters confusing
19962         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
19964 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
19966         * subr.el (reveal-filename): New function.
19968         * loadup.el: Compute Emacs executable versions on MS-Windows,
19969         where executables have the .exe extension.  Add a hard link
19970         emacs-XX.YY.ZZ.exe on MS-Windows.
19972         * Makefile.in (XARGS_LIMIT): New variable.
19973         (custom-deps, finder-data, autoloads)
19974         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
19975         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
19976         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
19977         (compile-main): Limit xargs according to $(XARGS_LIMIT).
19979 2013-05-16  Leo Liu  <sdl.web@gmail.com>
19981         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
19982         (octave-mode-menu, octave-mode-map): Remove its uses.
19984 2013-05-16  Reto Zimmermann  <reto@gnu.org>
19986         Sync with upstream vhdl mode v3.34.2.
19987         * progmodes/vhdl-mode.el: Use `push' throughout.
19988         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
19989         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
19990         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
19991         (vhdl-actual-generic-name): New option to derive actual generic name.
19992         (vhdl-port-paste-signals): Replace formal by actual generics.
19993         (vhdl-beautify): New name for old group vhdl-align.  Update users.
19994         (vhdl-beautify-options): New option.
19995         (vhdl-last-input-event): New compat alias.  Use throughout.
19996         (vhdl-goto-line): Replace user level function `goto-line'.
19997         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
19998         vhdl-fix-statement-buffer.
19999         (vhdl-create-mode-menu): Add some entries.
20000         (vhdl-align-region-groups): Respect vhdl-beautify-options.
20001         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
20002         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
20003         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
20004         to force statements on one line.
20005         (vhdl-remove-trailing-spaces-region):
20006         New, split from vhdl-remove-trailing-spaces.
20007         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
20008         Respect vhdl-beautify-options.
20009         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
20010         (vhdl-update-sensitivity-list): Not add with index if exists without.
20011         Not include array index with signal.  Ignore keywords in comments.
20012         (vhdl-get-visible-signals): Regexp tweaks.
20013         (vhdl-template-component-inst): Handle empty library.
20014         (vhdl-template-type): Add template for 'enum' type.
20015         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
20016         Use vhdl-replace-string.
20017         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
20018         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
20019         (vhdl-speedbar-initialize): Update for above name change.
20020         (vhdl-compose-wire-components): Fix in handling of constants.
20021         (vhdl-error-regexp-emacs-alist): New variable.
20022         (vhdl-error-regexp-add-emacs): New function;
20023         adds support for new compile.el (Emacs 22+)
20024         (vhdl-generate-makefile-1): Change target order for single lib. units.
20025         Allow use of absolute file names.
20027 2013-05-16  Leo Liu  <sdl.web@gmail.com>
20029         * simple.el (prog-indent-sexp): Indent enclosing defun.
20031 2013-05-15  Glenn Morris  <rgm@gnu.org>
20033         * cus-start.el (show-trailing-whitespace): Move to editing basics.
20034         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
20035         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
20036         (whitespace-highlight): Move to whitespace group.
20038         * comint.el (comint-source):
20039         * pcmpl-linux.el (pcmpl-linux):
20040         * shell.el (shell-faces):
20041         * eshell/esh-opt.el (eshell-opt):
20042         * international/ccl.el (ccl): Remove empty custom groups.
20044         * completion.el (dynamic-completion-mode):
20045         * jit-lock.el (jit-lock-debug-mode):
20046         * minibuffer.el (completion-in-region-mode):
20047         * type-break.el (type-break-mode-line-message-mode)
20048         (type-break-query-mode):
20049         * emulation/tpu-edt.el (tpu-edt-mode):
20050         * progmodes/subword.el (global-subword-mode, global-superword-mode):
20051         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
20052         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
20054         * term/xterm.el (xterm): Change parent group to terminals.
20056         * master.el (master): Remove empty custom group.
20057         (master-mode): Remove unused :group argument.
20058         * textmodes/refill.el (refill): Remove empty custom group.
20059         (refill-mode): Remove unused :group argument.
20061         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
20063         * cus-dep.el: Provide a feature.
20064         (custom-make-dependencies): Ignore dotfiles (dir-locals).
20065         Don't mistakenly ignore files whose basenames match a basename
20066         from preloaded-file-list (eg cedet/ede/simple.el).
20067         Add a fallback method for getting :group.
20069 2013-05-15  Juri Linkov  <juri@jurta.org>
20071         * isearch.el (isearch-char-by-name): Rename from
20072         `isearch-insert-char-by-name'.  Doc fix.
20073         (isearch-forward): Mention `isearch-char-by-name' in
20074         the docstring.  (Bug#13348)
20076         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
20077         `exit-minibuffer' instead of
20078         `isearch-nonincremental-exit-minibuffer'.
20079         (isearch-edit-string): Remove mention of
20080         `isearch-nonincremental-exit-minibuffer' from docstring.
20081         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
20082         (isearch-forward-exit-minibuffer)
20083         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
20085 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20087         * loadup.el: Just use unversioned DOC.
20089         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
20090         literals as extending to EOB.
20091         (nxml-last-fontify-end): Remove unused variable.
20092         (nxml-after-change1): Use with-silent-modifications.
20093         (nxml-extend-after-change-region): Simplify.
20094         (nxml-extend-after-change-region1): Remove function.
20095         (nxml-after-change1): Don't adjust for dependent regions.
20096         (nxml-fontify-matcher): Simplify.
20097         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
20098         (xmltok-add-dependent): Remove function.
20099         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
20100         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
20101         (xmltok-scan-prolog-after-processing-instruction-open): Treat
20102         unclosed <[[, <?, comment, and other literals as extending to EOB.
20103         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
20104         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
20105         Remove functions.
20106         (rng-do-some-validation-1): Don't mark dependent regions.
20107         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
20108         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
20109         (nxml-clear-dependent-regions): Remove functions.
20110         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
20111         (nxml-ensure-scan-up-to-date):
20112         Don't clear&mark dependent regions.
20114 2013-05-15  Leo Liu  <sdl.web@gmail.com>
20116         * progmodes/octave.el (octave-goto-function-definition):
20117         Improve and fix callers.
20119 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20121         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
20122         the setter (bug#14387).
20124         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
20125         surrounding group (bug#14402).
20127 2013-05-14  Juri Linkov  <juri@jurta.org>
20129         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
20130         (Bug#14390)
20132 2013-05-14  Glenn Morris  <rgm@gnu.org>
20134         * progmodes/f90.el (f90-imenu-generic-expression):
20135         Fix typo in 2013-05-08 change.  (Bug#14402)
20137 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
20139         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
20140         Remove signals for which replies are never received.
20142 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
20144         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
20145         (gdb-handler-alist, gdb-handler-number): Remove variables.
20146         (gdb-handler-list): New variable.
20147         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
20148         (gdb-pending-handler-p, gdb-handle-reply)
20149         (gdb-remove-all-pending-triggers): New functions.
20150         (gdb-discard-unordered-replies): New defcustom.
20151         (gdb-handler): New defstruct.
20152         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
20153         instead of gdb-pending-triggers.  Update docstring.
20154         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
20155         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
20156         (gdb-var-update-handler, def-gdb-auto-update-trigger)
20157         (def-gdb-auto-update-handler, gdb-get-changed-registers)
20158         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
20159         (gdb-frame-handler): Pending triggers are now automatically managed.
20160         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
20161         Remove argument.
20162         (gdb-input): Automatically handles pending triggers.  Update docstring.
20163         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
20164         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
20165         Update comments.
20166         (gdb-done-or-error): Now use gdb-handle-reply.
20168 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
20170         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
20171         gdb-debug-log.
20173 2013-05-14  Glenn Morris  <rgm@gnu.org>
20175         * subr.el (user-emacs-directory-warning): New option.
20176         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
20178 2013-05-14  Leo Liu  <sdl.web@gmail.com>
20180         * progmodes/octave.el (octave-font-lock-keywords): Fix error
20181         during redisplay.
20182         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
20183         (octave-font-lock-texinfo-comment): Fix invalid search bound
20184         error: wrong side of point.
20186 2013-05-14  Glenn Morris  <rgm@gnu.org>
20188         * progmodes/flymake.el (flymake-xml-program): New option.
20189         (flymake-xml-init): Use it.
20191         * term/xterm.el: Provide a feature.
20193         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
20195 2013-05-13  Glenn Morris  <rgm@gnu.org>
20197         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
20198         Add compat aliases as a hack workaround.  (Bug#14384)
20200 2013-05-13  Leo Liu  <sdl.web@gmail.com>
20202         * progmodes/octave.el (octave-indent-comment): Fix indentation for
20203         ###, and %!.
20204         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
20205         C-M-q.
20206         (octave-comment-start-skip): Include %!.
20207         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
20209 2013-05-12  Leo Liu  <sdl.web@gmail.com>
20211         * progmodes/octave.el (inferior-octave-startup): Store the value
20212         of __octave_srcdir__ for octave-source-directories.
20213         (inferior-octave-check-process): New function refactored out of
20214         inferior-octave-send-list-and-digest.
20215         (octave-source-directories)
20216         (octave-find-definition-filename-function): New variables.
20217         (octave-source-directories)
20218         (octave-find-definition-default-filename): New functions.
20219         (octave-find-definition): Improve to find functions implemented in C++.
20221 2013-05-12  Glenn Morris  <rgm@gnu.org>
20223         * calendar/diary-lib.el (diary-outlook-format-1):
20224         Don't include dayname in the output.  (Bug#14349)
20226 2013-05-11  Glenn Morris  <rgm@gnu.org>
20228         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
20230         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
20231         Treat cc-provide like provide.
20233 2013-05-11  Kevin Ryde  <user42@zip.com.au>
20235         * cus-dep.el (custom-make-dependencies):
20236         Use generated-autoload-load-name for the sake of files such
20237         such cedet/semantic/bovine/c.el, where the base file name
20238         is not in load-path.  (Bug#5277)
20240 2013-05-11  Glenn Morris  <rgm@gnu.org>
20242         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
20243         Provide features.
20245 2013-05-11  Leo Liu  <sdl.web@gmail.com>
20247         * progmodes/octave.el (octave-indent-comment): Improve.
20248         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
20249         (octave-eldoc-function-signatures, octave-eldoc-function):
20250         New functions.
20251         (octave-mode, inferior-octave-mode): Add eldoc support.
20253 2013-05-11  Richard Stallman  <rms@gnu.org>
20255         * epa.el (epa-decrypt-file): Take output file name as argument
20256         and read it using `interactive'.
20258 2013-05-11  Leo Liu  <sdl.web@gmail.com>
20260         * progmodes/octave.el (octave-beginning-of-line)
20261         (octave-end-of-line): Check before using up-list because it jumps
20262         out of more syntactic contructs since moving to smie.
20263         (octave-indent-comment): New function.
20264         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
20265         (octave-begin-keywords, octave-end-keywords)
20266         (octave-reserved-words, octave-smie-bnf-table)
20267         (octave-smie-rules): Add new keywords from Octave 3.6.4.
20269 2013-05-11  Glenn Morris  <rgm@gnu.org>
20271         * faces.el (internal-face-x-get-resource):
20272         * frame.el (ns-display-monitor-attributes-list):
20273         * calc/calc-aent.el (math-to-radians-2):
20274         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
20275         Fix declarations.
20277         * calc/calc-menu.el: Make it loadable in isolation.
20279         * net/eudcb-bbdb.el: Make it loadable without bbdb.
20280         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
20281         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
20282         (eudc-bbdb-query-internal): Require 'bbdb.
20284         * lpr.el (lpr-headers-switches):
20285         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
20287         * progmodes/sql.el (sql-login-params): Fix and improve :type.
20289         * emulation/edt-mapper.el: In batch mode, error rather than hang.
20291         * term.el (term-set-escape-char): Make it idempotent.
20293 2013-05-10  Leo Liu  <sdl.web@gmail.com>
20295         * progmodes/octave.el (inferior-octave-completion-table):
20296         No longer a function and all uses changed.  Use cache to speed up
20297         completion due to bug#11906.
20298         (octave-beginning-of-defun): Re-write to be more general.
20300 2013-05-10  Glenn Morris  <rgm@gnu.org>
20302         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
20304 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
20306         * comint.el (comint-redirect-send-command-to-process): Use :around
20307         rather than :override for comint-redirect-filter.
20308         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
20309         Call it instead of comint-redirect-original-filter-function (which
20310         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
20312 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
20314         * frame.el (display-monitor-attributes-list): Add NS case.
20315         (ns-display-monitor-attributes-list): Declare.
20317 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
20319         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
20321 2013-05-09  Glenn Morris  <rgm@gnu.org>
20323         * international/fontset.el (vertical-centering-font-regexp):
20324         Set standard-value.
20326         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
20328         * bookmark.el (bookmark-search-delay):
20329         * cus-start.el (vertical-centering-font-regexp):
20330         * ps-mule.el (ps-mule-font-info-database-default):
20331         * ps-print.el (ps-default-fg, ps-default-bg):
20332         * type-break.el (type-break-good-break-interval):
20333         * whitespace.el (whitespace-indentation-regexp)
20334         (whitespace-space-after-tab-regexp):
20335         * emacs-lisp/testcover.el (testcover-1value-functions)
20336         (testcover-noreturn-functions, testcover-progn-functions)
20337         (testcover-prog1-functions):
20338         * emulation/viper-init.el (viper-emacs-state-cursor-color):
20339         * eshell/em-glob.el (eshell-glob-translate-alist):
20340         * play/tetris.el (tetris-tty-colors):
20341         * progmodes/cpp.el (cpp-face-default-list):
20342         * progmodes/flymake.el (flymake-allowed-file-name-masks):
20343         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
20344         (idlwave-help-browser-generic-args):
20345         * progmodes/make-mode.el (makefile-special-targets-list):
20346         * progmodes/python.el (python-shell-virtualenv-path):
20347         * progmodes/verilog-mode.el (verilog-active-low-regexp)
20348         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
20349         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
20350         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
20351         * textmodes/reftex-vars.el (reftex-format-label-function):
20352         * textmodes/remember.el (remember-diary-file): Fix custom types.
20354         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
20355         Add :version.
20357 2013-05-09  Leo Liu  <sdl.web@gmail.com>
20359         * progmodes/octave.el (inferior-octave-completion-at-point):
20360         Restore file completion.  (Bug#14300)
20361         (inferior-octave-startup): Fix incorrect highlighting for the
20362         first prompt.
20364 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
20366         * progmodes/ruby-mode.el: First cut at SMIE support.
20367         (ruby-use-smie): New var.
20368         (ruby-smie-grammar): New constant.
20369         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
20370         (ruby-smie--forward-token, ruby-smie--backward-token)
20371         (ruby-smie-rules): New functions.
20372         (ruby-mode-variables): Setup SMIE if applicable.
20374 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
20376         * simple.el (line-move-visual): Signal beginning/end of buffer
20377         only if vertical-motion moved less than it was requested.  Avoids
20378         silly incorrect error messages when there are display strings with
20379         multiple newlines at EOL.
20381 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
20383         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
20384         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
20385         (prolog-char-quote-workaround):
20386         * progmodes/cperl-mode.el (cperl-under-as-char):
20387         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
20388         Mark as obsolete.
20389         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
20390         their declaration.
20391         (vhdl-mode-syntax-table-init): Remove.
20393         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
20394         last change.
20396         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
20397         syntax for "_".
20398         (ld-script-font-lock-keywords):
20399         Change regexps to use things like \_< and \_>.
20401         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
20402         Change all regexps to use things like \_< and \_>.
20404         * progmodes/autoconf.el (autoconf-definition-regexp)
20405         (autoconf-font-lock-keywords, autoconf-current-defun-function):
20406         Handle a _ with symbol syntax.
20407         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
20409         * progmodes/ada-mode.el (ada-mode-abbrev-table):
20410         Consolidate declaration.
20411         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
20412         the declaration.
20413         (ada-create-syntax-table): Remove.
20414         (ada-capitalize-word): Don't mess with the syntax of "_" since it
20415         already has the right syntax nowadays.
20416         (ada-goto-next-word): Don't change the syntax of "_".
20418         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
20419         with-wrapper-hook.
20421 2013-05-08  Sam Steingold  <sds@gnu.org>
20423         * thingatpt.el (thing-at-point): Accept optional second argument
20424         NO-PROPERTIES to strip the text properties from the return value.
20425         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
20426         to `thing-at-point' instead of stripping the properties ourselves.
20427         Also, when `thing-at-point' fails to find a url, prepend "http://"
20428         to the filename at point on the assumption that the user is
20429         pointing at something like gnu.org/gnu.
20431 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
20433         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
20434         * faces.el (crm-separator):
20435         Silence byte-compiler.
20437         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
20438         (tool-bar-map): Remove unneeded defvars.
20440 2013-05-08  Leo Liu  <sdl.web@gmail.com>
20442         Re-work a fix for bug#10994 based on Le Wang's patch.
20443         * ido.el (ido-remove-consecutive-dups): New helper.
20444         (ido-completing-read): Use it.
20445         (ido-chop): Revert fix for bug#10994.
20447 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
20449         * cus-edit.el (custom-save-variables):
20450         Pretty-print long values.  (Bug#14187)
20452 2013-05-08  Glenn Morris  <rgm@gnu.org>
20454         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
20455         (m4-mode-syntax-table): Init in the defvar.
20456         (m4-mode-abbrev-table): Let define-derived-mode define it.
20458 2013-05-08  Tom Tromey  <tromey@redhat.com>
20460         * progmodes/m4-mode.el (m4-mode-syntax-table):
20461         Do not treat "_" as word constituent.  (Bug#14167)
20463 2013-05-07  Glenn Morris  <rgm@gnu.org>
20465         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
20466         Remove explicit eshell-isearch-cancel-map.
20468         * progmodes/f90.el (f90-smart-end-names): New option.
20469         (f90-smart-end): Doc fix.
20470         (f90-end-block-optional-name): New constant.
20471         (f90-block-match): Respect f90-smart-end-names.
20473 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
20475         * progmodes/octave.el (octave-smie-forward-token): Be more careful
20476         about implicit semi-colons (bug#14218).
20478 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
20480         * frame.el (display-monitor-attributes-list)
20481         (frame-monitor-attributes): New functions.
20483 2013-05-06  Leo Liu  <sdl.web@gmail.com>
20485         * progmodes/octave.el (octave-syntax-propertize-function): Change
20486         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
20487         (octave-font-lock-keywords): Use octave-operator-regexp.
20488         (octave-completion-at-point): Rename from
20489         octave-completion-at-point-function.
20490         (inferior-octave-directory-tracker): Robustify.
20491         (octave-text-functions): Remove and fix its uses.  No such things
20492         any more.
20494 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
20496         * emacs-lisp/trace.el (trace--display-buffer): New function.
20497         (trace-make-advice): Use it.
20499 2013-05-06  Juri Linkov  <juri@jurta.org>
20501         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
20502         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
20503         Doc fix.
20504         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
20505         in the help string.  (Bug#12985)
20507 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
20509         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
20511 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
20513         * progmodes/perl-mode.el: Add support for here documents.
20514         (perl-syntax-propertize-function): Match here-doc markers.
20515         (perl-syntax-propertize-special-constructs): Find their end.
20516         (perl-imenu-generic-expression): Use [:alnum:].
20518         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
20519         (advice--add-function): Refresh the advice if already present
20520         (bug#14317).
20522 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
20524         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
20526 2013-05-06  Glenn Morris  <rgm@gnu.org>
20528         * w32-fns.el (w32-charset-info-alist): Declare.
20530         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
20531         of its defcustom properties.
20532         (eshell-cmpl-initialize): No need to load pcomplete.
20534         * generic-x.el: No need to require comint when compiling.
20536         * net/eudc-export.el: Make it loadable without bbdb.
20537         (top-level): Use require rather than load-library.
20538         (eudc-create-bbdb-record, eudc-bbdbify-phone)
20539         (eudc-batch-export-records-to-bbdb)
20540         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
20541         Require bbdb.
20543 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
20545         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
20546         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
20547         some tweaks, instead.
20549 2013-05-05  Leo Liu  <sdl.web@gmail.com>
20551         * progmodes/octave.el (octave-font-lock-keywords)
20552         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
20553         (inferior-octave-send-list-and-digest): Improve error message.
20554         (octave-mode, inferior-octave-mode): Use setq-local.
20555         (octave-help): Set info-lookup-mode.
20557 2013-05-05  Richard Stallman  <rms@gnu.org>
20559         * vc/compare-w.el (compare-windows-whitespace):
20560         Treat no-break space as whitespace.
20562         * mail/rmailsum.el (rmail-summary-rmail-update):
20563         Detect empty summary and don't change selected message.
20564         (rmail-summary-goto-msg): Likewise.
20566         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
20567         Doc fixes, rename args.
20569 2013-05-05  Alan Mackenzie  <acm@muc.de>
20571         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
20573 2013-05-05  Juri Linkov  <juri@jurta.org>
20575         * info.el (Info-read-subfile): Use (point-min) instead of (point)
20576         to not add the length of the summary segment to the return value.
20577         (Bug#14125)
20579 2013-05-05  Leo Liu  <sdl.web@gmail.com>
20581         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
20582         (inferior-octave-output-filter): Remove.
20583         (octave-send-region, inferior-octave-startup): Fix callers.
20584         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
20585         (octave-binary-file-extensions): New user variable.
20586         (octave-find-definition): Confirm if opening binary files.
20587         (octave-help-file): Use octave-find-definition to get the binary
20588         confirmation.
20589         (octave-help): Adjust for octave-help-file change.
20591 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20593         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
20594         Merge the two entries that handle function definitions.
20595         (pascal--syntax-propertize): New const.
20596         (pascal-mode): Use it.  Use setq-local.
20598 2013-05-04  Glenn Morris  <rgm@gnu.org>
20600         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
20601         (diary-from-outlook): Respect diary-from-outlook-function.
20603 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20605         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
20606         Move the declaration from C.
20607         (read-minibuffer, eval-minibuffer): Move from C.
20608         (completion-setup-function): Avoid minibuffer-completion-contents.
20610 2013-05-03  Leo Liu  <sdl.web@gmail.com>
20612         * progmodes/octave.el (octave-font-lock-keywords): Do not
20613         dehighlight 'end' in comments or strings.
20614         (octave-completing-read, octave-goto-function-definition):
20615         New helpers.
20616         (octave-help-buffer): New user variable.
20617         (octave-help-file, octave-help-function): New button types.
20618         (octave-help): New command and bind it to C-h ;.
20619         (octave-find-definition): New command and bind it to M-.
20620         (user-error): Alias to error if not defined.
20622 2013-05-02  Leo Liu  <sdl.web@gmail.com>
20624         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
20625         for \.  (bug#14332)
20626         (octave-font-lock-keywords): Include [ and {.
20628 2013-05-02  Leo Liu  <sdl.web@gmail.com>
20630         * progmodes/octave.el (inferior-octave-startup-file): Change default.
20631         (inferior-octave): Remove calling comint-mode and return the buffer.
20632         (inferior-octave-startup): Cosmetic changes.
20634 2013-05-02  Leo Liu  <sdl.web@gmail.com>
20636         * progmodes/octave.el (octave-syntax-propertize-function):
20637         Include the case when ' is at line beginning.  (Bug#14336)
20639 2013-05-02  Glenn Morris  <rgm@gnu.org>
20641         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
20642         * desktop.el (vc-dir-mode): Just autoload it here.
20644 2013-05-02  Alan Mackenzie  <acm@muc.de>
20646         Eliminate variable c-standard-font-lock-fontify-region-function.
20647         * progmodes/cc-mode.el
20648         (c-standard-font-lock-fontify-region-function): Remove.
20649         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
20651 2013-05-01  Leo Liu  <sdl.web@gmail.com>
20653         * progmodes/octave.el: Compatible with older emacs-24 releases.
20654         (inferior-octave-has-built-in-variables): Remove.  Built-in
20655         variables were removed from Octave in 2007.
20656         (inferior-octave-startup): Fix uses.
20657         (comint-line-beginning-position): Remove compatibility code for
20658         emacs 21.
20660 2013-05-01  Juri Linkov  <juri@jurta.org>
20662         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
20664 2013-05-01  Juri Linkov  <juri@jurta.org>
20666         * comint.el (comint-previous-matching-input): Don't print message
20667         "History item: %d" when `isearch-mode' is active.
20668         (comint-history-isearch-message): Print message "History item: %d"
20669         when `comint-input-ring-index' is not empty and this function is
20670         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
20672 2013-05-01  Leo Liu  <sdl.web@gmail.com>
20674         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
20675         definitions.  Use completion-at-point to insert keywords.
20676         (octave-abbrev-start): Remove.
20677         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
20679 2013-04-30  Leo Liu  <sdl.web@gmail.com>
20681         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
20682         change.
20684 2013-04-30  Alan Mackenzie  <acm@muc.de>
20686         Handle arbitrarily long C++ member initialisation lists.
20687         * progmodes/cc-engine.el (c-back-over-member-initializers):
20688         new function.
20689         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
20690         (most) member init lists.
20692 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
20694         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
20695         variable.
20697 2013-04-30  Leo Liu  <sdl.web@gmail.com>
20699         * progmodes/octave.el (octave-variables): Remove.  No builtin
20700         variables any more.  All converted to functions.
20701         (octave-font-lock-keywords, octave-completion-at-point-function):
20702         Fix uses.
20703         (octave-font-lock-texinfo-comment): New user variable.
20704         (octave-texinfo-font-lock-keywords): New variable for texinfo
20705         comment block.
20706         (octave-function-comment-block): New face.
20707         (octave-font-lock-texinfo-comment): New function.
20708         (octave-mode): Font lock texinfo comment block.
20710 2013-04-29  Leo Liu  <sdl.web@gmail.com>
20712         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
20713         indexing expression.
20714         (octave-continuation-string): Do not use \.
20715         (inferior-octave-complete-impossible): Remove.
20716         (inferior-octave-completion-table)
20717         (inferior-octave-completion-at-point): Remove its uses.
20718         (inferior-octave-startup): completion_matches was introduced to
20719         Octave in 1996 so safe to assume it.
20720         (octave-function-file-comment): Improve to follow how Octave does it.
20721         (octave-update-function-file-comment): Tweak.
20723 2013-04-29  Leo Liu  <sdl.web@gmail.com>
20725         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
20726         (inferior-octave-startup): Remove inferior-octave-startup-hook.
20727         (octave-function-file-comment): Fix typo.
20728         (octave-sync-function-file-names): Use read-char-choice.
20730 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
20732         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
20733         to t for the less important warnings.
20735 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
20737         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
20739 2013-04-27  Glenn Morris  <rgm@gnu.org>
20741         * vc/log-view.el (log-view-current-entry):
20742         Treat "---" separator lines as part of the following rev.  (Bug#14169)
20744 2013-04-27  Juri Linkov  <juri@jurta.org>
20746         * subr.el (read-number): Doc fix about using it by interactive
20747         code letter `n'.  (Bug#14254)
20749 2013-04-27  Juri Linkov  <juri@jurta.org>
20751         * desktop.el (desktop-auto-save-timeout): New option.
20752         (desktop-file-checksum): New variable.
20753         (desktop-save): Add optional arg `auto-save' and don't auto-save
20754         if nothing changed.
20755         (desktop-auto-save-timer): New variable.
20756         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
20757         (after-init-hook): Call `desktop-auto-save-set-timer'.
20758         Suggested by Reuben Thomas <rrt@sc3d.org> in
20759         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
20761 2013-04-27  Leo Liu  <sdl.web@gmail.com>
20763         * progmodes/octave.el (octave-function-file-p)
20764         (octave-skip-comment-forward, octave-function-file-comment)
20765         (octave-update-function-file-comment): New functions.
20766         (octave-mode-map): Bind C-c ; to
20767         octave-update-function-file-comment.
20768         (octave-mode-menu): Add octave-update-function-file-comment.
20769         (octave-mode, inferior-octave-mode): Fix doc-string.
20770         (octave-insert-defun): Conform to Octave's coding convention.
20771         (Bug#14285)
20773         * files.el (basic-save-buffer): Don't let errors in
20774         before-save-hook prevent saving buffer.
20776 2013-04-20  Roland Winkler  <winkler@gnu.org>
20778         * faces.el (read-face-name): Use completing-read if arg multiple
20779         is nil.
20781 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
20783         * ls-lisp.el (ls-lisp-insert-directory): If no files are
20784         displayed, move point to after the totals line.
20785         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
20786         for the details.
20788 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20790         * emacs-lisp/package.el (package-autoload-ensure-default-file):
20791         Add current dir to the load-path.
20792         (package-generate-autoloads): Don't rely on
20793         autoload-ensure-default-file.
20795 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
20797         * textmodes/remember.el (remember-store-in-files): Document that
20798         the file name format is passed to `format-time-string'.
20800 2013-04-26  Leo Liu  <sdl.web@gmail.com>
20802         * progmodes/octave.el (octave-sync-function-file-names): New function.
20803         (octave-mode): Use it in before-save-hook.
20805 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20807         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
20808         (bug#14274).
20810         * progmodes/octave.el (octave-smie-forward-token): Properly skip
20811         \n and comment, even if it's not an implicit ; (bug#14218).
20813 2013-04-26  Glenn Morris  <rgm@gnu.org>
20815         * subr.el (read-number): Once more use `read' rather than
20816         `string-to-number', to trap non-numeric input.  (Bug#14254)
20818 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
20820         * emacs-lisp/syntax.el (syntax-propertize-multiline):
20821         Use `syntax-multiline' text property consistently instead of
20822         `font-lock-multiline'.  (Bug#14237)
20824 2013-04-26  Glenn Morris  <rgm@gnu.org>
20826         * emacs-lisp/shadow.el (list-load-path-shadows):
20827         No longer necessary to check for duplicate simple.el, since
20828         2012-07-07 change to init_lread to not include installation lisp
20829         directories in load-path when running uninstalled.  (Bug#14270)
20831 2013-04-26  Leo Liu  <sdl.web@gmail.com>
20833         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
20834         (octave-mode, inferior-octave-mode): Use setq-local.
20835         (octave-not-in-string-or-comment-p): Rename to
20836         octave-in-string-or-comment-p.
20837         (octave-in-comment-p, octave-in-string-p)
20838         (octave-in-string-or-comment-p): Replace defsubst with defun.
20840 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
20842         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
20844 2013-04-25  Bastien Guerry  <bzg@gnu.org>
20846         * textmodes/remember.el (remember-data-directory)
20847         (remember-directory-file-name-format): Fix custom types.
20849 2013-04-25  Leo Liu  <sdl.web@gmail.com>
20851         * progmodes/octave.el (octave-completion-at-point-function):
20852         Make use of inferior octave process.
20853         (octave-initialize-completions): Remove.
20854         (inferior-octave-completion-table): New function.
20855         (inferior-octave-completion-at-point): Use it.
20856         (octave-completion-alist): Remove.
20858 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
20860         * progmodes/opascal.el: Use font-lock and syntax-propertize.
20861         (opascal-mode-syntax-table): New var.
20862         (opascal-literal-kind, opascal-is-literal-end)
20863         (opascal-literal-token-at): Rewrite.
20864         (opascal--literal-start-re, opascal-font-lock-keywords)
20865         (opascal--syntax-propertize): New constants.
20866         (opascal-font-lock-defaults): Adjust.
20867         (opascal-mode): Use them.  Set comment-<foo> variables as well.
20868         (delphi-comment-face, opascal-comment-face, delphi-string-face)
20869         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
20870         (delphi-other-face, opascal-other-face): Remove face variables.
20871         (opascal-save-state): Remove macro.
20872         (opascal-fontifying-progress-step): Remove constant.
20873         (opascal--ignore-changes): Remove var.
20874         (opascal-set-token-property, opascal-parse-next-literal)
20875         (opascal-is-stable-literal, opascal-complete-literal)
20876         (opascal-is-literal-start, opascal-face-of)
20877         (opascal-parse-region, opascal-parse-region-until-stable)
20878         (opascal-fontify-region, opascal-after-change)
20879         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
20880         (opascal-debug-parse-region, opascal-debug-parse-window)
20881         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
20882         (opascal-debug-fontify-buffer): Remove.
20883         (opascal-debug-mode-map): Adjust accordingly.
20885 2013-04-25  Leo Liu  <sdl.web@gmail.com>
20887         Merge octave-mod.el and octave-inf.el into octave.el with some
20888         cleanups.
20889         * progmodes/octave.el: New file renamed from octave-mod.el.
20890         * progmodes/octave-inf.el: Merged into octave.el.
20891         * progmodes/octave-mod.el: Renamed to octave.el.
20893 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
20895         * textmodes/reftex-vars.el
20896         (reftex-label-ignored-macros-and-environments): New defcustom.
20898         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
20900 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
20902         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
20903         (smie-indent-keyword): Improve the check to ensure that the next
20904         comment is really on the same line.
20905         (smie-indent-comment): Don't align with a subsequent closer (or eob).
20907         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
20908         semi-colons if the line is not otherwise empty (bug#14218).
20910 2013-04-25  Glenn Morris  <rgm@gnu.org>
20912         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
20914 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20916         * progmodes/opascal.el (opascal-set-token-property): Rename from
20917         opascal-set-text-properties and only set `token' (bug#14134).
20918         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
20919         (opascal-literal-text-properties): Remove.
20920         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
20921         Adjust callers.
20923 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
20925         * textmodes/remember.el (remember-handler-functions): Add an
20926         option for a new handler `remember-store-in-files'.
20927         (remember-data-directory, remember-directory-file-name-format):
20928         New options.
20929         (remember-store-in-files): New function to store remember notes
20930         as separate files within a directory.
20932 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
20934         * progmodes/compile.el (compilation-next-error-function):
20935         Pass "formats" to compilation-find-file (bug#11777).
20937 2013-04-24  Glenn Morris  <rgm@gnu.org>
20939         * vc/vc-bzr.el (vc-bzr-print-log):
20940         * vc/vc-hg.el (vc-hg-print-log):
20941         * vc/vc-svn.el (vc-svn-print-log):
20942         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
20944         * vc/vc-bzr.el (vc-bzr-print-log):
20945         * vc/vc-cvs.el (vc-cvs-print-log):
20946         * vc/vc-git.el (vc-git-print-log):
20947         * vc/vc-hg.el (vc-hg-print-log):
20948         * vc/vc-mtn.el (vc-mtn-print-log):
20949         * vc/vc-rcs.el (vc-rcs-print-log):
20950         * vc/vc-sccs.el (vc-sccs-print-log):
20951         * vc/vc-svn.el (vc-svn-print-log):
20952         * vc/vc.el (vc-print-log-internal): Doc fixes.
20954 2013-04-23  Glenn Morris  <rgm@gnu.org>
20956         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
20957         Remove venerable code attempting to avoid substitute-command-keys.
20959 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
20961         * textmodes/reftex-vars.el (reftex-label-regexps):
20962         Call `reftex-compile-variables' after changes to this variable.
20964 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
20966         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
20967         Use lexical-binding.
20968         (jit-lock-force-redisplay): Use markers, check buffer's continued
20969         existence and beware narrowed buffers.
20970         (jit-lock-fontify-now): Adjust call accordingly.
20972 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
20974         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
20975         to avoid misleading the user.
20977 2013-04-22  Leo Liu  <sdl.web@gmail.com>
20979         * info-look.el: Prefer latex2e.info.  (Bug#14240)
20981 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
20983         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
20985         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
20986         * net/tramp.el (tramp-call-process): ... here.
20987         (tramp-set-completion-function, tramp-parse-putty):
20988         * net/tramp-adb.el (tramp-adb-execute-adb-command):
20989         * net/tramp-gvfs.el (tramp-gvfs-send-command):
20990         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
20991         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
20992         (tramp-call-local-coding-command): Use `tramp-call-process'
20993         instead of `tramp-compat-call-process'.
20995         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
20996         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
20997         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
20998         (tramp-find-inline-compress): Improve traces.
20999         (tramp-maybe-send-script): Check for Perl binary.
21000         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
21002 2013-04-22  Daiki Ueno  <ueno@gnu.org>
21004         * epg.el (epg-context-pinentry-mode): New function.
21005         (epg-context-set-pinentry-mode): New function.
21006         (epg--start): Pass --pinentry-mode option to gpg command.
21008 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
21010         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
21011         `comint-dynamic-complete' is obsolete since 24.1, replaced by
21012         `completion-at-point'.  (Bug#13774)
21014         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
21015         default key binding for `describe-distribution' has been moved to
21016         `C-h C-o'.  (Bug#13970)
21018 2013-04-21  Glenn Morris  <rgm@gnu.org>
21020         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
21021         Add doc strings.
21022         (vc-print-log): Clarify interactive prompt.
21024 2013-04-20  Glenn Morris  <rgm@gnu.org>
21026         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
21027         No longer include timestamp etc information.
21029 2013-04-20  Roland Winkler  <winkler@gnu.org>
21031         * faces.el (read-face-name): Bug fix, return just one face if arg
21032         multiple is nil.  (Bug#14209)
21034 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
21036         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
21037         (remove-function): Autoload.
21039         * comint.el (comint-redirect-original-filter-function): Remove.
21040         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
21041         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
21042         (vc-cvs-annotate-command):
21043         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
21044         * progmodes/prolog.el (prolog-consult-compile):
21045         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
21046         Use add/remove-function instead.
21047         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
21048         (gud-tooltip-process-output, gud-tooltip-tips):
21049         Use add/remove-function instead.
21050         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
21051         (scheme-interaction-mode, exit-scheme-interaction-mode):
21052         Use add/remove-function instead.
21054         * vc/vc-dispatcher.el: Use lexical-binding.
21055         (vc--process-sentinel): Rename from vc-process-sentinel.
21056         Change last arg to be the code to run.  Don't use vc-previous-sentinel
21057         and vc-sentinel-commands any more.
21058         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
21059         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
21061 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
21063         * progmodes/sh-script.el (sh-imenu-generic-expression):
21064         Handle function names with a single character.  (Bug#14111)
21066 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
21068         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
21069         for subroutines defined in an eval (bug#14182).
21071 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
21073         * bookmark.el (bookmark-completing-read): Improve handling of empty
21074         string (bug#14176).
21076 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
21078         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
21080 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
21082         New faster Imenu implementation (bug#14058).
21083         * progmodes/python.el (python-imenu-prev-index-position)
21084         (python-imenu-format-item-label-function)
21085         (python-imenu-format-parent-item-label-function)
21086         (python-imenu-format-parent-item-jump-label-function):
21087         New vars.
21088         (python-imenu-format-item-label)
21089         (python-imenu-format-parent-item-label)
21090         (python-imenu-format-parent-item-jump-label)
21091         (python-imenu--put-parent, python-imenu--build-tree)
21092         (python-imenu-create-index, python-imenu-create-flat-index)
21093         (python-util-popn): New functions.
21094         (python-mode): Set imenu-create-index-function to
21095         python-imenu-create-index.
21097 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
21099         * winner.el (winner-active-region): Use region-active-p, activate-mark
21100         and deactivate-mark (bug#14225).
21102         * simple.el (deactivate-mark): Don't inline it.
21104 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
21106         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
21108 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
21110         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
21111         file extensions from the archive-mode entry in order to prefer
21112         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
21114 2013-04-18  Leo Liu  <sdl.web@gmail.com>
21116         * bindings.el (help-event-list): Add ?\?.
21118 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
21120         * subr.el (with-wrapper-hook): Declare obsolete.
21121         * simple.el (filter-buffer-substring-function): New hook.
21122         (filter-buffer-substring): Use it.
21123         (filter-buffer-substring-functions): Mark obsolete.
21124         * minibuffer.el (completion-in-region-function): New hook.
21125         (completion-in-region): Use it.
21126         (completion-in-region-functions): Mark obsolete.
21127         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
21128         * abbrev.el (abbrev-expand-function): New hook.
21129         (expand-abbrev): Use it.
21130         (abbrev-expand-functions): Mark obsolete.
21131         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
21132         and :filter-return.
21134 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
21136         * progmodes/python.el (python-nav--syntactically): Fix cornercases
21137         and do not care about match data.
21139 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
21141         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
21142         completion tables when completing error conditions and
21143         `declare' arguments.
21144         (lisp-complete-symbol, field-complete): Mark as obsolete.
21145         (check-parens): Unmatched parens are user errors.
21146         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
21148 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
21150         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
21151         command changed buffer (ie. `flyspell-pre-buffer' is not current
21152         buffer), which prevents making decisions based on invalid value of
21153         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
21154         cause an error when `flyspell-pre-point' was nil after switching
21155         buffers.
21156         (flyspell-post-command-hook): No longer needs to change buffers when
21157         checking pre-word.  While at it remove unnecessary progn.
21159 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
21161         * textmodes/ispell.el (ispell-add-per-file-word-list):
21162         Fix `flyspell-correct-word-before-point' error when accepting
21163         words and `coment-padding' is an integer by using
21164         `comment-normalize-vars' (Bug #14214).
21166 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
21168         New defun movement commands.
21169         * progmodes/python.el (python-nav--syntactically)
21170         (python-nav--forward-defun, python-nav-backward-defun)
21171         (python-nav-forward-defun): New functions.
21173 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
21175         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
21176         (python-syntax-context): Use named compiler-macro for backwards
21177         compatibility with Emacs 24.x.
21179 2013-04-17  Leo Liu  <sdl.web@gmail.com>
21181         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
21182         octave-hide-process-buffer.
21184 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
21186         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
21187         (bug#14216).
21189 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
21191         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
21192         Fix adjustment of offset when receiving incomplete responses from GDB
21193         (bug#14129).
21195 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
21197         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
21198         python-mode-abbrev-table.
21199         (python-skeleton-define): Adjust accordingly.
21200         (python-mode-abbrev-table): New table that inherits from it so that
21201         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
21203         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
21204         (abbrev-symbol): Use it.
21205         (abbrev--before-point): Use it since we already handle inheritance.
21207 2013-04-16  Leo Liu  <sdl.web@gmail.com>
21209         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
21210         binding to info-lookup-symbol.
21212 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
21214         * minibuffer.el (completion--twq-all):
21215         * term/ns-win.el (ns-initialize-window-system):
21216         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
21218 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
21220         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
21221         global bindings.
21223         * doc-view.el (doc-view-start-process): Handle url-handler directories.
21225 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
21227         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
21228         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
21229         to nil.
21230         (ruby-end-of-defun): Remove the unused arg, change the docstring
21231         to reflect that this function is only used as the value of
21232         `end-of-defun-function'.
21233         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
21234         to reflect an earlier change that beginning/end-of-defun functions
21235         jump between methods in a class definition, as well as top-level
21236         functions.
21238 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21240         * minibuffer.el (minibuffer-complete): Don't just scroll
21241         a *Completions* that's been iconified.
21242         (minibuffer-force-complete): Make sure repetitions do cycle when going
21243         through completion-in-region -> minibuffer-complete.
21245 2013-04-15  Alan Mackenzie  <acm@muc.de>
21247         Correct the placement of c-cpp-delimiters when there're #s not at
21248         col 0.
21250         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
21251         place a submatch around the #.
21252         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
21253         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
21254         on the #, not BOL.
21256 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21258         * emacs-lisp/nadvice.el: Properly test names when adding advice.
21259         (advice--member-p): New arg `name'.
21260         (advice--add-function, advice-member-p): Use it (bug#14202).
21262 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
21264         Reformulate java imenu-generic-expression.
21265         The old expression contained ill formed regexps.
21267         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
21268         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
21269         (cc-imenu-java-method-arg-regexp): New defconsts.
21270         (cc-imenu-java-build-type-args-regex): New defun.
21271         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
21272         handling of spaces in the regexp.
21274 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
21276         * textmodes/ispell.el (ispell-command-loop): Remove
21277         flyspell highlight of a word when ispell accepts it (bug #14178).
21279 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
21281         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
21282         uses code from the previous `ange-ftp-run-real-handler'.
21283         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
21284         only in case that function exist.  This is needed for proper
21285         unloading of Tramp.
21287 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
21289         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
21291         * textmodes/reftex.el (reftex-compile-variables): Use it.
21293 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
21295         * files.el (normal-mode): Only use default major-mode if no other mode
21296         was specified.
21298         * emacs-lisp/trace.el (trace-values): New function.
21300         * files.el: Allow : in local variables (bug#14089).
21301         (hack-local-variable-regexp): New var.
21302         (hack-local-variables-prop-line, hack-local-variables): Use it.
21304 2013-04-13  Roland Winkler  <winkler@gnu.org>
21306         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
21307         data before it gets modified by bibtex-beginning-of-entry.
21309 2013-04-13  Roland Winkler  <winkler@gnu.org>
21311         * textmodes/bibtex.el (bibtex-url): Doc fix.
21313 2013-04-13  Roland Winkler  <winkler@gnu.org>
21315         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
21316         does not visit a BibTeX file, exclude it from the list of buffers
21317         returned by bibtex-initialize.
21319 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
21321         * window.el (split-window): Remove interactive form, since as a
21322         command this function is a special case of split-window-below.
21323         Correct doc string.
21325 2013-04-12  Roland Winkler  <winkler@gnu.org>
21327         * faces.el (read-face-name): Do not override value of arg default.
21328         Allow single faces and strings as default values.  Remove those
21329         elements from return value that are not faces.
21330         (describe-face): Simplify.
21331         (face-at-point): New optional args thing and multiple so that this
21332         function can provide the same functionality previously provided by
21333         read-face-name.
21334         (make-face-bold, make-face-unbold, make-face-italic)
21335         (make-face-unitalic, make-face-bold-italic, invert-face)
21336         (modify-face, read-face-and-attribute): Use face-at-point.
21338         * cus-edit.el (customize-face, customize-face-other-window)
21339         * cus-theme.el (custom-theme-add-face)
21340         * face-remap.el (buffer-face-set)
21341         * facemenu.el (facemenu-set-face): Use face-at-point.
21343 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
21345         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
21347 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
21349         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
21350         off leading { and trailing } from field values.
21352 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
21354         * emacs-lisp/timer.el (timer--check): New function.
21355         (timer--time, timer-set-function, timer-event-handler): Use it.
21356         (timer-set-idle-time): Simplify.
21357         (timer--activate): CSE.
21358         (timer-event-handler): Give more info in error message.
21359         (internal-timer-start-idle): New function, moved from C.
21361         * mpc.el (mpc-proc): Add `restart' argument.
21362         (mpc-proc-cmd): Use it.
21363         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
21364         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
21365         less often.
21367 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
21369         * progmodes/sh-script.el: Implement `sh-mode' own
21370         `add-log-current-defun-function' (bug#14112).
21371         (sh-current-defun-name): New function.
21372         (sh-mode): Use the function.
21374 2013-04-09  Bastien Guerry  <bzg@gnu.org>
21376         * simple.el (choose-completion-string): Fix docstring (bug#14163).
21378 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
21380         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
21382         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
21383         timer (bug#14156).
21385 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
21387         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
21388         declaration.
21390 2013-04-07  Leo Liu  <sdl.web@gmail.com>
21392         * pcmpl-x.el: New file.
21394 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
21396         Do not set x-display-name until X connection is established.
21397         This is needed to prevent from weird situation described at
21398         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
21399         * frame.el (make-frame): Set x-display-name after call to
21400         window system initialization function, not before.
21401         * term/x-win.el (x-initialize-window-system): Add optional
21402         display argument and use it.
21403         * term/w32-win.el (w32-initialize-window-system):
21404         * term/ns-win.el (ns-initialize-window-system):
21405         * term/pc-win.el (msdos-initialize-window-system):
21406         Add compatible optional display argument.
21408 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
21410         * files.el (normal-backup-enable-predicate): On MS-Windows and
21411         MS-DOS compare truenames of temporary-file-directory and of the
21412         file, so that 8+3 aliases (usually found in $TEMP on Windows)
21413         don't fail comparison by compare-strings.  Also, compare file
21414         names case-insensitively on MS-Windows and MS-DOS.
21416 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21418         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
21419         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
21421 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
21423         * whitespace.el (whitespace-color-on, whitespace-color-off):
21424         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
21426 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
21428         * ispell.el (ispell-set-spellchecker-params):
21429         Really set `ispell-args' for all equivs.
21431 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21433         * ido.el (ido-completions): Use extra elements of ido-decorations
21434         (bug#14143).
21435         (ido-decorations): Update docstring.
21437 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
21439         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
21440         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
21441         nil during initialization, in order not to miss changes since the
21442         file was opened.  (Bug#14140)
21444 2013-04-05  Leo Liu  <sdl.web@gmail.com>
21446         * kmacro.el (kmacro-call-macro): Fix bug#14135.
21448 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
21450         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
21452 2013-04-04  Glenn Morris  <rgm@gnu.org>
21454         * electric.el (electric-pair-inhibit-predicate): Add :version.
21456 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
21458         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
21459         when a package is required several times (bug#14082).
21461 2013-04-04  Roland Winkler  <winkler@gnu.org>
21463         * faces.el (read-face-name): Behave as promised by the docstring.
21464         Assume that arg default is a list of faces.
21465         (describe-face): Call read-face-name with list of default faces.
21467 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
21469         * bookmark.el: Fix deletion of bookmarks (bug#13972).
21470         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
21471         (bookmark-bmenu-execute-deletions): Only skip first line if it's
21472         the header.
21473         (bookmark-exit-hook-internal): Save even if list is empty.
21475 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
21477         * emacs-lisp/package.el (package-pinned-packages): New var.
21478         (package--add-to-archive-contents): Obey it (bug#14118).
21480 2013-04-03  Alan Mackenzie  <acm@muc.de>
21482         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
21483         Also adapt to the new values of element 7 of a parse state.
21485         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
21486         parameter `not-in-delimiter'.  Handle being inside comment opener.
21487         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
21488         character in case we're typing a '*' after a '/'.
21489         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
21490         instead by passing the parameter to c-state-pp-to-literal.
21492         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
21493         for elt. 7 of a parse state.
21495 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
21497         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
21498         * international/latin1-disp.el, international/mule-util.el:
21499         * language/cyril-util.el, language/european.el, language/ind-util.el:
21500         * language/lao-util.el, language/thai.el, language/tibet-util.el:
21501         * language/tibetan.el, language/viet-util.el:
21502         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
21504 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
21506         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
21507         (electric-pair-post-self-insert-function): Use it.
21508         (electric-pair-default-inhibit): New function, extracted from
21509         electric-pair-post-self-insert-function.
21511 2013-03-31  Roland Winkler  <winkler@gnu.org>
21513         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
21515 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
21517         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
21519 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
21521         Un-indent after "pass" and "return" statements (Bug#13888)
21522         * progmodes/python.el (python-indent-block-enders): New var.
21523         (python-indent-calculate-indentation): Use it.
21525 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
21527         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
21528         defun.  Defining it as defalias could introduce too eager
21529         byte-compiler optimization.  (Bug#14030)
21531 2013-03-30  Chong Yidong  <cyd@gnu.org>
21533         * iswitchb.el (iswitchb-read-buffer): Fix typo.
21535 2013-03-30  Leo Liu  <sdl.web@gmail.com>
21537         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
21538         (kmacro-execute-from-register): Pass the keyboard macro to
21539         kmacro-call-macro or repeating won't work correctly.
21541 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
21543         * progmodes/subword.el: Back to using `forward-symbol'.
21545         * subr.el (forward-whitespace, forward-symbol)
21546         (forward-same-syntax): Move from thingatpt.el.
21548 2013-03-29  Leo Liu  <sdl.web@gmail.com>
21550         * kmacro.el (kmacro-to-register): New command.
21551         (kmacro-execute-from-register): New function.
21552         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
21554 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
21556         * mpc.el: Use defvar-local and setq-local.
21557         (mpc--proc-connect): Connection failures are not bugs.
21558         (mpc-mode-map): `follow-link' only applies to the buffer's content.
21559         (mpc-volume-map): Bind to the up-events.
21561 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
21563         * progmodes/subword.el (superword-mode): Use `forward-sexp'
21564         instead of `forward-symbol'.
21566 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
21568         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
21569         (edebug--recursive-edit): Use it.
21570         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
21571         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
21573 2013-03-28  Leo Liu  <sdl.web@gmail.com>
21575         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
21577 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
21579         * facemenu.el (list-colors-callback): New defvar.
21580         (list-colors-redisplay): New function.
21581         (list-colors-display): Install list-colors-redisplay as the
21582         revert-buffer-function.  (Bug#14063)
21584 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
21586         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
21587         and suffixes don't overlap (bug#14061).
21589         * case-table.el: Use lexical-binding.
21590         (case-table-get-table): New function.
21591         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
21593 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
21595         * progmodes/subword.el: Add `superword-mode' to do word motion
21596         over symbol_words (parallels and leverages `subword-mode' which
21597         does word motion inside MixedCaseWords).
21599 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
21601         * eshell/em-unix.el: Move su and sudo to...
21602         * eshell/em-tramp.el: ...Eshell tramp module.
21604 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
21606         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
21607         Change return value to be a sexp.  Delay `get-buffer' to after
21608         restoring the desktop (bug#13951).
21610 2013-03-26  Leo Liu  <sdl.web@gmail.com>
21612         * register.el: Move semantic tag handling back to
21613         cedet/semantic/senator.el.  (Bug#14052)
21615 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
21617         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
21618         into the prompt either (bug#13963).
21620 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
21622         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
21623         part of "(error-foo)".
21625 2013-03-24  Juri Linkov  <juri@jurta.org>
21627         * replace.el (list-matching-lines-prefix-face): New defcustom.
21628         (occur-1): Pass `list-matching-lines-prefix-face' to the function
21629         `occur-engine' if `face-differs-from-default-p' returns t.
21630         (occur-engine): Add `,' inside backquote construct to evaluate
21631         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
21632         Pass `prefix-face' to the functions `occur-context-lines' and
21633         `occur-engine-add-prefix'.
21634         (occur-engine-add-prefix, occur-context-lines): Add optional arg
21635         `prefix-face' and propertize the prefix with `prefix-face'.
21636         (Bug#14017)
21638 2013-03-24  Leo Liu  <sdl.web@gmail.com>
21640         * nxml/rng-valid.el (rng-validate-while-idle)
21641         (rng-validate-quick-while-idle): Guard against deleted buffer.
21642         (Bug#13999)
21644         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
21645         is the last entry in kill-buffer-hook.
21647         * files.el (kill-buffer-hook): Doc fix.
21649 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
21651         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
21652         Make it safe-local.
21654         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
21656 2013-03-23  Leo Liu  <sdl.web@gmail.com>
21658         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
21659         Remove.
21661         * nxml/rng-valid.el (rng-validate-mode)
21662         (rng-after-change-function, rng-do-some-validation):
21663         * nxml/rng-maint.el (rng-validate-buffer):
21664         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
21665         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
21666         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
21667         (nxml-extend-after-change-region): Use with-silent-modifications.
21669         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
21670         timer-idle-list.
21672         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
21673         (rng-next-error-1, rng-previous-error-1): Do not let-bind
21674         timer-idle-list.  (Bug#13999)
21676 2013-03-23  Juri Linkov  <juri@jurta.org>
21678         * info.el (info-index-match): New face.
21679         (Info-index, Info-apropos-matches): Add a nested subgroup to the
21680         main pattern and add text properties with the new face to matches
21681         in index entries relative to the beginning of the index entry.
21682         (Bug#14015)
21684 2013-03-21  Eric Ludlam  <zappo@gnu.org>
21686         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
21687         Inhibit read only while inserting objects.
21689 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
21691         * progmodes/cfengine.el: Update docs to mention
21692         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
21693         symbol motion.  Remove "_" from the word syntax.
21695 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
21697         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
21698         syntax for both `cfengine2-mode' and `cfengine3-mode'.
21700 2013-03-20  Juri Linkov  <juri@jurta.org>
21702         * info.el (Info-next-reference-or-link)
21703         (Info-prev-reference-or-link): New functions.
21704         (Info-next-reference, Info-prev-reference): Use them.
21705         (Info-try-follow-nearest-node): Handle footnote navigation.
21706         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
21708 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
21710         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
21711         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
21713 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
21715         Suppress unnecessary non-ASCII chatter during build process.
21716         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
21717         (batch-skkdic-convert): Suppress most of the chatter.
21718         It's not needed so much now that machines are faster,
21719         and its non-ASCII component was confusing; see Dmitry Gutov in
21720         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
21722 2013-03-20  Leo Liu  <sdl.web@gmail.com>
21724         * ido.el (ido-chop): Fix bug#10994.
21726 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
21728         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
21729         Remove vars.
21730         (whitespace-color-on, whitespace-color-off):
21731         Use `font-lock-fontify-buffer' (Bug#13817).
21733 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
21735         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
21736         remapping in mode-line.
21737         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
21739 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
21741         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
21742         value for `whitespace-line' face (Bug#13875).
21743         (whitespace-font-lock-keywords): Change description.
21744         (whitespace-color-on): Don't save `font-lock-keywords' value, save
21745         the constructed keywords instead.
21746         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
21748 2013-03-19  Leo Liu  <sdl.web@gmail.com>
21750         * progmodes/compile.el (compilation-display-error): New command.
21751         (compilation-mode-map, compilation-minor-mode-map): Bind it to
21752         C-o.  (Bug#13992)
21754 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
21756         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
21758 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
21760         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
21762 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
21764         * net/tramp-compat.el (tramp-compat-user-error): New defun.
21766         * net/tramp-adb.el (tramp-adb-handle-shell-command):
21767         * net/tramp-gvfs.el (top):
21768         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
21769         (tramp-handle-shell-command): Use it.
21770         (tramp-dissect-file-name): Raise an error when hostname is a
21771         method name, and neither method nor user is specified.
21773         * net/trampver.el: Update release number.
21775 2013-03-18  Leo Liu  <sdl.web@gmail.com>
21777         Make sure eldoc can be turned off properly.
21778         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
21779         eldoc-mode.
21780         (eldoc-display-message-p): Revert last change.
21781         (eldoc-display-message-no-interference-p)
21782         (eldoc-print-current-symbol-info): Tweak.
21784 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
21786         * doc-view.el (doc-view-new-window-function): Check the new window
21787         overlay's display property instead the char property of the
21788         buffer's first char.  Use `with-selected-window' instead of
21789         `save-window-excursion' with `select-window'.
21790         (doc-view-document->bitmap): Check the current doc-view overlay's
21791         display property instead the char property of the buffer's first char.
21793 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
21795         Automate the build of ja-dic.el (Bug#13984).
21796         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
21797         from the input, rather than assume that it's been done for us by the
21798         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
21799         the current date into a ja-dic.el comment, as that complicates
21800         regression testing.
21802 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
21804         * whitespace.el: Fix double evaluation.
21805         (whitespace-space, whitespace-hspace, whitespace-tab)
21806         (whitespace-newline, whitespace-trailing, whitespace-line)
21807         (whitespace-space-before-tab, whitespace-indentation)
21808         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
21809         obsolete defvars.
21810         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
21811         (whitespace-color-on): Use a single font-lock-add-keywords call.
21812         Fix double-evaluation of face variables.
21814 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
21816         * net/tramp-adb.el (tramp-adb-parse-device-names):
21817         Use `start-process' instead of `call-process'.  Otherwise, the
21818         function might be blocked under MS Windows.  (Bug#13299)
21820 2013-03-17  Leo Liu  <sdl.web@gmail.com>
21822         Extend eldoc to display info in the mode-line.  (Bug#13978)
21823         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
21824         (eldoc-mode-line-string): New variable.
21825         (eldoc-minibuffer-message): New function.
21826         (eldoc-message-function): New variable.
21827         (eldoc-message): Use it.
21828         (eldoc-display-message-p)
21829         (eldoc-display-message-no-interference-p):
21830         Support eldoc-post-insert-mode.
21832         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
21833         (eval-expression): Run it.
21835 2013-03-17  Roland Winkler  <winkler@gnu.org>
21837         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
21838         strings in the list of return values.
21840 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
21842         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
21843         radix before checking for HMS forms.
21845 2013-03-16  Leo Liu  <sdl.web@gmail.com>
21847         * progmodes/scheme.el: Add indentation and font-locking for λ.
21848         (Bug#13975)
21850 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
21852         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
21853         token before point (bug#13942).
21855 2013-03-16  Leo Liu  <sdl.web@gmail.com>
21857         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
21859 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
21861         * startup.el (command-line-normalize-file-name): Fix handling of
21862         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
21863         <xfq.free@gmail.com> in
21864         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
21866 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
21868         Sync with Tramp 2.2.7.
21870         * net/trampver.el: Update release number.
21872 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
21874         * doc-view.el: Fix bug#13887.
21875         (doc-view-insert-image): Don't modify overlay associated to
21876         non-live windows, and implement horizontal centering of image in
21877         case it's smaller than the window.
21878         (doc-view-new-window-function): Force redisplay of new windows on
21879         doc-view buffers.
21881 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
21883         * saveplace.el (save-place-alist-to-file): Don't sort
21884         `save-place-alist', just pretty-print it (bug#13882).
21886 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
21888         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
21889         Check whether `default-file-name-coding-system' is bound.
21890         It isn't in XEmacs.
21892 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
21894         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
21895         backquotes for `obsolete' (bug#13929).
21897         * international/mule.el (find-auto-coding): Include file name in
21898         obsolescence warning (bug#13922).
21900 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
21902         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
21903         for CFEngine 3-specific indentation.
21904         (cfengine3-indent-line): Use it.  Fix up category regex.
21905         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
21907 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
21909         * type-break.el (type-break-file-name):
21910         * textmodes/remember.el (remember-data-file):
21911         * strokes.el (strokes-file):
21912         * shadowfile.el (shadow-initialize):
21913         * saveplace.el (save-place-file):
21914         * ps-bdf.el (bdf-cache-file):
21915         * progmodes/idlwave.el (idlwave-config-directory):
21916         * net/quickurl.el (quickurl-url-file):
21917         * international/kkc.el (kkc-init-file-name):
21918         * ido.el (ido-save-directory-list-file):
21919         * emulation/viper.el (viper-custom-file-name):
21920         * emulation/vip.el (vip-startup-file):
21921         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
21922         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
21924 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
21926         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
21927         * language/thai-word.el: Switch to UTF-8.
21929 See ChangeLog.16 for earlier changes.
21931 ;; Local Variables:
21932 ;; coding: utf-8
21933 ;; End:
21935   Copyright (C) 2011-2014 Free Software Foundation, Inc.
21937   This file is part of GNU Emacs.
21939   GNU Emacs is free software: you can redistribute it and/or modify
21940   it under the terms of the GNU General Public License as published by
21941   the Free Software Foundation, either version 3 of the License, or
21942   (at your option) any later version.
21944   GNU Emacs is distributed in the hope that it will be useful,
21945   but WITHOUT ANY WARRANTY; without even the implied warranty of
21946   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21947   GNU General Public License for more details.
21949   You should have received a copy of the GNU General Public License
21950   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.