Handle dead frame in menu-bar-non-minibuffer-window-p. (Bug#19728)
[emacs.git] / lisp / ChangeLog
blob6cdaf14abe20deadaeffcb6315b4f109bdb9d4b7
1 2015-01-31  Martin Rudalics  <rudalics@gmx.at>
3         * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
4         the menu frame is dead.  (Bug#19728)
6 2015-01-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8         python.el: Handle tabs in python-indent-dedent-line.
10         * progmodes/python.el (python-indent-dedent-line): Fixes for
11         indentation with tabs.  Thanks to <dale@codefu.org> (Bug#19730).
13 2015-01-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15         * progmodes/python.el (python-indent-context): Respect user
16         indentation after comment.
18 2015-01-29  Tassilo Horn  <tsdh@gnu.org>
20         * textmodes/reftex-vars.el (featurep): Conditionalize value of
21         reftex-label-regexps in order to stay compatible with XEmacs 21.5
22         which has no explicitly numbered groups in regexps (bug#19714).
24 2015-01-28  Tassilo Horn  <tsdh@gnu.org>
26         * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
27         punctuation syntax since to allow bibtex fields with values such
28         as {Test 1) and 2)} (bug#19205, bug#19707).
29         (reftex--prepare-syntax-tables): New function.
30         (reftex-mode): Use it.
32 2015-01-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
34         python.el: New non-global state dependent indentation engine.
35         (Bug#18319, Bug#19595)
37         * progmodes/python.el (python-syntax-comment-or-string-p): Accept
38         PPSS as argument.
39         (python-syntax-closing-paren-p): New function.
40         (python-indent-current-level)
41         (python-indent-levels): Mark obsolete.
42         (python-indent-context): Return more context cases.
43         (python-indent--calculate-indentation)
44         (python-indent--calculate-levels): New functions.
45         (python-indent-calculate-levels): Use them.
46         (python-indent-calculate-indentation, python-indent-line):
47         (python-indent-line-function): Rewritten to use new API.
48         (python-indent-dedent-line): Simplify logic.
49         (python-indent-dedent-line-backspace): Use `unless`.
50         (python-indent-toggle-levels): Delete function.
52 2015-01-22  Wolfgang Jenkner  <wjenkner@inode.at>
54         * calc/calc-units.el (math-units-in-expr-p)
55         (math-single-units-in-expr-p, math-find-compatible-unit-rec)
56         (math-extract-units): Handle the `neg' operator.  (Bug#19582)
57         [Backport]
59 2015-01-21  Daniel Koning  <dk@danielkoning.com>  (tiny change)
61         * subr.el (posnp): Correct docstring of `posnp'.
62         (posn-col-row): Make it work with all mouse position objects.
63         * textmodes/artist.el (artist-mouse-draw-continously): Cancel
64         timers if an error occurs during continuous drawing.  (Bug#6130)
66 2015-01-20  Eli Zaretskii  <eliz@gnu.org>
68         * button.el (button-activate, push-button): Doc fix.  (Bug#19628)
70 2015-01-16  Samer Masterson  <samer@samertm.com>  (tiny change)
72         * pcomplete.el (pcomplete-parse-arguments): Parse arguments
73         regardless of pcomplete-cycle-completions's value.  (Bug#18950)
75 2015-01-13  Michael Albinus  <michael.albinus@gmx.de>
77         * filenotify.el (file-notify-descriptors, file-notify-handle-event):
78         Adapt docstring.
79         (file-notify--descriptor): New defun.
80         (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
81         Adapt docstring.  Handle multiple values for
82         `file-notify-descriptors' entries.  (Bug#18880)
84         * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
85         `file-notify-descriptors', the implementation has been changed.
87 2015-01-13  Juri Linkov  <juri@linkov.net>
89         * comint.el (comint-history-isearch-search)
90         (comint-history-isearch-wrap): Use field-beginning instead of
91         comint-line-beginning-position.
92         (comint-send-input): Go to the end of the field instead of the end
93         of the line to accept whole multi-line input.
94         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
95         (comint-history-isearch-message): Use field-beginning
96         instead of comint-line-beginning-position - that's more fixes for
97         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
98         (comint-history-isearch-message): Fix args of isearch-message-prefix.
100         [Backport]
102 2015-01-09  Eli Zaretskii  <eliz@gnu.org>
104         * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
105         On MS-Windows, bind coding-system-for-read to the console output
106         codepage.  (Bug#19458)
108 2015-01-08  Eli Zaretskii  <eliz@gnu.org>
110         * simple.el (line-move-visual): When converting X pixel coordinate
111         to temporary-goal-column, adjust the value for right-to-left
112         screen lines.  This fixes vertical-motion, next/prev-line, etc.
114 2015-01-06  Glenn Morris  <rgm@gnu.org>
116         * progmodes/sh-script.el (sh-mode): Doc fix.
117         (sh-basic-indent-line): Handle electric newline.  (Bug#18756)
119 2014-12-14  Steve Purcell  <steve@sanityinc.com>  (tiny change)
121         * emacs-lisp/package.el (package-menu-mode): Use an extra column
122         for the "Version" column, to accomodate date-and-time-based versions.
124 2015-01-04  Paul Eggert  <eggert@cs.ucla.edu>
126         Fix dired quoting bug with "Hit`N`Hide".  Fixes Bug#19498.
127         * files.el (shell-quote-wildcard-pattern): Also quote "`".
129 2015-01-04  Dmitry Gutov  <dgutov@yandex.ru>
131         Unbreak `mouse-action' property in text buttons.
132         * button.el (push-button): Fix regression from 2012-12-06.
134 2015-01-01  Eli Zaretskii  <eliz@gnu.org>
136         * tool-bar.el (tool-bar-local-item)
137         (tool-bar-local-item-from-menu): Call force-mode-line-update to
138         make sure the tool-bar changes show on display.
140 2014-12-29  Michael Albinus  <michael.albinus@gmx.de>
142         Sync with Tramp 2.2.11.
144         * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
145         Make an alias for `default-toplevel-value' if it doesn't exist.
147         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
148         Use `tramp-compat-delete-directory'.
150         * net/trampver.el: Update release number.
152 2014-12-29  Filipp Gunbin  <fgunbin@fastmail.fm>
154         * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
155         for remote files.  (Bug#19449)
157 2014-12-28  Eli Zaretskii  <eliz@gnu.org>
159         * international/mule.el (define-coding-system): Fix typos in the
160         doc string.
162 2014-12-28  Kenichi Handa  <handa@gnu.org>
164         * international/mule.el (define-coding-system): Improve the doc
165         string.
167 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
169         * progmodes/python.el (python-shell-buffer-substring): Handle
170         cornercase when region sent starts at point-min.
172 2014-12-27  Eli Zaretskii  <eliz@gnu.org>
174         * language/misc-lang.el (composition-function-table): Add Syriac
175         characters and also ZWJ/ZWNJ.  See
176         http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
177         for the details.
179 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
181         python.el: Fix message when sending region.
183         * progmodes/python.el (python-shell-send-region): Rename argument
184         send-main from nomain.  Fix message.
185         (python-shell-send-buffer): Rename argument send-main from arg.
187 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
189         python.el: Cleanup temp files even with eval errors.
191         * progmodes/python.el (python-shell-send-file): Make file-name
192         mandatory.  Fix temp file removal in the majority of cases.
194 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
196         python.el: Handle file encoding for shell.
198         * progmodes/python.el (python-rx-constituents): Add coding-cookie.
199         (python-shell--save-temp-file): Write file with proper encoding.
200         (python-shell-buffer-substring): Add coding cookie for detected
201         encoding to generated content.  Fix blank lines when removing
202         if-name-main block.
203         (python-shell-send-file): Handle file encoding.
204         (python-info-encoding-from-cookie)
205         (python-info-encoding): New functions.
207 2014-12-24  Michael Albinus  <michael.albinus@gmx.de>
209         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
210         Use `tramp-rsh-end-of-line', it ought to be more robust.
212 2014-12-23  Stefan Monnier  <monnier@iro.umontreal.ca>
214         * progmodes/js.el (js-syntax-propertize): "return" can't be divided
215         (bug#19397).
217 2014-12-23  Michael Albinus  <michael.albinus@gmx.de>
219         * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
221         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
222         as end-of-line delimeter for passwords, when running on MS Windows.
224 2014-12-23  Stefan Monnier  <monnier@iro.umontreal.ca>
226         * progmodes/sh-script.el (sh-set-shell): Don't change the global value
227         of indent-line-function (bug#19433).
229 2014-12-23  Fabián Ezequiel Gallina  <fgallina@gnu.org>
231         Fix line numbers on Python shell.
232         * progmodes/python.el (python-shell--save-temp-file): Do not
233         append coding cookie.
234         (python-shell-send-string): Generalize for
235         python-shell-send-region.
236         (python--use-fake-loc): Delete var.
237         (python-shell-buffer-substring): Cleanup fake-loc logic.
238         (python-shell-send-region): Remove fake-loc logic, simplify.
240 2014-12-22  Fabián Ezequiel Gallina  <fgallina@gnu.org>
242         * progmodes/python.el (python-indent-post-self-insert-function):
243         Make colon to re-indent only for dedenters, handling
244         multiline-statements gracefully.
246 2014-12-21  Michael Albinus  <michael.albinus@gmx.de>
248         * net/tramp.el (tramp-handle-insert-file-contents):
249         Set `find-file-not-found-functions' in case of errors.  (Bug#18623)
251 2014-12-19  Michael Albinus  <michael.albinus@gmx.de>
253         * net/tramp-sh.el (tramp-send-command-and-read): New optional
254         arg MARKER.
255         (tramp-get-remote-path): Use it.
257 2014-12-18  Stefan Monnier  <monnier@iro.umontreal.ca>
259         * subr.el (redisplay-dont-pause): Mark as obsolete.
261 2014-12-17  Michael Albinus  <michael.albinus@gmx.de>
263         * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
264         (tramp-accept-process-output): Use nil as argument for
265         `accept-process-output', when there is a gateway prepended.
267         * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
268         wrong debug buffer.
269         (tramp-gw-open-connection): Set process coding system 'binary.
270         (tramp-gw-open-network-stream): Handle HTTP error 403.
272         * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
273         wrong debug buffer.
274         (tramp-maybe-open-connection): Set connection property "gateway".
276 2014-12-15  Stefan Monnier  <monnier@iro.umontreal.ca>
278         * subr.el (sit-for): Tweak docstring (bug#19381).
280 2014-12-15  Dmitry Gutov  <dgutov@yandex.ru>
282         * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
283         stage to after `diff-index' (bug#19386).
285 2014-12-14  João Távora  <joaotavora@gmail.com>
287         * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
288         `electric-pair-mode' (bug#19356).
290 2014-12-12  Michael Albinus  <michael.albinus@gmx.de>
292         * simple.el (password-word-equivalents): Add "passcode", used for
293         numeric secrets like PINs or RSA tokens.
295 2014-12-10  Michael Albinus  <michael.albinus@gmx.de>
297         * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
298         order to determine `tramp-own-remote-path'.
300 2014-12-09  Fabián Ezequiel Gallina  <fgallina@gnu.org>
302         * progmodes/python.el (python-shell-parse-command):
303         Quote `python-shell-interpreter`.  (Bug#19289)
305 2014-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
307         * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
308         of the whole pipe when indenting an opening keyword after a |.
309         Generalize this treatment to opening keywords like "while" (bug#18031).
311 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
313         * simple.el (newline): Place the hook buffer-locally,
314         to make sure it's first.
316         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
317         Fix handling of symbols with different syntax at beginning/end or with
318         symbol rather than word syntax.
320 2014-11-30  Eli Zaretskii  <eliz@gnu.org>
322         * simple.el (line-move): If noninteractive, call line-move-1, not
323         forward-line, since the former is compatible with line-move-visual
324         both in terms of the column to which it moves and the return
325         value.  (Bug#19211)
327 2014-11-27  Stephen Berman  <stephen.berman@gmx.net>
328             Stefan Monnier  <monnier@iro.umontreal.ca>
330         * outline.el (outline-move-subtree-down): Make sure we can move
331         forward to find the end of the subtree and the insertion point
332         (bug#19102).
334 2014-11-27  Leonard Randall  <leonard.a.randall@gmail.com>
336         * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
337         for comment lines non-greedy and stopping at newlines to fix stack
338         overflows with large files. [Backport]
340 2014-11-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
342         * progmodes/python.el (python-shell-completion-setup-code):
343         Use __builtin__ module (or builtins in Python 3) and catch all errors
344         when importing readline and rlcompleter.
346 2014-11-26  Stephen Berman  <stephen.berman@gmx.net>
348         * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
349         (todo-revert-buffer): New function.
350         (todo-modes-set-1): Use it as the buffer-local value of
351         revert-buffer-function.
353 2014-11-26  Stephen Berman  <stephen.berman@gmx.net>
355         * calendar/todo-mode.el (todo-mode): If called interactively, just
356         display a message saying to call todo-show to enter Todo mode
357         (Bug#19112).
359 2014-11-24  Dmitry Gutov  <dgutov@yandex.ru>
361         * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
362         (Bug#18579)
364         * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
365         files.  (Bug#18579)
367 2014-11-23  Michael Albinus  <michael.albinus@gmx.de>
369         * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
370         remote `buffer-file-name'.
372 2014-11-23  Leo Liu  <sdl.web@gmail.com>
374         * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
376 2014-11-22  Fabián Ezequiel Gallina  <fgallina@gnu.org>
378         Set PYTHONUNBUFFERED on shell startup.
380         * progmodes/python.el (python-shell-unbuffered): New var.
381         (python-shell-calculate-process-environment): Use it.
383 2014-11-22  Michael Albinus  <michael.albinus@gmx.de>
385         * net/tramp.el (tramp-action-password): Clean password on subsequent
386         attempts even if there was no wrong password indication.  (Bug#19047)
388         * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
389         fallback.
390         (tramp-open-connection-setup-interactive-shell): No need to check
391         for nil as `tramp-get-remote-locale' return value.
393 2014-11-21  Eli Zaretskii  <eliz@gnu.org>
395         * vc/vc-git.el (vc-git-command, vc-git--call):
396         Bind coding-system-for-read and coding-system-for-write to
397         vc-git-commits-coding-system.
398         (vc-git-previous-revision): Use "~1" instead of "^", since the
399         latter is a special character for MS-Windows system shells.
401 2014-11-20  Michael Albinus  <michael.albinus@gmx.de>
403         Improve XEmacs compatibility.
405         * net/tramp.el (tramp-autoload-file-name-handler):
406         Wrap `temporary-file-directory' by `symbol-value', it doesn't
407         exist in XEmacs.
408         (tramp-read-passwd): Don't use `with-timeout-suspend' and
409         `with-timeout-unsuspend' if they don't exist, like in XEmacs.
410         (tramp-time-less-p, tramp-time-subtract): Remove functions.
411         (tramp-handle-file-newer-than-file-p, tramp-time-diff):
412         * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
413         * net/tramp-cache.el (tramp-get-file-property):
414         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
415         Use `time-less-p' and `time-subtract, respectively.
417         * net/tramp-adb.el (top): Do not require time-date.el.
419         * net/tramp-compat.el (top): Require time-date.el for XEmacs.
421         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
422         Check, whether `utf-8' is a valid coding system.
424 2014-11-19  Eli Zaretskii  <eliz@gnu.org>
426         * vc/vc.el (vc-retrieve-tag): Doc fix.
428 2014-11-17  Eli Zaretskii  <eliz@gnu.org>
430         * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
431         Don't assume --long is the default for "bzr log", always specify
432         it explicitly, in case the user defined an alias for 'log' that
433         uses some other format.
435 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
437         * progmodes/python.el (python-eldoc--get-doc-at-point):
438         Strip shell output before returning.  (bug#18794)
440 2014-11-16  Dmitry Gutov  <dgutov@yandex.ru>
442         Fix indentation before `!=' and after `+='.  Originally reported
443         in https://github.com/mooz/js2-mode/issues/174.
444         * progmodes/js.el (js--indent-operator-re): Make assignments and
445         (in)equality operator a separate case.
446         (js--continued-expression-p): Escape the second `+' in the regexp.
448 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
450         * window.el (handle-select-window): Deactivate shift-region (bug#19003).
452 2014-11-15  Andreas Schwab  <schwab@linux-m68k.org>
454         * version.el (emacs-repository-get-version): Use git rev-parse
455         instead of git log.
457 2014-11-15  Fabián Ezequiel Gallina  <fgallina@gnu.org>
459         * progmodes/python.el (python-indent-calculate-levels):
460         Fix indentation behavior multiline dedenter statement.  (Bug#18432)
462 2014-11-15  Fabián Ezequiel Gallina  <fgallina@gnu.org>
464         * progmodes/python.el (python-indent-region):
465         Use python-indent-line and skip special cases.  (Bug#18843)
467 2014-11-15  Michael Albinus  <michael.albinus@gmx.de>
469         * vc/vc-hg.el (vc-hg-state): Disable pager.  (Bug#18940)
471 2014-11-15  Peder O. Klingenberg  <peder@klingenberg.no>
473         * mail/emacsbug.el (report-emacs-bug): Make a better guess at
474           envelope-from when reporting through sendmail (bug#19054).
476 2014-11-14  Ivan Andrus  <darthandrus@gmail.com>
478         * progmodes/python.el (python-ffap-module-path):
479         Use `derived-mode-p' instead of equality test on `major-mode'.
481 2014-11-13  Ulrich Müller  <ulm@gentoo.org>
483         * version.el (emacs-repository-get-version): Call `git log'
484         command with proper format argument (bug#19049).
486 2014-11-10  Glenn Morris  <rgm@gnu.org>
488         * startup.el (command-line): Handle nil elements in load-path.
490 2014-11-08  Glenn Morris  <rgm@gnu.org>
492         * emacs-lisp/bytecomp.el (byte-compile-report-error):
493         Allow the argument to be a string.  Due to the vague doc,
494         it was already being used this way.
496 2014-11-07  Michael Albinus  <michael.albinus@gmx.de>
498         * net/tramp.el (tramp-check-cached-permissions): Include hop in
499         the constructed Tramp file name.  (Bug#18943)
501 2014-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
503         * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
504         (bug#18952).
505         (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
506         * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
508 2014-11-07  Michael Albinus  <michael.albinus@gmx.de>
510         * files.el (file-name-non-special): Wrap the call of
511         `insert-file-contents' by `unwind-protect', in order to set the
512         buffer's file name anyway.  (Bug#18891)
514 2014-11-07  Daiki Ueno  <ueno@gnu.org>
516         * epg.el (epg--list-keys-1): Ignore fields after the 15th field
517         (bug#18979).  Reported by Hideki Saito.
519 2014-10-18  Alan Mackenzie  <acm@muc.de>
521         Check that a "macro" found near point-min isn't a ## operator.
522         Fixes bug #18749.  Backported from trunk, 2014-11-05.
523         * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
524         (c-beginning-of-macro): Use the above new function.
526 2014-11-05  Alan Mackenzie  <acm@muc.de>
528         Fix wrong bound to c-font-lock-declarators.  Fixes bug #18948.
529         * progmodes/cc-fonts.el (c-font-lock-declarations):
530         Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
531         the buffer is sometimes narrowed to less than "limit" (e.g., in
532         the presence of macros).
534 2014-11-05  Michael Albinus  <michael.albinus@gmx.de>
536         * net/tramp.el (tramp-error-with-buffer): Show connection buffer
537         only when message appeared in minibuffer.  (Bug#18891)
539         * net/tramp-adb.el (tramp-adb-handle-file-attributes):
540         * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
541         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
542         case of errors.
544 2014-11-04  Eli Zaretskii  <eliz@gnu.org>
546         * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
547         returned by load-average.
549 2014-11-04  Michael Albinus  <michael.albinus@gmx.de>
551         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
552         a local copy; setting `inhibit-file-name-handlers' proper might be
553         more performant.  (Bug#18751)
555 2014-11-04  Glenn Morris  <rgm@gnu.org>
557         * mail/emacsbug.el (report-emacs-bug): No longer include
558         recent-keys in the report.  (Bug#18900)
560 2014-11-03  Michael Albinus  <michael.albinus@gmx.de>
562         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
563         local copy of FILENAME, when it is remote.  (Bug#18751)
565 2014-11-02  Michael Albinus  <michael.albinus@gmx.de>
567         * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
568         an error when the command fails; the return code must indicate.
569         (tramp-adb-send-command-and-check): Fix docstring.
571 2014-11-01  Michael Albinus  <michael.albinus@gmx.de>
573         * net/tramp-cache.el (tramp-get-file-property)
574         (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
575         and `tramp-cache-set-count-*' are bound.  Otherwise, there might
576         be compiler warnings.
578         * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
579         Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
581 2014-11-01  Eli Zaretskii  <eliz@gnu.org>
583         * progmodes/compile.el (compilation-mode): Turn off deferred
584         fontifications locally.  (Bug#18856)
586 2014-11-01  Wolfgang Jenkner  <wjenkner@inode.at>
588         * net/tramp-sh.el (tramp-send-command): Fix the case where the
589         remote-echo connection property is non-nil (bug#18858).
591 2014-11-01  Michael Albinus  <michael.albinus@gmx.de>
593         Backport Tramp changes from trunk.
595         * net/tramp.el (tramp-methods): Tweak docstring.
596         (tramp-file-name-handler): Apply `cons' where appropriate.
597         (tramp-handle-file-accessible-directory-p): Check for
598         `file-readable-p' instead of `file-executable-p'.
599         (tramp-handle-shell-command): Use `display-buffer'.  (Bug#18326)
600         (tramp-handle-unhandled-file-name-directory): Return "/".
601         (tramp-check-cached-permissions):
602         Use `tramp-compat-file-attributes'.
603         (tramp-call-process): Add new argument VEC.  Adapt callees in all
604         tramp*.el files.
606         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
607         (tramp-adb-handle-write-region): Improve messages.
608         (tramp-adb-maybe-open-connection): Don't set
609         `tramp-current-*' variables.
611         * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
612         Suppress debug messages.
614         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
615         (tramp-ftp-file-name-handler):
617         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
618         (tramp-gvfs-methods-mounttracker)
619         (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
620         during initialization.  (Bug#18774)
621         (tramp-gvfs-handle-delete-file): Flush file properties, not
622         directory properties.
623         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
624         reading "unix::mode".
625         (tramp-gvfs-handle-file-name-all-completions):
626         Use "-h" option for "gvfs-ls".
627         (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
628         `user' and `localname' could be nil.
629         (tramp-gvfs-send-command): Simplify traces.
631         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
632         (vc-git-program, vc-hg-program): Declare.
633         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
634         (tramp-methods) <nc>: Add new method.
635         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
636         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
637         `tramp-login-args'.
638         (tramp-default-user-alist): Add "nc".
639         (top): Remove completion function for "sftp".  Add completion
640         functions for "nc" and "psftp".
641         (tramp-sh-handle-set-visited-file-modtime):
642         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
643         (tramp-do-copy-or-rename-file-out-of-band):
644         Use cached "remote-copy-args" value, if available.  (Bug#18199)
645         Tweak docstring.  Implement support for "nc" method.
646         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
647         (tramp-remote-coding-commands, tramp-call-local-coding-command):
648         Tweak docstring.
649         (tramp-sh-handle-start-file-process): Expand `default-directory'.
650         (tramp-sh-handle-write-region): Tweak error message.
651         (tramp-sh-handle-vc-registered): Remove backends when the remote
652         binary does not exist.
653         (tramp-open-connection-setup-interactive-shell):
654         Prefer utf-8 coding.  (Bug#17859)
655         (tramp-find-inline-encoding): Do not raise an error.
656         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
657         the "nc" case.  Quote result also locally.
658         (tramp-get-remote-id): Check also for "gid".
659         (tramp-get-remote-python):
661         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
662         (tramp-smb-handle-set-file-acl): Use `start-process'.
663         (tramp-smb-handle-insert-directory): Use progress reporter.
664         (tramp-smb-handle-rename-file): Flush also file properties of
665         FILENAME.
667         * net/trampver.el: Update release number.
669 2014-11-01  Reuben Thomas  <rrt@sc3d.org>
671         * net/tramp.el (tramp-handle-file-symlink-p):
672         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
673         about VMS, which we no longer support.
675 2014-11-01  Stefan Monnier  <monnier@iro.umontreal.ca>
677         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
678         the global vc-handled-backends (bug#18535).
680 2014-11-01  Jérémy Compostella  <jeremy.compostella@intel.com>
681             Michael Albinus  <michael.albinus@gmx.de>
683         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
684         Reduce the amount of set environment variable commands.
686 2014-11-01  Paul Eggert  <eggert@cs.ucla.edu>
688         * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
689         current-time.
691 2014-11-01  Emilio C. Lopes  <eclig@gmx.net>
693         * net/tramp-sh.el (tramp-get-remote-python): Also search for
694         executables named "python2" or "python3".
695         (tramp-get-remote-uid-with-python): Use parentheses around
696         arguments to `print' to make it compatible with Python 3.
697         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
699 2014-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
701         * simple.el (newline): Add assertions to try and help catch bug#18913.
703         * emulation/cua-base.el (cua-delete-region): Use delete-active-region
704         (bug#18886).
705         (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
707 2014-10-31  Eli Zaretskii  <eliz@gnu.org>
709         * Makefile.in (repo-update): Fix a typo and slightly reword
710         commentary.
712 2014-10-31  Eric S. Raymond  <esr@thyrsus.com>
714         * Makefile.in: Change some production names so they're neutral
715         about the repository type.
717 2014-10-30  Kim F. Storm  <storm@cua.dk>
719         Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
720         * delsel.el (delete-selection-save-to-register)
721         (delsel--replace-text-or-position): New vars.
722         (delete-active-region): Use them.
723         (delete-selection-repeat-replace-region): New command, moved from
724         cua-base.el.
725         * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
726         (cua-repeat-replace-region): Move command to delsel.el.
727         (cua--init-keymaps): Update binding accordingly.
728         (cua-mode): Set delete-selection-save-to-register.
730 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
732         * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
733         (c-lang-defconst):
734         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
736 2014-10-29  Eli Zaretskii  <eliz@gnu.org>
738         * progmodes/compile.el (compilation-start):
739         If compilation-scroll-output is non-nil, don't force window-start of
740         the compilation buffer to be at beginning of buffer.  (Bug#18874)
742 2014-10-23  Tassilo Horn  <tsdh@gnu.org>
744         * doc-view.el (doc-view-open-text): View the document's plain text
745         in the current buffer instead of a new one.
746         (doc-view-toggle-display): Handle the case where the current
747         buffer contains the plain text contents of the document.
748         (doc-view-initiate-display): Don't switch to fallback mode if the
749         user wants to view the doc's plain text.  [Backport]
751 2014-10-23  Eli Zaretskii  <eliz@gnu.org>
753         * startup.el (fancy-about-text): Read the entire tutorial, not
754         just its first 256 bytes.  (Bug#18760)
756 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
758         * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
759         * emacs-lisp/cl-extra.el: Add missing provide.
761 2014-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
763         * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
764         all args are copyable (bug#18767).
765         (=, <, >, <=, >=): Re-enable the optimization.
767 2014-10-20  Santiago Payà i Miralta  <santiagopim@gmail.com>
769         * vc/vc-hg.el (vc-hg-log-graph): New var.
770         (vc-hg-print-log): Use it.
771         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
772         graph output (bug#17515).
774 2014-10-20  Juri Linkov  <juri@jurta.org>
776         * vc/diff-mode.el (diff-refine-changed): Rename from
777         `diff-refine-change' for consistency with `diff-changed'.
778         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
780         * vc/smerge-mode.el (smerge-refined-changed): Rename from
781         `smerge-refined-change'.
782         (smerge-refined-change): Add obsolete face alias.
784 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
786         * subr.el (call-process-shell-command, process-file-shell-command):
787         Make the `args' obsolete (bug#18409).
788         (start-process-shell-command, start-file-process-shell-command):
789         Use `declare'.
791 2014-10-20  Juanma Barranquero  <lekktu@gmail.com>
793         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
795 2014-10-20  Glenn Morris  <rgm@gnu.org>
797         * dired.el (dired-read-regexp): Make obsolete.
798         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
799         (dired-flag-files-regexp):
800         * dired-aux.el (dired-mark-read-regexp):
801         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
803 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
805         * progmodes/python.el (inferior-python-mode): Use add-hook.
807         * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
809 2014-10-20  Glenn Morris  <rgm@gnu.org>
811         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
812         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
813         * emulation/ws-mode.el: Move to obsolete/.  [Backport]
815 2014-10-20  Glenn Morris  <rgm@gnu.org>
817         * cus-start.el (history-length): Bump :version.  [Backport]
819 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
821         * obsolete/cc-compat.el: Make obsolete (bug#18561).
823         * epg-config.el (epg-gpg-program): Don't use absolute names by default.
825         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
826         case (bug#18767).
828 2014-10-20  Glenn Morris  <rgm@gnu.org>
830         * Version 24.4 released.
832 2014-10-15  Alan Mackenzie  <acm@muc.de>
834         * cus-edit.el (custom-command-apply): Specify the return value in
835         the doc string.
836         (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
837         custom-command-apply has returned non-nil.
839 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
841         * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
842         Backported (bug#18688).
844 2014-10-14  Eli Zaretskii  <eliz@gnu.org>
846         * emacs-lisp/tabulated-list.el (tabulated-list-mode):
847         Force bidi-paragraph-direction to 'left-to-right'.  This fixes
848         buffer-menu display when the first buffer happens to start with
849         R2L letter.
851 2014-10-13  Glenn Morris  <rgm@gnu.org>
853         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
854         (authors-obsolete-files-regexps): Additions.
855         (authors-no-scan-regexps): New constant.
856         (authors-no-scan-file-p): New function.
857         (authors): Respect authors-no-scan-file-p.
859 2014-10-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
861         Fix import completion.  (Bug#18582)
862         * progmodes/python.el (python-shell-completion-get-completions):
863         Fix import case regexp.
865 2014-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
867         * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
868         (bug#18622).  Reported by Arni Magnusson <arnima@hafro.is>.
869         * progmodes/prolog.el (prolog-electric--underscore): Same.
871 2014-10-09  Glenn Morris  <rgm@gnu.org>
873         * frame.el (display-monitor-attributes-list): Doc tweaks.
875 2014-10-08  Eli Zaretskii  <eliz@gnu.org>
877         * faces.el (display-grayscale-p): Mention in the doc string that
878         the argument can be either a display name or a frame.
880         * frame.el (display-pixel-height, display-pixel-width)
881         (display-mm-height, display-mm-width, display-backing-store)
882         (display-save-under, display-planes, display-color-cells)
883         (display-visual-class, display-monitor-attributes-list)
884         (display-screens): Mention in the doc string that the argument can
885         be either a display name or a frame.  Improve the docs of the
886         monitor attributes.  (Bug#18636)
888 2014-10-06  Martin Rudalics  <rudalics@gmx.at>
890         * term.el (term-window-width): Subtract 1 from the width when
891         any fringe has zero width, not just the right fringe.  (Bug#18601)
893 2014-10-05  Leo Liu  <sdl.web@gmail.com>
895         * imenu.el (imenu-default-goto-function): Fix typo.
897 2014-10-04  Glenn Morris  <rgm@gnu.org>
899         * frame.el (frame-monitor-attributes)
900         (display-monitor-attributes-list): Doc fixes.
902 2014-10-03  Dmitry Gutov  <dgutov@yandex.ru>
904         * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
905         (vc-svn-ignore): Use it.  (Bug#18619)
907 2014-10-03  Martin Rudalics  <rudalics@gmx.at>
909         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
910         In doc-string mention need to set `frame-resize-pixelwise'.
912 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
914         * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
915         similarly to Rogers's 2010-06-16 change for the remote case
916         (bug#18605).
918 2014-10-01  Glenn Morris  <rgm@gnu.org>
920         * emacs-lisp/package.el (package-import-keyring):
921         Create gnupg directory private.  (Bug#17625#155)
923 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
925         * progmodes/python.el (python-shell-completion-get-completions):
926         Use python-shell--prompt-calculated-input-regexp from the
927         process buffer (bug#18582).
928         Don't assume that `line' comes from the process buffer.
930 2014-09-30  Leonardo Nobrega  <leonobr@gmail.com>  (tiny change)
932         * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
933         (bug#18462).
935 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
937         * emacs-lisp/package.el (package-check-signature): Default to nil if
938         GPG is not available.
939         (package-refresh-contents): Don't mess with the keyring if we won't
940         check the signatures anyway.
942 2014-09-18  Kan-Ru Chen  <kanru@kanru.info>
944         * window.el (fit-window-to-buffer): When counting buffer width,
945         count the whole visible buffer.  Correctly convert the body-height
946         to pixel size for window-text-pixel-size (Bug#18498).
948 2014-09-14  Glenn Morris  <rgm@gnu.org>
950         * image.el (image-multi-frame-p): Fix thinko - do not force
951         a delay if none was specified.  (Bug#18334)
953 2014-09-12  Kan-Ru Chen  <kanru@kanru.info>
955         * window.el (fit-window-to-buffer): Doc fix.
957 2014-09-10  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
959         * desktop.el (desktop-create-buffer): Check that buffers are still live
960         before burying them (bug#18373).
962 2014-09-09  Glenn Morris  <rgm@gnu.org>
964         * calendar/diary-lib.el (diary-list-entries):
965         Restore 24.3 display behavior.  (Bug#18381)
967 2014-09-09  Eli Zaretskii  <eliz@gnu.org>
969         * mouse.el (mouse-drag-line): On text-mode frames, count the mode
970         line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
971         discrepancy between window-pixel-edges and mouse events, and
972         avoids moving mode line up when the mouse click is on the modeline
973         and no drag is attempted.
975 2014-09-08  Glenn Morris  <rgm@gnu.org>
977         * calendar/calendar.el (calendar-basic-setup):
978         Avoid clobbering calendar with diary.  (Bug#18381)
980 2014-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
982         * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
984 2014-09-04  Lars Ljung  <lars@matholka.se>  (tiny change)
986         * isearch.el (isearch-yank-word-or-char): Obey superword-mode
987         as well (bug#18400).
989 2014-09-04  Eli Zaretskii  <eliz@gnu.org>
991         * subr.el (posn-actual-col-row): Doc fix.  (Bug#18385)
993 2014-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
995         * emacs-lisp/package.el (package-generate-description-file):
996         Properly quote the arguments (bug#18332).  Change second arg.
997         (package--alist-to-plist-args): Rename from package--alist-to-plist and
998         quote the elements.
999         (package--make-autoloads-and-stuff): Fix the test for pre-existence of
1000         the *-pkg.el file.  Adjust to new calling convention of
1001         package-generate-description-file.
1003         * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
1004         (gud-gdb-completions): Remove obsolete workaround.
1006 2014-09-02  Eli Zaretskii  <eliz@gnu.org>
1008         * subr.el (posn-col-row): Revert the change from commit
1009         2010-11-13T21:07:58Z!eliz@gnu.org, which
1010         was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
1011         monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
1012         introduced an off-by-one error in the reported row when there is a
1013         header line.  (Bug#18384)
1015 2014-09-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1017         * progmodes/python.el (python-indent-post-self-insert-function):
1018         Avoid electric colon at beginning-of-defun.  (Bug#18228)
1020 2014-09-01  Glenn Morris  <rgm@gnu.org>
1022         * tutorial.el (tutorial--display-changes):
1023         Fix 2014-07-29 change.  (Bug#18382)
1025 2014-08-29  Ken Brown  <kbrown@cornell.edu>
1027         * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
1028         the Cygwin-w32 build.  (Bug#18347)
1030 2014-08-28  Glenn Morris  <rgm@gnu.org>
1032         * tar-mode.el (tar--extract, tar-extract):
1033         Avoid permanently disabling undo in extracted buffers.  (Bug#18344)
1035 2014-08-27  Michael Albinus  <michael.albinus@gmx.de>
1037         * emacs-lisp/authors.el (authors-aliases): Addition.
1039         * net/tramp-adb.el: Spell author name correctly.
1041 2014-08-27  João Távora  <joaotavora@gmail.com>
1043         * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
1044         use url-expand-file-name.  (Bug#18310)
1046 2014-08-25  Glenn Morris  <rgm@gnu.org>
1048         * emulation/cua-rect.el (cua--highlight-rectangle):
1049         Avoid error at point-min.  (Bug#18309)
1051 2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1053         * progmodes/python.el (python-shell-prompt-detect): Remove redundant
1054         executable-find (bug#18244).
1056         * simple.el (self-insert-uses-region-functions): Defvar.
1058 2014-08-13  Leo Liu  <sdl.web@gmail.com>
1060         * speedbar.el (speedbar-generic-list-tag-p): Allow special
1061         elements from imenu.
1063 2014-08-11  Glenn Morris  <rgm@gnu.org>
1065         * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
1067         * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
1068         chose coding system for writing before backing up, since it causes
1069         a more serious problem than the one it solves.  (Closes Bug#18141,
1070         reopens Bug#13522.)
1072 2014-08-10  Martin Rudalics  <rudalics@gmx.at>
1074         * window.el (window-total-size): Make doc-string more
1075         self-contained.
1077 2014-08-09  Martin Rudalics  <rudalics@gmx.at>
1079         * window.el (display-buffer-below-selected): Restore original
1080         behavior if buffer is already displayed in the window below the
1081         selected one (Bug#18181).
1083 2014-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1085         * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1086         event (bug#18212).
1088 2014-08-08  Eli Zaretskii  <eliz@gnu.org>
1090         * info.el (info): Doc fix.
1092 2014-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1094         * info.el (Info-mode-map): Override a global down-mouse-2 binding
1095         (bug#18212).
1097 2014-08-05  Eli Zaretskii  <eliz@gnu.org>
1099         * simple.el (default-line-height): A floating-point value of
1100         line-spacing means a fraction of the default frame font's height,
1101         not of the font currently used by the 'default' face.
1102         Truncate the pixel value, like the display engine does.
1103         (window-screen-lines): Use window-inside-pixel-edges for
1104         determining the window height in pixels.  (Bug#18195)
1106 2014-07-29  Eli Zaretskii  <eliz@gnu.org>
1108         * tutorial.el (tutorial--display-changes): Accept punctuation
1109         characters before the key binding.  (Bug#18146)
1111 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
1113         * doc-view.el (doc-view-open-text): Don't require that the
1114         document is saved in a file (e.g., email attachment).
1116 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
1118         * window.el (window--pixel-to-total): Use FRAME's root window, not
1119         that of the selected frame.  (Bug#18112, Bug#16674)
1121 2014-07-27  Andreas Schwab  <schwab@linux-m68k.org>
1123         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1124         (Bug#18117)
1126 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1128         * progmodes/python.el (inferior-python-mode): Doc fix.
1130 2014-07-25  Stephen Berman  <stephen.berman@gmx.net>
1132         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1133         not a character, ignore it instead of raising an error.
1135 2014-07-25  Stephen Berman  <stephen.berman@gmx.net>
1137         * calendar/todo-mode.el: Fix handling of marked items and make
1138         minor code improvements.
1139         (todo-edit-item): If there are marked items, ensure user can only
1140         invoke editing commands that work with marked items.
1141         (todo-edit-item--text): When there are marked items, make it a
1142         noop if invoked with point not on an item; otherwise, ensure it
1143         applies only to item at point.
1144         (todo-item-undone): If there are marked not-done items, return
1145         point to its original position before signaling user error.
1146         (todo--user-error-if-marked-done-item): New function.
1147         (todo-edit-item--header, todo-edit-item--diary-inclusion)
1148         (todo-item-done): Use it.
1150 2014-07-25  Glenn Morris  <rgm@gnu.org>
1152         * files.el (toggle-read-only): Re-add basic doc-string.
1153         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1155         * progmodes/prolog.el (prolog-mode-keybindings-edit):
1156         Replace missing `switch-to-prolog' with `run-prolog'.
1157         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1159 2014-07-22  Stephen Berman  <stephen.berman@gmx.net>
1161         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1162         of file-wide setting when changing category-wide setting.
1164 2014-07-21  Glenn Morris  <rgm@gnu.org>
1166         * progmodes/hideif.el (hide-ifdef-mode-submap):
1167         Also substitute read-only-mode.
1168         * bindings.el (mode-line-toggle-read-only):
1169         * bs.el (bs-toggle-readonly):
1170         * buff-menu.el (Buffer-menu-toggle-read-only):
1171         * dired.el (dired-toggle-read-only):
1172         * files.el (view-read-only, find-file-read-only)
1173         (find-file-read-only-other-window)
1174         (find-file-read-only-other-frame):
1175         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1176         Doc fixes re toggle-read-only.
1178 2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1180         * progmodes/python.el: Add comment about pipe buffering and
1181         solutions for missing/delayed output in inferior Python shells.
1182         (Bug#17304)
1184 2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1186         * progmodes/python.el (python-mode): Don't set
1187         mode-require-final-newline.  (Bug#17990)
1189 2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1191         Make python.el work with IPython automatically.  (Bug#15510)
1192         * progmodes/python.el:
1193         (python-shell-completion-setup-code): New value supporting iPython.
1194         (python-shell-completion-string-code): New value supporting iPython.
1195         (python-shell-completion-get-completions): Use them.
1196         (python-shell-completion-module-string-code): Make obsolete.
1197         (python-shell-prompt-input-regexps)
1198         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1199         (python-shell-output-filter): Fix comment typo.
1201 2014-07-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1203         Fix Python shell prompts detection for remote hosts.
1204         * progmodes/python.el (python-shell-prompt-detect):
1205         Replace call-process with process-file and make it more robust.
1207 2014-07-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1209         Autodetect Python shell prompts.  (Bug#17370)
1210         * progmodes/python.el:
1211         (python-shell-interpreter-interactive-arg)
1212         (python-shell-prompt-detect-enabled)
1213         (python-shell-prompt-detect-failure-warning)
1214         (python-shell-prompt-input-regexps)
1215         (python-shell-prompt-output-regexps): New vars.
1216         (python-shell-prompt-calculated-input-regexp)
1217         (python-shell-prompt-calculated-output-regexp): New vars.
1218         (python-shell-get-process-name)
1219         (python-shell-internal-get-process-name)
1220         (python-shell-output-filter)
1221         (python-shell-completion-get-completions): Use them.
1222         (python-shell-prompt-detect)
1223         (python-shell-prompt-validate-regexps): New functions.
1224         (python-shell-prompt-set-calculated-regexps): New function.
1225         (inferior-python-mode): Use it.  Also honor overridden
1226         python-shell-interpreter and python-shell-interpreter-args.
1227         (python-shell-make-comint): Honor overridden
1228         python-shell-interpreter and python-shell-interpreter-args.
1229         (python-shell-get-or-create-process): Make it testable by allowing
1230         to call run-python non-interactively.
1231         (python-util-valid-regexp-p): New function.
1232         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1233         (python-shell-prompt-output-regexp)
1234         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1236 2014-07-16  Glenn Morris  <rgm@gnu.org>
1238         * desktop.el (after-init-hook): Disable startup frame restoration
1239         in non-graphical situations.  (Bug#17693)
1241 2014-07-14  Glenn Morris  <rgm@gnu.org>
1243         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1244         if it was "empty", or used for a different set of files.  (Bug#17884)
1246 2014-07-13  Eli Zaretskii  <eliz@gnu.org>
1248         * bindings.el (mode-line-remote): If default-directory is not a
1249         string, don't call file-remote-p on it; instead state in the
1250         help-echo that it is nil.  (Bug#17986)
1252 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
1254         Fix bug: C-x v v discarded existing log message (Bug#17884).
1255         * vc/vc-dispatcher.el (vc-log-edit):
1256         Don't clobber an already-existing log message.
1258 2014-07-10  Glenn Morris  <rgm@gnu.org>
1260         * vc/log-edit.el (log-edit-changelog-entries):
1261         Check for a visited-but-never-saved ChangeLog.
1263 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1265         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1266         a non-existing file (bug#17970).
1268         * faces.el (face-name): Undo last change.
1269         (x-resolve-font-name): Don't call face-name (bug#17956).
1271 2014-07-09  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1273         Fix dedenters and electric colon handling. (Bug#15163)
1275         * progmodes/python.el
1276         (python-rx-constituents): Add dedenter and block-ender.
1277         (python-indent-dedenters, python-indent-block-enders): Delete.
1278         (python-indent-context): Return new case for dedenter-statement.
1279         (python-indent-calculate-indentation): Handle new case.
1280         (python-indent-calculate-levels): Fix levels calculation for
1281         dedenter statements.
1282         (python-indent-post-self-insert-function): Fix colon handling.
1283         (python-info-dedenter-opening-block-message): New function.
1284         (python-indent-line): Use it.
1285         (python-info-closing-block)
1286         (python-info-closing-block-message): Remove.
1287         (python-info-dedenter-opening-block-position)
1288         (python-info-dedenter-opening-block-positions)
1289         (python-info-dedenter-statement-p): New functions.
1291 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1293         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1294         the middle of a line (bug#17896).
1296 2014-07-08  Juri Linkov  <juri@jurta.org>
1298         * startup.el (command-line): Append displaying the warning about
1299         the errors in the init file to the end of `after-init-hook'.
1300         (Bug#17927)
1302 2014-07-08  Juri Linkov  <juri@jurta.org>
1304         * faces.el (face-name): Return input arg `face' as is
1305         when it's not a symbol.
1306         (x-resolve-font-name): Don't check if the face is a symbol.
1307         (Bug#17956)
1309 2014-07-08  Juri Linkov  <juri@jurta.org>
1311         * facemenu.el (list-colors-print): In help-echo format use %.2f
1312         instead of %d because now HSV values are floating-point components
1313         between 0.0 and 1.0.
1315 2014-07-06  Glenn Morris  <rgm@gnu.org>
1317         * emulation/cua-rect.el (cua--activate-rectangle):
1318         Avoid setting cua--rectangle to nil.  (Bug#17877)
1320 2014-07-06  Stephen Berman  <stephen.berman@gmx.net>
1322         * calendar/todo-mode.el: Fix wrong-type-argument error when
1323         marking multiple consecutive items.
1324         (todo-toggle-mark-item): Don't try to mark the empty lines at the
1325         end of the todo and done items sections.  Note in doc string that
1326         items marked by passing a numeric prefix argument can include the
1327         last todo and first done items.
1328         (todo-mark-category): Don't try to mark the empty line between the
1329         todo and done items sections.
1331 2014-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1333         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1334         proper Lisp quoting (bug#17934).
1336         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1337         require-final-newline since prog-mode already took care of it (bug#17947).
1339 2014-07-04  Stephen Berman  <stephen.berman@gmx.net>
1341         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
1342         refer to the Todo mode Info manual.  Update the comment on
1343         requiring cl-lib.
1344         (todo-find-filtered-items-file): Add todo-prefix overlays.
1345         (todo-filter-items): Reorder a let-bound variable to avoid a
1346         wrong-type-argument error on canceling the file choice dialog.
1348 2014-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1350         * progmodes/octave.el (inferior-octave-mode):
1351         Set comint-input-ring-size to a number (bug#17912).
1353 2014-07-03  Juri Linkov  <juri@jurta.org>
1355         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1356         and `isearch-mode' associated with nil.  (Bug#17849)
1358 2014-07-02  Juri Linkov  <juri@jurta.org>
1360         * desktop.el (desktop-save): Rename arg `auto-save' to
1361         `only-if-changed'.  Doc fix.  (Bug#17873)
1363 2014-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1365         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1366         Use insert-for-yank (bug#17271).
1368 2014-07-02  Leo Liu  <sdl.web@gmail.com>
1370         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1371         Support lexical-binding.
1373 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1375         * vc/log-edit.el (log-edit-goto-eoh): New function.
1376         (log-edit--match-first-line): Use it (bug#17861).
1378 2014-07-01  Glenn Morris  <rgm@gnu.org>
1380         * vc/log-edit.el (log-edit-hook): Add missing :version.
1382 2014-07-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1384         * progmodes/python.el (python-indent-post-self-insert-function):
1385         Enhancements to electric indentation behavior inside
1386         parens. (Bug#17658)
1388 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1390         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1391         buffer-invisibility-spec (bug#17867).
1393 2014-06-29  Andreas Schwab  <schwab@linux-m68k.org>
1395         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1396         pass "-a".
1398 2014-06-29  Glenn Morris  <rgm@gnu.org>
1400         * cus-edit.el (help):
1401         * finder.el (finder-known-keywords):
1402         * help.el (help-for-help-internal):
1403         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1404         (ediff-redraw-registry-buffer):
1405         * vc/ediff-ptch.el (ediff-patch-file-internal):
1406         Doc fixes re "online" help.  (Bug#17803)
1408         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1409         (idlwave-mode): Doc URL update.
1411 2014-06-27  Stephen Berman  <stephen.berman@gmx.net>
1413         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1414         account for file-wide setting of todo-top-priorities-overrides.
1415         Make code a bit cleaner.
1417 2014-06-27  Leo Liu  <sdl.web@gmail.com>
1419         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
1421 2014-06-27  Glenn Morris  <rgm@gnu.org>
1423         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
1425 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
1427         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1428         category-wide setting of todo-top-priorities-overrides, check for
1429         a file-wide setting and fontify accordingly.
1431 2014-06-26  Glenn Morris  <rgm@gnu.org>
1433         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
1435 2014-06-26  Daiki Ueno  <ueno@gnu.org>
1437         * emacs-lisp/package.el (package--check-signature):
1438         If package-check-signature is allow-unsigned, don't signal error when
1439         we can't verify signature because of missing public key
1440         (backport for bug#17625).
1442 2014-06-26  Glenn Morris  <rgm@gnu.org>
1444         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1445         Remove outdated declaration.
1447         * emacs-lisp/authors.el (authors-valid-file-names)
1448         (authors-renamed-files-alist): Additions.
1450 2014-06-25  Leo Liu  <sdl.web@gmail.com>
1452         * textmodes/picture.el (picture-set-tab-stops):
1453         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1454         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1456         * progmodes/asm-mode.el (asm-calculate-indentation):
1457         Use indent-next-tab-stop.
1459         * indent.el (indent-accumulate-tab-stops): New function.
1461 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1463         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1464         (package-desc-status): Obey it.
1466 2014-06-25  Stephen Berman  <stephen.berman@gmx.net>
1468         * calendar/todo-mode.el: Fix two bugs.
1469         (todo-insert-item--basic): If user cancels item insertion to
1470         another category before setting priority, show original category
1471         whether it is in the same or a different file.
1472         (todo-set-item-priority): After selecting category, instead of
1473         moving point to top, which extends an active region, restore it.
1475 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1477         * help-fns.el (describe-function-1): Check file-name is a string before
1478         calling help-fns--autoloaded-p (bug#17564).
1480 2014-06-24  Juri Linkov  <juri@jurta.org>
1482         * desktop.el (desktop-auto-save-enable)
1483         (desktop-auto-save-disable): New functions.
1484         (desktop-save-mode, desktop-auto-save-timeout): Use them.
1485         (desktop-read): Disable the autosave before loading the desktop,
1486         and enable afterwards.  (Bug#17351)
1488 2014-06-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1490         Fix some indentation problem with \; and pipes (bug#17842).
1491         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1492         (sh-smie--default-forward-token, sh-smie--default-backward-token):
1493         New functions.
1494         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1495         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1496         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1498 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
1500         * international/fontset.el (script-representative-chars):
1501         Add representative characters for scripts added in Unicode 7.0.
1502         (otf-script-alist): Synchronize with the latest registry of OTF
1503         script tags.
1505         * international/characters.el (char-script-table): Update for
1506         scripts added and codepoint ranges changed in Unicode 7.0.
1508 2014-06-23  Leo Liu  <sdl.web@gmail.com>
1510         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1511         tab-stop-list to nil.  (Bug#16381)
1513         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1514         (indent-rigidly-left-to-tab-stop)
1515         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1516         (move-to-tab-stop): Change callers.
1518 2014-06-22  Eli Zaretskii  <eliz@gnu.org>
1520         * skeleton.el (skeleton-insert): Yet another fix of the doc string
1521         wrt behavior of \n as the first/last element of a skeleton.
1523 2014-06-22  Michael Albinus  <michael.albinus@gmx.de>
1525         * net/tramp-adb.el (tramp-adb-handle-process-file):
1526         * net/tramp-sh.el (tramp-sh-handle-process-file):
1527         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1528         the output buffer when DISPLAY is non-nil.  (Bug#17815)
1530 2014-06-21  Glenn Morris  <rgm@gnu.org>
1532         * play/landmark.el (landmark-move-down, landmark-move-up):
1533         Fix 2007-10-20 change - preserve horizontal position.
1535 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1537         Fix completion retrieval parsing (bug#17209).
1538         * progmodes/python.el (python-mode):
1539         (python-util-strip-string): New function.
1540         (python-shell-completion-get-completions): Use it.
1542 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1544         * skeleton.el (skeleton-insert): Fix last change.
1546 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1548         Enhancements for outline integration (bug#17796).
1549         * progmodes/python.el (python-mode): Properly set
1550         outline-heading-end-regexp so that comments after colons for
1551         defuns are supported.
1553 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1555         * skeleton.el (skeleton-insert): Doc fix.
1557 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1559         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1560         (smie-config-guess): Use smie-config-local so the rules are obeyed
1561         (bug#17818).
1563         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1564         since it's already done inside the loop (bug#17819).
1566 2014-06-20  Martin Rudalics  <rudalics@gmx.at>
1568         * mouse.el (mouse-drag-line): Re-remove code initially removed
1569         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1570         (Bug#17819).
1572 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1574         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1575         align with the surrounding parent (bug#17721).
1577 2014-06-20  Eli Zaretskii  <eliz@gnu.org>
1579         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1580         locally to nil.
1581         (texinfo-insert-block, texinfo-insert-@end)
1582         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1583         local setting of skeleton-end-newline by adding an explicit \n to
1584         the skeletons where appropriate.  (Bug#17801)
1586 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1588         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1589         (smie-indent--hanging-p): Use it.
1590         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1592 2014-06-20  Leo Liu  <sdl.web@gmail.com>
1594         * simple.el (read-quoted-char): Don't let help chars pop up help
1595         buffer.  (Bug#16617)
1597 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1599         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1600         for | (bug#17621).
1602 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1604         * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1605         (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1606         burping.
1608 2014-06-18  Eli Zaretskii  <eliz@gnu.org>
1610         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1611         and later.  (Bug#17790)
1613 2014-06-18  Juri Linkov  <juri@jurta.org>
1615         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1616         to `soft'.  (Bug#17554)
1618 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1620         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1621         (bug#17737).
1623 2014-06-16  Dmitry Gutov  <dgutov@yandex.ru>
1625         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1626         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
1628 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
1630         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1631         `unread-command-events'.
1633 2014-06-14  Glenn Morris  <rgm@gnu.org>
1635         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
1636         Replace delete-duplicates and mapcan by cl- versions throughout.
1637         And cl-macroexpand-all by macroexpand-all.
1638         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1640 2014-06-14  Eli Zaretskii  <eliz@gnu.org>
1642         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
1644 2014-06-14  Juri Linkov  <juri@jurta.org>
1646         * bindings.el: Put `ascii-character' property on keypad keys
1647         mapped to characters.  (Bug#17759)
1649 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1651         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1652         bumping forward into a closing paren (bug#17761).
1654         * term/xterm.el (xterm--version-handler): Work around for OSX
1655         Terminal.app (bug#17607).
1657 2014-06-08  Glenn Morris  <rgm@gnu.org>
1659         * startup.el (initial-buffer-choice): Doc fix.
1660         Reset :version (adding an option does not merit a :version bump).
1662         * bookmark.el (bookmark-load):
1663         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1665 2014-06-06  Juri Linkov  <juri@jurta.org>
1667         * desktop.el: Activate auto-saving on window configuration changes.
1668         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1669         `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1670         (desktop-auto-save-set-timer): Change REPEAT arg of
1671         `run-with-idle-timer' from t to nil.
1672         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1674 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
1676         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1677         vc-hg-command (bug#17570).
1679 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1681         * international/mule-cmds.el (ucs-names): Add special entry for BEL
1682         (bug#17702).
1684 2014-06-06  Glenn Morris  <rgm@gnu.org>
1686         * startup.el (window-setup-hook): Doc fix.
1688 2014-06-05  Glenn Morris  <rgm@gnu.org>
1690         * emacs-lisp/package.el (package-check-signature)
1691         (package-unsigned-archives): Doc fixes.
1693 2014-06-03  Martin Rudalics  <rudalics@gmx.at>
1695         * window.el (display-buffer-use-some-window): Don't make window
1696         used smaller than it was before (Bug#17671).
1698 2014-06-03  Eli Zaretskii  <eliz@gnu.org>
1700         * menu-bar.el (menu-bar-open): Fix last change: use the PC
1701         'redisplay' instead of '(sit-for 0)'.
1703 2014-06-03  Michael Albinus  <michael.albinus@gmx.de>
1705         * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1706         regexp.  (Bug#17653)
1708 2014-06-03  Glenn Morris  <rgm@gnu.org>
1710         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1712 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
1714         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1716 2014-06-01  Eli Zaretskii  <eliz@gnu.org>
1718         * simple.el (keyboard-quit): Force update of mode lines, to remove
1719         the "Def" indicator, if we were defining a macro.  (Bug#17615)
1721 2014-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1723         * minibuffer.el (minibuffer-force-complete-and-exit):
1724         Obey minibuffer-default (bug#17545).
1726         * progmodes/js.el (js-indent-line): Don't mix columns and chars
1727         (bug#17619).
1729 2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1731         * subr.el (set-transient-map): Don't wait for some "nested"
1732         transient-map to finish if we're only supposed to be active for
1733         the next command (bug#17642).
1735 2014-05-31  Leo Liu  <sdl.web@gmail.com>
1737         * emacs-lisp/gv.el (window-buffer, window-display-table)
1738         (window-dedicated-p, window-hscroll, window-point, window-start):
1739         Fix gv-expander.  (Bug#17630)
1741 2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1743         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1744         clicks (bug#17633).
1746         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1747         for the single comma, since ", " is *very* common in normal French text
1748         (bug#17643).
1750 2014-05-30  Glenn Morris  <rgm@gnu.org>
1752         * emacs-lisp/package.el (package-check-signature)
1753         (package-unsigned-archives): Fix :version.
1755 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1757         * subr.el (sit-for): Don't run input-methods (bug#15614).
1759 2014-05-28  Glenn Morris  <rgm@gnu.org>
1761         * cus-start.el: Fix some :version numbers.
1763 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1765         * simple.el (deactivate-mark): Set mark-active to nil even if
1766         deactivation is done via setting transient-mark-mode to nil,
1767         since one is buffer-local and the other is global.
1769         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1770         there can't be more than 2 arguments (bug#17584).
1772 2014-05-27  Glenn Morris  <rgm@gnu.org>
1774         * simple.el (filter-buffer-substring-functions)
1775         (filter-buffer-substring-function, buffer-substring-filters)
1776         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1778         * minibuffer.el (completion-in-region-functions, completion-in-region)
1779         (completion--in-region): Doc fixes.
1781         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1782         (expand-abbrev, abbrev--default-expand): Doc fixes.
1784 2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
1786         Include sources used to create macuvs.h.
1787         * international/README: Refer to the Unicode Terms of Use rather
1788         than copying it bodily here, as that simplifies maintenance.
1790 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
1792         * cus-face.el (custom-face-attributes): Add :distant-foreground.
1794 2014-05-25  Martin Rudalics  <rudalics@gmx.at>
1796         * window.el (window--dump-frame): Remove interactive
1797         specification.
1799 2014-05-23  Glenn Morris  <rgm@gnu.org>
1801         * hippie-exp.el (he-line-search-regexp):
1802         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
1804 2014-05-23  Stephen Berman  <stephen.berman@gmx.net>
1806         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1807         to avoid errors when trying to create or visit a file foo.todo
1808         located outside to todo-directory, and to allow having such files
1809         without them being tied to Todo mode (bug#17482).
1810         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1811         (todo-archive-done-item, todo-find-filtered-items-file)
1812         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1813         (todo-category-completions, todo-read-category): When visiting a
1814         Todo file, make sure we're in the right mode and the buffer local
1815         variables are set.
1816         (todo-make-categories-list, todo-reset-nondiary-marker)
1817         (todo-reset-done-string, todo-reset-comment-string):
1818         After processing all Todo files, kill the buffers of those files that
1819         weren't being visited before the processing.
1820         (todo-display-as-todo-file, todo-add-to-buffer-list)
1821         (todo-visit-files-commands): Comment out.
1822         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1823         (auto-mode-alist): Remove add-to-list calls making Todo file
1824         extensions unrestrictedly tied to Todo modes.
1826 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1828         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1829         (advice-function-member-p): Tell it to check both names and functions
1830         (bug#17531).
1831         (advice--add-function): Adjust call accordingly.
1833 2014-05-23  Stephen Berman  <stephen.berman@gmx.net>
1835         * calendar/todo-mode.el: Miscellaneous bug fixes.
1836         (todo-delete-file): When deleting an archive but not its todo
1837         file, make sure to update the todo file's category sexp.
1838         (todo-move-category): Keep the moved category's name unless the
1839         file moved to already has a category with that name.  If the
1840         numerically last category of the source file was moved, make the
1841         first category current to avoid selecting a nonexisting category.
1842         (todo-merge-category): Fix implementation to make merging to a
1843         category in another file work as documented.  Eliminate now
1844         insufficient and unnecessary renaming of archive category, correct
1845         document string accordingly, and clarify it.  If the numerically
1846         last category of the source file was merged, make the first
1847         category current to avoid selecting a nonexisting category.
1848         (todo-archive-done-item): When there are marked items and point
1849         happens to be on an unmarked item, ignore the latter.  Don't leave
1850         point below last item after archiving marked items.
1851         (todo-unarchive-items): Fix logic to ensure unarchiving an item
1852         from an archive with only one category deletes the archive only
1853         when the category is empty after unarchiving.  Make sure the todo
1854         file's category sexp is updated.
1855         (todo-read-file-name): Allow an existing file name even when it is
1856         not required (todo-move-category needs this to work as documented).
1857         (todo-add-file): Call todo-validate-name to reject the name of an
1858         existing todo file (needed due to fix in todo-read-file-name).
1859         (todo-reset-nondiary-marker): Also reset in filtered items files.
1860         (todo-reset-done-string, todo-reset-comment-string): Also reset in
1861         regexp filtered items files.
1862         (todo-reset-highlight-item): Also reset in filtered items files.
1863         Fix incorrect variable reference in document string.
1865 2014-05-22  Glenn Morris  <rgm@gnu.org>
1867         * window.el (window--dump-frame): Avoid error in --without-x builds.
1869 2014-05-21  Glenn Morris  <rgm@gnu.org>
1871         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1873 2014-05-21  Eli Zaretskii  <eliz@gnu.org>
1875         * frame.el (set-frame-font): Doc fix.
1877         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
1879 2014-05-21  Dmitry Gutov  <dgutov@yandex.ru>
1881         * emacs-lisp/package.el (package--download-one-archive):
1882         Use `write-region' instead of `save-buffer' to avoid running various
1883         hooks.  (Bug#17155)
1884         (describe-package-1): Same.  Insert newline at the end of the
1885         buffer if appropriate.
1887 2014-05-20  Juri Linkov  <juri@jurta.org>
1889         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1890         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1891         Add more modifiers: meta, control, shift, hyper, super, alt.
1892         (Bug#17439)
1894         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1895         to allow changing its value with `set-variable'.
1897 2014-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1899         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1900         #; comments.
1901         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1902         New functions.
1903         (scheme-mode-variables): Set syntax-propertize-function instead of
1904         font-lock-syntactic-face-function.
1905         (scheme-font-lock-syntactic-face-function): Delete.
1907         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1909 2014-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1911         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1912         (bug#17392).
1914 2014-05-17  Michael Albinus  <michael.albinus@gmx.de>
1916         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1917         for a temporary file name.
1919 2014-05-17  Eli Zaretskii  <eliz@gnu.org>
1921         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
1923 2014-05-16  Michael Albinus  <michael.albinus@gmx.de>
1925         * net/dbus.el (dbus-init-bus, dbus-call-method)
1926         (dbus-call-method-asynchronously, dbus-send-signal)
1927         (dbus-method-return-internal, dbus-method-error-internal):
1928         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
1930 2014-05-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1932         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1933         methods which do not have a doc string.  (Bug#17490)
1935 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
1936             Stefan Monnier  <monnier@iro.umontreal.ca>
1938         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1939         suffix (bug#15419).
1941 2014-05-14  Glenn Morris  <rgm@gnu.org>
1943         * vc/emerge.el (emerge-temp-file-prefix):
1944         Make pointless option obsolete.
1945         (emerge-temp-file-mode): Make non-functional option obsolete.
1947 2014-05-13  Michael Albinus  <michael.albinus@gmx.de>
1949         * net/browse-url.el (browse-url):
1950         Use `unhandled-file-name-directory' when setting `default-directory',
1951         in order to circumvent stalled remote connections.  (Bug#17425)
1953 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1955         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1956         into autoloading just because of a silly indirection.
1958 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
1960         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
1962 2014-05-11  Glenn Morris  <rgm@gnu.org>
1964         * emacs-lisp/find-gc.el: Move to ../admin.
1966 2014-05-10  Glenn Morris  <rgm@gnu.org>
1968         * printing.el (pr-version):
1969         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1971         * net/browse-url.el (browse-url-mosaic):
1972         Create /tmp/Mosaic.PID as a private file.
1974 2014-05-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1976         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1977         (advice--member-p): If name is given, only compare the name.
1978         (advice--remove-function): Don't stop at the first match.
1979         (advice--normalize-place): New function.
1980         (add-function, remove-function): Use it.
1981         (advice--add-function): Pass the name, if any, to
1982         advice--remove-function.
1984 2014-05-09  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
1986         * electric.el (electric-indent-post-self-insert-function): Don't use
1987         `pos' after modifying the buffer (bug#17449).
1989 2014-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1991         * subr.el (function-put): Add function.
1993 2014-05-09  Stephen Berman  <stephen.berman@gmx.net>
1995         * calendar/todo-mode.el (todo-insert-item-from-calendar):
1996         Correct argument list to conform to todo-insert-item--basic.
1998 2014-05-09  Glenn Morris  <rgm@gnu.org>
2000         * files.el (cd-absolute): Test if directory is accessible
2001         rather than executable.  (Bug#17330)
2003         * progmodes/compile.el (recompile):
2004         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
2006 2014-05-08  Juri Linkov  <juri@jurta.org>
2008         * dired.el (dired-check-switches, dired-switches-recursive-p):
2009         New functions.  (Bug#17218)
2010         (dired-switches-escape-p, dired-move-to-end-of-filename):
2011         Use `dired-check-switches'.
2012         (dired-insert-old-subdirs, dired-build-subdir-alist)
2013         (dired-sort-R-check): Use `dired-switches-recursive-p'.
2015 2014-05-08  Glenn Morris  <rgm@gnu.org>
2017         * net/browse-url.el (browse-url-mosaic):
2018         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
2019         This is CVE-2014-3423.
2021 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2023         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2024         (xterm-mouse--read-event-sequence-1000): Return nil if something
2025         looks fishy.
2026         (xterm-mouse-event): Propagate it.
2027         (xterm-mouse-translate-1): Handle it.
2029 2014-05-07  Stephen Berman  <stephen.berman@gmx.net>
2031         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2032         four slots of the parameter list are filled, make sure to pass it
2033         to the argument list of todo-insert-item--basic.
2035 2014-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2037         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2038         Add optional `seen' argument to detect and break infinite loops.
2040 2014-05-06  Eli Zaretskii  <eliz@gnu.org>
2042         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2043         (trace-unsafe, trace-use-tree): Make parentheses style be
2044         according to Emacs style.
2046 2014-05-06  Michael Albinus  <michael.albinus@gmx.de>
2048         * net/tramp-sh.el (tramp-remote-process-environment):
2049         Remove HISTFILE and HISTSIZE; it's too late to set them here.
2050         Add :version entry.
2051         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2052         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
2053         extra "PSx=..." commands.
2054         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2055         (Bug#17295)
2057         (tramp-uudecode): Replace the hard-coded temporary file name by a
2058         format specifier.
2059         (tramp-remote-coding-commands): Enhance docstring.
2060         (tramp-find-inline-encoding): Replace "%t" by a temporary file
2061         name.  (Bug#17415)
2062         This is CVE-2014-3424.
2064 2014-05-06  Glenn Morris  <rgm@gnu.org>
2066         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2067         (find-gc-source-files): Update some names.
2068         (trace-call-tree): Simplify and update.
2069         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
2070         This is CVE-2014-3422.
2072 2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2074         * minibuffer.el (completion--try-word-completion): Revert fix for
2075         Bug#15980 (bug#17375).
2077         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2078         Always store button numbers in the same way in xterm-mouse-last;
2079         Don't burp is xterm-mouse-last is not set as expected.
2080         Never return negative indices.
2082 2014-05-05  Dmitry Gutov  <dgutov@yandex.ru>
2084         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2085         Backtrack one char if the global/char-literal var matcher hits
2086         inside a string.  The next char could be the beginning of an
2087         expression expansion.
2089 2014-05-05  Glenn Morris  <rgm@gnu.org>
2091         * help-fns.el (describe-function-1): Test for an autoload before a
2092         macro, since `macrop' works on autoloads.  (Bug#17410)
2094 2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2096         * electric.el (electric-indent-functions-without-reindent): Add yaml.
2098         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2099         Make sure the new point we return is within the new string (bug#17239).
2101 2014-05-03  Eli Zaretskii  <eliz@gnu.org>
2103         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2105 2014-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2107         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2108         Use nil rather than `default' for the "default" appearance (bug#17388).
2109         * vc/ediff-util.el (ediff-inferior-compare-regions)
2110         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2111         a misleading `default' value when it's really a boolean.
2112         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2113         overlay is not visible.
2115 2014-05-02  Stephen Berman  <stephen.berman@gmx.net>
2117         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2118         (todo-menu): Uncomment and update.
2120 2014-05-02  Stephen Berman  <stephen.berman@gmx.net>
2122         * calendar/todo-mode.el: Reimplement item editing to have the same
2123         basic user interface as item insertion, and make small UI and
2124         larger internal improvements to the latter.
2125         (todo-insert-item): Add reference to the Todo mode user manual to
2126         the documentation string.
2127         (todo-insert-item--basic): Rename from todo-basic-insert-item and
2128         adjust all callers.  Change signature to combine diary and
2129         nonmarking arguments.  Incorporate functionality of deleted item
2130         copying command and add error checking.  Remove detailed
2131         descriptions of the arguments from the documentation string, since
2132         this is treated in the Todo mode user manual.
2133         (todo-copy-item, todo-edit-multiline-item)
2134         (todo-edit-done-item-comment, todo-edit-item-header)
2135         (todo-edit-item-time, todo-edit-item-date-from-calendar)
2136         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2137         (todo-edit-item-date-year, todo-edit-item-date-month)
2138         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2139         Remove.
2140         (todo-edit-item): Reimplement as wrapper command for
2141         todo-edit-item--next-key and make it distinguish done and not done
2142         todo items.
2143         (todo-edit-item--text): New function, replacing old command
2144         todo-edit-item and incorporating deleted commands
2145         todo-edit-multiline-item and todo-edit-done-item-comment.
2146         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2147         Use only numeric value of prefix argument.  Remove detailed
2148         descriptions of the arguments from the documentation string, since
2149         this is treated in the Todo mode user manual.
2150         (todo-edit-item--diary-inclusion): New function, replacing old
2151         command todo-edit-item-diary-inclusion and incorporating and fixing
2152         functionality of deleted command todo-edit-item-diary-nonmarking,
2153         making sure to remove todo-nondiary-marker when adding
2154         diary-nonmarking-symbol.
2155         (todo-edit-category-diary-inclusion): Make sure to delete
2156         diary-nonmarking-symbol when adding todo-nondiary-marker.
2157         (todo-edit-category-diary-nonmarking): Fix indentation.
2158         (todo-insert-item--parameters): Group diary and nonmarking
2159         parameters together.
2160         (todo-insert-item--apply-args): Adjust to signature of
2161         todo-insert-item--basic and incorporate copy parameter.
2162         Make small code improvements.
2163         (todo-insert-item--next-param): Improve prompt and adjust it to
2164         new parameter grouping.  Remove obsolete code.
2165         (todo-edit-item--param-key-alist)
2166         (todo-edit-item--date-param-key-alist)
2167         (todo-edit-done-item--param-key-alist): New defconsts.
2168         (todo-edit-item--prompt): New variable.
2169         (todo-edit-item--next-key): New function.
2170         (todo-key-bindings-t): Bind "e" to todo-edit-item.
2171         Remove bindings of deleted commands.
2173 2014-05-02  Leo Liu  <sdl.web@gmail.com>
2175         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2177 2014-05-01  Glenn Morris  <rgm@gnu.org>
2179         * allout-widgets.el (allout-widgets-tally)
2180         (allout-decorate-item-guides):
2181         * menu-bar.el (menu-bar-positive-p):
2182         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2183         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2184         * progmodes/js.el (js--inside-param-list-p)
2185         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2186         * progmodes/prolog.el (region-exists-p):
2187         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2188         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2189         Doc fixes (replace `iff').
2191 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2193         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2195 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
2197         * dired.el (dired-initial-position-hook, dired-initial-position):
2198         Doc string fixes.
2200 2014-04-29  Glenn Morris  <rgm@gnu.org>
2202         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
2204 2014-04-27  Matthias Dahl  <matthias.dahl@binary-island.eu>
2206         * faces.el (face-spec-recalc): Apply X resources only after the
2207         defface spec has been applied. Thus, X resources are no longer
2208         overridden by the defface spec which also fixes issues on win32 where
2209         the toolbar coloring was wrong because it is set through X resources
2210         and was (wrongfully) overridden.  (Bug#16694)
2212 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2214         * textmodes/rst.el (electric-pair-pairs): Declare.
2215         (rst-mode): Set it (bug#17131).
2217 2014-04-27  Juri Linkov  <juri@jurta.org>
2219         * desktop.el (desktop-value-to-string): Let-bind `print-length'
2220         and `print-level' to nil.  (Bug#17351)
2222 2014-04-25  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2224         * battery.el (battery-update): Handle the case where battery
2225         status is "N/A" (bug#17319).
2227 2014-04-24  Eli Zaretskii  <eliz@gnu.org>
2229         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2230         Use equal-including-properties to compare help-echo strings (bug#17331).
2232 2014-04-24  Leo Liu  <sdl.web@gmail.com>
2234         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2235         Fix syntax for @.  (Bug#17325)
2237 2014-04-24  Daniel Colascione  <dancol@dancol.org>
2239         * emacs-lisp/cl.el (gv): Require gv early to break eager
2240         macro-expansion cycles.
2242 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2244         * simple.el (region-active-p): Check there's a mark (bug#17324).
2246         * simple.el (completion-list-mode-map): Use choose-completion for the
2247         mouse binding as well (bug#17302).
2248         (completion-list-mode, completion-setup-function): Adjust docstring and
2249         echo area message accordingly.
2250         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2251         calling convention of choose-completion.
2252         * comint.el (comint-dynamic-list-completions):
2253         * term.el (term-dynamic-list-completions): Accept choose-completion.
2255         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2256         &, |, +, - and * can't be a division (bug#17317).
2258 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2260         * term/xterm.el (xterm--version-handler): Don't use modern xterm
2261         features on gnome-terminal (bug#16988).
2263 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
2265         * dired.el (dired-insert-set-properties): Do not consider
2266         subdirectory headings and empty lines to be information that
2267         `dired-hide-details-mode' should hide.  (Bug#17228)
2269 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
2271         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2272         Remove test messages.
2273         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2274         and `target' twice.
2276 2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2278         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2279         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2281         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2283 2014-04-21  Michael Albinus  <michael.albinus@gmx.de>
2285         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2286         Set "IFS=" when using read builtin, in order to preserve spaces in
2287         the file name.  Add test messages for hunting a bug on hydra.
2288         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
2290 2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2292         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2293         Don't prettify a word within a symbol.
2295 2014-04-20  Michael Albinus  <michael.albinus@gmx.de>
2297         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2298         possible.
2300 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2302         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2303         assignments such as "case=hello" (bug#17297).
2305 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
2307         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2308         Do not autoload.
2309         (tramp-file-name-handler, tramp-completion-file-name-handler):
2310         Revert patch from 2014-04-10, it isn't necessary anymore.
2311         (tramp-autoload-file-name-handler)
2312         (tramp-register-autoload-file-name-handlers): New defuns.
2313         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2314         (tramp-register-file-name-handlers): Remove also
2315         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2316         Do not autoload its invocation, but eval it after loading of 'tramp.
2318         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2320         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2322 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2324         * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2325         was done (bug#17264).
2326         * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2327         comment to EOB.
2329         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2330         here-documents (bug#17262).
2332 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
2334         * term/pc-win.el (x-list-fonts, x-get-selection-value):
2335         Provide doc strings, as required by snarf-documentation.
2337 2014-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2339         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2340         arg of overlays-at.  Use `invisible-p'.
2342         * obsolete/lucid.el (extent-at):
2343         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2344         overlays-at.
2345         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2347 2014-04-14  João Távora  <joaotavora@gmail.com>
2349         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2350         links.  (Bug#17217).
2352 2014-04-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2354         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2355         Use mapc to loop over a vector.  (Bug#17257).
2357 2014-04-13  Michael Albinus  <michael.albinus@gmx.de>
2359         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2360         patch, there are new problems with file names containing spaces.
2361         Get rid of backticks.  (Bug#17238)
2363 2014-04-13  João Távora  <joaotavora@gmail.com>
2365         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2366         possible bug.
2368 2014-04-13  Eli Zaretskii  <eliz@gnu.org>
2370         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2371         (blink-cursor-mode): Mention customization variables and the
2372         effect of 'blink-cursor-blinks'.
2374 2014-04-12  Barry O'Reilly  <gundaetiapo@gmail.com>
2376         * simple.el (undo): Prevent insertion of identity mapping into
2377         undo-equiv-table so as undo-only does not inf loop in the presence
2378         of consecutive nils in undo list.
2380 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
2382         * faces.el (make-face): Deprecate optional argument as it is no
2383         longer needed/used since the conditional X resources handling
2384         has been pushed down to make-face-x-resource-internal itself.
2385         (make-empty-face): Don't pass optional argument to make-face.
2387 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
2389         * international/characters.el <standard-case-table>: Add entries
2390         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
2391         Set category of Coptic characters be 'g' (Greek).
2393 2014-04-12  Leo Liu  <sdl.web@gmail.com>
2395         * progmodes/octave.el (completion-table-with-cache): Define if not
2396         available.
2397         (octave-goto-function-definition)
2398         (octave-sync-function-file-names)
2399         (octave-find-definition-default-filename): Backquote upattern for
2400         compatibility.
2402 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
2404         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2405         name twice due to backticks.  (Bug#17238)
2407 2014-04-11  Glenn Morris  <rgm@gnu.org>
2409         * term/w32-win.el (x-win-suspend-error):
2410         * term/x-win.el (x-win-suspend-error): Sync docs.
2412 2014-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2414         Ediff's overlay priorities cause more trouble than they solve.
2415         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2416         (ediff-highest-priority): Remove function (bug#17234).
2417         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2418         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2419         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2420         overlay priorities.
2422 2014-04-10  Feng Li  <fengli@gmail.com>  (tiny change)
2424         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2425         entry; use symbol boundaries to avoid mis-matches.
2427 2014-04-10  Michael Albinus  <michael.albinus@gmx.de>
2429         * net/tramp.el (tramp-file-name-handler)
2430         (tramp-completion-file-name-handler): Avoid recursive loading.
2432         * net/tramp-sh.el (tramp-make-copy-program-file-name):
2433         Quote result also locally.
2435 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
2437         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2438         Module methods.  (Bug#17216)
2440 2014-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2442         * help.el (describe-bindings): Fix buffer handling (bug#17210).
2443         (describe-bindings-internal): Mark obsolete.
2445 2014-04-07  João Távora  <joaotavora@gmail.com>
2447         * elec-pair.el:
2448         (electric-pair--syntax-ppss): When inside comments parse from
2449         comment beginning.
2450         (electric-pair--balance-info): Fix typo in comment.
2451         (electric-pair--in-unterminated-string-p): Delete.
2452         (electric-pair--unbalanced-strings-p): New function.
2453         (electric-pair-string-bound-function): New var.
2454         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2455         according to `electric-pair--in-unterminated-string-p'
2457 2014-04-07  João Távora  <joaotavora@gmail.com>
2459         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2460         Inhibit quote pairing if point-max is inside an unterminated string.
2461         (electric-pair--looking-at-unterminated-string-p): Delete.
2462         (electric-pair--in-unterminated-string-p): New function.
2464 2014-04-07  Glenn Morris  <rgm@gnu.org>
2466         * shell.el (shell-directory-tracker):
2467         Go back to just ignoring failures.  (Bug#17159)
2469 2014-04-06  João Távora  <joaotavora@gmail.com>
2471         Fix `electric-pair-delete-adjacent-pairs' in modes binding
2472         backspace. (bug#16981)
2473         * elec-pair.el (electric-pair-backward-delete-char): Delete.
2474         (electric-pair-backward-delete-char-untabify): Delete.
2475         (electric-pair-mode-map): Bind backspace to a menu item filtering
2476         a new `electric-pair-delete-pair' command.
2477         (electric-pair-delete-pair): New command.
2479 2014-04-06  João Távora  <joaotavora@gmail.com>
2481         * progmodes/python.el (python-electric-pair-string-delimiter):
2482         Fix triple-quoting electricity.  (Bug#17192)
2484 2014-04-06  João Távora  <joaotavora@gmail.com>
2486         * elec-pair.el (electric-pair-post-self-insert-function):
2487         Don't skip whitespace when `electric-pair-text-pairs' and
2488         `electric-pair-pairs' were used. syntax to
2489         electric-pair--skip-whitespace.  (Bug#17183)
2491 2014-04-06  Eli Zaretskii  <eliz@gnu.org>
2493         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2494         "<F>".  (Bug#17199)
2496 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2498         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2499         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2501 2014-04-05  Glenn Morris  <rgm@gnu.org>
2503         * help.el (view-lossage): Doc tweak.
2505 2014-04-05  Matthias Dahl  <matthias.dahl@binary-island.eu>
2507         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2508         only when inhibit-x-resources is nil, and do that earlier in the
2509         function.  Doc fix.  (Bug#16694)
2510         (face-spec-choose): Accept additional optional argument, whose
2511         value is returned if no matching attributes are found.
2512         (face-spec-recalc): Use the new optional argument when calling
2513         face-spec-choose.  (Bug#16378)
2514         (make-face-x-resource-internal): Do nothing when
2515         inhibit-x-resources is non-nil.  Don't touch the default face if
2516         reversed video is given--as was done in previous versions of Emacs.
2517         (face-set-after-frame-default): Don't call
2518         make-face-x-resource-internal here.  (Bug#16434)
2520 2014-04-04  Tassilo Horn  <tsdh@gnu.org>
2522         * doc-view.el (doc-view-bookmark-jump):
2523         Use `bookmark-after-jump-hook' to jump to the right page after the
2524         buffer is shown in a window.  (bug#16090)
2526 2014-04-04  Eli Zaretskii  <eliz@gnu.org>
2528         * international/characters.el (mirroring): Fix last change:
2529         instead of loading uni-mirrored.el explicitly, do that implicitly
2530         by creating the 'mirroring' uniprop table.  This avoids announcing
2531         the loading of uni-mirrored.el.
2533 2014-04-04  Glenn Morris  <rgm@gnu.org>
2535         * files.el (buffer-stale--default-function)
2536         (buffer-stale-function, revert-buffer--default):
2537         * autorevert.el (auto-revert-buffers): Doc tweaks.
2539 2014-04-03  Eli Zaretskii  <eliz@gnu.org>
2541         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
2543 2014-04-03  Glenn Morris  <rgm@gnu.org>
2545         * files.el (make-backup-file-name-function)
2546         (make-backup-file-name, make-backup-file-name--default-function)
2547         (make-backup-file-name-1, find-backup-file-name)
2548         (revert-buffer-function, revert-buffer-insert-file-contents-function)
2549         (buffer-stale--default-function, buffer-stale-function)
2550         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2551         (revert-buffer, revert-buffer--default)
2552         (revert-buffer-insert-file-contents--default-function):
2553         Doc fixes related to defaults no longer being nil.
2554         (make-backup-file-name-function): Bump :version.
2555         Restore nil as a valid but deprecated custom type.
2557 2014-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2559         * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2560         used as a variable (bug#17174).
2562 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2564         * progmodes/perl-mode.el (perl-indent-new-calculate):
2565         Handle forward-sexp failure (bug#16985).
2566         (perl-syntax-propertize-function): Add "foreach" and "for" statement
2567         modifiers introducing expressions (bug#17116).
2569 2014-04-02  Glenn Morris  <rgm@gnu.org>
2571         * menu-bar.el (menu-bar-file-menu):
2572         * vc/ediff.el (ediff-current-file):
2573         Update for revert-buffer-function no longer being nil by default.
2575         * simple.el (command-execute): Respect nil disabled-command-function.
2577 2014-04-01  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2579         * simple.el (command-execute): Do not execute the command when it
2580         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
2582 2014-03-29  Juri Linkov  <juri@jurta.org>
2584         * dired-aux.el (dired-compress-file): Don't use string-match-p
2585         because its match data is used afterwards.
2587 2014-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2589         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2590         0 like nil.
2592 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
2594         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2595         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
2597         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2598         Don't propertize `?' or `!' as symbol constituent when after
2599         colon.  (Bug#17097)
2601 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
2603         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2604         which is no longer needed and causes trouble in GTK builds (bug#17046).
2606         * emacs-lisp/package-x.el (package--archive-contents-from-url):
2607         Use url-insert-file-contents; package-handle-response no longer exists.
2609 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
2611         * emacs-lisp/package.el: Fix bug#16733 (again).
2612         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2613         (url-http-target-url): Remove unused declarations.
2614         (package-handle-response): Remove.
2615         (package--with-work-buffer): Use url-insert-file-contents and simplify.
2616         (package--download-one-archive): Use current-buffer instead of
2617         dynamic binding of `buffer'.
2618         (describe-package-1): Do not decode readme-string.
2620 2014-03-25  Barry O'Reilly  <gundaetiapo@gmail.com>
2622         * simple.el (primitive-undo): Correction to 2014-03-24 change.
2624 2014-03-25  Michael Albinus  <michael.albinus@gmx.de>
2626         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2628         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2629         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
2630         `remote-file-name-inhibit-cache' to nil in the second pass.
2631         (tramp-find-executable): Do not call "which" on SunOS.
2632         (tramp-send-command-and-check): Fix docstring.
2633         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2634         check whether source directory has set the sticky bit.
2636 2014-03-24  Barry O'Reilly  <gundaetiapo@gmail.com>
2638         * simple.el (primitive-undo): Only process marker adjustments
2639         validated against their corresponding (TEXT . POS).  Issue warning
2640         for lone marker adjustments in undo history.  (Bug#16818)
2641         (undo-make-selective-list): Add marker adjustments to selective
2642         undo list based on whether their corresponding (TEXT . POS) is in
2643         the region.  Remove variable adjusted-markers, which was unused
2644         and only non nil during undo-make-selective-list.
2645         (undo-elt-in-region): Return nil when passed a marker adjustment
2646         and explain in function doc.
2648 2014-03-24  Dmitry Gutov  <dgutov@yandex.ru>
2650         * emacs-lisp/package.el (package--add-to-archive-contents):
2651         Include already installed and built-in packages in
2652         `package-archive-contents'.
2653         (package-install): Don't include already installed packages in the
2654         options during interactive invocation.  (Bug#16762)
2656 2014-03-24  Daniel Colascione  <dancol@dancol.org>
2658         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2659         instead of cl-loop search function.
2661 2014-03-24  Juanma Barranquero  <lekktu@gmail.com>
2663         * frameset.el (frameset--initial-params): Fix typo in parameter name.
2665 2014-03-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2667         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2669 2014-03-24  Dmitry Gutov  <dgutov@yandex.ru>
2671         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2672         Match special global variables without curlies, too.
2673         (ruby-font-lock-keywords): Simplify the matcher for special global
2674         variables.  Don't require a non-word character after the variable.
2675         (Bug#17057)
2677 2014-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2679         * simple.el (redisplay-highlight-region-function): Increase priority of
2680         overlay to make sure boundaries are visible (bug#15899).
2682 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
2684         * frameset.el (frameset-restore): Compare display strings with equal.
2686         * frame.el (make-frame): Don't quote display name in error message,
2687         it is already a string.
2689 2014-03-23  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2691         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2692         the password.
2694 2014-03-23  Dmitry Gutov  <dgutov@yandex.ru>
2696         * emacs-lisp/package.el (package-show-package-list): If the buffer
2697         is already displayed in another window, switch to that window.
2699 2014-03-21  Daniel Colascione  <dancol@dancol.org>
2701         * mail/emacsbug.el (report-emacs-bug): Include memory usage
2702         information in bug reports.
2704 2014-03-23  Daniel Colascione  <dancol@dancol.org>
2706         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2707         list to look for keyword arguments instead of `memq', fixing
2708         (Bug#3647) --- unfortunately, only for freshly-compiled code.
2709         Please make bootstrap.
2711 2014-03-23  Richard Stallman  <rms@gnu.org>
2713         * battery.el (battery-linux-sysfs): Search for each field
2714         from the beginning of the buffer.
2716 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
2718         * emacs-lisp/package.el (package-desc): Use the contents of the
2719         quoted form, not its cdr.  (Bug#16873)
2721 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
2723         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2724         benefit of doc.c; change parameter profile to match the X function.
2726 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
2728         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2729         and `tramp-copy-env'.
2731         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2732         (tramp-maybe-open-connection): Handle `tramp-login-env'.
2734 2014-03-21  Glenn Morris  <rgm@gnu.org>
2736         * electric.el (electric-indent-post-self-insert-function): Add doc.
2738 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
2740         * emacs-lisp/package.el (package-compute-transaction):
2741         Use `version-list-<=' to compare the requirement version against
2742         the version of package already to be installed.  Update the error
2743         message.  (Bug#16826)
2745         * progmodes/ruby-mode.el (ruby-smie-rules):
2746         Add indentation rule for ` @ '.  (Bug#17050)
2748 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
2750         * align.el (align-regexp): Remove superfluous backslash.
2752         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2753         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2754         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2755         Fix docstring typos.
2756         (ffap-next): Use C-u in docstring.
2757         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2758         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2759         Remove superfluous backslashes.
2760         (ffap-string-at-point): Reflow docstring.
2762         * server.el (server-host): Reflow docstring.
2763         (server-unload-function): Fix docstring typo.
2764         (server-eval-at): Remove superfluous backslash.
2766         * skeleton.el (skeleton-insert): Remove superfluous backslash.
2767         (skeleton-insert): Doc fix.
2768         (skeleton-insert): Reflow docstring.
2770         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2771         (tty-color-approximate, tty-color-by-index, tty-color-values)
2772         (tty-color-desc): Remove superfluous backslashes.
2774 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2776         * electric.el (electric-newline-and-maybe-indent): New command.
2777         Bind it globally to C-j.
2778         (electric-indent-mode): Don't mess with the global map any more.
2779         Don't drop the post-self-insert-hook is some buffer is still using it
2780         (bug#16770).
2782         * bindings.el (global-map): Remove C-j binding.
2784         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2785         the docstring of functions advised before dumping (bug#16993).
2787 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
2789         * ps-print.el (ps-generate-postscript-with-faces):
2790         Explicitly deactivate the mark (bug#16866).
2791         * simple.el (deactivate-mark): Update region highlight.
2793 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
2795         * emacs-lisp/package.el (describe-package-1):
2796         Decode commentary (bug#16733).
2798 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
2800         * custom.el (defcustom): Doc fix: recommend avoiding destructive
2801         modification of the value argument of :set (bug#16755).
2803 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2805         * simple.el (newline-and-indent): Do autofill (bug#17031).
2807 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
2809         * newcomment.el (comment-normalize-vars): Only add escaping check
2810         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
2811         (comment-beginning): Use `narrow-to-region' instead of moving back
2812         one character.
2813         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2814         (comment-start-skip): Update the docstring.
2816 2014-03-18  Richard Stallman  <rms@gnu.org>
2818         * dired.el (dired-display-file): Force use of other window.
2820 2014-03-18  Daniel Colascione  <dancol@dancol.org>
2822         * startup.el (tty-handle-args): Remove debug message from 2007.
2824 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2826         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2827         (advice--make-interactive-form): Use it to avoid (auto)loading function.
2828         (advice--make-1, advice-add, advice-remove):
2829         Remove braindead :advice-pending hack.
2831 2014-03-17  Glenn Morris  <rgm@gnu.org>
2833         * calendar/calendar.el (calendar-generate-month): Apply weekend
2834         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
2836 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
2838         * net/tramp.el (tramp-action-out-of-band): Read pending output.
2839         (tramp-call-process): Trace also DESTINATION.
2841         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2842         Quote file names when they are local.  Remove superfluous trace.
2844 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
2846         * newcomment.el (comment-beginning): If `comment-start-skip'
2847         doesn't match, move back one char and try again.  (Bug#16971)
2849         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2850         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2851         Set `comment-start-skip' to a simpler value that doesn't try to
2852         check if the semicolon is escaped (this is handled by
2853         `syntax-ppss' now).  (Bug#16971)
2855         * progmodes/scheme.el (scheme-mode-variables): Same.
2857 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
2859         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2860         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2861         current (Bug#16816, Bug#17007).
2862         (with-current-buffer-window): New macro doing the same as
2863         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2864         * help.el (help-print-return-message): Warn in doc-string to not
2865         use this in `with-help-window'.
2866         (describe-bindings-internal): Call `describe-buffer-bindings'
2867         from within help buffer.  See Juanma's scenario in (Bug#16816).
2868         (with-help-window): Update doc-string.
2869         * dired.el (dired-mark-pop-up):
2870         * files.el (save-buffers-kill-emacs):
2871         * register.el (register-preview): Use `with-current-buffer-window'
2872         instead of `with-temp-buffer-window'.
2874 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
2876         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2877         Implement inserting into current buffer, documented in their docstrings.
2878         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2879         (rst-section-tree-point, rst-forward-section, rst-indent)
2880         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2881         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2882         (rst-font-lock-handle-adornment-pre-match-form)
2883         (rst-repeat-last-character): Reflow docstrings.
2884         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2885         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2886         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2887         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2888         Fix docstring typos.
2889         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2890         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2891         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2893 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
2895         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2896         for compatibility with other ports.
2897         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
2898         from the -xrm command line argument, but in the Nextstep port its value
2899         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2901         * progmodes/python.el (defconst, python-syntax-count-quotes)
2902         (python-indent-region, python-indent-shift-right)
2903         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2904         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2905         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2906         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2907         (inferior-python-mode, python-shell-make-comint, run-python-internal)
2908         (python-shell-buffer-substring, python-shell-send-buffer)
2909         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2910         (python-completion-complete-at-point, python-fill-docstring-style)
2911         (python-eldoc-function, python-imenu-format-item-label)
2912         (python-imenu-format-parent-item-label)
2913         (python-imenu-format-parent-item-jump-label)
2914         (python-imenu--build-tree, python-imenu-create-index)
2915         (python-imenu-create-flat-index): Fix docstring typos.
2916         (python-indent-context, python-shell-prompt-regexp, run-python):
2917         Remove superfluous backslashes.
2918         (python-indent-line, python-nav-beginning-of-defun)
2919         (python-shell-get-buffer, python-shell-get-process)
2920         (python-info-current-defun, python-info-current-line-comment-p)
2921         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2922         (python-indent-post-self-insert-function, python-shell-send-file)
2923         (python-shell-completion-get-completions)
2924         (python-shell-completion-complete-or-indent)
2925         (python-eldoc--get-doc-at-point): Reflow docstrings.
2927 2014-03-14  Glenn Morris  <rgm@gnu.org>
2929         * emacs-lisp/package.el (package-menu-mode-map):
2930         Replace use of obsolete function alias.  Tweak menu item text.
2932         * info.el (Info-finder-find-node):
2933         Ignore the `emacs' metapackage.  (Bug#10813)
2935         * finder.el (finder-list-matches): Include unversioned packages
2936         in the result of a keyword search.
2938         * finder.el (finder--builtins-descriptions): New constant.
2939         (finder-compile-keywords): Use finder--builtins-descriptions.
2941 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
2943         * simple.el (blink-matching-paren): Describe the new value,
2944         `jump', enabling the old behavior.
2945         (blink-matching-open): Use that value.  (Bug#17008)
2947 2014-03-14  Glenn Morris  <rgm@gnu.org>
2949         * finder.el (finder-no-scan-regexp): Add leim-list.
2950         (finder-compile-keywords):
2951         Don't skip files with same basename.  (Bug#14010)
2952         * Makefile.in (setwins_finder): New, excluding leim.
2953         (finder-data): Use setwins_finder.
2955         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2956         (help-function-arglist, help-make-usage): Move from here...
2957         * help.el (help-split-fundoc, help-add-fundoc-usage)
2958         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
2959         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2961 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
2963         * net/socks.el (socks, socks-override-functions)
2964         (socks-find-services-entry):
2965         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2966         (hif-find-ifdef-block):
2967         * progmodes/modula2.el (m2-indent): Fix docstring typos.
2969         * net/tls.el (tls-program): Reflow docstring.
2971         * progmodes/pascal.el (pascal-mode-abbrev-table)
2972         (pascal-imenu-generic-expression, pascal-auto-endcomments)
2973         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2974         (pascal-outline-mode): Fix docstring typos.
2975         (pascal-mode): Let define-derived-mode document mode hook.
2976         (pascal-uncomment-area): Reflow.
2977         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2979         * progmodes/opascal.el (opascal-compound-block-indent)
2980         (opascal-case-label-indent): Fix docstring typos.
2981         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2983 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
2985         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2986         Fontify multiple adjacent negation chars.  (Bug#17004)
2988 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
2990         * emacs-lisp/package.el (package--prepare-dependencies):
2991         Accept requirements without explicit version (bug#14941).
2993 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
2995         * register.el (register-separator, copy-to-register): Doc fixes.
2996         (register-preview-default): Remove unnecessary call to concat.
2998         * frameset.el (frameset-restore): When checking for a visible frame,
2999         use the action map instead of calling visible-frame-list.
3001 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
3003         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3005 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
3007         * window.el (fit-frame-to-buffer): Get maximum width from
3008         display's width instead of height.
3010 2014-03-12  Glenn Morris  <rgm@gnu.org>
3012         * desktop.el (desktop-restore-frames)
3013         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3014         (desktop-restore-reuses-frames): Doc tweaks.
3016         * electric.el (electric-indent-mode): Doc fix.
3018 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
3020         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3021         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3022         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3023         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3024         (cvs-dired-use-hook): Fix docstring typos.
3025         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3026         Doc fixes.
3028         * vc/pcvs-defs.el (cvs-auto-remove-handled)
3029         (cvs-auto-remove-directories, cvs-default-ignore-marks)
3030         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3031         (cvs-execute-single-dir): Fix docstring typos.
3033         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3034         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3036         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3038         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3039         Fix docstring typos.
3041 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
3043         * frameset.el (frameset--jump-to-register): Add autoload; it could be
3044         called from jump-to-register after unloading the frameset package.
3046 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3048         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3049         (bug#16975).  Deactivate the mark before setting it to nil.
3050         (activate-mark): Do nothing if region is already active.
3052 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
3054         * frameset.el (frameset--target-display): Remove definition; declare.
3055         (frameset-save, frameset-restore): Let-bind frameset--target-display.
3057 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3059         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3060         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3061         when the advice is pending.
3062         (advice-remove): Remove this marker when not needed any more.
3064 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
3066         * frameset.el: Separate options for reusing frames and cleaning up.
3067         (frameset--reuse-list): Remove definition; declare.
3068         (frameset--action-map): Declare.
3069         (frameset--find-frame-if): Doc fix.
3070         (frameset--restore-frame): Cache frame action.
3071         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3072         how to clean up the frame list after restoring.  Remove cleaning
3073         options from REUSE-FRAMES.  Change all keyword values to symbols.
3074         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3076         * desktop.el (desktop-restore-forces-onscreen)
3077         (desktop-restore-reuses-frames): Use non-keyword values.
3078         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3080 2014-03-10  Glenn Morris  <rgm@gnu.org>
3082         * files.el (find-file): Doc fix: update info node name.
3084         * emacs-lisp/advice.el (ad-add-advice, defadvice):
3085         Doc fix: remove references to deleted info nodes.
3087 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
3089         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3090         Do not add `nil' to the environment, when there's no remote `locale'.
3091         (tramp-find-inline-encoding): Check, that the remote host has
3092         installed perl, before sending scripts.
3094 2014-03-10  Leo Liu  <sdl.web@gmail.com>
3096         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3097         Clear eldoc-last-message.  (Bug#16920)
3099 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3101         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3102         (bug#14430).
3104 2014-03-09  Juri Linkov  <juri@jurta.org>
3106         * ansi-color.el (ansi-color-names-vector): Copy default colors
3107         from `xterm-standard-colors' that look well on the default white
3108         background (and also on the black background) to avoid illegible
3109         color combinations like yellow-on-white and white-on-white.
3110         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3112 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
3114         * frameset.el (frameset-restore): When no frame is visible, do not
3115         generate a list of frames, just make visible the selected one.
3117 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
3119         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3120         it only contains the repository root.  (Bug#16897)
3122 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
3124         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3125         only when `remote-file-name-inhibit-cache' is nil.
3126         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
3128 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
3130         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3131         Fix doc-strings.
3132         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
3133         fit-frame-to-buffer variable.  Fix doc-string.
3134         (fit-window-to-buffer): Set ONLY argument in call of
3135         fit-frame-to-buffer.  Fix doc-string.
3137 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
3139         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3140         (tramp-action-password): Clear password cache if needed.
3141         (tramp-read-passwd): Do not clear password cache.
3143         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3144         cache unless it is the first password request.
3146 2014-03-06  Glenn Morris  <rgm@gnu.org>
3148         * simple.el (newline): Doc tweak.
3150         * emacs-lisp/shadow.el (load-path-shadows-find):
3151         Ignore dir-locals.  (Bug#12357)
3153 2014-03-05  Glenn Morris  <rgm@gnu.org>
3155         * files.el (interpreter-mode-alist):
3156         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
3158 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
3160         * frameset.el (frameset--initial-params): Filter out null entries.
3162 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
3164         * window.el (window-min-height, window-min-width):
3165         Rewrite doc-strings.
3166         (window-body-size): Add PIXELWISE argument to make it consistent
3167         with its callees.
3169 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
3171         * finder.el (finder-mode-map, finder-mode-syntax-table):
3172         Revert part of 2014-02-28 change.
3174 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
3176         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3177         (eww-setup-buffer): Clear next/prev/etc more reliably.
3178         (eww-textarea-map): [tab] doesn't work on tty.
3179         Reported by Mario Lang.
3181         * net/shr.el (shr-map): Ditto.
3183 2014-03-04  Glenn Morris  <rgm@gnu.org>
3185         * minibuffer.el (completion-hilit-commonality):
3186         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3188 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
3190         * hilit-chg.el (hilit-chg-unload-function): New function.
3191         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3192         (hilit-chg-map-changes): Prefer cardinal number to digit.
3193         (hilit-chg-display-changes): Reflow docstring.
3194         (highlight-changes-rotate-faces): Remove superfluous backslash.
3196 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
3198         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3199         `tramp-send-command-and-check'.
3201 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
3203         * hexl.el (hexl-address-region, hexl-ascii-region)
3204         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3205         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3206         (hexl-forward-word, hexl-previous-line, hexl-next-line):
3207         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3208         (hexl-mode): Doc fix.
3209         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3210         (hexl-mode-ruler): Fix typos in docstrings.
3212         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3213         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3214         Remove superfluous backslashes.
3215         (strokes-last-stroke, strokes-global-map, strokes-mode):
3216         Reflow docstrings.
3217         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3218         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3219         (strokes-distance-squared, strokes-global-set-stroke)
3220         (strokes-global-set-stroke-string): Doc fixes.
3221         (strokes-help): Fix typos; reflow docstring.
3223 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
3225         * window.el (window-in-direction): Fix doc-string.
3227 2014-03-04  Glenn Morris  <rgm@gnu.org>
3229         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3230         Explicit error if no grammar.
3231         (smie-config-save): Doc fix.  Fix quote typo.
3233 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3235         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3236         electric-indent-mode-hook if we obey electric-indent-mode.
3237         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3238         decide whether we obey electric-indent-mode.
3239         (c-change-set-fl-decl-start, c-extend-after-change-region):
3240         Silence warnings.
3241         (c-electric-indent-mode-hook): Assume we do want to obey
3242         electric-indent-mode.
3244         * electric.el (electric-indent-mode-has-been-called): Remove.
3245         (electric-indent-mode): Fix accordingly.
3247         * files.el (hack-local-variables): Mention file name in warning.
3249         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3251 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
3253         * bindings.el: Add comment describing why C-d binds to `delete-char'.
3254         * simple.el (delete-forward-char): Mark as interactive-only.
3256 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
3258         * icomplete.el (icomplete-completions):
3259         Follow-up to 2014-03-01 change.
3261         * icomplete.el: Miscellaneous doc fixes.
3262         Use Icomplete everywhere instead of icomplete for consistency.
3263         (icomplete-max-delay-chars): Fix typo.
3264         (icomplete-mode): Use \[].
3265         (icomplete-tidy, icomplete-exhibit): Reflow.
3266         (icomplete-minibuffer-setup-hook, icomplete-completions):
3267         Remove superfluous backlashes.
3269         * ido.el: Miscellaneous doc fixes.
3270         Use Ido everywhere instead of ido or `ido' for consistency.
3271         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3272         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3273         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3274         (ido-separator): Extract obsolescence info from docstring and declare
3275         with make-obsolete-variable.
3276         (ido-minibuffer-setup-hook): Simplify example.
3277         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3278         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3279         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3280         (ido-everywhere): Reflow docstring.
3281         (ido-toggle-vc): Doc fix.
3282         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3283         of long list of keybindings.
3285 2014-03-03  Glenn Morris  <rgm@gnu.org>
3287         * frame.el (display-pixel-height, display-pixel-width)
3288         (display-mm-dimensions-alist, display-mm-height)
3289         (display-mm-width): Doc tweaks.
3291 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
3293         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3294         case of undo in region.
3296 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
3298         * window.el (fit-window-to-buffer): Fix argument in window-size
3299         call when window is horizontally combined.
3301 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
3303         * icomplete.el (icomplete-completions): Use string-width.
3304         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3306 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
3308         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3309         Highlight regexp options.  (Bug#16914)
3311 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
3313         * window.el (window--max-delta-1): Round down when calculating
3314         how many lines/columns we can get from a window.
3316 2014-03-01  Glenn Morris  <rgm@gnu.org>
3318         * isearch.el (search-invisible): Doc fix.
3320         * minibuffer.el (completion-hilit-commonality):
3321         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
3322         * comint.el (comint-dynamic-list-completions): Doc fix.
3323         * comint.el (comint-dynamic-list-completions):
3324         * filecache.el (file-cache-minibuffer-complete):
3325         * tempo.el (tempo-display-completions):
3326         * eshell/em-hist.el (eshell-list-history):
3327         Replace use of obsolete argument of display-completion-list.
3329 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
3331         * icomplete.el (icomplete-completions):
3332         Revert back to using "..." when ?… cannot be displayed.
3334 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
3336         * finder.el (finder-unload-function): New function.
3338 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
3340         * dframe.el (dframe-detach):
3341         * find-dired.el (find-dired, find-name-dired):
3342         * finder.el (finder-mode-map, finder-mode-syntax-table)
3343         (finder-headmark, finder-select, finder-mouse-select):
3344         Fix docstring typos.
3346 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
3348         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3349         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3350         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3351         Fix doc-string based on a suggestion by Nicolas Richard
3352         <theonewiththeevillook@yahoo.fr>.
3353         * help.el (with-help-window): Fix doc-string.
3355 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
3357         * net/shr.el (shr-image-animate): New option.
3358         (shr-put-image): Respect shr-image-animate.
3360 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
3362         * net/tramp-adb.el (tramp-adb-parse-device-names):
3363         Use `accept-process-output'.
3364         (tramp-adb-handle-file-truename): Cache the localname only.
3365         (tramp-adb-handle-make-directory)
3366         (tramp-adb-handle-delete-directory): Flush file properties correctly.
3367         (tramp-adb-handle-set-file-modes): Do not raise an error when file
3368         modes cannot be changed.
3370         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3371         file properties of symlinks.
3373 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
3375         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3376         required/optional fields to match development biblatex.  (Bug#16781)
3378 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
3380         * saveplace.el (toggle-save-place):
3381         Fix argument handling.  (Bug#16673)
3383 2014-02-28  Glenn Morris  <rgm@gnu.org>
3385         * minibuffer.el (completions-first-difference)
3386         (completions-common-part, completion-hilit-commonality): Doc fixes.
3388 2014-02-28  Karl Berry  <karl@gnu.org>
3390         * info.el (Info-mode-map): Add H for describe-mode,
3391         to synchronize with standalone Info.
3393 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
3395         * progmodes/sql.el (sql-interactive-mode):
3396         Avoid setting global comint-input-ring-separator.  (Bug#16814)
3398 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
3400         * net/dbus.el (dbus--init-bus): Declare function.
3401         (dbus-path-local, dbus-interface-local): New defconst.
3402         (dbus-init-bus): Use them.
3403         (dbus-return-values-table): Extend doc.
3404         (dbus-handle-bus-disconnect): Extend error message.
3406 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
3408         * subr.el (y-or-n-p): Fix double space issue in message.
3410 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
3412         * net/tramp.el (tramp-call-process): Improve trace message.
3413         (tramp-handle-insert-file-contents): Trace error case.
3415         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3416         <insert-directory>: Use `tramp-handle-insert-directory'.
3417         (tramp-adb-handle-insert-directory): Remove function.
3418         (tramp-adb-send-command-and-check): New defun, replacing
3419         `tramp-adb-command-exit-status'.  Change all callees.
3420         (tramp-adb-handle-file-attributes)
3421         (tramp-adb-handle-directory-files-and-attributes): Use it.
3422         (tramp-adb-ls-output-name-less-p):
3423         Use `directory-listing-before-filename-regexp'.
3424         (tramp-adb-handle-delete-directory): Flush also file properties of
3425         the truename of directory.
3426         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3427         (tramp-adb-handle-file-local-copy): Make the local copy readable.
3428         (tramp-adb-handle-write-region): Implement APPEND.
3429         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
3430         properties correctly.
3431         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3432         variables.  Check for connected devices only when needed.
3434 2014-02-27  Glenn Morris  <rgm@gnu.org>
3436         * minibuffer.el (completion-table-dynamic)
3437         (completion-table-with-cache): Doc fixes.
3439         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3440         (completing-read-multiple): Doc fixes.
3442 2014-02-27  Daniel Colascione  <dancol@dancol.org>
3444         * minibuffer.el (completion--nth-completion): Fix indentation.
3446         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3447         explicit tramp path is empty.
3449 2014-02-27  Glenn Morris  <rgm@gnu.org>
3451         * emacs-lisp/crm.el (completing-read-multiple):
3452         Empower help-enable-auto-load.
3454 2014-02-26  Glenn Morris  <rgm@gnu.org>
3456         * startup.el (command-line): Don't init the tty in daemon mode.
3458         Avoid calling tty-setup-hook twice, eg if a term file
3459         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
3460         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3461         (tty-create-frame-with-faces): Use it.
3462         * startup.el (command-line): Pass run-hook argument
3463         to tty-run-terminal-initialization.
3465         * dired.el (dired-restore-desktop-buffer): Demote errors;
3466         eg in case a glob match fails.  (Bug#16884)
3468 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
3470         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3471         error from `read-from-string'.  (Bug#16850)
3473         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3474         result of `completing-read' in the interactive form.  (Bug#16854)
3476 2014-02-25  Glenn Morris  <rgm@gnu.org>
3478         * image.el (image-animate, image-animate-timeout):
3479         Stop animating images in dead buffers.  (Bug#16878)
3481         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
3483         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3484         Doc fixes.
3485         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
3486         * term/sun.el (sun-raw-prefix-hooks):
3487         Use tty-setup-hook instead of term-setup-hook.
3488         (terminal-init-sun): Construct message from bytecomp plist.
3489         * term/wyse50.el (enable-arrow-keys): Doc fix.
3491 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
3493         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3494         Fix docstring typos.
3496 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
3498         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3500 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3502         * minibuffer.el (completion--try-word-completion):
3503         Fix error when completing M-x commands (bug#16808).
3505 2014-02-24  Leo Liu  <sdl.web@gmail.com>
3507         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3509 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
3511         * apropos.el (apropos-print): Avoid formatting error when
3512         apropos-do-all and apropos-compact-layout are both t.
3514 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
3516         * apropos.el (apropos-property, apropos-all-words-regexp)
3517         (apropos-true-hit, apropos-variable, apropos-print):
3518         Fix docstring typos, and remove obsolete comment.
3520 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
3522         * net/tramp-sh.el (tramp-sh-handle-file-truename):
3523         Preserve trailing "/".  (Bug#16851)
3525 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
3527         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3528         after `=>' (bug#16811).
3529         (ruby-smie-rules): Handle the inconsistent second element of the
3530         list returned by `smie-indent--parent'.
3531         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3532         method call.
3534 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
3536         * elec-pair.el (electric-pair-text-syntax-table)
3537         (electric-pair-syntax-info, electric-pair--syntax-ppss)
3538         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3539         (electric-pair--looking-at-unterminated-string-p): Doc fix.
3540         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
3542 2014-02-22  Glenn Morris  <rgm@gnu.org>
3544         * imenu.el (imenu--generic-function): Doc fix.
3546         * register.el (frame-configuration-to-register): Make obsolete.
3548 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
3550         * desktop.el (desktop-save-buffer-p): Do not fail when
3551         desktop-files-not-to-save is nil.  Return t for true result
3552         as the doc says.
3554 2014-02-22  Daniel Colascione  <dancol@dancol.org>
3556         * net/secrets.el (secrets-create-item, secrets-search-items):
3557         Check that attribute values are strings, avoiding the construction
3558         of invalid dbus messages.
3560 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
3562         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3563         defun-declarations-alist.
3565 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3567         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3568         (bug#16829).
3570 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
3572         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3573         (whitespace-newline, whitespace-trailing, whitespace-line)
3574         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3575         (whitespace-space-after-tab): Fix typo in docstrings.
3577 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
3579         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3581         * electric.el (electric-indent-functions-without-reindent):
3582         Add `yaml-indent-line'.
3584 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
3586         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3587         It has done nothing for years; should be removed after the release.
3589         * simple.el (choose-completion): Fix docstring typo.
3590         (read-quoted-char-radix): Remove unneeded * in docstring.
3591         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3592         Don't escape parentheses unnecessarily in docstrings.
3594 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
3596         Fix handling of window-min-height/-width (Bug#16738).
3597         * window.el (window--dump-window, window--dump-frame):
3598         New functions.
3599         (window--min-size-1): Account for window dividers.
3600         When window-resize-pixelwise is nil, delay rounding till after the
3601         sum of the window components has been calculated.
3602         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3603         nil make sure at least one text line and two text columns remain
3604         fully visible.
3605         (window-resize): Signal an error when window-resize-apply fails.
3606         (window--resize-child-windows): Fix calculation of by how many
3607         pixels a window can still be shrunk via window-new-normal.
3608         (adjust-window-trailing-edge): Call window--resizable with
3609         correct TRAIL argument.
3611         (with-temp-buffer-window): Don't evaluate BODY within
3612         with-current-buffer (Bug#16816).
3614 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
3616         * net/tramp.el (tramp-check-cached-permissions):
3617         Call `file-attributes' with `suffix' being a symbol but a string.
3619 2014-02-21  Daniel Colascione  <dancol@dancol.org>
3621         * net/dbus.el (dbus-init-bus-1): Declare new subr.
3622         (dbus-init-bus): New function: call into dbus-init-bus-1
3623         and installs a handler for the disconnect signal.
3624         (dbus-call-method): Rewrite to look for result in cons.
3625         (dbus-call-method-handler): Store result in cons.
3626         (dbus-check-event): Recognize events with nil sender as valid.
3627         (dbus-handle-bus-disconnect): New function.  React to bus
3628         disconnection signal by synthesizing dbus error for each
3629         pending synchronous or asynchronous call.
3630         (dbus-notice-synchronous-call-errors): New function.
3631         (dbus-handle-event): Raise errors directly only when `dbus-debug'
3632         is true, not all the time.
3634 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
3636         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3637         Remove obsolescence declarations, these variables do not exist anymore.
3639         * savehist.el (savehist-save-minibuffer-history)
3640         (savehist-additional-variables, savehist-file, savehist-mode-hook)
3641         (savehist-save-hook, savehist-coding-system, savehist-loaded)
3642         (savehist-load, savehist-install, savehist-autosave): Fix typos;
3643         mostly, refer to "Savehist mode" when talking about the mode,
3644         and not the function.
3646         * saveplace.el (save-place): Remove redundant info in docstring.
3647         (save-place-forget-unreadable-files, toggle-save-place)
3648         (save-place-forget-unreadable-files, save-place-dired-hook):
3649         Fix typos and remove unneeded backslashes.
3651 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
3653         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3654         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3656         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3657         <insert-directory>: Use `tramp-handle-insert-directory'.
3658         (tramp-gvfs-handle-insert-directory): Remove function.
3660         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3661         Call `tramp-handle-insert-directory'.
3663 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
3665         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3666         before the start of buffer/region (bug#16799).
3668 2014-02-20  Glenn Morris  <rgm@gnu.org>
3670         * isearch.el (search-invisible): Doc fix.
3672 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
3674         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3675         (bug#16657).
3677 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
3679         * frameset.el (frameset-restore): Delay removing an old frame's
3680         duplicate id until the new frame has been correctly created.
3682 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
3684         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3685         (tramp-check-cached-permissions): Call `file-attributes' if the
3686         cache is empty.
3688         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3689         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3691         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3692         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3693         (tramp-gvfs-maybe-open-connection): Set always connection
3694         properties, even if target is mounted already.
3696         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3697         Set tramp-autoload cookie.
3698         (tramp-get-remote-touch): New defun.
3699         (tramp-sh-handle-set-file-times): Use it.
3700         (tramp-sh-handle-directory-files-and-attributes):
3701         Use `tramp-handle-directory-files-and-attributes' if neither stat
3702         nor perl are available on the remote host.
3704         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3705         "/".  Write long listing only when "l" belongs to the switches.
3707         * net/trampver.el: Update release number.
3709 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
3711         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3713 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
3715         * window.el (window-state-put): Allow WINDOW to refer to an
3716         internal window (Bug#16793).
3718 2014-02-19  Glenn Morris  <rgm@gnu.org>
3720         * textmodes/remember.el: Move provide statement to end.
3721         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3722         (remember-notes): Doc fixes.
3724 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3726         * delsel.el (delete-char): Restore incorrectly erased property
3727         (bug#16795).
3729 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
3731         * frameset.el (frameset--restore-frame): When a frame is being reused
3732         and its root window is not alive, delete all the frame's windows before
3733         restoring the window state.  This works around the issue in bug#16793.
3735 2014-02-18  Glenn Morris  <rgm@gnu.org>
3737         * textmodes/remember.el (remember-data-directory)
3738         (remember-directory-file-name-format, remember-store-in-files)
3739         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3740         (remember-notes-save-and-bury-buffer)
3741         (remember-notes--kill-buffer-query): Doc fixes.
3743         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3745 2014-02-17  Alan Mackenzie  <acm@muc.de>
3747         Connect electric-indent-mode up with CC Mode.  Bug #15478.
3748         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3749         to electric-indent-{,local-}-mode.
3750         (c-basic-common-init): Set electric-indent-inhibit.
3751         Initialise c-electric-flag from electric-indent-mode.
3752         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3753         New hook functions which propagate electric-indent-mode to CC mode.
3755         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3756         hit, toggle electric-indent-local-mode.
3758         * electric.el (electric-indent-mode-has-been-called):
3759         New variable.
3761 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
3763         * frameset.el (frameset-cfg-id): New function.
3764         (frameset--reuse-frame, frameset-restore): Use it.
3765         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3767 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3769         * ido.el (ido-file-internal): Remove unused var `d'.
3770         Use \` for to match BoS.  Fit within 80n columns.
3772 2014-02-17  Daniel Colascione  <dancol@dancol.org>
3774         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3775         dbus-call-method check for completion using a busy-wait loop with
3776         gradual backoff.
3778 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
3780         Sync with Tramp 2.2.9.
3782         * net/trampver.el: Update release number.
3784 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
3786         * ido.el (ido-file-internal): Don't add the name of an existing
3787         directory twice.  (Bug#16747)
3789 2014-02-16  Glenn Morris  <rgm@gnu.org>
3791         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3792         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
3794 2014-02-15  Michael R. Mauger  <michael@mauger.com>
3796         * progmodes/sql.el: Version 3.4
3797         (sql-oracle-options): New default value ("-L").
3798         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3799         (sql-placeholders-filter): Correct placeholder pattern.
3800         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
3801         (sql-login-delay): New variable.
3802         (sql-product-interactive): Use it.
3804 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
3806         * frameset.el (frameset--jump-to-register): Check that buffer is live
3807         (bug#16749).
3809 2014-02-15  Glenn Morris  <rgm@gnu.org>
3811         * info.el (info-initialize): Revert 2014-01-10 change.
3813 2014-02-14  Glenn Morris  <rgm@gnu.org>
3815         * replace.el (map-query-replace-regexp)
3816         (read-regexp-defaults-function, read-regexp): Doc fixes.
3818         * dired.el (dired-read-regexp):
3819         * faces.el (list-faces-display):
3820         * misearch.el (multi-isearch-read-matching-buffers)
3821         (multi-isearch-read-matching-files):
3822         * play/cookie1.el (cookie-apropos):
3823         * progmodes/grep.el (grep-read-regexp): Doc fixes.
3825         * textmodes/remember.el (remember): Use frameset-to-register
3826         rather than frame-configuration-to-register.
3828 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
3830         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3831         incorrect keybinding.
3833 2014-02-13  Daniel Colascione  <dancol@dancol.org>
3835         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3836         when adding overlays so that line numbers from compiler match line
3837         numbers we use.
3839 2014-02-13  Glenn Morris  <rgm@gnu.org>
3841         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
3843         * jit-lock.el (jit-lock-mode): Doc fix.
3845 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
3847         * apropos.el (apropos-read-pattern): When the user passes an empty
3848         string, give a more helpful error message than "Wrong type
3849         argument: stringp, nil".
3851 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3853         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3855 2014-02-13  Glenn Morris  <rgm@gnu.org>
3857         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3859 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3861         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3862         shift-select commands.
3864 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
3866         * progmodes/js.el (js-indent-line): Don't widen.
3867         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3869 2014-02-12  Glenn Morris  <rgm@gnu.org>
3871         * icomplete.el (icomplete): Add info-link to defgroup.
3872         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3873         (icomplete-minibuffer-map, icomplete-mode)
3874         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3876         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3877         (package-menu-filter): Rename from package-menu-filter-interactive.
3878         Doc fix.
3880 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
3882         * frameset.el (frameset--jump-to-register): Select the required
3883         window and buffer before restoring position (bug#16696).
3885 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
3887         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3889 2014-02-10  Glenn Morris  <rgm@gnu.org>
3891         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
3893 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
3895         * w32-common-fns.el (x-get-selection): Doc fix.
3896         * select.el (x-get-selection): Doc fix.  (Bug#15109)
3898         * face-remap.el (face-remap-add-relative)
3899         (face-remap-remove-relative, face-remap-reset-base)
3900         (face-remap-set-base): Call force-mode-line-update to redisplay
3901         the current buffer due to potential change in faces.  (Bug#16709)
3903 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
3905         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3906         script more robustly.
3908 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
3910         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3912         * simple.el (choose-completion): Doc fix (bug#14160).
3914         * subr.el (event-start): Say what a nil EVENT value means.
3916         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3917         (bug#14197).
3919         * progmodes/grep.el (find-program): Doc fix (bug#14289).
3921         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3923         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3925         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3926         predicate function (bug#15455).
3928 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
3930         * ielm.el (inferior-emacs-lisp-mode): Instead of
3931         `comment-use-global-state', set `comment-use-syntax'.
3933 2014-02-10  Glenn Morris  <rgm@gnu.org>
3935         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3937 2014-02-09  Alan Mackenzie  <acm@muc.de>
3939         Fix c-invalidate-state-cache on narrowed buffers.
3940         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3941         Widen when setting and clearing the CPP delimiter properties.
3943 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
3945         * help.el (describe-bindings): Doc fix (bug#9888).
3947         * files.el (save-buffer): Use ARG as the parameter name for
3948         consistency (bug#10346).
3949         (save-buffer): Clarify the 0 argument (bug#10346).
3951         * cus-edit.el (customize-apropos): Fix error string.
3952         (custom-buffer-create): Doc fix (bug#11122).
3953         (custom-sort-items): Doc fix (bug#11121).
3955         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3957         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3958         (icomplete-simple-completing-p): Mention the previous variable.
3960         * font-lock.el (font-lock-value-in-major-mode): Clarify the
3961         meaning of the parameter (bug#12282).
3963         * files.el (find-file-noselect): Clarify prompt when changing
3964         readedness (bug#13261).
3965         (locate-file): Suffixes aren't returned, so don't say that they
3966         are (bug#12674).
3967         (backup-inhibited): Doc clarification (bug#12525).
3969         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3970         before we actually start to delete things (bug#16331).
3972         * subr.el (event-start): Doc fix (bug#14228).
3973         (event-end): Ditto.
3975 2014-02-09  Glenn Morris  <rgm@gnu.org>
3977         * emacs-lisp/warnings.el (lwarn):
3978         Empower help-enable-auto-load.  (Bug#15940)
3980 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
3982         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3983         (Bug#16690)
3985 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
3987         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3988         Insert output at end of buffer.  (Bug#16120)
3990 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
3992         * simple.el (choose-completion-string-functions): Document new
3993         calling convention (bug#14153).
3994         (execute-extended-command): Clarify doc string (bug#13373).
3996         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3998         * find-dired.el (find-name-dired): Doc fix (bug#14290).
3999         (find-grep-dired): Doc fix (bug#14288).
4001 2014-02-08  Juri Linkov  <juri@jurta.org>
4003         * isearch.el (isearch-quote-char): Check character validity
4004         like in `quoted-insert' (bug#16677).
4006 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
4008         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4010         * isearch.el (isearch-hide-immediately): Doc clarification
4011         (bug#14723).
4013         * simple.el (line-move): Document utility function used many
4014         places in the Emacs sources (bug#14843).
4016         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4017         (dired-prev-marked-file): Doc fix (bug#14855).
4018         (dired-up-directory): Doc fix (bug#14848).
4020         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4022         * files.el (file-relative-name): Doc fix (bug#15159).
4024         * fringe.el (fringe-styles): Doc fix (bug#15239).
4026         * isearch.el (isearch-filter-predicate): Documentation typo fix
4027         (bug#15474).
4029         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4031         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4033         * replace.el (replace-match-maybe-edit): Doc clarification
4034         (bug#15632).
4036         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4038         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4040 2014-02-08  Glenn Morris  <rgm@gnu.org>
4042         * help-fns.el (describe-variable):
4043         Check {file,dir}-local-variables-alist, and buffer-file-name,
4044         in the correct buffer.
4046 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
4048         * help-fns.el (describe-variable): Fix the case where
4049         a value is directory-local with no dir-locals file.  (Bug#16635)
4051 2014-02-08  Glenn Morris  <rgm@gnu.org>
4053         * abbrev.el (edit-abbrevs-mode):
4054         Derive from fundamental-mode.  (Bug#16682)
4056 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
4058         * simple.el (quoted-insert): Check character validity (bug#16677).
4060 2014-02-07  Juri Linkov  <juri@jurta.org>
4062         * desktop.el (desktop-read): Claim the lock when the owner is not
4063         the current process.  (Bug#16157)
4065 2014-02-07  Juri Linkov  <juri@jurta.org>
4067         * desktop.el (desktop-buffers-not-to-save): Change default from nil
4068         to "\\` ".  (Bug#16651)
4070 2014-02-07  Juri Linkov  <juri@jurta.org>
4072         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4073         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4074         (desktop-auto-save-cancel-timer): New function with some code from
4075         `desktop-auto-save-set-timer'.
4076         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4077         Instead of setting `desktop-save-mode' to nil, call
4078         `desktop-save-mode' with arg 0.  (Bug#16630)
4080 2014-02-07  Glenn Morris  <rgm@gnu.org>
4082         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4083         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4084         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4086         * obsolete/iswitchb.el: Move to obsolete/.
4087         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4088         since obsolete/ is not scanned for autoloads.
4089         * emacs-lisp/authors.el (authors-valid-file-names):
4090         Add iswitchb.el.
4092         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4093         Disable now non-functional find-file-hook.
4095 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
4097         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4098         instead of ";" in order to avoid additional prompts.  Let heredoc
4099         scripts read from tty.  (Bug#16582)
4100         (tramp-send-command): No special handling of heredocs, it isn't
4101         necessary anymore.
4103 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4105         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4106         with a space (bug#16664).  Limit the symbols considered to the ones
4107         that are bound or fbound (bug#16646).
4109 2014-02-06  Glenn Morris  <rgm@gnu.org>
4111         * epa.el (epa-mail-aliases): Doc fix.
4113 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
4115         * emacs-lisp/lisp.el (lisp-completion-at-point):
4116         Use `completion-table-merge' instead of `completion-table-in-turn'
4117         (bug#16604).
4119         * minibuffer.el (completion-table-merge): New function.
4121 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
4123         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4124         (tramp-sh-handle-set-file-acl)
4125         (tramp-sh-handle-start-file-process)
4126         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4127         (tramp-find-executable, tramp-send-command): Use it.
4129 2014-02-05  Glenn Morris  <rgm@gnu.org>
4131         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
4133 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4135         * progmodes/python.el (python-shell-send-string)
4136         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4138 2014-02-04  Anders Lindgren  <andlind@gmail.com>
4140         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4141         the names (bug#16620).
4143 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
4145         * faces.el (window-divider): New default value.  Rewrite doc-string.
4146         (window-divider-first-pixel, window-divider-last-pixel): New faces.
4148 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
4150         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4151         `protected' and `public' can also be called without arguments.
4153 2014-02-03  Glenn Morris  <rgm@gnu.org>
4155         * register.el (window-configuration-to-register)
4156         (frame-configuration-to-register): Unadvertise unused argument.
4157         * frameset.el (frameset-to-register): Remove unused argument.
4159         * frameset.el (frameset-to-register):
4160         * kmacro.el (kmacro-to-register):
4161         * register.el (increment-register):
4162         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4163         (calc-append-to-register, calc-prepend-to-register):
4164         * play/gametree.el (gametree-layout-to-register)
4165         (gametree-apply-register-layout):
4166         * textmodes/picture.el (picture-clear-rectangle-to-register)
4167         (picture-yank-rectangle-from-register):
4168         * vc/emerge.el (emerge-combine-versions-register):
4169         Use register-read-with-preview to read registers.
4171 2014-02-03  João Távora  <joaotavora@gmail.com>
4173         * elec-pair.el (electric-pair-backward-delete-char): Don't error
4174         when at beginning of (possibly narrowed) buffer.
4176 2014-02-02  Daniel Colascione  <dancol@dancol.org>
4178         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4179         Also try to display local help from just before point.
4181 2014-02-02  Alan Mackenzie  <bug-cc-mode@gnu.org>
4183         c-parse-state.  Don't "append-lower-brace-pair" in certain
4184         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
4185         recognised as a comment.
4187         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4188         as well as normal comment starter.
4189         (c-parse-state-get-strategy): Extra return possibility
4190         'back-and-forward.
4191         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4192         return value list to indicate replacement of a brace-pair cons
4193         with its car.
4194         (c-parse-state-1): With 'back-and-forward, only call
4195         c-append-lower-brace-pair-to state-cache when cons-separated.
4197 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
4199         * term/ns-win.el (ns-suspend-error): New function.
4200         (ns-initialize-window-system): Add ns-suspend-error to
4201         suspend-hook (Bug#16612).
4203 2014-02-02  Daniel Colascione  <dancol@dancol.org>
4205         * progmodes/cc-defs.el (c-find-assignment-for-mode):
4206         Make loading cc-mode silent.
4208 2014-02-02  Daniel Colascione  <dancol@dancol.org>
4210         * comint.el (comint-prompt-read-only): Change doc to suggest
4211         remap keybinding.
4213 2014-02-02  Glenn Morris  <rgm@gnu.org>
4215         * register.el (register-read-with-preview, point-to-register)
4216         (window-configuration-to-register, frame-configuration-to-register)
4217         (jump-to-register, number-to-register, view-register, insert-register)
4218         (copy-to-register, append-to-register, prepend-to-register)
4219         (copy-rectangle-to-register): Doc fixes.
4221 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4223         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4224         * emacs-lisp/find-func.el (find-function-C-source): Idem.
4225         * emacs-lisp/nadvice.el (advice--cd*r): New function.
4226         * help-fns.el (describe-function-1): Use it.
4228 2014-02-02  Glenn Morris  <rgm@gnu.org>
4230         * register.el (register-preview-default): New function,
4231         split from register-preview.
4232         (register-preview-function): Rename from register-preview-functions,
4233         make it not a hook.
4234         (register-preview): Use register-preview-function.
4235         (register-read-with-preview): Error on non-character event.  (Bug#16595)
4237 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
4239         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4240         `:' before binary operators (bug#16609).  Don't check for `:'
4241         before `[' and `(', or their syntax status.  A percent literal
4242         can't end with either.
4243         (ruby-font-lock-keywords): For built-ins that require arguments,
4244         check that they're followed by something that looks like argument
4245         (bug#16610).
4247 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
4249         * subr.el (butlast): Document what an omitted N means (bug#13437).
4250         (nbutlast): Ditto.
4252 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
4254         * net/shr.el (shr-generic): Make into a defsubst to make the stack
4255         depth shallower (bug#16587).
4256         (shr-tag-svg): Respect `shr-inhibit-images'.
4257         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4259 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
4261         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4262         (ruby-smie-grammar): Make "." right-associative.  Make its priority
4263         lower than the ternary and all binary operators.
4264         (ruby-smie-rules): Indent "(" relative to the first non-"."
4265         parent, or the first "." parent at indentation.
4266         Use `ruby-align-chained-calls' for indentation of "." tokens.
4267         (Bug#16593)
4269 2014-01-31  Juri Linkov  <juri@jurta.org>
4271         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4272         from `make-hash-table'.
4274         * textmodes/ispell.el (ispell-init-process): Change message format
4275         to be consistent with other messages.
4277 2014-01-31  Glenn Morris  <rgm@gnu.org>
4279         * delsel.el (delete-selection-mode): Doc fix.
4281         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4282         (trace-function-background): Doc fixes.
4284         * ido.el (ido-use-virtual-buffers): Doc fix.
4285         Reset :version, since the default value has not changed.
4287         * register.el (register-preview-delay, register-read-with-preview):
4288         Doc fixes.
4290         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4291         do not mess with mail-buffer position (fixes 2009-11-03 change).
4292         * progmodes/cc-mode.el (c-submit-bug-report):
4293         Check auto-fill-mode is bound.  (Bug#16592)
4295 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
4297         * startup.el (fancy-splash-image-file): New function,
4298         split from fancy-splash-head.
4299         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4300         so that we are both using the same image.  (Bug#16574)
4302 2014-01-30  Glenn Morris  <rgm@gnu.org>
4304         * simple.el (eval-expression): Doc fix.
4306         * hexl.el (hexl-mode-hook):
4307         * ielm.el (ielm-mode-hook):
4308         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4309         (lisp-interaction-mode-hook):
4310         * progmodes/cfengine.el (cfengine3-documentation-function):
4311         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4313 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4315         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4316         is a symbol (bug#16584).
4318 2014-01-30  Glenn Morris  <rgm@gnu.org>
4320         * help.el (help-for-help-internal): Add "P" to text.
4322 2014-01-29  Glenn Morris  <rgm@gnu.org>
4324         * simple.el (just-one-space, cycle-spacing): Doc fixes.
4326 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
4328         * window.el (fit-frame-to-buffer): Fix calculations for margins and
4329         height constraints.
4331 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
4333         * progmodes/hideif.el: Extend to full CPP expression syntax.
4334         (hif-token-alist): Add missing tokens.
4335         (hif-token-regexp): Add support for float/octal/hex immediates.
4336         (hif-string-literal-regexp): New const.
4337         (hif-tokenize): Recognize strings and float/octal/hex immediates.
4338         (hif-exprlist): New function.
4339         (hif-parse-if-exp): Use it.
4340         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4341         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4342         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4343         (hif-logxor, hif-comma): New functions.
4345 2014-01-28  Glenn Morris  <rgm@gnu.org>
4347         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4349         * indent.el (tab-stop-list): Doc fix.  Add :version.
4351         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4352         (cvs-append-to-ignore): Add compatibility alias.
4354 2014-01-27  Glenn Morris  <rgm@gnu.org>
4356         * dired.el (dired-hide-details-mode): Don't autoload it,
4357         since it cannot be used outside Dired buffers anyway.
4359         * emulation/cua-base.el (cua-mode): Doc fix.
4361         * dired.el (dired-hide-details-hide-symlink-targets)
4362         (dired-hide-details-hide-information-lines)
4363         (dired-hide-details-mode): Doc fixes.
4365         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4366         * strokes.el (strokes-file): Doc fix.  Bump :version.
4367         (strokes-help): Doc fix.
4368         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4369         * emulation/viper.el (viper): Doc fix for custom group.
4370         (top-level): Remove oh-so-no-longer-relevant text about vip.
4371         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4373         * ido.el (ido-save-directory-list-file):
4374         * saveplace.el (save-place-file):
4375         * calendar/timeclock.el (timeclock-file):
4376         * net/quickurl.el (quickurl-url-file):
4377         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4378         * progmodes/idlwave.el (idlwave-config-directory):
4379         * textmodes/remember.el (remember-data-file):
4380         Bump :version.
4382 2014-01-26  Glenn Morris  <rgm@gnu.org>
4384         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4385         Doc fix.  Make obsolete.
4386         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4388         * sort.el (delete-duplicate-lines): Doc fix.
4390 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4392         * progmodes/ada-mode.el (ada):
4393         * woman.el (woman): Link to info manual and Commentary section.
4395         * progmodes/flymake.el (flymake):
4396         * nxml/nxml-mode.el (nxml):
4397         * net/eww.el (eww):
4398         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4399         * htmlfontify.el (htmlfontify):
4400         * ses.el (ses):
4401         * epa.el (epa):
4402         * ido.el (ido): Link to info manual.
4404 2014-01-25  Leo Liu  <sdl.web@gmail.com>
4406         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4408 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
4410         * net/shr.el (shr-tag-img): Prefer the title over the alt text
4411         (bug#16537).
4413 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
4415         * net/eww.el (eww-download-callback):
4416         Fix reference to eww-download-directory.
4418         * emacs-lisp/bytecomp.el (byte-compile-file):
4419         Remove unused local variable `file-name'.
4421 2014-01-24  Glenn Morris  <rgm@gnu.org>
4423         * woman.el (woman-default-faces, woman-monochrome-faces):
4424         Fix obsolescence specification.
4426         * subr.el (with-demoted-errors): Doc fix.
4428 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4430         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4431         (cl--macroexp-fboundp): New function.
4432         (cl--make-type-test): Use it.
4434 2014-01-23  Glenn Morris  <rgm@gnu.org>
4436         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4437         * simple.el (eval-expression): Doc fixes.
4439 2014-01-22  Glenn Morris  <rgm@gnu.org>
4441         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4443 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4445         * emacs-lisp/package.el: Write files silently.
4446         (package-autoload-ensure-default-file, package--write-file-no-coding)
4447         (package-generate-description-file, package--download-one-archive)
4448         (package-install-from-archive): Tell `write-region' to stay quiet.
4449         (package-menu-mode, package-menu--print-info): Omit the Archive column
4450         if there's only one archive.
4451         (package-all-keywords, package--has-keyword-p): Remove dead code.
4453 2014-01-22  Glenn Morris  <rgm@gnu.org>
4455         * version.el (emacs-bzr-version-bzr): Fix typo.
4457         * version.el (emacs-repository-get-version):
4458         Check either .bzr or .git, but not both.
4459         Make the git case actually use the DIR argument, and return nil
4460         rather than the empty string.
4461         Avoid error if .git exists but the git executable is not found.
4463 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
4465         Fixes in window size functions around Bug#16430 and Bug#16470.
4466         * window.el (window-total-size, window-size): New argument ROUND.
4467         (window--min-delta-1, window-min-delta, window--max-delta-1):
4468         Be more conservative when calculating the numbers of lines or
4469         columns a window can shrink (Bug#16430).
4470         (fit-window-to-buffer): Simplify code.
4471         * term.el (term-window-width): Call window-body-width again.
4473 2014-01-22  Glenn Morris  <rgm@gnu.org>
4475         * image.el (image-format-suffixes): Doc fix.
4477         * international/quail.el (quail-define-package): Doc fix.
4479         * emacs-lisp/authors.el (authors-valid-file-names)
4480         (authors-renamed-files-alist): Additions.
4482         * vc/vc-git.el (vc-git-print-log): Remove --follow;
4483         reverts 2014-01-09 change.  (Bug#16422)
4485         * calc/calc-embed.el (thing-at-point-looking-at):
4486         * emacs-lisp/map-ynp.el (x-popup-dialog):
4487         * obsolete/lmenu.el (x-popup-dialog):
4488         * emacs-lisp/package.el (url-recreate-url):
4489         * mail/mailclient.el (clipboard-kill-ring-save):
4490         * subr.el (x-popup-dialog): Update declaration.
4491         * mail/rmail.el (rmail-mime-message-p):
4492         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4494 2014-01-21  Daniel Colascione  <dancol@dancol.org>
4496         * progmodes/sh-script.el (sh--inside-noncommand-expression):
4497         Correctly detect when we're inside an arithmetic expansion form
4498         containing nested parenthesis.
4499         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4500         to detect cases where we shouldn't expand "<<" to a heredoc
4501         skeleton.
4503 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4505         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4506         (eldoc--message-command-p): New function.
4507         (eldoc-display-message-p): Use it.
4508         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4509         message is not automatically erased for us.
4510         (eldoc-print-current-symbol-info): Erase previous message, if any.
4512 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
4514         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4515         specify it's an interactive function.
4517         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4518         Fix regex used for scanning for citation keys which failed for
4519         citations with optional arguments.
4521 2014-01-21  Leo Liu  <sdl.web@gmail.com>
4523         * simple.el (read--expression): Don't enable eldoc-mode.
4525 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4527         * simple.el (move-beginning-of-line): Make sure we don't move forward
4528         (bug#16497).
4530 2014-01-20  Juri Linkov  <juri@jurta.org>
4532         * saveplace.el (toggle-save-place, save-place-to-alist)
4533         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4534         'dired-mode) before checking for dired-directory.  (Bug#16477)
4536 2014-01-20  Juri Linkov  <juri@jurta.org>
4538         * indent.el (indent-line-to): Use backward-to-indentation
4539         instead of back-to-indentation.  (Bug#16461)
4541 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
4543         Revert some of the CANNOT_DUMP fix (Bug#16494).
4544         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4545         but fixing this can wait until after the next release.
4546         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4548 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
4550         * eshell/esh-mode.el (eshell-password-prompt-regexp):
4551         Use `password-word-equivalents'.
4552         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4553         to t.  (Bug#5664, Bug#13124)
4555 2014-01-19  Alan Mackenzie  <acm@muc.de>
4557         Bind open-paren-in-column-0-is-defun-start to nil at some entry
4558         points.
4559         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4560         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4561         * progmodes/cc-mode.el (c-before-change, c-after-change)
4562         (c-font-lock-fontify-region): Bind it here.
4564 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
4566         * term.el (term-window-width): Call window-text-width instead of
4567         window-width (Bug#16470).
4569 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
4571         * simple.el (password-word-equivalents): Remove duplicates.
4572         Sort, to make this easier next time.
4573         Downcase.  Omit ": " after "jelszó".
4575 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
4577         * term/common-win.el (saved-region-selection): Defvar it.
4578         (x-select-text): Set saved-region-selection (Bug#16382).
4580 2014-01-18  Glenn Morris  <rgm@gnu.org>
4582         * emacs-lisp/authors.el (authors-aliases)
4583         (authors-renamed-files-alist): Add some entries.
4585 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
4587         * net/tramp.el (tramp-password-prompt-regexp):
4588         Use `password-word-equivalents' if available.
4589         (tramp-action-password, tramp-process-one-action)
4590         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
4592 2014-01-17  Chong Yidong  <cyd@gnu.org>
4594         * simple.el (password-word-equivalents): New defcustom.
4595         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
4596         to 24.4.
4597         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4598         to t.  (Bug#13124)
4600 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
4602         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4603         (ruby-align-to-stmt-keywords): Change the default value.
4604         Use `ruby-alignable-keywords' to generate the possible customization
4605         choices.
4606         (ruby-smie-rules): Instead of using a hardcoded list of alignable
4607         keywords, check against the value of `ruby-alignable-keywords'
4608         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4610 2014-01-17  Glenn Morris  <rgm@gnu.org>
4612         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4614         Make M-x authors return zero *Authors Errors* from current logs.
4615         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4616         (authors-ignored-files): Add some entries, remove others.
4617         (authors-ambiguous-files, authors-valid-file-names):
4618         Add some entries.
4619         (authors-renamed-files-alist): Add, remove, and adjust entries.
4620         (authors-renamed-files-regexps): Add some entries.
4621         Remove some very broad ones.  Make some entries `lax'.
4622         (authors-lax-changelogs): New constant.
4623         (authors-disambiguate-file-name): Treat top-level specially.
4624         (authors-lax-changelog-p): New function.
4625         (authors-canonical-file-name): Check file as written against
4626         authors-valid-file-names.  Do not special-case etc/.
4627         Handle `lax' logs and authors-renamed-files-regexps elements.
4629 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
4631         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4632         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
4633         callers.
4635 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4637         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4638         Assume we're already in the proper buffer.
4639         Inspired by Anders Lindgren <andlind@gmail.com>.
4640         (follow-post-command-hook): Call it from the right buffer.
4641         (follow-comint-scroll-to-bottom): Adjust call.
4642         (follow-all-followers): Use get-buffer-window-list.
4644 2014-01-15  Daniel Colascione  <dancol@dancol.org>
4646         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4647         `buffer-file-name' in interactive-form so that we don't leave
4648         pathless file names in `file-name-history'.
4650 2014-01-15  Juri Linkov  <juri@jurta.org>
4652         * indent.el (indent-rigidly): Set deactivate-mark to nil
4653         in transient indentation mode.  (Bug#16438)
4655 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
4657         * emacs-lisp/package.el (package-desc-keywords): New function
4658         (Bug#16222).
4659         (describe-package-1, package-all-keywords)
4660         (package--has-keyword-p): Use it.
4662 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4664         * simple.el (define-alternatives): When creating the
4665         COMMAND-alternatives variable, assign COMMAND as its definition
4666         name so that `describe-variable' can relocate it.
4668 2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)
4670         * font-lock.el (font-lock-keywords): Fix typo in docstring
4671         (bug#16307).
4673 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4675         * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4676         line instead of wrongly reset `add-coment' (bug#13577).
4678 2014-01-14  Daiki Ueno  <ueno@gnu.org>
4680         * epa-file.el (epa-file-write-region): Encode the region according
4681         to `buffer-file-format'.  Problem reported at:
4682         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4684 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4686         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4687         so it applies in the right buffer (bug#16410).
4689 2014-01-13  Daniel Colascione  <dancol@dancol.org>
4691         * textmodes/rst.el (rst-define-key): Provide deprecated
4692         keybindings through named functions instead of anonymous ones so
4693         that "??" doesn't appear in describe-mode output.
4695 2014-01-13  Bastien Guerry  <bzg@gnu.org>
4697         * simple.el (define-alternatives): Call the selected command
4698         interactively.  When setting `COMMAND--implementation' for the
4699         first time, tell the user how to chose another implementation.
4700         Enhance the docstring.
4702 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4704         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4705         (log-edit--match-first-line): New function.
4706         (log-edit-font-lock-keywords): Use it.
4707         (log-edit-mode): Make jit-lock-defer-multiline work.
4709 2014-01-13  Bastien Guerry  <bzg@gnu.org>
4711         * rect.el (rectangle-mark-mode): When the region is not active,
4712         display a message saying that the mark as been set and that
4713         rectangle mode is in use.
4714         (rectangle--highlight-for-redisplay): Only put an overlay with a
4715         visible vertical bar when (display-graphic-p) is non-nil.
4716         This partially fixes Bug#16403.
4718 2014-01-13  Juri Linkov  <juri@jurta.org>
4720         * info.el (Info-find-file): Go to DIR before displaying the error
4721         about a nonexistent file if no previous Info file is visited.
4722         Use `user-error' instead of `error' for "Info file %s does not exist".
4723         (Info-find-node-2): In case of a nonexistent node in unwind forms
4724         go to the Top node if there is no previous node to revert to.
4725         (Bug#16405)
4727 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
4729         fit-frame/window-to-buffer code fixes including one for Bug#14096.
4730         * window.el (fit-frame-to-buffer): Fix doc-string.
4731         Respect window-min-height/-width.  Fit pixelwise when
4732         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
4733         when avoiding that frame goes partially off-screen.
4734         (fit-window-to-buffer): Respect window-min-height/-width
4735         (Bug#14096).
4737 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4739         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4740         after an empty line.
4742 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4744         * net/shr.el (shr-render-region): Autoload.
4746 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
4748         * net/eww.el (eww-download-directory): Rename from
4749         `eww-download-path' (Bug#16419).
4751 2014-01-12  Leo Liu  <sdl.web@gmail.com>
4753         * dired-x.el (dired-mode-map): Fix last change.
4755         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4757 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
4759         Spelling fixes.
4760         * emacs-lisp/generic.el (generic--normalize-comments):
4761         Rename from generic--normalise-comments.  All uses changed.
4762         * play/bubbles.el (bubbles--neighborhood-score)
4763         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4764         (bubbles--neighborhood-available)
4765         (bubbles--update-neighborhood-score):
4766         Rename from names with 'neighbourhood'.  All uses changed.
4768 2014-01-12  Leo Liu  <sdl.web@gmail.com>
4770         Re-implement the feature of showing eldoc info after editing.
4771         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4772         (eldoc-edit-message-commands): New function.
4773         (eldoc-print-after-edit): New variable.
4774         (eldoc-pre-command-refresh-echo-area): Emit message only by
4775         eldoc-message-commands.
4776         (eldoc-mode): Restrict eldoc-message-commands to editing commands
4777         if eldoc-print-after-edit is set.  (Bug#16346)
4778         * simple.el (read--expression): Enable eldoc-mode.
4779         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4781 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
4782             Eric S. Raymond  <esr@thyrsus.com>
4784         * version.el (emacs-repository-get-version): Enhance so the
4785         function works correctly in either a Bazaar or Git repo.
4787 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
4789         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4790         Goes with removal of the joke manpages from /etc.
4792 2014-01-10  Kenichi Handa  <handa@gnu.org>
4794         * mail/rmail.el (rmail-get-coding-system):
4795         Check rmail-get-coding-function before "funcall"ing it.
4797 2014-01-10  Glenn Morris  <rgm@gnu.org>
4799         * emacs-lisp/authors.el (authors-fixed-entries):
4800         Update for files that no longer exist.
4802 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
4804         * version.el (emacs-bzr-get-version): Restore compatibilty with
4805         24.3 (Tested).
4807 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
4809         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4810         and Podfile.
4812 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
4814         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4816 2014-01-10  Chong Yidong  <cyd@gnu.org>
4818         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4820 2014-01-10  Anders Lindgren  <andlind@gmail.com>
4822         * follow.el (follow-cache-command-list): Include right-char and
4823         left-char.
4825 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4827         Spelling fixes.
4828         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4829         * woman.el (woman-mark-horizontal-position):
4830         Rename from woman-mark-horizonal-position.  Use changed.
4832 2014-01-10  Glenn Morris  <rgm@gnu.org>
4834         * info.el (info-initialize): If running uninstalled, ensure our
4835         own info files are always found first, even if INFOPATH is set.
4837         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4839 2014-01-09  David Engster  <deng@randomsample.de>
4841         * emacs-lisp/eieio-custom.el:
4842         * emacs-lisp/eieio-opt.el: Set generated autoload file to
4843         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4844         * emacs-lisp/eieio.el: Regenerate autoloads.
4846 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
4848         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4849         following renames.  (Bug#8756)
4851 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4853         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4854         (bug#16382).
4855         (activate-mark): Add `no-tmm' argument.
4856         (set-mark, push-mark-command): Use it instead of running
4857         activate-mark-hook by hand.
4859 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
4861         In preparation for the move to git, sanitize out some
4862         Bazaar-specific names.
4864         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4866         * version.el (emacs-bzr-version): Name changed to
4867         emacs-repository-version.  Obsolete-variable alias made.
4868         * loadup.el: Follow through on this name change.
4869         * mail/emacsbug.el (report-emacs-bug): Factor out any
4870         assumption about the version control system in use.
4872 2014-01-08  David Engster  <deng@randomsample.de>
4874         * help-fns.el (help-fns-describe-function-functions):
4875         New variable to call functions for augmenting help buffers.
4876         (describe-function-1): Remove explicit calls to
4877         `help-fns--compiler-macro', `help-fns--parent-mode' and
4878         `help-fns--obsolete'.  Put them in above new variable instead, and
4879         call them through `run-hook-with-args'.
4880         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4881         `eieio-describe-class'.  Not meant for interactive use anymore,
4882         but to augment existing help buffers.  Remove optional second
4883         argument.  Create proper button for file location.
4884         Rewrite function to use `insert' instead of `princ' and `prin1' where
4885         possible.
4886         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4887         (eieio-method-def, eieio-class-def): Move further up.
4888         (describe-method, describe-generic, eieio-describe-method):
4889         Remove aliases.
4890         (eieio-help-constructor, eieio-help-generic): Rename from
4891         `eieio-describe-constructor' and `eieio-describe-generic', resp.
4892         Rewrite to use `insert' in the current buffer and use proper help
4893         buttons.
4894         (eieio-help-find-method-definition)
4895         (eieio-help-find-class-definition): Also accept symbols as
4896         arguments.
4897         (eieio-help-mode-augmentation-maybee): Remove.
4898         (eieio-describe-class-sb): Use `describe-function'.
4899         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4900         Add `eieio-help-generic' and `eieio-help-constructor'.
4902 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
4904         Spelling fixes.
4905         * language/china-util.el (hz-ascii-designation):
4906         Rename from hz-ascii-designnation.
4907         (hz-ascii-designation): Rename from hz-ascii-designnation.
4908         All uses changed.
4910 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4912         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4913         package-alist.
4915 2014-01-08  Bastien Guerry  <bzg@gnu.org>
4917         * emacs-lisp/package.el (package-delete):
4918         Correctly delete the package from package-alist.
4920 2014-01-08  Daiki Ueno  <ueno@gnu.org>
4922         * emacs-lisp/package.el (url-recreate-url): Declare.
4923         (url-http-target-url): Declare.
4924         (package-handle-response): Include requested URL in the error message.
4925         (package--check-signature): Don't re-signal errors from
4926         package--with-work-buffer.  Suggested by Stefan Monnier.
4928 2014-01-07  Bastien Guerry  <bzg@gnu.org>
4930         * minibuffer.el (completion--try-word-completion): When both a
4931         hyphen and a space are possible candidates for the character
4932         following a word, display both candidates.  (Bug#15980)
4934 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
4936         * window.el (balance-windows-2): While rounding don't give a
4937         window more than the remainder.  Bug#16351, bug#16383.
4939 2014-01-07  Glenn Morris  <rgm@gnu.org>
4941         * menu-bar.el (menu-bar-help-extra-packages): Remove.
4942         (menu-bar-help-menu): Use view-external-packages instead.
4944 2014-01-07  Bastien Guerry  <bzg@gnu.org>
4946         * emacs-lisp/package.el (package-delete): Also delete the package
4947         name from `package-alist', not its description only.
4949 2014-01-07  Glenn Morris  <rgm@gnu.org>
4951         * help.el (view-external-packages):
4952         * menu-bar.el (menu-bar-help-extra-packages):
4953         Visit efaq.info rather than etc/MORE.STUFF.
4955 2014-01-07  Juri Linkov  <juri@jurta.org>
4957         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4958         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
4960         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4961         that shadows RET.  (Bug#16342)
4963 2014-01-07  Chong Yidong  <cyd@gnu.org>
4965         * isearch.el (isearch-yank-char, isearch-yank-word)
4966         (isearch-yank-line): Doc fix.
4968 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4970         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4971         * emacs-lisp/elint.el (elint-find-builtins):
4972         * emacs-lisp/eldoc.el (eldoc-symbol-function):
4973         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4974         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4975         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4976         * apropos.el (apropos-safe-documentation):
4977         * subr.el (symbol-file): Remove redundant fboundp.
4978         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4980 2014-01-06  Bastien Guerry  <bzg@gnu.org>
4982         * hl-line.el (global-hl-line-overlay): Make a local variable.
4983         (global-hl-line-overlays): New variable to store all overlays.
4984         (global-hl-line-mode): Don't delete overlays from the current
4985         buffer when `global-hl-line-sticky-flag' is non-nil.
4986         (global-hl-line-highlight): Add new overlays to
4987         `global-hl-line-overlays'.
4988         (global-hl-line-unhighlight-all): New function to delete all
4989         overlays when turning off `global-hl-line-mode'.
4990         This fixes Bug#16183.
4992 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4994         * subr.el (set-transient-map): Fix nested case and docstring.
4996 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
4998         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4999         `Texinfo' entry.
5001 2014-01-06  Daniel Colascione  <dancol@dancol.org>
5003         Fix defun navigation in vc log view.
5005         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5006         like `beginning-of-defun'.
5007         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5008         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
5009         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5010         (log-view-extract-comment): Call `log-view-current-entry' directly
5011         instead of relying on broken `log-view-beginning-of-defun' behavior.
5013 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
5015         Spelling fixes.
5016         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5017         * emacs-lisp/debug.el (cancel-debug-on-entry):
5018         * epg.el (epg-error-to-string):
5019         * files.el (recover-file):
5020         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5021         * mail/emacsbug.el (report-emacs-bug-hook):
5022         * mail/sendmail.el (mail-recover):
5023         * ses.el (ses-yank-resize):
5024         * term/ns-win.el (ns-print-buffer):
5025         Spelling fixes in diagnostics, mostly for "canceled" with one L.
5026         * epg.el (epg-key-capability-alist): Rename from misspelled version.
5027         All uses changed.
5028         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5030 2014-01-06  Leo Liu  <sdl.web@gmail.com>
5032         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5033         to avoid shadowing global key.  (Bug#16354)
5035 2014-01-06  Daniel Colascione  <dancol@dancol.org>
5037         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5038         rst-mode.
5040 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
5042         * window.el (balance-windows): Add mising t to fix Bug#16351.
5044 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5046         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5047         (bug#16285).
5048         (shr-insert): If we have a word that's longer than `shr-width',
5049         break after it anyway.  Otherwise we'll do no breaking once we get
5050         such a long word.
5052 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5054         * net/eww.el (eww): Support single/double quote for search.
5055         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5056         (eww-history-quit): Delete and use quit-window.
5057         (eww-history-kill): Delete, because it doesn't work well and
5058         not necessary.
5059         (eww-history-mode-map): Delete some keys and add easy-menu.
5061 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
5063         Fix misspelling of 'chinese' in rx (Bug#16237).
5064         * emacs-lisp/rx.el (rx-categories): Correct spelling of
5065         chinese-two-byte.
5067         Change subword regexps back to vars (Bug#16296).
5068         * progmodes/subword.el (subword-forward-regexp)
5069         (subword-backward-regexp): Change these back to variables.
5071 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5073         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5074         syntax-begin-function (bug#16247).
5076 2014-01-03  Chong Yidong  <cyd@gnu.org>
5078         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5079         (advice--docstring): Delete variable.
5080         (advice--make-1): Leave the docstring empty.
5081         (advice-add): Use function-documentation for advised docstring.
5083         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5084         Ignore function-documentation property when getting documentation.
5085         (ad-activate-advised-definition): Use function-documentation
5086         generate the docstring.
5087         (ad-make-advised-definition): Don't call
5088         ad-make-advised-definition-docstring.
5089         (ad-make-advised-definition-docstring, ad-advised-definition-p):
5090         Delete functions.
5092         * progmodes/sql.el (sql-help): Use function-documentation instead
5093         of dynamic-docstring-function property.  No need to autoload now.
5094         (sql--help-docstring): New variable.
5095         (sql--make-help-docstring): Use it.
5097 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5099         * ielm.el (ielm-tab): Retarget.
5100         (ielm-map): Use ielm-tab for tab.
5101         (ielm-complete-filename): Use comint-filename-completion.
5102         (ielm-complete-symbol): Remove.
5103         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5104         remove ielm-tab from completion-at-point-functions (bug#16224).
5106         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5107         Beware signals raised by predicates (bug#16201).
5109 2014-01-02  Richard Stallman  <rms@gnu.org>
5111         * dired-aux.el (dired-do-print): Handle printer-name.
5113         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5114         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5115         (rmail-epa-decrypt): Turn off mime processing.
5117         * mail/rmail.el (rmail-make-in-reply-to-field):
5118         Add parens in message-id.
5120         * mail/rmail.el (rmail-get-coding-function): Variable.
5121         (rmail-get-coding-system): Use it.
5123 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
5125         * international/mule-conf.el: Unify the charset indian-is13194.
5126         (indian-is13194): Specify unify-map.
5128 2013-12-31  Leo Liu  <sdl.web@gmail.com>
5130         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
5132 2013-12-30  Daniel Colascione  <dancol@dancol.org>
5134         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5135         of printing a useless when we resume from sleep.
5137         * progmodes/sh-script.el
5138         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5139         in indentation code.  (Bug#16233)
5141 2013-12-28  João Távora  <joaotavora@gmail.com>
5143         * elec-pair.el (electric-pair-post-self-insert-function):
5144         Don't open extra newlines at beginning of buffer.  (Bug#16272)
5146 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
5148         * frame.el (window-system-for-display): Don't allow to create a
5149         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
5151 2013-12-28  Glenn Morris  <rgm@gnu.org>
5153         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5154         Update callers.
5156         * apropos.el (apropos-match-face):
5157         * calculator.el (calculator-displayer):
5158         * dabbrev.el (dabbrev-search-these-buffers-only):
5159         * face-remap.el (buffer-face-mode-face):
5160         * simple.el (yank-handled-properties):
5161         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5162         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5163         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5164         (hashcash-double-spend-database):
5165         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5166         (ruby-deep-indent-paren-style):
5167         * textmodes/flyspell.el (flyspell-auto-correct-binding):
5168         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5169         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5170         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5171         Specify custom types.
5173         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5174         * bookmark.el (bookmark-bmenu-use-header-line):
5175         * doc-view.el (doc-view-scale-internally):
5176         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5177         * register.el (register-preview-delay):
5178         * net/shr.el (shr-bullet):
5179         * progmodes/cfengine.el (cfengine-cf-promises)
5180         (cfengine-parameters-indent):
5181         * progmodes/octave.el (inferior-octave-error-regexp-alist):
5182         * textmodes/reftex-vars.el (reftex-label-regexps):
5183         * vc/log-edit.el (log-edit-setup-add-author): Add version.
5185         * net/tls.el (tls-certtool-program): Fix default value.
5187         * desktop.el (desktop-restore-in-current-display):
5188         * newcomment.el (comment-empty-lines):
5189         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5190         (idlwave-pad-keyword):
5191         * progmodes/tcl.el (tcl-tab-always-indent):
5192         * textmodes/reftex-vars.el (reftex-index-default-tag):
5193         * elec-pair.el (electric-pair-skip-whitespace):
5194         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5196         * emacs-lisp/authors.el (authors-ignored-files)
5197         (authors-valid-file-names, authors-renamed-files-alist): Additions.
5199 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
5201         * shell.el (shell-dynamic-complete-command): Doc fix.
5202         (shell--command-completion-data): Shell completion now matches
5203         executable filenames from the current buffer's directory, on
5204         systems in which this behavior is the default (windows-nt, ms-dos).
5206 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
5208         * net/shr.el (shr-insert): Don't infloop if the width is zero.
5210 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5212         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5213         (bug#16251).
5215         * electric.el: Move all electric-pair-* to elec-pair.el.
5216         * elec-pair.el: New file, split from electric.el.
5218 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
5220         * net/shr.el (shr-find-fill-point): Don't try to fill if the
5221         indentation level is larger than the width, because that will
5222         infloop.
5223         (shr-insert): Fill repeatedly long texts, so that Japanese is
5224         formatted correctly (bug#16263).
5225         (shr-find-fill-point): Off by one error in comparison with the
5226         indentation.
5228 2013-12-26  João Távora  <joaotavora@gmail.com>
5230         * electric.el (electric-pair-mode): More flexible engine for skip-
5231         and inhibit predicates, new options for pairing-related functionality.
5232         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5233         if that keeps or improves their balance in buffers.
5234         (electric-pair-delete-adjacent-pairs): Delete the pair when
5235         backspacing over adjacent matched delimiters.
5236         (electric-pair-open-extra-newline): Open extra newline when
5237         inserting newlines between adjacent matched delimiters.
5238         (electric--sort-post-self-insertion-hook):
5239         Sort post-self-insert-hook according to priority values when
5240         minor-modes are activated.
5241         * simple.el (newline-and-indent): Call newline with interactive
5242         set to t.
5243         (blink-paren-post-self-insert-function): Set priority to 100.
5244         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5245         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5246         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
5247         electric-pair-open-newline-between-pairs to nil.
5249 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5251         * progmodes/python.el: Use lexical-binding.
5252         (python-nav-beginning-of-defun): Stop searching ASAP.
5254 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
5256         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5257         Fix interactive spec.  Doc fix.  (Bug#15754)
5259 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
5261         * emacs-lisp/byte-run.el (eval-when-compile):
5262         * progmodes/cc-defs.el (cc-eval-when-compile):
5263         Fix edebug spec (bug#16184).
5265 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
5267         * net/shr.el (shr-visit-file): Remove debugging function.
5268         (shr-insert): Don't infloop if we can't find a good place to break
5269         the line (bug#16256).
5271 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5273         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5274         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
5275         python-nav-lisp-forward-sexp-safe.
5276         (python-nav--forward-sexp): New argument SAFE allows switching
5277         forward sexp movement behavior for parens.
5278         (python-nav-forward-sexp): Throw errors on unterminated parens
5279         (Bug#16191).
5280         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5281         (python-nav-backward-sexp-safe): New functions.
5282         (python-shell-buffer-substring):
5283         Use `python-nav-forward-sexp-safe'.
5285 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
5287         * net/shr.el (shr-find-fill-point): Don't break lines before a
5288         quotation mark.
5289         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5290         (shr-find-fill-point): Remove the special checks for the quotation
5291         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5293 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5295         * net/eww.el (eww-form-textarea): Use a different face for
5296         textareas than text input since they have different keymaps
5297         (bug#16142).
5299 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5301         * progmodes/python.el (python-nav-beginning-of-statement):
5302         Speed up (Bug#15295).
5304 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
5306         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5307         the window configuration.
5309 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
5311         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5312         we run on MS-Windows or MS-DOS.
5314 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
5316         * window.el (balance-windows-area): Call window-size instead of
5317         window-height and window-width.  Bug#16241.
5319 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
5321         * net/eww.el (eww-bookmark-quit): Remove.
5322         (eww-bookmark-browse): Restore the window configuration when you
5323         choose a bookmark (bug#16144).
5325 2013-12-24  Daniel Colascione  <dancol@dancol.org>
5327         * icomplete.el: Remove redundant :group arguments to `defcustom'
5328         throughout.
5329         (icomplete-show-matches-on-no-input): New customizable variable.
5330         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5331         we have something to show.
5332         (icomplete-exhibit): Compute completions even if we have no user input.
5334 2013-12-23  Daniel Colascione  <dancol@dancol.org>
5336         * icomplete.el: Move `provide' to end of file.
5338 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
5340         * net/gnutls.el (gnutls-verify-error): Add version tag.
5342 2013-12-23  Chong Yidong  <cyd@gnu.org>
5344         * subr.el (set-transient-map): Rename from
5345         set-temporary-overlay-map.  Doc fix.
5347         * face-remap.el (text-scale-adjust):
5348         * indent.el (indent-rigidly):
5349         * kmacro.el (kmacro-call-macro):
5350         * minibuffer.el (minibuffer-force-complete):
5351         * repeat.el (repeat):
5352         * simple.el (universal-argument--mode):
5353         * calendar/todo-mode.el (todo-insert-item--next-param):
5354         * progmodes/f90.el (f90-abbrev-start): Callers changed.
5356         * indent.el (indent-rigidly): Use substitute-command-keys.
5358 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5360         * net/eww.el (eww-tag-select): Add text-property to jump to next
5361         select field.
5362         (eww): Add non-supported ftp error.
5364 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
5366         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5367         comments.  Handle electric indent after typing `?' and `!'.
5369 2013-12-22  Chong Yidong  <cyd@gnu.org>
5371         * faces.el (face-spec-recalc): If the theme specs are not
5372         applicable to a frame, fall back on the defface spec.
5373         This prevents themes from obliterating faces on low-color terminals.
5375 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
5377         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5378         after `{'.  We need it after block openers, and it doesn't seem
5379         to hurt after hash openers.
5381 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
5383         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5384         extracted from `ruby-smie-rules'.
5385         (ruby--electric-indent-chars): New variable.
5386         (ruby--electric-indent-p): New function.
5387         (ruby-mode): Use `electric-indent-functions' instead of
5388         `electric-indent-chars'.
5390 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
5392         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5393         docstring.
5394         (ruby-smie-rules): Indent plus one level after `=>'.
5396 2013-12-21  Richard Stallman  <rms@gnu.org>
5398         * simple.el (newline): Doc fix.
5400 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5402         * net/eww.el (eww-list-histories, eww-list-histories)
5403         (eww-history-browse, eww-history-quit, eww-history-kill)
5404         (eww-history-mode-map, eww-history-mode): New command and
5405         functions to list browser histories.
5406         (eww-form-text): Support text form with disabled
5407         and readonly attributes.
5408         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5410 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5412         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5413         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5414         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5415         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5416         Use `user-error'.
5417         (eww-bookmark-mode-map): Add menu.
5418         (eww-render, eww-mode): Use `setq-local'.
5419         (eww-tool-bar-map): New variable.
5420         (eww-mode): Set `tool-bar-map'.
5421         (eww-view-source): Check for `html-mode' with `fboundp'.
5423 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5425         * net/shr.el (shr--extract-best-source): Don't bug out on audio
5426         elements with text inside.  Also remove debugging.
5428 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
5430         * cus-start.el (all): Add ns-use-srgb-colorspace.
5432 2013-12-21  Chong Yidong  <cyd@gnu.org>
5434         * custom.el (custom-theme-recalc-face): Do nothing if the face is
5435         undefined.  Thus, theme settings for undefined faces do not take
5436         effect until the faces are defined with defface, the same as with
5437         theme variables.
5439         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5440         (face-spec-reset-face): Don't assign extra properties in temacs.
5441         (face-spec-recalc): Apply X resources too.
5443 2013-12-21  Chong Yidong  <cyd@gnu.org>
5445         * faces.el (face-spec-set):
5446         * cus-face.el (custom-theme-set-faces, custom-set-faces):
5447         * custom.el (defface): Doc fixes (Bug#16203).
5449         * indent.el (indent-rigidly-map): Add docstring, and move commands
5450         into named functions.
5451         (indent-rigidly-left, indent-rigidly-right)
5452         (indent-rigidly-left-to-tab-stop)
5453         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
5454         indentation direction based on bidi direction, and accumulate
5455         sequential commands in a single undo boundary.
5456         (indent-rigidly--pop-undo): New utility function.
5458 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
5460         * faces.el (read-face-name): Require crm.el when using crm-separator.
5462 2013-12-20  Daniel Colascione  <dancol@dancol.org>
5464         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5465         so that we don't reflow comments into the shebang line.
5467 2013-12-20  Juri Linkov  <juri@jurta.org>
5469         * saveplace.el (save-place-to-alist): Add `dired-filename' as
5470         a position when `dired-directory' is non-nil.  Check integer
5471         positions with `integerp'.
5472         (toggle-save-place, save-places-to-alist): Add check for
5473         `dired-directory'.
5474         (save-place-find-file-hook): Check integer positions with
5475         `integerp'.
5476         (save-place-dired-hook): Use `dired-goto-file' when
5477         `dired-filename' is found in the assoc list.  Check integer
5478         positions with `integerp'.
5479         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5481         * dired.el (dired-initial-position-hook): Rename back from
5482         `dired-initial-point-hook'.
5483         (dired-initial-position): Rename `dired-initial-point-hook' to
5484         `dired-initial-position-hook'.
5485         (dired-file-name-at-point): Doc fix.  (Bug#15329)
5487 2013-12-20  Juri Linkov  <juri@jurta.org>
5489         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5490         (read-regexp-suggestions): New function.
5491         (read-regexp): Use `read-regexp-defaults-function' to get default values.
5492         Use `read-regexp-suggestions'.  Add non-empty default to history
5493         for empty input.
5494         (occur-read-regexp-defaults-function): Remove function.
5495         (occur-read-primary-args): Use `regexp-history-last' instead of
5496         `occur-read-regexp-defaults-function'.
5498         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5499         (hi-lock-line-face-buffer, hi-lock-face-buffer)
5500         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5501         `hi-lock-read-regexp-defaults-function'.  Doc fix.
5502         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5503         with `find-tag-default-as-symbol-regexp'.  Doc fix.
5504         (hi-lock-read-regexp-defaults): Remove function.
5505         (hi-lock-regexp-okay): Add check for null.
5507         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5508         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
5510         * subr.el (find-tag-default-as-symbol-regexp): New function.
5511         (find-tag-default-as-regexp): Move symbol regexp formatting to
5512         `find-tag-default-as-symbol-regexp'.
5514 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
5516         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5517         (Bug#14179)
5519 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
5521         * calendar/todo-mode.el: New implementation of item insertion
5522         commands and key bindings.
5523         (todo-key-prompt): New face.
5524         (todo-insert-item): New command.
5525         (todo-insert-item--parameters): New defconst, replacing defvar
5526         todo-insertion-commands-args-genlist.
5527         (todo-insert-item--param-key-alist): New defconst, replacing
5528         defvar todo-insertion-commands-arg-key-list.
5529         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5530         (todo-insert-item--argsleft, todo-insert-item--apply-args)
5531         (todo-insert-item--next-param): New functions.
5532         (todo-insert-item--args, todo-insert-item--argleft)
5533         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5534         New variables.
5535         (todo-key-bindings-t): Change binding of "i" from
5536         todo-insertion-map to todo-insert-item.
5537         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5538         (todo-insertion-command-name, todo-insertion-commands-names)
5539         (todo-define-insertion-command, todo-insertion-commands)
5540         (todo-insertion-key-bindings, todo-insertion-map): Remove.
5542 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
5544         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5545         (todo-toggle-item-highlighting): Use eval-and-compile instead of
5546         eval-when-compile.
5547         (todo-move-category): Allow choosing a non-existing todo file to
5548         move the category to, and create that file.
5549         (todo-default-priority): New user option.
5550         (todo-set-item-priority): Use it.
5551         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5552         (desktop-restore-file-buffer): Declare.
5553         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5554         (todo-modes-set-2): Locally set desktop-save-buffer to
5555         todo-desktop-save-buffer.
5556         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5557         (auto-mode-alist): Add autoload cookie.
5559 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
5561         * emacs-lisp/subr-x.el: Renamed from helpers.el.
5562         helpers.el was a poor choice of name.
5563         (string-remove-prefix): New function.
5564         (string-remove-suffix): New function.
5566 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
5568         Fix assignment for new window total sizes.
5569         * window.el (window--pixel-to-size): Remove function.
5570         (window--pixel-to-total-1, window--pixel-to-total):
5571         Fix calculation of new total sizes.
5573 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
5575         * comint.el (comint-output-filter): Fix rear-nonsticky property
5576         placement (Bug#16010).
5578 2013-12-20  Chong Yidong  <cyd@gnu.org>
5580         * faces.el (read-color): Minor fix for completion function.
5582 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
5584         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5585         New option.  (Bug#16182)
5586         (ruby-smie--indent-to-stmt-p): Use it.
5587         (ruby-smie-rules): Revert the logic in the handling of `when'.
5588         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5589         (ruby-deep-arglist, ruby-deep-indent-paren)
5590         (ruby-deep-indent-paren-style): Update docstrings to note that the
5591         vars don't have any effect with SMIE.
5593 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
5595         * calc/calc.el (calc-enter, calc-pop): Use the variable
5596         `calc-context-sensitive-enter'.
5598 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5600         * net/shr.el (shr-insert): Protect against infloops in degenerate
5601         tables.
5603 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5605         * progmodes/octave.el (octave): Add link to manual and octave
5606         homepage.
5607         (octave-mode-menu): Link to octave-mode manual.
5609 2013-12-20  Leo Liu  <sdl.web@gmail.com>
5611         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5612         insertion using skeleton-end-newline.  (Bug#16138)
5614 2013-12-20  Juri Linkov  <juri@jurta.org>
5616         * replace.el (occur-engine): Use `add-face-text-property'
5617         to add the face property to matches and titles.  (Bug#14645)
5619         * hi-lock.el (hi-green): Use lighter color "light green" closer to
5620         the palette of other hi-lock colors.
5621         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5623 2013-12-19  Juri Linkov  <juri@jurta.org>
5625         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5626         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
5627         (minibuffer-history-symbol): Move variable declaration closer to
5628         its usage.
5630         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5631         (Bug#14785)
5633 2013-12-19  Juri Linkov  <juri@jurta.org>
5635         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5636         New function.
5637         (log-edit-hook): Add it to :options.  (Bug#16170)
5639 2013-12-19  Juri Linkov  <juri@jurta.org>
5641         * simple.el (eval-expression-print-format): Don't check for
5642         command names and the last command.  Always display additional
5643         formats of the integer result in the echo area, and insert them
5644         to the current buffer only with a zero prefix arg.
5645         Display character when char-displayable-p is non-nil.
5646         (eval-expression): With a zero prefix arg, set `print-length' and
5647         `print-level' to nil, and insert the integer values from
5648         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
5650         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5651         `eval-last-sexp-arg-internal'.  Doc fix.
5652         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5653         `eval-last-sexp-print-value'.  Doc fix.
5654         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5655         Set `print-length' and `print-level' to nil when arg is zero.
5656         (eval-last-sexp): Doc fix.
5657         (eval-defun-2): Print the integer values from
5658         `eval-expression-print-format' at the end.
5660         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5661         values from `eval-expression-print-format' at the end.
5663         * ielm.el (ielm-eval-input): Print the integer
5664         values from `eval-expression-print-format' at the end.
5666 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
5668         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5669         2013-12-11T19:01:44Z!tzz@lifelogs.com.
5671 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5673         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
5674         (hl-line-highlight, global-hl-line-highlight): Use it.
5675         (hl-line-overlay): Use defvar-local.
5677 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
5679         * term/ns-win.el: Require dnd.
5680         (global-map): Remove drag items.
5681         (ns-insert-text, ns-set-foreground-at-mouse)
5682         (ns-set-background-at-mouse):
5683         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5684         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5685         New functions.
5687 2013-12-19  Glenn Morris  <rgm@gnu.org>
5689         * emacs-lisp/ert.el (ert-select-tests):
5690         Fix string/symbol mixup.  (Bug#16121)
5692 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
5694         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5695         keywords to their parent.
5697 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
5699         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5700         first arg to be a string (fixed dead code), or an operator symbol.
5701         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5702         operator symbols.
5703         (ruby-smie-rules): Remove parent token check in the `.' clause, it
5704         did nothing.  Don't respond to `(:after ".")', it will be called
5705         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
5706         change anything.  Only return indentation for binary operators
5707         when they are hanging.  De-dent opening paren when its parent is
5708         `.', otherwise it looks bad when the dot is not at bol or eol
5709         (bug#16182).
5711 2013-12-19  Juri Linkov  <juri@jurta.org>
5713         * replace.el (query-replace-read-args): Split a non-negative arg
5714         and a negative arg into separate elements.
5715         (query-replace, query-replace-regexp, replace-string)
5716         (replace-regexp): Add arg `backward'.  Doc fix.
5717         (replace-match-maybe-edit): When new arg `backward' is non-nil,
5718         move point to the beginning of the match.
5719         (replace-search, replace-highlight): Use new arg `backward'
5720         to set the value of `isearch-forward'.
5721         (perform-replace): Add arg `backward' and use it to perform
5722         replacement backward.  (Bug#14979)
5724         * isearch.el (isearch-query-replace): Use a negative prefix arg
5725         to call `perform-replace' with a non-nil arg `backward'.
5727 2013-12-18  Juri Linkov  <juri@jurta.org>
5729         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5730         to the default list.  Move `log-edit-show-files' to the end.
5731         Add more available functions to options.
5732         (log-edit): Move default specific settings to
5733         `log-edit-insert-message-template'.  Don't move point.
5734         (log-edit-insert-message-template): New function.
5735         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5736         (Bug#16170)
5738 2013-12-18  Juri Linkov  <juri@jurta.org>
5740         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5741         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
5743 2013-12-18  Leo Liu  <sdl.web@gmail.com>
5745         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5746         (Bug#16186)
5748 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
5750         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5751         formats for displaying file sizes when the -s switch is given.
5752         Instead, compute a separate format for displaying the size in
5753         blocks, which is displayed in addition to the "regular" size.
5754         When -h is given in addition to -s, produce size in blocks in
5755         human-readable form as well.  (Bug#16179)
5757 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
5759         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5760         Reference tables with ~\ref{...} instead of only \ref{...}.
5762 2013-12-18  Chong Yidong  <cyd@gnu.org>
5764         * cus-edit.el (custom-magic-alist): Fix "themed" description
5765         (Bug#14348).
5767         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5768         is non-nil, do not create a new entry in the symbol's theme-value
5769         or theme-face property; update theme-settings only (Bug#14664).
5770         (custom-available-themes): Doc fix.
5772         * cus-theme.el (custom-new-theme-mode-map): Add bindings
5773         (Bug#15674).
5775         * replace.el (occur-engine): Avoid infloop (Bug#7593).
5777 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
5779         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5780         (Bug#13914).
5782 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
5784         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5786 2013-12-18  Glenn Morris  <rgm@gnu.org>
5788         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5789         * cus-start.el (load-prefer-newer): New option.
5791 2013-12-18  Le Wang  <l26wang@gmail.com>
5793         * comint.el (comint-previous-matching-input-from-input):
5794         Retain point (Bug#13404).
5796 2013-12-18  Chong Yidong  <cyd@gnu.org>
5798         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5800 2013-12-18  Glenn Morris  <rgm@gnu.org>
5802         * mail/emacsbug.el (report-emacs-bug):
5803         Only mention enable-multibyte-characters if non-standard.
5805 2013-12-17  Juri Linkov  <juri@jurta.org>
5807         * arc-mode.el (archive-extract-by-file): Check if directory exists
5808         before deletion to not show irrelevant errors if it doesn't exist.
5810 2013-12-17  Juri Linkov  <juri@jurta.org>
5812         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5813         (Bug#14751)
5815         * net/eww.el (browse-web): Add alias to `eww'.
5816         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5817         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
5819         * net/browse-url.el (browse-url-browser-function): Move `eww'
5820         closer to similar functions.
5822         * startup.el (fancy-startup-screen, fancy-about-screen):
5823         Set browse-url-browser-function to eww-browse-url locally.
5824         (Bug#14751)
5826 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5828         * window.el (window--pixel-to-total): Remove unused `mini' var.
5829         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5830         (split-window): Remove unused `new' var.
5831         (window--display-buffer): Remove unused `frame' and `delta' vars.
5832         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5833         and display-width'.
5835 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
5837         * dired.el (dired-mark-pop-up):
5838         * register.el (register-preview): Don't bind
5839         split-height-threshold here since it's now done in
5840         display-buffer-below-selected.
5842 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
5844         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5845         xterm-rgb-convert-to-16bit.
5846         (rxvt-register-default-colors): Standardize with
5847         xterm-register-default-colors (Bug#14078).
5849 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
5851         * simple.el (kill-region): Pass mark first, then point, so that
5852         kill-append works right (Bug#12819).
5853         (copy-region-as-kill, kill-ring-save): Likewise.
5855 2013-12-17  Leo Liu  <sdl.web@gmail.com>
5857         * net/rcirc.el (rcirc-add-face):
5858         * eshell/em-prompt.el (eshell-emit-prompt):
5859         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5860         (Bug#16167)
5862 2013-12-17  Chong Yidong  <cyd@gnu.org>
5864         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5865         Suggested by Xue Fuqiao.
5867 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
5869         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5871 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5873         * net/shr.el (shr-insert-document): Remove unused var
5874         `shr-preliminary-table-render'.
5875         (shr-rescale-image): Remove unused arg `force'.
5876         (shr-put-image): Update calls accordingly.
5877         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5879 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
5881         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5882         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5883         :close-all, to see which indentation method to use (Bug#16116).
5884         (smie-rules-function): Document the method :close-all.
5886 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5888         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5890         * net/eww.el (eww-display-html): If we can't find the anchor we're
5891         looking for, then go to point-min.
5893 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
5895         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5896         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5897         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5898         Expand dir too, in case it's relative.
5900 2013-12-16  Juri Linkov  <juri@jurta.org>
5902         * desktop.el (desktop-auto-save-timeout): Change default to
5903         `auto-save-timeout'.  Doc fix.
5904         (desktop-save): Skip the timestamp in desktop-saved-frameset
5905         when checking for auto-save changes.
5906         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5907         `desktop-auto-save' is called repeatedly by the idle timer.
5908         (desktop-auto-save-set-timer): Replace `run-with-timer' with
5909         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
5910         (Bug#15331)
5912 2013-12-16  Juri Linkov  <juri@jurta.org>
5914         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5915         (Bug#16035)
5916         (isearch-pre-command-hook): Check `this-command' for symbolp.
5918 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5920         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5922 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
5924         * progmodes/cfengine.el (cfengine3--current-word): Remove.
5925         (cfengine3--current-function): Bring in the current-function
5926         functionality from `cfengine3--current-word'.
5927         (cfengine3-completion-function): Bring in the
5928         bounds-of-current-word functionality from
5929         `cfengine3--current-word'.
5931 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
5933         * window.el (display-buffer-below-selected):
5934         Bind split-height-threshold to 0 as suggested by Juri Linkov.
5936 2013-12-16  Leo Liu  <sdl.web@gmail.com>
5938         * progmodes/compile.el (compile-goto-error): Do not push-mark.
5939         Remove NOMSG arg and all uses changed.
5941 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5943         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5944         (cua--deactivate-rectangle): Don't deactivate the mark.
5945         (cua-set-rectangle-mark): Don't set mark-active since
5946         cua--activate-rectangle already does it for us.
5947         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5948         non-rectangular region.
5950         * emulation/cua-base.el (cua-repeat-replace-region):
5951         Use with-current-buffer.
5953         * net/gnutls.el: Use cl-lib.
5954         (gnutls-negotiate): `mapcan' -> cl-mapcan.
5956 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
5958         * emacs-lisp/package.el (package-built-in-p): Support both
5959         built-in and the package.el converted package descriptions.
5960         (package-show-package-list): Allow keywords.
5961         (package-keyword-button-action): Use it instead of
5962         `finder-list-matches'.
5963         (package-menu-filter-interactive): Interactive filtering (by
5964         keyword) function.
5965         (package-menu--generate): Support keywords and change keymappings
5966         and headers when they are given.
5967         (package--has-keyword-p): Helper function.
5968         (package-menu--refresh): Use it.
5969         (package--mapc): Helper function.
5970         (package-all-keywords): Use it.
5971         (package-menu-mode-map): Set up menu items and keybindings to
5972         provide a filtering UI.
5974 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
5976         * net/gnutls.el (gnutls-verify-error): New defcustom to control
5977         the behavior when a certificate fails validation.  Defaults to
5978         old behavior: never abort, just warn.
5979         (gnutls-negotiate): Use it.
5981 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
5983         * window.el (display-buffer-below-selected): Never split window
5984         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
5986 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
5988         * emacs-lisp/package.el (package--prepare-dependencies): New function.
5989         (package-buffer-info): Use it (bug#15108).
5991 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5993         * icomplete.el (icomplete-completions): Make sure the prefix is already
5994         displayed elsewhere before hiding it (bug#16219).
5996 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
5998         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5999         open-paren tokens when preceded by a open-paren, too.
6000         (ruby-smie-rules): Handle virtual indentation after open-paren
6001         tokens specially.  If there is code between it and eol, return the
6002         column where is starts (Bug#16118).
6004 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
6006         * progmodes/cfengine.el: Fix `add-hook' doc.
6007         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6008         (cfengine3--current-word): Fix parameters.
6009         (cfengine3-make-syntax-cache): Simplify further.
6010         (cfengine3-completion-function, cfengine3--current-function):
6011         Use `assq' for symbols.
6012         (cfengine3--current-function): Fix `cfengine3--current-word' call.
6014 2013-12-13  Glenn Morris  <rgm@gnu.org>
6016         * loadup.el (load-path): Warn if site-load or site-init changes it.
6017         No more need to reset it when bootstrapping.
6019 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
6021         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6022         locations for cf-promises.
6023         (cfengine-mode-syntax-functions-regex): New caching variable.
6024         (cfengine3-fallback-syntax): Fallback syntax for cases where
6025         cf-promises doesn't run.
6026         (cfengine3--current-word): Reimplement using
6027         `cfengine-mode-syntax-functions-regex'.
6028         (cfengine3-completion-function, cfengine3--current-function):
6029         Use `cfengine3-make-syntax-cache' directly.
6030         (cfengine3-clear-syntax-cache): New function.
6031         (cfengine3-make-syntax-cache): Simplify and create
6032         `cfengine-mode-syntax-functions-regex' on demand.
6033         (cfengine3-format-function-docstring): Don't call
6034         `cfengine3-make-syntax-cache' explicitly.
6036 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
6038         Fix windmove-find-other-window broken after pixelwise resizing
6039         (Bug#16017).
6040         * windmove.el (windmove-other-window-loc): Revert change from
6041         2013-12-04.
6042         (windmove-find-other-window): Call window-in-direction.
6043         * window.el (window-in-direction): New arguments SIGN, WRAP and
6044         MINI to emulate original windmove-find-other-window behavior.
6046 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
6048         * simple.el (blink-matching--overlay): New variable.
6049         (blink-matching-open): Instead of moving point, highlight the
6050         matching paren with an overlay
6051         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6053         * faces.el (paren-showing-faces, show-paren-match)
6054         (show-paren-mismatch): Move from paren.el.
6056 2013-12-13  Leo Liu  <sdl.web@gmail.com>
6058         * indent.el (indent-region): Disable progress reporter in
6059         minibuffer.  (Bug#16108)
6061         * bindings.el (visual-order-cursor-movement): Fix version.
6063 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6065         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6066         Also match after beginning of line.
6067         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6068         files.  Thanks to Russell Sim.  (Bug#15378)
6070 2013-12-13  Juri Linkov  <juri@jurta.org>
6072         * simple.el <Keypad support>: Remove key bindings duplicated
6073         with bindings.el.  (Bug#14397)
6075 2013-12-13  Juri Linkov  <juri@jurta.org>
6077         * comint.el (comint-mode-map): Replace `delete-char' with
6078         `delete-forward-char'.  (Bug#16109)
6080 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6082         * progmodes/python.el (python-indent-calculate-indentation):
6083         Fix de-denters cornercase.  (Bug#15731)
6085 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6087         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6088         (advice--make): Pay attention to `depth'.
6089         (advice--make-1): Don't autoload commands eagerly.
6090         * emacs-lisp/elp.el (elp-instrument-function):
6091         * emacs-lisp/trace.el (trace-function-internal):
6092         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6094         * iswitchb.el (iswitchb-mode): Don't belittle ido.
6096 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
6098         * term/w32-win.el (w32-handle-dropped-file):
6099         * startup.el (normal-top-level):
6100         * net/browse-url.el (browse-url-file-url):
6101         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6102         decode file names using 'utf-8' rather than
6103         file-name-coding-system.
6105 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6107         * progmodes/python.el (python-indent-context)
6108         (python-indent-calculate-indentation): Fix auto-identation
6109         behavior for comment blocks.  (Bug#15916)
6111 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
6113         * progmodes/python.el (python-indent-calculate-indentation):
6114         When determining indentation, don't treat "return", "pass", etc., as
6115         operators when they are just string constituents.  (Bug#15812)
6117 2013-12-12  Juri Linkov  <juri@jurta.org>
6119         * uniquify.el (uniquify-buffer-name-style): Change default to
6120         `post-forward-angle-brackets'.
6122         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6123         `uniquify'.  Change default to `post-forward-angle-brackets'.
6125 2013-12-11  Glenn Morris  <rgm@gnu.org>
6127         * emacs-lisp/package.el (finder-list-matches):
6128         Autoload rather than falsely declaring.
6130 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
6132         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6133         (eww-mode-map): Use them.
6135 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
6137         * window.el (display-buffer-in-side-window): Fix doc-string
6138         (Bug#16115).
6140 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
6142         * vc/vc-git.el: Silence byte-compiler warnings.
6143         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6144         (log-edit-set-header): Declare.
6146 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
6148         * Makefile.in (custom-deps, finder-data): Run output file names
6149         through unmsys--file-name.  (Bug#16099)
6151 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6153         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6154         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6156         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6157         instead of deleting the selection "by hand" (bug#16098).
6158         Rely on insert-for-yank to yank rectangles.
6159         (cua-highlight-region-shift-only): Mark obsolete.
6160         (cua-mode): Don't enable/disable transient-mark-mode,
6161         shift-select-mode (cua-mode works both with and without them), and
6162         pc-selection-mode (obsolete).
6163         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6164         (cua--deactivate-rectangle): Deactivate it.
6166         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6167         (delete-selection-helper): Make sure yank starts at the top of the
6168         deleted region.
6169         (minibuffer-keyboard-quit): Use region-active-p.
6171         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6173         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6174         to `delete' (bug#16109).
6176 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6178         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6179         info manual and show keybindings and set `:group' keyword.
6181 2013-12-11  Juri Linkov  <juri@jurta.org>
6183         * delsel.el (delete-active-region): Let-bind `this-command'
6184         to prevent `kill-region' from changing its original value.
6185         (delete-selection-helper): Handle `overwrite-mode' for the type
6186         `kill' exactly the same way as for the type `t'.
6187         (insert-char, quoted-insert, reindent-then-newline-and-indent):
6188         Support more commands.  (Bug#13312)
6190 2013-12-11  Juri Linkov  <juri@jurta.org>
6192         * bindings.el: Map kp keys to non-kp keys systematically
6193         with basic modifiers control, meta and shift.  (Bug#14397)
6195 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6197         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6198         "Close browser" menu items.  Fix wrong function of "List
6199         bookmarks".
6201 2013-12-11  Juri Linkov  <juri@jurta.org>
6203         * misearch.el (multi-isearch-buffers): Set the value of
6204         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
6205         arg of isearch-forward to t.
6206         (multi-isearch-buffers-regexp): Set the value of
6207         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
6208         arg of isearch-forward-regexp to t.
6209         (multi-isearch-files): Set the value of
6210         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
6211         arg of isearch-forward to t.
6212         (multi-isearch-files-regexp): Set the value of
6213         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
6214         arg of isearch-forward-regexp to t.  (Bug#16035)
6216         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6217         arg of isearch-forward to t.
6218         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6219         arg of isearch-forward-regexp to t.
6220         (dired-isearch-filter-filenames): Remove unnecessary check for
6221         `dired-isearch-filenames'.
6223         * comint.el (comint-history-isearch-backward):
6224         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6225         (comint-history-isearch-backward-regexp):
6226         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6228 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
6230         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6231         unmsys--file-name.  (Bug#16099)
6233 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
6235         * emacs-lisp/package.el (package-keyword-button-action):
6236         Remove finder.el require dependency.
6238 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
6240         * emacs-lisp/package.el: Require finder.el.
6241         (describe-package-1): Add keyword buttons.
6242         (package-make-button): New convenience function.
6243         (package-keyword-button-action): Keyword button action using
6244         `finder-list-matches'.
6246 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
6248         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6249         last commit.
6251 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
6253         * autorevert.el (auto-revert-notify-add-watch): Do not handle
6254         symlinked files.
6256 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
6258         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6259         after the end of a percent literal.
6261 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
6263         * progmodes/ruby-mode.el (ruby-forward-string): Document.
6264         Handle caret-delimited strings (Bug#16079).
6266 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
6268         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6269         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6270         `ruby-parse-partial' (Bug#16078).
6272 2013-12-09  Leo Liu  <sdl.web@gmail.com>
6274         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
6276 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
6278         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6279         (js-switch-indent-offset): New option.
6280         (js--proper-indentation): Use it.  And handle the case when
6281         "default" is actually a key in an object literal.
6282         (js--same-line): New function.
6283         (js--multi-line-declaration-indentation): Use it.
6284         (js--indent-in-array-comp, js--array-comp-indentation):
6285         New functions.
6286         (js--proper-indentation): Use them, to handle array comprehension
6287         continuations.
6289 2013-12-08  Leo Liu  <sdl.web@gmail.com>
6291         * progmodes/flymake.el (flymake-highlight-line): Re-write.
6292         (flymake-make-overlay): Remove arg MOUSE-FACE.
6293         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6295 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6297         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6298         New function.
6299         (redisplay-highlight-region-function): Use it.
6301         * emulation/cua-base.el (cua--explicit-region-start)
6302         (cua--last-region-shifted): Remove.
6303         (cua--deactivate): Use deactivate-mark.
6304         (cua--pre-command-handler-1): Don't handle shift-selection.
6305         (cua--post-command-handler-1): Don't change transient-mark-mode.
6306         (cua--select-keymaps): Use region-active-p rather than
6307         cua--explicit-region-start or cua--last-region-shifted.
6308         (cua-mode): Enable shift-select-mode.
6310 2013-12-08  Leo Liu  <sdl.web@gmail.com>
6312         * progmodes/flymake.el (flymake-popup-current-error-menu):
6313         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
6314         (flymake-posn-at-point-as-event, flymake-popup-menu)
6315         (flymake-make-emacs-menu): Remove.  (Bug#16077)
6317 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6319         * rect.el (rectangle-mark-mode): Activate mark even if
6320         transient-mark-mode is off (bug#16066).
6321         (rectangle--highlight-for-redisplay): Fix boundary condition when point
6322         is > mark and at bolp.
6324         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6325         (region-extract-function): Use it.
6326         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6327         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6328         Delete functions.
6329         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6330         kill-ring-save, kill-region, delete-char, delete-forward-char.
6331         Ignore self-insert-iso.
6333         * emulation/cua-gmrk.el (cua--init-global-mark):
6334         Ignore `self-insert-iso'.
6336         * emulation/cua-base.el (cua--prefix-copy-handler)
6337         (cua--prefix-cut-handler): Rely on region-extract-function rather than
6338         checking cua--rectangle.
6339         (cua-delete-region): Use region-extract-function.
6340         (cua-replace-region): Delete function.
6341         (cua-copy-region, cua-cut-region): Obey region-extract-function.
6342         (cua--pre-command-handler-1): Don't do the delete-selection thing.
6343         (cua--self-insert-char-p): Ignore `self-insert-iso'.
6344         (cua--init-keymaps): Don't remap delete-selection commands.
6345         (cua-mode): Use delete-selection-mode instead of rolling our own
6346         (bug#16085).
6348         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6349         Obey region-extract-function.
6351         Make registers and delete-selection-mode work on rectangles.
6352         * register.el (describe-register-1): Don't modify the register's value.
6353         (copy-to-register): Obey region-extract-function.
6354         * delsel.el (delete-active-region): Obey region-extract-function.
6356 2013-12-08  Leo Liu  <sdl.web@gmail.com>
6358         * progmodes/flymake.el (flymake, flymake-error-bitmap)
6359         (flymake-warning-bitmap, flymake-fringe-indicator-position)
6360         (flymake-compilation-prevents-syntax-check)
6361         (flymake-start-syntax-check-on-newline)
6362         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6363         (flymake-start-syntax-check-on-find-file, flymake-log-level)
6364         (flymake-xml-program, flymake-master-file-dirs)
6365         (flymake-master-file-count-limit)
6366         (flymake-allowed-file-name-masks): Relocate.
6367         (flymake-makehash, flymake-float-time)
6368         (flymake-replace-regexp-in-string, flymake-split-string)
6369         (flymake-get-temp-dir): Remove.
6370         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6371         (flymake-current-row, flymake-selected-frame)
6372         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6373         related functions.  (Bug#16077)
6375 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
6377         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6379 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
6381         * help-fns.el (describe-function-1): Use new advice-* functions
6382         rather than old ad-* functions.  Fix function type description and
6383         source links for advised functions and subrs.
6385 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6387         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6389 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
6391         * progmodes/compile.el (compilation-start):
6392         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6394         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6395         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
6397 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
6399         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6400         Touch up the last change.
6402 2013-12-06  Leo Liu  <sdl.web@gmail.com>
6404         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6405         (inferior-octave-startup): Always use "octave> " for prompt.
6406         (octave-goto-function-definition)
6407         (octave-sync-function-file-names)
6408         (octave-find-definition-default-filename): Remove redundant backquotes.
6410 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
6412         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6413         syntax for `?'.
6414         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6415         where appropriate already.
6416         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6417         end of method names (Bug#15874).
6419 2013-12-06  Juri Linkov  <juri@jurta.org>
6421         * isearch.el (isearch--saved-overriding-local-map):
6422         New internal variable.
6423         (isearch-mode): Set it to the initial value of
6424         `overriding-terminal-local-map'.
6425         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6426         with `isearch--saved-overriding-local-map'.  (Bug#16035)
6428 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
6430         * progmodes/octave.el (inferior-octave-completion-table):
6431         Turn back into function, use `completion-table-with-cache'
6432         (Bug#11906).  Update all references.
6434         * minibuffer.el (completion-table-with-cache): New function.
6436 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
6438         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6440 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
6442         * net/eww.el (eww-current-source): New variable to store page
6443         source.
6444         (eww-display-html, eww-mode, eww-save-history)
6445         (eww-restore-history): Use it.
6446         (eww-view-source): New command to view page source.
6447         Opportunistically uses `html-mode' to highlight the buffer.
6448         (eww-mode-map): Install it.
6450 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
6452         * net/dbus.el (dbus-unregister-service)
6453         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6454         Fix docstring.
6455         (dbus-unregister-service): Skip :serial entries in
6456         `dbus-registered-objects-table'.
6457         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6459 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
6461         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6462         around keywords with extra `split-string' argument.
6464 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
6466         * windmove.el (windmove-other-window-loc): Handle navigation
6467         between windows (excluding the minibuffer window - Bug#16017).
6469 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
6471         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6472         in D-Bus type syntax.
6473         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6474         preserve unibyte strings.  (Bug#16048)
6476 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6478         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6479         Call force-mode-line-update is the proper buffer (bug#16042).
6481 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
6483         * vc/log-edit.el (log-edit-add-new-comment): Rename to
6484         `log-edit-remember-comment', make argument optional.  Adjust all
6485         callers.
6486         (log-edit-mode): Add `log-edit-remember-comment' to
6487         `kill-buffer-hook' locally.
6488         (log-edit-kill-buffer): Don't remember comment explicitly since
6489         the buffer is killed anyway.
6491 2013-12-04  Juri Linkov  <juri@jurta.org>
6493         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6494         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
6496 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
6498         * notifications.el (notifications-close-notification): Call the
6499         D-Bus method with ID being a `:uint32'.  (Bug#16030)
6501 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
6503         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6505 2013-12-03  Juri Linkov  <juri@jurta.org>
6507         * progmodes/compile.el (compilation-start): Rename window alist
6508         entry `no-display-ok' to `allow-no-window'.
6510         * simple.el (shell-command): Add window alist entry
6511         `allow-no-window' to `display-buffer'.
6512         (async-shell-command): Doc fix.
6514         * window.el (display-buffer-no-window): New action function.
6515         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
6517 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
6519         * vc/log-edit.el (log-edit-set-header): Extract from
6520         `log-edit-toggle-header'.
6521         (log-edit-extract-headers): Separate the summary, when extracted
6522         from header, from the rest of the message with an empty line.
6524         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6525         line, if present, to the Summary header.
6527 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6529         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6530         in current-buffer (bug#16029).
6532 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
6534         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6535         (debugger-mode-map): Bind it.
6536         (debugger--backtrace-base): New function.
6537         (debugger-eval-expression): Use it.
6538         (debugger-frame-number): Skip local vars when present.
6539         (debugger--locals-visible-p, debugger--insert-locals)
6540         (debugger--show-locals, debugger--hide-locals): New functions.
6542 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
6544         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6545         "LC_ALL".
6546         (tramp-get-remote-locale): New defun.
6547         (tramp-open-connection-setup-interactive-shell): Use it.
6549 2013-12-02  Leo Liu  <sdl.web@gmail.com>
6551         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
6553         * progmodes/sh-script.el (sh-shell-process):
6554         * progmodes/octave.el (inferior-octave-process-live-p):
6555         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6556         (gdb-inferior-io-sentinel):
6557         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6559 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
6561         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6562         `save-selected-window' to `log-edit-hide-buf'.  This makes
6563         `log-edit-show-files' idempotent.
6564         (log-edit-show-files): Mark the new window as dedicated.
6566 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
6568         * vc/log-edit.el (log-edit-mode-map): Add binding for
6569         `log-edit-kill-biffer'.
6570         (log-edit-hide-buf): Add a FIXME comment.
6571         (log-edit-add-new-comment): New function, extracted from
6572         `log-edit-done'.
6573         (log-edit-done, log-edit-add-to-changelog): Use it.
6574         (log-edit-kill-buffer): New command.
6576 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6578         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6579         instead of killing the buffer.
6581 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6583         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6585 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6587         * net/eww.el (eww-form-checkbox-selected-symbol)
6588         (eww-form-checkbox-symbol): New customizable variable.
6589         (eww-form-checkbox, eww-toggle-checkbox):
6590         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6592         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6593         (shr--get-media-pref, shr--extract-best-source): New function.
6594         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6595         no :src tag was specified.
6597         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6598         (eww-render): Handle `eww-use-external-browser-for-content-type'.
6599         Use \\` to match beginning of string instead of ^.
6600         (eww-browse-with-external-browser): Provide optional URL parameter.
6601         (eww-render): Set `eww-current-title' back to "".
6603         * net/shr.el (shr-tag-video): Display content for video if no
6604         poster is available.
6605         (shr-tag-audio): Add support for <audio> tag.
6607         * net/eww.el (eww-text-input-types): New const.
6608         (eww-process-text-input): Treat input types in
6609         `eww-text-input-types' as text.
6611         * net/shr.el (shr-tag-table): Fix comment typo.
6613 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6615         * net/eww.el (eww-follow-link): New command to avoid reloading
6616         pages when we follow #target links (bug#15243).
6617         (eww-quit): Special mode buffers shouldn't query before exiting.
6619 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6621         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6622         forms.
6624 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6626         * net/eww.el (eww-restore-history): Update the window title after
6627         moving in the history.
6628         (eww-current-dom): New variable used to save the current DOM.
6630 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
6632         * vc/log-edit.el (log-edit-mode-map): Add binding for
6633         `log-edit-beginning-of-line'.
6634         (log-edit-setup-add-author): New user option.
6635         (log-edit-beginning-of-line): New command.
6636         (log-edit): Move major mode call above the contents setup so that
6637         the local variable values are already applied.
6638         (log-edit): Only insert "Author: " when
6639         `log-edit-setup-add-author' is non-nil.
6640         (log-edit): When SETUP is non-nil, position point after ": "
6641         instead of point-min.
6643 2013-12-01  Glenn Morris  <rgm@gnu.org>
6645         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6647 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
6649         * startup.el (fancy-splash-frame): On MS-Windows, trigger
6650         redisplay to make sure the initial frame gets a chance to become
6651         visible.  (Bug#16014)
6653 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
6655         Support resizing frames and windows pixelwise.
6656         * cus-start.el (frame-resize-pixelwise)
6657         (window-resize-pixelwise): New entries.
6658         * emacs-lisp/debug.el (debug): Use window-total-height instead
6659         of window-total-size.
6660         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6661         * help.el (describe-bindings-internal): Use help-buffer as
6662         argument for with-help-window.
6663         (temp-buffer-max-width): New option.
6664         (resize-temp-buffer-window, help-window-setup)
6665         (with-help-window): Rewrite.
6666         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
6667         dragging dividers.
6668         * window.el (frame-char-size, window-min-pixel-height)
6669         (window-safe-min-pixel-height, window-safe-min-pixel-width)
6670         (window-min-pixel-width, window-safe-min-pixel-size)
6671         (window-combination-p, window-safe-min-size)
6672         (window-resizable-p, window--size-to-pixel)
6673         (window--pixel-to-size, window--resize-apply-p): New functions.
6674         (window-safe-min-height): Fix doc-string.
6675         (window-size, window-min-size, window--min-size-1)
6676         (window-sizable, window-sizable-p, window--min-delta-1)
6677         (window-min-delta, window--max-delta-1, window-max-delta)
6678         (window--resizable, window--resizable-p, window-resizable)
6679         (window-full-height-p, window-full-width-p, window-at-side-p)
6680         (window--in-direction-2, window-in-direction)
6681         (window--resize-reset-1, window--resize-mini-window)
6682         (window-resize, window-resize-no-error)
6683         (window--resize-child-windows-normal)
6684         (window--resize-child-windows, window--resize-siblings)
6685         (window--resize-this-window, window--resize-root-window)
6686         (window--resize-root-window-vertically)
6687         (adjust-window-trailing-edge, enlarge-window, shrink-window)
6688         (maximize-window, minimize-window, delete-window)
6689         (quit-restore-window, window-split-min-size, split-window)
6690         (balance-windows-2, balance-windows)
6691         (balance-windows-area-adjust, balance-windows-area)
6692         (window--state-get-1, window-state-get, window--state-put-1)
6693         (window--state-put-2, window-state-put)
6694         (display-buffer-record-window, window--display-buffer):
6695         Make functions handle pixelwise sizing of windows.
6696         (display-buffer--action-function-custom-type)
6697         (display-buffer-fallback-action):
6698         Add display-buffer-in-previous-window.
6699         (display-buffer-use-some-window): Resize window to height it had
6700         before.
6701         (fit-window-to-buffer-horizontally): New option.
6702         (fit-frame-to-buffer): Describe new values.
6703         (fit-frame-to-buffer-bottom-margin): Replace with
6704         fit-frame-to-buffer-margins.
6705         (window--sanitize-margin): New function.
6706         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6707         using window-text-pixel-size.
6709 2013-11-30  Glenn Morris  <rgm@gnu.org>
6711         * emacs-lisp/bytecomp.el (byte-compile-form):
6712         Make the `interactive-only' warning like the `obsolete' one.
6713         * comint.el (comint-run):
6714         * files.el (insert-file-literally, insert-file):
6715         * replace.el (replace-string, replace-regexp):
6716         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6717         (goto-line, insert-buffer, next-line, previous-line):
6718         Tweak `interactive-only' spec.
6720         Stop keeping (most) generated cedet grammar files in the repository.
6721         * Makefile.in (semantic): New.
6722         (compile-main): Depend on semantic.
6724 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6726         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6727         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6729         * uniquify.el (uniquify-buffer-name-style): Change default.
6731         * loadup.el: Preload "uniquify".
6733         * time.el (display-time-update): Update all mode lines (bug#15999).
6735         * electric.el (electric-indent-mode): Enable by default.
6736         * loadup.el: Preload "electric".
6738 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
6740         * emacs-lisp/helpers.el (string-empty-p): New function.
6741         (string-blank-p): New function.
6743 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
6745         * imenu.el (imenu--index-alist): Add missing dot to the docstring
6746         (Bug#14029).
6748 2013-11-29  Andreas Politz  <politza@fh-trier.de>
6749         * imenu.el (imenu--subalist-p): Don't error on non-conses and
6750         allow non-lambda lists as functions.
6751         (imenu--in-alist): Don't recurse into non-subalists.
6752         (imenu): Don't pass function itself as an argument (Bug#14029).
6754 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6756         * progmodes/python.el (python-mode-map): Remove binding for ":".
6757         (python-indent-electric-colon): Remove command.
6758         (python-indent-post-self-insert-function): Integrate the previous code
6759         of python-indent-electric-colon.  Make it conditional on
6760         electric-indent-mode.
6761         (python-mode): Add ?: to electric-indent-chars.
6762         Move python-indent-post-self-insert-function to the end of
6763         post-self-insert-hook.
6765 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6767         * doc-view.el (doc-view-goto-page): Update mode-line.
6769         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6771 2013-11-27  Glenn Morris  <rgm@gnu.org>
6773         * international/charprop.el, international/uni-bidi.el:
6774         * international/uni-category.el, international/uni-combining.el:
6775         * international/uni-comment.el, international/uni-decimal.el:
6776         * international/uni-decomposition.el, international/uni-digit.el:
6777         * international/uni-lowercase.el, international/uni-mirrored.el:
6778         * international/uni-name.el, international/uni-numeric.el:
6779         * international/uni-old-name.el, international/uni-titlecase.el:
6780         * international/uni-uppercase.el:
6781         Remove generated files from VCS repository.
6783 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
6785         * filenotify.el (file-notify-add-watch): Don't special-case
6786         w32notify when computing the directory to watch.
6788 2013-11-27  Glenn Morris  <rgm@gnu.org>
6790         Make bootstrap without generated uni-*.el files possible again.
6791         * loadup.el: Update command-line-args checking for unidata-gen.
6792         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6793         * composite.el, international/characters.el:
6794         Handle unicode tables being undefined.
6796         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6797         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6798         (compile-main): Depend on leim rule.
6799         (leim): New rule.
6800         * loadup.el: Move leim-list.el to leim/ subdirectory.
6801         * startup.el (normal-top-level): No more leim directory.
6802         * international/ja-dic-cnv.el (skkdic-convert):
6803         Disable version-control and autoloads in output files.
6804         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6805         Disable version-control and autoloads in output files.
6806         * leim/quail: Move here from ../leim.
6807         * leim/quail/hangul.el (hangul-input-method-activate):
6808         Add autoload cookie.
6809         (generated-autoload-load-name): Set file-local value.
6810         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6811         (generated-autoload-load-name): Set file-local value.
6813 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
6815         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6816         (eww-add-bookmark): Ask confirmation when add to bookmarks.
6817         (eww-quit): Ask confirmation before quitting eww.
6819 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
6821         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6822         reading output from Diff on MS-Windows and MS-DOS.
6824 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
6826         * emacs-lisp/helpers.el (string-reverse): New function.
6828 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
6830         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6831         names on MS Windows, like "/[::1]:".
6833         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6834         SWITCHES.
6836 2013-11-26  Glenn Morris  <rgm@gnu.org>
6838         * progmodes/python.el (python-indent-guess-indent-offset):
6839         Avoid corner-case error.  (Bug#15975)
6841         Preload leim-list.el.  (Bug#4789)
6842         * loadup.el: Load leim-list.el when found.
6843         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6845 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
6847         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6849         * emacs-lisp/helpers.el (string-join): New function.
6851 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
6853         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6854         Mark as obsolete and replace it with a symbol property.
6855         (byte-compile-form): Use new 'interactive-only property.
6856         * comint.el, files.el, replace.el, simple.el:
6857         Apply new 'interactive-only properly.
6859 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
6861         * window.el (display-buffer-at-bottom): Make sure that
6862         split-window-sensibly creates the new window on bottom
6863         (Bug#15961).
6865 2013-11-23  David Kastrup  <dak@gnu.org>
6867         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6868         on the conflict markers when available.
6869         (smerge--get-marker): New function.
6870         (smerge-end-re, smerge-base-re): Add subgroup.
6872 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6874         * frame.el (handle-focus-in, handle-focus-out): Add missing
6875         interactive spec.
6877 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
6879         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6880         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6882 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6884         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
6885         (gomoku--last-pos): New var.
6886         (gomoku--intangible-chars): New const.
6887         (gomoku--intangible): New function.
6888         (gomoku-mode): Use it.  Derive from special-mode.
6889         (gomoku-move-up): Adjust line count.
6890         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6891         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6892         Simplify accordingly.
6894         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6895         Remove blink-cursor code.
6896         (blink-cursor-timer-function, blink-cursor-suspend):
6897         Don't special-case GUIs.
6898         (blink-cursor-mode): Use focus-in/out-hook.
6900 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
6902         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6903         work when annotation is invisible (Bug#13886).
6905 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
6907         * json.el (json-alist-p): Only return non-nil if the alist has
6908         simple keys (Bug#13518).
6910 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
6912         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6913         when control-statement is the first statement in a buffer (Bug#15956).
6915 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
6917         * imenu.el (imenu-generic-skip-comments-and-strings):
6918         New option (Bug#15560).
6919         (imenu--generic-function): Use it.
6921 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
6923         * minibuffer.el (completion--in-region-1): Scroll the correct window.
6924         (Bug#13898)
6926 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
6928         * emacs-lisp/helpers.el: Add some string helpers.
6929         (string-trim-left): Removes leading whitespace.
6930         (string-trim-right): Removes trailing whitespace.
6931         (string-trim): Removes leading and trailing whitespace.
6933         * subr.el (string-suffix-p): New function.
6935 2013-11-23  Glenn Morris  <rgm@gnu.org>
6937         * progmodes/python.el (python-shell-send-file):
6938         Add option to delete file when done.  (Bug#15647)
6939         (python-shell-send-string, python-shell-send-region): Use it.
6941 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
6943         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6944         to set buffer-read-only to t, never to nil.  (Bug#15938)
6946         * textmodes/tex-mode.el (latex-noindent-environments):
6947         Add safe-local-variable property.  (Bug#15936)
6949 2013-11-23  Glenn Morris  <rgm@gnu.org>
6951         * textmodes/enriched.el (enriched-mode): Doc fix.
6952         * emacs-lisp/authors.el (authors-renamed-files-alist):
6953         Add enriched.doc -> enriched.txt.
6955         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6957 2013-11-22  Leo Liu  <sdl.web@gmail.com>
6959         * progmodes/octave.el (inferior-octave-startup): Spit out error
6960         message.
6962 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
6964         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6965         Improve docstring.
6966         Add :version.
6967         (ruby-encoding-magic-comment-style): Add :version.
6969 2013-11-22  Leo Liu  <sdl.web@gmail.com>
6971         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6972         (Bug#15076)
6973         (octave-help-mode): Adapt to change to help-mode-finish to use
6974         derived-mode-p on 2013-09-17.
6975         (inferior-octave-prompt): Also match octave-gui.
6976         (octave-kill-process): Don't ask twice.  (Bug#10564)
6978 2013-11-22  Leo Liu  <sdl.web@gmail.com>
6980         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6981         (inferior-octave-startup, inferior-octave-check-process)
6982         (inferior-octave-track-window-width-change)
6983         (octave-completion-at-point, octave-eldoc-function): Use it.
6984         (octave-kill-process): Provide confirmation.  (Bug#10564)
6986 2013-11-21  Leo Liu  <sdl.web@gmail.com>
6988         * progmodes/octave.el (octave-mode, inferior-octave-mode):
6989         Fix obsolete variable comment-use-global-state.
6991 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6993         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6994         Add `octave-source-file'.
6995         (octave-source-file): New function.  (Bug#15935)
6997 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
6999         * net/eww.el (eww-local-regex): New variable.
7000         (eww): Use it to detect localhost and similar.
7002 2013-11-21  Leo Liu  <sdl.web@gmail.com>
7004         Add completion for command `ag'.
7005         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7006         (pcomplete/ag): New function.
7007         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
7009 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7011         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7012         (bug#14646).
7013         (make-obsolete): Remove interactive spec.
7015 2013-11-21  Glenn Morris  <rgm@gnu.org>
7017         * startup.el (command-line-1): Use path-separator with -L.
7019 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
7021         * emacs-lisp/package.el (describe-package-1): Add package archive
7022         to shown fields.
7024 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
7026         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7027         Change default to "# encoding: %s" to differentiate it from the
7028         default Ruby encoding comment template.
7030 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
7032         * ses.el (ses-mode): Doc fix.  (Bug#14748)
7034 2013-11-20  Leo Liu  <sdl.web@gmail.com>
7036         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
7038 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
7040         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7041         when rebase or bisect are in progress.
7043 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
7045         * filenotify.el (file-notify-add-watch): Doc fix.
7047 2013-11-19  Leo Liu  <sdl.web@gmail.com>
7049         * obsolete/rcompile.el: Mark obsolete.
7051         * progmodes/compile.el (compilation-start)
7052         (compilation-goto-locus, compilation-find-file):
7053         Pass no-display-ok and handle nil value from display-buffer.
7054         (Bug#13594)
7056         * window.el (display-buffer-alist, display-buffer): Document the
7057         new parameter no-display-ok.  Return either a window or nil
7058         but never a non-window value.
7060 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7062         * electric.el (electric-indent-mode-map): Remove.
7063         (electric-indent-mode): Change the global-map instead (bug#15915).
7065         * textmodes/text-mode.el (paragraph-indent-minor-mode):
7066         Use add-function.
7068 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7070         * emacs-lisp/nadvice.el (remove-function): Align with
7071         add-function's behavior.
7073         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7074         (gdb--string-regexp): New constant.
7075         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7076         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7077         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7078         submatch 1.
7079         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7080         Adjust use accordingly.
7081         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7083 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
7085         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7086         interpolation curlies (Bug#15914).
7088 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
7090         * calc/calc.el (calc-context-sensitive-enter): New variable.
7091         (calc-enter): Use `calc-context-sensitive-enter'.
7093 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
7095         * progmodes/cfengine.el: Version bump.
7096         (cfengine-cf-promises): New defcustom to locate cf-promises.
7097         (cfengine3-vartypes): Add new "data" type.
7098         (cfengine3--current-word): New function to get current name-like
7099         word or its bounds.
7100         (cfengine3--current-function): New function to look up a CFEngine
7101         function's definition.
7102         (cfengine3-format-function-docstring): New function.
7103         (cfengine3-make-syntax-cache): New function.
7104         (cfengine3-documentation-function): New function: ElDoc glue.
7105         (cfengine3-completion-function): New function: completion glue.
7106         (cfengine3-mode): Set `compile-command',
7107         `eldoc-documentation-function', and add to
7108         `completion-at-point-functions'.
7110 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
7112         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7113         `tramp-current-connection'.
7115 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
7117         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7118         nil/self/true/false with "end of symbol".
7120 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
7122         * subr.el (version-regexp-alist): Fix a typo.
7124 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
7126         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7127         "en_US.utf8" and "LC_CTYPE" to "".
7128         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7129         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7131 2013-11-15  Leo Liu  <sdl.web@gmail.com>
7133         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
7135 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7137         * progmodes/gud.el (ctl-x-map):
7138         Remove C-x SPC binding.  (Bug#12342)
7139         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7141 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
7143         * subr.el (version-regexp-alist):
7144         Recognize hg, svn and darcs versions as snapshot versions.
7146         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7147         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7148         (ruby--encoding-comment-required-p): Extract from
7149         `ruby-mode-set-encoding'.
7150         (ruby-mode-set-encoding): Add the ability to always insert an
7151         utf-8 encoding comment.  Fix and simplify coding comment update
7152         logic.
7154 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
7156         * net/tramp-gvfs.el (top): Run init code only when
7157         `tramp-gvfs-enabled' is not nil.
7158         (tramp-gvfs-enabled): Check also :system bus.
7160 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7162         Sync with upstream verilog-mode revision 78e66ba.
7163         * progmodes/verilog-mode.el (verilog-end-of-defun)
7164         (verilog-type-completion, verilog-get-list): Remove unused funcs.
7165         (verilog-get-end-of-defun): Remove unused argument.
7166         (verilog-comment-depth): Remove unused local `e'.
7167         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7168         Don't pass arg to verilog-get-end-of-defun.
7170 2013-11-14  Glenn Morris  <rgm@gnu.org>
7172         * obsolete/assoc.el (aget): Prefix dynamic variable.
7174         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7176 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7178         * widget.el, hfy-cmap.el: Remove bogus package version number.
7180 2013-11-13  Glenn Morris  <rgm@gnu.org>
7182         * replace.el (replace-eval-replacement):
7183         Try to give more helpful error message.  (Bug#15836)
7185         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7186         (archive-7z-update): Avoid custom type mismatches.
7188         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7190 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
7192         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7193         address can be empty.
7195         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7196         Accept nil SWITCHES.
7197         (tramp-gvfs-handle-write-region): Implement APPEND.
7199 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
7201         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7202         binary "|" operator and closing block args delimiter.
7203         Remove FIXME comment referring to Ruby 1.8-only syntax.
7204         (ruby-smie--implicit-semi-p): Not after "|" operator.
7205         (ruby-smie--closing-pipe-p): New function.
7206         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7207         (ruby-smie-rules): Indent after "|".
7209 2013-11-12  Glenn Morris  <rgm@gnu.org>
7211         * ps-print.el (ps-face-attribute-list):
7212         Handle anonymous faces.  (Bug#15827)
7214 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
7216         * window.el (display-buffer-other-frame): Fix doc-string.
7217         (Bug#15868)
7219 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7221         * subr.el (force-mode-line-update): Delete, move to buffer.c.
7223 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
7225         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7226         (tramp-sh-handle-file-local-copy): Don't write a message when
7227         saving temporary files.
7229         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7230         both directories are remote.
7231         (tramp-smb-handle-directory-files): Do not return double entries.
7232         Do not expand full file names.
7233         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7234         (tramp-smb-handle-write-region): Implement APPEND.
7235         (tramp-smb-get-stat-capability): Fix a stupid bug.
7237 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7239         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7241 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7243         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7244         throwing error over malformed let/let* (bug#15814).
7246 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7248         * iswitchb.el (iswitchb-mode): Mark obsolete.
7250 2013-11-11  Glenn Morris  <rgm@gnu.org>
7252         * international/uni-bidi.el, international/uni-category.el:
7253         * international/uni-name.el, international/uni-numeric.el:
7254         Regenerate for Unicode 6.3.0.
7256 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
7258         * net/tramp.el (tramp-methods):
7259         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7260         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7262 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
7264         * progmodes/sh-script.el (sh-font-lock-keywords-var):
7265         Force highlighting text after Summary keyword in doc face for rpm.
7267 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
7269         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7270         available and the word has no wildcards, append one to the grep pattern.
7271         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7272         (ispell-complete-word): Call `ispell-lookup-words' with the value
7273         independent of `ispell-look-p'.
7275 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
7277         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7278         Not after "||".
7279         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7280         their parent.
7282 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7284         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
7285         (ruby-font-lock-keywords): Use backquote.
7287 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
7289         * progmodes/ruby-mode.el (ruby-smie--forward-token)
7290         (ruby-smie--backward-token): Only consider full-string matches.
7292 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
7294         * faces.el (describe-face): Add distant-foreground.
7296 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
7298         * progmodes/ruby-mode.el: Improve encoding comment handling.
7299         (ruby-encoding-magic-comment-style): New option.
7300         (ruby-custom-encoding-magic-comment-template): New option.
7301         (ruby--insert-coding-comment, ruby--detect-encoding):
7302         New functions extracted from `ruby-mode-set-encoding'.
7303         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7304         to control the style of the auto-inserted encoding comment.
7306 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
7308         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7309         Use `smie-backward-sexp' with token argument.
7311 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
7313         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7314         Remove instrumentation code.
7316 2013-11-08  Glenn Morris  <rgm@gnu.org>
7318         * progmodes/autoconf.el (autoconf-mode):
7319         Tweak comment-start-skip.  (Bug#15822)
7321 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7323         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7324         at bobp (bug#15826).
7325         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7327 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
7329         * man.el (Man-start-calling): New macro, extracted from
7330         Man-getpage-in-background.
7331         (Man-getpage-in-background): Use it.
7332         (Man-update-manpage): New command.
7333         (Man-mode-map): Bind it.
7335 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
7337         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7338         of "and", "or", "&&" and "||".
7339         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7340         argument.  Prohibit opening curly brace because it could only be a
7341         block opener in that position.
7342         (ruby-smie--forward-token, ruby-smie--backward-token):
7343         Separate "|" from "&" or "*" going after it.  That can happen in block
7344         arguments.
7345         (ruby-smie--indent-to-stmt): New function, seeks the end of
7346         previous statement or beginning of buffer.
7347         (ruby-smie-rules): Use it.
7348         (ruby-smie-rules): Check if there's a ":" before a curly block
7349         opener candidate; if there is, it's a hash.
7351 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7353         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7354         (cl--block-wrapper): Fix last accidental change.
7356 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
7358         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7359         Instrument, in order to hunt failure on hydra.
7361 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7363         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7364         malformed bindings form (bug#15814).
7366 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
7368         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7369         "." compared to " @ ".  This incidentally fixes some indentation
7370         examples with "do".
7371         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7372         (ruby-smie-grammar): New tokens: "and" and "or".
7373         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7374         Exclude "and" and "or".  Remove "do" in order to work around token
7375         priorities.
7376         (ruby-smie-rules): Add all infix tokens.  Handle the case of
7377         beginning-of-buffer.
7379 2013-11-06  Glenn Morris  <rgm@gnu.org>
7381         * Makefile.in (setwins_almost, setwins_for_subdirs):
7382         Avoid accidental matches.
7384 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7386         * menu-bar.el (popup-menu): Use key-binding.
7388 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
7390         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7391         menus, support also the menus produced by minor modes.
7392         (Bug#15817)
7394 2013-11-06  Leo Liu  <sdl.web@gmail.com>
7396         * thingatpt.el (thing-at-point-looking-at): Add optional arg
7397         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
7399 2013-11-06  Glenn Morris  <rgm@gnu.org>
7401         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7402         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7403         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7405 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7407         * electric.el (electric-indent-just-newline): New command.
7408         (electric-indent-mode-map): New keymap.
7409         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7410         Re-add :group which weren't redundant.
7412         * electric.el (electric-indent-local-mode): New minor mode.
7413         (electric-indent-functions-without-reindent): New var.
7414         (electric-indent-post-self-insert-function): Use it.
7415         * emacs-lisp/gv.el (buffer-local-value): Add setter.
7417 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
7419         * international/quail.el (quail-help): Be more explicit about the
7420         meaning of the labels shown on the keys.  (Bug#15800)
7422         * startup.el (normal-top-level): Load the subdirs.el files before
7423         setting the locale environment.  (Bug#15805)
7425 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7427         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7428         via arguments so as to get the right ones (bug#15418).
7430         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7432 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
7434         Fix problems found while writing a test suite.
7436         * net/tramp-compat.el (tramp-compat-load): New defun.
7437         * net/tramp.el (tramp-handle-load): Use it.
7439         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7440         "(numberp ok-if-already-exists)" correctly.
7442 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
7444         * international/characters.el (glyphless-char-display-control):
7445         Add usage note.
7447 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
7449         * progmodes/python.el (python-mode):
7450         * progmodes/scheme.el (scheme-mode):
7451         * progmodes/prolog.el (prolog-mode):
7452         * progmodes/ruby-mode.el (ruby-mode):
7453         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7454         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7456 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7458         * rect.el (rectangle--highlight-for-redisplay):
7459         * emacs-lisp/smie.el (smie--next-indent-change):
7460         Use buffer-chars-modified-tick.
7462         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7464         * electric.el (electric-indent-post-self-insert-function):
7465         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7467 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
7469         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7471 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7473         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7474         (bug#15786).
7476 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7478         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
7480         * progmodes/python.el: Fix up last change.
7481         (python-shell--save-temp-file): New function.
7482         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
7483         `string' comes from the current buffer.
7484         (python-shell-send-string-no-output): Remove `msg' arg.
7485         (python--use-fake-loc): New var.
7486         (python-shell-buffer-substring): Obey it.  Try to compensate for the
7487         extra coding line added by python-shell--save-temp-file.
7488         (python-shell-send-region): Use python-shell--save-temp-file and
7489         python-shell-send-file directly.  Add `nomain' argument.
7490         (python-shell-send-buffer): Use python-shell-send-region.
7491         (python-electric-pair-string-delimiter): New function.
7492         (python-mode): Use it.
7494 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
7496         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7497         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7498         environment and decoding all of the default-directory's to here
7499         from command-line.
7500         (command-line): Decode also argv[0].
7502         * loadup.el: Error out if default-directory is a multibyte string
7503         when we are dumping.
7505         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
7507 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
7509         * emacs-lisp/package.el (package-menu-mode)
7510         (package-menu--print-info, package-menu--archive-predicate):
7511         Add Archive column to package list.
7513 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
7515         Fix problems found while writing a test suite.
7517         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7518         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7519         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7520         to nil when running original file name handler.  Otherwise,
7521         there are problems with constructs like "$$FOO".
7523         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7524         for `localname'.
7526 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
7528         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7530         * subr.el (version<, version<=, version=):
7531         Update docstrings with information for snapshot versions.
7533         * helpers.el: New library for misc helper functions.
7534         (hash-table-keys): New function returning a list of hash keys.
7535         (hash-table-values): New function returning a list of hash values.
7537 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
7539         * progmodes/ruby-mode.el (ruby-smie--forward-token)
7540         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7542 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
7544         * textmodes/fill.el (fill-single-char-nobreak-p): New function
7545         checking whether point is after a 1-letter word.
7547 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7549         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7550         Don't infloop when expanding region over `multiline' syntax-type that
7551         begins a line (bug#15778).
7553 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7555         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7556         Make it into a proper minor mode.
7557         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7558         (rectangle-mark-mode-map): New keymap.
7559         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7561 2013-11-04  Glenn Morris  <rgm@gnu.org>
7563         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7565 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7567         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7568         (ruby-smie-rules): Use smie-rule-parent instead.
7570         * emacs-lisp/smie.el (smie-rule-parent): Always call
7571         smie-indent-virtual rather than only for hanging tokens.
7572         (smie--next-indent-change): New helper command.
7574 2013-11-03  Glenn Morris  <rgm@gnu.org>
7576         * Makefile.in (abs_srcdir): Remove.
7577         (emacs): Unset EMACSLOADPATH.
7579 2013-11-02  Glenn Morris  <rgm@gnu.org>
7581         * Makefile.in (EMACS): Use a relative filename.
7582         (abs_top_builddir): Remove.
7583         (custom-deps, finder-data, autoloads): Use --chdir.
7585         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7587         Use relative filenames in TAGS files.
7588         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7589         (lisptagsfiles4, TAGS): Use relative file names.
7590         (TAGS-LISP): Remove.
7591         (maintainer-clean): No more TAGS-LISP file.
7593         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7594         (lisptagsfiles4): Use absolute filenames again.
7595         (TAGS, TAGS-LISP): Not everything needs to run in one line.
7596         Remove all *loaddefs files, not just the first.  Remove esh-groups.
7597         (maintainer-clean): Delete TAGS, TAGS-LISP.
7599 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
7601         * emacs-lisp/package.el (package-version-join):
7602         Recognize snapshot versions.
7604 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
7606         * subr.el (version-regexp-alist): Add support for snapshot versions.
7608 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
7610         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7611         New function, replacement for `smie-rule-parent' for when we want to
7612         skip over our direct parent if it's an assignment token..
7613         (ruby-smie-rules): Use it.
7615 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
7617         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7618         unconditionally.  Remove now unnecessary forward declarations.
7619         Remove XEmacs-specific setup.
7620         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7621         (ruby-font-lock-syntactic-keywords)
7622         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7623         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7624         (ruby-here-doc-end-syntax): Remove.
7625         (ruby-mode): Don't check whether `syntax-propertize-rules' is
7626         defined as function.
7628 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
7630         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7632 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
7634         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7635         table and abbrev table, `define-derived-mode' does that for us
7636         anyway.
7638 2013-11-01  Glenn Morris  <rgm@gnu.org>
7640         * Makefile.in: Remove manual mh-e dependencies (writing .elc
7641         files is atomic for some time, so no parallel compilation issues).
7643 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
7645         * faces.el (face-x-resources): Add :distant-foreground.
7646         (region): Use :distant-foreground for gtk and ns.
7648 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
7650         Allow multiple bibliographies when BibLaTeX is used rather than
7651         BibTeX.
7652         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7653         (reftex-locate-bibliography-files): Us it.
7655 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
7657         * image.el (image-type-header-regexps): Fix the 'pbm' part to
7658         allow comments in pbm files.
7660         * term/w32-win.el (dynamic-library-alist): Support newer versions
7661         of libjpeg starting with v7: look only for the DLL from the
7662         version against which Emacs was built.
7663         Support versions of libpng beyond 1.4.x.
7664         Support libtiff v4.x.
7666 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
7668         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7669         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7670         Add property :safe.
7671         (ruby-deep-arglist): Add property :type.
7673 2013-10-31  Glenn Morris  <rgm@gnu.org>
7675         * Makefile.in (custom-deps, finder-data): No need to setq the target
7676         variables, we are in the right directory and the defaults work fine.
7678 2013-10-30  Glenn Morris  <rgm@gnu.org>
7680         * Makefile.in (autoloads): Do not use abs_lisp.
7682         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7683         `newline' does not respect `standard-output', so use `princ'.
7685 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
7687         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
7688         * buff-menu.el (Buffer-menu--unmark): New function.
7689         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7691 2013-10-30  Glenn Morris  <rgm@gnu.org>
7693         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7695         * emacs-lisp/package.el (lm-homepage): Declare.
7697         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7698         Fix doc typos.
7700         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7702         * Makefile.in (finder-data, autoloads, update-subdirs)
7703         (compile-main, compile-clean, compile-always, bootstrap-clean):
7704         Check return value of cd.
7705         (compile-calc): Remove.
7707 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7709         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7711         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7712         (byte-compile-and-folded): New function.
7713         (=, <, >, <=, >=): Use it.
7715         * dos-w32.el (minibuffer-history-case-insensitive-variables)
7716         (path-separator, null-device, buffer-file-coding-system)
7717         (lpr-headers-switches): Check system-type before modifying them.
7718         (find-buffer-file-type-coding-system): Mark obsolete.
7719         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7720         find-file-not-found-set-buffer-file-coding-system.
7721         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7722         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7723         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7724         (w32-direct-print-region-helper, w32-direct-print-region-function)
7725         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7726         * startup.el (normal-top-level-add-subdirs-to-load-path):
7727         * ps-print.el (ps-print-region-function):
7728         * lpr.el (print-region-function): Use new name.
7730         * subr.el (custom-declare-variable-early): Remove function.
7731         (custom-declare-variable-list): Remove var.
7732         (error, user-error): Remove `while' loop.
7733         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7734         (user-emacs-directory-warning, locate-user-emacs-file):
7735         Move to files.el.
7736         * simple.el (read-quoted-char-radix, read-quoted-char):
7737         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7738         Move from subr.el.
7739         * custom.el (custom-declare-variable-list): Don't process
7740         custom-declare-variable-list.
7742         * progmodes/python.el (python-shell-get-buffer): New function.
7743         (python-shell-get-process): Use it.
7744         (python-shell-send-string): Always use utf-8 and add a cookie to tell
7745         Python which encoding was used.  Don't split-string since we only care
7746         about the first line.  Return the temp-file, if applicable.
7747         (python-shell-send-region): Tell compile.el how to turn locations in
7748         the temp-file into locations in the source buffer.
7750 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7752         * subr.el (undefined): Add missing behavior from the C code for
7753         unbound keys.
7755         * rect.el: Use lexical-binding.  Add new rectangular region support.
7756         (rectangle-mark): New command.
7757         (rectangle--region): New var.
7758         (deactivate-mark-hook): Reset rectangle--region.
7759         (rectangle--extract-region, rectangle--insert-for-yank)
7760         (rectangle--highlight-for-redisplay)
7761         (rectangle--unhighlight-for-redisplay): New functions.
7762         (region-extract-function, redisplay-unhighlight-region-function)
7763         (redisplay-highlight-region-function): Use them to handle
7764         rectangular region.
7765         * simple.el (region-extract-function): New var.
7766         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7767         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7768         (kill-region): Replace obsolete `yank-handler' arg with `region'.
7769         (copy-region-as-kill, kill-ring-save): Add `region' argument.
7770         (redisplay-unhighlight-region-function)
7771         (redisplay-highlight-region-function): New vars.
7772         (redisplay--update-region-highlight): New function.
7773         (pre-redisplay-function): Use it.
7774         (exchange-point-and-mark): Don't deactivate the mark before
7775         reactivate-it anyway.
7776         * comint.el (comint-kill-region): Remove yank-handler argument.
7777         * delsel.el (delete-backward-char, backward-delete-char-untabify)
7778         (delete-char): Remove property, since it's now part of their
7779         default behavior.
7780         (self-insert-iso): Remove property since this command doesn't exist.
7782         * emacs-lisp/package.el (package--download-one-archive)
7783         (describe-package-1): Don't query the user about final newline.
7785 2013-10-29  Daniel Colascione  <dancol@dancol.org>
7787         * net/tramp.el (tramp-methods): Document new functionality.
7788         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7789         tramp-hostname-checker if method provides one instead of scanning
7790         argument list for "%h" to decide hostname acceptability.
7792 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
7794         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7795         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7796         Handle COPY-CONTENTS.  (Bug#15737)
7798 2013-10-28  Daiki Ueno  <ueno@gnu.org>
7800         * epa-file.el
7801         (epa-file-cache-passphrase-for-symmetric-encryption):
7802         Document that this option has no effect with GnuPG 2.0 (bug#15552).
7804 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
7806         * image.el (defimage, image-load-path): Doc fixes.
7808 2013-10-27  Alan Mackenzie  <acm@muc.de>
7810         Indent statements in macros following "##" correctly.
7811         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7812         Modify the "#" arm of a cond form to handle "#" and "##" operators.
7814 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7816         * linum.el (linum-update-window): Fix boundary test (bug#13446).
7818 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
7820         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7821         after `=' is probably a new expression.
7823 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7825         * man.el (man-imenu-title): New option.
7826         (Man-mode-map): Add menu.  (Bug#15722)
7827         (Man-mode): Add imenu to menu.
7829 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
7831         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7832         specific in what the first arg can be: a non-keyword word,
7833         string/regexp/percent literal opener, opening paren, or unary
7834         operator followed directly by word.
7836 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7838         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7839         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7840         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7841         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7842         Remove vars, they do not apply any more.
7843         (prolog-mode-abbrev-table): Remove redundant declaration.
7844         (prolog-upper-case-string, prolog-lower-case-string): Remove.
7845         (prolog-use-smie): Remove.
7846         (prolog-smie-rules): Add indentation rule for the if-then-else layout
7847         supported by prolog-electric-if-then-else-flag.
7848         (prolog-mode-variables, prolog-menu): Use setq-local.
7849         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7850         Remove binding to `Backspace' since this key doesn't exist anyway.
7851         Remove bindings for electric self-inserting keys.
7852         (prog-mode): Assume it's defined.
7853         (prolog-post-self-insert): New function.
7854         (prolog-mode): Use it.
7855         (prolog-indent-line, prolog-indent-level)
7856         (prolog-find-indent-of-matching-paren)
7857         (prolog-indentation-level-of-line, prolog-goto-comment-column)
7858         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7859         (prolog-goto-next-paren, prolog-in-string-or-comment)
7860         (prolog-tokenize, prolog-inside-mline-comment)
7861         (prolog-find-start-of-mline-comment): Remove functions.
7862         (prolog-find-unmatched-paren, prolog-clause-end)
7863         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7864         (prolog-electric--if-then-else): Rename from
7865         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7866         (prolog-tokenize-searchkey): Remove const.
7867         (prolog-clause-info): Use forward-sexp.
7868         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7869         (prolog-electric-if-then-else): Remove commands.
7870         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7871         for use in post-self-insert-hook.
7872         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7873         for use in post-self-insert-hook.
7874         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7875         for use in post-self-insert-hook.
7876         (prolog-electric--underscore): Rename from prolog-electric--underscore;
7877         adapt it for use in post-self-insert-hook.
7879 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
7881         * emacs-lisp/ert.el (ert-run-tests-interactively):
7882         Use `completing-read'.  (Bug#9756)
7884 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
7886         * simple.el (line-move): Call line-move-1 instead of
7887         line-move-visual when the current window hscroll is zero, but
7888         temporary-goal-column indicates we will need to hscroll as result
7889         of the movement.  (Bug#15712)
7891 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
7893         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7894         capitalization.  Use :visible instead of :active.
7895         Fix `ruby-indent-exp' reference.  Add menu items for the generic
7896         commands that are used with SMIE.
7897         (ruby-do-end-to-brace): Insert space after `{'.
7899 2013-10-25  John Anthony  <john@jo.hnanthony.com>
7901         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
7903         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
7905 2013-10-25  Glenn Morris  <rgm@gnu.org>
7907         * vc/vc.el (vc-print-log): Don't use a working revision unless
7908         one was explicitly specified.  (Bug#15322)
7910 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7912         * subr.el (add-to-list): Preserve return value in compiler-macro
7913         (bug#15692).
7915 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7917         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7918         result.  Ask user to retry using '-all' flag.  (Bug#15701)
7920 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7922         * emacs-lisp/smie.el: New smie-config system.
7923         (smie-config): New defcustom.
7924         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7925         (smie-config-guess, smie-config-save): New commands.
7926         (smie-config--mode-local, smie-config--buffer-local)
7927         (smie-config--trace, smie-config--modefuns): New vars.
7928         (smie-config--advice, smie-config--mode-hook)
7929         (smie-config--setter, smie-config-local, smie-config--get-trace)
7930         (smie-config--guess-value, smie-config--guess): New functions.
7931         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7932         text properties.  Treat "string fence" syntax like string syntax.
7934         * progmodes/sh-script.el (sh-use-smie): Change default.
7935         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7936         (sh-var-value): Simplify by CSE.
7937         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7938         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7939         is used.
7940         (sh-guess-basic-offset): Use cl-incf.
7941         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7943 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
7945         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7946         (bug#15699).
7948 2013-10-24  Glenn Morris  <rgm@gnu.org>
7950         * Makefile.in (abs_top_srcdir): Remove.
7951         (update-subdirs): Use relative path to update-subdirs.
7953 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
7955         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7956         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7957         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7958         Call unmsys--file-name before expand-file-name, not after it.
7960 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
7962         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7963         (ert-test-skipped): New error.
7964         (ert-skip, ert-stats-skipped): New defuns.
7965         (ert--skip-unless): New macro.
7966         (ert-test-skipped): New struct.
7967         (ert--run-test-debugger, ert-test-result-type-p)
7968         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7969         (ert--stats-set-test-and-result, ert-char-for-test-result)
7970         (ert-string-for-test-result, ert-run-tests-batch)
7971         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7972         Handle skipped tests.  (Bug#9803)
7974 2013-10-24  Glenn Morris  <rgm@gnu.org>
7976         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7978         * Makefile.in (abs_top_srcdir): New, set by configure.
7979         (update-subdirs): Correct build-aux location.
7981 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
7983         * vc/vc.el (vc-print-root-log): Always set `default-directory'
7984         value, whether we could auto-deduce `backend', or not.
7986         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7987         with parameters" example.  Simplify the "is it block or is it
7988         hash" check, but also make it more thorough.
7990 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
7992         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
7994 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7996         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7997         { if it is hanging.
7999         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8000         :before ";".
8002 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
8004         * progmodes/compile.el (compilation-directory-matcher)
8005         (compilation-page-delimiter):
8006         Support GNU Make-4.0 directory quoting.  (Bug#15678)
8008 2013-10-23  Leo Liu  <sdl.web@gmail.com>
8010         * ido.el (ido-tidy): Handle read-only text.
8012 2013-10-23  Glenn Morris  <rgm@gnu.org>
8014         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8015         (emacs, compile, compile-always):
8016         Quote entities that might contain whitespace.
8017         (custom-deps, finder-data, autoloads): Use abs_lisp.
8018         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8019         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8020         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8022 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
8024         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8025         Use `following-char'.
8027 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8029         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8030         * progmodes/ruby-mode.el (ruby-smie-rules):
8031         Remove corresponding workaround.  Fix indentation rule of ";" so it
8032         also applies when ";" is the parent.
8034 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
8036         * frame.el (display-screens, display-pixel-height)
8037         (display-pixel-width, display-mm-width, display-backing-store)
8038         (display-save-under, display-planes, display-color-cells)
8039         (display-visual-class, display-monitor-attributes-list):
8040         Mention the optional ‘display’ argument in doc strings.
8042 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
8044         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8045         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
8047 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
8049         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8050         TODO.  Add "." after " @ ".
8051         (ruby-smie--at-dot-call): New function.  Checks if point at method
8052         call with explicit target.
8053         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8054         to the method name tokens when it precedes them.
8055         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8056         (ruby-smie-rules): Add rule for indentation before and after "."
8057         token.
8059 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8061         * textmodes/remember.el (remember-diary-extract-entries):
8062         Avoid add-to-list.
8064         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8065         an instruction.
8067 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
8069         * progmodes/ruby-mode.el (ruby-smie-grammar):
8070         Add (almost) all infix operators.
8071         (ruby-smie--implicit-semi-p): Add new operator chars.
8073         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8074         `smie-down-list'.
8075         (ruby-smie--args-separator-p): Check that there's no newline
8076         between method call and its arguments.
8078 2013-10-20  Alan Mackenzie  <acm@muc.de>
8080         Allow comma separated lists after Java "implements".
8082         * progmodes/cc-engine.el (c-backward-over-enum-header):
8083         Parse commas.
8084         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8085         from a "disallowed" list in enum fontification.
8087 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
8089         * startup.el (default-frame-background-mode): Remove unused defvar.
8091         * progmodes/verilog-mode.el (verilog-mode): Don't set
8092         comment-indent-function globally.
8094 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
8096         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8097         Move Info menu item creation to ns-win.el.
8099         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8100         in menu bar.
8102         * menu-bar.el: Move GNUstep specific menus...
8104         * term/ns-win.el (ns-initialize-window-system): ... to here.
8106 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8108         * simple.el (newline): Only run post-self-insert-hook when
8109         called interactively.
8111 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
8113         * icomplete.el (icomplete-with-completion-tables): Add :version.
8115 2013-10-19  Alan Mackenzie  <acm@muc.de>
8117         Fix fontification bugs with constructors and const.
8119         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8120         CASE 2) Remove the check for the absence of a suffix construct
8121         after a function declaration with only types (no identifiers) in
8122         the parentheses.  Also, accept a function declaration with just a
8123         type inside the parentheses, if this type can be positively
8124         recognised as such, or if a prefix keyword like "explicit" nails
8125         down the construct as a declaration.
8127 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
8129         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8130         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
8131         the problem whereby selecting a menu item that leads to a
8132         minibuffer prompt moves the cursor out of the minibuffer window,
8133         making it hard to type at the prompt.  Suggested by Stefan Monnier
8134         <monnier@iro.umontreal.ca>.
8136 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
8138         * menu-bar.el: Don't make Services menu.
8140 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8142         * ffap.el: Handle "/usr/include/c++/<version>" directories.
8143         (ffap-alist): Use ffap-c++-mode for c++-mode.
8144         (ffap-c++-path): New variable.
8145         (ffap-c++-mode): New function.
8147 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
8149         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
8151 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
8153         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8154         introduced on 2013-09-08, which results in an infinite loop
8155         requesting a password.
8157 2013-10-18  Glenn Morris  <rgm@gnu.org>
8159         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8161 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
8163         Sync with upstream verilog-mode revision 1a6ecec7.
8164         * progmodes/verilog-mode.el (verilog-mode-version): Update.
8165         (verilog-mode-release-date): Remove.
8166         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8167         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8168         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8169         (verilog-auto-tieoff-ignore-regexp)
8170         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8171         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8172         (verilog-signals-with, verilog-dir-cache-preserving)
8173         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8174         Doc fixes.
8175         (verilog-case-fold): New option, to control case folding in
8176         regexp searches, bug597.
8177         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8178         (verilog-string-match-fold, verilog-in-paren-count)
8179         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8180         (verilog-at-close-struct-p): New functions.
8181         (verilog-beg-block-re-ordered, verilog-extended-case-re)
8182         (verilog-forward-sexp, verilog-set-auto-endcomments)
8183         (verilog-leap-to-case-head): Handle "unique0" case.
8184         (verilog-in-constraint-re): New constant.
8185         (verilog-keywords, verilog-type-font-keywords):
8186         Add some SystemVerilog 1800-2012 keywords.
8187         (verilog-label-be): Remove unimplemented argument, bug669.
8188         (verilog-batch-execute-func): When batch expanding clear
8189         create-lockfiles to prevent spurious user locks when a file ends
8190         up not changing.
8191         (verilog-calculate-indent, verilog-calc-1)
8192         (verilog-at-close-constraint-p, verilog-at-constraint-p)
8193         (verilog-do-indent): Fix indentation of nested constraints
8194         and structures.
8195         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8196         (verilog-auto-inst-param): Use verilog-string-match-fold.
8197         (verilog-read-inst-module-matcher):
8198         Fix AUTOINST on gate primitives with #1.
8199         (verilog-read-decls): Fix double-declaring user-defined typed signals.
8200         Reads all user-defined typed variables.
8201         (verilog-read-defines): Fix reading definitions inside comments, bug647.
8202         (verilog-signals-matching-regexp)
8203         (verilog-signals-not-matching-regexp, verilog-auto):
8204         Respect verilog-case-fold.
8205         (verilog-diff-report): Fix line count.
8206         (verilog-auto-assign-modport): Remove unused local `modi'.
8207         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8208         better handle multidimensional arrays.
8209         Fix packed array ports misadding bit index in AUTOINST, bug637.
8210         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8211         to not double-declare existing outputs and inputs, respectively.
8212         (verilog-template-map): Bind U to verilog-sk-uvm-component.
8213         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8214         (verilog-sk-uvm-component): New skeleton.
8215         (verilog-submit-bug-report): Add verilog-case-fold,
8216         remove verilog-mode-release-date.
8218 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
8220         * subr.el (sit-for): Call (input-pending-p t) so as to behave
8221         as before.
8223 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
8225         * textmodes/remember.el (remember): Set buffer-offer-save in
8226         remember buffers (bug#13566).
8228 2013-10-18  Daniel Colascione  <dancol@dancol.org>
8230         When evaluating forms in ielm, direct standard output to ielm
8231         buffer.  Add new ielm-return-for-effect command.  Remove trailing
8232         whitespace throughout.
8234         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8235         (ielm-return-for-effect): New command.
8236         (ielm-send-input): Accept optional `for-effect' parameter.
8237         (ielm-eval-input): Accept optional `for-effect' parameter.
8238         Bind `standard-output' to stream we create using
8239         `ielm-standard-output-impl'.  Suppress printing result when
8240         `for-effect'.
8241         (ielm-standard-output-impl): New function.
8242         (inferior-emacs-lisp-mode): Explain new features in documentation.
8244 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
8246         Code cleanup.
8248         * net/tramp.el (tramp-debug-message): Do not check for connection
8249         buffer.
8250         (tramp-message): Use "vector" connection property.
8252         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8253         (tramp-equal-remote, tramp-eshell-directory-change)
8254         * net/tramp-adb.el (tramp-adb-handle-copy-file)
8255         (tramp-adb-handle-rename-file)
8256         * net/tramp-cmds.el (tramp-list-remote-buffers)
8257         (tramp-cleanup-connection, tramp-cleanup-this-connection)
8258         * net/tramp-compat.el (tramp-compat-process-running-p)
8259         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8260         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8261         (tramp-gvfs-handle-rename-file)
8262         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8263         (tramp-set-file-uid-gid)
8264         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8265         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8266         of `file-remote-p'.
8268         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8269         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8270         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8271         (tramp-gw-open-network-stream): Suppress unrelated traces.
8273         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8274         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8275         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8276         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8277         connection property.
8279         * net/tramp-cache.el (top): Suppress traces when reading
8280         persistency file.
8282         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8283         Refactor common code.  Improve debug message.
8284         (tramp-maybe-open-connection)
8285         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8286         connection buffer too early.
8288         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8289         from `tramp-smb-actions-with-acl'.
8290         (tramp-smb-actions-set-acl): New defconst.
8291         (tramp-smb-handle-copy-directory)
8292         (tramp-smb-action-get-acl): New defun, renamed from
8293         `tramp-smb-action-with-acl'.
8294         (tramp-smb-action-set-acl): New defun.
8295         (tramp-smb-handle-set-file-acl): Rewrite.
8297 2013-10-17  Glenn Morris  <rgm@gnu.org>
8299         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
8301 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8303         * skeleton.el (skeleton-newline): Remove.
8304         (skeleton-internal-1): Use (insert "\n") instead.
8306         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8307         let-bindings.
8309         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8310         forward-sexp-function while we redo its job (bug#15613).
8312 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
8314         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8315         represented by lists.
8317 2013-10-16  Glenn Morris  <rgm@gnu.org>
8319         * tmm.el (tmm--history): New dynamic variable.
8320         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
8322 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
8324         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8325         (tramp-smb-errors): Add error messages.
8326         (tramp-smb-actions-with-acl): New defconst.
8327         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8328         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8329         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8330         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8331         (tramp-smb-get-stat-capability): Fix tests.
8333 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
8335         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8336         (bug#15580).
8338 2013-10-16  Glenn Morris  <rgm@gnu.org>
8340         * ansi-color.el (ansi-color-drop-regexp):
8341         Add 1J, 1K, 2K.  (Bug#15617)
8343         * files.el (hack-local-variables--warned-lexical): New.
8344         (hack-local-variables):
8345         Warn about misplaced lexical-binding.  (Bug#15616)
8347         * net/eww.el (eww-render): Always set eww-current-url,
8348         and update header line.  (Bug#15622)
8349         (eww-display-html): ... Rather than just doing it here.
8351 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
8353         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8354         menu navigations commands.
8356 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
8358         * progmodes/subword.el (subword-capitalize): Be careful when
8359         the search for [[:alpha:]] fails (bug#15580).
8361 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
8363         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8364         to commands that scroll the menu.
8366 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
8368         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8369         Handle methods ending with `?' and `!'.
8371 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
8373         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8374         `japanese-cp932' to `cp932' to fix the problem where saving a
8375         source file written in Shift_JIS twice would end up having
8376         `coding: japanese-cp932' which Ruby could not recognize.
8377         (ruby-mode-set-encoding): Add support for encodings mapped to nil
8378         in `ruby-encoding-map'.
8379         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8380         doesn't need to be explicitly declared in magic comment.
8381         (ruby-encoding-map): Add type declaration for better customize UI.
8383 2013-10-13  Glenn Morris  <rgm@gnu.org>
8385         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8386         Occur buffers are read-only.  http://bugs.debian.org/720775
8388         * emacs-lisp/authors.el (authors-fixed-entries):
8389         Comment out old alpha stuff.
8391 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
8393         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8394         to `after-save-hook' instead of `before-save-hook'.
8395         (ruby-mode-set-encoding): Use the value of coding system used to
8396         write the file.  Call `basic-save-buffer-1' after modifying the
8397         buffer.
8399 2013-10-13  Alan Mackenzie  <acm@muc.de>
8401         Fix indentation/fontification of Java enum with
8402         "implements"/generic.
8404         * progmodes/cc-engine.el (c-backward-over-enum-header):
8405         Extracted from the three other places and enhanced to handle generics.
8406         (c-inside-bracelist-p): Uses new function above.
8407         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8408         function above.
8409         (c-font-lock-enum-tail): Uses new function above.
8411 2013-10-13  Kenichi Handa  <handa@gnu.org>
8413         * international/mule-cmds.el (select-safe-coding-system): Remove a
8414         superfluous condition in chekcing whether a coding system is safe
8415         or not.
8417 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
8419         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
8421 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
8423         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
8425 2013-10-13  Glenn Morris  <rgm@gnu.org>
8427         * menu-bar.el (menu-bar-update-buffers):
8428         Unify Buffers menu prompt string.  (Bug#15576)
8430         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
8432         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8433         Add some entries.
8434         (authors-fixed-entries): Use accented form of name.
8436 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8438         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8439         method calls (bug#15594).
8440         (ruby-smie--args-separator-p): New function.
8441         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8442         recognize paren-free method calls.
8444         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8445         internals of universal-argument.
8447 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
8449         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8450         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8451         dropped menu on second mouse click on the menu bar.
8453 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8455         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8456         (explicit-shell-file-name): Declare.
8457         (sh--vars-before-point, sh--cmd-completion-table): New functions.
8458         (sh-completion-at-point-function): New function.
8459         (sh-mode): Use it.
8460         (sh-smie--keyword-p): Remove unused argument.
8461         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8462         vars.
8463         (sh-set-shell): Always setup SMIE, even if we use the
8464         old indentation code.
8466 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
8468         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8469         cases of ? and =.
8470         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
8471         predicate would return nil are almost non-existent.
8472         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8474         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8475         cache also after commands that modify the buffer but don't move
8476         point.
8478 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8480         * env.el (substitute-env-in-file-name): New function.
8481         (substitute-env-vars): Extend the meaning of the optional arg.
8483 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
8485         * term/w32-win.el (dynamic-library-alist): Define separate lists
8486         of GIF DLLs for versions before and after 5.0.0 of giflib.
8487         (Bug#15531)
8489 2013-10-10  João Távora  <joaotavora@gmail.com>
8491         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8492         not locked, use last revision and current source as
8493         defaults.  (Bug#15569)
8495 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
8497         * menu-bar.el (menu-bar-open): Don't use popup-menu if
8498         menu-bar is hidden.
8500 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
8502         * window.el (pop-to-buffer-same-window): Fix doc-string.
8503         (Bug#15492)
8505 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8507         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8509 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
8511         * calendar/icalendar.el (icalendar-import-file):
8512         Fix interactive spec.  (Bug#15482)
8514 2013-10-10  Glenn Morris  <rgm@gnu.org>
8516         * desktop.el (desktop-save): Default to saving in .emacs.d,
8517         since PWD is no longer in desktop-path by default.  (Bug#15319)
8519         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8520         now that text mode has a menu with the same entry.
8521         (menu-bar-text-mode-auto-fill): Remove now unused func.
8522         * textmodes/text-mode.el (text-mode-map):
8523         Use auto-fill help text from menu-bar.el.
8525 2013-10-10  John Anthony  <john@jo.hnanthony.com>
8527         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
8529 2013-10-09  Juri Linkov  <juri@jurta.org>
8531         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8532         instead of this-command-keys.  Add universal-argument-more and
8533         universal-argument-minus to the list of prefix commands.  (Bug#15568)
8535 2013-10-09  Glenn Morris  <rgm@gnu.org>
8537         * vc/vc-svn.el (vc-svn-create-repo):
8538         Expand paths in file://... url.  (Bug#15446)
8540         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8541         Add some entries.
8542         (authors): Remove unused local variables.
8544 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8546         * profiler.el: Create a more coherent calltree from partial backtraces.
8547         (profiler-format): Hide the tail with `invisible' so that C-s can still
8548         find the hidden elements.
8549         (profiler-calltree-depth): Don't recurse so enthusiastically.
8550         (profiler-function-equal): New hash-table-test.
8551         (profiler-calltree-build-unified): New function.
8552         (profiler-calltree-build): Use it.
8553         (profiler-report-make-name-part): Indent the calltree less.
8554         (profiler-report-mode): Add visibility specs for profiler-format.
8555         (profiler-report-expand-entry, profiler-report-toggle-entry):
8556         Expand the whole subtree when provided with a prefix arg.
8558 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
8560         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8561         iuwu-mod token.
8562         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8563         hanging iuwu-mod token.
8564         (ruby-smie--forward-token): Do not include a dot after a token in
8565         that token.
8566         (ruby-smie--backward-token): Likewise.
8568 2013-10-08  Juri Linkov  <juri@jurta.org>
8570         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8571         to isearch-other-control-char.
8572         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8573         and isearch-post-command-hook to post-command-hook.
8574         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8575         and isearch-post-command-hook from post-command-hook.
8576         (isearch-unread-key-sequence)
8577         (isearch-reread-key-sequence-naturally)
8578         (isearch-lookup-scroll-key, isearch-other-control-char)
8579         (isearch-other-meta-char): Remove functions.
8580         (isearch-pre-command-hook, isearch-post-command-hook):
8581         New functions based on isearch-other-meta-char rewritten
8582         relying on the new behavior of overriding-terminal-local-map
8583         that does not replace the local keymaps any more.  (Bug#15200)
8585 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
8587         Support menus on text-mode terminals.
8588         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8589         functionality.
8591         * tooltip.el (tooltip-mode): Don't error out on TTYs.
8593         * menu-bar.el (popup-menu, popup-menu-normalize-position):
8594         Move here from mouse.el.
8595         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8596         and arrow keys.
8597         (tty-menu-navigation-map): New map for TTY menu navigation.
8599         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8601         * frame.el (display-mouse-p): Report text-mode mouse as available
8602         on w32.
8603         (display-popup-menus-p): Report availability if mouse is
8604         available; don't condition on window-system.
8606         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8607         (tty-menu-selected-face): New faces.
8609 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8611         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8612         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8613         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8614         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8615         New constants.
8616         (lisp-mode-variables): New `elisp' argument.
8617         (emacs-lisp-mode): Use it.
8618         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8619         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8621         * indent.el: Use lexical-binding.
8622         (indent-region): Add progress reporter.
8623         (tab-stop-list): Make it implicitly extend to infinity by repeating the
8624         last step.
8625         (indent--next-tab-stop): New function to implement this behavior.
8626         (tab-to-tab-stop, move-to-tab-stop): Use it.
8628 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
8630         * indent.el (indent-rigidly--current-indentation): New function.
8631         (indent-rigidly-map): New var.
8632         (indent-rigidly): Use it to provide interactive mode (bug#8196).
8634 2013-10-08  Bastien Guerry  <bzg@gnu.org>
8636         * register.el (insert-register): Fix 2013-10-07 change.
8638 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8640         * progmodes/perl-mode.el: Use lexical-binding.
8641         Remove redundant :group args.
8642         (perl-nochange): Change default to be closer to other major modes's
8643         standard behavior.
8644         (perl-indent-line): Don't consider text on current line as a
8645         valid beginning of function from which to indent.
8647         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8648         with more than one argument (bug#15538).
8650         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8652         * vc/pcvs.el: Use lexical-binding.
8653         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8654         environment of `eval'.
8655         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8656         than a list of expressions.  Adjust callers.
8657         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8659 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
8661         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8662         case of the dot in a chained method call being on the following line.
8664 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8666         * electric.el (electric-indent-inhibit): New var.
8667         (electric-indent-post-self-insert-function): Use it.
8668         * progmodes/python.el (python-mode): Set it.
8670         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8671         open braces.
8673         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8675         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8676         (css-mode): Use electric-indent-chars.
8678         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8679         (font-lock-beg, font-lock-end): Move before first use.
8680         (nxml-mode): Use syntax-propertize-function.
8681         (nxml-after-change, nxml-after-change1): Adjust accordingly.
8682         (nxml-extend-after-change-region): Remove.
8683         * nxml/xmltok.el: Use lexical-binding.
8684         (xmltok-save): Use `declare'.
8685         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8686         * nxml/nxml-util.el: Use lexical-binding.
8687         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8688         Use `declare'.
8689         * nxml/nxml-ns.el: Use lexical-binding.
8690         (nxml-ns-save): Use `declare'.
8691         (nxml-ns-prefixes-for): Avoid add-to-list.
8692         * nxml/rng-match.el: Use lexical-binding.
8693         (rng--ipattern): Use cl-defstruct.
8694         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8695         (rng-cons-group-after, rng-subst-group-after)
8696         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8697         Use closures instead of `(lambda...).
8699 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
8701         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8702         of BEG and END.
8704         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8705         Use `tramp-handle-insert-file-contents'.
8706         (tramp-gvfs-handle-insert-file-contents): Remove function.
8708         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8709         Use `save-restriction' in order to keep markers.
8711         * net/trampver.el: Update release number.
8713 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8715         * progmodes/compile.el (compilation-parse-errors):
8716         Use compilation--put-prop.
8717         (compilation--ensure-parse): Check compilation-multiline.
8719         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8721         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8722         lexical-binding.
8724         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8726         * progmodes/ruby-mode.el: Fix recently added tests.
8727         (ruby-smie-grammar): Add - and +.
8728         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8729         (ruby-smie--backward-id): New functions.
8730         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8731         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
8732         any more.
8734 2013-10-07  Leo Liu  <sdl.web@gmail.com>
8736         * register.el (register-preview-delay)
8737         (register-preview-functions): New variables.
8738         (register-read-with-preview, register-preview)
8739         (register-describe-oneline): New functions.
8740         (point-to-register, window-configuration-to-register)
8741         (frame-configuration-to-register, jump-to-register)
8742         (number-to-register, view-register, insert-register)
8743         (copy-to-register, append-to-register, prepend-to-register)
8744         (copy-rectangle-to-register): Use register-read-with-preview to
8745         read register.  (Bug#15525)
8747 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
8749         * net/network-stream.el (network-stream-open-starttls): Don't add
8750         --insecure if it's already present, because that gnutls-cli
8751         rejects getting that parameter twice.
8753 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
8755         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8756         keyword, too.
8758 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
8760         * newcomment.el (comment-use-global-state): Change default value
8761         to t, mark obsolete (Bug#15251).
8762         (comment-beginning): In addition to `comment-to-syntax', check the
8763         value of `comment-use-global-state'.
8765 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8767         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8768         (ruby-comment-column): Follow the global default, by default.
8769         (ruby-smie-grammar): Add assignment syntax.
8770         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8771         open-paren, a comma, or a \.
8772         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8773         and line continuations.
8774         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8775         followed by implicit semi-colons.  Add rule for string concatenation
8776         and for indentation at BOB.
8777         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8779         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8780         calling next-sexp, since next-token may have skipped chars which
8781         next-sexp doesn't know should be skipped!
8783 2013-10-05  Leo Liu  <sdl.web@gmail.com>
8785         * progmodes/octave.el (octave-send-region):
8786         Call compilation-forget-errors.
8788 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
8790         * vc/vc-svn.el (vc-svn-find-admin-dir):
8791         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8792         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8793         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8794         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8796 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8798         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8800 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8802         * subr.el (read-passwd): Hide chars even when called within a context
8803         where after-change-functions is disabled (bug#15501).
8804         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8805         until we removed ourself from overriding-terminal-local-map.
8807 2013-10-04  Leo Liu  <sdl.web@gmail.com>
8809         * progmodes/octave.el (inferior-octave-mode):
8810         Call compilation-forget-errors.
8812 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
8814         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8816 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
8818         * net/secrets.el (secrets-create-collection): Add optional
8819         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
8820         dbus-call-method argument.  (Bug#15516)
8822 2013-10-04  Leo Liu  <sdl.web@gmail.com>
8824         * progmodes/octave.el (inferior-octave-error-regexp-alist)
8825         (inferior-octave-compilation-font-lock-keywords): New variables.
8826         (compilation-error-regexp-alist)
8827         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8828         (inferior-octave-mode): Use compilation-shell-minor-mode.
8830 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
8832         * minibuffer.el (completion--replace): Be careful that `end' might be
8833         a marker.
8835 2013-10-03  Daiki Ueno  <ueno@gnu.org>
8837         Add support for package signature checking.
8838         * emacs-lisp/package.el (url-http-file-exists-p)
8839         (epg-make-context, epg-context-set-home-directory)
8840         (epg-verify-string, epg-context-result-for)
8841         (epg-signature-status, epg-signature-to-string)
8842         (epg-check-configuration, epg-configuration)
8843         (epg-import-keys-from-file): Declare.
8844         (package-check-signature): New user option.
8845         (package-unsigned-archives): New user option.
8846         (package-desc): Add `signed' field.
8847         (package-load-descriptor): Set `signed' field if .signed file exists.
8848         (package--archive-file-exists-p): New function.
8849         (package--check-signature): New function.
8850         (package-install-from-archive): Check package signature.
8851         (package--download-one-archive): Check archive signature.
8852         (package-delete): Remove .signed file.
8853         (package-import-keyring): New command.
8854         (package-refresh-contents): Import default keyring.
8855         (package-desc-status): Add "unsigned" status.
8856         (describe-package-1, package-menu--print-info)
8857         (package-menu-mark-delete, package-menu--find-upgrades)
8858         (package-menu--status-predicate): Support "unsigned" status.
8860 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8862         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8863         the new compilation scheme using the new byte-codes.
8865         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8866         (byte-pophandler): New byte codes.
8867         (byte-goto-ops): Adjust accordingly.
8868         (byte-compile--use-old-handlers): New var.
8869         (byte-compile-catch): Use new byte codes depending on
8870         byte-compile--use-old-handlers.
8871         (byte-compile-condition-case--old): Rename from
8872         byte-compile-condition-case.
8873         (byte-compile-condition-case--new): New function.
8874         (byte-compile-condition-case): New function that dispatches depending
8875         on byte-compile--use-old-handlers.
8876         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8877         when we can.
8879         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8880         Optimize under `condition-case' and `catch' if
8881         byte-compile--use-old-handlers is nil.
8882         (disassemble-offset): Handle new bytecodes.
8884 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8886         * subr.el (error): Use `declare'.
8887         (decode-char, encode-char): Use advertised-calling-convention instead
8888         of the docstring to discourage use of the `restriction' arg.
8890 2013-10-03  Daiki Ueno  <ueno@gnu.org>
8892         * epg.el (epg-verify-file): Add a comment saying that it does not
8893         notify verification error as a return value nor a signal.
8894         (epg-verify-string): Ditto.
8896 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
8898         * progmodes/compile.el (compilation-start): Try globbing the arg to
8899         `cd' (bug#15417).
8901 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
8903         Sync with Tramp 2.2.8.
8905         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8906         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8907         * net/trampver.el: Update release number.
8909 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
8911         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8912         and default-process-coding-system for darwin only.
8914 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8916         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8918 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
8920         * vc/vc-git.el (vc-git-grep): Disable pager.
8922 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
8924         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8925         Use :url instead of :homepage, as per
8926         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8928         * newcomment.el (comment-beginning): When `comment-use-syntax' is
8929         non-nil, use `syntax-ppss' (Bug#15251).
8931 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8933         * progmodes/octave.el (inferior-octave-startup-file):
8934         Prefer ~/.emacs.d/init_octave.m.
8936 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
8938         * emacs-lisp/package.el (package-desc-from-define):
8939         Accept additional arguments as plist, convert them to an alist and store
8940         them in the `extras' slot.
8941         (package-generate-description-file): Convert extras alist back to
8942         plist and append to the `define-package' form arguments.
8943         (package--alist-to-plist): New function.
8944         (package--ac-desc): Add `extras' slot.
8945         (package--add-to-archive-contents): Check if the archive-contents
8946         vector is long enough, and if it is, pass its `extras' slot value
8947         to `package-desc-create'.
8948         (package-buffer-info): Call `lm-homepage', pass the returned value
8949         to `package-desc-from-define'.
8950         (describe-package-1): Render the homepage button (Bug#13291).
8952         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8953         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8955 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
8957         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8958         and default-process-coding-system to utf-8-unix (Bug#15402).
8960 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
8962         * subr.el (looking-back): Do not recommend using looking-back.
8964 2013-09-28  Alan Mackenzie  <acm@muc.de>
8966         Fix indentation/fontification of Java enum with "implements".
8968         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8969         regexp which matches "implements", etc., in Java.
8970         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8971         specifier clauses coming after "enum".
8972         * progmodes/cc-fonts.el (c-font-lock-declarations)
8973         (c-font-lock-enum-tail): Check for extra specifier clauses coming
8974         after "enum".
8976 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
8978         * faces.el (region): Change ns_selection_color to
8979         ns_selection_fg_color, add ns_selection_bg_color.
8981 2013-09-28  Leo Liu  <sdl.web@gmail.com>
8983         * progmodes/octave.el (inferior-octave-completion-table)
8984         (inferior-octave-completion-at-point): Minor tweaks.
8986         * textmodes/ispell.el (ispell-lookup-words): Rename from
8987         lookup-words.  (Bug#15460)
8988         (lookup-words): Obsolete.
8989         (ispell-complete-word, ispell-command-loop): All uses changed.
8991 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8993         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8994         (octave-mode-menu): Add octave-send-buffer.
8995         (octave-send-buffer): New function.
8997 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8999         * progmodes/octave.el (octave-mode-map): Add key binding for
9000         octave-lookfor.
9001         (octave-mode-menu): Add octave-lookfor.
9002         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9003         octave-lookfor.
9004         (octave-lookfor): New function.
9006 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9008         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9009         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9010         its convention.
9011         (cl--loop-set-iterator-function): New function.
9012         (cl-loop): Adjust accordingly, so as not to use cl-subst.
9013         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9014         Bind `it' with `let' instead of substituting it with `cl-subst'.
9015         (cl--unused-var-p): New function.
9016         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9017         Eliminate some unused variable warnings (bug#15326).
9019 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
9021         * doc-view.el (doc-view-scale-reset): Rename from
9022         `doc-view-reset-zoom-level'.
9023         (doc-view-scale-adjust): New command.
9024         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9025         `doc-view-scale-adjust'.
9027 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
9029         * doc-view.el (doc-view-reset-zoom-level): New command.
9030         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9031         zoom commands (bug#15466).
9033 2013-09-26  Kenichi Handa  <handa@gnu.org>
9035         * international/quail.el (quail-help): Make it not a command.
9037 2013-09-26  Leo Liu  <sdl.web@gmail.com>
9039         * minibuffer.el (completion-all-sorted-completions): Make args
9040         optional as they are.
9042 2013-09-25  Daniel Colascione  <dancol@dancol.org>
9044         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9045         specs are and that they're not evaluated.
9047 2013-09-24  Sam Steingold  <sds@gnu.org>
9049         * midnight.el (clean-buffer-list-kill-regexps)
9050         (clean-buffer-list-kill-buffer-names): Update for the new Man
9051         buffer naming which includes the object name.
9053 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9055         * eshell/esh-cmd.el (eshell--sep-terms): New var.
9056         (eshell-parse-command, eshell-parse-pipeline): Use it since
9057         eshell-separate-commands requires a dynamic scoped var.
9058         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9060 2013-09-23  Leo Liu  <sdl.web@gmail.com>
9062         * autoinsert.el (auto-insert-alist): Make the value of
9063         lexical-binding match its file setting.
9065 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
9067         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9069         * autoarg.el (autoarg-kp-digit-argument):
9070         * electric.el (Electric-command-loop):
9071         * kmacro.el (kmacro-step-edit-insert):
9072         Do not set universal-argument-num-events.
9074 2013-09-22  Leo Liu  <sdl.web@gmail.com>
9076         * files.el (interpreter-mode-alist): Add octave.
9078 2013-09-21  Alan Mackenzie  <acm@muc.de>
9080         C++: fontify identifier in declaration following "public:" correctly.
9081         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9082         to match "public", etc.
9083         (c-decl-prefix-re): Add ":" into the C++ value.
9084         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9085         bit.  Add a check for a ":" preceded by "public", etc.
9087 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
9089         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9090         recognized by GDB 7.5 and later.
9092 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
9094         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9096 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9098         * subr.el (internal--call-interactively): New const.
9099         (called-interactively-p): Use it (bug#3984).
9101 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
9103         * vc/pcvs.el (cvs-mode-ignore):
9104         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9105         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9107 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9109         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
9110         (eshell-ls-orig-insert-directory): Remove.
9111         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
9112         (eshell-ls-use-in-dired): Use advice-add/remove.
9113         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9114         Add `orig-fun' arg for use in :around advice.
9115         Make it check (redundantly) eshell-ls-use-in-dired.
9117 2013-09-19  Glenn Morris  <rgm@gnu.org>
9119         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9121         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9123         * emacs-lisp/eieio.el (class-parent): Undo previous change.
9125 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
9127         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9128         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9129         (tramp-get-remote-python): New defuns.
9130         (tramp-get-remote-uid-with-perl)
9131         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
9132         contributed by yary <not.com@gmail.com> (tiny change).
9133         (tramp-get-remote-uid-with-python)
9134         (tramp-get-remote-gid-with-python): New defuns.  Python code
9135         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9136         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9138 2013-09-19  Glenn Morris  <rgm@gnu.org>
9140         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9142         * eshell/em-unix.el (eshell-remove-entries):
9143         Rename argument to avoid name-clash with global `top-level'.
9145         * eshell/esh-proc.el (eshell-kill-process-function):
9146         Remove eshell-reset-after-proc from eshell-kill-hook if present.
9147         (eshell-reset-after-proc): Remove unused arg `proc'.
9149         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9150         (directory-files-and-attributes): Mark unused arg.
9152         * eshell/em-unix.el (eshell-remove-entries):
9153         Remove unused arg `path'.  Update callers.
9155         * eshell/em-hist.el (eshell-hist-parse-arguments):
9156         Remove unused arg `silent'.  Update callers.
9158         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9159         Fix (f)boundp mix-up.
9161         * eshell/em-smart.el (eshell-smart-scroll-window)
9162         (eshell-disable-after-change):
9163         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9165 2013-09-18  Alan Mackenzie  <acm@muc.de>
9167         Fix fontification of type when followed by "const".
9168         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9169         "known" types from fontification.
9171 2013-09-18  Glenn Morris  <rgm@gnu.org>
9173         * emacs-lisp/chart.el (x-display-color-cells): Declare.
9174         (chart-face-list): Drop Emacsen without display-color-p.
9176         * net/eww.el (libxml-parse-html-region): Declare.
9177         (eww-display-html): Explicit error if no libxml2 support.
9179         * doc-view.el (doc-view-mode): Silence --without-x compilation.
9181         * image.el (image-type-from-buffer, image-multi-frame-p):
9182         Remove --without-x warning/error.
9184         * mouse.el (mouse-yank-primary):
9185         * term.el (term-mouse-paste):
9186         Reorder to silence --without-x compilation.
9188         * mpc.el (doc-view-mode): Silence --without-x compilation.
9190         * mail/rmailmm.el (rmail-mime-set-bulk-data):
9191         Silence --without-x compilation.
9193         * progmodes/gud.el (gud-find-file, gud-mode):
9194         Silence --without-x compilation.
9195         (tooltip-mode): Declare.
9197         * wdired.el (dired-backup-overwrite): Remove declaration.
9198         (wdired-mode-map): Add doc string.
9200         * custom.el (x-get-resource): Declare.
9202         * eshell/em-glob.el (ange-cache):
9203         * eshell/em-unix.el (ange-cache): Declare.
9205         * faces.el (x-display-list, x-open-connection, x-get-resource):
9206         Declare.
9208         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9209         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9210         Declare.
9212         * frame.el (x-display-grayscale-p, x-display-name): Declare.
9214         * net/gnutls.el (gnutls-log-level): Declare.
9216         * net/shr.el (image-size, image-animate): Declare.
9218         * simple.el (font-info): Declare.
9220         * subr.el (x-popup-dialog): Declare.
9222         * term/common-win.el (x-select-enable-primary)
9223         (x-last-selected-text-primary, x-last-selected-text-clipboard):
9224         Declare.
9226         * term/ns-win.el (x-handle-args): Declare.
9228         * term/x-win.el (x-select-enable-clipboard): Declare.
9230         * term/w32-win.el (create-default-fontset): Declare.
9232         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9233         Declare.
9235         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9236         (fit-frame-to-buffer): Explicit error if --without-x.
9237         (mouse-autoselect-window-select): Silence compiler.
9239         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9241         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9242         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9243         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9244         * eshell/esh-util.el (eshell-sublist):
9245         Remove unused local variables.
9247         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9249         * textmodes/two-column.el: Make 2C-split work for --without-x.
9250         (scroll-bar-columns): Autoload.
9251         (top-level): Require fringe when compiling.
9253 2013-09-18  Leo Liu  <sdl.web@gmail.com>
9255         * subr.el (add-hook): Robustify to handle closure as well.
9257 2013-09-17  Glenn Morris  <rgm@gnu.org>
9259         * simple.el (messages-buffer-mode-map): Unbind "g".
9261 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9263         * help-mode.el (help-mode-finish): Use derived-mode-p.
9264         Remove obsolete highlighting.
9266         * play/life.el (life-mode): Use define-derived-mode.  Derive from
9267         special-mode.
9268         (life): Let-bind inhibit-read-only.
9269         (life-setup): Avoid `setq'.  Use `life-mode'.
9271         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9272         which should not be needed any more.
9273         (package-menu-refresh, package-menu-describe-package): Use user-error.
9275         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9276         (eshell-post-rewrite-command-hook): Make obsolete.
9277         (eshell-parse-command): Simplify.
9278         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9279         (eshell--cmd): Declare.
9280         (eshell-parse-pipeline): Remove unused var `final-p'.
9281         Pass a dynvar to eshell-post-rewrite-command-hook.
9282         Implement the new eshell-post-rewrite-command-function.
9283         (eshell-invoke-directly): Remove unused arg `input'.
9284         * eshell/esh-io.el (eshell-io-initialize):
9285         Use eshell-post-rewrite-command-function (bug#15399).
9286         (eshell--apply-redirections): Rename from eshell-apply-redirections;
9287         adjust to new calling convention.
9288         (eshell-create-handles): Rename args to avoid clashing with dynvar
9289         `standard-output'.
9291 2013-09-17  Glenn Morris  <rgm@gnu.org>
9293         * simple.el (messages-buffer-mode): New major mode.
9294         (messages-buffer): New function.
9295         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9296         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9297         (ert-run-test): Use `messages-buffer' function.
9298         (ert--force-message-log-buffer-truncation): Ignore read-only.
9299         * help.el (view-echo-area-messages): Use `messages-buffer' function.
9300         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9302 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9304         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9306         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9308 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9310         * icomplete.el (icomplete-in-buffer): New var.
9311         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9312         vars and replace them with functions.
9313         (icomplete-minibuffer-setup): Adjust accordingly.
9314         (icomplete--completion-table, icomplete--completion-predicate)
9315         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9316         New functions.
9317         (icomplete-forward-completions, icomplete-backward-completions)
9318         (icomplete-simple-completing-p, icomplete-exhibit)
9319         (icomplete-completions): Use them.
9320         (icomplete--in-region-buffer): New var.
9321         (icomplete--in-region-setup): New function.
9322         (icomplete-mode): Use it.
9324         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9325         (bug#15379).
9326         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9327         return args and options.
9328         (eshell-eval-using-options): Use the new return value of
9329         eshell--do-opts to set the options's vars in their scope.
9330         (eshell--set-option): Rename from eshell-set-option.
9331         Add arg `opt-vals'.
9332         (eshell--process-option): Rename from eshell-process-option.
9333         Add arg `opt-vals'.
9334         (eshell--process-args): Use an `opt-vals' alist to store the options's
9335         values during their processing and return them additionally to the
9336         remaining args.
9338 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
9340         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9341         continuation character an operator, as far as indentation is
9342         concerned (Bug#15369).
9344 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
9346         * window.el (window--state-put-2): Don't process buffer state
9347         when buffer doesn't exist any more (Bug#15382).
9349 2013-09-15  Glenn Morris  <rgm@gnu.org>
9351         * eshell/em-unix.el (eshell/rm):
9352         Make -f ignore missing files.  (Bug#15373)
9354         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
9355         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9356         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9358 2013-09-14  Glenn Morris  <rgm@gnu.org>
9360         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9362 2013-09-13  Glenn Morris  <rgm@gnu.org>
9364         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9365         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
9367 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
9369         * frame.el (x-focus-frame): Mark as declared in frame.c.
9371 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9373         * ls-lisp.el: Use advice-add.
9374         (original-insert-directory): Remove.
9375         (ls-lisp--insert-directory): Rename from insert-directory; add
9376         `orig-fun' argument.
9377         (insert-directory): Advise.
9379 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
9381         * term.el (term-emulate-terminal): Decode the command string
9382         before passing it to term-command-hook.  (Bug#15337)
9384 2013-09-13  Glenn Morris  <rgm@gnu.org>
9386         * eshell/esh-util.el (ange-cache): Move declaration earlier.
9388         * eshell/esh-ext.el (eshell-search-path): Declare.
9390         * eshell/em-prompt.el (eshell/pwd): Autoload it.
9391         Otherwise an error occurs if eshell-dirs module not loaded.
9393         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9395 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
9397         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9398         `tramp-check-proper-host'.  Check for a valid method name.
9400         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9401         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9402         * net/tramp-sh.el (tramp-maybe-open-connection):
9403         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9405         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9406         also for hash values.
9408 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9410         * term/ns-win.el (parameters): Don't declare as dynamic.
9411         (before-make-frame-hook): Don't add ineffective function.
9413         * eshell/*.el: Use lexical-binding (bug#15231).
9415 2013-09-12  Kenichi Handa  <handa@gnu.org>
9417         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9419 2013-09-12  Glenn Morris  <rgm@gnu.org>
9421         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9422         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9424         * subr.el (do-after-load-evaluation): Also give compiler warnings
9425         when obsolete files are used (except by obsolete files).
9427         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9428         in the status output, assume `filename' is the first.  (Bug#15322)
9430         * vc/vc.el (vc-deduce-fileset): Doc fix.
9432         * calc/calc-help.el (Info-goto-node):
9433         * progmodes/cperl-mode.el (Info-find-node):
9434         * vc/ediff.el (Info-goto-node): Update declarations.
9436         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9438         * vc/vc-bzr.el (vc-compilation-mode): Declare.
9439         (vc-bzr-pull): Require vc-dispatcher.
9440         * vc/vc-git.el (vc-compilation-mode): Declare.
9441         (vc-git-pull): Require vc-dispatcher.
9443         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9445         * progmodes/octave.el (help-button-action): Declare.
9447         * shell.el (shell-directory-tracker): Output error as a message
9448         rather than just returning it as a string.
9449         (shell-process-pushd): Remove useless use of message.
9451         * dframe.el (dframe-timer-fn):
9452         * files.el (dir-locals-read-from-file):
9453         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9454         (mpc-format):
9455         * reveal.el (reveal-post-command):
9456         * saveplace.el (load-save-place-alist-from-file):
9457         * shell.el (shell-resync-dirs):
9458         * w32-common-fns.el (x-get-selection-value):
9459         * emacs-lisp/copyright.el (copyright-find-copyright):
9460         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9461         * emulation/tpu-edt.el (tpu-copy-keyfile):
9462         * play/bubbles.el (bubbles--mark-neighbourhood):
9463         * progmodes/executable.el
9464         (executable-make-buffer-file-executable-if-script-p):
9465         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9467 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9469         Cleanup Eshell to rely less on dynamic scoping.
9470         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9471         last-value, and ext-command here.  Bind `args' closer to `body'.
9472         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9473         (eshell--args): Declare new dynamic var.
9474         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
9475         last-value, and ext-command.  Pass `args' to `body'.
9476         (eshell-process-args): Bind eshell--args.
9477         (eshell-set-option): Use eshell--args.
9478         * eshell/eshell.el (eshell): Use derived-mode-p.
9479         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9480         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9481         (eshell-glob-function): Declare.
9482         * eshell/esh-util.el: Require cl-lib.
9483         (eshell-read-hosts-file): Avoid add-to-list.
9484         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9485         `err'.
9486         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9487         Declare.
9488         (eshell/diff): Remove unused var `err'.
9489         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9490         `killflag'.
9491         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9492         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9493         first use.
9494         * eshell/em-glob.el (eshell-glob-matches, message-shown):
9495         Move declaration before first use.
9496         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9497         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9498         rely on cl-return.
9500 2013-09-12  Glenn Morris  <rgm@gnu.org>
9502         * term/ns-win.el (global-map): Remove binding for ispell-next,
9503         deleted 1999-05-29.  (Bug#15357)
9505 2013-09-11  Glenn Morris  <rgm@gnu.org>
9507         * echistory.el (electric-command-history): Remove call to deleted func.
9509         * play/landmark.el (landmark-mode): Fix typos.
9511         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9512         Check cvs-sort-ignore-file is bound.
9514         * savehist.el: No need for cl when compiling on Emacs.
9516 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9518         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9519         (bug#15338).
9520         (eshell-self-insert-command, eshell-send-invisible):
9521         Remove unused argument.
9522         (eshell-handle-control-codes): Remove unused var `orig'.
9523         Avoid delete-backward-char.
9525         * files.el (set-auto-mode): Simplify a bit further.
9527 2013-09-11  Glenn Morris  <rgm@gnu.org>
9529         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9530         (set-auto-mode): Don't regexp-quote elements.
9531         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9532         * progmodes/cc-mode.el (interpreter-mode-alist):
9533         * progmodes/ruby-mode.el (interpreter-mode-alist):
9534         Revert previous change.
9536 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9538         * play/snake.el (snake-mode):
9539         * play/mpuz.el (mpuz-mode):
9540         * play/landmark.el (lm-mode):
9541         * play/blackbox.el (blackbox-mode):
9542         * play/5x5.el (5x5-mode):
9543         * obsolete/options.el (Edit-options-mode):
9544         * net/quickurl.el (quickurl-list-mode):
9545         * net/newst-treeview.el (newsticker-treeview-mode):
9546         * mail/rmailsum.el (rmail-summary-mode):
9547         * mail/mspools.el (mspools-mode):
9548         * locate.el (locate-mode):
9549         * ibuffer.el (ibuffer-mode):
9550         * emulation/ws-mode.el (wordstar-mode):
9551         * emacs-lisp/debug.el (debugger-mode):
9552         * array.el (array-mode):
9553         * net/eudc.el (eudc-mode): Use define-derived-mode.
9554         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9555         Move initialization into declaration.
9556         (mairix-searches-mode): Use define-derived-mode.
9557         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9558         (eudc-edit-hotlist): Use dolist.
9559         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9560         (Man-mode): Use define-derived-mode.
9561         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9562         (Info-edit-mode): Use define-derived-mode.
9563         (Info-cease-edit): Use Info-mode.
9564         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9565         into declaration.
9566         (eshell-mode): Use define-derived-mode.
9567         * chistory.el (command-history-mode-map): Rename from
9568         command-history-map.
9569         (command-history-mode): Use define-derived-mode.
9570         (Command-history-setup): Remove function.
9571         * calc/calc.el (calc-trail-mode-map): New var.
9572         (calc-trail-mode): Use define-derived-mode.
9573         (calc-trail-buffer): Set calc-main-buffer manually.
9574         * bookmark.el (bookmark-insert-annotation): New function.
9575         (bookmark-edit-annotation): Use it.
9576         (bookmark-edit-annotation-mode): Make it a proper major mode.
9577         (bookmark-send-edited-annotation): Use derived-mode-p.
9578         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9579         closer to its ideal place.  Use \' to match EOS.
9581         * profiler.el (profiler-calltree-find): Use function-equal.
9583 2013-09-10  Glenn Morris  <rgm@gnu.org>
9585         * files.el (interpreter-mode-alist): Convert to regexps.
9586         (set-auto-mode): Adapt for this.  (Bug#15306)
9587         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9588         Comment out unused variable.
9589         * progmodes/cc-mode.el (interpreter-mode-alist):
9590         * progmodes/python.el (interpreter-mode-alist):
9591         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9592         * progmodes/sh-script.el (sh-set-shell):
9593         No longer use interpreter-mode-alist to get list of shells.
9595         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9597 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9599         * simple.el: Use set-temporary-overlay-map for universal-argument.
9600         (universal-argument-map): Don't use default-bindings (bug#15317).
9601         Bind switch-frame explicitly.  Replace universal-argument-minus with
9602         a conditional binding.
9603         (universal-argument-num-events, saved-overriding-map): Remove.
9604         (restore-overriding-map): Remove.
9605         (universal-argument--mode): Rename from save&set-overriding-map,
9606         and rewrite.
9607         (universal-argument, universal-argument-more, negative-argument)
9608         (digit-argument): Adjust accordingly.
9609         (universal-argument-minus): Remove.
9610         (universal-argument-other-key): Remove.
9612         * subr.el (with-demoted-errors): Add `format' argument.
9614 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
9616         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
9617         `tramp-cleanup-connection'.
9619         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9620         parameters KEEP-DEBUG and KEEP-PASSWORD.
9622         * net/tramp.el (tramp-file-name-handler):
9623         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9624         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9625         (tramp-maybe-open-connection):
9626         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9627         Use `tramp-cleanup-connection'.
9629         * net/tramp-sh.el (tramp-maybe-open-connection):
9630         Catch 'uname-changed inside the progress reporter.
9632 2013-09-10  Glenn Morris  <rgm@gnu.org>
9634         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
9636         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9637         returns "alternate access method" in mode (eg "-rw-r--r--.").
9639 2013-09-08  Glenn Morris  <rgm@gnu.org>
9641         * saveplace.el (load-save-place-alist-from-file):
9642         Demote errors.  (Bug#15305)
9644 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
9646         Improve compatibility with older Emacsen, and XEmacs.
9648         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9649         only if it is bound.  It isn't for XEmacs.
9650         (with-tramp-progress-reporter): Do not let-bind `result'.
9651         This yields to scoping errors in XEmacs.
9652         (tramp-handle-make-auto-save-file-name): New function, moved from
9653         tramp-sh.el.
9655         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9656         for `make-auto-save-file-name'.
9657         (tramp-adb--gnu-switches-to-ash):
9658         Use `tramp-compat-replace-regexp-in-string'.
9660         * net/tramp-cache.el (tramp-cache-print): Call
9661         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
9663         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9664         bound.  It isn't for XEmacs.
9666         * net/tramp-compat.el (tramp-compat-copy-file):
9667         Catch `wrong-number-of-arguments' error.
9668         (tramp-compat-replace-regexp-in-string): New defun.
9670         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9671         for `make-auto-save-file-name'.
9672         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9673         `copy-file'.
9674         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9675         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9676         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9678         * net/tramp-gw.el (tramp-gw-open-network-stream):
9679         Use `tramp-compat-replace-regexp-in-string'.
9681         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9682         Call `tramp-handle-make-auto-save-file-name'.
9683         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9684         (tramp-sh-file-gvfs-monitor-dir-process-filter)
9685         (tramp-sh-file-inotifywait-process-filter):
9686         Use `tramp-compat-replace-regexp-in-string'.
9687         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9689         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9690         for `make-auto-save-file-name'.
9691         (tramp-smb-handle-copy-directory):
9692         Call `tramp-compat-replace-regexp-in-string'.
9693         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9694         (tramp-smb-handle-copy-file): Improve error message.
9695         (tramp-smb-handle-rename-file): Rename directly only in case
9696         `newname' does not exist yet.  This is a restriction of smbclient.
9697         (tramp-smb-maybe-open-connection): Rerun the function only when
9698         `auth-sources' is non-nil.
9700 2013-09-08  Kenichi Handa  <handa@gnu.org>
9702         * international/characters.el: Set category "^" (Combining) for
9703         more characters.
9705 2013-09-07  Alan Mackenzie  <acm@muc.de>
9707         Correctly fontify Java class constructors.
9708         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9709         in Java Mode.
9710         (c-recognize-typeless-decls): Set the Java value to t.
9711         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9712         While handling a "(", add a check for, effectively, Java, and handle a
9713         "typeless" declaration there.
9715 2013-09-07  Roland Winkler  <winkler@gnu.org>
9717         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9718         field subtitle for entry type book.
9720 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9722         * minibuffer.el: Make minibuffer-complete call completion-in-region
9723         rather than other way around.
9724         (completion--some, completion-pcm--find-all-completions):
9725         Don't delay signals when debugging.
9726         (minibuffer-completion-contents): Beware fields within the
9727         minibuffer contents.
9728         (completion-all-sorted-completions): Use defvar-local.
9729         (completion--do-completion, completion--cache-all-sorted-completions)
9730         (completion-all-sorted-completions, minibuffer-force-complete):
9731         Add args `beg' and `end'.
9732         (completion--in-region-1): New fun, extracted from minibuffer-complete.
9733         (minibuffer-complete): Use completion-in-region.
9734         (completion-complete-and-exit): New fun, extracted from
9735         minibuffer-complete-and-exit.
9736         (minibuffer-complete-and-exit): Use it.
9737         (completion--complete-and-exit): Rename from
9738         minibuffer--complete-and-exit.
9739         (completion-in-region--single-word): New function, extracted from
9740         minibuffer-complete-word.
9741         (minibuffer-complete-word): Use it.
9742         (display-completion-list): Make `common-substring' argument obsolete.
9743         (completion--in-region): Call completion--in-region-1 instead of
9744         minibuffer-complete.
9745         (completion-help-at-point): Pass boundaries to
9746         minibuffer-completion-help as args rather than via an overlay.
9747         (completion-pcm--string->pattern): Use `any-delim'.
9748         (completion-pcm--optimize-pattern): New function.
9749         (completion-pcm--pattern->regex): Handle `any-delim'.
9750         * icomplete.el (icomplete-forward-completions)
9751         (icomplete-backward-completions, icomplete-completions):
9752         Adjust calls to completion-all-sorted-completions and
9753         completion--cache-all-sorted-completions.
9754         (icomplete-with-completion-tables): Default to t.
9755         * emacs-lisp/crm.el (crm--current-element): Rename from
9756         crm--select-current-element.  Don't put an overlay but return the
9757         boundaries instead.
9758         (crm--completion-command): Take two new args to bind to the boundaries.
9759         (crm-completion-help): Adjust accordingly.
9760         (crm-complete): Use completion-in-region.
9761         (crm-complete-word): Use completion-in-region--single-word.
9762         (crm-complete-and-exit): Use completion-complete-and-exit.
9764 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9766         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9767         than dynamically.
9769 2013-09-06  Juri Linkov  <juri@jurta.org>
9771         * info.el (Info-display-images-node): When image file doesn't exist
9772         display text version of the image if it's provided in the Info file.
9773         Otherwise, display the location of missing image from SRC attribute.
9774         Add help-echo text property from ALT attribute.  (Bug#15279)
9776 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9778         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9779         (edit-abbrevs-mode): Use define-derived-mode.
9781         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9782         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9783         that it's defined.
9784         (epa-key-list-mode, epa-key-mode, epa-info-mode):
9785         Use define-derived-mode.
9787         * epg.el (epg-start-encrypt): Minor CSE simplification.
9789 2013-09-06  William Xu  <william.xwl@gmail.com>
9791         * arc-mode.el: Add support for 7za (bug#15264).
9792         (archive-7z-program): New var.
9793         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9794         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9795         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9797 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
9799         Remove URL syntax.
9801         * net/tramp.el (tramp-syntax, tramp-prefix-format)
9802         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9803         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9804         (tramp-postfix-host-format, tramp-file-name-regexp)
9805         (tramp-completion-file-name-regexp)
9806         (tramp-completion-dissect-file-name)
9807         (tramp-handle-substitute-in-file-name): Remove 'url case.
9808         (tramp-file-name-regexp-url)
9809         (tramp-completion-file-name-regexp-url): Remove constants.
9811 2013-09-06  Glenn Morris  <rgm@gnu.org>
9813         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
9815 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
9817         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9818         keywords" below "here-doc beginnings" (Bug#15270).
9820 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9822         * subr.el (pop): Use `car-safe'.
9823         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9824         to detect unused `pop' return value.
9826         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9827         var `block-regexp'.
9828         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9829         (python-fill-string): Remove unused var `marker'.
9830         (python-skeleton-add-menu-items): Remove unused var `items'.
9832         * international/mule-cmds.el: Require CL.
9833         (find-coding-systems-for-charsets): Avoid add-to-list.
9834         (sanitize-coding-system-list): New function, extracted from
9835         select-safe-coding-system-interactively.
9836         (select-safe-coding-system-interactively): Use it.
9837         (read-input-method-name): Accept symbols for `default'.
9839         * emacs-lisp/advice.el (defadvice): Add indent rule.
9841 2013-09-05  Daniel Hackney  <dan@haxney.org>
9843         * dired-x.el:
9844         * net/ange-ftp.el:
9845         * net/browse-url.el:
9846         * net/dbus.el:
9847         * net/eudc.el:
9848         * net/eudcb-ldap.el:
9849         * net/eww.el:
9850         * net/imap.el:
9851         * printing.el:
9852         * vc/ediff-diff.el:
9853         * vc/ediff-init.el:
9854         * vc/ediff-merg.el:
9855         * vc/ediff-mult.el:
9856         * vc/ediff-util.el:
9857         * vc/ediff-wind.el:
9858         * vc/ediff.el:
9859         * vc/emerge.el:
9860         * vc/pcvs.el:
9861         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9862         byte compiler.  Remove some unused let-bound variables.
9864 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9866         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9867         a "ref-cell", since it gets better optimized (bug#14883).
9869 2013-09-05  Glenn Morris  <rgm@gnu.org>
9871         * progmodes/cc-awk.el (c-forward-sws): Declare.
9873 2013-09-04  Glenn Morris  <rgm@gnu.org>
9875         * generic-x.el [rul-generic-mode]: Require cc-mode.
9876         (c++-mode-syntax-table): Declare.
9877         (rul-generic-mode-syntax-table): Init in the defvar.
9879 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9881         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9882         (vc-do-command, vc-set-async-update):
9883         * vc/vc-mtn.el (vc-mtn-dir-status):
9884         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9885         (vc-hg-pull, vc-hg-merge-branch):
9886         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9887         (vc-git-merge-branch):
9888         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9889         (vc-cvs-dir-status-files):
9890         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9891         (vc-bzr-dir-status-files):
9892         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9893         * vc/vc-annotate.el: Use lexical-binding.
9894         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9895         (vc-sentinel-movepoint): Declare.
9896         (vc-annotate): Don't use `goto-line'.
9897         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9898         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9899         (vc-sentinel-movepoint): Declare.
9900         * vc/vc-svn.el: Use lexical-binding.
9901         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9902         * vc/vc-sccs.el:
9903         * vc/vc-rcs.el: Use lexical-binding.
9905         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9906         `deleted'.  Don't drop errors silently.
9908         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9910 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
9912         * vc/vc.el (vc-ignore): Rewrite.
9913         (vc-default-ignore): New function.
9914         (vc-default-ignore-completion-table): Use find-ignore-file.
9916         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9917         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9918         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9919         Remove.  Most code moved to vc.el.
9921 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9923         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9924         * net/tramp-smb.el (tramp-smb-get-file-entries):
9925         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9926         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9928         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9929         Update call to it.
9930         (eww-change-select): Remove unused var `properties'.
9931         (eww-make-unique-file-name): Remove unused var `base'.
9933         * finder.el (finder-compile-keywords): Don't mess with windows.
9935         * calculator.el (calculator-funcall): Fix typo in last change.
9937         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9939         * emacs-lisp/package.el (package-activate-1): Don't let a missing
9940         <pkg>-autoloads.el file stop us.
9942         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9943         warnings, and factor out common code.
9945 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
9947         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9948         two-character operators and whether the character preceding them
9949         changes their meaning (Bug#15208).
9951 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9953         Format code sent to Python shell for robustness.
9954         * progmodes/python.el (python-shell-buffer-substring):
9955         New function.
9956         (python-shell-send-region, python-shell-send-buffer): Use it.
9958 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
9960         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9961         * net/tramp.el (tramp-user-error): ... here.
9962         (tramp-find-method, tramp-check-proper-host)
9963         (tramp-dissect-file-name, tramp-debug-message)
9964         (tramp-handle-shell-command):
9965         * net/tramp-adb.el (tramp-adb-handle-shell-command):
9966         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9968         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9970 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
9972         * avoid.el (mouse-avoidance-point-position)
9973         (mouse-avoidance-too-close-p): Handle case where posn-at-point
9974         returns nil.
9976 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9978         * progmodes/python.el (python-shell-completion-get-completions):
9979         Drop use of deleted `comint-last-prompt-overlay'.
9980         (python-nav-if-name-main): New command.
9982 2013-09-01  Glenn Morris  <rgm@gnu.org>
9984         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9985         Avoid leading space in $wins.  Otherwise the sed command used by
9986         eg compile-main ends up containing "/*.el".  (Bug#15170)
9988         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
9990 2013-08-30  Glenn Morris  <rgm@gnu.org>
9992         * emacs-lisp/bytecomp.el (byte-recompile-directory):
9993         Fix is-this-a-directory logic.  (Bug#15220)
9995 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9997         * textmodes/css-mode.el: Use SMIE.
9998         (css-smie-grammar): New var.
9999         (css-smie--forward-token, css-smie--backward-token)
10000         (css-smie-rules): New functions.
10001         (css-mode): Use them.
10002         (css-navigation-syntax-table): Remove var.
10003         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10004         (css-indent-calculate, css-indent-line): Remove functions.
10006         Misc changes to reduce use of `(lambda...); and other cleanups.
10007         * cus-edit.el: Use lexical-binding.
10008         (customize-push-and-save, customize-apropos)
10009         (custom-buffer-create-internal): Use closures.
10010         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10011         * progmodes/ada-xref.el: Use setq.
10012         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10013         * dframe.el: Use lexical-binding.
10014         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
10015         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10016         * descr-text.el: Use lexical-binding.
10017         (describe-text-widget, describe-text-sexp, describe-property-list):
10018         Use closures.
10019         * comint.el (comint-history-isearch-push-state): Use a closure.
10020         * calculator.el: Use lexical-binding.
10021         (calculator-number-to-string): Make it work with lexical-binding.
10022         (calculator-funcall): Same and use cl-letf.
10024         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10025         (lisp--company-doc-string, lisp--company-location): New functions.
10026         (lisp-completion-at-point): Use them to improve Company support.
10028         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10029         params of lambda expressions.
10030         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10031         (ruby-smie--opening-pipe-p): New function.
10032         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10033         symbols and matched |...| for formal params.
10034         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10035         from being treated as hanging.  Handle "rescue".
10037 2013-08-29  Glenn Morris  <rgm@gnu.org>
10039         * progmodes/cc-engine.el (c-pull-open-brace):
10040         Move definition before use.
10042 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10044         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10045         are immutable.  Don't use `unsafe' any more.
10046         (cl--defsubst-expand): Don't substitute at the same time as keeping
10047         a residual unused let-binding.  Don't use `unsafe' any more.
10049 2013-08-29  Glenn Morris  <rgm@gnu.org>
10051         * calendar/cal-china.el (calendar-chinese-year-cache):
10052         Recenter on 2015.
10054         * nxml/nxml-util.el (nxml-debug-clear-inside):
10055         Use cl-loop rather than loop.
10057         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10059         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10061 2013-08-28  Glenn Morris  <rgm@gnu.org>
10063         * progmodes/antlr-mode.el: No need to require cc-mode twice.
10065         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10067         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10069 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10071         * simple.el (repeat-complex-command--called-interactively-skip):
10072         New function.
10073         (repeat-complex-command): Use it (bug#14136).
10075         * progmodes/cc-mode.el: Minor cleanup of var declarations.
10076         (c-define-abbrev-table): Add `doc' argument.
10077         (c-mode-abbrev-table, c++-mode-abbrev-table)
10078         (objc-mode-abbrev-table, java-mode-abbrev-table)
10079         (idl-mode-abbrev-table, pike-mode-abbrev-table)
10080         (awk-mode-abbrev-table): Use it.
10081         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10082         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10083         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10084         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10085         Move initialization into the declaration; and remove any
10086         autoload cookie.
10088         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10089         and dynamic let binding.
10091         * vc/smerge-mode.el: Remove redundant :group args.
10093         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10094         to load-path.
10096 2013-08-28  Juri Linkov  <juri@jurta.org>
10098         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10099         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10100         (isearch-other-meta-char): Handle an undefined shifted printing
10101         character by downshifting it.  (Bug#15200)
10103 2013-08-28  Juri Linkov  <juri@jurta.org>
10105         * isearch.el (isearch-search): Change regexp error message for
10106         non-regexp searches.  (Bug#15166)
10108 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
10110         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10111         for portability to hosts where /bin/sh has problems.
10113 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10115         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10117 2013-08-27  Juri Linkov  <juri@jurta.org>
10119         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10120         in the keyboard macro.  (Bug#15126)
10122 2013-08-27  Juri Linkov  <juri@jurta.org>
10124         * isearch.el (isearch-quote-char): Comment out converting unibyte
10125         to multibyte, thus syncing with its `quoted-insert' counterpart.
10126         (Bug#15166)
10128 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
10130         * window.el (display-buffer-use-some-window): Add missing
10131         argument in call of get-largest-window (Bug#15185).
10132         Reported by Stephen Leake.
10134 2013-08-27  Glenn Morris  <rgm@gnu.org>
10136         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10138 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10140         * progmodes/python.el (python-font-lock-keywords): Don't return nil
10141         from a matcher-function unless there's no more matches (bug#15161).
10143 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
10145         * minibuffer.el: Revert change from 2013-08-20.
10147         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10148         with text property `tramp-default', if appropriate.
10149         (tramp-check-proper-host): New defun.
10150         (tramp-dissect-file-name): Do not check hostname.  Revert change
10151         of 2013-03-18.
10152         (tramp-backtrace): Make VEC-OR-PROC optional.
10154         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10155         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10156         * net/tramp-sh.el (tramp-maybe-open-connection):
10157         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10158         Apply `tramp-check-proper-host'.
10160 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
10162         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10163         lambda expression in order to have `describe-variable' display it.
10165 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
10167         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10168         BUF can be optional.  (Bug#15186)
10170 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
10172         * progmodes/flymake.el (flymake-get-real-file-name-function):
10173         Fix broken customization.  (Bug#15184)
10175 2013-08-25  Alan Mackenzie  <acm@muc.de>
10177         Improve indentation of bracelists defined by macros (without "=").
10179         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10180         expansion begins with "{", regard it as bracelist when it doesn't
10181         contain a ";".
10183         Parse C++ inher-intro when there's a template split over 2 lines.
10185         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10186         rigorously the search for "class" etc. followed by ":".
10188         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10189         random languages a regexp which never matches rather than nil.
10191         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10193         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10194         (c-awk-regexp-one-line-possibly-open-char-list-re)
10195         (c-awk-one-line-possibly-open-regexp-re)
10196         (c-awk-one-line-non-syn-ws*-re): Remove.
10197         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10198         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10199         (c-awk-space*-unclosed-regexp-/-re): New constants.
10200         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10201         aren't regexp delimiters.
10203         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10204         handling for a rare situation in AWK Mode involving unterminated
10205         strings/regexps.
10207 2013-08-23  Glenn Morris  <rgm@gnu.org>
10209         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10211         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10213         * files.el (create-file-buffer): If the result would begin with
10214         spaces, prepend a "|" instead of removing them.  (Bug#15162)
10216 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10218         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10219         text-properties (bug#15155).
10221         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10222         exist any more.
10223         (calc-keypad-redraw): Remove unused var `pad'.
10224         (calc-keypad-press): Remove unused var `menu'.
10226 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
10228         * window.el (display-buffer-pop-up-frame):
10229         Call pop-up-frame-function with BUFFER current so `make-frame' will
10230         use it as the new frame's buffer (Bug#15133).
10232 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10234         * calendar/timeclock.el: Minor cleanups.
10235         (timeclock-ask-before-exiting, timeclock-use-display-time):
10236         Use `symbol'.
10237         (timeclock-modeline-display): Define as alias before the
10238         actual definition.
10239         (timeclock-mode-line-display): Use define-minor-mode.
10240         (timeclock-day-list-template): Make it a function, add an argument.
10241         (timeclock-day-list-required, timeclock-day-list-length)
10242         (timeclock-day-list-debt, timeclock-day-list-span)
10243         (timeclock-day-list-break): Adjust calls accordingly.
10245 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10247         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10248         Use read--expression so that completion works again.
10250 2013-08-21  Sam Steingold  <sds@gnu.org>
10252         Add rudimentary inferior shell interaction
10253         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10254         (sh-set-shell): Reset it.
10255         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10256         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10258 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10260         * align.el: Use lexical-binding.
10261         (align-region): Simplify accordingly.
10263 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
10265         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10267         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10268         `non-essential' up.
10270 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
10272         * net/tramp.el:
10273         * net/tramp-adb.el:
10274         * net/tramp-cmds.el:
10275         * net/tramp-ftp.el:
10276         * net/tramp-gvfs.el:
10277         * net/tramp-gw.el:
10278         * net/tramp-sh.el: Don't wrap external variable declarations by
10279         `eval-when-compile'.
10281 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10283         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10284         now that Emacs supports ImageMagick animations.
10286 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
10288         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10289         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10291 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
10293         * window.el (mouse-autoselect-window-select): Do autoselect when
10294         mouse pointer is on margin.
10296 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
10298         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
10300 2013-08-16  Glenn Morris  <rgm@gnu.org>
10302         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10303         Handle "Remote Directory" response of some clients.  (Bug#15058)
10305         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10306         Tweak warning.  (Bug#14926)
10308         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10309         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
10311         * image-mode.el (image-mode-map): Add menu items to reverse,
10312         increase, decrease, reset animation speed.
10313         (image--set-speed, image-increase-speed, image-decrease-speed)
10314         (image-reverse-speed, image-reset-speed): New functions.
10315         (image-mode-map): Add bindings for speed commands.
10317         * image.el (image-animate-get-speed, image-animate-set-speed):
10318         New functions.
10319         (image-animate-timeout): Respect image :speed property.
10321 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10323         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10324         previous line (bug#15101).
10325         (debugger-eval-expression, debugger-record-expression):
10326         Use read--expression (bug#15102).
10328 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
10330         Remove byte compiler warnings, visible when compiling with
10331         `byte-compile-force-lexical-warnings' set to t.
10333         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10334         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10335         (tramp-handle-unhandled-file-name-directory)
10336         (tramp-handle-file-notify-add-watch, tramp-action-login)
10337         (tramp-action-succeed, tramp-action-permission-denied)
10338         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10339         arguments with "_".
10341         * net/tramp-adb.el (tramp-adb-parse-device-names)
10342         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10343         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10344         (tramp-adb-handle-file-truename): Remove unused arguments.
10346         * net/tramp-cache.el (tramp-flush-directory-property)
10347         (tramp-flush-connection-property, tramp-list-connections)
10348         (tramp-parse-connection-properties): Prefix unused arguments with "_".
10350         * net/tramp-compat.el (tramp-compat-make-temp-file):
10351         Rename FILENAME to F.
10353         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10354         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10355         (tramp-zeroconf-parse-workstation-device-names)
10356         (tramp-zeroconf-parse-webdav-device-names)
10357         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10359         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10360         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10362         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10363         arguments.
10364         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10365         (tramp-sh-handle-insert-file-contents-literally)
10366         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10367         with "_".
10368         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10369         Remove unused variables.
10371         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10372         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10373         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10375         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10376         Make them a defconst.
10377         (tramp-uuencode-region): Remove unused variable.
10379 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
10381         * frameset.el (frameset--prop-setter): New function.
10382         (frameset-prop): Add gv-setter declaration.
10383         (frameset-filter-minibuffer): Deal with the case that the minibuffer
10384         parameter was already set in FILTERED.  Doc fix.
10385         (frameset--record-minibuffer-relationships): Allow saving a
10386         minibufferless frame without its corresponding minibuffer frame.
10387         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10388         frame, if the frame id matches.
10389         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10390         frames before orphaned ones.
10391         (frameset-restore): Warn about orphaned windows, instead of error out.
10393 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
10395         * window.el (window-make-atom): Don't overwrite parameter
10396         already present.
10397         (display-buffer-in-atom-window): Handle special case where we
10398         split an already atomic window.
10399         (window--major-non-side-window, display-buffer-in-side-window)
10400         (window--side-check): Ignore minibuffer window when walking
10401         window tree.
10402         (window-deletable-p): Return 'frame only if no other frame uses
10403         our minibuffer window.
10404         (record-window-buffer): Run buffer-list-update-hook.
10405         (split-window): Make sure window--check-frame won't destroy an
10406         existing atomic window in case the new window gets nested
10407         inside.
10408         (display-buffer-at-bottom): Ignore minibuffer window when
10409         walking window tree.  Don't split a side window.
10410         (pop-to-buffer): Don't set-buffer here, the select-window call
10411         should do that.
10412         (mouse-autoselect-window-select): Autoselect only if we are in the
10413         text portion of the window.
10415 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10417         * net/shr.el (shr-parse-image-data): New function to grab both the
10418         data itself and the Content-Type.
10419         (shr-put-image): Use it.
10421         * net/eww.el (eww-display-image): Ditto.
10423         * image.el (image-content-type-suffixes): New variable.
10425 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10427         * progmodes/python.el (python-imenu--build-tree)
10428         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10430 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
10432         * simple.el (backward-word): Mention the optional argument.
10434 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10436         * frameset.el (frameset--make): Rename constructor from make-frameset.
10437         (frameset-p, frameset-valid-p): Don't autoload.
10438         (frameset-valid-p): Use normal accessors.
10440 2013-08-13  Glenn Morris  <rgm@gnu.org>
10442         * progmodes/compile.el (compile-command): Tweak example in doc.
10443         * obsolete/scribe.el (scribe-mode):
10444         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
10446         * mail/feedmail.el (feedmail-confirm-outgoing)
10447         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10449         * cus-start.el (truncate-partial-width-windows): Fix type.
10451         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10453         * net/shr.el (shr-table-horizontal-line): Fix custom type.
10455 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10457         * emacs-lisp/timer.el (timer--time-setter): New function.
10458         (timer--time): Use it as gv-setter.
10460         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10461         setter is not a symbol.
10463 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
10465         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10466         if sending fails.  This makes debugging easier.
10468 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
10470         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10471         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10472         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10474 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
10476         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10478 2013-08-12  Glenn Morris  <rgm@gnu.org>
10480         * format.el (format-annotate-function):
10481         Handle read-only text properties in the source.  (Bug#14887)
10483 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10485         * net/eww.el (eww-display-html): Ignore coding system errors.
10486         One web site uses "utf-8lias" as the coding system.
10488 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
10490         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10492 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
10494         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10495         (tutorial--detailed-help): Remove unused local variables.
10496         (tutorial--save-tutorial-to): Use ignore-errors.
10497         (help-with-tutorial): Use looking-at-p.
10499         * view.el (view-buffer-other-window, view-buffer-other-frame):
10500         Mark unused arguments.
10502         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10503         (woman-select-symbol-fonts, woman, woman-find-file)
10504         (woman-insert-file-contents, woman-non-underline-faces):
10505         Use string-match-p.
10506         (woman1-unquote): Move declaration.
10508         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10509         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
10510         argument.  Remove unused local variable.
10511         (xml-parse-elem-type): Use string-match-p.
10512         (xml-substitute-numeric-entities): Use ignore-errors.
10514         * calculator.el (calculator): Mark unused argument.
10515         (calculator-paste, calculator-quit, calculator-integer-p):
10516         Use ignore-errors.
10517         (calculator-string-to-number, calculator-decimal, calculator-exp)
10518         (calculator-op-or-exp): Use string-match-p.
10520         * dired.el (dired-buffer-more-recently-used-p): Declare.
10521         (dired-insert-set-properties, dired-insert-old-subdirs):
10522         Use ignore-errors.
10524         * dired-aux.el (dired-compress): Use ignore-errors.
10525         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10526         (dired-do-async-shell-command, dired-do-shell-command)
10527         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10528         (dired-insert-subdir-validate): Use string-match-p.
10529         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10530         (dired-add-entry): Use string-match-p, looking-at-p.
10531         (dired-insert-subdir-newpos): Remove unused local variable.
10533         * filenotify.el (file-notify-callback): Remove unused local variable.
10535         * filesets.el (filesets-error): Mark unused argument.
10536         (filesets-which-command-p, filesets-filter-dir-names)
10537         (filesets-directory-files, filesets-get-external-viewer)
10538         (filesets-ingroup-get-data): Use string-match-p.
10540         * find-file.el (ff-other-file-name, ff-other-file-name)
10541         (ff-find-the-other-file, ff-cc-hh-converter):
10542         Remove unused local variables.
10543         (ff-get-file-name): Use string-match-p.
10544         (ff-all-dirs-under): Use ignore-errors.
10546         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10547         (follow-select-if-visible): Remove unused local variable.
10549         * forms.el (read-file-filter): Move declaration.
10550         (forms--make-format, forms--make-parser, forms-insert-record):
10551         Quote function with #'.
10552         (forms--update): Use string-match-p.  Quote function with #'.
10554         * help-mode.el (help-dir-local-var-def): Mark unused argument.
10555         (help-make-xrefs): Use looking-at-p.
10556         (help-xref-on-pp): Use looking-at-p, ignore-errors.
10558         * ibuffer.el (ibuffer-ext-visible-p): Declare.
10559         (ibuffer-confirm-operation-on): Use string-match-p.
10561         * msb.el (msb-item-handler, msb-dired-item-handler):
10562         Mark unused arguments.
10564         * ses.el (ses-decode-cell-symbol)
10565         (ses-kill-override): Remove unused local variable.
10566         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10567         (ses-load): Use ignore-errors, looking-at-p.
10568         (ses-jump-safe): Use ignore-errors.
10569         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10571         * tabify.el (untabify, tabify): Mark unused arguments.
10573         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10574         Mark unused argument.
10575         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10576         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10578         * emacs-lisp/timer.el (timer--time): Define setter with
10579         gv-define-setter to avoid deprecation warning.
10581         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10582         (*record-cmpl-statistics-p*): Remove (was commented out).
10583         (cmpl-statistics-block): Remove (body was commented out).
10584         All callers changed.
10585         (add-completions-from-buffer, load-completions-from-file):
10586         Remove unused variables.
10588 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
10590         * filecache.el (file-cache-delete-file-list):
10591         Print message only when told so.
10592         (file-cache-files-matching): Use #' in mapconcat argument.
10594         * ffap.el (ffap-url-at-point): Fix reference to variable
10595         thing-at-point-default-mail-uri-scheme.
10597 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10599         * subr.el (define-error): New function.
10600         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10601         error-file-not-found and define with define-error.
10602         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10603         and define with define-error.
10604         * userlock.el (file-locked, file-supersession):
10605         * simple.el (mark-inactive):
10606         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10607         * progmodes/ada-mode.el (ada-mode-errors):
10608         * play/life.el (life-extinct):
10609         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10610         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10611         * nxml/rng-util.el (rng-error):
10612         * nxml/rng-uri.el (rng-uri-error):
10613         * nxml/rng-match.el (rng-compile-error):
10614         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10615         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10616         * nxml/nxml-rap.el (nxml-scan-error):
10617         * nxml/nxml-outln.el (nxml-outline-error):
10618         * net/soap-client.el (soap-error):
10619         * net/gnutls.el (gnutls-error):
10620         * net/ange-ftp.el (ftp-error):
10621         * mpc.el (mpc-proc-error):
10622         * json.el (json-error, json-readtable-error, json-unknown-keyword)
10623         (json-number-format, json-string-escape, json-string-format)
10624         (json-key-format, json-object-format):
10625         * jka-compr.el (compression-error):
10626         * international/quail.el (quail-error):
10627         * international/kkc.el (kkc-error):
10628         * emacs-lisp/ert.el (ert-test-failed):
10629         * calc/calc.el (calc-error, inexact-result, math-overflow)
10630         (math-underflow):
10631         * bookmark.el (bookmark-error-no-filename):
10632         * epg.el (epg-error): Define with define-error.
10634         * time.el (display-time-event-handler)
10635         (display-time-next-load-average): Don't call sit-for since it seems
10636         unnecessary (bug#15045).
10638         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10639         Use #' instead of ' to quote functions.
10640         (checkdoc-output-mode): Use setq-local.
10641         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10642         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10643         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10644         (checkdoc-ispell, checkdoc-ispell-current-buffer)
10645         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10646         (checkdoc-ispell-message-text, checkdoc-ispell-start)
10647         (checkdoc-ispell-continue, checkdoc-ispell-comments)
10648         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10650         * ido.el (ido-completion-help): Fix up compiler warning.
10652 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
10654         * frameset.el (frameset-p): Add autoload cookie.
10655         (frameset--jump-to-register): New function, based on code moved from
10656         register.el.
10657         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
10659         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10660         (frameset-restore, frameset-save, frameset-session-filter-alist):
10661         Remove declarations.
10662         (register-alist): Doc fix.
10663         (frameset-to-register): Move to frameset.el.
10664         (jump-to-register, describe-register-1): Remove frameset-specific code.
10666 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10668         * allout-widgets.el (allout-widgets-pre-command-business)
10669         (allout-widgets-post-command-business)
10670         (allout-widgets-after-change-handler)
10671         (allout-decorate-item-and-context, allout-set-boundary-marker)
10672         (allout-body-modification-handler)
10673         (allout-graphics-modification-handler): Mark ignored arguments.
10674         (allout-widgets-post-command-business)
10675         (allout-widgets-exposure-change-processor)
10676         (allout-widgets-exposure-undo-processor)
10677         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10678         (allout-parse-item-at-point, allout-decorate-item-guides)
10679         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10680         * allout.el (epa-passphrase-callback-function): Declare.
10681         (allout-overlay-insert-in-front-handler)
10682         (allout-overlay-interior-modification-handler)
10683         (allout-isearch-end-handler, allout-chart-siblings)
10684         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10685         (allout-yank-processing, allout-process-exposed)
10686         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10687         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10688         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10689         (lisp-indent-defform): Mark ignored arguments.
10690         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
10691         (calculate-lisp-indent): Remove unused variables.
10692         * international/characters.el (indian-2-column, arabic-2-column)
10693         (tibetan): Mark ignored arguments.
10694         (use-cjk-char-width-table): Mark ignored arguments.
10695         Remove unused variables.
10696         * international/fontset.el (build-default-fontset-data)
10697         (x-compose-font-name, create-fontset-from-fontset-spec):
10698         Mark ignored arguments.
10699         (fontset-plain-name): Remove unused variables.
10700         * international/mule.el (charset-id, charset-bytes, generic-char-p)
10701         (keyboard-coding-system): Mark ignored arguments.
10702         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
10703         * help.el (resize-temp-buffer-window):
10704         * window.el (display-buffer-in-major-side-window)
10705         (display-buffer-in-side-window, display-buffer-in-previous-window):
10706         Remove unused variables.
10707         * isearch.el (isearch-forward-symbol):
10708         * version.el (emacs-bzr-version-bzr):
10709         * international/mule-cmds.el (current-language-environment):
10710         * term/common-win.el (x-handle-iconic, x-handle-geometry)
10711         (x-handle-display):
10712         * term/pc-win.el (x-list-fonts, x-display-planes)
10713         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10714         (x-server-version, x-display-screens, x-display-mm-height)
10715         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10716         (x-selection-owner-p, x-own-selection-internal)
10717         (x-disown-selection-internal, x-get-selection-internal)
10718         (msdos-initialize-window-system):
10719         * term/tty-colors.el (tty-color-alist, tty-color-clear):
10720         * term/x-win.el (x-handle-no-bitmap-icon):
10721         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10722         (vc-default-find-file-hook, vc-default-extra-menu):
10723         Mark ignored arguments.
10725 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10727         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10728         break-condition in the context of the debugged code (bug#12685).
10730 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
10732         * comint.el:
10733         Do not use an overlay to highlight the last prompt.  (Bug#14744)
10734         (comint-mode): Make comint-last-prompt buffer local.
10735         (comint-last-prompt): New variable.
10736         (comint-last-prompt-overlay): Remove.  Superseded by
10737         comint-last-prompt.
10738         (comint-snapshot-last-prompt, comint-output-filter):
10739         Use comint-last-prompt.
10741 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10743         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
10744         (frameset-save): Check validity of the resulting frameset.
10746 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
10748         * ido.el (ido-record-command): Add doc string.
10750 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10752         * frameset.el (frameset): Do not disable creation of the default
10753         frameset-p predicate.  Doc fix.
10754         (frameset-valid-p): New function, copied from the old predicate-p.
10755         Add additional checks.
10756         (frameset-restore): Check with frameset-valid-p.
10757         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10758         (frameset-name, frameset-description, frameset-properties)
10759         (frameset-states): Add docstring.
10760         (frameset-session-filter-alist, frameset-persistent-filter-alist)
10761         (frameset-filter-alist): Doc fixes.
10763 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10765         * frameset.el (frameset-p, frameset-prop): Doc fixes.
10767 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10769         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10770         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10771         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10772         (byte-compile-normal-call): Remove obsolescence check.
10774 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10776         * frameset.el (frameset-restore): Doc fix.
10778         * register.el (frameset-frame-id, frameset-frame-with-id)
10779         (frameset-p, frameset-restore, frameset-save): Declare.
10780         (register-alist): Document framesets.
10781         (frameset-session-filter-alist): Declare.
10782         (frameset-to-register): New function.
10783         (jump-to-register): Implement jumping to framesets.  Doc fix.
10784         (describe-register-1): Describe framesets.
10786         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10788 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
10790         * desktop.el (desktop-save-frameset): Use new frameset-save args.
10791         Use lexical-binding.
10793         * frameset.el (frameset): Use type vector, not list (incompatible
10794         change).  Do not declare a new constructor, use the default one.
10795         Upgrade suggested properties `app', `name' and `desc' to slots `app',
10796         `name' and `description', respectively, and add read-only slot
10797         `timestamp'.  Doc fixes.
10798         (frameset-copy, frameset-persistent-filter-alist)
10799         (frameset-filter-alist, frameset-switch-to-gui-p)
10800         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10801         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10802         (frameset-filter-iconified, frameset-keep-original-display-p):
10803         Doc fixes.
10804         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10805         Rename from frameset-filter-(save|restore)-param.  All callers changed.
10806         Doc fix.
10807         (frameset-p): Adapt to change to vector and be more thorough.
10808         Change arg name to OBJECT.  Doc fix.
10809         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
10810         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10811         All callers changed.
10812         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10813         All callers changed.
10814         (frameset--record-minibuffer-relationships): Rename from
10815         frameset--process-minibuffer-frames.  All callers changed.
10816         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10817         Use new default constructor (again).  Doc fix.
10818         (frameset--find-frame-if): Rename from `frameset--find-frame'.
10819         All callers changed.
10820         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10821         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10822         Doc fix.
10823         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10824         PARAMETERS and WINDOW-STATE, respectively.
10825         (frameset-restore): Add new keyword argument PREDICATE.
10826         Reset frameset--target-display to nil.  Doc fix.
10828 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10830         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10831         (bat-mode): Use it.
10832         (bat-mode-syntax-table): Mark \n as end-of-comment.
10833         (bat-font-lock-keywords): Remove comment rule.
10835         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
10836         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
10838         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10839         (byte-compile-callargs-warn): Use `push'.
10840         (byte-compile-arglist-warn): Ignore higher-order "calls".
10841         (byte-compile-file-form-autoload): Use `pcase'.
10842         (byte-compile-function-form): If quoting a symbol, check that it exists.
10844 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
10846         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10847         and add a few popular commands found in batch files.
10848         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10849         (dos-mode): Doc fixes.
10851 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10853         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10854         (dos-mode): Use setq-local.  Add space after "rem".
10855         (dos-mode-syntax-table): Don't use "w" for symbol chars.
10856         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10858 2013-08-07  Arni Magnusson  <arnima@hafro.is>
10860         * progmodes/dos.el: New file.
10861         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10862         dos-mode.
10864 2013-08-06  Glenn Morris  <rgm@gnu.org>
10866         * calendar/calendar.el: Add new faces, and day-header-array.
10867         (calendar-weekday-header, calendar-weekend-header)
10868         (calendar-month-header): New faces.
10869         (calendar-day-header-construct): New function.
10870         (calendar-day-header-width): Also :set calendar-day-header-array.
10871         (calendar-american-month-header, calendar-european-month-header)
10872         (calendar-iso-month-header): Use calendar- faces.
10873         (calendar-generate-month):
10874         Use calendar-day-header-array for day headers; apply faces to them.
10875         (calendar-mode): Check calendar-font-lock-keywords non-nil.
10876         (calendar-abbrev-construct): Add optional maxlen argument.
10877         (calendar-day-name-array): Doc fix.
10878         (calendar-day-name-array, calendar-abbrev-length)
10879         (calendar-day-abbrev-array):
10880         Also :set calendar-day-header-array, and maybe redraw.
10881         (calendar-day-header-array): New option.  (Bug#15007)
10882         (calendar-font-lock-keywords): Set to nil and make obsolete.
10883         (calendar-day-name): Add option to use header array.
10885 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10887         * net/shr.el (shr-render-td): Remove debugging.
10888         (shr-render-td): Make width computation consistent by defaulting
10889         all zero-width columns to 10 characters.  This may not be optimal,
10890         but it's at least consistent.
10891         (shr-make-table-1): Redo last change to fix the real problem in
10892         colspan handling.
10894 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
10896         * files.el (cache-long-line-scans):
10897         Make obsolete alias to `cache-long-scans'.
10899 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
10901         * frameset.el (frameset, frameset-filter-alist)
10902         (frameset-filter-params, frameset-save, frameset--reuse-frame)
10903         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10904         (frameset-compute-pos): Rename from frameset--compute-pos,
10905         and add docstring.
10906         (frameset-move-onscreen): Use frameset-compute-pos.
10907         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10909         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10910         Fix typos in docstrings.
10912 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
10914         * frame.el (get-other-frame): Tiny cleanup.
10916 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
10918         * vc/vc.el (vc-default-ignore-completion-table):
10919         Silence byte-compiler warning.
10921         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10922         slot, which can indeed be nil.
10923         (frameset-live-filter-alist, frameset-persistent-filter-alist):
10924         Move entry for `left' from persistent to live filter alist.
10925         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10926         Doc fixes.
10927         (frameset-filter-params): When restoring a frame, copy items added to
10928         `filtered', to avoid unwittingly modifying the original parameters.
10929         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
10930         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10932         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10933         to use looking-at-p instead of looking-at.  (Bug#15028)
10935 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10937         Revert introduction of isearch-filter-predicates (bug#14714).
10938         Rely on add-function instead.
10939         * isearch.el (isearch-filter-predicates): Rename it back to
10940         isearch-filter-predicate.
10941         (isearch-message-prefix): Use advice-function-mapc and advice
10942         properties to get the isearch-message-prefix.
10943         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10944         instead of run-hook-with-args-until-failure.
10945         (isearch-filter-visible): Not obsolete any more.
10946         * loadup.el: Preload nadvice.
10947         * replace.el (perform-replace): Revert to funcall
10948         instead of run-hook-with-args-until-failure.
10949         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10950         * dired-aux.el (dired-isearch-filenames-mode): Rename from
10951         dired-isearch-filenames-toggle; make it into a proper minor mode.
10952         Use add/remove-function.
10953         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10954         Call the minor-mode rather than add/remove-hook.
10955         (dired-isearch-filter-filenames):
10956         Remove isearch-message-prefix property.
10957         * info.el (Info--search-loop): New function, extracted from Info-search.
10958         Funcall isearch-filter-predicate instead of
10959         run-hook-with-args-until-failure isearch-filter-predicates.
10960         (Info-search): Use it.
10961         (Info-mode): Use isearch-filter-predicate instead of
10962         isearch-filter-predicates.
10964 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
10966         Do not call to `selected-window' where it is assumed by default.
10967         Affected functions are `window-minibuffer-p', `window-dedicated-p',
10968         `window-hscroll', `window-width', `window-height', `window-buffer',
10969         `window-frame', `window-start', `window-point', `next-window'
10970         and `window-display-table'.
10971         * abbrev.el (abbrev--default-expand):
10972         * bs.el (bs--show-with-configuration):
10973         * buff-menu.el (Buffer-menu-mouse-select):
10974         * calc/calc.el (calc):
10975         * calendar/calendar.el (calendar-generate-window):
10976         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10977         (diary-make-entry):
10978         * comint.el (send-invisible, comint-dynamic-complete-filename)
10979         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10980         * completion.el (complete):
10981         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10982         * disp-table.el (describe-current-display-table):
10983         * doc-view.el (doc-view-insert-image):
10984         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10985         * ehelp.el (with-electric-help):
10986         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10987         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10988         * emacs-lisp/helper.el (Helper-help-scroller):
10989         * emulation/cua-base.el (cua--post-command-handler-1):
10990         * eshell/esh-mode.el (eshell-output-filter):
10991         * ffap.el (ffap-gnus-wrapper):
10992         * help-macro.el (make-help-screen):
10993         * hilit-chg.el (highlight-compare-buffers):
10994         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10995         * hl-line.el (global-hl-line-highlight):
10996         * icomplete.el (icomplete-simple-completing-p):
10997         * isearch.el (isearch-done):
10998         * jit-lock.el (jit-lock-stealth-fontify):
10999         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11000         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11001         * mpc.el (mpc-tagbrowser, mpc):
11002         * net/rcirc.el (rcirc-any-buffer):
11003         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11004         * play/landmark.el (landmark-max-width, landmark-max-height):
11005         * play/zone.el (zone):
11006         * progmodes/compile.el (compilation-goto-locus):
11007         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11008         * progmodes/etags.el (find-tag-other-window):
11009         * progmodes/fortran.el (fortran-column-ruler):
11010         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11011         * progmodes/verilog-mode.el (verilog-point-text):
11012         * reposition.el (reposition-window):
11013         * rot13.el (toggle-rot13-mode):
11014         * server.el (server-switch-buffer):
11015         * shell.el (shell-dynamic-complete-command)
11016         (shell-dynamic-complete-environment-variable):
11017         * simple.el (insert-buffer, set-selective-display)
11018         (delete-completion-window):
11019         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11020         (speedbar-recenter):
11021         * startup.el (fancy-splash-head):
11022         * textmodes/ispell.el (ispell-command-loop):
11023         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11024         * tutorial.el (help-with-tutorial):
11025         * vc/add-log.el (add-change-log-entry):
11026         * vc/compare-w.el (compare-windows):
11027         * vc/ediff-help.el (ediff-indent-help-message):
11028         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11029         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11030         (ediff-setup-control-frame):
11031         * vc/emerge.el (emerge-position-region):
11032         * vc/pcvs-util.el (cvs-bury-buffer):
11033         * window.el (walk-windows, mouse-autoselect-window-select):
11034         * winner.el (winner-set-conf, winner-undo): Related users changed.
11036 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
11038         * frameset.el (frameset--set-id): Doc fix.
11039         (frameset-frame-id, frameset-frame-id-equal-p)
11040         (frameset-locate-frame-id): New functions.
11041         (frameset--process-minibuffer-frames, frameset--reuse-frame)
11042         (frameset-restore): Use them.
11044 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
11046         Do not call to `selected-frame' where it is assumed by default.
11047         Affected functions are `raise-frame', `redraw-frame',
11048         `frame-first-window', `frame-terminal' and `delete-frame'.
11049         * calendar/appt.el (appt-disp-window):
11050         * epg.el (epg-wait-for-completion):
11051         * follow.el (follow-delete-other-windows-and-split)
11052         (follow-avoid-tail-recenter):
11053         * international/mule.el (set-terminal-coding-system):
11054         * mail/rmail.el (rmail-mail-return):
11055         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11056         * progmodes/f90.el (f90-add-imenu-menu):
11057         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11058         * server.el (server-switch-buffer):
11059         * simple.el (delete-completion-window):
11060         * talk.el (talk):
11061         * term/xterm.el (terminal-init-xterm-modify-other-keys)
11062         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11063         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11064         * vc/ediff.el (ediff-documentation): Related users changed.
11065         * frame.el (selected-terminal): Remove the leftover.
11067 2013-08-05  Glenn Morris  <rgm@gnu.org>
11069         * calendar/calendar.el (calendar-generate-month):
11070         Fix for calendar-column-width != 1 + calendar-day-digit-width.
11071         (calendar-generate-month, calendar-font-lock-keywords):
11072         Fix for calendar-day-header-width > length of any day name.
11074 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
11076         * desktop.el (desktop-clear): Use new name of sort predicate.
11078         * frameset.el (frameset): Add docstring.  Move :version property to its
11079         own `version' slot.
11080         (frameset-copy): Rename from copy-frameset.
11081         (frameset-p): Check more thoroughly.
11082         (frameset-prop): Do not check for :version, which is no longer a prop.
11083         (frameset-live-filter-alist, frameset-persistent-filter-alist):
11084         Use new :never value instead of t.
11085         (frameset-filter-alist): Expand and clarify docstring.
11086         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11087         (frameset-filter-minibuffer, frameset-filter-save-param)
11088         (frameset-filter-restore-param, frameset-filter-iconified):
11089         Add pointer to docstring of frameset-filter-alist.
11090         (frameset-filter-params): Rename filter values to be more meaningful:
11091         :never instead of t, and reverse the meanings of :save and :restore.
11092         (frameset--process-minibuffer-frames): Clarify error message.
11093         (frameset-save): Avoid unnecessary and confusing call to framep.
11094         Use new BOA constructor for framesets.
11095         (frameset--reuse-list): Doc fix.
11096         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
11097         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11098         (frameset-minibufferless-first-p): Doc fix.
11099         Rename from frameset-sort-frames-for-deletion.
11100         (frameset-restore): Doc fixes.  Use new function names.
11101         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11103 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
11105         * desktop.el (desktop-restore-forces-onscreen)
11106         (desktop-restore-reuses-frames): Document :keyword constant values.
11107         (desktop-filter-parameters-alist): Remove, now identical to
11108         frameset-filter-alist.
11109         (desktop--filter-tty*): Remove, moved to frameset.el.
11110         (desktop-save-frameset, desktop-restore-frameset):
11111         Do not pass :filters argument.
11113         * frameset.el (frameset-live-filter-alist)
11114         (frameset-persistent-filter-alist): New variables.
11115         (frameset-filter-alist): Use them.  Add autoload cookie.
11116         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11117         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11118         `frameset--id' (it's supposed to be internal to frameset.el).
11119         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
11120         (frameset--initial-params): New function.
11121         (frameset--get-frame): Use it.  Doc fix.
11122         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11123         Accept :all, not 'all.
11124         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11125         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
11126         with fbound symbols.  Fix frame id matching, and remove matching ids if
11127         the frame being restored is deleted.  Obey :delete.
11129 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11131         * subr.el (macrop): New function.
11132         (text-clone--maintaining): New var.
11133         (text-clone--maintain): Rename from text-clone-maintain.  Use it
11134         instead of inhibit-modification-hooks.
11136         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11137         a proxy, so as handle autoloads and redefinitions of the target.
11138         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11140         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11141         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
11142         (pcase--mutually-exclusive-p): New function.
11143         (pcase--split-consp): Use it.
11144         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
11145         mutually exclusive with the current predicate.
11147         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11148         (edebug-macrop): Remove.  Use `macrop' instead.
11149         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
11150         (ad-macro-p):
11151         * eshell/esh-cmd.el (eshell-macrop):
11152         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
11154 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11156         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11157         (advice-mapc): New function, using it.
11158         (advice-function-member-p): New function.
11159         (advice--normalize): Store the cdr in advice--saved-rewrite since
11160         that's the part that will be changed.
11161         (advice--symbol-function): New function.
11162         (advice-remove): Handle removal before the function is defined.
11163         Adjust to new advice--saved-rewrite.
11164         (advice-member-p): Use advice-function-member-p and
11165         advice--symbol-function.
11167 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
11169         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11170         (frameset-filter-minibuffer): Doc fix.
11171         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
11172         (frameset--set-id, frameset--process-minibuffer-frames)
11173         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11174         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11176         * desktop.el (desktop-clear): Only delete frames when called
11177         interactively and desktop-restore-frames is non-nil.  Doc fix.
11178         (desktop-read): Set desktop-saved-frameset to nil.
11180 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
11182         * vc/vc.el (vc-ignore): Rewrite.
11183         (vc-default-ignore-completion-table, vc--read-lines)
11184         (vc--add-line, vc--remove-regexp): New functions.
11186         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11187         (vc-svn-ignore-completion-table): New function.
11189         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11190         (vc-hg-ignore-completion-table)
11191         (vc-hg-find-ignore-file): New functions.
11193         * vc/vc-git.el (vc-git-ignore): Rewrite.
11194         (vc-git-ignore-completion-table)
11195         (vc-git-find-ignore-file): New functions.
11197         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11199         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11200         (vc-bzr-ignore-completion-table)
11201         (vc-bzr-find-ignore-file): New functions.
11203 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
11205         * frameset.el (frameset-prop): New function and setter.
11206         (frameset-save): Do not modify frame list passed by the caller.
11208 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11210         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11212 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11214         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11215         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11217         * custom.el (custom-initialize-default, custom-initialize-set)
11218         (custom-initialize-reset, custom-initialize-changed): Affect the
11219         toplevel-default-value (bug#6275, bug#14586).
11220         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11221         for bug#6275.
11223 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
11225         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11226         Add cl-def* expressions.
11228         * frameset.el (frameset-filter-params): Fix order of arguments.
11230 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
11232         Move code related to saving frames to frameset.el.
11233         * desktop.el: Require frameset.
11234         (desktop-restore-frames): Doc fix.
11235         (desktop-restore-reuses-frames): Rename from
11236         desktop-restoring-reuses-frames.
11237         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11238         (desktop-clear): Clear frames too.
11239         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11240         (desktop--filter-tty*, desktop-save, desktop-read):
11241         Use frameset functions.
11242         (desktop-before-saving-frames-functions, desktop--filter-*-color)
11243         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11244         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11245         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11246         (desktop--process-minibuffer-frames, desktop-save-frames)
11247         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11248         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11249         (desktop--sort-states, desktop-restoring-frames-p)
11250         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
11251         (desktop-restoring-frameset-p, desktop-restore-frameset)
11252         (desktop--check-dont-save, desktop-save-frameset): New functions.
11253         (desktop--app-id): New constant.
11254         (desktop-first-buffer, desktop-buffer-ok-count)
11255         (desktop-buffer-fail-count): Move before first use.
11256         * frameset.el: New file.
11258 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11260         * files.el: Use lexical-binding.
11261         (dir-locals-read-from-file): Remove unused `err' variable.
11262         (hack-dir-local-variables--warned-coding): New var.
11263         (hack-dir-local-variables): Use it to avoid repeated warnings.
11264         (make-backup-file-name--default-function): New function.
11265         (make-backup-file-name-function): Use it as default.
11266         (buffer-stale--default-function): New function.
11267         (buffer-stale-function): Use it as default.
11268         (revert-buffer-insert-file-contents--default-function): New function.
11269         (revert-buffer-insert-file-contents-function): Use it as default.
11270         (insert-directory): Avoid add-to-list.
11272         * autorevert.el (auto-revert-handler): Simplify.
11273         Use buffer-stale--default-function.
11275 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
11277         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11279         * whitespace.el (whitespace-ensure-local-variables): New function.
11280         (whitespace-cleanup-region): Call it.
11281         (whitespace-turn-on): Call it.
11283 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
11285         Complete file name handlers.
11287         * net/tramp.el (tramp-handle-set-visited-file-modtime)
11288         (tramp-handle-verify-visited-file-modtime)
11289         (tramp-handle-file-notify-rm-watch): New functions.
11290         (tramp-call-process): Do not bind `default-directory'.
11292         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11293         Order alphabetically.
11294         <access-file, add-name-to-file, dired-call-process>:
11295         <dired-compress-file, file-acl, file-notify-rm-watch>:
11296         <file-ownership-preserved-p, file-selinux-context>:
11297         <make-directory-internal, make-symbolic-link, set-file-acl>:
11298         <set-file-selinux-context, set-visited-file-modtime>:
11299         <verify-visited-file-modtime>: Add handler.
11300         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11302         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11303         <file-notify-add-watch, file-notify-rm-watch>:
11304         <set-file-times, set-visited-file-modtime>:
11305         <verify-visited-file-modtime>: Add handler.
11306         (with-tramp-gvfs-error-message)
11307         (tramp-gvfs-handle-set-visited-file-modtime)
11308         (tramp-gvfs-fuse-file-name): Remove.
11309         (tramp-gvfs-handle-file-notify-add-watch)
11310         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11311         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11313         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11314         Order alphabetically.
11315         <file-notify-rm-watch>: Use default Tramp handler.
11316         <executable-find>: Remove private handler.
11317         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11318         `default-directory'.
11319         (tramp-sh-handle-executable-find)
11320         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11321         (tramp-sh-file-gvfs-monitor-dir-process-filter)
11322         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11323         Do not use `format' in `tramp-message'.
11325         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11326         <file-notify-rm-watch, set-visited-file-modtime>:
11327         <verify-visited-file-modtime>: Add handler.
11328         (tramp-smb-call-winexe): Do not bind `default-directory'.
11330 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
11332         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11334 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
11336         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11337         use it.
11338         (log-view-diff-changeset): Same.
11339         (log-view-diff-common): Call backend command `previous-revision'
11340         to find out the previous revision, in both cases.  Swap the
11341         variables `to' and `fr', so that `fr' usually refers to the
11342         earlier revision (Bug#14989).
11344 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
11346         * ibuf-ext.el (ibuffer-filter-by-filename):
11347         Make it work with dired buffers too.
11349 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
11351         * emacs-lisp/re-builder.el (reb-color-display-p):
11352         * files.el (save-buffers-kill-terminal):
11353         * net/browse-url.el (browse-url):
11354         * server.el (server-save-buffers-kill-terminal):
11355         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11356         Prefer nil to selected-frame for the first arg of frame-parameter.
11358 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
11360         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11362 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
11364         * minibuffer.el (completion--twq-all): Try and preserve each
11365         completion's case choice (bug#14907).
11367 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11369         * net/network-stream.el (open-network-stream): Mention the new
11370         :nogreeting parameter.
11371         (network-stream-open-starttls): Use the :nogreeting parameter
11372         (bug#14938).
11374         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11376         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11377         more natural than popping.
11379         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11380         (shr-urlify): Highlight under mouse.
11382 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
11384         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11386         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11388         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
11389         buffer for output.
11391         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
11392         point-min==1.  Fix search string.  Fix parentheses missing.
11394         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
11395         assume point-min==1.  Fix search string.  Fix parentheses missing.
11397         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11399         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
11400         buffer for output.
11402 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
11404         * frame.el (frame-notice-user-settings): Avoid inflooping when the
11405         initial frame is minibuffer-less.  (Bug#14841)
11407 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
11409         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11410         option.
11412         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11413         (tramp-maybe-open-connection): Use it.
11415 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
11417         * desktop.el (desktop--make-frame): Include `minibuffer' in the
11418         minimal set of parameters passed when creating a frame, because
11419         the minibuffer status of a frame cannot be changed later.
11421 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
11423         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11424         replace-regexp-in-string and inadvertent omissions in previous change.
11425         (todo-filter-items): Ensure only file names are comma-separated in
11426         name of filtered items buffer.
11428 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
11430         * desktop.el: Optionally force offscreen frames back onscreen.
11431         (desktop-restoring-reuses-frames): New option.
11432         (desktop--compute-pos, desktop--move-onscreen): New functions.
11433         (desktop--make-frame): Use desktop--move-onscreen.
11435 2013-07-27  Alan Mackenzie  <acm@muc.de>
11437         Fontify a Java generic method as a function.
11438         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11439         value to t.
11441 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
11443         * calendar/todo-mode.el: Add command to rename todo files.
11444         (todo-rename-file): New command.
11445         (todo-key-bindings-t): Add key binding for it.  Change the
11446         bindings of todo-filter-regexp-items(-multifile) to use `x'
11447         instead of `r', since the latter is better suited to the new
11448         renaming command.
11450 2013-07-27  Alan Mackenzie  <acm@muc.de>
11452         Make Java try-with-resources statement parse properly.
11453         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11454         (c-block-stmt-1-2-key): New language constants/variables.
11455         * progmodes/cc-engine.el (c-beginning-of-statement-1)
11456         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11457         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11458         with c-block-stmt-1-2-key.
11460 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
11462         * desktop.el (desktop--make-frame): Apply most frame parameters after
11463         creating the frame to force (partially or totally) offscreen frames to
11464         be restored as such.
11466 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
11468         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11469         (Bug#14948)
11471 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11473         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11474         `base' arg of backtrace-frame.
11476 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
11478         * simple.el (list-processes): Doc fix.
11480 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
11482         * desktop.el (desktop--select-frame):
11483         Try harder to reuse existing frames.
11485 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11487         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11488         (edebug-eval): Use backtrace-eval.
11489         (edebug--display, edebug--recursive-edit): Don't let-bind the
11490         edebug-outer-* vars that keep track of variables we locally let-bind.
11491         (edebug-outside-excursion): Don't restore outside values of locally
11492         let-bound vars.
11493         (edebug--display): Use user-error.
11494         (cl-lexical-debug, cl-debug-env): Remove.
11496 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
11498         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11499         are restored to be sure that they are visible before deleting any
11500         remaining ones.
11502 2013-07-26  Matthias Meulien  <orontee@gmail.com>
11504         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11505         vc-print-root-log.  (Bug#14948)
11507 2013-07-26  Richard Stallman  <rms@gnu.org>
11509         Add aliases for encrypting mail.
11510         * epa.el (epa-mail-aliases): New option.
11511         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11512         Bind inhibit-read-only so read-only text doesn't ruin everything.
11513         (epa-mail-default-recipients): New subroutine broken out.
11514         Handle epa-mail-aliases.
11516 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11518         Add support for lexical variables to the debugger's `e' command.
11519         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11520         vars, except for debugger-outer-match-data.
11521         (debugger-frame-number): Move check for "on a function call" from
11522         callers into it.  Add `skip-base' argument.
11523         (debugger-frame, debugger-frame-clear): Simplify accordingly.
11524         (debugger-env-macro): Only reset the state stored in non-variables,
11525         i.e. current-buffer and match-data.
11526         (debugger-eval-expression): Rewrite using backtrace-eval.
11527         * subr.el (internal--called-interactively-p--get-frame): Remove.
11528         (called-interactively-p):
11529         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11530         `base' arg of backtrace-frame instead.
11532 2013-07-26  Glenn Morris  <rgm@gnu.org>
11534         * align.el (align-regexp): Doc fix.  (Bug#14857)
11535         (align-region): Explicit error if subexpression missing/does not match.
11537         * simple.el (global-visual-line-mode):
11538         Do not duplicate the mode lighter.  (Bug#14858)
11540 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
11542         * window.el (display-buffer): In display-buffer bind
11543         split-window-keep-point to t, bug#14829.
11545 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
11547         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11548         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11549         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11550         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11551         Change accordingly.
11552         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11553         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11555 2013-07-25  Glenn Morris  <rgm@gnu.org>
11557         * dired-x.el (dired-mark-extension): Convert comment to doc string.
11559 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
11561         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11562         parameter to modify-frame-parameters if the value has not changed;
11563         this is a workaround for bug#14949.
11564         (desktop--make-frame): On cl-delete-if call, check parameter name,
11565         not full parameter.
11567 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
11569         * vc/vc.el (vc-ignore): New function.
11571         * vc/vc-svn.el (vc-svn-ignore): New function.
11573         * vc/vc-hg.el (vc-hg-ignore): New function.
11575         * vc/vc-git.el (vc-git-ignore): New function.
11577         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11578         (vc-dir-ignore): New function.
11580         * vc/vc-cvs.el (vc-cvs-ignore): New function.
11581         (cvs-append-to-ignore): Move here from pcvs.el.
11583         * vc/vc-bzr.el (vc-bzr-ignore): New function.
11585         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11587 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
11589         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11590         (desktop-restore-frames): Warn when deleting an existing frame failed.
11592 2013-07-24  Glenn Morris  <rgm@gnu.org>
11594         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
11596 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
11598         * filenotify.el (file-notify-supported-p):
11599         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11600         Remove functions.
11602         * autorevert.el (auto-revert-use-notify)
11603         (auto-revert-notify-add-watch):
11604         * net/tramp.el (tramp-file-name-for-operation):
11605         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11606         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11607         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11608         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11609         Remove `file-notify-supported-p' entry.
11611 2013-07-24  Glenn Morris  <rgm@gnu.org>
11613         * printing.el: Replace all uses of deleted ps-windows-system,
11614         ps-lp-system, ps-flatten-list with lpr- versions.
11616 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11618         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11619         checked with memq (bug#14935).
11621         * files.el (revert-buffer-function): Use a non-nil default.
11622         (revert-buffer-preserve-modes): Declare var to
11623         provide access to the `preserve-modes' argument.
11624         (revert-buffer): Let-bind it.
11625         (revert-buffer--default): New function, extracted from revert-buffer.
11627 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11629         * lpr.el: Signal print errors more prominently.
11630         (print-region-function): Don't default to nil.
11631         (lpr-print-region): New function, extracted from print-region-1.
11632         Check lpr's return value and signal an error in case of problem.
11633         (print-region-1): Use it.
11634         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
11635         versions instead.
11636         (ps-printer-name): Default to nil.
11637         (ps-printer-name-option): Default to lpr-printer-switch.
11638         (ps-print-region-function): Don't default to nil.
11639         (ps-postscript-code-directory): Simplify default.
11640         (ps-do-despool): Use lpr-print-region to properly check the outcome.
11641         (ps-string-list, ps-eval-switch, ps-flatten-list)
11642         (ps-flatten-list-1): Remove.
11643         (ps-multibyte-buffer): Avoid setq.
11644         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11645         (print-region-function, ps-print-region-function): Don't set them here.
11647 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
11649         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11650         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11651         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11652         (ido-decorations): Doc fix.
11654         * ansi-color.el: Fix old URL.
11656 2013-07-23  Michael R. Mauger  <michael@mauger.com>
11658         * progmodes/sql.el: Version 3.3
11659         (sql-product-alist): Improve oracle :prompt-cont-regexp.
11660         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11661         (sql-interactive-remove-continuation-prompt): Rewrite, use
11662         functions above.  Fix continuation prompt and complete output line
11663         handling.
11664         (sql-redirect-one, sql-execute): Use `read-only-mode' on
11665         redirected output buffer.
11666         (sql-mode): Restore deleted code (Bug#13591).
11668 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
11670         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11672 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
11674         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11676         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11677         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11678         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11680 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
11682         * desktop.el (desktop-clear): Simplify; remove useless checks
11683         against invalid buffer names.
11684         (desktop-list*): Use cl-list*.
11685         (desktop-buffer-info, desktop-create-buffer): Simplify.
11687 2013-07-23  Leo Liu  <sdl.web@gmail.com>
11689         * bookmark.el (bookmark-make-record): Restore NAME as a default
11690         value.  (Bug#14933)
11692 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11694         * emacs-lisp/autoload.el (autoload--setup-output): New function,
11695         extracted from autoload--insert-text.
11696         (autoload--insert-text): Remove.
11697         (autoload--print-cookie-text): New function, extracted from
11698         autoload--insert-cookie-text.
11699         (autoload--insert-cookie-text): Remove.
11700         (autoload-generate-file-autoloads): Adjust calls accordingly.
11702         * winner.el (winner-hook-installed-p): Remove.
11703         (winner-mode): Simplify accordingly.
11705         * subr.el (add-to-list): Fix compiler-macro when `append' is
11706         not constant.  Don't use `cl-member' for the base case.
11708         * progmodes/subword.el: Fix boundary case (bug#13758).
11709         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
11710         own group.
11711         (subword-backward-regexp): Make it a constant.
11712         (subword-forward-internal): Don't treat a trailing capital as the
11713         beginning of a word.
11715 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
11717         * emacs-lisp/package.el (package-menu-mode): Don't modify the
11718         global value of tabulated-list-revert-hook (bug#14930).
11720 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
11722         * desktop.el: Require 'cl-lib.
11723         (desktop-before-saving-frames-functions): New hook.
11724         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11725         for frames being saved.  Rename from desktop--save-minibuffer-frames.
11726         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11727         Do not save frames with non-nil `desktop-dont-save' parameter.
11728         Filter out deleted frames.
11729         (desktop--find-frame): Use cl-find-if.
11730         (desktop--select-frame): Use cl-(first|second|third) to access values
11731         of desktop-mini.
11732         (desktop--make-frame): Use cl-delete-if.
11733         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11734         (desktop-restore-frames): Use cl-(first|second|third) to access values
11735         of desktop-mini.  Look for visible frame at the end, not while
11736         restoring frames.
11738         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11739         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11740         Use string-match-p, looking-at-p (bug#14927).
11742 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
11744         * desktop.el (desktop-saved-frame-states):
11745         Rename from desktop--saved-states; all users changed.
11746         (desktop-save-frames): Rename from desktop--save-frames.
11747         Do not save state to desktop file.
11748         (desktop-save): Save desktop-saved-frame-states to desktop file
11749         and reset to nil.
11750         (desktop-restoring-frames-p): New function.
11751         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
11752         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
11753         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
11755         * desktop.el: Correctly restore iconified frames.
11756         (desktop--filter-iconified-position): New function.
11757         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11759 2013-07-20  Glenn Morris  <rgm@gnu.org>
11761         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11762         Let `message' do the formatting.
11763         (def-gdb-preempt-display-buffer): Add explicit format.
11765         * image-dired.el (image-dired-track-original-file):
11766         Use with-current-buffer.
11767         (image-dired-track-thumbnail): Use with-current-buffer.
11768         Avoid changing point of wrong window.
11770         * image-dired.el (image-dired-track-original-file):
11771         Avoid changing point of wrong window.  (Bug#14909)
11773 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
11775         * progmodes/gdb-mi.el (gdb-done-or-error):
11776         Guard against "%" in gdb output.  (Bug#14127)
11778 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
11780         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11781         (Bug#14826)
11783         * international/mule.el (coding-system-iso-2022-flags): Fix last
11784         change.
11786 2013-07-20  Kenichi Handa  <handa@gnu.org>
11788         * international/mule.el (coding-system-iso-2022-flags):
11789         Add `8-bit-level-4'.  (Bug#8522)
11791 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11793         * net/shr.el (shr-mouse-browse-url): New command and keystroke
11794         (bug#14815).
11796         * net/eww.el (eww-process-text-input): Allow inputting when the
11797         point is at the start of the line, as the properties aren't
11798         front-sticky.
11800         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11801         degenerate widths.
11803 2013-07-19  Richard Stallman  <rms@gnu.org>
11805         * epa.el (epa-popup-info-window): Doc fix.
11807         * subr.el (split-string): New arg TRIM.
11809 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
11811         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11812         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11814 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
11816         * filenotify.el (file-notify--library): Rename from
11817         `file-notify-support'.  Do not autoload.  Adapt all uses.
11818         (file-notify-supported-p): New defun.
11820         * autorevert.el (auto-revert-use-notify):
11821         Use `file-notify-supported-p' instead of `file-notify-support'.
11822         Adapt docstring.
11823         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11825         * net/tramp.el (tramp-file-name-for-operation):
11826         Add `file-notify-supported-p'.
11828         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11829         New defun.
11830         (tramp-sh-file-name-handler-alist): Add it as handler for
11831         `file-notify-supported-p '.
11833         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11834         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11835         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11836         Add `ignore' as handler for `file-notify-*' functions.
11838 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
11840         * simple.el (line-move-partial, line-move): Don't start vscroll or
11841         scroll-up if the current line is not taller than the window.
11842         (Bug#14881)
11844 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
11846         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11847         highlight question marks in the method names as strings.
11848         (ruby-block-beg-keywords): Inline.
11849         (ruby-font-lock-keyword-beg-re): Extract from
11850         `ruby-font-lock-keywords'.
11852 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
11854         * frame.el (blink-cursor-blinks): New defcustom.
11855         (blink-cursor-blinks-done): New defvar.
11856         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11857         (blink-cursor-timer-function): Check if number of blinks has been
11858         done on X and NS.
11859         (blink-cursor-suspend, blink-cursor-check): New defuns.
11861 2013-07-15  Glenn Morris  <rgm@gnu.org>
11863         * edmacro.el (edmacro-format-keys): Fix previous change.
11865 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
11867         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11868         The hack didn't work outside English locales anyway.
11870 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
11872         * simple.el (define-alternatives): Rename from alternatives-define,
11873         per RMS' suggestion.
11875 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
11877         * desktop.el (desktop-restore-frames): Change default to t.
11878         (desktop-restore-in-current-display): Now offer more options.
11879         (desktop-restoring-reuses-frames): New customization option.
11880         (desktop--saved-states): Doc fix.
11881         (desktop-filter-parameters-alist): New variable, renamed and expanded
11882         from desktop--excluded-frame-parameters.
11883         (desktop--target-display): New variable.
11884         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11885         (desktop--filter-tty*, desktop--filter-*-color)
11886         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11887         (desktop--filter-save-desktop-parm)
11888         (desktop-restore-in-original-display-p): New functions.
11889         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11890         (desktop--save-minibuffer-frames): New function, inspired by a similar
11891         function from Martin Rudalics.
11892         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11893         (desktop--restore-in-this-display-p): Remove.
11894         (desktop--find-frame): Rename from desktop--find-frame-in-display
11895         and add predicate argument.
11896         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11897         (desktop--reuse-list): New variable.
11898         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11899         New functions.
11900         (desktop--restore-frames): Add support for "minibuffer-special" frames.
11902 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
11904         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11906 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
11908         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11909         Highlight conversion methods on Kernel.
11911 2013-07-13  Alan Mackenzie  <acm@muc.de>
11913         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11914         and comment it out.  This out-commenting enables certain C++
11915         declarations to be parsed correctly.
11917 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
11919         * international/mule.el (define-coding-system): Doc fix.
11921         * simple.el (default-font-height): Don't call font-info if the
11922         frame's default font didn't change since the frame was created.
11923         (Bug#14838)
11925 2013-07-13  Leo Liu  <sdl.web@gmail.com>
11927         * ido.el (ido-read-file-name): Guard against non-symbol value.
11929 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11931         * progmodes/python.el (python-imenu--build-tree): Fix corner case
11932         in nested defuns.
11934 2013-07-13  Leo Liu  <sdl.web@gmail.com>
11936         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11937         ido-set-matches call.  (Bug#6852)
11939 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
11941         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11942         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11943         Ruby 2.0.
11944         (ruby-font-lock-keywords): Distinguish calls to functions with
11945         module-like names from module references.  Highlight character
11946         literals.
11948 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
11950         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11951         (gdb-send): Handle continued commands.  (Bug#14847)
11953 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
11955         * desktop.el (desktop--v2s): Remove unused local variable.
11956         (desktop-save-buffer): Make defvar-local; adjust docstring.
11957         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11958         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11960 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
11962         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11964 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
11966         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11967         (Bug#14842)
11969 2013-07-12  Glenn Morris  <rgm@gnu.org>
11971         * doc-view.el: Require cl-lib at runtime too.
11972         (doc-view-remove-if): Remove.
11973         (doc-view-search-next-match, doc-view-search-previous-match):
11974         Use cl-remove-if.
11976         * edmacro.el: Require cl-lib at runtime too.
11977         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11978         (edmacro-mismatch, edmacro-subseq): Remove.
11980         * shadowfile.el: Require cl-lib.
11981         (shadow-remove-if): Remove.
11982         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11983         Use cl-remove-if.
11985         * wid-edit.el: Require cl-lib.
11986         (widget-choose): Use cl-remove-if.
11987         (widget-remove-if): Remove.
11989         * progmodes/ebrowse.el: Require cl-lib at runtime too.
11990         (ebrowse-delete-if-not): Remove.
11991         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11992         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11993         Use cl-delete-if-not.
11995 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
11997         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11998         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12000 2013-07-12  Leo Liu  <sdl.web@gmail.com>
12002         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
12004 2013-07-11  Glenn Morris  <rgm@gnu.org>
12006         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12007         (edebug-gensym-index, edebug-gensym):
12008         Remove reimplementation of cl-gensym.
12009         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12011         * thumbs.el: Require cl-lib at run-time too.
12012         (thumbs-gensym-counter, thumbs-gensym):
12013         Remove reimplementation of cl-gensym.
12014         (thumbs-temp-file): Use cl-gensym.
12016         * emacs-lisp/ert.el: Require cl-lib at runtime too.
12017         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12018         (ert--intersection, ert--set-difference, ert--set-difference-eq)
12019         (ert--union, ert--gensym-counter, ert--gensym-counter)
12020         (ert--coerce-to-vector, ert--remove*, ert--string-position)
12021         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12022         (ert-make-test-unbound, ert--expand-should-1)
12023         (ert--expand-should, ert--should-error-handle-error)
12024         (should-error, ert--explain-equal-rec)
12025         (ert--plist-difference-explanation, ert-select-tests)
12026         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12027         Use cl-lib functions rather than reimplementations.
12029 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
12031         * net/tramp.el (tramp-methods): Extend docstring.
12032         (tramp-connection-timeout): New defcustom.
12033         (tramp-error-with-buffer): Reset timestamp only when appropriate.
12034         (with-tramp-progress-reporter): Simplify.
12035         (tramp-process-actions): Improve messages.
12037         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12038         * net/tramp-sh.el (tramp-maybe-open-connection):
12039         Use `tramp-connection-timeout'.
12040         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12041         (Bug#14808)
12043 2013-07-11  Leo Liu  <sdl.web@gmail.com>
12045         * ido.el (ido-read-file-name): Conform to the requirements of
12046         read-file-name.  (Bug#11861)
12047         (ido-read-directory-name): Conform to the requirements of
12048         read-directory-name.
12050 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
12052         * subr.el (delay-warning): New function.
12054 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
12056         * simple.el (default-line-height): New function.
12057         (line-move-partial, line-move): Use it instead of computing the
12058         line height inline.
12059         (line-move-partial): Always compute ROWH.  If the last line is
12060         partially-visible, but its text is completely visible, allow
12061         cursor to enter such a partially-visible line.
12063 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
12065         Improve error messages.  (Bug#14808)
12067         * net/tramp.el (tramp-current-connection): New defvar, moved from
12068         tramp-sh.el.
12069         (tramp-message-show-progress-reporter-message): Remove, not
12070         needed anymore.
12071         (tramp-error-with-buffer): Show message in minibuffer.
12072         Discard input before waiting.  Reset connection timestamp.
12073         (with-tramp-progress-reporter): Improve messages.
12074         (tramp-process-actions): Use progress reporter.  Delete process in
12075         case of error.  Improve messages.
12077         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12078         Call `tramp-error-with-buffer' with vector and buffer.
12079         (tramp-current-connection): Remove.
12080         (tramp-maybe-open-connection): The car of
12081         `tramp-current-connection' are the first 3 slots of the vector.
12083 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
12085         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12086         inside continued strings.
12088 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
12090         Timestamp fixes for undo (Bug#14824).
12091         * files.el (clear-visited-file-modtime): Move here from fileio.c.
12093 2013-07-10  Leo Liu  <sdl.web@gmail.com>
12095         * files.el (require-final-newline): Allow safe local value.
12096         (Bug#14834)
12098 2013-07-09  Leo Liu  <sdl.web@gmail.com>
12100         * ido.el (ido-read-directory-name): Handle fallback.
12101         (ido-read-file-name): Update DIR to ido-current-directory.
12102         (Bug#1516)
12103         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
12105 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
12107         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12108         "autoload".  Remove "warn lower camel case" section, previously
12109         commented out.  Highlight negation char.  Do not highlight the
12110         target in singleton method definitions.
12112 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12114         * faces.el (tty-setup-hook): Declare the hook.
12116         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12117         and detect when a guard/pred depends on local vars (bug#14773).
12118         (pcase--u1): Adjust caller.
12120 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
12122         * simple.el (line-move-partial, line-move): Account for
12123         line-spacing.
12124         (line-move-partial): Avoid setting vscroll when the last
12125         partially-visible line in window is of default height.
12127 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12129         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12130         been used a while.
12132 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
12134         * subr.el (read-quoted-char): Remove unused local variable `char'.
12136 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
12138         * vc/ediff.el (ediff-version): Version update.
12139         (ediff-files-command, ediff3-files-command, ediff-merge-command)
12140         (ediff-merge-with-ancestor-command, ediff-directories-command)
12141         (ediff-directories3-command, ediff-merge-directories-command)
12142         (ediff-merge-directories-with-ancestor-command): New functions.
12143         All are command-line interfaces to ediff: to facilitate calling
12144         Emacs with the appropriate ediff functions invoked.
12146         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12147         New function.
12148         (viper-save-kill-buffer): Check if buffer is modified.
12150         * emulation/viper.el (viper-version): Version update.
12151         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12153 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12155         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12156         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12157         (viper-intercept-ESC-key): Simplify.
12158         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12159         don't use kbd.
12160         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12161         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12162         (viper-setup-ESC-to-escape): New functions.
12163         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12164         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
12166 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
12168         * simple.el (default-font-height, window-screen-lines):
12169         New functions.
12170         (line-move, line-move-partial): Use them instead of
12171         frame-char-height and window-text-height.  This makes scrolling
12172         text smoother when the buffer's default face uses a font that is
12173         different from the frame's default font.
12175 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
12177         * files.el (write-file): Do not display confirm dialog for NS,
12178         it does its own dialog, which can't be canceled (Bug#14578).
12180 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
12182         * simple.el (line-move-partial): Adjust the row returned by
12183         posn-at-point for the current window-vscroll.  (Bug#14567)
12185 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
12187         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12188         (tramp-sh-file-inotifywait-process-filter): Handle file names with
12189         spaces.
12191 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
12193         * window.el (window-state-put-stale-windows): New variable.
12194         (window--state-put-2): Save list of windows without matching buffer.
12195         (window-state-put): Remove "bufferless" windows if possible.
12197 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
12199         * simple.el (alternatives-define): Remove leftover :group keyword.
12200         Tweak docstring.
12202 2013-07-06  Leo Liu  <sdl.web@gmail.com>
12204         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12205         (ido-enable-virtual-buffers): New variable.
12206         (ido-buffer-internal, ido-toggle-virtual-buffers)
12207         (ido-make-buffer-list): Use it.
12208         (ido-exhibit): Support turning on and off virtual buffers
12209         automatically.
12211 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
12213         * simple.el (alternatives-define): New macro.
12215 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12217         * subr.el (read-quoted-char): Use read-key.
12218         (sit-for): Let read-event decode tty input (bug#14782).
12220 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
12222         * calendar/todo-mode.el: Add handling of file deletion, both by
12223         mode command and externally.  Fix various related bugs.
12224         Clarify Commentary and improve some documentation strings and code.
12225         (todo-delete-file): New command.
12226         (todo-check-file): New function.
12227         (todo-show): Handle external deletion of the file we're trying to
12228         show (bug#14688).  Replace called-interactively-p by an optional
12229         prefix argument to avoid problematic interaction with catch form
12230         when byte compiled (bug#14702).
12231         (todo-quit): Handle external deletion of the archive's todo file.
12232         Make sure the buffer that was visiting the archive file is still
12233         live before trying to bury it.
12234         (todo-category-completions): Handle external deletion of any
12235         category completion files.
12236         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12237         of todo files, in case of external deletion.
12238         (todo-add-file): Replace unnecessary setq by let-binding.
12239         (todo-find-archive): Check whether there are any archives.
12240         Replace unnecessary setq by let-binding.
12241         (todo-archive-done-item): Use find-file-noselect to get the
12242         archive buffer whether or not the archive already exists.
12243         Remove superfluous code.  Use file size instead of buffer-file-name to
12244         check if the archive is new; if it is, update list of archives.
12245         (todo-default-todo-file): Allow nil to be a valid value for when
12246         there are no todo files.
12247         (todo-reevaluate-default-file-defcustom): Use corrected definition
12248         of todo-default-todo-file.
12249         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12250         (todo-delete-category, todo-show-categories-table)
12251         (todo-category-number): Clarify comment.
12252         (todo-filter-items): Clarify documentation string.
12253         (todo-show-current-file, todo-display-as-todo-file)
12254         (todo-reset-and-enable-done-separator): Tweak documentation string.
12255         (todo-done-separator): Make separator length window-width, since
12256         bug#2749 is now fixed.
12258 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
12260         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12261         Support both "gvfs-monitor-dir" and "inotifywait".
12262         (tramp-sh-file-inotifywait-process-filter): Rename from
12263         `tramp-sh-file-notify-process-filter'.
12264         (tramp-sh-file-gvfs-monitor-dir-process-filter)
12265         (tramp-get-remote-gvfs-monitor-dir): New defuns.
12267 2013-07-05  Leo Liu  <sdl.web@gmail.com>
12269         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12271 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12273         * frame.el (display-pixel-height, display-pixel-width)
12274         (display-mm-height, display-mm-width): Mention behavior on
12275         multi-monitor setups in docstrings.
12276         (w32-display-monitor-attributes-list): Declare function.
12277         (display-monitor-attributes-list): Use it.
12279 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
12281         * filenotify.el: New package.
12283         * autorevert.el (top): Require filenotify.el.
12284         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
12285         instead.
12286         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12287         (auto-revert-notify-handler): Use `file-notify-*' functions.
12289         * subr.el (file-notify-handle-event): Move function to filenotify.el.
12291         * net/tramp.el (tramp-file-name-for-operation):
12292         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12294         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12295         for `file-notify-add-watch' and `file-notify-rm-watch'.
12296         (tramp-process-sentinel): Improve trace.
12297         (tramp-sh-handle-file-notify-add-watch)
12298         (tramp-sh-file-notify-process-filter)
12299         (tramp-sh-handle-file-notify-rm-watch)
12300         (tramp-get-remote-inotifywait): New defuns.
12302 2013-07-03  Juri Linkov  <juri@jurta.org>
12304         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12305         call of `occur-read-primary-args' to interactive spec.
12307         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12308         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
12310 2013-07-03  Matthias Meulien  <orontee@gmail.com>
12312         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12313         `Buffer-menu-multi-occur'.  Add it to the menu.
12314         (Buffer-menu-mode): Document it in docstring.
12315         (Buffer-menu-multi-occur): New command.  (Bug#14673)
12317 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
12319         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12320         keywords and built-ins.
12322 2013-07-03  Glenn Morris  <rgm@gnu.org>
12324         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
12326         Make info-xref checks case-sensitive by default
12327         * info.el (Info-find-node, Info-find-in-tag-table)
12328         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12329         Add option for exact case matching of nodes.
12330         * info-xref.el (info-xref): New custom group.
12331         (info-xref-case-fold): New option.
12332         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12334 2013-07-03  Leo Liu  <sdl.web@gmail.com>
12336         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12338 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
12340         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12341         middle of block statement initially, lower the depth.  Remove
12342         FIXME comment, not longer valid.  Remove middle of block statement
12343         detection, no need to do that anymore since we've been using
12344         `ruby-parse-region' here.
12346 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
12348         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12350 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
12352         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12354 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
12356         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12357         (desktop-restore-in-current-display): New customization option.
12358         (desktop--excluded-frame-parameters): Add `font'.
12359         (desktop--save-frames): Rename from desktop--save-windows.
12360         (desktop--restore-in-this-display-p): New function.
12361         (desktop--make-full-frame): Remove unwanted width/height from
12362         full(width|height) frames.
12363         (desktop--restore-frames): Rename from desktop--restore-windows.
12364         Obey desktop-restore-current-display.  Do not delete old frames or
12365         select a new frame unless we were able to restore at least one frame.
12367 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
12369         * files.el (find-file-noselect): Simplify conditional expression.
12371         * textmodes/remember.el (remember-append-to-file):
12372         Don't mix `find-buffer-visiting' and `get-file-buffer'.
12374         Add `remember-notes' function to store random notes across Emacs
12375         restarts.
12376         * textmodes/remember.el (remember-data-file): Add :set callback to
12377         affect notes buffer (if any).
12378         (remember-notes): New command.
12379         (remember-notes-buffer-name, bury-remember-notes-on-kill):
12380         New defcustoms for the `remember-notes' function.
12381         (remember-notes-save-and-bury-buffer): New command.
12382         (remember-notes-mode-map): New variable.
12383         (remember-mode): New minor mode.
12384         (remember-notes--kill-buffer-query): New function.
12385         * startup.el (initial-buffer-choice): Add notes to custom type.
12387 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
12389         * bindings.el (right-char, left-char): Don't call sit-for, this is
12390         no longer needed.  Use arithmetic comparison only for numerical
12391         arguments.
12393         * international/mule-cmds.el (select-safe-coding-system):
12394         Handle the case of FROM being a string correctly.  (Bug#14755)
12396 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12398         * net/shr.el (shr-make-table-1): Add a sanity check that allows
12399         progression on degenerate tables.
12400         (shr-rescale-image): ImageMagick animated images currently don't work.
12402 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
12404         Some fixes and improvements for desktop frame restoration.
12405         It is still experimental and disabled by default.
12406         * desktop.el (desktop--save-windows): Put the selected frame at
12407         the head of the list.
12408         (desktop--make-full-frame): New function.
12409         (desktop--restore-windows): Try to re-select the frame that was
12410         selected upon saving.  Do not abort if some frames fail to restore,
12411         just show an error message and continue.  Set up maximized frames
12412         so they have default non-maximized dimensions.
12414 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
12416         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12417         Don't start heredoc inside a string or comment.
12419 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
12421         * bindings.el (visual-order-cursor-movement): New defcustom.
12422         (right-char, left-char): Provide visual-order cursor motion by
12423         calling move-point-visually.  Update the doc strings.
12425 2013-06-28  Kenichi Handa  <handa@gnu.org>
12427         * international/mule.el (define-coding-system): New coding system
12428         properties :inhibit-null-byte-detection,
12429         :inhibit-iso-escape-detection, and :prefer-utf-8.
12430         (set-buffer-file-coding-system): If :charset-list property of
12431         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12432         appropriate for setting.
12434         * international/mule-cmds.el (select-safe-coding-system):
12435         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12436         multibyte characters, return utf-8 (or one of its siblings).
12438         * international/mule-conf.el (prefer-utf-8): New coding system.
12439         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12440         files.
12442 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
12444         * net/shr.el (shr-render-region): New function.
12446         * net/eww.el: Autoload `eww-browse-url'.
12448 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
12450         * emacs-lisp/package-x.el (package-upload-buffer-internal):
12451         Adapt to `package-desc-version' being a list.
12452         Use `package--ac-desc-version' to retrieve version from a package
12453         archive element.
12455 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
12457         New experimental feature to save&restore window and frame setup.
12458         * desktop.el (desktop-save-windows): New defcustom.
12459         (desktop--saved-states): New var.
12460         (desktop--excluded-frame-parameters): New defconst.
12461         (desktop--filter-frame-parms, desktop--find-frame-in-display)
12462         (desktop--restore-windows, desktop--save-windows): New functions.
12463         (desktop-save): Call `desktop--save-windows'.
12464         (desktop-read): Call `desktop--restore-windows'.
12466 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12468         * net/shr.el (add-face-text-property): Remove compat definition.
12470 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
12472         * info.el (Info-try-follow-nearest-node): Move search for footnote
12473         above search for node name to prevent missing a footnote (bug#14717).
12475 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
12477         * obsolete/otodo-mode.el: Add obsolescence info to file header.
12479 2013-06-27  Leo Liu  <sdl.web@gmail.com>
12481         * net/eww.el (eww-read-bookmarks): Check file size.
12483 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12485         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12486         advice--pending if newdef is nil or an autoload (bug#13820).
12487         (advice-mapc): New function.
12489 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12491         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12492         probably.
12493         (eww-mode-map): Add a menu bar.
12494         (eww-add-bookmark): New command.
12495         (eww-bookmark-mode): New mode and commands.
12496         (eww-add-bookmark): Remove newlines from the title.
12497         (eww-bookmark-browse): Don't bug out if it's the only window.
12499 2013-06-26  Glenn Morris  <rgm@gnu.org>
12501         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12502         (hfy-size): Handle ttys.  (Bug#14668)
12504         * info-xref.el: Update for Texinfo 5 change in *note format.
12505         (info-xref-node-re, info-xref-note-re): New constants.
12506         (info-xref-check-buffer): Use info-xref-note-re.
12508 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12510         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12512         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12513         nil terminate the loop (bug#14718).
12515 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12517         * net/eww.el: Rework history traversal.  When going forward/back,
12518         put these actions into the history, too, so that they can be
12519         replayed.
12520         (eww-render): Move the history reset to the correct buffer.
12522 2013-06-25  Juri Linkov  <juri@jurta.org>
12524         * files-x.el (modify-dir-local-variable): Change the header comment
12525         in the file with directory local variables.  (Bug#14692)
12527         * files-x.el (read-file-local-variable-value): Add `default'.
12528         (Bug#14710)
12530 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12532         * net/eww.el (eww-make-unique-file-name): Create a unique file
12533         name before saving to entering `y' accidentally asynchronously.
12535 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
12537         * net/eww.el (eww-download): New command and keystroke.
12539 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12541         * net/eww.el (eww-copy-page-url): Change name of command.
12543         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12544         be more consistent with Info and dired.
12546         * net/eww.el (eww-mode-map): Ditto.
12548 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12550         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
12551         packages from archives.
12552         (package-archive-contents): Change format; include obsolete packages.
12553         (package-desc): Use `dir' to mark builtin packages.
12554         (package--from-builtin): Set the `dir' field to `builtin'.
12555         (generated-autoload-file, version-control): Declare.
12556         (package-compute-transaction): Change first arg and return value to be
12557         lists of package-descs.  Adjust to new package-archive-contents format.
12558         (package--add-to-archive-contents): Adjust to new
12559         package-archive-contents format.
12560         (package-download-transaction): Arg is now a list of package-descs.
12561         (package-install): If `pkg' is a package name, pass it as
12562         a requirement, so it is subject to the usual (e.g. disabled) checks.
12563         (describe-package): Accept package-desc as well.
12564         (describe-package-1): Describe a specific package-desc.  Add links to
12565         other package-descs for the same package name.
12566         (package-menu-describe-package): Pass the actual package-desc.
12567         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12568         works correctly.
12569         (package-desc-status): New function.
12570         (package-menu--refresh): New function, extracted
12571         from package-menu--generate.
12572         (package-menu--generate): Use it.
12573         (package-delete): Update package-alist.
12574         (package-menu-execute): Don't call package-initialize.
12576         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12577         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12578         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12579         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12580         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12581         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12583 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
12585         * window.el (window--state-get-1): Workaround for bug#14527.
12586         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12588 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12590         * net/eww.el (eww-back-url): Implement the history by stashing all
12591         the data into a list.
12592         (eww-forward-url): Allow going forward in the history, too.
12594 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12596         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12597         for values and use read--expression for expressions (bug#14710).
12598         (read-file-local-variable): Avoid setq.
12599         (read-file-local-variable-mode): Use minor-mode-list.
12601 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12603         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12604         for DOI URLs.
12606 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12608         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12609         Update imenu-support when dialect changes.
12611 2013-06-25  Leo Liu  <sdl.web@gmail.com>
12613         * ido.el (ido-read-internal): Allow forward slash on windows.
12615 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12617         * net/eww.el (eww): Start of strings is \\`, not ^.
12619 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
12621         * net/shr.el (shr-browse-url): Fix interactive spec.
12623         * net/eww.el (eww): Add a trailing slash to domain names.
12625 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
12627         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12629 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12631         * net/shr.el (shr-browse-url): Use an external browser if given a
12632         prefix.
12634         * net/eww.el (eww-external-browser): Move to shr.
12636 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
12638         * net/eww.el (eww): Work more correctly for file: URLs.
12639         (eww-detect-charset): Allow quoted charsets.
12640         (eww-yank-page-url): New command and keystroke.
12642 2013-06-24  Daiki Ueno  <ueno@gnu.org>
12644         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12645         file name of gpg executable.
12646         (epg-context-program): New function.
12647         (epg-context-home-directory): New function.
12648         (epg-context-set-program): New function.
12649         (epg-context-set-home-directory): New function.
12650         (epg--start): Use `epg-context-program' instead of
12651         'epg-gpg-program'.
12652         (epg--list-keys-1): Likewise.
12654 2013-06-24  Leo Liu  <sdl.web@gmail.com>
12656         * ido.el (ido-read-internal): Fix bug#14620.
12658 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
12660         * faces.el (face-documentation): Simplify.
12661         (read-face-attribute, tty-find-type, x-resolve-font-name):
12662         Use `string-match-p'.
12663         (list-faces-display): Use `string-match-p'.  Simplify.
12664         (face-spec-recalc): Check face to avoid face alias loops.
12665         (read-color): Use `string-match-p' and non-capturing parenthesis.
12667 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12669         * net/shr.el (shr-rescale-image): Use the new
12670         :max-width/:max-height functionality.
12672 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
12674         * net/eww.el (eww-search-prefix): New variable.
12675         (eww): Use it.
12676         (eww-external-browser): New variable.
12677         (eww-mode-map): New keystroke.
12678         (eww-browse-with-external-browser): New command.
12680         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12682 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
12684         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12685         Don't skip aligning the next header field when padding is 0;
12686         otherwise, field width is not respected unless the title is as
12687         wide as the field.
12689 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12691         * emacs-lisp/package.el (package-el-version): Remove.
12692         (package-process-define-package): Fix inf-loop.
12693         (package-install): Allow symbols as arguments again.
12695 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
12697         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12698         add some more keyword-like methods.
12699         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12701 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
12703         * bs.el (bs-buffer-show-mark): Make defvar-local.
12704         (bs-mode): Use setq-local.
12706         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12707         (emacs-lock--try-unlocking): Make defvar-local.
12709 2013-06-22  Glenn Morris  <rgm@gnu.org>
12711         * play/cookie1.el (cookie-apropos): Minor simplification.
12713         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12715 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
12717         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12718         `regexp-opt', it breaks the build during dumping.
12720 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
12722         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12723         Highlight keyword-like methods on Kernel and Module with
12724         font-lock-builtin-face.
12725         (auto-mode-alist): Consolidate different entries into one regexp
12726         and add more *file-s.
12728 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
12730         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12732         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12733         (diary-entry): Use it in the action of this button type instead of
12734         diary-goto-entry.
12736         * calendar/todo-mode.el: New version.
12737         (todo-add-category): Append new category to end of file and give
12738         it the highest number, instead of putting it at the beginning and
12739         giving it 0.  Incorporate noninteractive functionality.
12740         (todo-forward-category): Adapt to 1-based category numbering.
12741         Allow skipping over archived categories.
12742         (todo-backward-category): Derive from todo-forward-category.
12743         (todo-backward-item, todo-forward-item): Make noninteractive and
12744         delegate interactive part to new commands.  Make sensitive to done items.
12745         (todo-categories): Make value an alist of category names and
12746         vectors of item counts.
12747         (todo-category-beg): Make a defconst.
12748         (todo-category-number): Use 1 instead of 0 as initial value.
12749         (todo-category-select): Make sensitive to overlays, optional item
12750         highlighting and done items.
12751         (todo-delete-item): Make sensitive to overlays and marked and done items.
12752         (todo-edit-item): Make sensitive to overlays and editing of
12753         date/time header optional.  Add format checks.
12754         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
12755         no-op if point is not on an item.  Advertise using todo-edit-quit.
12756         (todo-edit-mode): Make sensitive to new format, font-locking, and
12757         multiple todo files.
12758         (todo-insert-item, todo-insert-item-here): Derive from
12759         todo-basic-insert-item and extend functionality.
12760         (todo-item-end, todo-item-start): Make sensitive to done items.
12761         (todo-item-string): Don't return text properties.  Restore point.
12762         (todo-jump-to-category): Make sensitive to multiple todo files and
12763         todo archives.  Use extended category completion.
12764         (todo-lower-item, todo-raise-item): Rename to *-priority and
12765         derive from todo-set-item-priority.
12766         (todo-mode): Derive from special-mode.  Make sensitive to new
12767         format, font-locking and multiple todo files.  Make read-only.
12768         (todo-mode-map): Don't suppress digit keys, so they can supply
12769         prefix arguments.  Add many new key bindings.
12770         (todo-prefix): Insert as an overlay instead of file text.
12771         Change semantics from diary date expression to purely visual mark.
12772         (todo-print): Rename to todo-print-buffer.  Make buffer display
12773         features printable.  Remove option to restrict number of items
12774         printed.  Add option to print to file.
12775         (todo-print-function): Rename to todo-print-buffer-function.
12776         (todo-quit): Extend to handle exiting new todo modes.
12777         (todo-remove-item): Make sensitive to overlays.
12778         (todo-save): Extend to buffers of filtered items.
12779         (todo-show): Make sensitive to done items, multiple todo files and
12780         new todo modes.  Offer to convert legacy todo file before creating
12781         first new todo file.
12782         (todo-show-priorities): Rename to todo-top-priorities.
12783         Change semantics of value 0.
12784         (todo-top-priorities): Rename to todo-filter-top-priorities,
12785         derive from todo-filter-items and extend functionality.
12786         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12787         and extend functionality to other types of filtered items.
12788         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12789         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12790         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12791         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12792         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12793         (todo-edit-mode-hook, todo-entry-prefix-function)
12794         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12795         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12796         (todo-initials, todo-insert-threshold, todo-item-string-start)
12797         (todo-line-string, todo-menu, todo-mode-hook)
12798         (todo-more-important-p, todo-previous-answer, todo-previous-line)
12799         (todo-print-priorities, todo-remove-separator)
12800         (todo-save-top-priorities-too, todo-string-count-lines)
12801         (todo-string-multiline-p, todo-time-string-format)
12802         (todo-tmp-buffer-name): Remove.
12803         (todo-add-file, todo-archive-done-item, todo-choose-archive)
12804         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12805         (todo-edit-category-diary-inclusion)
12806         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12807         (todo-edit-file, todo-edit-item-date-day)
12808         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12809         (todo-edit-item-date-month, todo-edit-item-date-to-today)
12810         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12811         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12812         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12813         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12814         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12815         (todo-filter-top-priorities-multifile, todo-find-archive)
12816         (todo-find-filtered-items-file, todo-go-to-source-item)
12817         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12818         (todo-jump-to-archive-category, todo-lower-category)
12819         (todo-mark-category, todo-marked-item-p, todo-merge-category)
12820         (todo-move-category, todo-move-item, todo-next-button)
12821         (todo-next-item, todo-padded-string, todo-powerset)
12822         (todo-previous-button, todo-previous-item)
12823         (todo-print-buffer-to-file, todo-raise-category)
12824         (todo-rename-category, todo-repair-categories-sexp, todo-search)
12825         (todo-set-category-number, todo-set-item-priority)
12826         (todo-set-top-priorities-in-category)
12827         (todo-set-top-priorities-in-file, todo-show-categories-table)
12828         (todo-sort-categories-alphabetically-or-numerically)
12829         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12830         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12831         (todo-toggle-item-header, todo-toggle-item-highlighting)
12832         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12833         (todo-toggle-view-done-items, todo-toggle-view-done-only)
12834         (todo-unarchive-items, todo-unmark-category): New commands.
12835         (todo-absolute-file-name, todo-add-to-buffer-list)
12836         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12837         (todo-basic-insert-item, todo-category-completions)
12838         (todo-category-number, todo-category-string-matcher-1)
12839         (todo-category-string-matcher-2, todo-check-filtered-items-file)
12840         (todo-check-format, todo-clear-matches)
12841         (todo-comment-string-matcher, todo-convert-legacy-date-time)
12842         (todo-current-category, todo-date-string-matcher)
12843         (todo-define-insertion-command, todo-diary-expired-matcher)
12844         (todo-diary-goto-entry, todo-diary-item-p)
12845         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12846         (todo-display-categories, todo-display-sorted, todo-done-item-p)
12847         (todo-done-item-section-p, todo-done-separator)
12848         (todo-done-string-matcher, todo-files, todo-filter-items)
12849         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12850         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12851         (todo-insert-category-line, todo-insert-item-from-calendar)
12852         (todo-insert-sort-button, todo-insert-with-overlays)
12853         (todo-insertion-command-name, todo-insertion-key-bindings)
12854         (todo-label-to-key, todo-longest-category-name-length)
12855         (todo-make-categories-list, todo-mode-external-set)
12856         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12857         (todo-modes-set-3, todo-multiple-filter-files)
12858         (todo-nondiary-marker-matcher, todo-prefix-overlays)
12859         (todo-read-category, todo-read-date, todo-read-dayname)
12860         (todo-read-file-name, todo-read-time)
12861         (todo-reevaluate-category-completions-files-defcustom)
12862         (todo-reevaluate-default-file-defcustom)
12863         (todo-reevaluate-filelist-defcustoms)
12864         (todo-reevaluate-filter-files-defcustom)
12865         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12866         (todo-reset-done-separator, todo-reset-done-separator-string)
12867         (todo-reset-done-string, todo-reset-global-current-todo-file)
12868         (todo-reset-highlight-item, todo-reset-nondiary-marker)
12869         (todo-reset-prefix, todo-set-categories)
12870         (todo-set-date-from-calendar, todo-set-show-current-file)
12871         (todo-set-top-priorities, todo-short-file-name)
12872         (todo-show-current-file, todo-sort, todo-time-string-matcher)
12873         (todo-total-item-counts, todo-update-buffer-list)
12874         (todo-update-categories-display, todo-update-categories-sexp)
12875         (todo-update-count, todo-validate-name, todo-y-or-n-p):
12876         New functions.
12877         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12878         New major modes.
12879         (todo-categories, todo-display, todo-edit, todo-faces)
12880         (todo-filtered): New defgroups.
12881         (todo-archived-only, todo-button, todo-category-string, todo-date)
12882         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12883         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12884         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12885         (todo-add-item-if-new-category, todo-always-add-time-string)
12886         (todo-categories-align, todo-categories-archived-label)
12887         (todo-categories-category-label, todo-categories-diary-label)
12888         (todo-categories-done-label, todo-categories-number-separator)
12889         (todo-categories-todo-label, todo-categories-totals-label)
12890         (todo-category-completions-files, todo-completion-ignore-case)
12891         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12892         (todo-done-separator-string, todo-done-string)
12893         (todo-files-function, todo-filter-done-items, todo-filter-files)
12894         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12895         (todo-initial-category, todo-initial-file, todo-item-mark)
12896         (todo-legacy-date-time-regexp, todo-mode-line-function)
12897         (todo-nondiary-marker, todo-number-prefix)
12898         (todo-print-buffer-function, todo-show-current-file)
12899         (todo-show-done-only, todo-show-first, todo-show-with-done)
12900         (todo-skip-archived-categories, todo-top-priorities-overrides)
12901         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12902         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12903         New defcustoms.
12904         (todo-category-done, todo-date-pattern, todo-date-string-start)
12905         (todo-diary-items-buffer, todo-done-string-start)
12906         (todo-filtered-items-buffer, todo-item-start)
12907         (todo-month-abbrev-array, todo-month-name-array)
12908         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12909         (todo-top-priorities-buffer): New defconsts.
12910         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12911         (todo-categories-with-marks, todo-category-string-face)
12912         (todo-comment-face, todo-comment-string, todo-current-todo-file)
12913         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12914         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12915         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12916         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12917         (todo-font-lock-keywords, todo-global-current-todo-file)
12918         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12919         (todo-insertion-commands-args)
12920         (todo-insertion-commands-args-genlist)
12921         (todo-insertion-commands-names, todo-insertion-map)
12922         (todo-key-bindings-t, todo-key-bindings-t+a)
12923         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12924         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12925         (todo-nondiary-face, todo-print-buffer, todo-time-face)
12926         (todo-visited): New variables.
12928 2013-06-21  Glenn Morris  <rgm@gnu.org>
12930         * play/cookie1.el (cookie-apropos): Add optional display argument.
12931         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12932         (psychoanalyze-pinhead): Use cookie-doctor.
12934 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
12936         * emacs-lisp/package.el (tar-get-file-descriptor)
12937         (tar--extract): Declare.
12939 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
12941         Extend flymake's warning predicate to be a function (bug#14217).
12942         * progmodes/flymake.el (flymake-warning-predicate): New.
12943         (flymake-parse-line): Use it.
12944         (flymake-warning-re): Make obsolete alias to
12945         `flymake-warning-predicate'.
12947 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12949         * emacs-lisp/package.el (package-alist): Include obsolete packages.
12950         (package-obsolete-list): Remove.
12951         (package-activate): Remove min-version argument.  Add `force' argument.
12952         Adjust to new package-alist format.
12953         (package-mark-obsolete): Remove.
12954         (package-unpack): Force reload of the package's autoloads.
12955         (package-installed-p): Check builtins if the installed package is not
12956         recent enough.
12957         (package-initialize): Don't reset package-obsolete-list.
12958         Don't specify which package version to activate.
12959         (package-process-define-package, describe-package-1)
12960         (package-menu--generate): Adjust to new package-alist format.
12962 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
12964         * allout-widgets.el (allout-widgets-mode-off)
12965         (allout-widgets-mode-on, allout-widgets-pre-command-business)
12966         (allout-widgets-post-command-business)
12967         (allout-widgets-after-copy-or-kill-function)
12968         (allout-widgets-after-undo-function, allout-test-range-overlaps)
12969         (allout-decorate-item-and-context)
12970         (allout-graphics-modification-handler): Fix typos in docstrings.
12971         (allout-get-or-create-parent-widget): Use `looking-at-p'.
12973         * cmuscheme.el (scheme-start-file): Doc fix.
12974         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12975         (scheme-input-filter): Use `string-match-p'.
12977         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12979         * dired-x.el: Use Dired consistently in docstrings.
12981         * dired.el: Use Dired consistently in docstrings.
12982         (dired-readin, dired-mode): Use `setq-local'.
12983         (dired-switches-alist): Make defvar-local.
12984         (dired-buffers-for-dir): Use `zerop'.
12985         (dired-safe-switches-p, dired-switches-escape-p)
12986         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12987         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12988         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12989         (dired-goto-next-nontrivial-file): Use `string-match-p'.
12990         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12991         (dired-toggle-marks, dired-mark-files-containing-regexp)
12992         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12993         (dired-flag-auto-save-files, dired-flag-backup-files):
12994         Use `looking-at-p'.
12995         (dired-mark-files-regexp, dired-build-subdir-alist):
12996         Use `string-match-p', `looking-at-p'.
12998         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12999         (direct-print-region-helper): Use `string-match-p'.
13001 2013-06-21  Leo Liu  <sdl.web@gmail.com>
13003         * comint.el (comint-redirect-results-list-from-process):
13004         Fix infinite loop.
13006 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13008         * net/eww.el (eww-update-header-line-format): Quote % characters.
13010 2013-06-21  Glenn Morris  <rgm@gnu.org>
13012         * play/cookie1.el (cookie): New custom group.
13013         (cookie-file): New option.
13014         (cookie-check-file): New function.
13015         (cookie): Make it interactive.  Make start and end messages optional.
13016         Interactively, display the result.  Default to cookie-file.
13017         (cookie-insert): Default to cookie-file.
13018         (cookie-snarf): Make start and end messages optional.
13019         Default to cookie-file.  Use with-temp-buffer.
13020         (cookie-read): Rename from read-cookie.
13021         Make start and end messages optional.  Default to cookie-file.
13022         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
13023         Do not autoload it.
13024         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13025         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13027 2013-06-21  Leo Liu  <sdl.web@gmail.com>
13029         * progmodes/octave.el (octave-mode): Backward compatibility fix.
13031 2013-06-21  Glenn Morris  <rgm@gnu.org>
13033         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13035 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13036             Daniel Hackney  <dan@haxney.org>
13038         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13039         Consolidate the single-file vs tarball code.
13040         (package-desc-suffix): New function.
13041         (package-desc-full-name): Don't bother inlining it.
13042         (package-load-descriptor): Return the new package-desc.
13043         (package-mark-obsolete): Remove unused arg `package'.
13044         (package-unpack): Make it work for single files as well.
13045         Make it update package-alist.
13046         (package--make-autoloads-and-stuff): Rename from
13047         package--make-autoloads-and-compile.  Don't compile any more.
13048         (package--compile): New function.
13049         (package-generate-description-file): New function, extracted from
13050         package-unpack-single.
13051         (package-unpack-single): Remove.
13052         (package--with-work-buffer): Add indentation and debugging info.
13053         (package-download-single): Remove.
13054         (package-install-from-archive): Rename from package-download-tar, make
13055         it take a pkg-desc, and make it work for single files as well.
13056         (package-download-transaction): Simplify.
13057         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
13058         external tar program.
13059         (package-install-from-buffer): Remove `pkg-desc' argument.
13060         Use package-tar-file-info for tar-mode buffers.
13061         (package-install-file): Simplify accordingly.
13062         (package-archive-base): Change to take a pkg-desc.
13063         * tar-mode.el (tar--check-descriptor): New function, extracted from
13064         tar-get-descriptor.
13065         (tar-get-descriptor): Use it.
13066         (tar-get-file-descriptor): New function.
13067         (tar--extract): New function, extracted from tar-extract.
13068         (tar--extract): Use it.
13069         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13070         case the summary uses non-ascii.  Adjust to new calling convention of
13071         package-tar-file-info.
13073 2013-06-21  Leo Liu  <sdl.web@gmail.com>
13075         * comint.el (comint-redirect-results-list-from-process):
13076         Fix random delay.  (Bug#14681)
13078 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
13080         * profiler.el (profiler-format-number): Use log, not log10.
13082 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
13084         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13086 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13088         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13089         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13090         yet available.
13091         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13092         (AUTOGENEL): ... here.
13093         * emacs-lisp/cl-macs.el (cl--sublis): New function.
13094         (cl--defsubst-expand): Use it.
13096 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
13098         * subr.el (log10): Move here from C code, and declare as obsolete.
13099         All uses of (log10 X) replaced with (log X 10).
13101 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
13103         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13104         Declare with `defvar-local'.
13105         (tabulated-list-use-header-line, tabulated-list-entries)
13106         (tabulated-list-padding, tabulated-list-printer)
13107         (tabulated-list-sort-key): Declare with `defvar-local'.
13108         (tabulated-list-init-header, tabulated-list-print-fake-header):
13109         Use `setq-local'.
13111 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
13113         * arc-mode.el (archive-mode): Add `archive-write-file' to
13114         `write-contents-functions' also for remote files.  (Bug#14652)
13116 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
13118         * cus-edit.el (custom-commands): Fix typos.
13119         (custom-display): Fix tooltip text.
13120         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13121         Fix typos in docstrings.
13122         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13123         (custom-unlispify-menu-entry, custom-magic-value-create)
13124         (custom-add-see-also, custom-group-value-create): Use ?\s.
13125         (custom-guess-type, customize-apropos, editable-field)
13126         (custom-face-value-create): Use `string-match-p'.
13127         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13129         * custom.el (custom-load-symbol): Use `string-match-p'.
13131         * ansi-color.el: Convert to lexical binding.
13132         (ansi-colors): Fix URL.
13133         (ansi-color-context, ansi-color-context-region): Use defvar-local.
13134         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13135         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13137 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13139         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13141         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13143 2013-06-19  Tom Tromey  <tromey@redhat.com>
13145         * net/eww.el (eww-top-url): Remove.
13146         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13147         (eww-render): Set new variables.  Don't set eww-top-url.
13148         (eww-handle-link): Handle "prev", "home", and "contents".
13149         Downcase the rel text.
13150         (eww-top-url): Choose best top URL.
13152 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13154         * net/eww.el: Rewrite to implement form elements "by hand" instead of
13155         relying in widget.el.  Using widget.el leads to too many
13156         user interface inconsistencies.
13157         (eww-self-insert): Implement entering commands in text fields.
13158         (eww-process-text-input): New function to make text input field editing
13159         work.
13160         (eww-submit): Rewrite to use the new-style form methods.
13161         (eww-select-display): Display the correct selected item.
13162         (eww-change-select): Implement changing the select value.
13163         (eww-toggle-checkbox): Implement radio/checkboxes.
13164         (eww-update-field): Fix compilation error.
13165         (eww-tag-textarea): Implement <textarea>.
13167         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13168         we don't shadow mode-specific bindings.
13170         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13171         nothing to push.
13173         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13175 2013-06-19  Glenn Morris  <rgm@gnu.org>
13177         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13179 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
13181         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13182         not needed.
13184         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13186 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13188         * net/browse-url.el (browse-url-browser-function):
13189         `eww-browse-url' has the right calling signature, `eww' does not.
13191 2013-06-19  Glenn Morris  <rgm@gnu.org>
13193         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13194         Only eval autoloaded macros.
13195         (byte-compile-autoload): Only give the macro warning for macros.
13197         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13198         (ps-underlined-faces): Declare.
13200         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13201         (speedbar-add-supported-extension): Declare.
13203         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13204         Don't include a date stamp in the header of the generated file;
13205         it leads to needless differences between output files.
13207 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
13209         * net/secrets.el (secrets-struct-secret-content-type):
13210         Replace check of introspection data by a test call of "CreateItem".
13211         Some servers do not offer introspection.
13213 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13215         * electric.el (electric-pair-mode): Improve interaction with
13216         electric-layout-mode.
13217         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13218         (electric-pair-syntax): Use text-mode-syntax-table in comments
13219         and strings.
13220         (electric-pair--insert): New function.
13221         (electric-pair-post-self-insert-function): Use it and
13222         electric--after-char-pos.
13224 2013-06-19  Leo Liu  <sdl.web@gmail.com>
13226         * progmodes/octave.el (octave-help): Fix regexp.
13228 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13230         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13231         (shr-table-horizontal-line): Allow nil as a value, and change the
13232         default.
13233         (shr-insert-table-ruler): Respect the nil value.
13235 2013-06-18  Tom Tromey  <tromey@barimba>
13237         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13238         New defvars.
13239         (eww-open-file): New defun.
13240         (eww-render): Initialize new variables.
13241         (eww-display-html): Handle "link" and "a".
13242         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13243         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
13244         (eww-back-url): Rename from eww-previous-url.
13245         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13246         New defuns.
13248 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
13250         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13251         Distinguish ternary operator tokens from slash symbol and slash
13252         char literal.
13254 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
13256         Convert symbol prettification into minor mode and global minor mode.
13258         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13259         `prog-prettify-symbols', and make a local defvar instead of defcustom.
13260         (prettify-symbols--keywords): Rename from
13261         `prog-prettify-symbols-alist' and make a local defvar.
13262         (prettify-symbols--compose-symbol): Rename from
13263         `prog--prettify-font-lock-compose-symbol'.
13264         (prettify-symbols--make-keywords): Rename from
13265         `prog-prettify-font-lock-symbols-keywords' and simplify.
13266         (prog-prettify-install): Remove.
13267         (prettify-symbols-mode): New minor mode, based on
13268         `prog-prettify-install'.
13269         (turn-on-prettify-symbols-mode): New function.
13270         (global-prettify-symbols-mode): New globalized minor mode.
13272         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13273         * progmodes/cfengine.el (cfengine3-mode):
13274         * progmodes/perl-mode.el (perl-mode): Don't call
13275         `prog-prettify-install'; set `prettify-symbols-alist' instead.
13277 2013-06-18  Juri Linkov  <juri@jurta.org>
13279         * files-x.el (modify-file-local-variable-message): New function.
13280         (modify-file-local-variable)
13281         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13282         and call `modify-file-local-variable-message' when it's non-nil.
13283         (add-file-local-variable, delete-file-local-variable)
13284         (add-file-local-variable-prop-line)
13285         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13286         and use it.  (Bug#9820)
13288 2013-06-18  Juri Linkov  <juri@jurta.org>
13290         * emulation/vi.el (vi-shell-op):
13291         * emulation/vip.el (vip-execute-com, ex-command):
13292         * emulation/viper-cmd.el (viper-exec-bang):
13293         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13294         the call of `shell-command-on-region'.  (Bug#14637)
13296         * simple.el (shell-command-on-region): Doc fix.
13298 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13300         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13301         (bug#14633).
13303 2013-06-18  Glenn Morris  <rgm@gnu.org>
13305         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13307         * newcomment.el (comment-search-forward, comment-search-backward):
13308         Doc fix.  (Bug#14376)
13310 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
13312         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13313         (buffer-face-mode-invoke): Doc fix.
13315 2013-06-18  Matthias Meulien  <orontee@gmail.com>
13317         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13318         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13320 2013-06-18  Glenn Morris  <rgm@gnu.org>
13322         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13323         Replace obsolete function generic-make-keywords with its expansion.
13325         * progmodes/python.el (ffap-alist): Declare.
13327         * textmodes/reftex.el (bibtex-mode-map): Declare.
13329 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13331         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13332         (package-unpack, package-unpack-single): Return the pkg-dir.
13333         (package-download-transaction): Use it to update package-alist.
13335 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13337         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13338         possible choice.
13340 2013-06-17  Juri Linkov  <juri@jurta.org>
13342         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13344 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
13346         * emacs-lisp/package.el (package-load-descriptor):
13347         Remove `with-syntax-table' call, `read' doesn't need it.
13348         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13350 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
13352         * startup.el (command-line): Expand package name returned by
13353         `package--description-file' (bug#14639).
13355 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
13357         * emacs-lisp/package.el (package-load-descriptor): Do not call
13358         `emacs-lisp-mode', just use its syntax table.
13360 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
13362         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13363         `font-lock-extra-managed-props' if any prettifying keyword is added.
13364         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13365         (prog-mode): Use `setq-local'.
13367 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13369         * international/characters.el (standard-case-table): Set syntax of ?»
13370         and ?« to punctuation.
13372 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
13374         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13375         Save relevant match data before calling `syntax-ppss' (bug#14595).
13377 2013-06-15  Juri Linkov  <juri@jurta.org>
13379         * files-x.el (modify-file-local-variable-prop-line): Add local
13380         variables to the end of the existing comment on the first line.
13381         Use `file-auto-mode-skip' to skip interpreter magic line,
13382         and also skip XML declaration.
13384 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13386         * startup.el (package--builtin-versions): New var.
13387         (package-subdirectory-regexp): Remove.
13388         (package--description-file): Hard code its value instead.
13390         * emacs-lisp/package.el: Don't activate packages older than builtin.
13391         (package-obsolete-list): Rename from package-obsolete-alist, and make
13392         it into a simple list of package-desc.
13393         (package-strip-version): Remove.
13394         (package-built-in-p): Use package--builtin-versions.
13395         (package-mark-obsolete): Simplify.
13396         (package-process-define-package): Mark it obsolete if older than the
13397         builtin version.
13398         (package-handle-response): Use line-end-position.
13399         (package-read-archive-contents, package--download-one-archive):
13400         Simplify.
13401         (package--add-to-archive-contents): Skip if older than the builtin or
13402         installed version.
13403         (package-menu-describe-package): Fix last change.
13404         (package-list-unversioned): New var.
13405         (package-menu--generate): Use it.
13407         * emacs-lisp/autoload.el: Manage package--builtin-versions.
13408         (autoload--insert-text, autoload--insert-cookie-text): New functions.
13409         (autoload-builtin-package-versions): New variable.
13410         (autoload-generate-file-autoloads): Use them.
13411         Remove the list of autoloaded functions/macros from the
13412         (autoload...) comments.
13414         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13416 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
13418         * simple.el (line-move-partial): Don't jump to the next screen
13419         line as soon as it becomes visible.  Instead, continue enlarging
13420         the vscroll until the portion of a tall screen line that's left on
13421         display is about the height of the frame's default font.
13422         (Bug#14567)
13424 2013-06-15  Glenn Morris  <rgm@gnu.org>
13426         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13427         compilation-error-regexp-alist void, or local while let-bound.
13429         * progmodes/make-mode.el (makefile-mode-syntax-table):
13430         Treat "=" as punctuation.  (Bug#14614)
13432 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
13434         * help-fns.el (describe-variable):
13435         Add extra line for permanent-local variables.
13437 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
13439         * progmodes/scheme.el (scheme-font-lock-keywords-2):
13440         Add export, import, library.  (Bug#9164)
13441         (library): Set indent function.
13443 2013-06-14  Glenn Morris  <rgm@gnu.org>
13445         * term/xterm.el (xterm--query):
13446         Stop after first matching handler.  (Bug#14615)
13448 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
13450         Add support for dired in saveplace.
13451         * dired.el (dired-initial-position-hook): New variable.
13452         (dired-initial-position): Call hook to place cursor position.
13453         * saveplace.el (save-place-to-alist): Add dired position.
13454         (save-place-dired-hook): New function.
13456 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13458         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13459         through a symbol rather than letrec.
13461         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
13462         (package-desc): Add `dir' field.
13463         (package-desc-full-name): New function.
13464         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
13465         (package-maybe-load-descriptor): Remove.
13466         (package-load-all-descriptors): Just call package-load-descriptor.
13467         (package--disabled-p): New function.
13468         (package-desc-vers, package-desc-doc): Remove aliases.
13469         (package--dir): Remove function.
13470         (package-activate): Check if a package is disabled.
13471         (package-process-define-package): New function, extracted from
13472         define-package.
13473         (define-package): Turn into a place holder.
13474         (package-unpack-single, package-tar-file-info):
13475         Use package--description-file.
13476         (package-compute-transaction): Use package--disabled-p.
13477         (package-download-transaction): Don't call
13478         package-maybe-load-descriptor since they're all loaded anyway.
13479         (package-install): Change argument to be a pkg-desc.
13480         (package-delete): Use a single pkg-desc argument.
13481         (describe-package-1): Use package-desc-dir instead of package--dir.
13482         Use package-desc property instead of package-symbol.
13483         (package-install-button-action): Adjust accordingly.
13484         (package--push): Rewrite.
13485         (package-menu--print-info): Adjust accordingly.  Change the ID format
13486         to be a pkg-desc.
13487         (package-menu-describe-package, package-menu-get-status)
13488         (package-menu--find-upgrades, package-menu-mark-upgrades)
13489         (package-menu-execute, package-menu--name-predicate):
13490         Adjust accordingly.
13491         * startup.el (package--description-file): New function.
13492         (command-line): Use it.
13493         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13494         Use package-desc-version.
13496         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13497         (byte-compile-preprocess): Use it.
13498         (byte-compile-file-form-defalias): Try a bit harder to use macros we
13499         can't quite recognize.
13500         (byte-compile-add-to-list): Remove.
13501         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13502         (cconv-closure-convert): Add assertion.
13504         * emacs-lisp/map-ynp.el: Use lexical-binding.
13505         (map-y-or-n-p): Remove unused vars `tail' and `object'.
13506         Factor out some repeated code.
13508 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13510         * subr.el (with-eval-after-load): New macro.
13511         (eval-after-load): Allow form to be a function.
13512         take advantage of lexical-binding.
13513         (do-after-load-evaluation): Use dolist and adjust to new format.
13514         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13516 2013-06-13  Juri Linkov  <juri@jurta.org>
13518         * replace.el (perform-replace): Display "symbol " and other search
13519         modes from `isearch-message-prefix' in the *Help* buffer.
13521         * isearch.el (isearch-query-replace): Add " symbol" and other
13522         possible search modes from `isearch-message-prefix' to the prompt.
13523         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13524         when reading a regexp to collect.
13526 2013-06-13  Juri Linkov  <juri@jurta.org>
13528         * isearch.el (word-search-regexp): Match whitespace if the search
13529         string begins or ends in whitespace.  The LAX arg is applied to
13530         both ends of the search string.  Use `regexp-quote' and explicit
13531         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
13532         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13533         boundaries are replaced with symbol boundaries, and characters
13534         between symbols match non-word non-symbol syntax.  (Bug#14602)
13536 2013-06-13  Juri Linkov  <juri@jurta.org>
13538         * isearch.el (isearch-del-char): Don't exceed the length of
13539         `isearch-string' by the prefix arg.  (Bug#14563)
13541 2013-06-13  Juri Linkov  <juri@jurta.org>
13543         * isearch.el (isearch-yank-word, isearch-yank-line)
13544         (isearch-char-by-name, isearch-quote-char)
13545         (isearch-printing-char, isearch-process-search-char):
13546         Add optional count prefix arg.  (Bug#14563)
13548         * international/isearch-x.el
13549         (isearch-process-search-multibyte-characters):
13550         Add optional count prefix arg.
13552 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13554         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13555         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13556         lexical-binding.
13558 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
13560         * subr.el (set-temporary-overlay-map): Add on-exit argument.
13562 2013-06-13  Glenn Morris  <rgm@gnu.org>
13564         * startup.el (tty-handle-args):
13565         Don't just discard "--" and anything after.  (Bug#14608)
13567         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13569 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
13571         Implement changes in Secret Service API.  Make it backward compatible.
13572         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13573         (secrets-create-item): Use it.  Prefix properties with interface.
13575 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
13577         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
13578         (term-emulate-terminal): Respect term-suppress-hard-newline.
13580 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
13582         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13583         Only remove a `thumb-file' overlay.  (Bug#14548)
13585 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
13587         * mail/reporter.el (reporter-submit-bug-report):
13588         Handle missing package-name.  (Bug#14600)
13590 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13592         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13593         (reftex-citation-prompt, reftex-default-bibliography)
13594         (reftex-bib-or-thebib, reftex-get-bibfile-list)
13595         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13596         (reftex-bib-sort-author, reftex-bib-sort-year)
13597         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13598         (reftex-extract-bib-entries-from-thebibliography)
13599         (reftex-get-bibkey-default, reftex-get-bib-names)
13600         (reftex-parse-bibtex-entry, reftex-get-bib-field)
13601         (reftex-format-bib-entry, reftex-parse-bibitem)
13602         (reftex-format-bibitem, reftex-do-citation)
13603         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13604         (reftex-restrict-bib-matches, reftex-extract-bib-file)
13605         (reftex-insert-bib-matches, reftex-format-citation)
13606         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13607         (reftex-create-bibtex-file): Add docstrings, mostly by converting
13608         existing comments into docstrings.
13610 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
13612         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13614 2013-06-12  Andreas Schwab  <schwab@suse.de>
13616         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13617         for auto-save files.
13619 2013-06-12  Glenn Morris  <rgm@gnu.org>
13621         * ido.el (ido-delete-ignored-files): Remove.
13622         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13623         Go back to calling ido-ignore-item-p directly.
13625 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
13627         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13629         * ido.el (ido-delete-ignored-files): New function,
13630         split from ido-make-file-list-1.
13631         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
13632         (ido-make-file-list-1): Use ido-delete-ignored-files.
13634 2013-06-12  Leo Liu  <sdl.web@gmail.com>
13636         * progmodes/octave.el (inferior-octave-startup)
13637         (inferior-octave-completion-table)
13638         (inferior-octave-track-window-width-change)
13639         (octave-eldoc-function-signatures, octave-help)
13640         (octave-find-definition): Use single quoted strings.
13641         (inferior-octave-startup-args): Change default value.
13642         (inferior-octave-startup): Do not hard code "-i" and
13643         "--no-line-editing".
13644         (inferior-octave-resync-dirs): Add optional arg NOERROR.
13645         (inferior-octave-directory-tracker): Use it.
13646         (octave-goto-function-definition): Robustify.
13647         (octave-help): Support highlighting operators in 'See also'.
13648         (octave-find-definition): Find subfunctions only in Octave mode.
13650 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13652         * help-fns.el (help-fns--compiler-macro): If the handler function is
13653         named, then put a link to it.
13654         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13655         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13656         (cl-typep): Use it.
13657         (cl-eval-when): Simplify debug spec.
13658         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
13659         compiler-macro function instead of setting `compiler-macro-file'.
13661 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
13663         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13664         * vc/vc-hooks.el (vc-stay-local): Doc fix.
13666 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13667             Daniel Hackney  <dan@haxney.org>
13669         First part of Daniel Hackney's patch to package.el.
13670         * emacs-lisp/package.el: Use defstruct.
13671         (package-desc): New, main struct.
13672         (package--bi-desc, package--ac-desc): New structs, used to describe the
13673         format in external files.
13674         (package-desc-vers): Replace with package-desc-version accessor.
13675         (package-desc-doc): Replace with package-desc-summary accessor.
13676         (package-activate-1): Remove `package' arg since the pkg-vec now
13677         includes the name.
13678         (define-package): Use package-desc-from-define.
13679         (package-unpack-single): Change file-name arg to be a symbol.
13680         (package--add-to-archive-contents): Use package-desc-create and new
13681         accessor functions to package--ac-desc.
13682         (package-buffer-info, package-tar-file-info): Return a package-desc.
13683         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
13684         arg to be a package-desc.
13685         (package-install-file): Adjust accordingly.  Use \' to match EOS.
13686         (package--from-builtin): New function.
13687         (describe-package-1, package-menu--generate): Use it.
13688         (package--make-autoloads-and-compile): Change name arg to be a symbol.
13689         (package-generate-autoloads): Idem and return the name of the file.
13690         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13691         Change pkg-info arg to be a package-desc.
13692         Use package-make-ac-desc.
13693         (package-upload-file): Use \' to match EOS.
13694         * finder.el (finder-compile-keywords): Use package-make-builtin.
13696 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13698         * vc/vc.el (vc-deduce-fileset): Change error message.
13699         (vc-read-backend): New function.
13700         (vc-next-action): Use it.
13702         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13704         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13705         (prolog-font-lock-keywords): Use regexp-opt instead.
13706         Don't manually highlight strings.
13707         (prolog-mode-variables): Simplify comment-start-skip.
13708         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
13710         * emacs-lisp/generic.el (generic--normalise-comments)
13711         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13712         (generic-mode-set-comments): Use them.
13713         (generic-bracket-support): Use setq-local.
13714         (generic-make-keywords-list): Declare obsolete.
13716 2013-06-11  Glenn Morris  <rgm@gnu.org>
13718         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13719         Prettify after setting font-lock-defaults.  (Bug#14574)
13721 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
13723         * replace.el (query-replace, occur-read-regexp-defaults-function)
13724         (replace-search):
13725         * subr.el (declare-function, number-sequence, local-set-key)
13726         (substitute-key-definition, locate-user-emacs-file)
13727         (with-silent-modifications, split-string, eval-after-load):
13728         Fix typos, remove unneeded backslashes and reflow some docstrings.
13730 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13732         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13733         default for Elisp files.
13735 2013-06-11  Glenn Morris  <rgm@gnu.org>
13737         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13738         although define-derived-mode was doing this anyway.  (Bug#14583)
13740 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
13742         * allout.el (allout-encryption-plaintext-sanitization-regexps):
13743         Fix make-variable-buffer-local call to refer to the correct variable.
13745 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
13747         * eshell/em-term.el (eshell-visual-commands)
13748         (eshell-visual-subcommands, eshell-visual-options):
13749         Add summary line to docstrings.  Add cross-references.
13751 2013-06-10  Glenn Morris  <rgm@gnu.org>
13753         * epa.el (epa-read-file-name): New function.  (Bug#14510)
13754         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
13756 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
13758         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13759         output redirection to be ignored with visual commands.
13761 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
13763         * eshell/em-term.el (eshell-visual-command-p): New function.
13764         (eshell-term-initialize): Move long lambda to separate function
13765         eshell-visual-command-p.
13766         * eshell/em-dirs.el (eshell-dirs-initialize):
13767         * eshell/em-script.el (eshell-script-initialize):
13768         Add missing #' to lambda.
13770 2013-06-08  Leo Liu  <sdl.web@gmail.com>
13772         * progmodes/octave.el (octave-add-log-current-defun): New function.
13773         (octave-mode): Set add-log-current-defun-function.
13774         (octave-goto-function-definition): Do not move point if not found.
13775         (octave-find-definition): Enhance to try subfunctions first.
13777 2013-06-08  Glenn Morris  <rgm@gnu.org>
13779         * emacs-lisp/bytecomp.el (byte-compile-char-before)
13780         (byte-compile-backward-char, byte-compile-backward-word):
13781         Improve previous change, to handle non-explicit nil.
13783 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13785         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13786         (smie--opener/closer-at-point): New function.
13787         (smie--matching-block-data): Use it.  Don't match from right after an
13788         opener or right before a closer.  Obey smie-blink-matching-inners.
13789         Don't signal a mismatch for repeated inners like "switch..case..case".
13791 2013-06-07  Leo Liu  <sdl.web@gmail.com>
13793         * progmodes/octave.el (octave-mode): Set comment-use-global-state
13794         to t.  (Bug#14303)
13795         (octave-function-header-regexp): Fix.  (Bug#14570)
13796         (octave-help-mode-finish-hook, octave-help-mode-finish):
13797         Remove.  Just use temp-buffer-show-hook.
13799         * newcomment.el (comment-search-backward): Revert last change.
13800         (Bug#14434)
13802         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13804 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
13806         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13807         through xargs, to avoid failure due to MS-Windows limitations on
13808         command-line length.
13810 2013-06-06  Glenn Morris  <rgm@gnu.org>
13812         * font-lock.el (lisp-font-lock-keywords-2):
13813         Treat user-error like error.
13815         * emacs-lisp/bytecomp.el (byte-compile-char-before)
13816         (byte-compile-backward-char, byte-compile-backward-word):
13817         Handle explicit nil arguments.  (Bug#14565)
13819 2013-06-05  Alan Mackenzie  <acm@muc.de>
13821         * isearch.el (isearch-allow-prefix): New user option.
13822         (isearch-other-meta-char): Don't exit isearch when a prefix
13823         argument is typed whilst `isearch-allow-prefix' is non-nil.
13824         (Bug#9706)
13826 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13828         * autorevert.el (auto-revert-notify-handler): Use memq.
13829         Hide assertion failure.
13831         * skeleton.el: Use cl-lib.
13832         (skeleton-further-elements): Use defvar-local.
13833         (skeleton-insert): Use cl-progv.
13835 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
13837         * progmodes/prog-mode.el (prog-prettify-symbols)
13838         (prog-prettify-install): Update docstrings.
13840 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13842         * simple.el: Move all the prog-mode code to prog-mode.el.
13843         * progmodes/prog-mode.el: New file.
13844         * loadup.el: Add prog-mode.el.
13846 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
13848         * simple.el (prog-prettify-symbols): Add version.
13849         (prog-prettify-install): Add convenience function to prettify symbols.
13851         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13852         (perl--augmented-font-lock-keywords-1)
13853         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13854         variables and use it.
13856         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13857         (cfengine3-mode): Remove unneeded variable and use it.
13859         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13860         (lisp--augmented-font-lock-keywords-1)
13861         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13862         Remove unneeded variables and use it.
13864 2013-06-05  João Távora  <joaotavora@gmail.com>
13866         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13867         to point when opening the connection.  (Bug#14380)
13869 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13871         * subr.el (load-history-regexp, load-history-filename-element)
13872         (eval-after-load, after-load-functions, do-after-load-evaluation)
13873         (eval-next-after-load, display-delayed-warnings)
13874         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13875         definition of save-match-data.
13876         (overriding-local-map): Remove accidental obsolescence declaration.
13878         * emacs-lisp/edebug.el (edebug-result): Move before first use.
13880 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
13882         Generalize symbol prettify support to prog-mode and implement it
13883         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13884         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13885         (prog--prettify-font-lock-compose-symbol)
13886         (prog-prettify-font-lock-symbols-keywords): New variables and
13887         functions to support symbol prettification.
13888         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13889         (lisp--augmented-font-lock-keywords-1)
13890         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13891         (lisp--prettify-symbols-alist): Implement prettify of lambda.
13892         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13893         (cfengine3--prettify-symbols-alist, cfengine3-mode):
13894         Implement prettify of -> => :: strings.
13895         * progmodes/perl-mode.el (perl-prettify-symbols)
13896         (perl--font-lock-compose-symbol)
13897         (perl--font-lock-symbols-keywords): Move to prog-mode.
13898         (perl--prettify-symbols-alist): Prettify -> => :: strings.
13899         (perl-font-lock-keywords-1)
13900         (perl-font-lock-keywords-2): Remove explicit prettify support.
13901         (perl--augmented-font-lock-keywords)
13902         (perl--augmented-font-lock-keywords-1)
13903         (perl--augmented-font-lock-keywords-2, perl-mode):
13904         Implement prettify support.
13906 2013-06-05  Leo Liu  <sdl.web@gmail.com>
13908         Re-implement SMIE matching block highlight using
13909         show-paren-data-function.  (Bug#14395)
13910         * emacs-lisp/smie.el (smie-matching-block-highlight)
13911         (smie--highlight-matching-block-overlay)
13912         (smie--highlight-matching-block-lastpos)
13913         (smie-highlight-matching-block)
13914         (smie-highlight-matching-block-mode): Remove.
13915         (smie--matching-block-data-cache): New variable.
13916         (smie--matching-block-data): New function.
13917         (smie-setup): Use smie--matching-block-data for
13918         show-paren-data-function.
13920         * progmodes/octave.el (octave-mode-menu): Fix.
13921         (octave-find-definition): Skip garbage lines.
13923 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13925         Fix compilation error with simultaneous dynamic+lexical scoping.
13926         Add warning when a defvar appears after the first let-binding.
13927         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13928         (byte-compile-close-variables): Initialize it.
13929         (byte-compile--declare-var): New function.
13930         (byte-compile-file-form-defvar)
13931         (byte-compile-file-form-define-abbrev-table)
13932         (byte-compile-file-form-custom-declare-variable): Use it.
13933         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
13934         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13935         (byte-compile-bind): Handle dynamic bindings that shadow
13936         lexical bindings.
13937         (byte-compile-unbind): Make arg non-optional.
13938         (byte-compile-let): Simplify.
13939         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13940         (cconv--analyse-function, cconv-analyse-form): Populate it.
13941         Protect byte-compile-bound-variables to limit the scope of defvars.
13942         (cconv-analyse-form): Add missing rule for (defvar <foo>).
13943         Remove unneeded rule for `declare'.
13945         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13946         so as to avoid depending on cl-adjoin at run-time.
13947         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13949         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13950         (macroexp--warn-and-return): Use it.
13952 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13954         * subr.el: Convert to lexical binding.
13955         (overriding-local-map): Make obsolete.
13956         (add-to-list): Doc fix.  Add compiler macro.
13957         (read-key): Swap values of local maps.
13959 2013-06-05  Leo Liu  <sdl.web@gmail.com>
13961         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13963 2013-06-04  Leo Liu  <sdl.web@gmail.com>
13965         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13966         (compilation-auto-jump): Suppress the "Mark set" message to give
13967         way to exit message.
13969 2013-06-04  Alan Mackenzie  <acm@muc.de>
13971         Remove faulty optimisation from indentation calculation.
13972         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13973         search limit based on 2000 characters back from indent-point.
13975 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
13977         * eshell/em-term.el (cl-lib): Require `cl-lib'.
13979 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13981         * emacs-lisp/lisp.el: Use lexical-binding.
13982         (lisp--local-variables-1, lisp--local-variables): New functions.
13983         (lisp--local-variables-completion-table): New var.
13984         (lisp-completion-at-point): Use it complete let-bound vars.
13986         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13987         eagerly (bug#14422).
13989 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
13991         * autorevert.el (auto-revert-notify-enabled)
13992         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13993         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13994         (auto-revert-notify-handler): Handle also gfilenotify.
13996         * subr.el (file-notify-handle-event): New defun.  Replacing ...
13997         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13998         Remove.
14000 2013-06-03  Juri Linkov  <juri@jurta.org>
14002         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14003         `M-s h .'.  (Bug#14427)
14005         * hi-lock.el (highlight-symbol-at-point): New alias for the new
14006         command `hi-lock-face-symbol-at-point'.
14007         (hi-lock-face-symbol-at-point): New command.
14008         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14009         (hi-lock-menu): Add `highlight-symbol-at-point'.
14010         (hi-lock-mode): Doc fix.
14012         * isearch.el (isearch-forward-symbol-at-point): New command.
14013         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14014         (isearch-highlight-regexp): Add a regexp which matches
14015         words/symbols for word/symbol mode.
14017         * subr.el (find-tag-default-bounds): New function with the body
14018         mostly moved from `find-tag-default'.
14019         (find-tag-default): Move most code to `find-tag-default-bounds',
14020         call it and apply `buffer-substring-no-properties' afterwards.
14022 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
14024         * eshell/em-term.el (eshell-term-initialize):
14025         Use `cl-intersection' rather than `intersection'.
14027 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
14029         * vc/log-view.el: Doc fix.
14030         (log-view-mode-map): Copy keymap from `special-mode-map'.
14032 2013-06-02  Eric Ludlam  <zappo@gnu.org>
14034         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14035         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14036         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14037         (eieio-unbound, eieio-default-superclass)
14038         (eieio--define-field-accessors, method-static, method-before)
14039         (method-primary, method-after, method-num-lists)
14040         (method-generic-before, method-generic-primary)
14041         (method-generic-after, method-num-slots)
14042         (eieio-specialized-key-to-generic-key)
14043         (eieio--check-type, class-v, class-p)
14044         (eieio-class-name, define-obsolete-function-alias)
14045         (eieio-class-parents-fast, eieio-class-children-fast)
14046         (same-class-fast-p, class-constructor, generic-p)
14047         (generic-primary-only-p, generic-primary-only-one-p)
14048         (class-option-assoc, class-option, eieio-object-p)
14049         (class-abstract-p, class-method-invocation-order)
14050         (eieio-defclass-autoload-map, eieio-defclass-autoload)
14051         (eieio-class-un-autoload, eieio-defclass)
14052         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14053         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14054         (eieio--defgeneric-init-form, eieio-defgeneric-form)
14055         (eieio-defgeneric-reset-generic-form)
14056         (eieio-defgeneric-form-primary-only)
14057         (eieio-defgeneric-reset-generic-form-primary-only)
14058         (eieio-defgeneric-form-primary-only-one)
14059         (eieio-defgeneric-reset-generic-form-primary-only-one)
14060         (eieio-unbind-method-implementations)
14061         (eieio--defmethod, eieio--typep)
14062         (eieio-perform-slot-validation, eieio-validate-slot-value)
14063         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14064         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14065         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14066         (eieio-slot-name-index, eieio-class-slot-name-index)
14067         (eieio-set-defaults, eieio-initarg-to-attribute)
14068         (eieio-attribute-to-initarg, eieio-c3-candidate)
14069         (eieio-c3-merge-lists, eieio-class-precedence-c3)
14070         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14071         (eieio-class-precedence-list, eieio-generic-call-methodname)
14072         (eieio-generic-call-arglst, eieio-generic-call-key)
14073         (eieio-generic-call-next-method-list)
14074         (eieio-pre-method-execution-functions, eieio-generic-call)
14075         (eieio-generic-call-primary-only, eieiomt-method-list)
14076         (eieiomt-optimizing-obarray, eieiomt-install)
14077         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14078         (eieio-generic-form, eieio-defmethod, make-obsolete)
14079         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14080         (defclass): Remove `eval-and-compile' from macro.
14081         (call-next-method, shared-initialize): Instead of using
14082         `scoped-class' variable, use new eieio--scoped-class, and
14083         eieio--with-scoped-class.
14084         (initialize-instance): Rename local variable 'scoped-class' to
14085         'this-class' to remove ambiguitity from old global.
14087         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
14088         eieio.el.
14089         (eieio--scoped-class-stack): New variable.
14090         (eieio--scoped-class): New fcn.
14091         (eieio--with-scoped-class): New scoping macro.
14092         (eieio-defclass): Use pushnew instead of add-to-list.
14093         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14094         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14095         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14096         `scoped-class' variable, use new eieio--scoped-class, and
14097         eieio--with-scoped-class.
14099         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14101 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
14103         * eshell/esh-ext.el (eshell-external-command): Pass args to
14104         `eshell-find-interpreter'.
14105         (eshell-find-interpreter): Add new second parameter ARGS.
14107         * eshell/em-script.el (eshell-script-initialize): Add second arg
14108         to the function added as MATCH to `eshell-interpreter-alist'.
14110         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14111         the function added as MATCH to `eshell-interpreter-alist'.
14113         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14114         (eshell-visual-options): New defcustom.
14115         (eshell-escape-control-x): Adapt docstring.
14116         (eshell-term-initialize): Test `eshell-visual-subcommands' and
14117         `eshell-visual-options' in addition to `eshell-visual-commands'.
14118         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14120 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14122         * progmodes/python.el (python-indent-block-enders): Add break,
14123         continue and raise keywords.
14125 2013-06-01  Glenn Morris  <rgm@gnu.org>
14127         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14129         Plain (f)boundp silences compilation warnings since Emacs 22.1.
14130         * progmodes/cc-cmds.el (delete-forward-p):
14131         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14132         * progmodes/cc-engine.el (buffer-syntactic-context):
14133         * progmodes/cc-fonts.el (face-property-instance):
14134         * progmodes/cc-mode.el (set-keymap-parents):
14135         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14136         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14137         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14138         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14139         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14141         * progmodes/cc-vars.el (other): Emacs has this widget since
14142         at least 21.1, so don't (re)define it.
14144         * eshell/em-cmpl.el (eshell-cmpl-initialize):
14145         Replace the obsolete alias pcomplete-arg-quote-list.
14147 2013-06-01  Leo Liu  <sdl.web@gmail.com>
14149         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14150         punctuation syntax.
14151         (inferior-octave-minimal-columns)
14152         (inferior-octave-last-column-width): New variables.
14153         (inferior-octave-track-window-width-change): New function.
14154         (inferior-octave-mode): Adjust column width so that Octave output,
14155         for example from 'ls', can fit into the window nicely.
14157 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
14159         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14160         Highlight expansions inside regexp literals.
14162 2013-05-31  Glenn Morris  <rgm@gnu.org>
14164         * obsolete/sym-comp.el (symbol-complete):
14165         Replace obsolete completion-annotate-function.
14167         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14169 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
14171         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14172         New function, checks if point is inside a literal that allows
14173         expression expansion.
14174         (ruby-syntax-propertize-expansion): Use it.
14175         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14176         around the body.
14178 2013-05-30  Juri Linkov  <juri@jurta.org>
14180         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14181         to "\M-si".
14182         (isearch-invisible): New variable.
14183         (isearch-forward): Doc fix.
14184         (isearch-mode): Set `isearch-invisible'
14185         to the value of `search-invisible'.
14186         (isearch-toggle-case-fold): Doc fix.
14187         (isearch-toggle-invisible): New command.
14188         (isearch-query-replace): Let-bind `search-invisible'
14189         to the value of `isearch-invisible'.
14190         (isearch-search): Use `isearch-invisible' instead of
14191         `search-invisible'.  Let-bind `search-invisible'
14192         to the value of `isearch-invisible'.  (Bug#11378)
14194 2013-05-30  Juri Linkov  <juri@jurta.org>
14196         * replace.el (perform-replace): Avoid `isearch-range-invisible'
14197         call when `query-flag' is nil and `search-invisible' is non-nil.
14198         (Bug#11746)
14200 2013-05-30  Glenn Morris  <rgm@gnu.org>
14202         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14204         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14205         (cc-require): Suppress spurious "noruntime" warnings.
14206         (cc-require-when-compile): Use fboundp, for sake of compiler.
14208         * progmodes/cc-mode.el: Move load of cc-vars before that of
14209         cc-langs (which in turn loads cc-vars), to quieten compiler.
14211 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14213         * paren.el: Simplify the code.
14214         (show-paren-mode): Always start the timer.
14215         (show-paren--idle-timer): Rename from show-paren-idle-timer.
14216         (show-paren--overlay, show-paren--overlay-1): Rename from
14217         show-paren-overlay and show-paren-overlay-1, and initialize to an
14218         overlay rather than to nil.
14219         (show-paren-function): Misc cleanup and simplifications.
14221 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14223         * paren.el (show-paren-data-function): New hook.
14224         (show-paren--default): New function, extracted from show-paren-function.
14225         (show-paren-function): Use show-paren-data-function.
14227 2013-05-30  Glenn Morris  <rgm@gnu.org>
14229         * ielm.el (ielm-map, ielm-complete-symbol):
14230         Use completion-at-point rather than obsolete functions.
14231         (inferior-emacs-lisp-mode): Doc fix.
14232         Set completion-at-point-functions, rather than
14233         comint-dynamic-complete-functions.
14235         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14236         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14237         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14239         * image.el (image-animated-p): Tweak definition.
14241         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14242         (rlogin-process-connection-type): Tweak default.  Add set-after.
14243         (rlogin-host): Doc fix.
14244         (rlogin): Tweak prompt.
14245         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14247         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14248         * progmodes/tcl.el (inferior-tcl-mode-map):
14249         Use completion-at-point rather than obsolete alias.
14251         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14253         * minibuffer.el (read-file-name-completion-ignore-case):
14254         Move before completion--in-region, for eager macro expansion.
14256 2013-05-29  Juri Linkov  <juri@jurta.org>
14258         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14259         for total count of matching lines.  Add `global-matches' for total
14260         count of matches.  Rename `matches' to `lines' for count of
14261         matching lines.  Add `matches' for count of matches.
14262         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
14263         to `prev-line' for line number of prev match endpt.
14264         Increment `matches' for every match.  Print the number of
14265         matching lines in the header.
14266         (occur-context-lines): Rename `lines' to `curr-line'.
14267         Rename `prev-lines' to `prev-line'.  (Bug#14017)
14269 2013-05-29  Juri Linkov  <juri@jurta.org>
14271         * replace.el (perform-replace): Add `skip-read-only-count',
14272         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14273         Increment them for corresponding conditions and report the number
14274         of skipped occurrences in the final message.  (Bug#11746)
14275         (query-replace, query-replace-regexp, query-replace-regexp-eval)
14276         (replace-string, replace-regexp): Doc fix.
14278 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14280         * emacs-lisp/trace.el (trace--read-args): Provide a default.
14282         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14283         prog-mode-map (bug#14504).
14285 2013-05-29  Leo Liu  <sdl.web@gmail.com>
14287         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14288         (octave-help): Small simplification.
14290         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14291         off the highlight first.
14293 2013-05-29  Glenn Morris  <rgm@gnu.org>
14295         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14296         Handle idlwave-last-system-routine-info-cons-cell being nil.
14298         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14299         (idlwave-write-paths): Simplify via with-temp-buffer.
14301         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14302         * emulation/cua-rect.el: Also load cua-base at run time.
14304         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14305         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14306         (cperl-imenu-on-info): Require imenu.
14308 2013-05-28  Alan Mackenzie  <acm@muc.de>
14310         Handle "capitalised keywords" correctly.
14311         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14313 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
14315         * eshell/em-unix.el: Add -r option to cp.
14317 2013-05-28  Glenn Morris  <rgm@gnu.org>
14319         * vc/vc-arch.el (vc-exec-after): Declare.
14320         (vc-switches): Autoload.
14321         * vc/vc-bzr.el: No need to require vc when compiling.
14322         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14323         (vc-resynch-buffer, vc-dir-refresh): Declare.
14324         (vc-setup-buffer, vc-switches): Autoload.
14325         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14326         (vc-resynch-buffer): Declare.
14327         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14328         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14329         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14330         (grep-read-regexp, grep-read-files, grep-expand-template)
14331         (vc-dir-refresh): Declare.
14332         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14333         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14334         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14335         * vc/vc-mtn.el (vc-exec-after): Declare.
14336         (vc-switches): Autoload.
14337         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14338         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14339         (vc-file-tree-walk): Declare.
14340         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14341         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14342         (vc-tag-precondition, vc-rename-master): Autoload.
14343         * vc/vc-svn.el (vc-exec-after): Declare.
14344         (vc-switches, vc-setup-buffer): Autoload.
14345         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14346         Autoload.
14347         (vc-resynch-buffer): Declare.
14349         * obsolete/fast-lock.el (byte-compile-warnings):
14350         Don't warn about obsolete features in this obsolete file.
14352         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14353         Move definition before use.
14355         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14356         (dun-unix-verbs): Remove dun-zippy.
14357         (dun-zippy): Remove function.
14359         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14361 2013-05-27  Juri Linkov  <juri@jurta.org>
14363         * replace.el (replace-search): New function with code moved out
14364         from `perform-replace'.
14365         (replace-highlight, replace-dehighlight): Move function definitions
14366         up closer to `replace-search'.  (Bug#11746)
14368 2013-05-27  Juri Linkov  <juri@jurta.org>
14370         * replace.el (perform-replace): Ignore invisible matches.
14371         In addition to checking `query-replace-skip-read-only', also
14372         filter out matches by calling `run-hook-with-args-until-failure'
14373         on `isearch-filter-predicates', and also check `search-invisible'
14374         for t or call `isearch-range-invisible'.
14375         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
14377 2013-05-27  Juri Linkov  <juri@jurta.org>
14379         * isearch.el (isearch-filter-predicates): Rename from
14380         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
14381         (isearch-message-prefix): Display text from the property
14382         `isearch-message-prefix' of the currently active filters.
14383         (isearch-search): Don't compare `isearch-filter-predicate' with
14384         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
14385         on `isearch-filter-predicates'.  Also check `search-invisible' for t
14386         or call `isearch-range-invisible'.
14387         (isearch-filter-visible): Make obsolete.
14388         (isearch-lazy-highlight-search):
14389         Call `run-hook-with-args-until-failure' on
14390         `isearch-filter-predicates' and use `isearch-range-invisible'.
14392         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14393         `isearch-filter-predicates' instead of `funcall'ing
14394         `isearch-filter-predicate'.
14395         (Info-mode): Set `Info-isearch-filter' to
14396         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14398         * dired-aux.el (dired-isearch-filter-predicate-orig):
14399         Remove variable.
14400         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14401         (dired-isearch-filenames-end): Add and remove
14402         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14403         instead of changing the value of `isearch-filter-predicate'.
14404         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14405         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14406         Put property `isearch-message-prefix' to "filename " on
14407         `dired-isearch-filter-filenames'.
14409         * wdired.el (wdired-change-to-wdired-mode):
14410         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14411         locally instead of changing `isearch-filter-predicate'.
14412         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14414 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
14416         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14417         return the commit hash (Bug#14459).  Also set the
14418         `vc-git-detached' property.
14419         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14420         (vc-git-mode-line-string): Use the same help-echo format whether
14421         in detached mode or not, because we know the actual revision now.
14422         When in detached mode, shorten the revision to 7 chars.
14424 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14426         * emacs-lisp/easy-mmode.el (define-minor-mode):
14427         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14428         mode hook and provide a docstring.
14430 2013-05-27  Alan Mackenzie  <acm@muc.de>
14432         Remove spurious syntax-table text properties inserted by C-y.
14433         * progmodes/cc-mode.el (c-after-change): Also clear hard
14434         syntax-table property with value nil.
14436 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
14438         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14439         when reading the events; the buffer layout shall not be changed.
14441 2013-05-27  Leo Liu  <sdl.web@gmail.com>
14443         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14444         New variable.
14445         (inferior-octave-directory-tracker): Automatically re-sync
14446         default-directory.
14447         (octave-help): Improve handling of 'See also'.
14449 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14451         * doc-view.el: Minor naming convention tweaks.
14452         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14454         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14455         even if there's no `display' property yet (bug#14435).
14457 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
14459         * subr.el (unmsys--file-name): Rename from reveal-filename.
14461         * Makefile.in (custom-deps, finder-data, autoloads)
14462         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14463         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14464         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14466 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14468         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14469         error-completion on the first 2 args of condition-case (bug#14446).
14470         Don't burp at EOB.
14472 2013-05-25  Leo Liu  <sdl.web@gmail.com>
14474         * comint.el (comint-previous-matching-input): Do not flood the
14475         *Messages* buffer with trivial messages.
14477 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14479         * progmodes/flymake.el (flymake-nop): Don't return a string.
14480         (flymake-set-at): Fix typo.
14482         * simple.el (read--expression): New function, extracted from
14483         eval-expression.  Set completion-at-point-functions (bug#14465).
14484         (eval-expression, eval-minibuffer): Use it.
14486 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
14488         * progmodes/flymake.el (flymake-save-buffer-in-file)
14489         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14490         (flymake-selected-frame, flymake-log, flymake-ins-after)
14491         (flymake-set-at, flymake-get-buildfile-from-cache)
14492         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14493         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14494         Refine the doc string.
14495         (flymake-get-file-name-mode-and-masks): Reformat.
14496         (flymake-get-real-file-name-function): Fix a minor bug.
14498 2013-05-24  Juri Linkov  <juri@jurta.org>
14500         * progmodes/grep.el (grep-mode-font-lock-keywords):
14501         Support =linenumber= format used by git-grep for lines with
14502         function names.  (Bug#13549)
14504 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14506         * progmodes/octave.el (octave-smie-rules): Return nil rather than
14507         0 after a semi-colon; it works better for smie-auto-fill.
14508         (octave--indent-new-comment-line): New function.
14509         (octave-indent-new-comment-line): Use it (indirectly).
14510         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
14511         modify comment-line-break-function.
14513         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14514         (smie-setup): Use add-function to set it.
14516 2013-05-24  Sam Steingold  <sds@gnu.org>
14518         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14519         argument (before the `interactive' argument).
14521 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14523         * image-mode.el (image-mode-winprops): Add winprops to
14524         image-mode-winprops-alist before running
14525         image-mode-new-window-functions.
14526         * doc-view.el (doc-view-new-window-function): Don't delay
14527         doc-view-goto-page via timers (bug#14435).
14529 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
14531         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
14532         (doc-view-desktop-save-buffer): New function.
14533         (doc-view-restore-desktop-buffer): New function.
14534         (desktop-buffer-mode-handlers):
14535         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14536         handler.
14537         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14538         `desktop-save-buffer' function.
14540 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
14542         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14543         (tramp-gvfs-file-name-handler): Raise a user error when
14544         `tramp-gvfs-enabled' is nil.
14545         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14546         Do not raise a user error when loading package.  (Bug#14447)
14548         * net/xesam.el: Move to obsolete/.
14550 2013-05-24  Glenn Morris  <rgm@gnu.org>
14552         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14554         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14556         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14557         (Info-find-node, Man-getpage-in-background): Declare.
14559         * mail/unrmail.el (unrmail):
14560         Replace obsolete detect-coding-with-priority.
14562         * net/socks.el (socks-split-string): Use this rather than split-string.
14563         (socks-nslookup-host): Update for above change.
14564         (dynamic-choice, s5-dynamic-choice-match)
14565         (s5-dynamic-choice-match-inline, s5-widget-value-create):
14566         Comment out unused code.
14568         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14569         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14570         (gud-tooltip-echo-area): Make obsolete.
14571         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14573         * progmodes/js.el (js--optimize-arglist): Declare.
14575         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14577         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14578         (ediff-window-C): Declare.
14580         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14581         Tweak requires to silence compiler.
14583         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14584         (he-search-string, he-tried-table, he-expand-list)
14585         (he-init-string, he-string-member, he-substitute-string)
14586         (he-reset-string): Declare.
14588         * obsolete/options.el (list-options): Use custom-variable-p,
14589         rather than obsolete alias.
14591 2013-05-23  Sam Steingold  <sds@gnu.org>
14593         * simple.el (shell-command-on-region): Pass the `replace' argument
14594         down to `call-process-region' to comply with the doc as reported on
14595         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14597 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14599         * emacs-lisp/smie.el (smie-indent-forward-token)
14600         (smie-indent-backward-token): Handle string tokens (bug#14381).
14602 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14604         * ielm.el (ielm-menu): New menu.
14605         (inferior-emacs-lisp-mode): Set comment-start.
14607 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14609         * textmodes/reftex.el (reftex-ref-style-toggle):
14610         Fix deactivate action.
14612         * textmodes/reftex-vars.el (reftex-ref-style-alist):
14613         Add cleveref macros.
14615         * textmodes/reftex-parse.el
14616         (reftex-locate-bibliography-files): Accept options for
14617         bibliography commands.
14618         * textmodes/reftex-vars.el (reftex-bibliography-commands):
14619         Add addbibresource.  Basic Biblatex support.
14621 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
14623         * net/tramp-gvfs.el (top):
14624         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14625         when loading package.  (Bug#14447)
14627 2013-05-23  Glenn Morris  <rgm@gnu.org>
14629         * progmodes/js.el: No need to load comint when compiling.
14630         (ring-insert, comint-send-string, comint-send-input)
14631         (comint-last-input-end, ido-chop): Declare.
14633         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14634         * vc/ediff-mult.el: Adjust requires.
14635         (ediff-directories-internal, ediff-directory-revisions-internal)
14636         (ediff-patch-file-internal): Declare.
14637         * vc/ediff-ptch.el: Adjust requires.
14638         (ediff-use-last-dir, ediff-buffers-internal): Declare.
14639         (ediff-find-file): Autoload.
14640         * vc/ediff-util.el: No need to load ediff when compiling.
14641         (ediff-regions-internal): Declare.
14642         * vc/ediff-wind.el: Adjust requires.
14643         (ediff-compute-toolbar-width): Define when compiling.
14644         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14645         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14646         (dired-get-filename, dired-get-marked-files)
14647         (ediff-last-dir-patch, ediff-patch-default-directory)
14648         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14649         (ediff-patch-buffer-internal): Declare.
14651         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14652         (ispell-process, ispell-buffer-local-words, lm-summary)
14653         (lm-section-start, lm-section-end): Declare.
14654         (checkdoc-ispell-init): Simplify.
14656         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14657         (he-string-member, he-reset-string, he-substitute-string): Declare.
14659         * eshell/em-ls.el: Adjust requires.
14660         (eshell-glob-regexp): Declare.
14661         * eshell/em-tramp.el: Adjust requires.
14662         (eshell-parse-command): Autoload.
14663         * eshell/em-xtra.el: Adjust requires.
14664         (eshell-parse-command): Autoload.
14665         * eshell/esh-ext.el: Adjust requires.
14666         (eshell-parse-command, eshell-close-handles): Autoload.
14667         * eshell/esh-io.el: Adjust requires.
14668         (eshell-output-filter): Autoload.
14669         * eshell/esh-util.el: No need to load tramp when compiling.
14670         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14671         Declare.
14672         (eshell-parse-ange-ls): Require ange-ftp and tramp.
14673         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14674         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14675         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14676         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14677         * eshell/esh-opt.el, eshell/esh-proc.el:
14678         * eshell/esh-var.el: Adjust requires.
14679         * eshell/eshell.el: Do not require esh-util twice.
14680         (eshell-add-input-to-history): Declare.
14681         (eshell-command): Check history module is active before using it.
14683         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14685 2013-05-22  Leo Liu  <sdl.web@gmail.com>
14687         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14689 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
14691         * autorevert.el (auto-revert-notify-add-watch)
14692         (auto-revert-notify-handler): Add `attrib' for the inotify case,
14693         it indicates changes in file modification time.
14695 2013-05-22  Glenn Morris  <rgm@gnu.org>
14697         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14698         Always delete the autoloaded function from the noruntime and
14699         unresolved functions lists.
14701         * allout.el: No need to load epa, epg, overlay when compiling.
14702         (epg-context-set-passphrase-callback, epg-list-keys)
14703         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14704         (epg-key-user-id-list): Declare.
14706         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14707         (viper-set-parsing-style-toggling-macro)
14708         (viper-set-emacs-state-searchstyle-macros):
14709         Use called-interactively-p on Emacs.
14710         (viper-looking-back): Make it an obsolete alias.  Update callers.
14711         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14712         Use looking-back rather than viper-looking-back.
14713         (viper-tmp-insert-at-eob, viper-enlarge-region)
14714         (viper-read-string-with-history, viper-register-to-point)
14715         (viper-append-to-register, viper-change-state-to-vi)
14716         (viper-backward-char-carefully, viper-forward-char-carefully)
14717         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14718         (viper-change-state-to-emacs): Declare.
14719         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14720         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14721         * emulation/viper-mous.el: Do not load viper-cmd.
14722         (viper-backward-char-carefully, viper-forward-char-carefully)
14723         (viper-forward-word, viper-adjust-window): Declare.
14725         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14727         * progmodes/idlw-help.el (idlwave-help-fontify):
14728         Use called-interactively-p.
14730         * term/w32console.el (w32-get-console-codepage)
14731         (w32-get-console-output-codepage): Declare.
14733         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14734         Remove unnecessary declarations.
14735         (dframe-message): Doc fix.
14737         * info.el (dframe-select-attached-frame, dframe-current-frame):
14738         Declare.
14740         * speedbar.el (speedbar-message): Make it an obsolete alias.
14741         Update all callers.
14742         (speedbar-with-attached-buffer)
14743         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14744         (speedbar-with-writable): Use backquote.
14745         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14746         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14747         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14748         rather than speedbar- aliases.
14749         * mail/rmail.el: Load dframe rather than speedbar when compiling.
14750         (speedbar-make-specialized-keymap, speedbar-insert-button)
14751         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14752         (speedbar-do-function-pointer): Declare.
14753         (rmail-speedbar-button, rmail-speedbar-find-file)
14754         (rmail-speedbar-move-message):
14755         Use dframe-with-attached-buffer rather than speedbar- alias.
14756         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14757         (dframe-message, speedbar-make-specialized-keymap)
14758         (speedbar-add-expansion-list, speedbar-mode-functions-list)
14759         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14760         (speedbar-insert-button, dframe-select-attached-frame)
14761         (dframe-maybee-jump-to-attached-frame)
14762         (speedbar-change-initial-expansion-list)
14763         (speedbar-previously-used-expansion-list-name): Declare.
14764         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14765         Use dframe-message, dframe-with-attached-buffer rather than
14766         speedbar- aliases.
14767         (gud-sentinel): Silence compiler.
14768         * progmodes/vhdl-mode.el (speedbar-refresh)
14769         (speedbar-do-function-pointer, speedbar-add-supported-extension)
14770         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14771         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14772         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14773         (speedbar-file-lists, speedbar-make-tag-line)
14774         (speedbar-line-directory, speedbar-goto-this-file)
14775         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14776         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14777         (speedbar-make-button, speedbar-reset-scanners)
14778         (speedbar-files-item-info, speedbar-line-text)
14779         (speedbar-find-file-in-frame, speedbar-set-timer)
14780         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14781         (speedbar-with-writable): Do not (re)define it.
14782         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14783         rather than speedbar- alias.
14785 2013-05-21  Leo Liu  <sdl.web@gmail.com>
14787         * progmodes/octave.el (octave-mode-menu): Update and re-organize
14788         menu items.
14789         (octave-mode): Tweak fill-nobreak-predicate.
14790         (inferior-octave-startup): Check process to avoid infinite loop.
14791         (inferior-octave): Pop to buffer first to show abornmal process
14792         exit information.
14794 2013-05-21  Glenn Morris  <rgm@gnu.org>
14796         * printing.el (pr-menu-bar): Define when compiling.
14798 2013-05-21  Leo Liu  <sdl.web@gmail.com>
14800         * progmodes/octave.el (octave-auto-fill): Remove.
14801         (octave-indent-new-comment-line): Improve.
14802         (octave-mode): Use auto fill mode through
14803         comment-line-break-function and fill-nobreak-predicate.
14804         (octave-goto-function-definition): Support DEFUN_DLD.
14805         (octave-beginning-of-defun): Small tweak.
14806         (octave-help): Show parent directory.
14808 2013-05-21  Glenn Morris  <rgm@gnu.org>
14810         * files.el (dired-unmark):
14811         * progmodes/gud.el (gdb-input): Update declarations.
14813         * calculator.el (electric, ehelp): No need to load when compiling.
14814         (Electric-command-loop, electric-describe-mode): Declare.
14816         * doc-view.el (doc-view-current-converter-processes): Move before use.
14818         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14819         Move MODE-set-explicitly definition before use.
14821         * international/mule-diag.el (mule-diag):
14822         Don't use obsolete window-system-version.
14824         * mail/feedmail.el (smtpmail): No need to load when compiling.
14825         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14827         * mail/mail-utils.el (rfc822): No need to load when compiling.
14828         (rfc822-addresses): Autoload it.
14829         (mail-strip-quoted-names): Trivial simplification.
14831         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14832         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14834         * net/snmp-mode.el (tempo): Don't duplicate requires.
14836         * progmodes/prolog.el (info): No need to load when compiling.
14837         (comint): Require before shell requires it.
14838         (Info-goto-node): Autoload it.
14839         (Info-follow-nearest-node): Declare.
14840         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14842         * textmodes/artist.el (picture-mode-exit): Declare.
14844         * textmodes/reftex-parse.el (reftex-parse-from-file):
14845         Trivial rewrite so the compiler can parse it better.
14847 2013-05-20  Leo Liu  <sdl.web@gmail.com>
14849         * progmodes/octave.el (octave-help-mode-map)
14850         (octave-help-mode-finish-hook): New variables.
14851         (octave-help-mode, octave-help-mode-finish): New functions.
14852         (octave-help): Use octave-help-mode.
14854 2013-05-20  Glenn Morris  <rgm@gnu.org>
14856         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
14858 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
14860         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14861         start at point, so that expansion starting right after opening
14862         slash in a regexp is recognized.
14863         (ruby-syntax-before-regexp-re): New defvar, extracted from
14864         ruby-syntax-propertize-function.  Since the value of this regexp
14865         is looked up at runtime now, we should be able to turn
14866         `ruby-syntax-methods-before-regexp' into a defcustom later.
14867         (ruby-syntax-propertize-function): Split regexp matching into two
14868         parts, for opening and closing slashes.  That allows us to skip
14869         over string interpolations and support multiline regexps.
14870         Don't call `ruby-syntax-propertize-expansions', instead use another rule
14871         for them, which calls `ruby-syntax-propertize-expansion'.
14872         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14873         call to `ruby-syntax-propertize-function'.
14874         (ruby-syntax-propertize-expansion): Extracted from
14875         `ruby-syntax-propertize-expansions'.  Handles one expansion.
14876         (ruby-syntax-propertize-percent-literal): Leave point right after
14877         the percent symbol, so that the expression expansion rule can
14878         propertize the contents.
14879         (ruby-syntax-propertize-heredoc): Leave point at bol following the
14880         heredoc openers.
14881         (ruby-syntax-propertize-expansions): Remove.
14883 2013-05-18  Juri Linkov  <juri@jurta.org>
14885         * man.el (Man-default-man-entry): Remove `-' from the end
14886         of the default value.  (Bug#14400)
14888 2013-05-18  Glenn Morris  <rgm@gnu.org>
14890         * comint.el (comint-password-prompt-regexp):
14891         Allow "password for XXX" where XXX contains colons (eg https://...).
14893 2013-05-18  Leo Liu  <sdl.web@gmail.com>
14895         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14896         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
14897         (octave-source-directories): Don't check process.
14898         (octave-source-directories, octave-find-definition): Doc fix.
14900 2013-05-18  Glenn Morris  <rgm@gnu.org>
14902         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14903         Remove backspace/delete bindings.  (Bug#14392)
14905         * cus-dep.el (custom-make-dependencies): Sort the output.
14906         (custom-versions-load-alist): Convert comment to doc.
14908 2013-05-17  Leo Liu  <sdl.web@gmail.com>
14910         * newcomment.el (comment-search-backward): Stricter in finding
14911         comment start.  (Bug#14303)
14913         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14914         (octave-comment-start-skip): Properly anchored.
14916 2013-05-17  Leo Liu  <sdl.web@gmail.com>
14918         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14919         Clean up when turned off.  (Bug#14395)
14920         (smie--highlight-matching-block-overlay): No longer buffer-local.
14921         (smie-highlight-matching-block): Adjust.
14923 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
14925         Doc string fix for "nanoseconds" (Bug#14406).
14926         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14927         Fix doc string typo that had "nanoseconds" instead of "microseconds".
14929 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
14931         * calc/calc-units.el (math-extract-units): Preserve powers
14932         of units.
14934 2013-05-17  Leo Liu  <sdl.web@gmail.com>
14936         * subr.el (delete-consecutive-dups): New function.
14937         * ido.el (ido-set-matches-1): Use it.
14938         * progmodes/octave.el (inferior-octave-completion-table): Use it.
14939         * ido.el (ido-remove-consecutive-dups): Remove.
14941 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14943         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14944         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14945         regexp-opt's `words'.
14947 2013-05-16  Leo Liu  <sdl.web@gmail.com>
14949         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14950         (smie--highlight-matching-block-overlay)
14951         (smie--highlight-matching-block-lastpos)
14952         (smie--highlight-matching-block-timer): New variables.
14953         (smie-highlight-matching-block): New function.
14954         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
14955         (smie-setup): Conditionally enable smie-blink-matching-open.
14957 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
14959         Sync with upstream verilog-mode r840.
14960         * progmodes/verilog-mode.el (verilog-mode-version)
14961         (verilog-mode-release-date): Update.
14962         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14963         (verilog-sig-tieoff): Fix string error on
14964         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
14965         (verilog-read-decls): Fix parameters confusing
14966         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
14968 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
14970         * subr.el (reveal-filename): New function.
14972         * loadup.el: Compute Emacs executable versions on MS-Windows,
14973         where executables have the .exe extension.  Add a hard link
14974         emacs-XX.YY.ZZ.exe on MS-Windows.
14976         * Makefile.in (XARGS_LIMIT): New variable.
14977         (custom-deps, finder-data, autoloads)
14978         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14979         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14980         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14981         (compile-main): Limit xargs according to $(XARGS_LIMIT).
14983 2013-05-16  Leo Liu  <sdl.web@gmail.com>
14985         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14986         (octave-mode-menu, octave-mode-map): Remove its uses.
14988 2013-05-16  Reto Zimmermann  <reto@gnu.org>
14990         Sync with upstream vhdl mode v3.34.2.
14991         * progmodes/vhdl-mode.el: Use `push' throughout.
14992         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14993         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14994         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
14995         (vhdl-actual-generic-name): New option to derive actual generic name.
14996         (vhdl-port-paste-signals): Replace formal by actual generics.
14997         (vhdl-beautify): New name for old group vhdl-align.  Update users.
14998         (vhdl-beautify-options): New option.
14999         (vhdl-last-input-event): New compat alias.  Use throughout.
15000         (vhdl-goto-line): Replace user level function `goto-line'.
15001         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15002         vhdl-fix-statement-buffer.
15003         (vhdl-create-mode-menu): Add some entries.
15004         (vhdl-align-region-groups): Respect vhdl-beautify-options.
15005         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15006         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15007         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15008         to force statements on one line.
15009         (vhdl-remove-trailing-spaces-region):
15010         New, split from vhdl-remove-trailing-spaces.
15011         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15012         Respect vhdl-beautify-options.
15013         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15014         (vhdl-update-sensitivity-list): Not add with index if exists without.
15015         Not include array index with signal.  Ignore keywords in comments.
15016         (vhdl-get-visible-signals): Regexp tweaks.
15017         (vhdl-template-component-inst): Handle empty library.
15018         (vhdl-template-type): Add template for 'enum' type.
15019         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15020         Use vhdl-replace-string.
15021         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15022         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15023         (vhdl-speedbar-initialize): Update for above name change.
15024         (vhdl-compose-wire-components): Fix in handling of constants.
15025         (vhdl-error-regexp-emacs-alist): New variable.
15026         (vhdl-error-regexp-add-emacs): New function;
15027         adds support for new compile.el (Emacs 22+)
15028         (vhdl-generate-makefile-1): Change target order for single lib. units.
15029         Allow use of absolute file names.
15031 2013-05-16  Leo Liu  <sdl.web@gmail.com>
15033         * simple.el (prog-indent-sexp): Indent enclosing defun.
15035 2013-05-15  Glenn Morris  <rgm@gnu.org>
15037         * cus-start.el (show-trailing-whitespace): Move to editing basics.
15038         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15039         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15040         (whitespace-highlight): Move to whitespace group.
15042         * comint.el (comint-source):
15043         * pcmpl-linux.el (pcmpl-linux):
15044         * shell.el (shell-faces):
15045         * eshell/esh-opt.el (eshell-opt):
15046         * international/ccl.el (ccl): Remove empty custom groups.
15048         * completion.el (dynamic-completion-mode):
15049         * jit-lock.el (jit-lock-debug-mode):
15050         * minibuffer.el (completion-in-region-mode):
15051         * type-break.el (type-break-mode-line-message-mode)
15052         (type-break-query-mode):
15053         * emulation/tpu-edt.el (tpu-edt-mode):
15054         * progmodes/subword.el (global-subword-mode, global-superword-mode):
15055         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15056         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15058         * term/xterm.el (xterm): Change parent group to terminals.
15060         * master.el (master): Remove empty custom group.
15061         (master-mode): Remove unused :group argument.
15062         * textmodes/refill.el (refill): Remove empty custom group.
15063         (refill-mode): Remove unused :group argument.
15065         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15067         * cus-dep.el: Provide a feature.
15068         (custom-make-dependencies): Ignore dotfiles (dir-locals).
15069         Don't mistakenly ignore files whose basenames match a basename
15070         from preloaded-file-list (eg cedet/ede/simple.el).
15071         Add a fallback method for getting :group.
15073 2013-05-15  Juri Linkov  <juri@jurta.org>
15075         * isearch.el (isearch-char-by-name): Rename from
15076         `isearch-insert-char-by-name'.  Doc fix.
15077         (isearch-forward): Mention `isearch-char-by-name' in
15078         the docstring.  (Bug#13348)
15080         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15081         `exit-minibuffer' instead of
15082         `isearch-nonincremental-exit-minibuffer'.
15083         (isearch-edit-string): Remove mention of
15084         `isearch-nonincremental-exit-minibuffer' from docstring.
15085         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15086         (isearch-forward-exit-minibuffer)
15087         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
15089 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15091         * loadup.el: Just use unversioned DOC.
15093         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15094         literals as extending to EOB.
15095         (nxml-last-fontify-end): Remove unused variable.
15096         (nxml-after-change1): Use with-silent-modifications.
15097         (nxml-extend-after-change-region): Simplify.
15098         (nxml-extend-after-change-region1): Remove function.
15099         (nxml-after-change1): Don't adjust for dependent regions.
15100         (nxml-fontify-matcher): Simplify.
15101         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15102         (xmltok-add-dependent): Remove function.
15103         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15104         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15105         (xmltok-scan-prolog-after-processing-instruction-open): Treat
15106         unclosed <[[, <?, comment, and other literals as extending to EOB.
15107         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15108         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15109         Remove functions.
15110         (rng-do-some-validation-1): Don't mark dependent regions.
15111         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15112         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15113         (nxml-clear-dependent-regions): Remove functions.
15114         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15115         (nxml-ensure-scan-up-to-date):
15116         Don't clear&mark dependent regions.
15118 2013-05-15  Leo Liu  <sdl.web@gmail.com>
15120         * progmodes/octave.el (octave-goto-function-definition):
15121         Improve and fix callers.
15123 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15125         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15126         the setter (bug#14387).
15128         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15129         surrounding group (bug#14402).
15131 2013-05-14  Juri Linkov  <juri@jurta.org>
15133         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15134         (Bug#14390)
15136 2013-05-14  Glenn Morris  <rgm@gnu.org>
15138         * progmodes/f90.el (f90-imenu-generic-expression):
15139         Fix typo in 2013-05-08 change.  (Bug#14402)
15141 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
15143         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15144         Remove signals for which replies are never received.
15146 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
15148         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15149         (gdb-handler-alist, gdb-handler-number): Remove variables.
15150         (gdb-handler-list): New variable.
15151         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15152         (gdb-pending-handler-p, gdb-handle-reply)
15153         (gdb-remove-all-pending-triggers): New functions.
15154         (gdb-discard-unordered-replies): New defcustom.
15155         (gdb-handler): New defstruct.
15156         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
15157         instead of gdb-pending-triggers.  Update docstring.
15158         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
15159         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15160         (gdb-var-update-handler, def-gdb-auto-update-trigger)
15161         (def-gdb-auto-update-handler, gdb-get-changed-registers)
15162         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15163         (gdb-frame-handler): Pending triggers are now automatically managed.
15164         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15165         Remove argument.
15166         (gdb-input): Automatically handles pending triggers.  Update docstring.
15167         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15168         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15169         Update comments.
15170         (gdb-done-or-error): Now use gdb-handle-reply.
15172 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
15174         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15175         gdb-debug-log.
15177 2013-05-14  Glenn Morris  <rgm@gnu.org>
15179         * subr.el (user-emacs-directory-warning): New option.
15180         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
15182 2013-05-14  Leo Liu  <sdl.web@gmail.com>
15184         * progmodes/octave.el (octave-font-lock-keywords): Fix error
15185         during redisplay.
15186         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15187         (octave-font-lock-texinfo-comment): Fix invalid search bound
15188         error: wrong side of point.
15190 2013-05-14  Glenn Morris  <rgm@gnu.org>
15192         * progmodes/flymake.el (flymake-xml-program): New option.
15193         (flymake-xml-init): Use it.
15195         * term/xterm.el: Provide a feature.
15197         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
15199 2013-05-13  Glenn Morris  <rgm@gnu.org>
15201         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15202         Add compat aliases as a hack workaround.  (Bug#14384)
15204 2013-05-13  Leo Liu  <sdl.web@gmail.com>
15206         * progmodes/octave.el (octave-indent-comment): Fix indentation for
15207         ###, and %!.
15208         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15209         C-M-q.
15210         (octave-comment-start-skip): Include %!.
15211         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15213 2013-05-12  Leo Liu  <sdl.web@gmail.com>
15215         * progmodes/octave.el (inferior-octave-startup): Store the value
15216         of __octave_srcdir__ for octave-source-directories.
15217         (inferior-octave-check-process): New function refactored out of
15218         inferior-octave-send-list-and-digest.
15219         (octave-source-directories)
15220         (octave-find-definition-filename-function): New variables.
15221         (octave-source-directories)
15222         (octave-find-definition-default-filename): New functions.
15223         (octave-find-definition): Improve to find functions implemented in C++.
15225 2013-05-12  Glenn Morris  <rgm@gnu.org>
15227         * calendar/diary-lib.el (diary-outlook-format-1):
15228         Don't include dayname in the output.  (Bug#14349)
15230 2013-05-11  Glenn Morris  <rgm@gnu.org>
15232         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15234         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15235         Treat cc-provide like provide.
15237 2013-05-11  Kevin Ryde  <user42@zip.com.au>
15239         * cus-dep.el (custom-make-dependencies):
15240         Use generated-autoload-load-name for the sake of files such
15241         such cedet/semantic/bovine/c.el, where the base file name
15242         is not in load-path.  (Bug#5277)
15244 2013-05-11  Glenn Morris  <rgm@gnu.org>
15246         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15247         Provide features.
15249 2013-05-11  Leo Liu  <sdl.web@gmail.com>
15251         * progmodes/octave.el (octave-indent-comment): Improve.
15252         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15253         (octave-eldoc-function-signatures, octave-eldoc-function):
15254         New functions.
15255         (octave-mode, inferior-octave-mode): Add eldoc support.
15257 2013-05-11  Richard Stallman  <rms@gnu.org>
15259         * epa.el (epa-decrypt-file): Take output file name as argument
15260         and read it using `interactive'.
15262 2013-05-11  Leo Liu  <sdl.web@gmail.com>
15264         * progmodes/octave.el (octave-beginning-of-line)
15265         (octave-end-of-line): Check before using up-list because it jumps
15266         out of more syntactic contructs since moving to smie.
15267         (octave-indent-comment): New function.
15268         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
15269         (octave-begin-keywords, octave-end-keywords)
15270         (octave-reserved-words, octave-smie-bnf-table)
15271         (octave-smie-rules): Add new keywords from Octave 3.6.4.
15273 2013-05-11  Glenn Morris  <rgm@gnu.org>
15275         * faces.el (internal-face-x-get-resource):
15276         * frame.el (ns-display-monitor-attributes-list):
15277         * calc/calc-aent.el (math-to-radians-2):
15278         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15279         Fix declarations.
15281         * calc/calc-menu.el: Make it loadable in isolation.
15283         * net/eudcb-bbdb.el: Make it loadable without bbdb.
15284         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15285         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15286         (eudc-bbdb-query-internal): Require 'bbdb.
15288         * lpr.el (lpr-headers-switches):
15289         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15291         * progmodes/sql.el (sql-login-params): Fix and improve :type.
15293         * emulation/edt-mapper.el: In batch mode, error rather than hang.
15295         * term.el (term-set-escape-char): Make it idempotent.
15297 2013-05-10  Leo Liu  <sdl.web@gmail.com>
15299         * progmodes/octave.el (inferior-octave-completion-table):
15300         No longer a function and all uses changed.  Use cache to speed up
15301         completion due to bug#11906.
15302         (octave-beginning-of-defun): Re-write to be more general.
15304 2013-05-10  Glenn Morris  <rgm@gnu.org>
15306         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15308 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
15310         * comint.el (comint-redirect-send-command-to-process): Use :around
15311         rather than :override for comint-redirect-filter.
15312         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15313         Call it instead of comint-redirect-original-filter-function (which
15314         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
15316 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
15318         * frame.el (display-monitor-attributes-list): Add NS case.
15319         (ns-display-monitor-attributes-list): Declare.
15321 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
15323         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
15325 2013-05-09  Glenn Morris  <rgm@gnu.org>
15327         * international/fontset.el (vertical-centering-font-regexp):
15328         Set standard-value.
15330         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15332         * bookmark.el (bookmark-search-delay):
15333         * cus-start.el (vertical-centering-font-regexp):
15334         * ps-mule.el (ps-mule-font-info-database-default):
15335         * ps-print.el (ps-default-fg, ps-default-bg):
15336         * type-break.el (type-break-good-break-interval):
15337         * whitespace.el (whitespace-indentation-regexp)
15338         (whitespace-space-after-tab-regexp):
15339         * emacs-lisp/testcover.el (testcover-1value-functions)
15340         (testcover-noreturn-functions, testcover-progn-functions)
15341         (testcover-prog1-functions):
15342         * emulation/viper-init.el (viper-emacs-state-cursor-color):
15343         * eshell/em-glob.el (eshell-glob-translate-alist):
15344         * play/tetris.el (tetris-tty-colors):
15345         * progmodes/cpp.el (cpp-face-default-list):
15346         * progmodes/flymake.el (flymake-allowed-file-name-masks):
15347         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15348         (idlwave-help-browser-generic-args):
15349         * progmodes/make-mode.el (makefile-special-targets-list):
15350         * progmodes/python.el (python-shell-virtualenv-path):
15351         * progmodes/verilog-mode.el (verilog-active-low-regexp)
15352         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15353         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15354         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15355         * textmodes/reftex-vars.el (reftex-format-label-function):
15356         * textmodes/remember.el (remember-diary-file): Fix custom types.
15358         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15359         Add :version.
15361 2013-05-09  Leo Liu  <sdl.web@gmail.com>
15363         * progmodes/octave.el (inferior-octave-completion-at-point):
15364         Restore file completion.  (Bug#14300)
15365         (inferior-octave-startup): Fix incorrect highlighting for the
15366         first prompt.
15368 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15370         * progmodes/ruby-mode.el: First cut at SMIE support.
15371         (ruby-use-smie): New var.
15372         (ruby-smie-grammar): New constant.
15373         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15374         (ruby-smie--forward-token, ruby-smie--backward-token)
15375         (ruby-smie-rules): New functions.
15376         (ruby-mode-variables): Setup SMIE if applicable.
15378 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
15380         * simple.el (line-move-visual): Signal beginning/end of buffer
15381         only if vertical-motion moved less than it was requested.  Avoids
15382         silly incorrect error messages when there are display strings with
15383         multiple newlines at EOL.
15385 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15387         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15388         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15389         (prolog-char-quote-workaround):
15390         * progmodes/cperl-mode.el (cperl-under-as-char):
15391         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15392         Mark as obsolete.
15393         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15394         their declaration.
15395         (vhdl-mode-syntax-table-init): Remove.
15397         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15398         last change.
15400         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15401         syntax for "_".
15402         (ld-script-font-lock-keywords):
15403         Change regexps to use things like \_< and \_>.
15405         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15406         Change all regexps to use things like \_< and \_>.
15408         * progmodes/autoconf.el (autoconf-definition-regexp)
15409         (autoconf-font-lock-keywords, autoconf-current-defun-function):
15410         Handle a _ with symbol syntax.
15411         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15413         * progmodes/ada-mode.el (ada-mode-abbrev-table):
15414         Consolidate declaration.
15415         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15416         the declaration.
15417         (ada-create-syntax-table): Remove.
15418         (ada-capitalize-word): Don't mess with the syntax of "_" since it
15419         already has the right syntax nowadays.
15420         (ada-goto-next-word): Don't change the syntax of "_".
15422         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15423         with-wrapper-hook.
15425 2013-05-08  Sam Steingold  <sds@gnu.org>
15427         * thingatpt.el (thing-at-point): Accept optional second argument
15428         NO-PROPERTIES to strip the text properties from the return value.
15429         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15430         to `thing-at-point' instead of stripping the properties ourselves.
15431         Also, when `thing-at-point' fails to find a url, prepend "http://"
15432         to the filename at point on the assumption that the user is
15433         pointing at something like gnu.org/gnu.
15435 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
15437         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15438         * faces.el (crm-separator):
15439         Silence byte-compiler.
15441         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15442         (tool-bar-map): Remove unneeded defvars.
15444 2013-05-08  Leo Liu  <sdl.web@gmail.com>
15446         Re-work a fix for bug#10994 based on Le Wang's patch.
15447         * ido.el (ido-remove-consecutive-dups): New helper.
15448         (ido-completing-read): Use it.
15449         (ido-chop): Revert fix for bug#10994.
15451 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
15453         * cus-edit.el (custom-save-variables):
15454         Pretty-print long values.  (Bug#14187)
15456 2013-05-08  Glenn Morris  <rgm@gnu.org>
15458         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15459         (m4-mode-syntax-table): Init in the defvar.
15460         (m4-mode-abbrev-table): Let define-derived-mode define it.
15462 2013-05-08  Tom Tromey  <tromey@redhat.com>
15464         * progmodes/m4-mode.el (m4-mode-syntax-table):
15465         Do not treat "_" as word constituent.  (Bug#14167)
15467 2013-05-07  Glenn Morris  <rgm@gnu.org>
15469         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15470         Remove explicit eshell-isearch-cancel-map.
15472         * progmodes/f90.el (f90-smart-end-names): New option.
15473         (f90-smart-end): Doc fix.
15474         (f90-end-block-optional-name): New constant.
15475         (f90-block-match): Respect f90-smart-end-names.
15477 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15479         * progmodes/octave.el (octave-smie-forward-token): Be more careful
15480         about implicit semi-colons (bug#14218).
15482 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15484         * frame.el (display-monitor-attributes-list)
15485         (frame-monitor-attributes): New functions.
15487 2013-05-06  Leo Liu  <sdl.web@gmail.com>
15489         * progmodes/octave.el (octave-syntax-propertize-function): Change
15490         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
15491         (octave-font-lock-keywords): Use octave-operator-regexp.
15492         (octave-completion-at-point): Rename from
15493         octave-completion-at-point-function.
15494         (inferior-octave-directory-tracker): Robustify.
15495         (octave-text-functions): Remove and fix its uses.  No such things
15496         any more.
15498 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15500         * emacs-lisp/trace.el (trace--display-buffer): New function.
15501         (trace-make-advice): Use it.
15503 2013-05-06  Juri Linkov  <juri@jurta.org>
15505         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
15506         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15507         Doc fix.
15508         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15509         in the help string.  (Bug#12985)
15511 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
15513         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
15515 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15517         * progmodes/perl-mode.el: Add support for here documents.
15518         (perl-syntax-propertize-function): Match here-doc markers.
15519         (perl-syntax-propertize-special-constructs): Find their end.
15520         (perl-imenu-generic-expression): Use [:alnum:].
15522         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15523         (advice--add-function): Refresh the advice if already present
15524         (bug#14317).
15526 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
15528         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
15530 2013-05-06  Glenn Morris  <rgm@gnu.org>
15532         * w32-fns.el (w32-charset-info-alist): Declare.
15534         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15535         of its defcustom properties.
15536         (eshell-cmpl-initialize): No need to load pcomplete.
15538         * generic-x.el: No need to require comint when compiling.
15540         * net/eudc-export.el: Make it loadable without bbdb.
15541         (top-level): Use require rather than load-library.
15542         (eudc-create-bbdb-record, eudc-bbdbify-phone)
15543         (eudc-batch-export-records-to-bbdb)
15544         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15545         Require bbdb.
15547 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15549         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15550         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15551         some tweaks, instead.
15553 2013-05-05  Leo Liu  <sdl.web@gmail.com>
15555         * progmodes/octave.el (octave-font-lock-keywords)
15556         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15557         (inferior-octave-send-list-and-digest): Improve error message.
15558         (octave-mode, inferior-octave-mode): Use setq-local.
15559         (octave-help): Set info-lookup-mode.
15561 2013-05-05  Richard Stallman  <rms@gnu.org>
15563         * vc/compare-w.el (compare-windows-whitespace):
15564         Treat no-break space as whitespace.
15566         * mail/rmailsum.el (rmail-summary-rmail-update):
15567         Detect empty summary and don't change selected message.
15568         (rmail-summary-goto-msg): Likewise.
15570         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15571         Doc fixes, rename args.
15573 2013-05-05  Alan Mackenzie  <acm@muc.de>
15575         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15577 2013-05-05  Juri Linkov  <juri@jurta.org>
15579         * info.el (Info-read-subfile): Use (point-min) instead of (point)
15580         to not add the length of the summary segment to the return value.
15581         (Bug#14125)
15583 2013-05-05  Leo Liu  <sdl.web@gmail.com>
15585         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15586         (inferior-octave-output-filter): Remove.
15587         (octave-send-region, inferior-octave-startup): Fix callers.
15588         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15589         (octave-binary-file-extensions): New user variable.
15590         (octave-find-definition): Confirm if opening binary files.
15591         (octave-help-file): Use octave-find-definition to get the binary
15592         confirmation.
15593         (octave-help): Adjust for octave-help-file change.
15595 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15597         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15598         Merge the two entries that handle function definitions.
15599         (pascal--syntax-propertize): New const.
15600         (pascal-mode): Use it.  Use setq-local.
15602 2013-05-04  Glenn Morris  <rgm@gnu.org>
15604         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15605         (diary-from-outlook): Respect diary-from-outlook-function.
15607 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15609         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15610         Move the declaration from C.
15611         (read-minibuffer, eval-minibuffer): Move from C.
15612         (completion-setup-function): Avoid minibuffer-completion-contents.
15614 2013-05-03  Leo Liu  <sdl.web@gmail.com>
15616         * progmodes/octave.el (octave-font-lock-keywords): Do not
15617         dehighlight 'end' in comments or strings.
15618         (octave-completing-read, octave-goto-function-definition):
15619         New helpers.
15620         (octave-help-buffer): New user variable.
15621         (octave-help-file, octave-help-function): New button types.
15622         (octave-help): New command and bind it to C-h ;.
15623         (octave-find-definition): New command and bind it to M-.
15624         (user-error): Alias to error if not defined.
15626 2013-05-02  Leo Liu  <sdl.web@gmail.com>
15628         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15629         for \.  (bug#14332)
15630         (octave-font-lock-keywords): Include [ and {.
15632 2013-05-02  Leo Liu  <sdl.web@gmail.com>
15634         * progmodes/octave.el (inferior-octave-startup-file): Change default.
15635         (inferior-octave): Remove calling comint-mode and return the buffer.
15636         (inferior-octave-startup): Cosmetic changes.
15638 2013-05-02  Leo Liu  <sdl.web@gmail.com>
15640         * progmodes/octave.el (octave-syntax-propertize-function):
15641         Include the case when ' is at line beginning.  (Bug#14336)
15643 2013-05-02  Glenn Morris  <rgm@gnu.org>
15645         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15646         * desktop.el (vc-dir-mode): Just autoload it here.
15648 2013-05-02  Alan Mackenzie  <acm@muc.de>
15650         Eliminate variable c-standard-font-lock-fontify-region-function.
15651         * progmodes/cc-mode.el
15652         (c-standard-font-lock-fontify-region-function): Remove.
15653         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15655 2013-05-01  Leo Liu  <sdl.web@gmail.com>
15657         * progmodes/octave.el: Compatible with older emacs-24 releases.
15658         (inferior-octave-has-built-in-variables): Remove.  Built-in
15659         variables were removed from Octave in 2007.
15660         (inferior-octave-startup): Fix uses.
15661         (comint-line-beginning-position): Remove compatibility code for
15662         emacs 21.
15664 2013-05-01  Juri Linkov  <juri@jurta.org>
15666         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
15668 2013-05-01  Juri Linkov  <juri@jurta.org>
15670         * comint.el (comint-previous-matching-input): Don't print message
15671         "History item: %d" when `isearch-mode' is active.
15672         (comint-history-isearch-message): Print message "History item: %d"
15673         when `comint-input-ring-index' is not empty and this function is
15674         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
15676 2013-05-01  Leo Liu  <sdl.web@gmail.com>
15678         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15679         definitions.  Use completion-at-point to insert keywords.
15680         (octave-abbrev-start): Remove.
15681         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15683 2013-04-30  Leo Liu  <sdl.web@gmail.com>
15685         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15686         change.
15688 2013-04-30  Alan Mackenzie  <acm@muc.de>
15690         Handle arbitrarily long C++ member initialisation lists.
15691         * progmodes/cc-engine.el (c-back-over-member-initializers):
15692         new function.
15693         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15694         (most) member init lists.
15696 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15698         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15699         variable.
15701 2013-04-30  Leo Liu  <sdl.web@gmail.com>
15703         * progmodes/octave.el (octave-variables): Remove.  No builtin
15704         variables any more.  All converted to functions.
15705         (octave-font-lock-keywords, octave-completion-at-point-function):
15706         Fix uses.
15707         (octave-font-lock-texinfo-comment): New user variable.
15708         (octave-texinfo-font-lock-keywords): New variable for texinfo
15709         comment block.
15710         (octave-function-comment-block): New face.
15711         (octave-font-lock-texinfo-comment): New function.
15712         (octave-mode): Font lock texinfo comment block.
15714 2013-04-29  Leo Liu  <sdl.web@gmail.com>
15716         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15717         indexing expression.
15718         (octave-continuation-string): Do not use \.
15719         (inferior-octave-complete-impossible): Remove.
15720         (inferior-octave-completion-table)
15721         (inferior-octave-completion-at-point): Remove its uses.
15722         (inferior-octave-startup): completion_matches was introduced to
15723         Octave in 1996 so safe to assume it.
15724         (octave-function-file-comment): Improve to follow how Octave does it.
15725         (octave-update-function-file-comment): Tweak.
15727 2013-04-29  Leo Liu  <sdl.web@gmail.com>
15729         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15730         (inferior-octave-startup): Remove inferior-octave-startup-hook.
15731         (octave-function-file-comment): Fix typo.
15732         (octave-sync-function-file-names): Use read-char-choice.
15734 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
15736         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15737         to t for the less important warnings.
15739 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
15741         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
15743 2013-04-27  Glenn Morris  <rgm@gnu.org>
15745         * vc/log-view.el (log-view-current-entry):
15746         Treat "---" separator lines as part of the following rev.  (Bug#14169)
15748 2013-04-27  Juri Linkov  <juri@jurta.org>
15750         * subr.el (read-number): Doc fix about using it by interactive
15751         code letter `n'.  (Bug#14254)
15753 2013-04-27  Juri Linkov  <juri@jurta.org>
15755         * desktop.el (desktop-auto-save-timeout): New option.
15756         (desktop-file-checksum): New variable.
15757         (desktop-save): Add optional arg `auto-save' and don't auto-save
15758         if nothing changed.
15759         (desktop-auto-save-timer): New variable.
15760         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15761         (after-init-hook): Call `desktop-auto-save-set-timer'.
15762         Suggested by Reuben Thomas <rrt@sc3d.org> in
15763         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15765 2013-04-27  Leo Liu  <sdl.web@gmail.com>
15767         * progmodes/octave.el (octave-function-file-p)
15768         (octave-skip-comment-forward, octave-function-file-comment)
15769         (octave-update-function-file-comment): New functions.
15770         (octave-mode-map): Bind C-c ; to
15771         octave-update-function-file-comment.
15772         (octave-mode-menu): Add octave-update-function-file-comment.
15773         (octave-mode, inferior-octave-mode): Fix doc-string.
15774         (octave-insert-defun): Conform to Octave's coding convention.
15775         (Bug#14285)
15777         * files.el (basic-save-buffer): Don't let errors in
15778         before-save-hook prevent saving buffer.
15780 2013-04-20  Roland Winkler  <winkler@gnu.org>
15782         * faces.el (read-face-name): Use completing-read if arg multiple
15783         is nil.
15785 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
15787         * ls-lisp.el (ls-lisp-insert-directory): If no files are
15788         displayed, move point to after the totals line.
15789         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15790         for the details.
15792 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15794         * emacs-lisp/package.el (package-autoload-ensure-default-file):
15795         Add current dir to the load-path.
15796         (package-generate-autoloads): Don't rely on
15797         autoload-ensure-default-file.
15799 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
15801         * textmodes/remember.el (remember-store-in-files): Document that
15802         the file name format is passed to `format-time-string'.
15804 2013-04-26  Leo Liu  <sdl.web@gmail.com>
15806         * progmodes/octave.el (octave-sync-function-file-names): New function.
15807         (octave-mode): Use it in before-save-hook.
15809 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15811         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15812         (bug#14274).
15814         * progmodes/octave.el (octave-smie-forward-token): Properly skip
15815         \n and comment, even if it's not an implicit ; (bug#14218).
15817 2013-04-26  Glenn Morris  <rgm@gnu.org>
15819         * subr.el (read-number): Once more use `read' rather than
15820         `string-to-number', to trap non-numeric input.  (Bug#14254)
15822 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
15824         * emacs-lisp/syntax.el (syntax-propertize-multiline):
15825         Use `syntax-multiline' text property consistently instead of
15826         `font-lock-multiline'.  (Bug#14237)
15828 2013-04-26  Glenn Morris  <rgm@gnu.org>
15830         * emacs-lisp/shadow.el (list-load-path-shadows):
15831         No longer necessary to check for duplicate simple.el, since
15832         2012-07-07 change to init_lread to not include installation lisp
15833         directories in load-path when running uninstalled.  (Bug#14270)
15835 2013-04-26  Leo Liu  <sdl.web@gmail.com>
15837         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15838         (octave-mode, inferior-octave-mode): Use setq-local.
15839         (octave-not-in-string-or-comment-p): Rename to
15840         octave-in-string-or-comment-p.
15841         (octave-in-comment-p, octave-in-string-p)
15842         (octave-in-string-or-comment-p): Replace defsubst with defun.
15844 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
15846         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15848 2013-04-25  Bastien Guerry  <bzg@gnu.org>
15850         * textmodes/remember.el (remember-data-directory)
15851         (remember-directory-file-name-format): Fix custom types.
15853 2013-04-25  Leo Liu  <sdl.web@gmail.com>
15855         * progmodes/octave.el (octave-completion-at-point-function):
15856         Make use of inferior octave process.
15857         (octave-initialize-completions): Remove.
15858         (inferior-octave-completion-table): New function.
15859         (inferior-octave-completion-at-point): Use it.
15860         (octave-completion-alist): Remove.
15862 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15864         * progmodes/opascal.el: Use font-lock and syntax-propertize.
15865         (opascal-mode-syntax-table): New var.
15866         (opascal-literal-kind, opascal-is-literal-end)
15867         (opascal-literal-token-at): Rewrite.
15868         (opascal--literal-start-re, opascal-font-lock-keywords)
15869         (opascal--syntax-propertize): New constants.
15870         (opascal-font-lock-defaults): Adjust.
15871         (opascal-mode): Use them.  Set comment-<foo> variables as well.
15872         (delphi-comment-face, opascal-comment-face, delphi-string-face)
15873         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15874         (delphi-other-face, opascal-other-face): Remove face variables.
15875         (opascal-save-state): Remove macro.
15876         (opascal-fontifying-progress-step): Remove constant.
15877         (opascal--ignore-changes): Remove var.
15878         (opascal-set-token-property, opascal-parse-next-literal)
15879         (opascal-is-stable-literal, opascal-complete-literal)
15880         (opascal-is-literal-start, opascal-face-of)
15881         (opascal-parse-region, opascal-parse-region-until-stable)
15882         (opascal-fontify-region, opascal-after-change)
15883         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15884         (opascal-debug-parse-region, opascal-debug-parse-window)
15885         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15886         (opascal-debug-fontify-buffer): Remove.
15887         (opascal-debug-mode-map): Adjust accordingly.
15889 2013-04-25  Leo Liu  <sdl.web@gmail.com>
15891         Merge octave-mod.el and octave-inf.el into octave.el with some
15892         cleanups.
15893         * progmodes/octave.el: New file renamed from octave-mod.el.
15894         * progmodes/octave-inf.el: Merged into octave.el.
15895         * progmodes/octave-mod.el: Renamed to octave.el.
15897 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
15899         * textmodes/reftex-vars.el
15900         (reftex-label-ignored-macros-and-environments): New defcustom.
15902         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15904 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15906         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15907         (smie-indent-keyword): Improve the check to ensure that the next
15908         comment is really on the same line.
15909         (smie-indent-comment): Don't align with a subsequent closer (or eob).
15911         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15912         semi-colons if the line is not otherwise empty (bug#14218).
15914 2013-04-25  Glenn Morris  <rgm@gnu.org>
15916         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15918 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15920         * progmodes/opascal.el (opascal-set-token-property): Rename from
15921         opascal-set-text-properties and only set `token' (bug#14134).
15922         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15923         (opascal-literal-text-properties): Remove.
15924         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15925         Adjust callers.
15927 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
15929         * textmodes/remember.el (remember-handler-functions): Add an
15930         option for a new handler `remember-store-in-files'.
15931         (remember-data-directory, remember-directory-file-name-format):
15932         New options.
15933         (remember-store-in-files): New function to store remember notes
15934         as separate files within a directory.
15936 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
15938         * progmodes/compile.el (compilation-next-error-function):
15939         Pass "formats" to compilation-find-file (bug#11777).
15941 2013-04-24  Glenn Morris  <rgm@gnu.org>
15943         * vc/vc-bzr.el (vc-bzr-print-log):
15944         * vc/vc-hg.el (vc-hg-print-log):
15945         * vc/vc-svn.el (vc-svn-print-log):
15946         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
15948         * vc/vc-bzr.el (vc-bzr-print-log):
15949         * vc/vc-cvs.el (vc-cvs-print-log):
15950         * vc/vc-git.el (vc-git-print-log):
15951         * vc/vc-hg.el (vc-hg-print-log):
15952         * vc/vc-mtn.el (vc-mtn-print-log):
15953         * vc/vc-rcs.el (vc-rcs-print-log):
15954         * vc/vc-sccs.el (vc-sccs-print-log):
15955         * vc/vc-svn.el (vc-svn-print-log):
15956         * vc/vc.el (vc-print-log-internal): Doc fixes.
15958 2013-04-23  Glenn Morris  <rgm@gnu.org>
15960         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15961         Remove venerable code attempting to avoid substitute-command-keys.
15963 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
15965         * textmodes/reftex-vars.el (reftex-label-regexps):
15966         Call `reftex-compile-variables' after changes to this variable.
15968 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15970         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15971         Use lexical-binding.
15972         (jit-lock-force-redisplay): Use markers, check buffer's continued
15973         existence and beware narrowed buffers.
15974         (jit-lock-fontify-now): Adjust call accordingly.
15976 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15978         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15979         to avoid misleading the user.
15981 2013-04-22  Leo Liu  <sdl.web@gmail.com>
15983         * info-look.el: Prefer latex2e.info.  (Bug#14240)
15985 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
15987         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
15989         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15990         * net/tramp.el (tramp-call-process): ... here.
15991         (tramp-set-completion-function, tramp-parse-putty):
15992         * net/tramp-adb.el (tramp-adb-execute-adb-command):
15993         * net/tramp-gvfs.el (tramp-gvfs-send-command):
15994         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15995         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15996         (tramp-call-local-coding-command): Use `tramp-call-process'
15997         instead of `tramp-compat-call-process'.
15999         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16000         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16001         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16002         (tramp-find-inline-compress): Improve traces.
16003         (tramp-maybe-send-script): Check for Perl binary.
16004         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16006 2013-04-22  Daiki Ueno  <ueno@gnu.org>
16008         * epg.el (epg-context-pinentry-mode): New function.
16009         (epg-context-set-pinentry-mode): New function.
16010         (epg--start): Pass --pinentry-mode option to gpg command.
16012 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
16014         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16015         `comint-dynamic-complete' is obsolete since 24.1, replaced by
16016         `completion-at-point'.  (Bug#13774)
16018         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16019         default key binding for `describe-distribution' has been moved to
16020         `C-h C-o'.  (Bug#13970)
16022 2013-04-21  Glenn Morris  <rgm@gnu.org>
16024         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16025         Add doc strings.
16026         (vc-print-log): Clarify interactive prompt.
16028 2013-04-20  Glenn Morris  <rgm@gnu.org>
16030         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16031         No longer include timestamp etc information.
16033 2013-04-20  Roland Winkler  <winkler@gnu.org>
16035         * faces.el (read-face-name): Bug fix, return just one face if arg
16036         multiple is nil.  (Bug#14209)
16038 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16040         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16041         (remove-function): Autoload.
16043         * comint.el (comint-redirect-original-filter-function): Remove.
16044         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16045         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16046         (vc-cvs-annotate-command):
16047         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16048         * progmodes/prolog.el (prolog-consult-compile):
16049         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16050         Use add/remove-function instead.
16051         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16052         (gud-tooltip-process-output, gud-tooltip-tips):
16053         Use add/remove-function instead.
16054         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16055         (scheme-interaction-mode, exit-scheme-interaction-mode):
16056         Use add/remove-function instead.
16058         * vc/vc-dispatcher.el: Use lexical-binding.
16059         (vc--process-sentinel): Rename from vc-process-sentinel.
16060         Change last arg to be the code to run.  Don't use vc-previous-sentinel
16061         and vc-sentinel-commands any more.
16062         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
16063         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16065 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
16067         * progmodes/sh-script.el (sh-imenu-generic-expression):
16068         Handle function names with a single character.  (Bug#14111)
16070 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
16072         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16073         for subroutines defined in an eval (bug#14182).
16075 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16077         * bookmark.el (bookmark-completing-read): Improve handling of empty
16078         string (bug#14176).
16080 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16082         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16084 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
16086         New faster Imenu implementation (bug#14058).
16087         * progmodes/python.el:
16088         (python-imenu-prev-index-position):
16089         (python-imenu-format-item-label-function)
16090         (python-imenu-format-parent-item-label-function)
16091         (python-imenu-format-parent-item-jump-label-function):
16092         New vars.
16093         (python-imenu-format-item-label)
16094         (python-imenu-format-parent-item-label)
16095         (python-imenu-format-parent-item-jump-label)
16096         (python-imenu--put-parent, python-imenu--build-tree)
16097         (python-imenu-create-index, python-imenu-create-flat-index)
16098         (python-util-popn): New functions.
16099         (python-mode): Set imenu-create-index-function to
16100         python-imenu-create-index.
16102 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16104         * winner.el (winner-active-region): Use region-active-p, activate-mark
16105         and deactivate-mark (bug#14225).
16107         * simple.el (deactivate-mark): Don't inline it.
16109 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
16111         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16113 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
16115         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16116         file extensions from the archive-mode entry in order to prefer
16117         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16119 2013-04-18  Leo Liu  <sdl.web@gmail.com>
16121         * bindings.el (help-event-list): Add ?\?.
16123 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16125         * subr.el (with-wrapper-hook): Declare obsolete.
16126         * simple.el (filter-buffer-substring-function): New hook.
16127         (filter-buffer-substring): Use it.
16128         (filter-buffer-substring-functions): Mark obsolete.
16129         * minibuffer.el (completion-in-region-function): New hook.
16130         (completion-in-region): Use it.
16131         (completion-in-region-functions): Mark obsolete.
16132         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16133         * abbrev.el (abbrev-expand-function): New hook.
16134         (expand-abbrev): Use it.
16135         (abbrev-expand-functions): Mark obsolete.
16136         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16137         and :filter-return.
16139 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
16141         * progmodes/python.el (python-nav--syntactically): Fix cornercases
16142         and do not care about match data.
16144 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16146         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16147         completion tables when completing error conditions and
16148         `declare' arguments.
16149         (lisp-complete-symbol, field-complete): Mark as obsolete.
16150         (check-parens): Unmatched parens are user errors.
16151         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16153 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
16155         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16156         command changed buffer (ie. `flyspell-pre-buffer' is not current
16157         buffer), which prevents making decisions based on invalid value of
16158         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
16159         cause an error when `flyspell-pre-point' was nil after switching
16160         buffers.
16161         (flyspell-post-command-hook): No longer needs to change buffers when
16162         checking pre-word.  While at it remove unnecessary progn.
16164 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
16166         * textmodes/ispell.el (ispell-add-per-file-word-list):
16167         Fix `flyspell-correct-word-before-point' error when accepting
16168         words and `coment-padding' is an integer by using
16169         `comment-normalize-vars' (Bug #14214).
16171 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
16173         New defun movement commands.
16174         * progmodes/python.el (python-nav--syntactically)
16175         (python-nav--forward-defun, python-nav-backward-defun)
16176         (python-nav-forward-defun): New functions.
16178 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
16180         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16181         (python-syntax-context): Use named compiler-macro for backwards
16182         compatibility with Emacs 24.x.
16184 2013-04-17  Leo Liu  <sdl.web@gmail.com>
16186         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16187         octave-hide-process-buffer.
16189 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16191         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16192         (bug#14216).
16194 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
16196         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16197         Fix adjustment of offset when receiving incomplete responses from GDB
16198         (bug#14129).
16200 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16202         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16203         python-mode-abbrev-table.
16204         (python-skeleton-define): Adjust accordingly.
16205         (python-mode-abbrev-table): New table that inherits from it so that
16206         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16208         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16209         (abbrev-symbol): Use it.
16210         (abbrev--before-point): Use it since we already handle inheritance.
16212 2013-04-16  Leo Liu  <sdl.web@gmail.com>
16214         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16215         binding to info-lookup-symbol.
16217 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
16219         * minibuffer.el (completion--twq-all):
16220         * term/ns-win.el (ns-initialize-window-system):
16221         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16223 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16225         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16226         global bindings.
16228         * doc-view.el (doc-view-start-process): Handle url-handler directories.
16230 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
16232         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16233         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16234         to nil.
16235         (ruby-end-of-defun): Remove the unused arg, change the docstring
16236         to reflect that this function is only used as the value of
16237         `end-of-defun-function'.
16238         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16239         to reflect an earlier change that beginning/end-of-defun functions
16240         jump between methods in a class definition, as well as top-level
16241         functions.
16243 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16245         * minibuffer.el (minibuffer-complete): Don't just scroll
16246         a *Completions* that's been iconified.
16247         (minibuffer-force-complete): Make sure repetitions do cycle when going
16248         through completion-in-region -> minibuffer-complete.
16250 2013-04-15  Alan Mackenzie  <acm@muc.de>
16252         Correct the placement of c-cpp-delimiters when there're #s not at
16253         col 0.
16255         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16256         place a submatch around the #.
16257         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16258         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
16259         on the #, not BOL.
16261 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16263         * emacs-lisp/nadvice.el: Properly test names when adding advice.
16264         (advice--member-p): New arg `name'.
16265         (advice--add-function, advice-member-p): Use it (bug#14202).
16267 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
16269         Reformulate java imenu-generic-expression.
16270         The old expression contained ill formed regexps.
16272         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16273         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16274         (cc-imenu-java-method-arg-regexp): New defconsts.
16275         (cc-imenu-java-build-type-args-regex): New defun.
16276         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16277         handling of spaces in the regexp.
16279 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
16281         * textmodes/ispell.el (ispell-command-loop): Remove
16282         flyspell highlight of a word when ispell accepts it (bug #14178).
16284 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
16286         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16287         uses code from the previous `ange-ftp-run-real-handler'.
16288         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16289         only in case that function exist.  This is needed for proper
16290         unloading of Tramp.
16292 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
16294         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16296         * textmodes/reftex.el (reftex-compile-variables): Use it.
16298 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16300         * files.el (normal-mode): Only use default major-mode if no other mode
16301         was specified.
16303         * emacs-lisp/trace.el (trace-values): New function.
16305         * files.el: Allow : in local variables (bug#14089).
16306         (hack-local-variable-regexp): New var.
16307         (hack-local-variables-prop-line, hack-local-variables): Use it.
16309 2013-04-13  Roland Winkler  <winkler@gnu.org>
16311         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
16312         data before it gets modified by bibtex-beginning-of-entry.
16314 2013-04-13  Roland Winkler  <winkler@gnu.org>
16316         * textmodes/bibtex.el (bibtex-url): Doc fix.
16318 2013-04-13  Roland Winkler  <winkler@gnu.org>
16320         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16321         does not visit a BibTeX file, exclude it from the list of buffers
16322         returned by bibtex-initialize.
16324 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
16326         * window.el (split-window): Remove interactive form, since as a
16327         command this function is a special case of split-window-below.
16328         Correct doc string.
16330 2013-04-12  Roland Winkler  <winkler@gnu.org>
16332         * faces.el (read-face-name): Do not override value of arg default.
16333         Allow single faces and strings as default values.  Remove those
16334         elements from return value that are not faces.
16335         (describe-face): Simplify.
16336         (face-at-point): New optional args thing and multiple so that this
16337         function can provide the same functionality previously provided by
16338         read-face-name.
16339         (make-face-bold, make-face-unbold, make-face-italic)
16340         (make-face-unitalic, make-face-bold-italic, invert-face)
16341         (modify-face, read-face-and-attribute): Use face-at-point.
16343         * cus-edit.el (customize-face, customize-face-other-window)
16344         * cus-theme.el (custom-theme-add-face)
16345         * face-remap.el (buffer-face-set)
16346         * facemenu.el (facemenu-set-face): Use face-at-point.
16348 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
16350         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16352 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
16354         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16355         off leading { and trailing } from field values.
16357 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
16359         * emacs-lisp/timer.el (timer--check): New function.
16360         (timer--time, timer-set-function, timer-event-handler): Use it.
16361         (timer-set-idle-time): Simplify.
16362         (timer--activate): CSE.
16363         (timer-event-handler): Give more info in error message.
16364         (internal-timer-start-idle): New function, moved from C.
16366         * mpc.el (mpc-proc): Add `restart' argument.
16367         (mpc-proc-cmd): Use it.
16368         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16369         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16370         less often.
16372 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
16374         * progmodes/sh-script.el: Implement `sh-mode' own
16375         `add-log-current-defun-function' (bug#14112).
16376         (sh-current-defun-name): New function.
16377         (sh-mode): Use the function.
16379 2013-04-09  Bastien Guerry  <bzg@gnu.org>
16381         * simple.el (choose-completion-string): Fix docstring (bug#14163).
16383 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16385         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16387         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16388         timer (bug#14156).
16390 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
16392         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16393         declaration.
16395 2013-04-07  Leo Liu  <sdl.web@gmail.com>
16397         * pcmpl-x.el: New file.
16399 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
16401         Do not set x-display-name until X connection is established.
16402         This is needed to prevent from weird situation described at
16403         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16404         * frame.el (make-frame): Set x-display-name after call to
16405         window system initialization function, not before.
16406         * term/x-win.el (x-initialize-window-system): Add optional
16407         display argument and use it.
16408         * term/w32-win.el (w32-initialize-window-system):
16409         * term/ns-win.el (ns-initialize-window-system):
16410         * term/pc-win.el (msdos-initialize-window-system):
16411         Add compatible optional display argument.
16413 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
16415         * files.el (normal-backup-enable-predicate): On MS-Windows and
16416         MS-DOS compare truenames of temporary-file-directory and of the
16417         file, so that 8+3 aliases (usually found in $TEMP on Windows)
16418         don't fail comparison by compare-strings.  Also, compare file
16419         names case-insensitively on MS-Windows and MS-DOS.
16421 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16423         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16424         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16426 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
16428         * whitespace.el (whitespace-color-on, whitespace-color-off):
16429         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16431 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
16433         * ispell.el (ispell-set-spellchecker-params):
16434         Really set `ispell-args' for all equivs.
16436 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16438         * ido.el (ido-completions): Use extra elements of ido-decorations
16439         (bug#14143).
16440         (ido-decorations): Update docstring.
16442 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
16444         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16445         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16446         nil during initialization, in order not to miss changes since the
16447         file was opened.  (Bug#14140)
16449 2013-04-05  Leo Liu  <sdl.web@gmail.com>
16451         * kmacro.el (kmacro-call-macro): Fix bug#14135.
16453 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
16455         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16457 2013-04-04  Glenn Morris  <rgm@gnu.org>
16459         * electric.el (electric-pair-inhibit-predicate): Add :version.
16461 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16463         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16464         when a package is required several times (bug#14082).
16466 2013-04-04  Roland Winkler  <winkler@gnu.org>
16468         * faces.el (read-face-name): Behave as promised by the docstring.
16469         Assume that arg default is a list of faces.
16470         (describe-face): Call read-face-name with list of default faces.
16472 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16474         * bookmark.el: Fix deletion of bookmarks (bug#13972).
16475         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16476         (bookmark-bmenu-execute-deletions): Only skip first line if it's
16477         the header.
16478         (bookmark-exit-hook-internal): Save even if list is empty.
16480 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
16482         * emacs-lisp/package.el (package-pinned-packages): New var.
16483         (package--add-to-archive-contents): Obey it (bug#14118).
16485 2013-04-03  Alan Mackenzie  <acm@muc.de>
16487         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16488         Also adapt to the new values of element 7 of a parse state.
16490         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16491         parameter `not-in-delimiter'.  Handle being inside comment opener.
16492         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16493         character in case we're typing a '*' after a '/'.
16494         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16495         instead by passing the parameter to c-state-pp-to-literal.
16497         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16498         for elt. 7 of a parse state.
16500 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
16502         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16503         * international/latin1-disp.el, international/mule-util.el:
16504         * language/cyril-util.el, language/european.el, language/ind-util.el:
16505         * language/lao-util.el, language/thai.el, language/tibet-util.el:
16506         * language/tibetan.el, language/viet-util.el:
16507         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16509 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16511         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16512         (electric-pair-post-self-insert-function): Use it.
16513         (electric-pair-default-inhibit): New function, extracted from
16514         electric-pair-post-self-insert-function.
16516 2013-03-31  Roland Winkler  <winkler@gnu.org>
16518         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16520 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16522         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16524 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
16526         Un-indent after "pass" and "return" statements (Bug#13888)
16527         * progmodes/python.el (python-indent-block-enders): New var.
16528         (python-indent-calculate-indentation): Use it.
16530 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
16532         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16533         defun.  Defining it as defalias could introduce too eager
16534         byte-compiler optimization.  (Bug#14030)
16536 2013-03-30  Chong Yidong  <cyd@gnu.org>
16538         * iswitchb.el (iswitchb-read-buffer): Fix typo.
16540 2013-03-30  Leo Liu  <sdl.web@gmail.com>
16542         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16543         (kmacro-execute-from-register): Pass the keyboard macro to
16544         kmacro-call-macro or repeating won't work correctly.
16546 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
16548         * progmodes/subword.el: Back to using `forward-symbol'.
16550         * subr.el (forward-whitespace, forward-symbol)
16551         (forward-same-syntax): Move from thingatpt.el.
16553 2013-03-29  Leo Liu  <sdl.web@gmail.com>
16555         * kmacro.el (kmacro-to-register): New command.
16556         (kmacro-execute-from-register): New function.
16557         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
16559 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16561         * mpc.el: Use defvar-local and setq-local.
16562         (mpc--proc-connect): Connection failures are not bugs.
16563         (mpc-mode-map): `follow-link' only applies to the buffer's content.
16564         (mpc-volume-map): Bind to the up-events.
16566 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
16568         * progmodes/subword.el (superword-mode): Use `forward-sexp'
16569         instead of `forward-symbol'.
16571 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16573         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16574         (edebug--recursive-edit): Use it.
16575         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16576         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16578 2013-03-28  Leo Liu  <sdl.web@gmail.com>
16580         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
16582 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
16584         * facemenu.el (list-colors-callback): New defvar.
16585         (list-colors-redisplay): New function.
16586         (list-colors-display): Install list-colors-redisplay as the
16587         revert-buffer-function.  (Bug#14063)
16589 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16591         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16592         and suffixes don't overlap (bug#14061).
16594         * case-table.el: Use lexical-binding.
16595         (case-table-get-table): New function.
16596         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
16598 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
16600         * progmodes/subword.el: Add `superword-mode' to do word motion
16601         over symbol_words (parallels and leverages `subword-mode' which
16602         does word motion inside MixedCaseWords).
16604 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
16606         * eshell/em-unix.el: Move su and sudo to...
16607         * eshell/em-tramp.el: ...Eshell tramp module.
16609 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16611         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16612         Change return value to be a sexp.  Delay `get-buffer' to after
16613         restoring the desktop (bug#13951).
16615 2013-03-26  Leo Liu  <sdl.web@gmail.com>
16617         * register.el: Move semantic tag handling back to
16618         cedet/semantic/senator.el.  (Bug#14052)
16620 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16622         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16623         into the prompt either (bug#13963).
16625 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16627         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16628         part of "(error-foo)".
16630 2013-03-24  Juri Linkov  <juri@jurta.org>
16632         * replace.el (list-matching-lines-prefix-face): New defcustom.
16633         (occur-1): Pass `list-matching-lines-prefix-face' to the function
16634         `occur-engine' if `face-differs-from-default-p' returns t.
16635         (occur-engine): Add `,' inside backquote construct to evaluate
16636         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
16637         Pass `prefix-face' to the functions `occur-context-lines' and
16638         `occur-engine-add-prefix'.
16639         (occur-engine-add-prefix, occur-context-lines): Add optional arg
16640         `prefix-face' and propertize the prefix with `prefix-face'.
16641         (Bug#14017)
16643 2013-03-24  Leo Liu  <sdl.web@gmail.com>
16645         * nxml/rng-valid.el (rng-validate-while-idle)
16646         (rng-validate-quick-while-idle): Guard against deleted buffer.
16647         (Bug#13999)
16649         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16650         is the last entry in kill-buffer-hook.
16652         * files.el (kill-buffer-hook): Doc fix.
16654 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
16656         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16657         Make it safe-local.
16659         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16661 2013-03-23  Leo Liu  <sdl.web@gmail.com>
16663         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16664         Remove.
16666         * nxml/rng-valid.el (rng-validate-mode)
16667         (rng-after-change-function, rng-do-some-validation):
16668         * nxml/rng-maint.el (rng-validate-buffer):
16669         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16670         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16671         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16672         (nxml-extend-after-change-region): Use with-silent-modifications.
16674         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16675         timer-idle-list.
16677         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16678         (rng-next-error-1, rng-previous-error-1): Do not let-bind
16679         timer-idle-list.  (Bug#13999)
16681 2013-03-23  Juri Linkov  <juri@jurta.org>
16683         * info.el (info-index-match): New face.
16684         (Info-index, Info-apropos-matches): Add a nested subgroup to the
16685         main pattern and add text properties with the new face to matches
16686         in index entries relative to the beginning of the index entry.
16687         (Bug#14015)
16689 2013-03-21  Eric Ludlam  <zappo@gnu.org>
16691         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16692         Inhibit read only while inserting objects.
16694 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
16696         * progmodes/cfengine.el: Update docs to mention
16697         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
16698         symbol motion.  Remove "_" from the word syntax.
16700 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
16702         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16703         syntax for both `cfengine2-mode' and `cfengine3-mode'.
16705 2013-03-20  Juri Linkov  <juri@jurta.org>
16707         * info.el (Info-next-reference-or-link)
16708         (Info-prev-reference-or-link): New functions.
16709         (Info-next-reference, Info-prev-reference): Use them.
16710         (Info-try-follow-nearest-node): Handle footnote navigation.
16711         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
16713 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16715         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16716         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16718 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
16720         Suppress unnecessary non-ASCII chatter during build process.
16721         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16722         (batch-skkdic-convert): Suppress most of the chatter.
16723         It's not needed so much now that machines are faster,
16724         and its non-ASCII component was confusing; see Dmitry Gutov in
16725         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16727 2013-03-20  Leo Liu  <sdl.web@gmail.com>
16729         * ido.el (ido-chop): Fix bug#10994.
16731 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
16733         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16734         Remove vars.
16735         (whitespace-color-on, whitespace-color-off):
16736         Use `font-lock-fontify-buffer' (Bug#13817).
16738 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16740         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16741         remapping in mode-line.
16742         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16744 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
16746         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16747         value for `whitespace-line' face (Bug#13875).
16748         (whitespace-font-lock-keywords): Change description.
16749         (whitespace-color-on): Don't save `font-lock-keywords' value, save
16750         the constructed keywords instead.
16751         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16753 2013-03-19  Leo Liu  <sdl.web@gmail.com>
16755         * progmodes/compile.el (compilation-display-error): New command.
16756         (compilation-mode-map, compilation-minor-mode-map): Bind it to
16757         C-o.  (Bug#13992)
16759 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
16761         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16763 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
16765         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16767 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
16769         * net/tramp-compat.el (tramp-compat-user-error): New defun.
16771         * net/tramp-adb.el (tramp-adb-handle-shell-command):
16772         * net/tramp-gvfs.el (top):
16773         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16774         (tramp-handle-shell-command): Use it.
16775         (tramp-dissect-file-name): Raise an error when hostname is a
16776         method name, and neither method nor user is specified.
16778         * net/trampver.el: Update release number.
16780 2013-03-18  Leo Liu  <sdl.web@gmail.com>
16782         Make sure eldoc can be turned off properly.
16783         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16784         eldoc-mode.
16785         (eldoc-display-message-p): Revert last change.
16786         (eldoc-display-message-no-interference-p)
16787         (eldoc-print-current-symbol-info): Tweak.
16789 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
16791         * doc-view.el (doc-view-new-window-function): Check the new window
16792         overlay's display property instead the char property of the
16793         buffer's first char.  Use `with-selected-window' instead of
16794         `save-window-excursion' with `select-window'.
16795         (doc-view-document->bitmap): Check the current doc-view overlay's
16796         display property instead the char property of the buffer's first char.
16798 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
16800         Automate the build of ja-dic.el (Bug#13984).
16801         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16802         from the input, rather than assume that it's been done for us by the
16803         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
16804         the current date into a ja-dic.el comment, as that complicates
16805         regression testing.
16807 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16809         * whitespace.el: Fix double evaluation.
16810         (whitespace-space, whitespace-hspace, whitespace-tab)
16811         (whitespace-newline, whitespace-trailing, whitespace-line)
16812         (whitespace-space-before-tab, whitespace-indentation)
16813         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16814         obsolete defvars.
16815         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16816         (whitespace-color-on): Use a single font-lock-add-keywords call.
16817         Fix double-evaluation of face variables.
16819 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
16821         * net/tramp-adb.el (tramp-adb-parse-device-names):
16822         Use `start-process' instead of `call-process'.  Otherwise, the
16823         function might be blocked under MS Windows.  (Bug#13299)
16825 2013-03-17  Leo Liu  <sdl.web@gmail.com>
16827         Extend eldoc to display info in the mode-line.  (Bug#13978)
16828         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16829         (eldoc-mode-line-string): New variable.
16830         (eldoc-minibuffer-message): New function.
16831         (eldoc-message-function): New variable.
16832         (eldoc-message): Use it.
16833         (eldoc-display-message-p)
16834         (eldoc-display-message-no-interference-p):
16835         Support eldoc-post-insert-mode.
16837         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16838         (eval-expression): Run it.
16840 2013-03-17  Roland Winkler  <winkler@gnu.org>
16842         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16843         strings in the list of return values.
16845 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
16847         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16848         radix before checking for HMS forms.
16850 2013-03-16  Leo Liu  <sdl.web@gmail.com>
16852         * progmodes/scheme.el: Add indentation and font-locking for λ.
16853         (Bug#13975)
16855 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16857         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16858         token before point (bug#13942).
16860 2013-03-16  Leo Liu  <sdl.web@gmail.com>
16862         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
16864 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
16866         * startup.el (command-line-normalize-file-name): Fix handling of
16867         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
16868         <xfq.free@gmail.com> in
16869         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16871 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
16873         Sync with Tramp 2.2.7.
16875         * net/trampver.el: Update release number.
16877 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
16879         * doc-view.el: Fix bug#13887.
16880         (doc-view-insert-image): Don't modify overlay associated to
16881         non-live windows, and implement horizontal centering of image in
16882         case it's smaller than the window.
16883         (doc-view-new-window-function): Force redisplay of new windows on
16884         doc-view buffers.
16886 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
16888         * saveplace.el (save-place-alist-to-file): Don't sort
16889         `save-place-alist', just pretty-print it (bug#13882).
16891 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
16893         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16894         Check whether `default-file-name-coding-system' is bound.
16895         It isn't in XEmacs.
16897 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16899         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16900         backquotes for `obsolete' (bug#13929).
16902         * international/mule.el (find-auto-coding): Include file name in
16903         obsolescence warning (bug#13922).
16905 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
16907         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16908         for CFEngine 3-specific indentation.
16909         (cfengine3-indent-line): Use it.  Fix up category regex.
16910         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16912 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16914         * type-break.el (type-break-file-name):
16915         * textmodes/remember.el (remember-data-file):
16916         * strokes.el (strokes-file):
16917         * shadowfile.el (shadow-initialize):
16918         * saveplace.el (save-place-file):
16919         * ps-bdf.el (bdf-cache-file):
16920         * progmodes/idlwave.el (idlwave-config-directory):
16921         * net/quickurl.el (quickurl-url-file):
16922         * international/kkc.el (kkc-init-file-name):
16923         * ido.el (ido-save-directory-list-file):
16924         * emulation/viper.el (viper-custom-file-name):
16925         * emulation/vip.el (vip-startup-file):
16926         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16927         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16929 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
16931         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16932         * language/thai-word.el: Switch to UTF-8.
16934 See ChangeLog.16 for earlier changes.
16936 ;; Local Variables:
16937 ;; coding: utf-8
16938 ;; End:
16940   Copyright (C) 2011-2015 Free Software Foundation, Inc.
16942   This file is part of GNU Emacs.
16944   GNU Emacs is free software: you can redistribute it and/or modify
16945   it under the terms of the GNU General Public License as published by
16946   the Free Software Foundation, either version 3 of the License, or
16947   (at your option) any later version.
16949   GNU Emacs is distributed in the hope that it will be useful,
16950   but WITHOUT ANY WARRANTY; without even the implied warranty of
16951   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16952   GNU General Public License for more details.
16954   You should have received a copy of the GNU General Public License
16955   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.