* smie.el (smie*ward-sexp-command): Don't pretend the arg is optional
[emacs.git] / lisp / ChangeLog
blobfd9857e792ccef42fe1af5b8d56c42d7f6489e69
1 2015-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * emacs-lisp/smie.el (smie-backward-sexp-command)
4         (smie-forward-sexp-command): Don't pretend the arg is optional
5         (bug#20205).
7 2015-03-23  Glenn Morris  <rgm@gnu.org>
9         * emacs-lisp/authors.el (authors-aliases)
10         (authors-obsolete-files-regexps): Additions.
12 2015-03-22  Jan Djärv  <jan.h.d@swipnet.se>
14         * simple.el (deactivate-mark): Only modify PRIMARY if we own
15         PRIMARY (Bug#18939).
17 2015-03-22  Martin Rudalics  <rudalics@gmx.at>
19         * emacs-lisp/debug.el (debug): Don't try using "previous" window
20         when its not live or on an invisible frame (Bug#17170).
22 2015-03-21  Mario Lang  <mlang@delysid.org>
24         * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
25         `recenter' if `current-buffer' is equal to `window-buffer'.
27 2015-03-20  Dmitry Gutov  <dgutov@yandex.ru>
29         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
30         Detect regexps after `!'.  (Bug#19285)
32 2015-03-20  Dmitry Gutov  <dgutov@yandex.ru>
34         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
35         Use `font-lock-constant-face' for nil, true and false.
36         Highlight `self' as a keyword.  (Bug#17733)
38 2015-03-20  Nobuyoshi Nakada  <nobu@ruby-lang.org>
40         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
41         Expect beginning of regexp also after open brace or vertical bar.
42         (Bug#20026)
44 2015-03-07  Michael Albinus  <michael.albinus@gmx.de>
46         * net/tramp.el (tramp-ssh-controlmaster-options): Make it a
47         defcustom.  (Bug#20015)
49 2015-03-07  Eli Zaretskii  <eliz@gnu.org>
51         * dired.el (dired-delete-file): Doc fix.  (Bug#20021)
53 2015-03-03  Agustín Martín Domingo  <agustin6martin@gmail.com>
55         * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
56         .dat files for aspell dicts are also searched for in location
57         described by `ispell-aspell-dict-dir', matching aspell's dict-dir
58         variable.
60 2015-03-03  Agustín Martín Domingo  <agustin6martin@gmail.com>
62         * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
63         (ispell-hunspell-fill-dictionary-entry)
64         (ispell-find-hunspell-dictionaries)
65         (ispell-set-spellchecker-params): New generic name for
66         `ispell-hunspell-dictionary-equivs-alist'.
67         (ispell-aspell-add-aliases): Also use
68         `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
69         standard dict names.
71 2015-02-24  Glenn Morris  <rgm@gnu.org>
73         * net/browse-url.el (browse-url-firefox-startup-arguments):
74         Make obsolete.
75         (browse-url-firefox): Doc fix.  Remove -remote, which no longer
76         exists in Firefox 36.  (Bug#19921)
77         (browse-url-firefox-sentinel): Remove function.
79 2015-02-23  Eli Zaretskii  <eliz@gnu.org>
81         * frame.el (blink-cursor-timer-function): Don't increment
82         blink-cursor-blinks-done counter when a menu is active on a w32
83         frame.  (Bug#19925)
85 2015-02-19  Juri Linkov  <juri@linkov.net>
87         * comint.el (comint-line-beginning-position): Revert searching for
88         the prompt when comint-use-prompt-regexp is non-nil because it
89         doesn't distinguish input from output.  Check the field property
90         `output' for the case when comint-use-prompt-regexp is nil.
91         (Bug#19710)
93 2015-02-15  Jérémy Compostella  <jeremy.compostella@gmail.com>
95         * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
96         with PAGER=cat.  (Bug#19870)
98 2015-02-13  Glenn Morris  <rgm@gnu.org>
100         * textmodes/flyspell.el (flyspell-duplicate-distance):
101         Bump :version.
103 2015-02-13  Eli Zaretskii  <eliz@gnu.org>
105         * textmodes/text-mode.el (text-mode-syntax-table): Make some
106         punctuation character behave as word-constituent, for more
107         compatibility with Unicode.
109         * simple.el (transient-mark-mode): Doc fix.  (Bug#19841)
111 2015-02-12  Agustín Martín Domingo  <agustin6martin@gmail.com>
113         Improve string search in `flyspell-word-search-*`. (Bug#16800)
114         * textmodes/flyspell.el (flyspell-duplicate-distance):
115         Limit default search distance for duplicated words to 40000.
116         (flyspell-word-search-backward, flyspell-word-search-forward):
117         Search as full word with defined casechars, not as substring.
119 2015-02-10  Juri Linkov  <juri@linkov.net>
121         Better support for the case of typing RET on the prompt in comint.
122         * comint.el (comint-get-old-input-default): Go to the field end
123         when comint-use-prompt-regexp is nil.
124         (comint-line-beginning-position): Check if point is already
125         on the prompt before searching for the prompt when
126         comint-use-prompt-regexp is non-nil.  (Bug#19710)
128 2015-02-08  Eli Zaretskii  <eliz@gnu.org>
130         * frame.el (frame-notice-user-settings): Refresh the value of
131         frame parameters after calling tty-handle-reverse-video.
132         Call face-set-after-frame-default with the actual parameters, to avoid
133         resetting colors back to unspecified.
134         (set-background-color, set-foreground-color): Pass the foreground
135         and background colors to face-set-after-frame-default.  (Bug#19802)
137 2015-02-06  Wolfgang Jenkner  <wjenkner@inode.at>
139         * net/network-stream.el (network-stream-open-tls): Respect the
140         :end-of-capability setting.
142 2015-02-05  Juri Linkov  <juri@linkov.net>
144         Revert the previous change of comint-line-beginning-position callers,
145         and modify comint-line-beginning-position instead.
147         * comint.el (comint-history-isearch-search)
148         (comint-history-isearch-message, comint-history-isearch-wrap):
149         Use comint-line-beginning-position instead of field-beginning.
150         (comint-send-input): Use either end-of-line or field-end
151         depending on comint-use-prompt-regexp.
152         (comint-line-beginning-position): Search backward
153         for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
154         Use field-beginning instead of line-beginning-position
155         if comint-use-prompt-regexp is nil.  (Bug#19710)
157 2015-02-04  Robert Pluim  <rpluim@gmail.com>  (tiny change)
159         * calendar/todo-mode.el (todo-item-done): When done items are
160         hidden, restore point to its location prior to invoking this
161         command.  (Bug#19727)
163 2015-02-04  Eli Zaretskii  <eliz@gnu.org>
165         * textmodes/artist.el (artist-ellipse-compute-fill-info):
166         Use mapcar, not mapc, to create the other half of fill-info.
167         (Bug#19763)
169 2015-02-04  Nicolas Petton  <nicolas@petton.fr>
171         * emacs-lisp/authors.el (authors-ignored-files)
172         (authors-renamed-files-alist): Additions.
174 2015-02-03  Michael Albinus  <michael.albinus@gmx.de>
176         * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
177         tempfile for ControlPath.  (Bug#19702)
179 2015-02-02  Michael Albinus  <michael.albinus@gmx.de>
181         * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
182         ControlPath if possible.  (Bug#19702)
184 2015-02-02  Glenn Morris  <rgm@gnu.org>
186         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
187         (authors-valid-file-names, authors-renamed-files-alist): Additions.
189 2015-02-01  Alan Mackenzie  <acm@muc.de>
191         CC Mode: Stop Font Lock forcing fontification from BOL.
192         Fixes debbugs#19669.
194         * progmodes/cc-mode.el (c-font-lock-init):
195         Setq font-lock-extend-region-functions to nil.
197 2015-01-31  Alan Mackenzie  <acm@muc.de>
199         Handle "#" operator properly inside macro.  Fix coding bug.
201         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
202         On finding a "#" which looks like the start of a macro, check it
203         isn't already inside a macro.
205         * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
206         "safe" position into the list of them when this is beyond our
207         current position.
209 2015-01-31  Martin Rudalics  <rudalics@gmx.at>
211         * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
212         the menu frame is dead.  (Bug#19728)
214 2015-01-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
216         python.el: Handle tabs in python-indent-dedent-line.
218         * progmodes/python.el (python-indent-dedent-line): Fixes for
219         indentation with tabs.  Thanks to <dale@codefu.org> (Bug#19730).
221 2015-01-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
223         * progmodes/python.el (python-indent-context): Respect user
224         indentation after comment.
226 2015-01-29  Tassilo Horn  <tsdh@gnu.org>
228         * textmodes/reftex-vars.el (featurep): Conditionalize value of
229         reftex-label-regexps in order to stay compatible with XEmacs 21.5
230         which has no explicitly numbered groups in regexps (bug#19714).
232 2015-01-28  Tassilo Horn  <tsdh@gnu.org>
234         * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
235         punctuation syntax since to allow bibtex fields with values such
236         as {Test 1) and 2)} (bug#19205, bug#19707).
237         (reftex--prepare-syntax-tables): New function.
238         (reftex-mode): Use it.
240 2015-01-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
242         python.el: New non-global state dependent indentation engine.
243         (Bug#18319, Bug#19595)
245         * progmodes/python.el (python-syntax-comment-or-string-p):
246         Accept PPSS as argument.
247         (python-syntax-closing-paren-p): New function.
248         (python-indent-current-level)
249         (python-indent-levels): Mark obsolete.
250         (python-indent-context): Return more context cases.
251         (python-indent--calculate-indentation)
252         (python-indent--calculate-levels): New functions.
253         (python-indent-calculate-levels): Use them.
254         (python-indent-calculate-indentation, python-indent-line):
255         (python-indent-line-function): Rewritten to use new API.
256         (python-indent-dedent-line): Simplify logic.
257         (python-indent-dedent-line-backspace): Use `unless`.
258         (python-indent-toggle-levels): Delete function.
260 2015-01-22  Wolfgang Jenkner  <wjenkner@inode.at>
262         * calc/calc-units.el (math-units-in-expr-p)
263         (math-single-units-in-expr-p, math-find-compatible-unit-rec)
264         (math-extract-units): Handle the `neg' operator.  (Bug#19582)
265         [Backport]
267 2015-01-21  Daniel Koning  <dk@danielkoning.com>  (tiny change)
269         * subr.el (posnp): Correct docstring of `posnp'.
270         (posn-col-row): Make it work with all mouse position objects.
271         * textmodes/artist.el (artist-mouse-draw-continously):
272         Cancel timers if an error occurs during continuous drawing.  (Bug#6130)
274 2015-01-20  Eli Zaretskii  <eliz@gnu.org>
276         * button.el (button-activate, push-button): Doc fix.  (Bug#19628)
278 2015-01-16  Samer Masterson  <samer@samertm.com>  (tiny change)
280         * pcomplete.el (pcomplete-parse-arguments): Parse arguments
281         regardless of pcomplete-cycle-completions's value.  (Bug#18950)
283 2015-01-13  Michael Albinus  <michael.albinus@gmx.de>
285         * filenotify.el (file-notify-descriptors, file-notify-handle-event):
286         Adapt docstring.
287         (file-notify--descriptor): New defun.
288         (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
289         Adapt docstring.  Handle multiple values for
290         `file-notify-descriptors' entries.  (Bug#18880)
292         * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
293         `file-notify-descriptors', the implementation has been changed.
295 2015-01-13  Juri Linkov  <juri@linkov.net>
297         * comint.el (comint-history-isearch-search)
298         (comint-history-isearch-wrap): Use field-beginning instead of
299         comint-line-beginning-position.
300         (comint-send-input): Go to the end of the field instead of the end
301         of the line to accept whole multi-line input.
302         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
303         (comint-history-isearch-message): Use field-beginning
304         instead of comint-line-beginning-position - that's more fixes for
305         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
306         (comint-history-isearch-message): Fix args of isearch-message-prefix.
308         [Backport]
310 2015-01-09  Eli Zaretskii  <eliz@gnu.org>
312         * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
313         On MS-Windows, bind coding-system-for-read to the console output
314         codepage.  (Bug#19458)
316 2015-01-08  Eli Zaretskii  <eliz@gnu.org>
318         * simple.el (line-move-visual): When converting X pixel coordinate
319         to temporary-goal-column, adjust the value for right-to-left
320         screen lines.  This fixes vertical-motion, next/prev-line, etc.
322 2015-01-06  Glenn Morris  <rgm@gnu.org>
324         * progmodes/sh-script.el (sh-mode): Doc fix.
325         (sh-basic-indent-line): Handle electric newline.  (Bug#18756)
327 2014-12-14  Steve Purcell  <steve@sanityinc.com>  (tiny change)
329         * emacs-lisp/package.el (package-menu-mode): Use an extra column
330         for the "Version" column, to accomodate date-and-time-based versions.
332 2015-01-04  Paul Eggert  <eggert@cs.ucla.edu>
334         Fix dired quoting bug with "Hit`N`Hide".  Fixes Bug#19498.
335         * files.el (shell-quote-wildcard-pattern): Also quote "`".
337 2015-01-04  Dmitry Gutov  <dgutov@yandex.ru>
339         Unbreak `mouse-action' property in text buttons.
340         * button.el (push-button): Fix regression from 2012-12-06.
342 2015-01-01  Eli Zaretskii  <eliz@gnu.org>
344         * tool-bar.el (tool-bar-local-item)
345         (tool-bar-local-item-from-menu): Call force-mode-line-update to
346         make sure the tool-bar changes show on display.
348 2014-12-29  Michael Albinus  <michael.albinus@gmx.de>
350         Sync with Tramp 2.2.11.
352         * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
353         Make an alias for `default-toplevel-value' if it doesn't exist.
355         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
356         Use `tramp-compat-delete-directory'.
358         * net/trampver.el: Update release number.
360 2014-12-29  Filipp Gunbin  <fgunbin@fastmail.fm>
362         * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
363         for remote files.  (Bug#19449)
365 2014-12-28  Eli Zaretskii  <eliz@gnu.org>
367         * international/mule.el (define-coding-system): Fix typos in the
368         doc string.
370 2014-12-28  Kenichi Handa  <handa@gnu.org>
372         * international/mule.el (define-coding-system): Improve the doc
373         string.
375 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
377         * progmodes/python.el (python-shell-buffer-substring):
378         Handle cornercase when region sent starts at point-min.
380 2014-12-27  Eli Zaretskii  <eliz@gnu.org>
382         * language/misc-lang.el (composition-function-table): Add Syriac
383         characters and also ZWJ/ZWNJ.  See
384         http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
385         for the details.
387 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
389         python.el: Fix message when sending region.
391         * progmodes/python.el (python-shell-send-region): Rename argument
392         send-main from nomain.  Fix message.
393         (python-shell-send-buffer): Rename argument send-main from arg.
395 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
397         python.el: Cleanup temp files even with eval errors.
399         * progmodes/python.el (python-shell-send-file): Make file-name
400         mandatory.  Fix temp file removal in the majority of cases.
402 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
404         python.el: Handle file encoding for shell.
406         * progmodes/python.el (python-rx-constituents): Add coding-cookie.
407         (python-shell--save-temp-file): Write file with proper encoding.
408         (python-shell-buffer-substring): Add coding cookie for detected
409         encoding to generated content.  Fix blank lines when removing
410         if-name-main block.
411         (python-shell-send-file): Handle file encoding.
412         (python-info-encoding-from-cookie)
413         (python-info-encoding): New functions.
415 2014-12-24  Michael Albinus  <michael.albinus@gmx.de>
417         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
418         Use `tramp-rsh-end-of-line', it ought to be more robust.
420 2014-12-23  Stefan Monnier  <monnier@iro.umontreal.ca>
422         * progmodes/js.el (js-syntax-propertize): "return" can't be divided
423         (bug#19397).
425 2014-12-23  Michael Albinus  <michael.albinus@gmx.de>
427         * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
429         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
430         as end-of-line delimeter for passwords, when running on MS Windows.
432 2014-12-23  Stefan Monnier  <monnier@iro.umontreal.ca>
434         * progmodes/sh-script.el (sh-set-shell): Don't change the global value
435         of indent-line-function (bug#19433).
437 2014-12-23  Fabián Ezequiel Gallina  <fgallina@gnu.org>
439         Fix line numbers on Python shell.
440         * progmodes/python.el (python-shell--save-temp-file): Do not
441         append coding cookie.
442         (python-shell-send-string): Generalize for
443         python-shell-send-region.
444         (python--use-fake-loc): Delete var.
445         (python-shell-buffer-substring): Cleanup fake-loc logic.
446         (python-shell-send-region): Remove fake-loc logic, simplify.
448 2014-12-22  Fabián Ezequiel Gallina  <fgallina@gnu.org>
450         * progmodes/python.el (python-indent-post-self-insert-function):
451         Make colon to re-indent only for dedenters, handling
452         multiline-statements gracefully.
454 2014-12-21  Michael Albinus  <michael.albinus@gmx.de>
456         * net/tramp.el (tramp-handle-insert-file-contents):
457         Set `find-file-not-found-functions' in case of errors.  (Bug#18623)
459 2014-12-19  Michael Albinus  <michael.albinus@gmx.de>
461         * net/tramp-sh.el (tramp-send-command-and-read): New optional
462         arg MARKER.
463         (tramp-get-remote-path): Use it.
465 2014-12-18  Stefan Monnier  <monnier@iro.umontreal.ca>
467         * subr.el (redisplay-dont-pause): Mark as obsolete.
469 2014-12-17  Michael Albinus  <michael.albinus@gmx.de>
471         * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
472         (tramp-accept-process-output): Use nil as argument for
473         `accept-process-output', when there is a gateway prepended.
475         * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
476         wrong debug buffer.
477         (tramp-gw-open-connection): Set process coding system 'binary.
478         (tramp-gw-open-network-stream): Handle HTTP error 403.
480         * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
481         wrong debug buffer.
482         (tramp-maybe-open-connection): Set connection property "gateway".
484 2014-12-15  Stefan Monnier  <monnier@iro.umontreal.ca>
486         * subr.el (sit-for): Tweak docstring (bug#19381).
488 2014-12-15  Dmitry Gutov  <dgutov@yandex.ru>
490         * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
491         stage to after `diff-index' (bug#19386).
493 2014-12-14  João Távora  <joaotavora@gmail.com>
495         * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
496         `electric-pair-mode' (bug#19356).
498 2014-12-12  Michael Albinus  <michael.albinus@gmx.de>
500         * simple.el (password-word-equivalents): Add "passcode", used for
501         numeric secrets like PINs or RSA tokens.
503 2014-12-10  Michael Albinus  <michael.albinus@gmx.de>
505         * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
506         order to determine `tramp-own-remote-path'.
508 2014-12-09  Fabián Ezequiel Gallina  <fgallina@gnu.org>
510         * progmodes/python.el (python-shell-parse-command):
511         Quote `python-shell-interpreter`.  (Bug#19289)
513 2014-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
515         * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
516         of the whole pipe when indenting an opening keyword after a |.
517         Generalize this treatment to opening keywords like "while" (bug#18031).
519 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
521         * simple.el (newline): Place the hook buffer-locally,
522         to make sure it's first.
524         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
525         Fix handling of symbols with different syntax at beginning/end or with
526         symbol rather than word syntax.
528 2014-11-30  Eli Zaretskii  <eliz@gnu.org>
530         * simple.el (line-move): If noninteractive, call line-move-1, not
531         forward-line, since the former is compatible with line-move-visual
532         both in terms of the column to which it moves and the return
533         value.  (Bug#19211)
535 2014-11-27  Stephen Berman  <stephen.berman@gmx.net>
536             Stefan Monnier  <monnier@iro.umontreal.ca>
538         * outline.el (outline-move-subtree-down): Make sure we can move
539         forward to find the end of the subtree and the insertion point
540         (bug#19102).
542 2014-11-27  Leonard Randall  <leonard.a.randall@gmail.com>
544         * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
545         for comment lines non-greedy and stopping at newlines to fix stack
546         overflows with large files. [Backport]
548 2014-11-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
550         * progmodes/python.el (python-shell-completion-setup-code):
551         Use __builtin__ module (or builtins in Python 3) and catch all errors
552         when importing readline and rlcompleter.
554 2014-11-26  Stephen Berman  <stephen.berman@gmx.net>
556         * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
557         (todo-revert-buffer): New function.
558         (todo-modes-set-1): Use it as the buffer-local value of
559         revert-buffer-function.
561 2014-11-26  Stephen Berman  <stephen.berman@gmx.net>
563         * calendar/todo-mode.el (todo-mode): If called interactively, just
564         display a message saying to call todo-show to enter Todo mode
565         (Bug#19112).
567 2014-11-24  Dmitry Gutov  <dgutov@yandex.ru>
569         * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
570         (Bug#18579)
572         * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
573         files.  (Bug#18579)
575 2014-11-23  Michael Albinus  <michael.albinus@gmx.de>
577         * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
578         remote `buffer-file-name'.
580 2014-11-23  Leo Liu  <sdl.web@gmail.com>
582         * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
584 2014-11-22  Fabián Ezequiel Gallina  <fgallina@gnu.org>
586         Set PYTHONUNBUFFERED on shell startup.
588         * progmodes/python.el (python-shell-unbuffered): New var.
589         (python-shell-calculate-process-environment): Use it.
591 2014-11-22  Michael Albinus  <michael.albinus@gmx.de>
593         * net/tramp.el (tramp-action-password): Clean password on subsequent
594         attempts even if there was no wrong password indication.  (Bug#19047)
596         * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
597         fallback.
598         (tramp-open-connection-setup-interactive-shell): No need to check
599         for nil as `tramp-get-remote-locale' return value.
601 2014-11-21  Eli Zaretskii  <eliz@gnu.org>
603         * vc/vc-git.el (vc-git-command, vc-git--call):
604         Bind coding-system-for-read and coding-system-for-write to
605         vc-git-commits-coding-system.
606         (vc-git-previous-revision): Use "~1" instead of "^", since the
607         latter is a special character for MS-Windows system shells.
609 2014-11-20  Michael Albinus  <michael.albinus@gmx.de>
611         Improve XEmacs compatibility.
613         * net/tramp.el (tramp-autoload-file-name-handler):
614         Wrap `temporary-file-directory' by `symbol-value', it doesn't
615         exist in XEmacs.
616         (tramp-read-passwd): Don't use `with-timeout-suspend' and
617         `with-timeout-unsuspend' if they don't exist, like in XEmacs.
618         (tramp-time-less-p, tramp-time-subtract): Remove functions.
619         (tramp-handle-file-newer-than-file-p, tramp-time-diff):
620         * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
621         * net/tramp-cache.el (tramp-get-file-property):
622         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
623         Use `time-less-p' and `time-subtract, respectively.
625         * net/tramp-adb.el (top): Do not require time-date.el.
627         * net/tramp-compat.el (top): Require time-date.el for XEmacs.
629         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
630         Check, whether `utf-8' is a valid coding system.
632 2014-11-19  Eli Zaretskii  <eliz@gnu.org>
634         * vc/vc.el (vc-retrieve-tag): Doc fix.
636 2014-11-17  Eli Zaretskii  <eliz@gnu.org>
638         * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
639         Don't assume --long is the default for "bzr log", always specify
640         it explicitly, in case the user defined an alias for 'log' that
641         uses some other format.
643 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
645         * progmodes/python.el (python-eldoc--get-doc-at-point):
646         Strip shell output before returning.  (bug#18794)
648 2014-11-16  Dmitry Gutov  <dgutov@yandex.ru>
650         Fix indentation before `!=' and after `+='.  Originally reported
651         in https://github.com/mooz/js2-mode/issues/174.
652         * progmodes/js.el (js--indent-operator-re): Make assignments and
653         (in)equality operator a separate case.
654         (js--continued-expression-p): Escape the second `+' in the regexp.
656 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
658         * window.el (handle-select-window): Deactivate shift-region (bug#19003).
660 2014-11-15  Andreas Schwab  <schwab@linux-m68k.org>
662         * version.el (emacs-repository-get-version): Use git rev-parse
663         instead of git log.
665 2014-11-15  Fabián Ezequiel Gallina  <fgallina@gnu.org>
667         * progmodes/python.el (python-indent-calculate-levels):
668         Fix indentation behavior multiline dedenter statement.  (Bug#18432)
670 2014-11-15  Fabián Ezequiel Gallina  <fgallina@gnu.org>
672         * progmodes/python.el (python-indent-region):
673         Use python-indent-line and skip special cases.  (Bug#18843)
675 2014-11-15  Michael Albinus  <michael.albinus@gmx.de>
677         * vc/vc-hg.el (vc-hg-state): Disable pager.  (Bug#18940)
679 2014-11-15  Peder O. Klingenberg  <peder@klingenberg.no>
681         * mail/emacsbug.el (report-emacs-bug): Make a better guess at
682           envelope-from when reporting through sendmail (bug#19054).
684 2014-11-14  Ivan Andrus  <darthandrus@gmail.com>
686         * progmodes/python.el (python-ffap-module-path):
687         Use `derived-mode-p' instead of equality test on `major-mode'.
689 2014-11-13  Ulrich Müller  <ulm@gentoo.org>
691         * version.el (emacs-repository-get-version): Call `git log'
692         command with proper format argument (bug#19049).
694 2014-11-10  Glenn Morris  <rgm@gnu.org>
696         * startup.el (command-line): Handle nil elements in load-path.
698 2014-11-08  Glenn Morris  <rgm@gnu.org>
700         * emacs-lisp/bytecomp.el (byte-compile-report-error):
701         Allow the argument to be a string.  Due to the vague doc,
702         it was already being used this way.
704 2014-11-07  Michael Albinus  <michael.albinus@gmx.de>
706         * net/tramp.el (tramp-check-cached-permissions): Include hop in
707         the constructed Tramp file name.  (Bug#18943)
709 2014-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
711         * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
712         (bug#18952).
713         (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
714         * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
716 2014-11-07  Michael Albinus  <michael.albinus@gmx.de>
718         * files.el (file-name-non-special): Wrap the call of
719         `insert-file-contents' by `unwind-protect', in order to set the
720         buffer's file name anyway.  (Bug#18891)
722 2014-11-07  Daiki Ueno  <ueno@gnu.org>
724         * epg.el (epg--list-keys-1): Ignore fields after the 15th field
725         (bug#18979).  Reported by Hideki Saito.
727 2014-10-18  Alan Mackenzie  <acm@muc.de>
729         Check that a "macro" found near point-min isn't a ## operator.
730         Fixes bug #18749.  Backported from trunk, 2014-11-05.
731         * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
732         (c-beginning-of-macro): Use the above new function.
734 2014-11-05  Alan Mackenzie  <acm@muc.de>
736         Fix wrong bound to c-font-lock-declarators.  Fixes bug #18948.
737         * progmodes/cc-fonts.el (c-font-lock-declarations):
738         Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
739         the buffer is sometimes narrowed to less than "limit" (e.g., in
740         the presence of macros).
742 2014-11-05  Michael Albinus  <michael.albinus@gmx.de>
744         * net/tramp.el (tramp-error-with-buffer): Show connection buffer
745         only when message appeared in minibuffer.  (Bug#18891)
747         * net/tramp-adb.el (tramp-adb-handle-file-attributes):
748         * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
749         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
750         case of errors.
752 2014-11-04  Eli Zaretskii  <eliz@gnu.org>
754         * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
755         returned by load-average.
757 2014-11-04  Michael Albinus  <michael.albinus@gmx.de>
759         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
760         a local copy; setting `inhibit-file-name-handlers' proper might be
761         more performant.  (Bug#18751)
763 2014-11-04  Glenn Morris  <rgm@gnu.org>
765         * mail/emacsbug.el (report-emacs-bug): No longer include
766         recent-keys in the report.  (Bug#18900)
768 2014-11-03  Michael Albinus  <michael.albinus@gmx.de>
770         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
771         local copy of FILENAME, when it is remote.  (Bug#18751)
773 2014-11-02  Michael Albinus  <michael.albinus@gmx.de>
775         * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
776         an error when the command fails; the return code must indicate.
777         (tramp-adb-send-command-and-check): Fix docstring.
779 2014-11-01  Michael Albinus  <michael.albinus@gmx.de>
781         * net/tramp-cache.el (tramp-get-file-property)
782         (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
783         and `tramp-cache-set-count-*' are bound.  Otherwise, there might
784         be compiler warnings.
786         * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
787         Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
789 2014-11-01  Eli Zaretskii  <eliz@gnu.org>
791         * progmodes/compile.el (compilation-mode): Turn off deferred
792         fontifications locally.  (Bug#18856)
794 2014-11-01  Wolfgang Jenkner  <wjenkner@inode.at>
796         * net/tramp-sh.el (tramp-send-command): Fix the case where the
797         remote-echo connection property is non-nil (bug#18858).
799 2014-11-01  Michael Albinus  <michael.albinus@gmx.de>
801         Backport Tramp changes from trunk.
803         * net/tramp.el (tramp-methods): Tweak docstring.
804         (tramp-file-name-handler): Apply `cons' where appropriate.
805         (tramp-handle-file-accessible-directory-p): Check for
806         `file-readable-p' instead of `file-executable-p'.
807         (tramp-handle-shell-command): Use `display-buffer'.  (Bug#18326)
808         (tramp-handle-unhandled-file-name-directory): Return "/".
809         (tramp-check-cached-permissions):
810         Use `tramp-compat-file-attributes'.
811         (tramp-call-process): Add new argument VEC.  Adapt callees in all
812         tramp*.el files.
814         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
815         (tramp-adb-handle-write-region): Improve messages.
816         (tramp-adb-maybe-open-connection): Don't set
817         `tramp-current-*' variables.
819         * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
820         Suppress debug messages.
822         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
823         (tramp-ftp-file-name-handler):
825         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
826         (tramp-gvfs-methods-mounttracker)
827         (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
828         during initialization.  (Bug#18774)
829         (tramp-gvfs-handle-delete-file): Flush file properties, not
830         directory properties.
831         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
832         reading "unix::mode".
833         (tramp-gvfs-handle-file-name-all-completions):
834         Use "-h" option for "gvfs-ls".
835         (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
836         `user' and `localname' could be nil.
837         (tramp-gvfs-send-command): Simplify traces.
839         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
840         (vc-git-program, vc-hg-program): Declare.
841         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
842         (tramp-methods) <nc>: Add new method.
843         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
844         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
845         `tramp-login-args'.
846         (tramp-default-user-alist): Add "nc".
847         (top): Remove completion function for "sftp".  Add completion
848         functions for "nc" and "psftp".
849         (tramp-sh-handle-set-visited-file-modtime):
850         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
851         (tramp-do-copy-or-rename-file-out-of-band):
852         Use cached "remote-copy-args" value, if available.  (Bug#18199)
853         Tweak docstring.  Implement support for "nc" method.
854         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
855         (tramp-remote-coding-commands, tramp-call-local-coding-command):
856         Tweak docstring.
857         (tramp-sh-handle-start-file-process): Expand `default-directory'.
858         (tramp-sh-handle-write-region): Tweak error message.
859         (tramp-sh-handle-vc-registered): Remove backends when the remote
860         binary does not exist.
861         (tramp-open-connection-setup-interactive-shell):
862         Prefer utf-8 coding.  (Bug#17859)
863         (tramp-find-inline-encoding): Do not raise an error.
864         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
865         the "nc" case.  Quote result also locally.
866         (tramp-get-remote-id): Check also for "gid".
867         (tramp-get-remote-python):
869         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
870         (tramp-smb-handle-set-file-acl): Use `start-process'.
871         (tramp-smb-handle-insert-directory): Use progress reporter.
872         (tramp-smb-handle-rename-file): Flush also file properties of
873         FILENAME.
875         * net/trampver.el: Update release number.
877 2014-11-01  Reuben Thomas  <rrt@sc3d.org>
879         * net/tramp.el (tramp-handle-file-symlink-p):
880         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
881         about VMS, which we no longer support.
883 2014-11-01  Stefan Monnier  <monnier@iro.umontreal.ca>
885         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
886         the global vc-handled-backends (bug#18535).
888 2014-11-01  Jérémy Compostella  <jeremy.compostella@intel.com>
889             Michael Albinus  <michael.albinus@gmx.de>
891         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
892         Reduce the amount of set environment variable commands.
894 2014-11-01  Paul Eggert  <eggert@cs.ucla.edu>
896         * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
897         current-time.
899 2014-11-01  Emilio C. Lopes  <eclig@gmx.net>
901         * net/tramp-sh.el (tramp-get-remote-python): Also search for
902         executables named "python2" or "python3".
903         (tramp-get-remote-uid-with-python): Use parentheses around
904         arguments to `print' to make it compatible with Python 3.
905         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
907 2014-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
909         * simple.el (newline): Add assertions to try and help catch bug#18913.
911         * emulation/cua-base.el (cua-delete-region): Use delete-active-region
912         (bug#18886).
913         (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
915 2014-10-31  Eli Zaretskii  <eliz@gnu.org>
917         * Makefile.in (repo-update): Fix a typo and slightly reword
918         commentary.
920 2014-10-31  Eric S. Raymond  <esr@thyrsus.com>
922         * Makefile.in: Change some production names so they're neutral
923         about the repository type.
925 2014-10-30  Kim F. Storm  <storm@cua.dk>
927         Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
928         * delsel.el (delete-selection-save-to-register)
929         (delsel--replace-text-or-position): New vars.
930         (delete-active-region): Use them.
931         (delete-selection-repeat-replace-region): New command, moved from
932         cua-base.el.
933         * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
934         (cua-repeat-replace-region): Move command to delsel.el.
935         (cua--init-keymaps): Update binding accordingly.
936         (cua-mode): Set delete-selection-save-to-register.
938 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
940         * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
941         (c-lang-defconst):
942         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
944 2014-10-29  Eli Zaretskii  <eliz@gnu.org>
946         * progmodes/compile.el (compilation-start):
947         If compilation-scroll-output is non-nil, don't force window-start of
948         the compilation buffer to be at beginning of buffer.  (Bug#18874)
950 2014-10-23  Tassilo Horn  <tsdh@gnu.org>
952         * doc-view.el (doc-view-open-text): View the document's plain text
953         in the current buffer instead of a new one.
954         (doc-view-toggle-display): Handle the case where the current
955         buffer contains the plain text contents of the document.
956         (doc-view-initiate-display): Don't switch to fallback mode if the
957         user wants to view the doc's plain text.  [Backport]
959 2014-10-23  Eli Zaretskii  <eliz@gnu.org>
961         * startup.el (fancy-about-text): Read the entire tutorial, not
962         just its first 256 bytes.  (Bug#18760)
964 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
966         * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
967         * emacs-lisp/cl-extra.el: Add missing provide.
969 2014-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
971         * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
972         all args are copyable (bug#18767).
973         (=, <, >, <=, >=): Re-enable the optimization.
975 2014-10-20  Santiago Payà i Miralta  <santiagopim@gmail.com>
977         * vc/vc-hg.el (vc-hg-log-graph): New var.
978         (vc-hg-print-log): Use it.
979         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
980         graph output (bug#17515).
982 2014-10-20  Juri Linkov  <juri@jurta.org>
984         * vc/diff-mode.el (diff-refine-changed): Rename from
985         `diff-refine-change' for consistency with `diff-changed'.
986         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
988         * vc/smerge-mode.el (smerge-refined-changed): Rename from
989         `smerge-refined-change'.
990         (smerge-refined-change): Add obsolete face alias.
992 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
994         * subr.el (call-process-shell-command, process-file-shell-command):
995         Make the `args' obsolete (bug#18409).
996         (start-process-shell-command, start-file-process-shell-command):
997         Use `declare'.
999 2014-10-20  Juanma Barranquero  <lekktu@gmail.com>
1001         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
1003 2014-10-20  Glenn Morris  <rgm@gnu.org>
1005         * dired.el (dired-read-regexp): Make obsolete.
1006         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1007         (dired-flag-files-regexp):
1008         * dired-aux.el (dired-mark-read-regexp):
1009         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1011 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1013         * progmodes/python.el (inferior-python-mode): Use add-hook.
1015         * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
1017 2014-10-20  Glenn Morris  <rgm@gnu.org>
1019         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
1020         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
1021         * emulation/ws-mode.el: Move to obsolete/.  [Backport]
1023 2014-10-20  Glenn Morris  <rgm@gnu.org>
1025         * cus-start.el (history-length): Bump :version.  [Backport]
1027 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1029         * obsolete/cc-compat.el: Make obsolete (bug#18561).
1031         * epg-config.el (epg-gpg-program): Don't use absolute names by default.
1033         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1034         case (bug#18767).
1036 2014-10-20  Glenn Morris  <rgm@gnu.org>
1038         * Version 24.4 released.
1040 2014-10-15  Alan Mackenzie  <acm@muc.de>
1042         * cus-edit.el (custom-command-apply): Specify the return value in
1043         the doc string.
1044         (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
1045         custom-command-apply has returned non-nil.
1047 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1049         * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
1050         Backported (bug#18688).
1052 2014-10-14  Eli Zaretskii  <eliz@gnu.org>
1054         * emacs-lisp/tabulated-list.el (tabulated-list-mode):
1055         Force bidi-paragraph-direction to 'left-to-right'.  This fixes
1056         buffer-menu display when the first buffer happens to start with
1057         R2L letter.
1059 2014-10-13  Glenn Morris  <rgm@gnu.org>
1061         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1062         (authors-obsolete-files-regexps): Additions.
1063         (authors-no-scan-regexps): New constant.
1064         (authors-no-scan-file-p): New function.
1065         (authors): Respect authors-no-scan-file-p.
1067 2014-10-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1069         Fix import completion.  (Bug#18582)
1070         * progmodes/python.el (python-shell-completion-get-completions):
1071         Fix import case regexp.
1073 2014-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1075         * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
1076         (bug#18622).  Reported by Arni Magnusson <arnima@hafro.is>.
1077         * progmodes/prolog.el (prolog-electric--underscore): Same.
1079 2014-10-09  Glenn Morris  <rgm@gnu.org>
1081         * frame.el (display-monitor-attributes-list): Doc tweaks.
1083 2014-10-08  Eli Zaretskii  <eliz@gnu.org>
1085         * faces.el (display-grayscale-p): Mention in the doc string that
1086         the argument can be either a display name or a frame.
1088         * frame.el (display-pixel-height, display-pixel-width)
1089         (display-mm-height, display-mm-width, display-backing-store)
1090         (display-save-under, display-planes, display-color-cells)
1091         (display-visual-class, display-monitor-attributes-list)
1092         (display-screens): Mention in the doc string that the argument can
1093         be either a display name or a frame.  Improve the docs of the
1094         monitor attributes.  (Bug#18636)
1096 2014-10-06  Martin Rudalics  <rudalics@gmx.at>
1098         * term.el (term-window-width): Subtract 1 from the width when
1099         any fringe has zero width, not just the right fringe.  (Bug#18601)
1101 2014-10-05  Leo Liu  <sdl.web@gmail.com>
1103         * imenu.el (imenu-default-goto-function): Fix typo.
1105 2014-10-04  Glenn Morris  <rgm@gnu.org>
1107         * frame.el (frame-monitor-attributes)
1108         (display-monitor-attributes-list): Doc fixes.
1110 2014-10-03  Dmitry Gutov  <dgutov@yandex.ru>
1112         * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
1113         (vc-svn-ignore): Use it.  (Bug#18619)
1115 2014-10-03  Martin Rudalics  <rudalics@gmx.at>
1117         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1118         In doc-string mention need to set `frame-resize-pixelwise'.
1120 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1122         * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
1123         similarly to Rogers's 2010-06-16 change for the remote case
1124         (bug#18605).
1126 2014-10-01  Glenn Morris  <rgm@gnu.org>
1128         * emacs-lisp/package.el (package-import-keyring):
1129         Create gnupg directory private.  (Bug#17625#155)
1131 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1133         * progmodes/python.el (python-shell-completion-get-completions):
1134         Use python-shell--prompt-calculated-input-regexp from the
1135         process buffer (bug#18582).
1136         Don't assume that `line' comes from the process buffer.
1138 2014-09-30  Leonardo Nobrega  <leonobr@gmail.com>  (tiny change)
1140         * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
1141         (bug#18462).
1143 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1145         * emacs-lisp/package.el (package-check-signature): Default to nil if
1146         GPG is not available.
1147         (package-refresh-contents): Don't mess with the keyring if we won't
1148         check the signatures anyway.
1150 2014-09-18  Kan-Ru Chen  <kanru@kanru.info>
1152         * window.el (fit-window-to-buffer): When counting buffer width,
1153         count the whole visible buffer.  Correctly convert the body-height
1154         to pixel size for window-text-pixel-size (Bug#18498).
1156 2014-09-14  Glenn Morris  <rgm@gnu.org>
1158         * image.el (image-multi-frame-p): Fix thinko - do not force
1159         a delay if none was specified.  (Bug#18334)
1161 2014-09-12  Kan-Ru Chen  <kanru@kanru.info>
1163         * window.el (fit-window-to-buffer): Doc fix.
1165 2014-09-10  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
1167         * desktop.el (desktop-create-buffer): Check that buffers are still live
1168         before burying them (bug#18373).
1170 2014-09-09  Glenn Morris  <rgm@gnu.org>
1172         * calendar/diary-lib.el (diary-list-entries):
1173         Restore 24.3 display behavior.  (Bug#18381)
1175 2014-09-09  Eli Zaretskii  <eliz@gnu.org>
1177         * mouse.el (mouse-drag-line): On text-mode frames, count the mode
1178         line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
1179         discrepancy between window-pixel-edges and mouse events, and
1180         avoids moving mode line up when the mouse click is on the modeline
1181         and no drag is attempted.
1183 2014-09-08  Glenn Morris  <rgm@gnu.org>
1185         * calendar/calendar.el (calendar-basic-setup):
1186         Avoid clobbering calendar with diary.  (Bug#18381)
1188 2014-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1190         * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
1192 2014-09-04  Lars Ljung  <lars@matholka.se>  (tiny change)
1194         * isearch.el (isearch-yank-word-or-char): Obey superword-mode
1195         as well (bug#18400).
1197 2014-09-04  Eli Zaretskii  <eliz@gnu.org>
1199         * subr.el (posn-actual-col-row): Doc fix.  (Bug#18385)
1201 2014-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1203         * emacs-lisp/package.el (package-generate-description-file):
1204         Properly quote the arguments (bug#18332).  Change second arg.
1205         (package--alist-to-plist-args): Rename from package--alist-to-plist and
1206         quote the elements.
1207         (package--make-autoloads-and-stuff): Fix the test for pre-existence of
1208         the *-pkg.el file.  Adjust to new calling convention of
1209         package-generate-description-file.
1211         * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
1212         (gud-gdb-completions): Remove obsolete workaround.
1214 2014-09-02  Eli Zaretskii  <eliz@gnu.org>
1216         * subr.el (posn-col-row): Revert the change from commit
1217         2010-11-13T21:07:58Z!eliz@gnu.org, which
1218         was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
1219         monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
1220         introduced an off-by-one error in the reported row when there is a
1221         header line.  (Bug#18384)
1223 2014-09-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1225         * progmodes/python.el (python-indent-post-self-insert-function):
1226         Avoid electric colon at beginning-of-defun.  (Bug#18228)
1228 2014-09-01  Glenn Morris  <rgm@gnu.org>
1230         * tutorial.el (tutorial--display-changes):
1231         Fix 2014-07-29 change.  (Bug#18382)
1233 2014-08-29  Ken Brown  <kbrown@cornell.edu>
1235         * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
1236         the Cygwin-w32 build.  (Bug#18347)
1238 2014-08-28  Glenn Morris  <rgm@gnu.org>
1240         * tar-mode.el (tar--extract, tar-extract):
1241         Avoid permanently disabling undo in extracted buffers.  (Bug#18344)
1243 2014-08-27  Michael Albinus  <michael.albinus@gmx.de>
1245         * emacs-lisp/authors.el (authors-aliases): Addition.
1247         * net/tramp-adb.el: Spell author name correctly.
1249 2014-08-27  João Távora  <joaotavora@gmail.com>
1251         * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
1252         use url-expand-file-name.  (Bug#18310)
1254 2014-08-25  Glenn Morris  <rgm@gnu.org>
1256         * emulation/cua-rect.el (cua--highlight-rectangle):
1257         Avoid error at point-min.  (Bug#18309)
1259 2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1261         * progmodes/python.el (python-shell-prompt-detect): Remove redundant
1262         executable-find (bug#18244).
1264         * simple.el (self-insert-uses-region-functions): Defvar.
1266 2014-08-13  Leo Liu  <sdl.web@gmail.com>
1268         * speedbar.el (speedbar-generic-list-tag-p): Allow special
1269         elements from imenu.
1271 2014-08-11  Glenn Morris  <rgm@gnu.org>
1273         * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
1275         * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
1276         chose coding system for writing before backing up, since it causes
1277         a more serious problem than the one it solves.  (Closes Bug#18141,
1278         reopens Bug#13522.)
1280 2014-08-10  Martin Rudalics  <rudalics@gmx.at>
1282         * window.el (window-total-size): Make doc-string more
1283         self-contained.
1285 2014-08-09  Martin Rudalics  <rudalics@gmx.at>
1287         * window.el (display-buffer-below-selected): Restore original
1288         behavior if buffer is already displayed in the window below the
1289         selected one (Bug#18181).
1291 2014-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1293         * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1294         event (bug#18212).
1296 2014-08-08  Eli Zaretskii  <eliz@gnu.org>
1298         * info.el (info): Doc fix.
1300 2014-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1302         * info.el (Info-mode-map): Override a global down-mouse-2 binding
1303         (bug#18212).
1305 2014-08-05  Eli Zaretskii  <eliz@gnu.org>
1307         * simple.el (default-line-height): A floating-point value of
1308         line-spacing means a fraction of the default frame font's height,
1309         not of the font currently used by the 'default' face.
1310         Truncate the pixel value, like the display engine does.
1311         (window-screen-lines): Use window-inside-pixel-edges for
1312         determining the window height in pixels.  (Bug#18195)
1314 2014-07-29  Eli Zaretskii  <eliz@gnu.org>
1316         * tutorial.el (tutorial--display-changes): Accept punctuation
1317         characters before the key binding.  (Bug#18146)
1319 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
1321         * doc-view.el (doc-view-open-text): Don't require that the
1322         document is saved in a file (e.g., email attachment).
1324 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
1326         * window.el (window--pixel-to-total): Use FRAME's root window, not
1327         that of the selected frame.  (Bug#18112, Bug#16674)
1329 2014-07-27  Andreas Schwab  <schwab@linux-m68k.org>
1331         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1332         (Bug#18117)
1334 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1336         * progmodes/python.el (inferior-python-mode): Doc fix.
1338 2014-07-25  Stephen Berman  <stephen.berman@gmx.net>
1340         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1341         not a character, ignore it instead of raising an error.
1343 2014-07-25  Stephen Berman  <stephen.berman@gmx.net>
1345         * calendar/todo-mode.el: Fix handling of marked items and make
1346         minor code improvements.
1347         (todo-edit-item): If there are marked items, ensure user can only
1348         invoke editing commands that work with marked items.
1349         (todo-edit-item--text): When there are marked items, make it a
1350         noop if invoked with point not on an item; otherwise, ensure it
1351         applies only to item at point.
1352         (todo-item-undone): If there are marked not-done items, return
1353         point to its original position before signaling user error.
1354         (todo--user-error-if-marked-done-item): New function.
1355         (todo-edit-item--header, todo-edit-item--diary-inclusion)
1356         (todo-item-done): Use it.
1358 2014-07-25  Glenn Morris  <rgm@gnu.org>
1360         * files.el (toggle-read-only): Re-add basic doc-string.
1361         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1363         * progmodes/prolog.el (prolog-mode-keybindings-edit):
1364         Replace missing `switch-to-prolog' with `run-prolog'.
1365         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1367 2014-07-22  Stephen Berman  <stephen.berman@gmx.net>
1369         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1370         of file-wide setting when changing category-wide setting.
1372 2014-07-21  Glenn Morris  <rgm@gnu.org>
1374         * progmodes/hideif.el (hide-ifdef-mode-submap):
1375         Also substitute read-only-mode.
1376         * bindings.el (mode-line-toggle-read-only):
1377         * bs.el (bs-toggle-readonly):
1378         * buff-menu.el (Buffer-menu-toggle-read-only):
1379         * dired.el (dired-toggle-read-only):
1380         * files.el (view-read-only, find-file-read-only)
1381         (find-file-read-only-other-window)
1382         (find-file-read-only-other-frame):
1383         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1384         Doc fixes re toggle-read-only.
1386 2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1388         * progmodes/python.el: Add comment about pipe buffering and
1389         solutions for missing/delayed output in inferior Python shells.
1390         (Bug#17304)
1392 2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1394         * progmodes/python.el (python-mode): Don't set
1395         mode-require-final-newline.  (Bug#17990)
1397 2014-07-20  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1399         Make python.el work with IPython automatically.  (Bug#15510)
1400         * progmodes/python.el:
1401         (python-shell-completion-setup-code): New value supporting iPython.
1402         (python-shell-completion-string-code): New value supporting iPython.
1403         (python-shell-completion-get-completions): Use them.
1404         (python-shell-completion-module-string-code): Make obsolete.
1405         (python-shell-prompt-input-regexps)
1406         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1407         (python-shell-output-filter): Fix comment typo.
1409 2014-07-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1411         Fix Python shell prompts detection for remote hosts.
1412         * progmodes/python.el (python-shell-prompt-detect):
1413         Replace call-process with process-file and make it more robust.
1415 2014-07-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1417         Autodetect Python shell prompts.  (Bug#17370)
1418         * progmodes/python.el:
1419         (python-shell-interpreter-interactive-arg)
1420         (python-shell-prompt-detect-enabled)
1421         (python-shell-prompt-detect-failure-warning)
1422         (python-shell-prompt-input-regexps)
1423         (python-shell-prompt-output-regexps): New vars.
1424         (python-shell-prompt-calculated-input-regexp)
1425         (python-shell-prompt-calculated-output-regexp): New vars.
1426         (python-shell-get-process-name)
1427         (python-shell-internal-get-process-name)
1428         (python-shell-output-filter)
1429         (python-shell-completion-get-completions): Use them.
1430         (python-shell-prompt-detect)
1431         (python-shell-prompt-validate-regexps): New functions.
1432         (python-shell-prompt-set-calculated-regexps): New function.
1433         (inferior-python-mode): Use it.  Also honor overridden
1434         python-shell-interpreter and python-shell-interpreter-args.
1435         (python-shell-make-comint): Honor overridden
1436         python-shell-interpreter and python-shell-interpreter-args.
1437         (python-shell-get-or-create-process): Make it testable by allowing
1438         to call run-python non-interactively.
1439         (python-util-valid-regexp-p): New function.
1440         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1441         (python-shell-prompt-output-regexp)
1442         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1444 2014-07-16  Glenn Morris  <rgm@gnu.org>
1446         * desktop.el (after-init-hook): Disable startup frame restoration
1447         in non-graphical situations.  (Bug#17693)
1449 2014-07-14  Glenn Morris  <rgm@gnu.org>
1451         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1452         if it was "empty", or used for a different set of files.  (Bug#17884)
1454 2014-07-13  Eli Zaretskii  <eliz@gnu.org>
1456         * bindings.el (mode-line-remote): If default-directory is not a
1457         string, don't call file-remote-p on it; instead state in the
1458         help-echo that it is nil.  (Bug#17986)
1460 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
1462         Fix bug: C-x v v discarded existing log message (Bug#17884).
1463         * vc/vc-dispatcher.el (vc-log-edit):
1464         Don't clobber an already-existing log message.
1466 2014-07-10  Glenn Morris  <rgm@gnu.org>
1468         * vc/log-edit.el (log-edit-changelog-entries):
1469         Check for a visited-but-never-saved ChangeLog.
1471 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1473         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1474         a non-existing file (bug#17970).
1476         * faces.el (face-name): Undo last change.
1477         (x-resolve-font-name): Don't call face-name (bug#17956).
1479 2014-07-09  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1481         Fix dedenters and electric colon handling. (Bug#15163)
1483         * progmodes/python.el
1484         (python-rx-constituents): Add dedenter and block-ender.
1485         (python-indent-dedenters, python-indent-block-enders): Delete.
1486         (python-indent-context): Return new case for dedenter-statement.
1487         (python-indent-calculate-indentation): Handle new case.
1488         (python-indent-calculate-levels): Fix levels calculation for
1489         dedenter statements.
1490         (python-indent-post-self-insert-function): Fix colon handling.
1491         (python-info-dedenter-opening-block-message): New function.
1492         (python-indent-line): Use it.
1493         (python-info-closing-block)
1494         (python-info-closing-block-message): Remove.
1495         (python-info-dedenter-opening-block-position)
1496         (python-info-dedenter-opening-block-positions)
1497         (python-info-dedenter-statement-p): New functions.
1499 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1501         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1502         the middle of a line (bug#17896).
1504 2014-07-08  Juri Linkov  <juri@jurta.org>
1506         * startup.el (command-line): Append displaying the warning about
1507         the errors in the init file to the end of `after-init-hook'.
1508         (Bug#17927)
1510 2014-07-08  Juri Linkov  <juri@jurta.org>
1512         * faces.el (face-name): Return input arg `face' as is
1513         when it's not a symbol.
1514         (x-resolve-font-name): Don't check if the face is a symbol.
1515         (Bug#17956)
1517 2014-07-08  Juri Linkov  <juri@jurta.org>
1519         * facemenu.el (list-colors-print): In help-echo format use %.2f
1520         instead of %d because now HSV values are floating-point components
1521         between 0.0 and 1.0.
1523 2014-07-06  Glenn Morris  <rgm@gnu.org>
1525         * emulation/cua-rect.el (cua--activate-rectangle):
1526         Avoid setting cua--rectangle to nil.  (Bug#17877)
1528 2014-07-06  Stephen Berman  <stephen.berman@gmx.net>
1530         * calendar/todo-mode.el: Fix wrong-type-argument error when
1531         marking multiple consecutive items.
1532         (todo-toggle-mark-item): Don't try to mark the empty lines at the
1533         end of the todo and done items sections.  Note in doc string that
1534         items marked by passing a numeric prefix argument can include the
1535         last todo and first done items.
1536         (todo-mark-category): Don't try to mark the empty line between the
1537         todo and done items sections.
1539 2014-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1541         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1542         proper Lisp quoting (bug#17934).
1544         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1545         require-final-newline since prog-mode already took care of it (bug#17947).
1547 2014-07-04  Stephen Berman  <stephen.berman@gmx.net>
1549         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
1550         refer to the Todo mode Info manual.  Update the comment on
1551         requiring cl-lib.
1552         (todo-find-filtered-items-file): Add todo-prefix overlays.
1553         (todo-filter-items): Reorder a let-bound variable to avoid a
1554         wrong-type-argument error on canceling the file choice dialog.
1556 2014-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1558         * progmodes/octave.el (inferior-octave-mode):
1559         Set comint-input-ring-size to a number (bug#17912).
1561 2014-07-03  Juri Linkov  <juri@jurta.org>
1563         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1564         and `isearch-mode' associated with nil.  (Bug#17849)
1566 2014-07-02  Juri Linkov  <juri@jurta.org>
1568         * desktop.el (desktop-save): Rename arg `auto-save' to
1569         `only-if-changed'.  Doc fix.  (Bug#17873)
1571 2014-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1573         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1574         Use insert-for-yank (bug#17271).
1576 2014-07-02  Leo Liu  <sdl.web@gmail.com>
1578         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1579         Support lexical-binding.
1581 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1583         * vc/log-edit.el (log-edit-goto-eoh): New function.
1584         (log-edit--match-first-line): Use it (bug#17861).
1586 2014-07-01  Glenn Morris  <rgm@gnu.org>
1588         * vc/log-edit.el (log-edit-hook): Add missing :version.
1590 2014-07-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1592         * progmodes/python.el (python-indent-post-self-insert-function):
1593         Enhancements to electric indentation behavior inside
1594         parens. (Bug#17658)
1596 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1598         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1599         buffer-invisibility-spec (bug#17867).
1601 2014-06-29  Andreas Schwab  <schwab@linux-m68k.org>
1603         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1604         pass "-a".
1606 2014-06-29  Glenn Morris  <rgm@gnu.org>
1608         * cus-edit.el (help):
1609         * finder.el (finder-known-keywords):
1610         * help.el (help-for-help-internal):
1611         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1612         (ediff-redraw-registry-buffer):
1613         * vc/ediff-ptch.el (ediff-patch-file-internal):
1614         Doc fixes re "online" help.  (Bug#17803)
1616         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1617         (idlwave-mode): Doc URL update.
1619 2014-06-27  Stephen Berman  <stephen.berman@gmx.net>
1621         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1622         account for file-wide setting of todo-top-priorities-overrides.
1623         Make code a bit cleaner.
1625 2014-06-27  Leo Liu  <sdl.web@gmail.com>
1627         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
1629 2014-06-27  Glenn Morris  <rgm@gnu.org>
1631         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
1633 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
1635         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1636         category-wide setting of todo-top-priorities-overrides, check for
1637         a file-wide setting and fontify accordingly.
1639 2014-06-26  Glenn Morris  <rgm@gnu.org>
1641         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
1643 2014-06-26  Daiki Ueno  <ueno@gnu.org>
1645         * emacs-lisp/package.el (package--check-signature):
1646         If package-check-signature is allow-unsigned, don't signal error when
1647         we can't verify signature because of missing public key
1648         (backport for bug#17625).
1650 2014-06-26  Glenn Morris  <rgm@gnu.org>
1652         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1653         Remove outdated declaration.
1655         * emacs-lisp/authors.el (authors-valid-file-names)
1656         (authors-renamed-files-alist): Additions.
1658 2014-06-25  Leo Liu  <sdl.web@gmail.com>
1660         * textmodes/picture.el (picture-set-tab-stops):
1661         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1662         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1664         * progmodes/asm-mode.el (asm-calculate-indentation):
1665         Use indent-next-tab-stop.
1667         * indent.el (indent-accumulate-tab-stops): New function.
1669 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1671         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1672         (package-desc-status): Obey it.
1674 2014-06-25  Stephen Berman  <stephen.berman@gmx.net>
1676         * calendar/todo-mode.el: Fix two bugs.
1677         (todo-insert-item--basic): If user cancels item insertion to
1678         another category before setting priority, show original category
1679         whether it is in the same or a different file.
1680         (todo-set-item-priority): After selecting category, instead of
1681         moving point to top, which extends an active region, restore it.
1683 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1685         * help-fns.el (describe-function-1): Check file-name is a string before
1686         calling help-fns--autoloaded-p (bug#17564).
1688 2014-06-24  Juri Linkov  <juri@jurta.org>
1690         * desktop.el (desktop-auto-save-enable)
1691         (desktop-auto-save-disable): New functions.
1692         (desktop-save-mode, desktop-auto-save-timeout): Use them.
1693         (desktop-read): Disable the autosave before loading the desktop,
1694         and enable afterwards.  (Bug#17351)
1696 2014-06-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1698         Fix some indentation problem with \; and pipes (bug#17842).
1699         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1700         (sh-smie--default-forward-token, sh-smie--default-backward-token):
1701         New functions.
1702         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1703         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1704         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1706 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
1708         * international/fontset.el (script-representative-chars):
1709         Add representative characters for scripts added in Unicode 7.0.
1710         (otf-script-alist): Synchronize with the latest registry of OTF
1711         script tags.
1713         * international/characters.el (char-script-table): Update for
1714         scripts added and codepoint ranges changed in Unicode 7.0.
1716 2014-06-23  Leo Liu  <sdl.web@gmail.com>
1718         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1719         tab-stop-list to nil.  (Bug#16381)
1721         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1722         (indent-rigidly-left-to-tab-stop)
1723         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1724         (move-to-tab-stop): Change callers.
1726 2014-06-22  Eli Zaretskii  <eliz@gnu.org>
1728         * skeleton.el (skeleton-insert): Yet another fix of the doc string
1729         wrt behavior of \n as the first/last element of a skeleton.
1731 2014-06-22  Michael Albinus  <michael.albinus@gmx.de>
1733         * net/tramp-adb.el (tramp-adb-handle-process-file):
1734         * net/tramp-sh.el (tramp-sh-handle-process-file):
1735         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1736         the output buffer when DISPLAY is non-nil.  (Bug#17815)
1738 2014-06-21  Glenn Morris  <rgm@gnu.org>
1740         * play/landmark.el (landmark-move-down, landmark-move-up):
1741         Fix 2007-10-20 change - preserve horizontal position.
1743 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1745         Fix completion retrieval parsing (bug#17209).
1746         * progmodes/python.el (python-mode):
1747         (python-util-strip-string): New function.
1748         (python-shell-completion-get-completions): Use it.
1750 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1752         * skeleton.el (skeleton-insert): Fix last change.
1754 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1756         Enhancements for outline integration (bug#17796).
1757         * progmodes/python.el (python-mode): Properly set
1758         outline-heading-end-regexp so that comments after colons for
1759         defuns are supported.
1761 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1763         * skeleton.el (skeleton-insert): Doc fix.
1765 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1767         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1768         (smie-config-guess): Use smie-config-local so the rules are obeyed
1769         (bug#17818).
1771         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1772         since it's already done inside the loop (bug#17819).
1774 2014-06-20  Martin Rudalics  <rudalics@gmx.at>
1776         * mouse.el (mouse-drag-line): Re-remove code initially removed
1777         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1778         (Bug#17819).
1780 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1782         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1783         align with the surrounding parent (bug#17721).
1785 2014-06-20  Eli Zaretskii  <eliz@gnu.org>
1787         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1788         locally to nil.
1789         (texinfo-insert-block, texinfo-insert-@end)
1790         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1791         local setting of skeleton-end-newline by adding an explicit \n to
1792         the skeletons where appropriate.  (Bug#17801)
1794 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1796         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1797         (smie-indent--hanging-p): Use it.
1798         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1800 2014-06-20  Leo Liu  <sdl.web@gmail.com>
1802         * simple.el (read-quoted-char): Don't let help chars pop up help
1803         buffer.  (Bug#16617)
1805 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1807         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1808         for | (bug#17621).
1810 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1812         * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1813         (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1814         burping.
1816 2014-06-18  Eli Zaretskii  <eliz@gnu.org>
1818         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1819         and later.  (Bug#17790)
1821 2014-06-18  Juri Linkov  <juri@jurta.org>
1823         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1824         to `soft'.  (Bug#17554)
1826 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1828         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1829         (bug#17737).
1831 2014-06-16  Dmitry Gutov  <dgutov@yandex.ru>
1833         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1834         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
1836 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
1838         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1839         `unread-command-events'.
1841 2014-06-14  Glenn Morris  <rgm@gnu.org>
1843         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
1844         Replace delete-duplicates and mapcan by cl- versions throughout.
1845         And cl-macroexpand-all by macroexpand-all.
1846         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1848 2014-06-14  Eli Zaretskii  <eliz@gnu.org>
1850         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
1852 2014-06-14  Juri Linkov  <juri@jurta.org>
1854         * bindings.el: Put `ascii-character' property on keypad keys
1855         mapped to characters.  (Bug#17759)
1857 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1859         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1860         bumping forward into a closing paren (bug#17761).
1862         * term/xterm.el (xterm--version-handler): Work around for OSX
1863         Terminal.app (bug#17607).
1865 2014-06-08  Glenn Morris  <rgm@gnu.org>
1867         * startup.el (initial-buffer-choice): Doc fix.
1868         Reset :version (adding an option does not merit a :version bump).
1870         * bookmark.el (bookmark-load):
1871         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1873 2014-06-06  Juri Linkov  <juri@jurta.org>
1875         * desktop.el: Activate auto-saving on window configuration changes.
1876         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1877         `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1878         (desktop-auto-save-set-timer): Change REPEAT arg of
1879         `run-with-idle-timer' from t to nil.
1880         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1882 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
1884         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1885         vc-hg-command (bug#17570).
1887 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1889         * international/mule-cmds.el (ucs-names): Add special entry for BEL
1890         (bug#17702).
1892 2014-06-06  Glenn Morris  <rgm@gnu.org>
1894         * startup.el (window-setup-hook): Doc fix.
1896 2014-06-05  Glenn Morris  <rgm@gnu.org>
1898         * emacs-lisp/package.el (package-check-signature)
1899         (package-unsigned-archives): Doc fixes.
1901 2014-06-03  Martin Rudalics  <rudalics@gmx.at>
1903         * window.el (display-buffer-use-some-window): Don't make window
1904         used smaller than it was before (Bug#17671).
1906 2014-06-03  Eli Zaretskii  <eliz@gnu.org>
1908         * menu-bar.el (menu-bar-open): Fix last change: use the PC
1909         'redisplay' instead of '(sit-for 0)'.
1911 2014-06-03  Michael Albinus  <michael.albinus@gmx.de>
1913         * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1914         regexp.  (Bug#17653)
1916 2014-06-03  Glenn Morris  <rgm@gnu.org>
1918         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1920 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
1922         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1924 2014-06-01  Eli Zaretskii  <eliz@gnu.org>
1926         * simple.el (keyboard-quit): Force update of mode lines, to remove
1927         the "Def" indicator, if we were defining a macro.  (Bug#17615)
1929 2014-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1931         * minibuffer.el (minibuffer-force-complete-and-exit):
1932         Obey minibuffer-default (bug#17545).
1934         * progmodes/js.el (js-indent-line): Don't mix columns and chars
1935         (bug#17619).
1937 2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1939         * subr.el (set-transient-map): Don't wait for some "nested"
1940         transient-map to finish if we're only supposed to be active for
1941         the next command (bug#17642).
1943 2014-05-31  Leo Liu  <sdl.web@gmail.com>
1945         * emacs-lisp/gv.el (window-buffer, window-display-table)
1946         (window-dedicated-p, window-hscroll, window-point, window-start):
1947         Fix gv-expander.  (Bug#17630)
1949 2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1951         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1952         clicks (bug#17633).
1954         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1955         for the single comma, since ", " is *very* common in normal French text
1956         (bug#17643).
1958 2014-05-30  Glenn Morris  <rgm@gnu.org>
1960         * emacs-lisp/package.el (package-check-signature)
1961         (package-unsigned-archives): Fix :version.
1963 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1965         * subr.el (sit-for): Don't run input-methods (bug#15614).
1967 2014-05-28  Glenn Morris  <rgm@gnu.org>
1969         * cus-start.el: Fix some :version numbers.
1971 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1973         * simple.el (deactivate-mark): Set mark-active to nil even if
1974         deactivation is done via setting transient-mark-mode to nil,
1975         since one is buffer-local and the other is global.
1977         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1978         there can't be more than 2 arguments (bug#17584).
1980 2014-05-27  Glenn Morris  <rgm@gnu.org>
1982         * simple.el (filter-buffer-substring-functions)
1983         (filter-buffer-substring-function, buffer-substring-filters)
1984         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1986         * minibuffer.el (completion-in-region-functions, completion-in-region)
1987         (completion--in-region): Doc fixes.
1989         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1990         (expand-abbrev, abbrev--default-expand): Doc fixes.
1992 2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
1994         Include sources used to create macuvs.h.
1995         * international/README: Refer to the Unicode Terms of Use rather
1996         than copying it bodily here, as that simplifies maintenance.
1998 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
2000         * cus-face.el (custom-face-attributes): Add :distant-foreground.
2002 2014-05-25  Martin Rudalics  <rudalics@gmx.at>
2004         * window.el (window--dump-frame): Remove interactive
2005         specification.
2007 2014-05-23  Glenn Morris  <rgm@gnu.org>
2009         * hippie-exp.el (he-line-search-regexp):
2010         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
2012 2014-05-23  Stephen Berman  <stephen.berman@gmx.net>
2014         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
2015         to avoid errors when trying to create or visit a file foo.todo
2016         located outside to todo-directory, and to allow having such files
2017         without them being tied to Todo mode (bug#17482).
2018         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
2019         (todo-archive-done-item, todo-find-filtered-items-file)
2020         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
2021         (todo-category-completions, todo-read-category): When visiting a
2022         Todo file, make sure we're in the right mode and the buffer local
2023         variables are set.
2024         (todo-make-categories-list, todo-reset-nondiary-marker)
2025         (todo-reset-done-string, todo-reset-comment-string):
2026         After processing all Todo files, kill the buffers of those files that
2027         weren't being visited before the processing.
2028         (todo-display-as-todo-file, todo-add-to-buffer-list)
2029         (todo-visit-files-commands): Comment out.
2030         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
2031         (auto-mode-alist): Remove add-to-list calls making Todo file
2032         extensions unrestrictedly tied to Todo modes.
2034 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2036         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
2037         (advice-function-member-p): Tell it to check both names and functions
2038         (bug#17531).
2039         (advice--add-function): Adjust call accordingly.
2041 2014-05-23  Stephen Berman  <stephen.berman@gmx.net>
2043         * calendar/todo-mode.el: Miscellaneous bug fixes.
2044         (todo-delete-file): When deleting an archive but not its todo
2045         file, make sure to update the todo file's category sexp.
2046         (todo-move-category): Keep the moved category's name unless the
2047         file moved to already has a category with that name.  If the
2048         numerically last category of the source file was moved, make the
2049         first category current to avoid selecting a nonexisting category.
2050         (todo-merge-category): Fix implementation to make merging to a
2051         category in another file work as documented.  Eliminate now
2052         insufficient and unnecessary renaming of archive category, correct
2053         document string accordingly, and clarify it.  If the numerically
2054         last category of the source file was merged, make the first
2055         category current to avoid selecting a nonexisting category.
2056         (todo-archive-done-item): When there are marked items and point
2057         happens to be on an unmarked item, ignore the latter.  Don't leave
2058         point below last item after archiving marked items.
2059         (todo-unarchive-items): Fix logic to ensure unarchiving an item
2060         from an archive with only one category deletes the archive only
2061         when the category is empty after unarchiving.  Make sure the todo
2062         file's category sexp is updated.
2063         (todo-read-file-name): Allow an existing file name even when it is
2064         not required (todo-move-category needs this to work as documented).
2065         (todo-add-file): Call todo-validate-name to reject the name of an
2066         existing todo file (needed due to fix in todo-read-file-name).
2067         (todo-reset-nondiary-marker): Also reset in filtered items files.
2068         (todo-reset-done-string, todo-reset-comment-string): Also reset in
2069         regexp filtered items files.
2070         (todo-reset-highlight-item): Also reset in filtered items files.
2071         Fix incorrect variable reference in document string.
2073 2014-05-22  Glenn Morris  <rgm@gnu.org>
2075         * window.el (window--dump-frame): Avoid error in --without-x builds.
2077 2014-05-21  Glenn Morris  <rgm@gnu.org>
2079         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
2081 2014-05-21  Eli Zaretskii  <eliz@gnu.org>
2083         * frame.el (set-frame-font): Doc fix.
2085         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
2087 2014-05-21  Dmitry Gutov  <dgutov@yandex.ru>
2089         * emacs-lisp/package.el (package--download-one-archive):
2090         Use `write-region' instead of `save-buffer' to avoid running various
2091         hooks.  (Bug#17155)
2092         (describe-package-1): Same.  Insert newline at the end of the
2093         buffer if appropriate.
2095 2014-05-20  Juri Linkov  <juri@jurta.org>
2097         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
2098         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
2099         Add more modifiers: meta, control, shift, hyper, super, alt.
2100         (Bug#17439)
2102         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
2103         to allow changing its value with `set-variable'.
2105 2014-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2107         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
2108         #; comments.
2109         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
2110         New functions.
2111         (scheme-mode-variables): Set syntax-propertize-function instead of
2112         font-lock-syntactic-face-function.
2113         (scheme-font-lock-syntactic-face-function): Delete.
2115         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
2117 2014-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2119         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
2120         (bug#17392).
2122 2014-05-17  Michael Albinus  <michael.albinus@gmx.de>
2124         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
2125         for a temporary file name.
2127 2014-05-17  Eli Zaretskii  <eliz@gnu.org>
2129         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
2131 2014-05-16  Michael Albinus  <michael.albinus@gmx.de>
2133         * net/dbus.el (dbus-init-bus, dbus-call-method)
2134         (dbus-call-method-asynchronously, dbus-send-signal)
2135         (dbus-method-return-internal, dbus-method-error-internal):
2136         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
2138 2014-05-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2140         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
2141         methods which do not have a doc string.  (Bug#17490)
2143 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
2144             Stefan Monnier  <monnier@iro.umontreal.ca>
2146         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
2147         suffix (bug#15419).
2149 2014-05-14  Glenn Morris  <rgm@gnu.org>
2151         * vc/emerge.el (emerge-temp-file-prefix):
2152         Make pointless option obsolete.
2153         (emerge-temp-file-mode): Make non-functional option obsolete.
2155 2014-05-13  Michael Albinus  <michael.albinus@gmx.de>
2157         * net/browse-url.el (browse-url):
2158         Use `unhandled-file-name-directory' when setting `default-directory',
2159         in order to circumvent stalled remote connections.  (Bug#17425)
2161 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2163         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
2164         into autoloading just because of a silly indirection.
2166 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
2168         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
2170 2014-05-11  Glenn Morris  <rgm@gnu.org>
2172         * emacs-lisp/find-gc.el: Move to ../admin.
2174 2014-05-10  Glenn Morris  <rgm@gnu.org>
2176         * printing.el (pr-version):
2177         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2179         * net/browse-url.el (browse-url-mosaic):
2180         Create /tmp/Mosaic.PID as a private file.
2182 2014-05-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2184         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
2185         (advice--member-p): If name is given, only compare the name.
2186         (advice--remove-function): Don't stop at the first match.
2187         (advice--normalize-place): New function.
2188         (add-function, remove-function): Use it.
2189         (advice--add-function): Pass the name, if any, to
2190         advice--remove-function.
2192 2014-05-09  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
2194         * electric.el (electric-indent-post-self-insert-function): Don't use
2195         `pos' after modifying the buffer (bug#17449).
2197 2014-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2199         * subr.el (function-put): Add function.
2201 2014-05-09  Stephen Berman  <stephen.berman@gmx.net>
2203         * calendar/todo-mode.el (todo-insert-item-from-calendar):
2204         Correct argument list to conform to todo-insert-item--basic.
2206 2014-05-09  Glenn Morris  <rgm@gnu.org>
2208         * files.el (cd-absolute): Test if directory is accessible
2209         rather than executable.  (Bug#17330)
2211         * progmodes/compile.el (recompile):
2212         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
2214 2014-05-08  Juri Linkov  <juri@jurta.org>
2216         * dired.el (dired-check-switches, dired-switches-recursive-p):
2217         New functions.  (Bug#17218)
2218         (dired-switches-escape-p, dired-move-to-end-of-filename):
2219         Use `dired-check-switches'.
2220         (dired-insert-old-subdirs, dired-build-subdir-alist)
2221         (dired-sort-R-check): Use `dired-switches-recursive-p'.
2223 2014-05-08  Glenn Morris  <rgm@gnu.org>
2225         * net/browse-url.el (browse-url-mosaic):
2226         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
2227         This is CVE-2014-3423.
2229 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2231         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2232         (xterm-mouse--read-event-sequence-1000): Return nil if something
2233         looks fishy.
2234         (xterm-mouse-event): Propagate it.
2235         (xterm-mouse-translate-1): Handle it.
2237 2014-05-07  Stephen Berman  <stephen.berman@gmx.net>
2239         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2240         four slots of the parameter list are filled, make sure to pass it
2241         to the argument list of todo-insert-item--basic.
2243 2014-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2245         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2246         Add optional `seen' argument to detect and break infinite loops.
2248 2014-05-06  Eli Zaretskii  <eliz@gnu.org>
2250         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2251         (trace-unsafe, trace-use-tree): Make parentheses style be
2252         according to Emacs style.
2254 2014-05-06  Michael Albinus  <michael.albinus@gmx.de>
2256         * net/tramp-sh.el (tramp-remote-process-environment):
2257         Remove HISTFILE and HISTSIZE; it's too late to set them here.
2258         Add :version entry.
2259         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2260         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
2261         extra "PSx=..." commands.
2262         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2263         (Bug#17295)
2265         (tramp-uudecode): Replace the hard-coded temporary file name by a
2266         format specifier.
2267         (tramp-remote-coding-commands): Enhance docstring.
2268         (tramp-find-inline-encoding): Replace "%t" by a temporary file
2269         name.  (Bug#17415)
2270         This is CVE-2014-3424.
2272 2014-05-06  Glenn Morris  <rgm@gnu.org>
2274         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2275         (find-gc-source-files): Update some names.
2276         (trace-call-tree): Simplify and update.
2277         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
2278         This is CVE-2014-3422.
2280 2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2282         * minibuffer.el (completion--try-word-completion): Revert fix for
2283         Bug#15980 (bug#17375).
2285         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2286         Always store button numbers in the same way in xterm-mouse-last;
2287         Don't burp is xterm-mouse-last is not set as expected.
2288         Never return negative indices.
2290 2014-05-05  Dmitry Gutov  <dgutov@yandex.ru>
2292         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2293         Backtrack one char if the global/char-literal var matcher hits
2294         inside a string.  The next char could be the beginning of an
2295         expression expansion.
2297 2014-05-05  Glenn Morris  <rgm@gnu.org>
2299         * help-fns.el (describe-function-1): Test for an autoload before a
2300         macro, since `macrop' works on autoloads.  (Bug#17410)
2302 2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2304         * electric.el (electric-indent-functions-without-reindent): Add yaml.
2306         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2307         Make sure the new point we return is within the new string (bug#17239).
2309 2014-05-03  Eli Zaretskii  <eliz@gnu.org>
2311         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2313 2014-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2315         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2316         Use nil rather than `default' for the "default" appearance (bug#17388).
2317         * vc/ediff-util.el (ediff-inferior-compare-regions)
2318         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2319         a misleading `default' value when it's really a boolean.
2320         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2321         overlay is not visible.
2323 2014-05-02  Stephen Berman  <stephen.berman@gmx.net>
2325         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2326         (todo-menu): Uncomment and update.
2328 2014-05-02  Stephen Berman  <stephen.berman@gmx.net>
2330         * calendar/todo-mode.el: Reimplement item editing to have the same
2331         basic user interface as item insertion, and make small UI and
2332         larger internal improvements to the latter.
2333         (todo-insert-item): Add reference to the Todo mode user manual to
2334         the documentation string.
2335         (todo-insert-item--basic): Rename from todo-basic-insert-item and
2336         adjust all callers.  Change signature to combine diary and
2337         nonmarking arguments.  Incorporate functionality of deleted item
2338         copying command and add error checking.  Remove detailed
2339         descriptions of the arguments from the documentation string, since
2340         this is treated in the Todo mode user manual.
2341         (todo-copy-item, todo-edit-multiline-item)
2342         (todo-edit-done-item-comment, todo-edit-item-header)
2343         (todo-edit-item-time, todo-edit-item-date-from-calendar)
2344         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2345         (todo-edit-item-date-year, todo-edit-item-date-month)
2346         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2347         Remove.
2348         (todo-edit-item): Reimplement as wrapper command for
2349         todo-edit-item--next-key and make it distinguish done and not done
2350         todo items.
2351         (todo-edit-item--text): New function, replacing old command
2352         todo-edit-item and incorporating deleted commands
2353         todo-edit-multiline-item and todo-edit-done-item-comment.
2354         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2355         Use only numeric value of prefix argument.  Remove detailed
2356         descriptions of the arguments from the documentation string, since
2357         this is treated in the Todo mode user manual.
2358         (todo-edit-item--diary-inclusion): New function, replacing old
2359         command todo-edit-item-diary-inclusion and incorporating and fixing
2360         functionality of deleted command todo-edit-item-diary-nonmarking,
2361         making sure to remove todo-nondiary-marker when adding
2362         diary-nonmarking-symbol.
2363         (todo-edit-category-diary-inclusion): Make sure to delete
2364         diary-nonmarking-symbol when adding todo-nondiary-marker.
2365         (todo-edit-category-diary-nonmarking): Fix indentation.
2366         (todo-insert-item--parameters): Group diary and nonmarking
2367         parameters together.
2368         (todo-insert-item--apply-args): Adjust to signature of
2369         todo-insert-item--basic and incorporate copy parameter.
2370         Make small code improvements.
2371         (todo-insert-item--next-param): Improve prompt and adjust it to
2372         new parameter grouping.  Remove obsolete code.
2373         (todo-edit-item--param-key-alist)
2374         (todo-edit-item--date-param-key-alist)
2375         (todo-edit-done-item--param-key-alist): New defconsts.
2376         (todo-edit-item--prompt): New variable.
2377         (todo-edit-item--next-key): New function.
2378         (todo-key-bindings-t): Bind "e" to todo-edit-item.
2379         Remove bindings of deleted commands.
2381 2014-05-02  Leo Liu  <sdl.web@gmail.com>
2383         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2385 2014-05-01  Glenn Morris  <rgm@gnu.org>
2387         * allout-widgets.el (allout-widgets-tally)
2388         (allout-decorate-item-guides):
2389         * menu-bar.el (menu-bar-positive-p):
2390         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2391         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2392         * progmodes/js.el (js--inside-param-list-p)
2393         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2394         * progmodes/prolog.el (region-exists-p):
2395         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2396         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2397         Doc fixes (replace `iff').
2399 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2401         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2403 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
2405         * dired.el (dired-initial-position-hook, dired-initial-position):
2406         Doc string fixes.
2408 2014-04-29  Glenn Morris  <rgm@gnu.org>
2410         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
2412 2014-04-27  Matthias Dahl  <matthias.dahl@binary-island.eu>
2414         * faces.el (face-spec-recalc): Apply X resources only after the
2415         defface spec has been applied. Thus, X resources are no longer
2416         overridden by the defface spec which also fixes issues on win32 where
2417         the toolbar coloring was wrong because it is set through X resources
2418         and was (wrongfully) overridden.  (Bug#16694)
2420 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2422         * textmodes/rst.el (electric-pair-pairs): Declare.
2423         (rst-mode): Set it (bug#17131).
2425 2014-04-27  Juri Linkov  <juri@jurta.org>
2427         * desktop.el (desktop-value-to-string): Let-bind `print-length'
2428         and `print-level' to nil.  (Bug#17351)
2430 2014-04-25  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2432         * battery.el (battery-update): Handle the case where battery
2433         status is "N/A" (bug#17319).
2435 2014-04-24  Eli Zaretskii  <eliz@gnu.org>
2437         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2438         Use equal-including-properties to compare help-echo strings (bug#17331).
2440 2014-04-24  Leo Liu  <sdl.web@gmail.com>
2442         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2443         Fix syntax for @.  (Bug#17325)
2445 2014-04-24  Daniel Colascione  <dancol@dancol.org>
2447         * emacs-lisp/cl.el (gv): Require gv early to break eager
2448         macro-expansion cycles.
2450 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2452         * simple.el (region-active-p): Check there's a mark (bug#17324).
2454         * simple.el (completion-list-mode-map): Use choose-completion for the
2455         mouse binding as well (bug#17302).
2456         (completion-list-mode, completion-setup-function): Adjust docstring and
2457         echo area message accordingly.
2458         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2459         calling convention of choose-completion.
2460         * comint.el (comint-dynamic-list-completions):
2461         * term.el (term-dynamic-list-completions): Accept choose-completion.
2463         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2464         &, |, +, - and * can't be a division (bug#17317).
2466 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2468         * term/xterm.el (xterm--version-handler): Don't use modern xterm
2469         features on gnome-terminal (bug#16988).
2471 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
2473         * dired.el (dired-insert-set-properties): Do not consider
2474         subdirectory headings and empty lines to be information that
2475         `dired-hide-details-mode' should hide.  (Bug#17228)
2477 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
2479         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2480         Remove test messages.
2481         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2482         and `target' twice.
2484 2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2486         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2487         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2489         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2491 2014-04-21  Michael Albinus  <michael.albinus@gmx.de>
2493         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2494         Set "IFS=" when using read builtin, in order to preserve spaces in
2495         the file name.  Add test messages for hunting a bug on hydra.
2496         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
2498 2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2500         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2501         Don't prettify a word within a symbol.
2503 2014-04-20  Michael Albinus  <michael.albinus@gmx.de>
2505         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2506         possible.
2508 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2510         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2511         assignments such as "case=hello" (bug#17297).
2513 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
2515         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2516         Do not autoload.
2517         (tramp-file-name-handler, tramp-completion-file-name-handler):
2518         Revert patch from 2014-04-10, it isn't necessary anymore.
2519         (tramp-autoload-file-name-handler)
2520         (tramp-register-autoload-file-name-handlers): New defuns.
2521         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2522         (tramp-register-file-name-handlers): Remove also
2523         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2524         Do not autoload its invocation, but eval it after loading of 'tramp.
2526         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2528         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2530 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2532         * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2533         was done (bug#17264).
2534         * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2535         comment to EOB.
2537         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2538         here-documents (bug#17262).
2540 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
2542         * term/pc-win.el (x-list-fonts, x-get-selection-value):
2543         Provide doc strings, as required by snarf-documentation.
2545 2014-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2547         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2548         arg of overlays-at.  Use `invisible-p'.
2550         * obsolete/lucid.el (extent-at):
2551         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2552         overlays-at.
2553         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2555 2014-04-14  João Távora  <joaotavora@gmail.com>
2557         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2558         links.  (Bug#17217).
2560 2014-04-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2562         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2563         Use mapc to loop over a vector.  (Bug#17257).
2565 2014-04-13  Michael Albinus  <michael.albinus@gmx.de>
2567         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2568         patch, there are new problems with file names containing spaces.
2569         Get rid of backticks.  (Bug#17238)
2571 2014-04-13  João Távora  <joaotavora@gmail.com>
2573         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2574         possible bug.
2576 2014-04-13  Eli Zaretskii  <eliz@gnu.org>
2578         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2579         (blink-cursor-mode): Mention customization variables and the
2580         effect of 'blink-cursor-blinks'.
2582 2014-04-12  Barry O'Reilly  <gundaetiapo@gmail.com>
2584         * simple.el (undo): Prevent insertion of identity mapping into
2585         undo-equiv-table so as undo-only does not inf loop in the presence
2586         of consecutive nils in undo list.
2588 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
2590         * faces.el (make-face): Deprecate optional argument as it is no
2591         longer needed/used since the conditional X resources handling
2592         has been pushed down to make-face-x-resource-internal itself.
2593         (make-empty-face): Don't pass optional argument to make-face.
2595 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
2597         * international/characters.el <standard-case-table>: Add entries
2598         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
2599         Set category of Coptic characters be 'g' (Greek).
2601 2014-04-12  Leo Liu  <sdl.web@gmail.com>
2603         * progmodes/octave.el (completion-table-with-cache): Define if not
2604         available.
2605         (octave-goto-function-definition)
2606         (octave-sync-function-file-names)
2607         (octave-find-definition-default-filename): Backquote upattern for
2608         compatibility.
2610 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
2612         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2613         name twice due to backticks.  (Bug#17238)
2615 2014-04-11  Glenn Morris  <rgm@gnu.org>
2617         * term/w32-win.el (x-win-suspend-error):
2618         * term/x-win.el (x-win-suspend-error): Sync docs.
2620 2014-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2622         Ediff's overlay priorities cause more trouble than they solve.
2623         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2624         (ediff-highest-priority): Remove function (bug#17234).
2625         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2626         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2627         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2628         overlay priorities.
2630 2014-04-10  Feng Li  <fengli@gmail.com>  (tiny change)
2632         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2633         entry; use symbol boundaries to avoid mis-matches.
2635 2014-04-10  Michael Albinus  <michael.albinus@gmx.de>
2637         * net/tramp.el (tramp-file-name-handler)
2638         (tramp-completion-file-name-handler): Avoid recursive loading.
2640         * net/tramp-sh.el (tramp-make-copy-program-file-name):
2641         Quote result also locally.
2643 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
2645         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2646         Module methods.  (Bug#17216)
2648 2014-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2650         * help.el (describe-bindings): Fix buffer handling (bug#17210).
2651         (describe-bindings-internal): Mark obsolete.
2653 2014-04-07  João Távora  <joaotavora@gmail.com>
2655         * elec-pair.el:
2656         (electric-pair--syntax-ppss): When inside comments parse from
2657         comment beginning.
2658         (electric-pair--balance-info): Fix typo in comment.
2659         (electric-pair--in-unterminated-string-p): Delete.
2660         (electric-pair--unbalanced-strings-p): New function.
2661         (electric-pair-string-bound-function): New var.
2662         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2663         according to `electric-pair--in-unterminated-string-p'
2665 2014-04-07  João Távora  <joaotavora@gmail.com>
2667         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2668         Inhibit quote pairing if point-max is inside an unterminated string.
2669         (electric-pair--looking-at-unterminated-string-p): Delete.
2670         (electric-pair--in-unterminated-string-p): New function.
2672 2014-04-07  Glenn Morris  <rgm@gnu.org>
2674         * shell.el (shell-directory-tracker):
2675         Go back to just ignoring failures.  (Bug#17159)
2677 2014-04-06  João Távora  <joaotavora@gmail.com>
2679         Fix `electric-pair-delete-adjacent-pairs' in modes binding
2680         backspace. (bug#16981)
2681         * elec-pair.el (electric-pair-backward-delete-char): Delete.
2682         (electric-pair-backward-delete-char-untabify): Delete.
2683         (electric-pair-mode-map): Bind backspace to a menu item filtering
2684         a new `electric-pair-delete-pair' command.
2685         (electric-pair-delete-pair): New command.
2687 2014-04-06  João Távora  <joaotavora@gmail.com>
2689         * progmodes/python.el (python-electric-pair-string-delimiter):
2690         Fix triple-quoting electricity.  (Bug#17192)
2692 2014-04-06  João Távora  <joaotavora@gmail.com>
2694         * elec-pair.el (electric-pair-post-self-insert-function):
2695         Don't skip whitespace when `electric-pair-text-pairs' and
2696         `electric-pair-pairs' were used. syntax to
2697         electric-pair--skip-whitespace.  (Bug#17183)
2699 2014-04-06  Eli Zaretskii  <eliz@gnu.org>
2701         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2702         "<F>".  (Bug#17199)
2704 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2706         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2707         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2709 2014-04-05  Glenn Morris  <rgm@gnu.org>
2711         * help.el (view-lossage): Doc tweak.
2713 2014-04-05  Matthias Dahl  <matthias.dahl@binary-island.eu>
2715         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2716         only when inhibit-x-resources is nil, and do that earlier in the
2717         function.  Doc fix.  (Bug#16694)
2718         (face-spec-choose): Accept additional optional argument, whose
2719         value is returned if no matching attributes are found.
2720         (face-spec-recalc): Use the new optional argument when calling
2721         face-spec-choose.  (Bug#16378)
2722         (make-face-x-resource-internal): Do nothing when
2723         inhibit-x-resources is non-nil.  Don't touch the default face if
2724         reversed video is given--as was done in previous versions of Emacs.
2725         (face-set-after-frame-default): Don't call
2726         make-face-x-resource-internal here.  (Bug#16434)
2728 2014-04-04  Tassilo Horn  <tsdh@gnu.org>
2730         * doc-view.el (doc-view-bookmark-jump):
2731         Use `bookmark-after-jump-hook' to jump to the right page after the
2732         buffer is shown in a window.  (bug#16090)
2734 2014-04-04  Eli Zaretskii  <eliz@gnu.org>
2736         * international/characters.el (mirroring): Fix last change:
2737         instead of loading uni-mirrored.el explicitly, do that implicitly
2738         by creating the 'mirroring' uniprop table.  This avoids announcing
2739         the loading of uni-mirrored.el.
2741 2014-04-04  Glenn Morris  <rgm@gnu.org>
2743         * files.el (buffer-stale--default-function)
2744         (buffer-stale-function, revert-buffer--default):
2745         * autorevert.el (auto-revert-buffers): Doc tweaks.
2747 2014-04-03  Eli Zaretskii  <eliz@gnu.org>
2749         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
2751 2014-04-03  Glenn Morris  <rgm@gnu.org>
2753         * files.el (make-backup-file-name-function)
2754         (make-backup-file-name, make-backup-file-name--default-function)
2755         (make-backup-file-name-1, find-backup-file-name)
2756         (revert-buffer-function, revert-buffer-insert-file-contents-function)
2757         (buffer-stale--default-function, buffer-stale-function)
2758         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2759         (revert-buffer, revert-buffer--default)
2760         (revert-buffer-insert-file-contents--default-function):
2761         Doc fixes related to defaults no longer being nil.
2762         (make-backup-file-name-function): Bump :version.
2763         Restore nil as a valid but deprecated custom type.
2765 2014-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2767         * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2768         used as a variable (bug#17174).
2770 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2772         * progmodes/perl-mode.el (perl-indent-new-calculate):
2773         Handle forward-sexp failure (bug#16985).
2774         (perl-syntax-propertize-function): Add "foreach" and "for" statement
2775         modifiers introducing expressions (bug#17116).
2777 2014-04-02  Glenn Morris  <rgm@gnu.org>
2779         * menu-bar.el (menu-bar-file-menu):
2780         * vc/ediff.el (ediff-current-file):
2781         Update for revert-buffer-function no longer being nil by default.
2783         * simple.el (command-execute): Respect nil disabled-command-function.
2785 2014-04-01  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2787         * simple.el (command-execute): Do not execute the command when it
2788         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
2790 2014-03-29  Juri Linkov  <juri@jurta.org>
2792         * dired-aux.el (dired-compress-file): Don't use string-match-p
2793         because its match data is used afterwards.
2795 2014-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2797         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2798         0 like nil.
2800 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
2802         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2803         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
2805         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2806         Don't propertize `?' or `!' as symbol constituent when after
2807         colon.  (Bug#17097)
2809 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
2811         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2812         which is no longer needed and causes trouble in GTK builds (bug#17046).
2814         * emacs-lisp/package-x.el (package--archive-contents-from-url):
2815         Use url-insert-file-contents; package-handle-response no longer exists.
2817 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
2819         * emacs-lisp/package.el: Fix bug#16733 (again).
2820         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2821         (url-http-target-url): Remove unused declarations.
2822         (package-handle-response): Remove.
2823         (package--with-work-buffer): Use url-insert-file-contents and simplify.
2824         (package--download-one-archive): Use current-buffer instead of
2825         dynamic binding of `buffer'.
2826         (describe-package-1): Do not decode readme-string.
2828 2014-03-25  Barry O'Reilly  <gundaetiapo@gmail.com>
2830         * simple.el (primitive-undo): Correction to 2014-03-24 change.
2832 2014-03-25  Michael Albinus  <michael.albinus@gmx.de>
2834         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2836         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2837         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
2838         `remote-file-name-inhibit-cache' to nil in the second pass.
2839         (tramp-find-executable): Do not call "which" on SunOS.
2840         (tramp-send-command-and-check): Fix docstring.
2841         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2842         check whether source directory has set the sticky bit.
2844 2014-03-24  Barry O'Reilly  <gundaetiapo@gmail.com>
2846         * simple.el (primitive-undo): Only process marker adjustments
2847         validated against their corresponding (TEXT . POS).  Issue warning
2848         for lone marker adjustments in undo history.  (Bug#16818)
2849         (undo-make-selective-list): Add marker adjustments to selective
2850         undo list based on whether their corresponding (TEXT . POS) is in
2851         the region.  Remove variable adjusted-markers, which was unused
2852         and only non nil during undo-make-selective-list.
2853         (undo-elt-in-region): Return nil when passed a marker adjustment
2854         and explain in function doc.
2856 2014-03-24  Dmitry Gutov  <dgutov@yandex.ru>
2858         * emacs-lisp/package.el (package--add-to-archive-contents):
2859         Include already installed and built-in packages in
2860         `package-archive-contents'.
2861         (package-install): Don't include already installed packages in the
2862         options during interactive invocation.  (Bug#16762)
2864 2014-03-24  Daniel Colascione  <dancol@dancol.org>
2866         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2867         instead of cl-loop search function.
2869 2014-03-24  Juanma Barranquero  <lekktu@gmail.com>
2871         * frameset.el (frameset--initial-params): Fix typo in parameter name.
2873 2014-03-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2875         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2877 2014-03-24  Dmitry Gutov  <dgutov@yandex.ru>
2879         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2880         Match special global variables without curlies, too.
2881         (ruby-font-lock-keywords): Simplify the matcher for special global
2882         variables.  Don't require a non-word character after the variable.
2883         (Bug#17057)
2885 2014-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2887         * simple.el (redisplay-highlight-region-function): Increase priority of
2888         overlay to make sure boundaries are visible (bug#15899).
2890 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
2892         * frameset.el (frameset-restore): Compare display strings with equal.
2894         * frame.el (make-frame): Don't quote display name in error message,
2895         it is already a string.
2897 2014-03-23  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2899         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2900         the password.
2902 2014-03-23  Dmitry Gutov  <dgutov@yandex.ru>
2904         * emacs-lisp/package.el (package-show-package-list): If the buffer
2905         is already displayed in another window, switch to that window.
2907 2014-03-21  Daniel Colascione  <dancol@dancol.org>
2909         * mail/emacsbug.el (report-emacs-bug): Include memory usage
2910         information in bug reports.
2912 2014-03-23  Daniel Colascione  <dancol@dancol.org>
2914         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2915         list to look for keyword arguments instead of `memq', fixing
2916         (Bug#3647) --- unfortunately, only for freshly-compiled code.
2917         Please make bootstrap.
2919 2014-03-23  Richard Stallman  <rms@gnu.org>
2921         * battery.el (battery-linux-sysfs): Search for each field
2922         from the beginning of the buffer.
2924 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
2926         * emacs-lisp/package.el (package-desc): Use the contents of the
2927         quoted form, not its cdr.  (Bug#16873)
2929 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
2931         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2932         benefit of doc.c; change parameter profile to match the X function.
2934 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
2936         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2937         and `tramp-copy-env'.
2939         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2940         (tramp-maybe-open-connection): Handle `tramp-login-env'.
2942 2014-03-21  Glenn Morris  <rgm@gnu.org>
2944         * electric.el (electric-indent-post-self-insert-function): Add doc.
2946 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
2948         * emacs-lisp/package.el (package-compute-transaction):
2949         Use `version-list-<=' to compare the requirement version against
2950         the version of package already to be installed.  Update the error
2951         message.  (Bug#16826)
2953         * progmodes/ruby-mode.el (ruby-smie-rules):
2954         Add indentation rule for ` @ '.  (Bug#17050)
2956 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
2958         * align.el (align-regexp): Remove superfluous backslash.
2960         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2961         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2962         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2963         Fix docstring typos.
2964         (ffap-next): Use C-u in docstring.
2965         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2966         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2967         Remove superfluous backslashes.
2968         (ffap-string-at-point): Reflow docstring.
2970         * server.el (server-host): Reflow docstring.
2971         (server-unload-function): Fix docstring typo.
2972         (server-eval-at): Remove superfluous backslash.
2974         * skeleton.el (skeleton-insert): Remove superfluous backslash.
2975         (skeleton-insert): Doc fix.
2976         (skeleton-insert): Reflow docstring.
2978         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2979         (tty-color-approximate, tty-color-by-index, tty-color-values)
2980         (tty-color-desc): Remove superfluous backslashes.
2982 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2984         * electric.el (electric-newline-and-maybe-indent): New command.
2985         Bind it globally to C-j.
2986         (electric-indent-mode): Don't mess with the global map any more.
2987         Don't drop the post-self-insert-hook is some buffer is still using it
2988         (bug#16770).
2990         * bindings.el (global-map): Remove C-j binding.
2992         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2993         the docstring of functions advised before dumping (bug#16993).
2995 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
2997         * ps-print.el (ps-generate-postscript-with-faces):
2998         Explicitly deactivate the mark (bug#16866).
2999         * simple.el (deactivate-mark): Update region highlight.
3001 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
3003         * emacs-lisp/package.el (describe-package-1):
3004         Decode commentary (bug#16733).
3006 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
3008         * custom.el (defcustom): Doc fix: recommend avoiding destructive
3009         modification of the value argument of :set (bug#16755).
3011 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3013         * simple.el (newline-and-indent): Do autofill (bug#17031).
3015 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
3017         * newcomment.el (comment-normalize-vars): Only add escaping check
3018         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
3019         (comment-beginning): Use `narrow-to-region' instead of moving back
3020         one character.
3021         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
3022         (comment-start-skip): Update the docstring.
3024 2014-03-18  Richard Stallman  <rms@gnu.org>
3026         * dired.el (dired-display-file): Force use of other window.
3028 2014-03-18  Daniel Colascione  <dancol@dancol.org>
3030         * startup.el (tty-handle-args): Remove debug message from 2007.
3032 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3034         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
3035         (advice--make-interactive-form): Use it to avoid (auto)loading function.
3036         (advice--make-1, advice-add, advice-remove):
3037         Remove braindead :advice-pending hack.
3039 2014-03-17  Glenn Morris  <rgm@gnu.org>
3041         * calendar/calendar.el (calendar-generate-month): Apply weekend
3042         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
3044 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
3046         * net/tramp.el (tramp-action-out-of-band): Read pending output.
3047         (tramp-call-process): Trace also DESTINATION.
3049         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3050         Quote file names when they are local.  Remove superfluous trace.
3052 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
3054         * newcomment.el (comment-beginning): If `comment-start-skip'
3055         doesn't match, move back one char and try again.  (Bug#16971)
3057         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3058         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
3059         Set `comment-start-skip' to a simpler value that doesn't try to
3060         check if the semicolon is escaped (this is handled by
3061         `syntax-ppss' now).  (Bug#16971)
3063         * progmodes/scheme.el (scheme-mode-variables): Same.
3065 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
3067         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
3068         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
3069         current (Bug#16816, Bug#17007).
3070         (with-current-buffer-window): New macro doing the same as
3071         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
3072         * help.el (help-print-return-message): Warn in doc-string to not
3073         use this in `with-help-window'.
3074         (describe-bindings-internal): Call `describe-buffer-bindings'
3075         from within help buffer.  See Juanma's scenario in (Bug#16816).
3076         (with-help-window): Update doc-string.
3077         * dired.el (dired-mark-pop-up):
3078         * files.el (save-buffers-kill-emacs):
3079         * register.el (register-preview): Use `with-current-buffer-window'
3080         instead of `with-temp-buffer-window'.
3082 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
3084         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
3085         Implement inserting into current buffer, documented in their docstrings.
3086         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
3087         (rst-section-tree-point, rst-forward-section, rst-indent)
3088         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
3089         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
3090         (rst-font-lock-handle-adornment-pre-match-form)
3091         (rst-repeat-last-character): Reflow docstrings.
3092         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
3093         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
3094         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
3095         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
3096         Fix docstring typos.
3097         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
3098         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
3099         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
3101 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
3103         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
3104         for compatibility with other ports.
3105         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
3106         from the -xrm command line argument, but in the Nextstep port its value
3107         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
3109         * progmodes/python.el (defconst, python-syntax-count-quotes)
3110         (python-indent-region, python-indent-shift-right)
3111         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
3112         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
3113         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
3114         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
3115         (inferior-python-mode, python-shell-make-comint, run-python-internal)
3116         (python-shell-buffer-substring, python-shell-send-buffer)
3117         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
3118         (python-completion-complete-at-point, python-fill-docstring-style)
3119         (python-eldoc-function, python-imenu-format-item-label)
3120         (python-imenu-format-parent-item-label)
3121         (python-imenu-format-parent-item-jump-label)
3122         (python-imenu--build-tree, python-imenu-create-index)
3123         (python-imenu-create-flat-index): Fix docstring typos.
3124         (python-indent-context, python-shell-prompt-regexp, run-python):
3125         Remove superfluous backslashes.
3126         (python-indent-line, python-nav-beginning-of-defun)
3127         (python-shell-get-buffer, python-shell-get-process)
3128         (python-info-current-defun, python-info-current-line-comment-p)
3129         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
3130         (python-indent-post-self-insert-function, python-shell-send-file)
3131         (python-shell-completion-get-completions)
3132         (python-shell-completion-complete-or-indent)
3133         (python-eldoc--get-doc-at-point): Reflow docstrings.
3135 2014-03-14  Glenn Morris  <rgm@gnu.org>
3137         * emacs-lisp/package.el (package-menu-mode-map):
3138         Replace use of obsolete function alias.  Tweak menu item text.
3140         * info.el (Info-finder-find-node):
3141         Ignore the `emacs' metapackage.  (Bug#10813)
3143         * finder.el (finder-list-matches): Include unversioned packages
3144         in the result of a keyword search.
3146         * finder.el (finder--builtins-descriptions): New constant.
3147         (finder-compile-keywords): Use finder--builtins-descriptions.
3149 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
3151         * simple.el (blink-matching-paren): Describe the new value,
3152         `jump', enabling the old behavior.
3153         (blink-matching-open): Use that value.  (Bug#17008)
3155 2014-03-14  Glenn Morris  <rgm@gnu.org>
3157         * finder.el (finder-no-scan-regexp): Add leim-list.
3158         (finder-compile-keywords):
3159         Don't skip files with same basename.  (Bug#14010)
3160         * Makefile.in (setwins_finder): New, excluding leim.
3161         (finder-data): Use setwins_finder.
3163         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
3164         (help-function-arglist, help-make-usage): Move from here...
3165         * help.el (help-split-fundoc, help-add-fundoc-usage)
3166         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
3167         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
3169 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
3171         * net/socks.el (socks, socks-override-functions)
3172         (socks-find-services-entry):
3173         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
3174         (hif-find-ifdef-block):
3175         * progmodes/modula2.el (m2-indent): Fix docstring typos.
3177         * net/tls.el (tls-program): Reflow docstring.
3179         * progmodes/pascal.el (pascal-mode-abbrev-table)
3180         (pascal-imenu-generic-expression, pascal-auto-endcomments)
3181         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
3182         (pascal-outline-mode): Fix docstring typos.
3183         (pascal-mode): Let define-derived-mode document mode hook.
3184         (pascal-uncomment-area): Reflow.
3185         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
3187         * progmodes/opascal.el (opascal-compound-block-indent)
3188         (opascal-case-label-indent): Fix docstring typos.
3189         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
3191 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
3193         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3194         Fontify multiple adjacent negation chars.  (Bug#17004)
3196 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
3198         * emacs-lisp/package.el (package--prepare-dependencies):
3199         Accept requirements without explicit version (bug#14941).
3201 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
3203         * register.el (register-separator, copy-to-register): Doc fixes.
3204         (register-preview-default): Remove unnecessary call to concat.
3206         * frameset.el (frameset-restore): When checking for a visible frame,
3207         use the action map instead of calling visible-frame-list.
3209 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
3211         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3213 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
3215         * window.el (fit-frame-to-buffer): Get maximum width from
3216         display's width instead of height.
3218 2014-03-12  Glenn Morris  <rgm@gnu.org>
3220         * desktop.el (desktop-restore-frames)
3221         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3222         (desktop-restore-reuses-frames): Doc tweaks.
3224         * electric.el (electric-indent-mode): Doc fix.
3226 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
3228         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3229         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3230         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3231         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3232         (cvs-dired-use-hook): Fix docstring typos.
3233         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3234         Doc fixes.
3236         * vc/pcvs-defs.el (cvs-auto-remove-handled)
3237         (cvs-auto-remove-directories, cvs-default-ignore-marks)
3238         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3239         (cvs-execute-single-dir): Fix docstring typos.
3241         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3242         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3244         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3246         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3247         Fix docstring typos.
3249 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
3251         * frameset.el (frameset--jump-to-register): Add autoload; it could be
3252         called from jump-to-register after unloading the frameset package.
3254 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3256         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3257         (bug#16975).  Deactivate the mark before setting it to nil.
3258         (activate-mark): Do nothing if region is already active.
3260 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
3262         * frameset.el (frameset--target-display): Remove definition; declare.
3263         (frameset-save, frameset-restore): Let-bind frameset--target-display.
3265 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3267         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3268         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3269         when the advice is pending.
3270         (advice-remove): Remove this marker when not needed any more.
3272 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
3274         * frameset.el: Separate options for reusing frames and cleaning up.
3275         (frameset--reuse-list): Remove definition; declare.
3276         (frameset--action-map): Declare.
3277         (frameset--find-frame-if): Doc fix.
3278         (frameset--restore-frame): Cache frame action.
3279         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3280         how to clean up the frame list after restoring.  Remove cleaning
3281         options from REUSE-FRAMES.  Change all keyword values to symbols.
3282         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3284         * desktop.el (desktop-restore-forces-onscreen)
3285         (desktop-restore-reuses-frames): Use non-keyword values.
3286         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3288 2014-03-10  Glenn Morris  <rgm@gnu.org>
3290         * files.el (find-file): Doc fix: update info node name.
3292         * emacs-lisp/advice.el (ad-add-advice, defadvice):
3293         Doc fix: remove references to deleted info nodes.
3295 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
3297         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3298         Do not add `nil' to the environment, when there's no remote `locale'.
3299         (tramp-find-inline-encoding): Check, that the remote host has
3300         installed perl, before sending scripts.
3302 2014-03-10  Leo Liu  <sdl.web@gmail.com>
3304         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3305         Clear eldoc-last-message.  (Bug#16920)
3307 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3309         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3310         (bug#14430).
3312 2014-03-09  Juri Linkov  <juri@jurta.org>
3314         * ansi-color.el (ansi-color-names-vector): Copy default colors
3315         from `xterm-standard-colors' that look well on the default white
3316         background (and also on the black background) to avoid illegible
3317         color combinations like yellow-on-white and white-on-white.
3318         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3320 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
3322         * frameset.el (frameset-restore): When no frame is visible, do not
3323         generate a list of frames, just make visible the selected one.
3325 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
3327         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3328         it only contains the repository root.  (Bug#16897)
3330 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
3332         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3333         only when `remote-file-name-inhibit-cache' is nil.
3334         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
3336 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
3338         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3339         Fix doc-strings.
3340         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
3341         fit-frame-to-buffer variable.  Fix doc-string.
3342         (fit-window-to-buffer): Set ONLY argument in call of
3343         fit-frame-to-buffer.  Fix doc-string.
3345 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
3347         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3348         (tramp-action-password): Clear password cache if needed.
3349         (tramp-read-passwd): Do not clear password cache.
3351         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3352         cache unless it is the first password request.
3354 2014-03-06  Glenn Morris  <rgm@gnu.org>
3356         * simple.el (newline): Doc tweak.
3358         * emacs-lisp/shadow.el (load-path-shadows-find):
3359         Ignore dir-locals.  (Bug#12357)
3361 2014-03-05  Glenn Morris  <rgm@gnu.org>
3363         * files.el (interpreter-mode-alist):
3364         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
3366 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
3368         * frameset.el (frameset--initial-params): Filter out null entries.
3370 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
3372         * window.el (window-min-height, window-min-width):
3373         Rewrite doc-strings.
3374         (window-body-size): Add PIXELWISE argument to make it consistent
3375         with its callees.
3377 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
3379         * finder.el (finder-mode-map, finder-mode-syntax-table):
3380         Revert part of 2014-02-28 change.
3382 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
3384         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3385         (eww-setup-buffer): Clear next/prev/etc more reliably.
3386         (eww-textarea-map): [tab] doesn't work on tty.
3387         Reported by Mario Lang.
3389         * net/shr.el (shr-map): Ditto.
3391 2014-03-04  Glenn Morris  <rgm@gnu.org>
3393         * minibuffer.el (completion-hilit-commonality):
3394         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3396 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
3398         * hilit-chg.el (hilit-chg-unload-function): New function.
3399         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3400         (hilit-chg-map-changes): Prefer cardinal number to digit.
3401         (hilit-chg-display-changes): Reflow docstring.
3402         (highlight-changes-rotate-faces): Remove superfluous backslash.
3404 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
3406         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3407         `tramp-send-command-and-check'.
3409 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
3411         * hexl.el (hexl-address-region, hexl-ascii-region)
3412         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3413         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3414         (hexl-forward-word, hexl-previous-line, hexl-next-line):
3415         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3416         (hexl-mode): Doc fix.
3417         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3418         (hexl-mode-ruler): Fix typos in docstrings.
3420         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3421         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3422         Remove superfluous backslashes.
3423         (strokes-last-stroke, strokes-global-map, strokes-mode):
3424         Reflow docstrings.
3425         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3426         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3427         (strokes-distance-squared, strokes-global-set-stroke)
3428         (strokes-global-set-stroke-string): Doc fixes.
3429         (strokes-help): Fix typos; reflow docstring.
3431 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
3433         * window.el (window-in-direction): Fix doc-string.
3435 2014-03-04  Glenn Morris  <rgm@gnu.org>
3437         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3438         Explicit error if no grammar.
3439         (smie-config-save): Doc fix.  Fix quote typo.
3441 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3443         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3444         electric-indent-mode-hook if we obey electric-indent-mode.
3445         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3446         decide whether we obey electric-indent-mode.
3447         (c-change-set-fl-decl-start, c-extend-after-change-region):
3448         Silence warnings.
3449         (c-electric-indent-mode-hook): Assume we do want to obey
3450         electric-indent-mode.
3452         * electric.el (electric-indent-mode-has-been-called): Remove.
3453         (electric-indent-mode): Fix accordingly.
3455         * files.el (hack-local-variables): Mention file name in warning.
3457         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3459 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
3461         * bindings.el: Add comment describing why C-d binds to `delete-char'.
3462         * simple.el (delete-forward-char): Mark as interactive-only.
3464 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
3466         * icomplete.el (icomplete-completions):
3467         Follow-up to 2014-03-01 change.
3469         * icomplete.el: Miscellaneous doc fixes.
3470         Use Icomplete everywhere instead of icomplete for consistency.
3471         (icomplete-max-delay-chars): Fix typo.
3472         (icomplete-mode): Use \[].
3473         (icomplete-tidy, icomplete-exhibit): Reflow.
3474         (icomplete-minibuffer-setup-hook, icomplete-completions):
3475         Remove superfluous backlashes.
3477         * ido.el: Miscellaneous doc fixes.
3478         Use Ido everywhere instead of ido or `ido' for consistency.
3479         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3480         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3481         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3482         (ido-separator): Extract obsolescence info from docstring and declare
3483         with make-obsolete-variable.
3484         (ido-minibuffer-setup-hook): Simplify example.
3485         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3486         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3487         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3488         (ido-everywhere): Reflow docstring.
3489         (ido-toggle-vc): Doc fix.
3490         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3491         of long list of keybindings.
3493 2014-03-03  Glenn Morris  <rgm@gnu.org>
3495         * frame.el (display-pixel-height, display-pixel-width)
3496         (display-mm-dimensions-alist, display-mm-height)
3497         (display-mm-width): Doc tweaks.
3499 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
3501         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3502         case of undo in region.
3504 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
3506         * window.el (fit-window-to-buffer): Fix argument in window-size
3507         call when window is horizontally combined.
3509 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
3511         * icomplete.el (icomplete-completions): Use string-width.
3512         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3514 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
3516         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3517         Highlight regexp options.  (Bug#16914)
3519 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
3521         * window.el (window--max-delta-1): Round down when calculating
3522         how many lines/columns we can get from a window.
3524 2014-03-01  Glenn Morris  <rgm@gnu.org>
3526         * isearch.el (search-invisible): Doc fix.
3528         * minibuffer.el (completion-hilit-commonality):
3529         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
3530         * comint.el (comint-dynamic-list-completions): Doc fix.
3531         * comint.el (comint-dynamic-list-completions):
3532         * filecache.el (file-cache-minibuffer-complete):
3533         * tempo.el (tempo-display-completions):
3534         * eshell/em-hist.el (eshell-list-history):
3535         Replace use of obsolete argument of display-completion-list.
3537 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
3539         * icomplete.el (icomplete-completions):
3540         Revert back to using "..." when ?… cannot be displayed.
3542 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
3544         * finder.el (finder-unload-function): New function.
3546 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
3548         * dframe.el (dframe-detach):
3549         * find-dired.el (find-dired, find-name-dired):
3550         * finder.el (finder-mode-map, finder-mode-syntax-table)
3551         (finder-headmark, finder-select, finder-mouse-select):
3552         Fix docstring typos.
3554 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
3556         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3557         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3558         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3559         Fix doc-string based on a suggestion by Nicolas Richard
3560         <theonewiththeevillook@yahoo.fr>.
3561         * help.el (with-help-window): Fix doc-string.
3563 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
3565         * net/shr.el (shr-image-animate): New option.
3566         (shr-put-image): Respect shr-image-animate.
3568 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
3570         * net/tramp-adb.el (tramp-adb-parse-device-names):
3571         Use `accept-process-output'.
3572         (tramp-adb-handle-file-truename): Cache the localname only.
3573         (tramp-adb-handle-make-directory)
3574         (tramp-adb-handle-delete-directory): Flush file properties correctly.
3575         (tramp-adb-handle-set-file-modes): Do not raise an error when file
3576         modes cannot be changed.
3578         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3579         file properties of symlinks.
3581 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
3583         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3584         required/optional fields to match development biblatex.  (Bug#16781)
3586 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
3588         * saveplace.el (toggle-save-place):
3589         Fix argument handling.  (Bug#16673)
3591 2014-02-28  Glenn Morris  <rgm@gnu.org>
3593         * minibuffer.el (completions-first-difference)
3594         (completions-common-part, completion-hilit-commonality): Doc fixes.
3596 2014-02-28  Karl Berry  <karl@gnu.org>
3598         * info.el (Info-mode-map): Add H for describe-mode,
3599         to synchronize with standalone Info.
3601 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
3603         * progmodes/sql.el (sql-interactive-mode):
3604         Avoid setting global comint-input-ring-separator.  (Bug#16814)
3606 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
3608         * net/dbus.el (dbus--init-bus): Declare function.
3609         (dbus-path-local, dbus-interface-local): New defconst.
3610         (dbus-init-bus): Use them.
3611         (dbus-return-values-table): Extend doc.
3612         (dbus-handle-bus-disconnect): Extend error message.
3614 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
3616         * subr.el (y-or-n-p): Fix double space issue in message.
3618 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
3620         * net/tramp.el (tramp-call-process): Improve trace message.
3621         (tramp-handle-insert-file-contents): Trace error case.
3623         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3624         <insert-directory>: Use `tramp-handle-insert-directory'.
3625         (tramp-adb-handle-insert-directory): Remove function.
3626         (tramp-adb-send-command-and-check): New defun, replacing
3627         `tramp-adb-command-exit-status'.  Change all callees.
3628         (tramp-adb-handle-file-attributes)
3629         (tramp-adb-handle-directory-files-and-attributes): Use it.
3630         (tramp-adb-ls-output-name-less-p):
3631         Use `directory-listing-before-filename-regexp'.
3632         (tramp-adb-handle-delete-directory): Flush also file properties of
3633         the truename of directory.
3634         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3635         (tramp-adb-handle-file-local-copy): Make the local copy readable.
3636         (tramp-adb-handle-write-region): Implement APPEND.
3637         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
3638         properties correctly.
3639         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3640         variables.  Check for connected devices only when needed.
3642 2014-02-27  Glenn Morris  <rgm@gnu.org>
3644         * minibuffer.el (completion-table-dynamic)
3645         (completion-table-with-cache): Doc fixes.
3647         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3648         (completing-read-multiple): Doc fixes.
3650 2014-02-27  Daniel Colascione  <dancol@dancol.org>
3652         * minibuffer.el (completion--nth-completion): Fix indentation.
3654         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3655         explicit tramp path is empty.
3657 2014-02-27  Glenn Morris  <rgm@gnu.org>
3659         * emacs-lisp/crm.el (completing-read-multiple):
3660         Empower help-enable-auto-load.
3662 2014-02-26  Glenn Morris  <rgm@gnu.org>
3664         * startup.el (command-line): Don't init the tty in daemon mode.
3666         Avoid calling tty-setup-hook twice, eg if a term file
3667         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
3668         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3669         (tty-create-frame-with-faces): Use it.
3670         * startup.el (command-line): Pass run-hook argument
3671         to tty-run-terminal-initialization.
3673         * dired.el (dired-restore-desktop-buffer): Demote errors;
3674         eg in case a glob match fails.  (Bug#16884)
3676 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
3678         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3679         error from `read-from-string'.  (Bug#16850)
3681         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3682         result of `completing-read' in the interactive form.  (Bug#16854)
3684 2014-02-25  Glenn Morris  <rgm@gnu.org>
3686         * image.el (image-animate, image-animate-timeout):
3687         Stop animating images in dead buffers.  (Bug#16878)
3689         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
3691         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3692         Doc fixes.
3693         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
3694         * term/sun.el (sun-raw-prefix-hooks):
3695         Use tty-setup-hook instead of term-setup-hook.
3696         (terminal-init-sun): Construct message from bytecomp plist.
3697         * term/wyse50.el (enable-arrow-keys): Doc fix.
3699 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
3701         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3702         Fix docstring typos.
3704 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
3706         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3708 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3710         * minibuffer.el (completion--try-word-completion):
3711         Fix error when completing M-x commands (bug#16808).
3713 2014-02-24  Leo Liu  <sdl.web@gmail.com>
3715         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3717 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
3719         * apropos.el (apropos-print): Avoid formatting error when
3720         apropos-do-all and apropos-compact-layout are both t.
3722 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
3724         * apropos.el (apropos-property, apropos-all-words-regexp)
3725         (apropos-true-hit, apropos-variable, apropos-print):
3726         Fix docstring typos, and remove obsolete comment.
3728 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
3730         * net/tramp-sh.el (tramp-sh-handle-file-truename):
3731         Preserve trailing "/".  (Bug#16851)
3733 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
3735         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3736         after `=>' (bug#16811).
3737         (ruby-smie-rules): Handle the inconsistent second element of the
3738         list returned by `smie-indent--parent'.
3739         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3740         method call.
3742 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
3744         * elec-pair.el (electric-pair-text-syntax-table)
3745         (electric-pair-syntax-info, electric-pair--syntax-ppss)
3746         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3747         (electric-pair--looking-at-unterminated-string-p): Doc fix.
3748         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
3750 2014-02-22  Glenn Morris  <rgm@gnu.org>
3752         * imenu.el (imenu--generic-function): Doc fix.
3754         * register.el (frame-configuration-to-register): Make obsolete.
3756 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
3758         * desktop.el (desktop-save-buffer-p): Do not fail when
3759         desktop-files-not-to-save is nil.  Return t for true result
3760         as the doc says.
3762 2014-02-22  Daniel Colascione  <dancol@dancol.org>
3764         * net/secrets.el (secrets-create-item, secrets-search-items):
3765         Check that attribute values are strings, avoiding the construction
3766         of invalid dbus messages.
3768 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
3770         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3771         defun-declarations-alist.
3773 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3775         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3776         (bug#16829).
3778 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
3780         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3781         (whitespace-newline, whitespace-trailing, whitespace-line)
3782         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3783         (whitespace-space-after-tab): Fix typo in docstrings.
3785 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
3787         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3789         * electric.el (electric-indent-functions-without-reindent):
3790         Add `yaml-indent-line'.
3792 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
3794         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3795         It has done nothing for years; should be removed after the release.
3797         * simple.el (choose-completion): Fix docstring typo.
3798         (read-quoted-char-radix): Remove unneeded * in docstring.
3799         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3800         Don't escape parentheses unnecessarily in docstrings.
3802 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
3804         Fix handling of window-min-height/-width (Bug#16738).
3805         * window.el (window--dump-window, window--dump-frame):
3806         New functions.
3807         (window--min-size-1): Account for window dividers.
3808         When window-resize-pixelwise is nil, delay rounding till after the
3809         sum of the window components has been calculated.
3810         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3811         nil make sure at least one text line and two text columns remain
3812         fully visible.
3813         (window-resize): Signal an error when window-resize-apply fails.
3814         (window--resize-child-windows): Fix calculation of by how many
3815         pixels a window can still be shrunk via window-new-normal.
3816         (adjust-window-trailing-edge): Call window--resizable with
3817         correct TRAIL argument.
3819         (with-temp-buffer-window): Don't evaluate BODY within
3820         with-current-buffer (Bug#16816).
3822 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
3824         * net/tramp.el (tramp-check-cached-permissions):
3825         Call `file-attributes' with `suffix' being a symbol but a string.
3827 2014-02-21  Daniel Colascione  <dancol@dancol.org>
3829         * net/dbus.el (dbus-init-bus-1): Declare new subr.
3830         (dbus-init-bus): New function: call into dbus-init-bus-1
3831         and installs a handler for the disconnect signal.
3832         (dbus-call-method): Rewrite to look for result in cons.
3833         (dbus-call-method-handler): Store result in cons.
3834         (dbus-check-event): Recognize events with nil sender as valid.
3835         (dbus-handle-bus-disconnect): New function.  React to bus
3836         disconnection signal by synthesizing dbus error for each
3837         pending synchronous or asynchronous call.
3838         (dbus-notice-synchronous-call-errors): New function.
3839         (dbus-handle-event): Raise errors directly only when `dbus-debug'
3840         is true, not all the time.
3842 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
3844         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3845         Remove obsolescence declarations, these variables do not exist anymore.
3847         * savehist.el (savehist-save-minibuffer-history)
3848         (savehist-additional-variables, savehist-file, savehist-mode-hook)
3849         (savehist-save-hook, savehist-coding-system, savehist-loaded)
3850         (savehist-load, savehist-install, savehist-autosave): Fix typos;
3851         mostly, refer to "Savehist mode" when talking about the mode,
3852         and not the function.
3854         * saveplace.el (save-place): Remove redundant info in docstring.
3855         (save-place-forget-unreadable-files, toggle-save-place)
3856         (save-place-forget-unreadable-files, save-place-dired-hook):
3857         Fix typos and remove unneeded backslashes.
3859 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
3861         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3862         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3864         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3865         <insert-directory>: Use `tramp-handle-insert-directory'.
3866         (tramp-gvfs-handle-insert-directory): Remove function.
3868         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3869         Call `tramp-handle-insert-directory'.
3871 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
3873         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3874         before the start of buffer/region (bug#16799).
3876 2014-02-20  Glenn Morris  <rgm@gnu.org>
3878         * isearch.el (search-invisible): Doc fix.
3880 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
3882         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3883         (bug#16657).
3885 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
3887         * frameset.el (frameset-restore): Delay removing an old frame's
3888         duplicate id until the new frame has been correctly created.
3890 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
3892         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3893         (tramp-check-cached-permissions): Call `file-attributes' if the
3894         cache is empty.
3896         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3897         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3899         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3900         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3901         (tramp-gvfs-maybe-open-connection): Set always connection
3902         properties, even if target is mounted already.
3904         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3905         Set tramp-autoload cookie.
3906         (tramp-get-remote-touch): New defun.
3907         (tramp-sh-handle-set-file-times): Use it.
3908         (tramp-sh-handle-directory-files-and-attributes):
3909         Use `tramp-handle-directory-files-and-attributes' if neither stat
3910         nor perl are available on the remote host.
3912         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3913         "/".  Write long listing only when "l" belongs to the switches.
3915         * net/trampver.el: Update release number.
3917 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
3919         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3921 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
3923         * window.el (window-state-put): Allow WINDOW to refer to an
3924         internal window (Bug#16793).
3926 2014-02-19  Glenn Morris  <rgm@gnu.org>
3928         * textmodes/remember.el: Move provide statement to end.
3929         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3930         (remember-notes): Doc fixes.
3932 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3934         * delsel.el (delete-char): Restore incorrectly erased property
3935         (bug#16795).
3937 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
3939         * frameset.el (frameset--restore-frame): When a frame is being reused
3940         and its root window is not alive, delete all the frame's windows before
3941         restoring the window state.  This works around the issue in bug#16793.
3943 2014-02-18  Glenn Morris  <rgm@gnu.org>
3945         * textmodes/remember.el (remember-data-directory)
3946         (remember-directory-file-name-format, remember-store-in-files)
3947         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3948         (remember-notes-save-and-bury-buffer)
3949         (remember-notes--kill-buffer-query): Doc fixes.
3951         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3953 2014-02-17  Alan Mackenzie  <acm@muc.de>
3955         Connect electric-indent-mode up with CC Mode.  Bug #15478.
3956         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3957         to electric-indent-{,local-}-mode.
3958         (c-basic-common-init): Set electric-indent-inhibit.
3959         Initialise c-electric-flag from electric-indent-mode.
3960         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3961         New hook functions which propagate electric-indent-mode to CC mode.
3963         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3964         hit, toggle electric-indent-local-mode.
3966         * electric.el (electric-indent-mode-has-been-called):
3967         New variable.
3969 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
3971         * frameset.el (frameset-cfg-id): New function.
3972         (frameset--reuse-frame, frameset-restore): Use it.
3973         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3975 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3977         * ido.el (ido-file-internal): Remove unused var `d'.
3978         Use \` for to match BoS.  Fit within 80n columns.
3980 2014-02-17  Daniel Colascione  <dancol@dancol.org>
3982         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3983         dbus-call-method check for completion using a busy-wait loop with
3984         gradual backoff.
3986 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
3988         Sync with Tramp 2.2.9.
3990         * net/trampver.el: Update release number.
3992 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
3994         * ido.el (ido-file-internal): Don't add the name of an existing
3995         directory twice.  (Bug#16747)
3997 2014-02-16  Glenn Morris  <rgm@gnu.org>
3999         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
4000         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
4002 2014-02-15  Michael R. Mauger  <michael@mauger.com>
4004         * progmodes/sql.el: Version 3.4
4005         (sql-oracle-options): New default value ("-L").
4006         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
4007         (sql-placeholders-filter): Correct placeholder pattern.
4008         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
4009         (sql-login-delay): New variable.
4010         (sql-product-interactive): Use it.
4012 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
4014         * frameset.el (frameset--jump-to-register): Check that buffer is live
4015         (bug#16749).
4017 2014-02-15  Glenn Morris  <rgm@gnu.org>
4019         * info.el (info-initialize): Revert 2014-01-10 change.
4021 2014-02-14  Glenn Morris  <rgm@gnu.org>
4023         * replace.el (map-query-replace-regexp)
4024         (read-regexp-defaults-function, read-regexp): Doc fixes.
4026         * dired.el (dired-read-regexp):
4027         * faces.el (list-faces-display):
4028         * misearch.el (multi-isearch-read-matching-buffers)
4029         (multi-isearch-read-matching-files):
4030         * play/cookie1.el (cookie-apropos):
4031         * progmodes/grep.el (grep-read-regexp): Doc fixes.
4033         * textmodes/remember.el (remember): Use frameset-to-register
4034         rather than frame-configuration-to-register.
4036 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
4038         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
4039         incorrect keybinding.
4041 2014-02-13  Daniel Colascione  <dancol@dancol.org>
4043         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
4044         when adding overlays so that line numbers from compiler match line
4045         numbers we use.
4047 2014-02-13  Glenn Morris  <rgm@gnu.org>
4049         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
4051         * jit-lock.el (jit-lock-mode): Doc fix.
4053 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
4055         * apropos.el (apropos-read-pattern): When the user passes an empty
4056         string, give a more helpful error message than "Wrong type
4057         argument: stringp, nil".
4059 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4061         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
4063 2014-02-13  Glenn Morris  <rgm@gnu.org>
4065         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
4067 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4069         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
4070         shift-select commands.
4072 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
4074         * progmodes/js.el (js-indent-line): Don't widen.
4075         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
4077 2014-02-12  Glenn Morris  <rgm@gnu.org>
4079         * icomplete.el (icomplete): Add info-link to defgroup.
4080         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
4081         (icomplete-minibuffer-map, icomplete-mode)
4082         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
4084         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
4085         (package-menu-filter): Rename from package-menu-filter-interactive.
4086         Doc fix.
4088 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
4090         * frameset.el (frameset--jump-to-register): Select the required
4091         window and buffer before restoring position (bug#16696).
4093 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
4095         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
4097 2014-02-10  Glenn Morris  <rgm@gnu.org>
4099         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
4101 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
4103         * w32-common-fns.el (x-get-selection): Doc fix.
4104         * select.el (x-get-selection): Doc fix.  (Bug#15109)
4106         * face-remap.el (face-remap-add-relative)
4107         (face-remap-remove-relative, face-remap-reset-base)
4108         (face-remap-set-base): Call force-mode-line-update to redisplay
4109         the current buffer due to potential change in faces.  (Bug#16709)
4111 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
4113         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
4114         script more robustly.
4116 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
4118         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
4120         * simple.el (choose-completion): Doc fix (bug#14160).
4122         * subr.el (event-start): Say what a nil EVENT value means.
4124         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
4125         (bug#14197).
4127         * progmodes/grep.el (find-program): Doc fix (bug#14289).
4129         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
4131         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
4133         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
4134         predicate function (bug#15455).
4136 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
4138         * ielm.el (inferior-emacs-lisp-mode): Instead of
4139         `comment-use-global-state', set `comment-use-syntax'.
4141 2014-02-10  Glenn Morris  <rgm@gnu.org>
4143         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
4145 2014-02-09  Alan Mackenzie  <acm@muc.de>
4147         Fix c-invalidate-state-cache on narrowed buffers.
4148         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
4149         Widen when setting and clearing the CPP delimiter properties.
4151 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
4153         * help.el (describe-bindings): Doc fix (bug#9888).
4155         * files.el (save-buffer): Use ARG as the parameter name for
4156         consistency (bug#10346).
4157         (save-buffer): Clarify the 0 argument (bug#10346).
4159         * cus-edit.el (customize-apropos): Fix error string.
4160         (custom-buffer-create): Doc fix (bug#11122).
4161         (custom-sort-items): Doc fix (bug#11121).
4163         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
4165         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
4166         (icomplete-simple-completing-p): Mention the previous variable.
4168         * font-lock.el (font-lock-value-in-major-mode): Clarify the
4169         meaning of the parameter (bug#12282).
4171         * files.el (find-file-noselect): Clarify prompt when changing
4172         readedness (bug#13261).
4173         (locate-file): Suffixes aren't returned, so don't say that they
4174         are (bug#12674).
4175         (backup-inhibited): Doc clarification (bug#12525).
4177         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
4178         before we actually start to delete things (bug#16331).
4180         * subr.el (event-start): Doc fix (bug#14228).
4181         (event-end): Ditto.
4183 2014-02-09  Glenn Morris  <rgm@gnu.org>
4185         * emacs-lisp/warnings.el (lwarn):
4186         Empower help-enable-auto-load.  (Bug#15940)
4188 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
4190         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4191         (Bug#16690)
4193 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
4195         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4196         Insert output at end of buffer.  (Bug#16120)
4198 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
4200         * simple.el (choose-completion-string-functions): Document new
4201         calling convention (bug#14153).
4202         (execute-extended-command): Clarify doc string (bug#13373).
4204         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4206         * find-dired.el (find-name-dired): Doc fix (bug#14290).
4207         (find-grep-dired): Doc fix (bug#14288).
4209 2014-02-08  Juri Linkov  <juri@jurta.org>
4211         * isearch.el (isearch-quote-char): Check character validity
4212         like in `quoted-insert' (bug#16677).
4214 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
4216         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4218         * isearch.el (isearch-hide-immediately): Doc clarification
4219         (bug#14723).
4221         * simple.el (line-move): Document utility function used many
4222         places in the Emacs sources (bug#14843).
4224         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4225         (dired-prev-marked-file): Doc fix (bug#14855).
4226         (dired-up-directory): Doc fix (bug#14848).
4228         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4230         * files.el (file-relative-name): Doc fix (bug#15159).
4232         * fringe.el (fringe-styles): Doc fix (bug#15239).
4234         * isearch.el (isearch-filter-predicate): Documentation typo fix
4235         (bug#15474).
4237         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4239         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4241         * replace.el (replace-match-maybe-edit): Doc clarification
4242         (bug#15632).
4244         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4246         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4248 2014-02-08  Glenn Morris  <rgm@gnu.org>
4250         * help-fns.el (describe-variable):
4251         Check {file,dir}-local-variables-alist, and buffer-file-name,
4252         in the correct buffer.
4254 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
4256         * help-fns.el (describe-variable): Fix the case where
4257         a value is directory-local with no dir-locals file.  (Bug#16635)
4259 2014-02-08  Glenn Morris  <rgm@gnu.org>
4261         * abbrev.el (edit-abbrevs-mode):
4262         Derive from fundamental-mode.  (Bug#16682)
4264 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
4266         * simple.el (quoted-insert): Check character validity (bug#16677).
4268 2014-02-07  Juri Linkov  <juri@jurta.org>
4270         * desktop.el (desktop-read): Claim the lock when the owner is not
4271         the current process.  (Bug#16157)
4273 2014-02-07  Juri Linkov  <juri@jurta.org>
4275         * desktop.el (desktop-buffers-not-to-save): Change default from nil
4276         to "\\` ".  (Bug#16651)
4278 2014-02-07  Juri Linkov  <juri@jurta.org>
4280         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4281         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4282         (desktop-auto-save-cancel-timer): New function with some code from
4283         `desktop-auto-save-set-timer'.
4284         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4285         Instead of setting `desktop-save-mode' to nil, call
4286         `desktop-save-mode' with arg 0.  (Bug#16630)
4288 2014-02-07  Glenn Morris  <rgm@gnu.org>
4290         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4291         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4292         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4294         * obsolete/iswitchb.el: Move to obsolete/.
4295         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4296         since obsolete/ is not scanned for autoloads.
4297         * emacs-lisp/authors.el (authors-valid-file-names):
4298         Add iswitchb.el.
4300         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4301         Disable now non-functional find-file-hook.
4303 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
4305         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4306         instead of ";" in order to avoid additional prompts.  Let heredoc
4307         scripts read from tty.  (Bug#16582)
4308         (tramp-send-command): No special handling of heredocs, it isn't
4309         necessary anymore.
4311 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4313         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4314         with a space (bug#16664).  Limit the symbols considered to the ones
4315         that are bound or fbound (bug#16646).
4317 2014-02-06  Glenn Morris  <rgm@gnu.org>
4319         * epa.el (epa-mail-aliases): Doc fix.
4321 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
4323         * emacs-lisp/lisp.el (lisp-completion-at-point):
4324         Use `completion-table-merge' instead of `completion-table-in-turn'
4325         (bug#16604).
4327         * minibuffer.el (completion-table-merge): New function.
4329 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
4331         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4332         (tramp-sh-handle-set-file-acl)
4333         (tramp-sh-handle-start-file-process)
4334         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4335         (tramp-find-executable, tramp-send-command): Use it.
4337 2014-02-05  Glenn Morris  <rgm@gnu.org>
4339         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
4341 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4343         * progmodes/python.el (python-shell-send-string)
4344         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4346 2014-02-04  Anders Lindgren  <andlind@gmail.com>
4348         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4349         the names (bug#16620).
4351 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
4353         * faces.el (window-divider): New default value.  Rewrite doc-string.
4354         (window-divider-first-pixel, window-divider-last-pixel): New faces.
4356 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
4358         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4359         `protected' and `public' can also be called without arguments.
4361 2014-02-03  Glenn Morris  <rgm@gnu.org>
4363         * register.el (window-configuration-to-register)
4364         (frame-configuration-to-register): Unadvertise unused argument.
4365         * frameset.el (frameset-to-register): Remove unused argument.
4367         * frameset.el (frameset-to-register):
4368         * kmacro.el (kmacro-to-register):
4369         * register.el (increment-register):
4370         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4371         (calc-append-to-register, calc-prepend-to-register):
4372         * play/gametree.el (gametree-layout-to-register)
4373         (gametree-apply-register-layout):
4374         * textmodes/picture.el (picture-clear-rectangle-to-register)
4375         (picture-yank-rectangle-from-register):
4376         * vc/emerge.el (emerge-combine-versions-register):
4377         Use register-read-with-preview to read registers.
4379 2014-02-03  João Távora  <joaotavora@gmail.com>
4381         * elec-pair.el (electric-pair-backward-delete-char): Don't error
4382         when at beginning of (possibly narrowed) buffer.
4384 2014-02-02  Daniel Colascione  <dancol@dancol.org>
4386         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4387         Also try to display local help from just before point.
4389 2014-02-02  Alan Mackenzie  <bug-cc-mode@gnu.org>
4391         c-parse-state.  Don't "append-lower-brace-pair" in certain
4392         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
4393         recognised as a comment.
4395         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4396         as well as normal comment starter.
4397         (c-parse-state-get-strategy): Extra return possibility
4398         'back-and-forward.
4399         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4400         return value list to indicate replacement of a brace-pair cons
4401         with its car.
4402         (c-parse-state-1): With 'back-and-forward, only call
4403         c-append-lower-brace-pair-to state-cache when cons-separated.
4405 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
4407         * term/ns-win.el (ns-suspend-error): New function.
4408         (ns-initialize-window-system): Add ns-suspend-error to
4409         suspend-hook (Bug#16612).
4411 2014-02-02  Daniel Colascione  <dancol@dancol.org>
4413         * progmodes/cc-defs.el (c-find-assignment-for-mode):
4414         Make loading cc-mode silent.
4416 2014-02-02  Daniel Colascione  <dancol@dancol.org>
4418         * comint.el (comint-prompt-read-only): Change doc to suggest
4419         remap keybinding.
4421 2014-02-02  Glenn Morris  <rgm@gnu.org>
4423         * register.el (register-read-with-preview, point-to-register)
4424         (window-configuration-to-register, frame-configuration-to-register)
4425         (jump-to-register, number-to-register, view-register, insert-register)
4426         (copy-to-register, append-to-register, prepend-to-register)
4427         (copy-rectangle-to-register): Doc fixes.
4429 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4431         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4432         * emacs-lisp/find-func.el (find-function-C-source): Idem.
4433         * emacs-lisp/nadvice.el (advice--cd*r): New function.
4434         * help-fns.el (describe-function-1): Use it.
4436 2014-02-02  Glenn Morris  <rgm@gnu.org>
4438         * register.el (register-preview-default): New function,
4439         split from register-preview.
4440         (register-preview-function): Rename from register-preview-functions,
4441         make it not a hook.
4442         (register-preview): Use register-preview-function.
4443         (register-read-with-preview): Error on non-character event.  (Bug#16595)
4445 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
4447         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4448         `:' before binary operators (bug#16609).  Don't check for `:'
4449         before `[' and `(', or their syntax status.  A percent literal
4450         can't end with either.
4451         (ruby-font-lock-keywords): For built-ins that require arguments,
4452         check that they're followed by something that looks like argument
4453         (bug#16610).
4455 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
4457         * subr.el (butlast): Document what an omitted N means (bug#13437).
4458         (nbutlast): Ditto.
4460 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
4462         * net/shr.el (shr-generic): Make into a defsubst to make the stack
4463         depth shallower (bug#16587).
4464         (shr-tag-svg): Respect `shr-inhibit-images'.
4465         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4467 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
4469         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4470         (ruby-smie-grammar): Make "." right-associative.  Make its priority
4471         lower than the ternary and all binary operators.
4472         (ruby-smie-rules): Indent "(" relative to the first non-"."
4473         parent, or the first "." parent at indentation.
4474         Use `ruby-align-chained-calls' for indentation of "." tokens.
4475         (Bug#16593)
4477 2014-01-31  Juri Linkov  <juri@jurta.org>
4479         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4480         from `make-hash-table'.
4482         * textmodes/ispell.el (ispell-init-process): Change message format
4483         to be consistent with other messages.
4485 2014-01-31  Glenn Morris  <rgm@gnu.org>
4487         * delsel.el (delete-selection-mode): Doc fix.
4489         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4490         (trace-function-background): Doc fixes.
4492         * ido.el (ido-use-virtual-buffers): Doc fix.
4493         Reset :version, since the default value has not changed.
4495         * register.el (register-preview-delay, register-read-with-preview):
4496         Doc fixes.
4498         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4499         do not mess with mail-buffer position (fixes 2009-11-03 change).
4500         * progmodes/cc-mode.el (c-submit-bug-report):
4501         Check auto-fill-mode is bound.  (Bug#16592)
4503 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
4505         * startup.el (fancy-splash-image-file): New function,
4506         split from fancy-splash-head.
4507         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4508         so that we are both using the same image.  (Bug#16574)
4510 2014-01-30  Glenn Morris  <rgm@gnu.org>
4512         * simple.el (eval-expression): Doc fix.
4514         * hexl.el (hexl-mode-hook):
4515         * ielm.el (ielm-mode-hook):
4516         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4517         (lisp-interaction-mode-hook):
4518         * progmodes/cfengine.el (cfengine3-documentation-function):
4519         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4521 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4523         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4524         is a symbol (bug#16584).
4526 2014-01-30  Glenn Morris  <rgm@gnu.org>
4528         * help.el (help-for-help-internal): Add "P" to text.
4530 2014-01-29  Glenn Morris  <rgm@gnu.org>
4532         * simple.el (just-one-space, cycle-spacing): Doc fixes.
4534 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
4536         * window.el (fit-frame-to-buffer): Fix calculations for margins and
4537         height constraints.
4539 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
4541         * progmodes/hideif.el: Extend to full CPP expression syntax.
4542         (hif-token-alist): Add missing tokens.
4543         (hif-token-regexp): Add support for float/octal/hex immediates.
4544         (hif-string-literal-regexp): New const.
4545         (hif-tokenize): Recognize strings and float/octal/hex immediates.
4546         (hif-exprlist): New function.
4547         (hif-parse-if-exp): Use it.
4548         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4549         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4550         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4551         (hif-logxor, hif-comma): New functions.
4553 2014-01-28  Glenn Morris  <rgm@gnu.org>
4555         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4557         * indent.el (tab-stop-list): Doc fix.  Add :version.
4559         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4560         (cvs-append-to-ignore): Add compatibility alias.
4562 2014-01-27  Glenn Morris  <rgm@gnu.org>
4564         * dired.el (dired-hide-details-mode): Don't autoload it,
4565         since it cannot be used outside Dired buffers anyway.
4567         * emulation/cua-base.el (cua-mode): Doc fix.
4569         * dired.el (dired-hide-details-hide-symlink-targets)
4570         (dired-hide-details-hide-information-lines)
4571         (dired-hide-details-mode): Doc fixes.
4573         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4574         * strokes.el (strokes-file): Doc fix.  Bump :version.
4575         (strokes-help): Doc fix.
4576         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4577         * emulation/viper.el (viper): Doc fix for custom group.
4578         (top-level): Remove oh-so-no-longer-relevant text about vip.
4579         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4581         * ido.el (ido-save-directory-list-file):
4582         * saveplace.el (save-place-file):
4583         * calendar/timeclock.el (timeclock-file):
4584         * net/quickurl.el (quickurl-url-file):
4585         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4586         * progmodes/idlwave.el (idlwave-config-directory):
4587         * textmodes/remember.el (remember-data-file):
4588         Bump :version.
4590 2014-01-26  Glenn Morris  <rgm@gnu.org>
4592         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4593         Doc fix.  Make obsolete.
4594         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4596         * sort.el (delete-duplicate-lines): Doc fix.
4598 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4600         * progmodes/ada-mode.el (ada):
4601         * woman.el (woman): Link to info manual and Commentary section.
4603         * progmodes/flymake.el (flymake):
4604         * nxml/nxml-mode.el (nxml):
4605         * net/eww.el (eww):
4606         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4607         * htmlfontify.el (htmlfontify):
4608         * ses.el (ses):
4609         * epa.el (epa):
4610         * ido.el (ido): Link to info manual.
4612 2014-01-25  Leo Liu  <sdl.web@gmail.com>
4614         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4616 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
4618         * net/shr.el (shr-tag-img): Prefer the title over the alt text
4619         (bug#16537).
4621 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
4623         * net/eww.el (eww-download-callback):
4624         Fix reference to eww-download-directory.
4626         * emacs-lisp/bytecomp.el (byte-compile-file):
4627         Remove unused local variable `file-name'.
4629 2014-01-24  Glenn Morris  <rgm@gnu.org>
4631         * woman.el (woman-default-faces, woman-monochrome-faces):
4632         Fix obsolescence specification.
4634         * subr.el (with-demoted-errors): Doc fix.
4636 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4638         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4639         (cl--macroexp-fboundp): New function.
4640         (cl--make-type-test): Use it.
4642 2014-01-23  Glenn Morris  <rgm@gnu.org>
4644         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4645         * simple.el (eval-expression): Doc fixes.
4647 2014-01-22  Glenn Morris  <rgm@gnu.org>
4649         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4651 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4653         * emacs-lisp/package.el: Write files silently.
4654         (package-autoload-ensure-default-file, package--write-file-no-coding)
4655         (package-generate-description-file, package--download-one-archive)
4656         (package-install-from-archive): Tell `write-region' to stay quiet.
4657         (package-menu-mode, package-menu--print-info): Omit the Archive column
4658         if there's only one archive.
4659         (package-all-keywords, package--has-keyword-p): Remove dead code.
4661 2014-01-22  Glenn Morris  <rgm@gnu.org>
4663         * version.el (emacs-bzr-version-bzr): Fix typo.
4665         * version.el (emacs-repository-get-version):
4666         Check either .bzr or .git, but not both.
4667         Make the git case actually use the DIR argument, and return nil
4668         rather than the empty string.
4669         Avoid error if .git exists but the git executable is not found.
4671 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
4673         Fixes in window size functions around Bug#16430 and Bug#16470.
4674         * window.el (window-total-size, window-size): New argument ROUND.
4675         (window--min-delta-1, window-min-delta, window--max-delta-1):
4676         Be more conservative when calculating the numbers of lines or
4677         columns a window can shrink (Bug#16430).
4678         (fit-window-to-buffer): Simplify code.
4679         * term.el (term-window-width): Call window-body-width again.
4681 2014-01-22  Glenn Morris  <rgm@gnu.org>
4683         * image.el (image-format-suffixes): Doc fix.
4685         * international/quail.el (quail-define-package): Doc fix.
4687         * emacs-lisp/authors.el (authors-valid-file-names)
4688         (authors-renamed-files-alist): Additions.
4690         * vc/vc-git.el (vc-git-print-log): Remove --follow;
4691         reverts 2014-01-09 change.  (Bug#16422)
4693         * calc/calc-embed.el (thing-at-point-looking-at):
4694         * emacs-lisp/map-ynp.el (x-popup-dialog):
4695         * obsolete/lmenu.el (x-popup-dialog):
4696         * emacs-lisp/package.el (url-recreate-url):
4697         * mail/mailclient.el (clipboard-kill-ring-save):
4698         * subr.el (x-popup-dialog): Update declaration.
4699         * mail/rmail.el (rmail-mime-message-p):
4700         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4702 2014-01-21  Daniel Colascione  <dancol@dancol.org>
4704         * progmodes/sh-script.el (sh--inside-noncommand-expression):
4705         Correctly detect when we're inside an arithmetic expansion form
4706         containing nested parenthesis.
4707         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4708         to detect cases where we shouldn't expand "<<" to a heredoc
4709         skeleton.
4711 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4713         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4714         (eldoc--message-command-p): New function.
4715         (eldoc-display-message-p): Use it.
4716         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4717         message is not automatically erased for us.
4718         (eldoc-print-current-symbol-info): Erase previous message, if any.
4720 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
4722         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4723         specify it's an interactive function.
4725         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4726         Fix regex used for scanning for citation keys which failed for
4727         citations with optional arguments.
4729 2014-01-21  Leo Liu  <sdl.web@gmail.com>
4731         * simple.el (read--expression): Don't enable eldoc-mode.
4733 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4735         * simple.el (move-beginning-of-line): Make sure we don't move forward
4736         (bug#16497).
4738 2014-01-20  Juri Linkov  <juri@jurta.org>
4740         * saveplace.el (toggle-save-place, save-place-to-alist)
4741         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4742         'dired-mode) before checking for dired-directory.  (Bug#16477)
4744 2014-01-20  Juri Linkov  <juri@jurta.org>
4746         * indent.el (indent-line-to): Use backward-to-indentation
4747         instead of back-to-indentation.  (Bug#16461)
4749 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
4751         Revert some of the CANNOT_DUMP fix (Bug#16494).
4752         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4753         but fixing this can wait until after the next release.
4754         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4756 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
4758         * eshell/esh-mode.el (eshell-password-prompt-regexp):
4759         Use `password-word-equivalents'.
4760         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4761         to t.  (Bug#5664, Bug#13124)
4763 2014-01-19  Alan Mackenzie  <acm@muc.de>
4765         Bind open-paren-in-column-0-is-defun-start to nil at some entry
4766         points.
4767         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4768         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4769         * progmodes/cc-mode.el (c-before-change, c-after-change)
4770         (c-font-lock-fontify-region): Bind it here.
4772 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
4774         * term.el (term-window-width): Call window-text-width instead of
4775         window-width (Bug#16470).
4777 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
4779         * simple.el (password-word-equivalents): Remove duplicates.
4780         Sort, to make this easier next time.
4781         Downcase.  Omit ": " after "jelszó".
4783 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
4785         * term/common-win.el (saved-region-selection): Defvar it.
4786         (x-select-text): Set saved-region-selection (Bug#16382).
4788 2014-01-18  Glenn Morris  <rgm@gnu.org>
4790         * emacs-lisp/authors.el (authors-aliases)
4791         (authors-renamed-files-alist): Add some entries.
4793 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
4795         * net/tramp.el (tramp-password-prompt-regexp):
4796         Use `password-word-equivalents' if available.
4797         (tramp-action-password, tramp-process-one-action)
4798         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
4800 2014-01-17  Chong Yidong  <cyd@gnu.org>
4802         * simple.el (password-word-equivalents): New defcustom.
4803         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
4804         to 24.4.
4805         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4806         to t.  (Bug#13124)
4808 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
4810         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4811         (ruby-align-to-stmt-keywords): Change the default value.
4812         Use `ruby-alignable-keywords' to generate the possible customization
4813         choices.
4814         (ruby-smie-rules): Instead of using a hardcoded list of alignable
4815         keywords, check against the value of `ruby-alignable-keywords'
4816         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4818 2014-01-17  Glenn Morris  <rgm@gnu.org>
4820         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4822         Make M-x authors return zero *Authors Errors* from current logs.
4823         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4824         (authors-ignored-files): Add some entries, remove others.
4825         (authors-ambiguous-files, authors-valid-file-names):
4826         Add some entries.
4827         (authors-renamed-files-alist): Add, remove, and adjust entries.
4828         (authors-renamed-files-regexps): Add some entries.
4829         Remove some very broad ones.  Make some entries `lax'.
4830         (authors-lax-changelogs): New constant.
4831         (authors-disambiguate-file-name): Treat top-level specially.
4832         (authors-lax-changelog-p): New function.
4833         (authors-canonical-file-name): Check file as written against
4834         authors-valid-file-names.  Do not special-case etc/.
4835         Handle `lax' logs and authors-renamed-files-regexps elements.
4837 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
4839         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4840         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
4841         callers.
4843 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4845         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4846         Assume we're already in the proper buffer.
4847         Inspired by Anders Lindgren <andlind@gmail.com>.
4848         (follow-post-command-hook): Call it from the right buffer.
4849         (follow-comint-scroll-to-bottom): Adjust call.
4850         (follow-all-followers): Use get-buffer-window-list.
4852 2014-01-15  Daniel Colascione  <dancol@dancol.org>
4854         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4855         `buffer-file-name' in interactive-form so that we don't leave
4856         pathless file names in `file-name-history'.
4858 2014-01-15  Juri Linkov  <juri@jurta.org>
4860         * indent.el (indent-rigidly): Set deactivate-mark to nil
4861         in transient indentation mode.  (Bug#16438)
4863 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
4865         * emacs-lisp/package.el (package-desc-keywords): New function
4866         (Bug#16222).
4867         (describe-package-1, package-all-keywords)
4868         (package--has-keyword-p): Use it.
4870 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4872         * simple.el (define-alternatives): When creating the
4873         COMMAND-alternatives variable, assign COMMAND as its definition
4874         name so that `describe-variable' can relocate it.
4876 2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)
4878         * font-lock.el (font-lock-keywords): Fix typo in docstring
4879         (bug#16307).
4881 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4883         * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4884         line instead of wrongly reset `add-coment' (bug#13577).
4886 2014-01-14  Daiki Ueno  <ueno@gnu.org>
4888         * epa-file.el (epa-file-write-region): Encode the region according
4889         to `buffer-file-format'.  Problem reported at:
4890         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4892 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4894         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4895         so it applies in the right buffer (bug#16410).
4897 2014-01-13  Daniel Colascione  <dancol@dancol.org>
4899         * textmodes/rst.el (rst-define-key): Provide deprecated
4900         keybindings through named functions instead of anonymous ones so
4901         that "??" doesn't appear in describe-mode output.
4903 2014-01-13  Bastien Guerry  <bzg@gnu.org>
4905         * simple.el (define-alternatives): Call the selected command
4906         interactively.  When setting `COMMAND--implementation' for the
4907         first time, tell the user how to chose another implementation.
4908         Enhance the docstring.
4910 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4912         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4913         (log-edit--match-first-line): New function.
4914         (log-edit-font-lock-keywords): Use it.
4915         (log-edit-mode): Make jit-lock-defer-multiline work.
4917 2014-01-13  Bastien Guerry  <bzg@gnu.org>
4919         * rect.el (rectangle-mark-mode): When the region is not active,
4920         display a message saying that the mark as been set and that
4921         rectangle mode is in use.
4922         (rectangle--highlight-for-redisplay): Only put an overlay with a
4923         visible vertical bar when (display-graphic-p) is non-nil.
4924         This partially fixes Bug#16403.
4926 2014-01-13  Juri Linkov  <juri@jurta.org>
4928         * info.el (Info-find-file): Go to DIR before displaying the error
4929         about a nonexistent file if no previous Info file is visited.
4930         Use `user-error' instead of `error' for "Info file %s does not exist".
4931         (Info-find-node-2): In case of a nonexistent node in unwind forms
4932         go to the Top node if there is no previous node to revert to.
4933         (Bug#16405)
4935 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
4937         fit-frame/window-to-buffer code fixes including one for Bug#14096.
4938         * window.el (fit-frame-to-buffer): Fix doc-string.
4939         Respect window-min-height/-width.  Fit pixelwise when
4940         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
4941         when avoiding that frame goes partially off-screen.
4942         (fit-window-to-buffer): Respect window-min-height/-width
4943         (Bug#14096).
4945 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4947         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4948         after an empty line.
4950 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4952         * net/shr.el (shr-render-region): Autoload.
4954 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
4956         * net/eww.el (eww-download-directory): Rename from
4957         `eww-download-path' (Bug#16419).
4959 2014-01-12  Leo Liu  <sdl.web@gmail.com>
4961         * dired-x.el (dired-mode-map): Fix last change.
4963         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4965 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
4967         Spelling fixes.
4968         * emacs-lisp/generic.el (generic--normalize-comments):
4969         Rename from generic--normalise-comments.  All uses changed.
4970         * play/bubbles.el (bubbles--neighborhood-score)
4971         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4972         (bubbles--neighborhood-available)
4973         (bubbles--update-neighborhood-score):
4974         Rename from names with 'neighbourhood'.  All uses changed.
4976 2014-01-12  Leo Liu  <sdl.web@gmail.com>
4978         Re-implement the feature of showing eldoc info after editing.
4979         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4980         (eldoc-edit-message-commands): New function.
4981         (eldoc-print-after-edit): New variable.
4982         (eldoc-pre-command-refresh-echo-area): Emit message only by
4983         eldoc-message-commands.
4984         (eldoc-mode): Restrict eldoc-message-commands to editing commands
4985         if eldoc-print-after-edit is set.  (Bug#16346)
4986         * simple.el (read--expression): Enable eldoc-mode.
4987         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4989 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
4990             Eric S. Raymond  <esr@thyrsus.com>
4992         * version.el (emacs-repository-get-version): Enhance so the
4993         function works correctly in either a Bazaar or Git repo.
4995 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
4997         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4998         Goes with removal of the joke manpages from /etc.
5000 2014-01-10  Kenichi Handa  <handa@gnu.org>
5002         * mail/rmail.el (rmail-get-coding-system):
5003         Check rmail-get-coding-function before "funcall"ing it.
5005 2014-01-10  Glenn Morris  <rgm@gnu.org>
5007         * emacs-lisp/authors.el (authors-fixed-entries):
5008         Update for files that no longer exist.
5010 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
5012         * version.el (emacs-bzr-get-version): Restore compatibilty with
5013         24.3 (Tested).
5015 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
5017         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
5018         and Podfile.
5020 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
5022         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
5024 2014-01-10  Chong Yidong  <cyd@gnu.org>
5026         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
5028 2014-01-10  Anders Lindgren  <andlind@gmail.com>
5030         * follow.el (follow-cache-command-list): Include right-char and
5031         left-char.
5033 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
5035         Spelling fixes.
5036         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
5037         * woman.el (woman-mark-horizontal-position):
5038         Rename from woman-mark-horizonal-position.  Use changed.
5040 2014-01-10  Glenn Morris  <rgm@gnu.org>
5042         * info.el (info-initialize): If running uninstalled, ensure our
5043         own info files are always found first, even if INFOPATH is set.
5045         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
5047 2014-01-09  David Engster  <deng@randomsample.de>
5049         * emacs-lisp/eieio-custom.el:
5050         * emacs-lisp/eieio-opt.el: Set generated autoload file to
5051         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
5052         * emacs-lisp/eieio.el: Regenerate autoloads.
5054 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
5056         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
5057         following renames.  (Bug#8756)
5059 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5061         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
5062         (bug#16382).
5063         (activate-mark): Add `no-tmm' argument.
5064         (set-mark, push-mark-command): Use it instead of running
5065         activate-mark-hook by hand.
5067 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
5069         In preparation for the move to git, sanitize out some
5070         Bazaar-specific names.
5072         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
5074         * version.el (emacs-bzr-version): Name changed to
5075         emacs-repository-version.  Obsolete-variable alias made.
5076         * loadup.el: Follow through on this name change.
5077         * mail/emacsbug.el (report-emacs-bug): Factor out any
5078         assumption about the version control system in use.
5080 2014-01-08  David Engster  <deng@randomsample.de>
5082         * help-fns.el (help-fns-describe-function-functions):
5083         New variable to call functions for augmenting help buffers.
5084         (describe-function-1): Remove explicit calls to
5085         `help-fns--compiler-macro', `help-fns--parent-mode' and
5086         `help-fns--obsolete'.  Put them in above new variable instead, and
5087         call them through `run-hook-with-args'.
5088         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
5089         `eieio-describe-class'.  Not meant for interactive use anymore,
5090         but to augment existing help buffers.  Remove optional second
5091         argument.  Create proper button for file location.
5092         Rewrite function to use `insert' instead of `princ' and `prin1' where
5093         possible.
5094         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
5095         (eieio-method-def, eieio-class-def): Move further up.
5096         (describe-method, describe-generic, eieio-describe-method):
5097         Remove aliases.
5098         (eieio-help-constructor, eieio-help-generic): Rename from
5099         `eieio-describe-constructor' and `eieio-describe-generic', resp.
5100         Rewrite to use `insert' in the current buffer and use proper help
5101         buttons.
5102         (eieio-help-find-method-definition)
5103         (eieio-help-find-class-definition): Also accept symbols as
5104         arguments.
5105         (eieio-help-mode-augmentation-maybee): Remove.
5106         (eieio-describe-class-sb): Use `describe-function'.
5107         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
5108         Add `eieio-help-generic' and `eieio-help-constructor'.
5110 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
5112         Spelling fixes.
5113         * language/china-util.el (hz-ascii-designation):
5114         Rename from hz-ascii-designnation.
5115         (hz-ascii-designation): Rename from hz-ascii-designnation.
5116         All uses changed.
5118 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5120         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
5121         package-alist.
5123 2014-01-08  Bastien Guerry  <bzg@gnu.org>
5125         * emacs-lisp/package.el (package-delete):
5126         Correctly delete the package from package-alist.
5128 2014-01-08  Daiki Ueno  <ueno@gnu.org>
5130         * emacs-lisp/package.el (url-recreate-url): Declare.
5131         (url-http-target-url): Declare.
5132         (package-handle-response): Include requested URL in the error message.
5133         (package--check-signature): Don't re-signal errors from
5134         package--with-work-buffer.  Suggested by Stefan Monnier.
5136 2014-01-07  Bastien Guerry  <bzg@gnu.org>
5138         * minibuffer.el (completion--try-word-completion): When both a
5139         hyphen and a space are possible candidates for the character
5140         following a word, display both candidates.  (Bug#15980)
5142 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
5144         * window.el (balance-windows-2): While rounding don't give a
5145         window more than the remainder.  Bug#16351, bug#16383.
5147 2014-01-07  Glenn Morris  <rgm@gnu.org>
5149         * menu-bar.el (menu-bar-help-extra-packages): Remove.
5150         (menu-bar-help-menu): Use view-external-packages instead.
5152 2014-01-07  Bastien Guerry  <bzg@gnu.org>
5154         * emacs-lisp/package.el (package-delete): Also delete the package
5155         name from `package-alist', not its description only.
5157 2014-01-07  Glenn Morris  <rgm@gnu.org>
5159         * help.el (view-external-packages):
5160         * menu-bar.el (menu-bar-help-extra-packages):
5161         Visit efaq.info rather than etc/MORE.STUFF.
5163 2014-01-07  Juri Linkov  <juri@jurta.org>
5165         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
5166         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
5168         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
5169         that shadows RET.  (Bug#16342)
5171 2014-01-07  Chong Yidong  <cyd@gnu.org>
5173         * isearch.el (isearch-yank-char, isearch-yank-word)
5174         (isearch-yank-line): Doc fix.
5176 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5178         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
5179         * emacs-lisp/elint.el (elint-find-builtins):
5180         * emacs-lisp/eldoc.el (eldoc-symbol-function):
5181         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
5182         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
5183         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5184         * apropos.el (apropos-safe-documentation):
5185         * subr.el (symbol-file): Remove redundant fboundp.
5186         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
5188 2014-01-06  Bastien Guerry  <bzg@gnu.org>
5190         * hl-line.el (global-hl-line-overlay): Make a local variable.
5191         (global-hl-line-overlays): New variable to store all overlays.
5192         (global-hl-line-mode): Don't delete overlays from the current
5193         buffer when `global-hl-line-sticky-flag' is non-nil.
5194         (global-hl-line-highlight): Add new overlays to
5195         `global-hl-line-overlays'.
5196         (global-hl-line-unhighlight-all): New function to delete all
5197         overlays when turning off `global-hl-line-mode'.
5198         This fixes Bug#16183.
5200 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5202         * subr.el (set-transient-map): Fix nested case and docstring.
5204 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
5206         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5207         `Texinfo' entry.
5209 2014-01-06  Daniel Colascione  <dancol@dancol.org>
5211         Fix defun navigation in vc log view.
5213         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5214         like `beginning-of-defun'.
5215         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5216         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
5217         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5218         (log-view-extract-comment): Call `log-view-current-entry' directly
5219         instead of relying on broken `log-view-beginning-of-defun' behavior.
5221 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
5223         Spelling fixes.
5224         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5225         * emacs-lisp/debug.el (cancel-debug-on-entry):
5226         * epg.el (epg-error-to-string):
5227         * files.el (recover-file):
5228         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5229         * mail/emacsbug.el (report-emacs-bug-hook):
5230         * mail/sendmail.el (mail-recover):
5231         * ses.el (ses-yank-resize):
5232         * term/ns-win.el (ns-print-buffer):
5233         Spelling fixes in diagnostics, mostly for "canceled" with one L.
5234         * epg.el (epg-key-capability-alist): Rename from misspelled version.
5235         All uses changed.
5236         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5238 2014-01-06  Leo Liu  <sdl.web@gmail.com>
5240         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5241         to avoid shadowing global key.  (Bug#16354)
5243 2014-01-06  Daniel Colascione  <dancol@dancol.org>
5245         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5246         rst-mode.
5248 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
5250         * window.el (balance-windows): Add mising t to fix Bug#16351.
5252 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5254         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5255         (bug#16285).
5256         (shr-insert): If we have a word that's longer than `shr-width',
5257         break after it anyway.  Otherwise we'll do no breaking once we get
5258         such a long word.
5260 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5262         * net/eww.el (eww): Support single/double quote for search.
5263         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5264         (eww-history-quit): Delete and use quit-window.
5265         (eww-history-kill): Delete, because it doesn't work well and
5266         not necessary.
5267         (eww-history-mode-map): Delete some keys and add easy-menu.
5269 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
5271         Fix misspelling of 'chinese' in rx (Bug#16237).
5272         * emacs-lisp/rx.el (rx-categories): Correct spelling of
5273         chinese-two-byte.
5275         Change subword regexps back to vars (Bug#16296).
5276         * progmodes/subword.el (subword-forward-regexp)
5277         (subword-backward-regexp): Change these back to variables.
5279 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5281         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5282         syntax-begin-function (bug#16247).
5284 2014-01-03  Chong Yidong  <cyd@gnu.org>
5286         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5287         (advice--docstring): Delete variable.
5288         (advice--make-1): Leave the docstring empty.
5289         (advice-add): Use function-documentation for advised docstring.
5291         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5292         Ignore function-documentation property when getting documentation.
5293         (ad-activate-advised-definition): Use function-documentation
5294         generate the docstring.
5295         (ad-make-advised-definition): Don't call
5296         ad-make-advised-definition-docstring.
5297         (ad-make-advised-definition-docstring, ad-advised-definition-p):
5298         Delete functions.
5300         * progmodes/sql.el (sql-help): Use function-documentation instead
5301         of dynamic-docstring-function property.  No need to autoload now.
5302         (sql--help-docstring): New variable.
5303         (sql--make-help-docstring): Use it.
5305 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5307         * ielm.el (ielm-tab): Retarget.
5308         (ielm-map): Use ielm-tab for tab.
5309         (ielm-complete-filename): Use comint-filename-completion.
5310         (ielm-complete-symbol): Remove.
5311         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5312         remove ielm-tab from completion-at-point-functions (bug#16224).
5314         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5315         Beware signals raised by predicates (bug#16201).
5317 2014-01-02  Richard Stallman  <rms@gnu.org>
5319         * dired-aux.el (dired-do-print): Handle printer-name.
5321         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5322         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5323         (rmail-epa-decrypt): Turn off mime processing.
5325         * mail/rmail.el (rmail-make-in-reply-to-field):
5326         Add parens in message-id.
5328         * mail/rmail.el (rmail-get-coding-function): Variable.
5329         (rmail-get-coding-system): Use it.
5331 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
5333         * international/mule-conf.el: Unify the charset indian-is13194.
5334         (indian-is13194): Specify unify-map.
5336 2013-12-31  Leo Liu  <sdl.web@gmail.com>
5338         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
5340 2013-12-30  Daniel Colascione  <dancol@dancol.org>
5342         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5343         of printing a useless when we resume from sleep.
5345         * progmodes/sh-script.el
5346         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5347         in indentation code.  (Bug#16233)
5349 2013-12-28  João Távora  <joaotavora@gmail.com>
5351         * elec-pair.el (electric-pair-post-self-insert-function):
5352         Don't open extra newlines at beginning of buffer.  (Bug#16272)
5354 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
5356         * frame.el (window-system-for-display): Don't allow to create a
5357         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
5359 2013-12-28  Glenn Morris  <rgm@gnu.org>
5361         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5362         Update callers.
5364         * apropos.el (apropos-match-face):
5365         * calculator.el (calculator-displayer):
5366         * dabbrev.el (dabbrev-search-these-buffers-only):
5367         * face-remap.el (buffer-face-mode-face):
5368         * simple.el (yank-handled-properties):
5369         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5370         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5371         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5372         (hashcash-double-spend-database):
5373         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5374         (ruby-deep-indent-paren-style):
5375         * textmodes/flyspell.el (flyspell-auto-correct-binding):
5376         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5377         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5378         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5379         Specify custom types.
5381         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5382         * bookmark.el (bookmark-bmenu-use-header-line):
5383         * doc-view.el (doc-view-scale-internally):
5384         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5385         * register.el (register-preview-delay):
5386         * net/shr.el (shr-bullet):
5387         * progmodes/cfengine.el (cfengine-cf-promises)
5388         (cfengine-parameters-indent):
5389         * progmodes/octave.el (inferior-octave-error-regexp-alist):
5390         * textmodes/reftex-vars.el (reftex-label-regexps):
5391         * vc/log-edit.el (log-edit-setup-add-author): Add version.
5393         * net/tls.el (tls-certtool-program): Fix default value.
5395         * desktop.el (desktop-restore-in-current-display):
5396         * newcomment.el (comment-empty-lines):
5397         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5398         (idlwave-pad-keyword):
5399         * progmodes/tcl.el (tcl-tab-always-indent):
5400         * textmodes/reftex-vars.el (reftex-index-default-tag):
5401         * elec-pair.el (electric-pair-skip-whitespace):
5402         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5404         * emacs-lisp/authors.el (authors-ignored-files)
5405         (authors-valid-file-names, authors-renamed-files-alist): Additions.
5407 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
5409         * shell.el (shell-dynamic-complete-command): Doc fix.
5410         (shell--command-completion-data): Shell completion now matches
5411         executable filenames from the current buffer's directory, on
5412         systems in which this behavior is the default (windows-nt, ms-dos).
5414 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
5416         * net/shr.el (shr-insert): Don't infloop if the width is zero.
5418 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5420         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5421         (bug#16251).
5423         * electric.el: Move all electric-pair-* to elec-pair.el.
5424         * elec-pair.el: New file, split from electric.el.
5426 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
5428         * net/shr.el (shr-find-fill-point): Don't try to fill if the
5429         indentation level is larger than the width, because that will
5430         infloop.
5431         (shr-insert): Fill repeatedly long texts, so that Japanese is
5432         formatted correctly (bug#16263).
5433         (shr-find-fill-point): Off by one error in comparison with the
5434         indentation.
5436 2013-12-26  João Távora  <joaotavora@gmail.com>
5438         * electric.el (electric-pair-mode): More flexible engine for skip-
5439         and inhibit predicates, new options for pairing-related functionality.
5440         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5441         if that keeps or improves their balance in buffers.
5442         (electric-pair-delete-adjacent-pairs): Delete the pair when
5443         backspacing over adjacent matched delimiters.
5444         (electric-pair-open-extra-newline): Open extra newline when
5445         inserting newlines between adjacent matched delimiters.
5446         (electric--sort-post-self-insertion-hook):
5447         Sort post-self-insert-hook according to priority values when
5448         minor-modes are activated.
5449         * simple.el (newline-and-indent): Call newline with interactive
5450         set to t.
5451         (blink-paren-post-self-insert-function): Set priority to 100.
5452         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5453         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5454         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
5455         electric-pair-open-newline-between-pairs to nil.
5457 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5459         * progmodes/python.el: Use lexical-binding.
5460         (python-nav-beginning-of-defun): Stop searching ASAP.
5462 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
5464         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5465         Fix interactive spec.  Doc fix.  (Bug#15754)
5467 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
5469         * emacs-lisp/byte-run.el (eval-when-compile):
5470         * progmodes/cc-defs.el (cc-eval-when-compile):
5471         Fix edebug spec (bug#16184).
5473 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
5475         * net/shr.el (shr-visit-file): Remove debugging function.
5476         (shr-insert): Don't infloop if we can't find a good place to break
5477         the line (bug#16256).
5479 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5481         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5482         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
5483         python-nav-lisp-forward-sexp-safe.
5484         (python-nav--forward-sexp): New argument SAFE allows switching
5485         forward sexp movement behavior for parens.
5486         (python-nav-forward-sexp): Throw errors on unterminated parens
5487         (Bug#16191).
5488         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5489         (python-nav-backward-sexp-safe): New functions.
5490         (python-shell-buffer-substring):
5491         Use `python-nav-forward-sexp-safe'.
5493 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
5495         * net/shr.el (shr-find-fill-point): Don't break lines before a
5496         quotation mark.
5497         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5498         (shr-find-fill-point): Remove the special checks for the quotation
5499         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5501 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5503         * net/eww.el (eww-form-textarea): Use a different face for
5504         textareas than text input since they have different keymaps
5505         (bug#16142).
5507 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5509         * progmodes/python.el (python-nav-beginning-of-statement):
5510         Speed up (Bug#15295).
5512 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
5514         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5515         the window configuration.
5517 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
5519         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5520         we run on MS-Windows or MS-DOS.
5522 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
5524         * window.el (balance-windows-area): Call window-size instead of
5525         window-height and window-width.  Bug#16241.
5527 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
5529         * net/eww.el (eww-bookmark-quit): Remove.
5530         (eww-bookmark-browse): Restore the window configuration when you
5531         choose a bookmark (bug#16144).
5533 2013-12-24  Daniel Colascione  <dancol@dancol.org>
5535         * icomplete.el: Remove redundant :group arguments to `defcustom'
5536         throughout.
5537         (icomplete-show-matches-on-no-input): New customizable variable.
5538         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5539         we have something to show.
5540         (icomplete-exhibit): Compute completions even if we have no user input.
5542 2013-12-23  Daniel Colascione  <dancol@dancol.org>
5544         * icomplete.el: Move `provide' to end of file.
5546 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
5548         * net/gnutls.el (gnutls-verify-error): Add version tag.
5550 2013-12-23  Chong Yidong  <cyd@gnu.org>
5552         * subr.el (set-transient-map): Rename from
5553         set-temporary-overlay-map.  Doc fix.
5555         * face-remap.el (text-scale-adjust):
5556         * indent.el (indent-rigidly):
5557         * kmacro.el (kmacro-call-macro):
5558         * minibuffer.el (minibuffer-force-complete):
5559         * repeat.el (repeat):
5560         * simple.el (universal-argument--mode):
5561         * calendar/todo-mode.el (todo-insert-item--next-param):
5562         * progmodes/f90.el (f90-abbrev-start): Callers changed.
5564         * indent.el (indent-rigidly): Use substitute-command-keys.
5566 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5568         * net/eww.el (eww-tag-select): Add text-property to jump to next
5569         select field.
5570         (eww): Add non-supported ftp error.
5572 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
5574         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5575         comments.  Handle electric indent after typing `?' and `!'.
5577 2013-12-22  Chong Yidong  <cyd@gnu.org>
5579         * faces.el (face-spec-recalc): If the theme specs are not
5580         applicable to a frame, fall back on the defface spec.
5581         This prevents themes from obliterating faces on low-color terminals.
5583 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
5585         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5586         after `{'.  We need it after block openers, and it doesn't seem
5587         to hurt after hash openers.
5589 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
5591         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5592         extracted from `ruby-smie-rules'.
5593         (ruby--electric-indent-chars): New variable.
5594         (ruby--electric-indent-p): New function.
5595         (ruby-mode): Use `electric-indent-functions' instead of
5596         `electric-indent-chars'.
5598 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
5600         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5601         docstring.
5602         (ruby-smie-rules): Indent plus one level after `=>'.
5604 2013-12-21  Richard Stallman  <rms@gnu.org>
5606         * simple.el (newline): Doc fix.
5608 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5610         * net/eww.el (eww-list-histories, eww-list-histories)
5611         (eww-history-browse, eww-history-quit, eww-history-kill)
5612         (eww-history-mode-map, eww-history-mode): New command and
5613         functions to list browser histories.
5614         (eww-form-text): Support text form with disabled
5615         and readonly attributes.
5616         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5618 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5620         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5621         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5622         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5623         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5624         Use `user-error'.
5625         (eww-bookmark-mode-map): Add menu.
5626         (eww-render, eww-mode): Use `setq-local'.
5627         (eww-tool-bar-map): New variable.
5628         (eww-mode): Set `tool-bar-map'.
5629         (eww-view-source): Check for `html-mode' with `fboundp'.
5631 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5633         * net/shr.el (shr--extract-best-source): Don't bug out on audio
5634         elements with text inside.  Also remove debugging.
5636 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
5638         * cus-start.el (all): Add ns-use-srgb-colorspace.
5640 2013-12-21  Chong Yidong  <cyd@gnu.org>
5642         * custom.el (custom-theme-recalc-face): Do nothing if the face is
5643         undefined.  Thus, theme settings for undefined faces do not take
5644         effect until the faces are defined with defface, the same as with
5645         theme variables.
5647         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5648         (face-spec-reset-face): Don't assign extra properties in temacs.
5649         (face-spec-recalc): Apply X resources too.
5651 2013-12-21  Chong Yidong  <cyd@gnu.org>
5653         * faces.el (face-spec-set):
5654         * cus-face.el (custom-theme-set-faces, custom-set-faces):
5655         * custom.el (defface): Doc fixes (Bug#16203).
5657         * indent.el (indent-rigidly-map): Add docstring, and move commands
5658         into named functions.
5659         (indent-rigidly-left, indent-rigidly-right)
5660         (indent-rigidly-left-to-tab-stop)
5661         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
5662         indentation direction based on bidi direction, and accumulate
5663         sequential commands in a single undo boundary.
5664         (indent-rigidly--pop-undo): New utility function.
5666 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
5668         * faces.el (read-face-name): Require crm.el when using crm-separator.
5670 2013-12-20  Daniel Colascione  <dancol@dancol.org>
5672         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5673         so that we don't reflow comments into the shebang line.
5675 2013-12-20  Juri Linkov  <juri@jurta.org>
5677         * saveplace.el (save-place-to-alist): Add `dired-filename' as
5678         a position when `dired-directory' is non-nil.  Check integer
5679         positions with `integerp'.
5680         (toggle-save-place, save-places-to-alist): Add check for
5681         `dired-directory'.
5682         (save-place-find-file-hook): Check integer positions with
5683         `integerp'.
5684         (save-place-dired-hook): Use `dired-goto-file' when
5685         `dired-filename' is found in the assoc list.  Check integer
5686         positions with `integerp'.
5687         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5689         * dired.el (dired-initial-position-hook): Rename back from
5690         `dired-initial-point-hook'.
5691         (dired-initial-position): Rename `dired-initial-point-hook' to
5692         `dired-initial-position-hook'.
5693         (dired-file-name-at-point): Doc fix.  (Bug#15329)
5695 2013-12-20  Juri Linkov  <juri@jurta.org>
5697         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5698         (read-regexp-suggestions): New function.
5699         (read-regexp): Use `read-regexp-defaults-function' to get default values.
5700         Use `read-regexp-suggestions'.  Add non-empty default to history
5701         for empty input.
5702         (occur-read-regexp-defaults-function): Remove function.
5703         (occur-read-primary-args): Use `regexp-history-last' instead of
5704         `occur-read-regexp-defaults-function'.
5706         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5707         (hi-lock-line-face-buffer, hi-lock-face-buffer)
5708         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5709         `hi-lock-read-regexp-defaults-function'.  Doc fix.
5710         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5711         with `find-tag-default-as-symbol-regexp'.  Doc fix.
5712         (hi-lock-read-regexp-defaults): Remove function.
5713         (hi-lock-regexp-okay): Add check for null.
5715         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5716         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
5718         * subr.el (find-tag-default-as-symbol-regexp): New function.
5719         (find-tag-default-as-regexp): Move symbol regexp formatting to
5720         `find-tag-default-as-symbol-regexp'.
5722 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
5724         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5725         (Bug#14179)
5727 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
5729         * calendar/todo-mode.el: New implementation of item insertion
5730         commands and key bindings.
5731         (todo-key-prompt): New face.
5732         (todo-insert-item): New command.
5733         (todo-insert-item--parameters): New defconst, replacing defvar
5734         todo-insertion-commands-args-genlist.
5735         (todo-insert-item--param-key-alist): New defconst, replacing
5736         defvar todo-insertion-commands-arg-key-list.
5737         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5738         (todo-insert-item--argsleft, todo-insert-item--apply-args)
5739         (todo-insert-item--next-param): New functions.
5740         (todo-insert-item--args, todo-insert-item--argleft)
5741         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5742         New variables.
5743         (todo-key-bindings-t): Change binding of "i" from
5744         todo-insertion-map to todo-insert-item.
5745         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5746         (todo-insertion-command-name, todo-insertion-commands-names)
5747         (todo-define-insertion-command, todo-insertion-commands)
5748         (todo-insertion-key-bindings, todo-insertion-map): Remove.
5750 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
5752         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5753         (todo-toggle-item-highlighting): Use eval-and-compile instead of
5754         eval-when-compile.
5755         (todo-move-category): Allow choosing a non-existing todo file to
5756         move the category to, and create that file.
5757         (todo-default-priority): New user option.
5758         (todo-set-item-priority): Use it.
5759         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5760         (desktop-restore-file-buffer): Declare.
5761         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5762         (todo-modes-set-2): Locally set desktop-save-buffer to
5763         todo-desktop-save-buffer.
5764         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5765         (auto-mode-alist): Add autoload cookie.
5767 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
5769         * emacs-lisp/subr-x.el: Renamed from helpers.el.
5770         helpers.el was a poor choice of name.
5771         (string-remove-prefix): New function.
5772         (string-remove-suffix): New function.
5774 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
5776         Fix assignment for new window total sizes.
5777         * window.el (window--pixel-to-size): Remove function.
5778         (window--pixel-to-total-1, window--pixel-to-total):
5779         Fix calculation of new total sizes.
5781 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
5783         * comint.el (comint-output-filter): Fix rear-nonsticky property
5784         placement (Bug#16010).
5786 2013-12-20  Chong Yidong  <cyd@gnu.org>
5788         * faces.el (read-color): Minor fix for completion function.
5790 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
5792         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5793         New option.  (Bug#16182)
5794         (ruby-smie--indent-to-stmt-p): Use it.
5795         (ruby-smie-rules): Revert the logic in the handling of `when'.
5796         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5797         (ruby-deep-arglist, ruby-deep-indent-paren)
5798         (ruby-deep-indent-paren-style): Update docstrings to note that the
5799         vars don't have any effect with SMIE.
5801 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
5803         * calc/calc.el (calc-enter, calc-pop): Use the variable
5804         `calc-context-sensitive-enter'.
5806 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5808         * net/shr.el (shr-insert): Protect against infloops in degenerate
5809         tables.
5811 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5813         * progmodes/octave.el (octave): Add link to manual and octave
5814         homepage.
5815         (octave-mode-menu): Link to octave-mode manual.
5817 2013-12-20  Leo Liu  <sdl.web@gmail.com>
5819         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5820         insertion using skeleton-end-newline.  (Bug#16138)
5822 2013-12-20  Juri Linkov  <juri@jurta.org>
5824         * replace.el (occur-engine): Use `add-face-text-property'
5825         to add the face property to matches and titles.  (Bug#14645)
5827         * hi-lock.el (hi-green): Use lighter color "light green" closer to
5828         the palette of other hi-lock colors.
5829         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5831 2013-12-19  Juri Linkov  <juri@jurta.org>
5833         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5834         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
5835         (minibuffer-history-symbol): Move variable declaration closer to
5836         its usage.
5838         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5839         (Bug#14785)
5841 2013-12-19  Juri Linkov  <juri@jurta.org>
5843         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5844         New function.
5845         (log-edit-hook): Add it to :options.  (Bug#16170)
5847 2013-12-19  Juri Linkov  <juri@jurta.org>
5849         * simple.el (eval-expression-print-format): Don't check for
5850         command names and the last command.  Always display additional
5851         formats of the integer result in the echo area, and insert them
5852         to the current buffer only with a zero prefix arg.
5853         Display character when char-displayable-p is non-nil.
5854         (eval-expression): With a zero prefix arg, set `print-length' and
5855         `print-level' to nil, and insert the integer values from
5856         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
5858         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5859         `eval-last-sexp-arg-internal'.  Doc fix.
5860         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5861         `eval-last-sexp-print-value'.  Doc fix.
5862         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5863         Set `print-length' and `print-level' to nil when arg is zero.
5864         (eval-last-sexp): Doc fix.
5865         (eval-defun-2): Print the integer values from
5866         `eval-expression-print-format' at the end.
5868         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5869         values from `eval-expression-print-format' at the end.
5871         * ielm.el (ielm-eval-input): Print the integer
5872         values from `eval-expression-print-format' at the end.
5874 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
5876         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5877         2013-12-11T19:01:44Z!tzz@lifelogs.com.
5879 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5881         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
5882         (hl-line-highlight, global-hl-line-highlight): Use it.
5883         (hl-line-overlay): Use defvar-local.
5885 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
5887         * term/ns-win.el: Require dnd.
5888         (global-map): Remove drag items.
5889         (ns-insert-text, ns-set-foreground-at-mouse)
5890         (ns-set-background-at-mouse):
5891         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5892         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5893         New functions.
5895 2013-12-19  Glenn Morris  <rgm@gnu.org>
5897         * emacs-lisp/ert.el (ert-select-tests):
5898         Fix string/symbol mixup.  (Bug#16121)
5900 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
5902         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5903         keywords to their parent.
5905 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
5907         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5908         first arg to be a string (fixed dead code), or an operator symbol.
5909         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5910         operator symbols.
5911         (ruby-smie-rules): Remove parent token check in the `.' clause, it
5912         did nothing.  Don't respond to `(:after ".")', it will be called
5913         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
5914         change anything.  Only return indentation for binary operators
5915         when they are hanging.  De-dent opening paren when its parent is
5916         `.', otherwise it looks bad when the dot is not at bol or eol
5917         (bug#16182).
5919 2013-12-19  Juri Linkov  <juri@jurta.org>
5921         * replace.el (query-replace-read-args): Split a non-negative arg
5922         and a negative arg into separate elements.
5923         (query-replace, query-replace-regexp, replace-string)
5924         (replace-regexp): Add arg `backward'.  Doc fix.
5925         (replace-match-maybe-edit): When new arg `backward' is non-nil,
5926         move point to the beginning of the match.
5927         (replace-search, replace-highlight): Use new arg `backward'
5928         to set the value of `isearch-forward'.
5929         (perform-replace): Add arg `backward' and use it to perform
5930         replacement backward.  (Bug#14979)
5932         * isearch.el (isearch-query-replace): Use a negative prefix arg
5933         to call `perform-replace' with a non-nil arg `backward'.
5935 2013-12-18  Juri Linkov  <juri@jurta.org>
5937         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5938         to the default list.  Move `log-edit-show-files' to the end.
5939         Add more available functions to options.
5940         (log-edit): Move default specific settings to
5941         `log-edit-insert-message-template'.  Don't move point.
5942         (log-edit-insert-message-template): New function.
5943         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5944         (Bug#16170)
5946 2013-12-18  Juri Linkov  <juri@jurta.org>
5948         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5949         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
5951 2013-12-18  Leo Liu  <sdl.web@gmail.com>
5953         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5954         (Bug#16186)
5956 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
5958         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5959         formats for displaying file sizes when the -s switch is given.
5960         Instead, compute a separate format for displaying the size in
5961         blocks, which is displayed in addition to the "regular" size.
5962         When -h is given in addition to -s, produce size in blocks in
5963         human-readable form as well.  (Bug#16179)
5965 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
5967         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5968         Reference tables with ~\ref{...} instead of only \ref{...}.
5970 2013-12-18  Chong Yidong  <cyd@gnu.org>
5972         * cus-edit.el (custom-magic-alist): Fix "themed" description
5973         (Bug#14348).
5975         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5976         is non-nil, do not create a new entry in the symbol's theme-value
5977         or theme-face property; update theme-settings only (Bug#14664).
5978         (custom-available-themes): Doc fix.
5980         * cus-theme.el (custom-new-theme-mode-map): Add bindings
5981         (Bug#15674).
5983         * replace.el (occur-engine): Avoid infloop (Bug#7593).
5985 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
5987         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5988         (Bug#13914).
5990 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
5992         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5994 2013-12-18  Glenn Morris  <rgm@gnu.org>
5996         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5997         * cus-start.el (load-prefer-newer): New option.
5999 2013-12-18  Le Wang  <l26wang@gmail.com>
6001         * comint.el (comint-previous-matching-input-from-input):
6002         Retain point (Bug#13404).
6004 2013-12-18  Chong Yidong  <cyd@gnu.org>
6006         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
6008 2013-12-18  Glenn Morris  <rgm@gnu.org>
6010         * mail/emacsbug.el (report-emacs-bug):
6011         Only mention enable-multibyte-characters if non-standard.
6013 2013-12-17  Juri Linkov  <juri@jurta.org>
6015         * arc-mode.el (archive-extract-by-file): Check if directory exists
6016         before deletion to not show irrelevant errors if it doesn't exist.
6018 2013-12-17  Juri Linkov  <juri@jurta.org>
6020         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
6021         (Bug#14751)
6023         * net/eww.el (browse-web): Add alias to `eww'.
6024         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
6025         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
6027         * net/browse-url.el (browse-url-browser-function): Move `eww'
6028         closer to similar functions.
6030         * startup.el (fancy-startup-screen, fancy-about-screen):
6031         Set browse-url-browser-function to eww-browse-url locally.
6032         (Bug#14751)
6034 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6036         * window.el (window--pixel-to-total): Remove unused `mini' var.
6037         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
6038         (split-window): Remove unused `new' var.
6039         (window--display-buffer): Remove unused `frame' and `delta' vars.
6040         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
6041         and display-width'.
6043 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
6045         * dired.el (dired-mark-pop-up):
6046         * register.el (register-preview): Don't bind
6047         split-height-threshold here since it's now done in
6048         display-buffer-below-selected.
6050 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
6052         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
6053         xterm-rgb-convert-to-16bit.
6054         (rxvt-register-default-colors): Standardize with
6055         xterm-register-default-colors (Bug#14078).
6057 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
6059         * simple.el (kill-region): Pass mark first, then point, so that
6060         kill-append works right (Bug#12819).
6061         (copy-region-as-kill, kill-ring-save): Likewise.
6063 2013-12-17  Leo Liu  <sdl.web@gmail.com>
6065         * net/rcirc.el (rcirc-add-face):
6066         * eshell/em-prompt.el (eshell-emit-prompt):
6067         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
6068         (Bug#16167)
6070 2013-12-17  Chong Yidong  <cyd@gnu.org>
6072         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
6073         Suggested by Xue Fuqiao.
6075 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
6077         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
6079 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6081         * net/shr.el (shr-insert-document): Remove unused var
6082         `shr-preliminary-table-render'.
6083         (shr-rescale-image): Remove unused arg `force'.
6084         (shr-put-image): Update calls accordingly.
6085         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
6087 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
6089         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
6090         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
6091         :close-all, to see which indentation method to use (Bug#16116).
6092         (smie-rules-function): Document the method :close-all.
6094 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6096         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
6098         * net/eww.el (eww-display-html): If we can't find the anchor we're
6099         looking for, then go to point-min.
6101 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
6103         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
6104         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
6105         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
6106         Expand dir too, in case it's relative.
6108 2013-12-16  Juri Linkov  <juri@jurta.org>
6110         * desktop.el (desktop-auto-save-timeout): Change default to
6111         `auto-save-timeout'.  Doc fix.
6112         (desktop-save): Skip the timestamp in desktop-saved-frameset
6113         when checking for auto-save changes.
6114         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
6115         `desktop-auto-save' is called repeatedly by the idle timer.
6116         (desktop-auto-save-set-timer): Replace `run-with-timer' with
6117         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
6118         (Bug#15331)
6120 2013-12-16  Juri Linkov  <juri@jurta.org>
6122         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
6123         (Bug#16035)
6124         (isearch-pre-command-hook): Check `this-command' for symbolp.
6126 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6128         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
6130 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
6132         * progmodes/cfengine.el (cfengine3--current-word): Remove.
6133         (cfengine3--current-function): Bring in the current-function
6134         functionality from `cfengine3--current-word'.
6135         (cfengine3-completion-function): Bring in the
6136         bounds-of-current-word functionality from
6137         `cfengine3--current-word'.
6139 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
6141         * window.el (display-buffer-below-selected):
6142         Bind split-height-threshold to 0 as suggested by Juri Linkov.
6144 2013-12-16  Leo Liu  <sdl.web@gmail.com>
6146         * progmodes/compile.el (compile-goto-error): Do not push-mark.
6147         Remove NOMSG arg and all uses changed.
6149 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6151         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
6152         (cua--deactivate-rectangle): Don't deactivate the mark.
6153         (cua-set-rectangle-mark): Don't set mark-active since
6154         cua--activate-rectangle already does it for us.
6155         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
6156         non-rectangular region.
6158         * emulation/cua-base.el (cua-repeat-replace-region):
6159         Use with-current-buffer.
6161         * net/gnutls.el: Use cl-lib.
6162         (gnutls-negotiate): `mapcan' -> cl-mapcan.
6164 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
6166         * emacs-lisp/package.el (package-built-in-p): Support both
6167         built-in and the package.el converted package descriptions.
6168         (package-show-package-list): Allow keywords.
6169         (package-keyword-button-action): Use it instead of
6170         `finder-list-matches'.
6171         (package-menu-filter-interactive): Interactive filtering (by
6172         keyword) function.
6173         (package-menu--generate): Support keywords and change keymappings
6174         and headers when they are given.
6175         (package--has-keyword-p): Helper function.
6176         (package-menu--refresh): Use it.
6177         (package--mapc): Helper function.
6178         (package-all-keywords): Use it.
6179         (package-menu-mode-map): Set up menu items and keybindings to
6180         provide a filtering UI.
6182 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
6184         * net/gnutls.el (gnutls-verify-error): New defcustom to control
6185         the behavior when a certificate fails validation.  Defaults to
6186         old behavior: never abort, just warn.
6187         (gnutls-negotiate): Use it.
6189 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
6191         * window.el (display-buffer-below-selected): Never split window
6192         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
6194 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
6196         * emacs-lisp/package.el (package--prepare-dependencies): New function.
6197         (package-buffer-info): Use it (bug#15108).
6199 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6201         * icomplete.el (icomplete-completions): Make sure the prefix is already
6202         displayed elsewhere before hiding it (bug#16219).
6204 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
6206         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6207         open-paren tokens when preceded by a open-paren, too.
6208         (ruby-smie-rules): Handle virtual indentation after open-paren
6209         tokens specially.  If there is code between it and eol, return the
6210         column where is starts (Bug#16118).
6212 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
6214         * progmodes/cfengine.el: Fix `add-hook' doc.
6215         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6216         (cfengine3--current-word): Fix parameters.
6217         (cfengine3-make-syntax-cache): Simplify further.
6218         (cfengine3-completion-function, cfengine3--current-function):
6219         Use `assq' for symbols.
6220         (cfengine3--current-function): Fix `cfengine3--current-word' call.
6222 2013-12-13  Glenn Morris  <rgm@gnu.org>
6224         * loadup.el (load-path): Warn if site-load or site-init changes it.
6225         No more need to reset it when bootstrapping.
6227 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
6229         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6230         locations for cf-promises.
6231         (cfengine-mode-syntax-functions-regex): New caching variable.
6232         (cfengine3-fallback-syntax): Fallback syntax for cases where
6233         cf-promises doesn't run.
6234         (cfengine3--current-word): Reimplement using
6235         `cfengine-mode-syntax-functions-regex'.
6236         (cfengine3-completion-function, cfengine3--current-function):
6237         Use `cfengine3-make-syntax-cache' directly.
6238         (cfengine3-clear-syntax-cache): New function.
6239         (cfengine3-make-syntax-cache): Simplify and create
6240         `cfengine-mode-syntax-functions-regex' on demand.
6241         (cfengine3-format-function-docstring): Don't call
6242         `cfengine3-make-syntax-cache' explicitly.
6244 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
6246         Fix windmove-find-other-window broken after pixelwise resizing
6247         (Bug#16017).
6248         * windmove.el (windmove-other-window-loc): Revert change from
6249         2013-12-04.
6250         (windmove-find-other-window): Call window-in-direction.
6251         * window.el (window-in-direction): New arguments SIGN, WRAP and
6252         MINI to emulate original windmove-find-other-window behavior.
6254 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
6256         * simple.el (blink-matching--overlay): New variable.
6257         (blink-matching-open): Instead of moving point, highlight the
6258         matching paren with an overlay
6259         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6261         * faces.el (paren-showing-faces, show-paren-match)
6262         (show-paren-mismatch): Move from paren.el.
6264 2013-12-13  Leo Liu  <sdl.web@gmail.com>
6266         * indent.el (indent-region): Disable progress reporter in
6267         minibuffer.  (Bug#16108)
6269         * bindings.el (visual-order-cursor-movement): Fix version.
6271 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6273         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6274         Also match after beginning of line.
6275         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6276         files.  Thanks to Russell Sim.  (Bug#15378)
6278 2013-12-13  Juri Linkov  <juri@jurta.org>
6280         * simple.el <Keypad support>: Remove key bindings duplicated
6281         with bindings.el.  (Bug#14397)
6283 2013-12-13  Juri Linkov  <juri@jurta.org>
6285         * comint.el (comint-mode-map): Replace `delete-char' with
6286         `delete-forward-char'.  (Bug#16109)
6288 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6290         * progmodes/python.el (python-indent-calculate-indentation):
6291         Fix de-denters cornercase.  (Bug#15731)
6293 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6295         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6296         (advice--make): Pay attention to `depth'.
6297         (advice--make-1): Don't autoload commands eagerly.
6298         * emacs-lisp/elp.el (elp-instrument-function):
6299         * emacs-lisp/trace.el (trace-function-internal):
6300         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6302         * iswitchb.el (iswitchb-mode): Don't belittle ido.
6304 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
6306         * term/w32-win.el (w32-handle-dropped-file):
6307         * startup.el (normal-top-level):
6308         * net/browse-url.el (browse-url-file-url):
6309         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6310         decode file names using 'utf-8' rather than
6311         file-name-coding-system.
6313 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6315         * progmodes/python.el (python-indent-context)
6316         (python-indent-calculate-indentation): Fix auto-identation
6317         behavior for comment blocks.  (Bug#15916)
6319 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
6321         * progmodes/python.el (python-indent-calculate-indentation):
6322         When determining indentation, don't treat "return", "pass", etc., as
6323         operators when they are just string constituents.  (Bug#15812)
6325 2013-12-12  Juri Linkov  <juri@jurta.org>
6327         * uniquify.el (uniquify-buffer-name-style): Change default to
6328         `post-forward-angle-brackets'.
6330         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6331         `uniquify'.  Change default to `post-forward-angle-brackets'.
6333 2013-12-11  Glenn Morris  <rgm@gnu.org>
6335         * emacs-lisp/package.el (finder-list-matches):
6336         Autoload rather than falsely declaring.
6338 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
6340         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6341         (eww-mode-map): Use them.
6343 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
6345         * window.el (display-buffer-in-side-window): Fix doc-string
6346         (Bug#16115).
6348 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
6350         * vc/vc-git.el: Silence byte-compiler warnings.
6351         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6352         (log-edit-set-header): Declare.
6354 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
6356         * Makefile.in (custom-deps, finder-data): Run output file names
6357         through unmsys--file-name.  (Bug#16099)
6359 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6361         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6362         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6364         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6365         instead of deleting the selection "by hand" (bug#16098).
6366         Rely on insert-for-yank to yank rectangles.
6367         (cua-highlight-region-shift-only): Mark obsolete.
6368         (cua-mode): Don't enable/disable transient-mark-mode,
6369         shift-select-mode (cua-mode works both with and without them), and
6370         pc-selection-mode (obsolete).
6371         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6372         (cua--deactivate-rectangle): Deactivate it.
6374         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6375         (delete-selection-helper): Make sure yank starts at the top of the
6376         deleted region.
6377         (minibuffer-keyboard-quit): Use region-active-p.
6379         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6381         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6382         to `delete' (bug#16109).
6384 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6386         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6387         info manual and show keybindings and set `:group' keyword.
6389 2013-12-11  Juri Linkov  <juri@jurta.org>
6391         * delsel.el (delete-active-region): Let-bind `this-command'
6392         to prevent `kill-region' from changing its original value.
6393         (delete-selection-helper): Handle `overwrite-mode' for the type
6394         `kill' exactly the same way as for the type `t'.
6395         (insert-char, quoted-insert, reindent-then-newline-and-indent):
6396         Support more commands.  (Bug#13312)
6398 2013-12-11  Juri Linkov  <juri@jurta.org>
6400         * bindings.el: Map kp keys to non-kp keys systematically
6401         with basic modifiers control, meta and shift.  (Bug#14397)
6403 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6405         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6406         "Close browser" menu items.  Fix wrong function of "List
6407         bookmarks".
6409 2013-12-11  Juri Linkov  <juri@jurta.org>
6411         * misearch.el (multi-isearch-buffers): Set the value of
6412         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
6413         arg of isearch-forward to t.
6414         (multi-isearch-buffers-regexp): Set the value of
6415         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
6416         arg of isearch-forward-regexp to t.
6417         (multi-isearch-files): Set the value of
6418         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
6419         arg of isearch-forward to t.
6420         (multi-isearch-files-regexp): Set the value of
6421         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
6422         arg of isearch-forward-regexp to t.  (Bug#16035)
6424         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6425         arg of isearch-forward to t.
6426         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6427         arg of isearch-forward-regexp to t.
6428         (dired-isearch-filter-filenames): Remove unnecessary check for
6429         `dired-isearch-filenames'.
6431         * comint.el (comint-history-isearch-backward):
6432         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6433         (comint-history-isearch-backward-regexp):
6434         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6436 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
6438         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6439         unmsys--file-name.  (Bug#16099)
6441 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
6443         * emacs-lisp/package.el (package-keyword-button-action):
6444         Remove finder.el require dependency.
6446 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
6448         * emacs-lisp/package.el: Require finder.el.
6449         (describe-package-1): Add keyword buttons.
6450         (package-make-button): New convenience function.
6451         (package-keyword-button-action): Keyword button action using
6452         `finder-list-matches'.
6454 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
6456         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6457         last commit.
6459 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
6461         * autorevert.el (auto-revert-notify-add-watch): Do not handle
6462         symlinked files.
6464 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
6466         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6467         after the end of a percent literal.
6469 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
6471         * progmodes/ruby-mode.el (ruby-forward-string): Document.
6472         Handle caret-delimited strings (Bug#16079).
6474 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
6476         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6477         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6478         `ruby-parse-partial' (Bug#16078).
6480 2013-12-09  Leo Liu  <sdl.web@gmail.com>
6482         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
6484 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
6486         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6487         (js-switch-indent-offset): New option.
6488         (js--proper-indentation): Use it.  And handle the case when
6489         "default" is actually a key in an object literal.
6490         (js--same-line): New function.
6491         (js--multi-line-declaration-indentation): Use it.
6492         (js--indent-in-array-comp, js--array-comp-indentation):
6493         New functions.
6494         (js--proper-indentation): Use them, to handle array comprehension
6495         continuations.
6497 2013-12-08  Leo Liu  <sdl.web@gmail.com>
6499         * progmodes/flymake.el (flymake-highlight-line): Re-write.
6500         (flymake-make-overlay): Remove arg MOUSE-FACE.
6501         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6503 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6505         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6506         New function.
6507         (redisplay-highlight-region-function): Use it.
6509         * emulation/cua-base.el (cua--explicit-region-start)
6510         (cua--last-region-shifted): Remove.
6511         (cua--deactivate): Use deactivate-mark.
6512         (cua--pre-command-handler-1): Don't handle shift-selection.
6513         (cua--post-command-handler-1): Don't change transient-mark-mode.
6514         (cua--select-keymaps): Use region-active-p rather than
6515         cua--explicit-region-start or cua--last-region-shifted.
6516         (cua-mode): Enable shift-select-mode.
6518 2013-12-08  Leo Liu  <sdl.web@gmail.com>
6520         * progmodes/flymake.el (flymake-popup-current-error-menu):
6521         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
6522         (flymake-posn-at-point-as-event, flymake-popup-menu)
6523         (flymake-make-emacs-menu): Remove.  (Bug#16077)
6525 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6527         * rect.el (rectangle-mark-mode): Activate mark even if
6528         transient-mark-mode is off (bug#16066).
6529         (rectangle--highlight-for-redisplay): Fix boundary condition when point
6530         is > mark and at bolp.
6532         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6533         (region-extract-function): Use it.
6534         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6535         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6536         Delete functions.
6537         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6538         kill-ring-save, kill-region, delete-char, delete-forward-char.
6539         Ignore self-insert-iso.
6541         * emulation/cua-gmrk.el (cua--init-global-mark):
6542         Ignore `self-insert-iso'.
6544         * emulation/cua-base.el (cua--prefix-copy-handler)
6545         (cua--prefix-cut-handler): Rely on region-extract-function rather than
6546         checking cua--rectangle.
6547         (cua-delete-region): Use region-extract-function.
6548         (cua-replace-region): Delete function.
6549         (cua-copy-region, cua-cut-region): Obey region-extract-function.
6550         (cua--pre-command-handler-1): Don't do the delete-selection thing.
6551         (cua--self-insert-char-p): Ignore `self-insert-iso'.
6552         (cua--init-keymaps): Don't remap delete-selection commands.
6553         (cua-mode): Use delete-selection-mode instead of rolling our own
6554         (bug#16085).
6556         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6557         Obey region-extract-function.
6559         Make registers and delete-selection-mode work on rectangles.
6560         * register.el (describe-register-1): Don't modify the register's value.
6561         (copy-to-register): Obey region-extract-function.
6562         * delsel.el (delete-active-region): Obey region-extract-function.
6564 2013-12-08  Leo Liu  <sdl.web@gmail.com>
6566         * progmodes/flymake.el (flymake, flymake-error-bitmap)
6567         (flymake-warning-bitmap, flymake-fringe-indicator-position)
6568         (flymake-compilation-prevents-syntax-check)
6569         (flymake-start-syntax-check-on-newline)
6570         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6571         (flymake-start-syntax-check-on-find-file, flymake-log-level)
6572         (flymake-xml-program, flymake-master-file-dirs)
6573         (flymake-master-file-count-limit)
6574         (flymake-allowed-file-name-masks): Relocate.
6575         (flymake-makehash, flymake-float-time)
6576         (flymake-replace-regexp-in-string, flymake-split-string)
6577         (flymake-get-temp-dir): Remove.
6578         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6579         (flymake-current-row, flymake-selected-frame)
6580         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6581         related functions.  (Bug#16077)
6583 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
6585         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6587 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
6589         * help-fns.el (describe-function-1): Use new advice-* functions
6590         rather than old ad-* functions.  Fix function type description and
6591         source links for advised functions and subrs.
6593 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6595         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6597 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
6599         * progmodes/compile.el (compilation-start):
6600         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6602         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6603         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
6605 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
6607         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6608         Touch up the last change.
6610 2013-12-06  Leo Liu  <sdl.web@gmail.com>
6612         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6613         (inferior-octave-startup): Always use "octave> " for prompt.
6614         (octave-goto-function-definition)
6615         (octave-sync-function-file-names)
6616         (octave-find-definition-default-filename): Remove redundant backquotes.
6618 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
6620         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6621         syntax for `?'.
6622         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6623         where appropriate already.
6624         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6625         end of method names (Bug#15874).
6627 2013-12-06  Juri Linkov  <juri@jurta.org>
6629         * isearch.el (isearch--saved-overriding-local-map):
6630         New internal variable.
6631         (isearch-mode): Set it to the initial value of
6632         `overriding-terminal-local-map'.
6633         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6634         with `isearch--saved-overriding-local-map'.  (Bug#16035)
6636 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
6638         * progmodes/octave.el (inferior-octave-completion-table):
6639         Turn back into function, use `completion-table-with-cache'
6640         (Bug#11906).  Update all references.
6642         * minibuffer.el (completion-table-with-cache): New function.
6644 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
6646         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6648 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
6650         * net/eww.el (eww-current-source): New variable to store page
6651         source.
6652         (eww-display-html, eww-mode, eww-save-history)
6653         (eww-restore-history): Use it.
6654         (eww-view-source): New command to view page source.
6655         Opportunistically uses `html-mode' to highlight the buffer.
6656         (eww-mode-map): Install it.
6658 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
6660         * net/dbus.el (dbus-unregister-service)
6661         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6662         Fix docstring.
6663         (dbus-unregister-service): Skip :serial entries in
6664         `dbus-registered-objects-table'.
6665         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6667 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
6669         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6670         around keywords with extra `split-string' argument.
6672 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
6674         * windmove.el (windmove-other-window-loc): Handle navigation
6675         between windows (excluding the minibuffer window - Bug#16017).
6677 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
6679         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6680         in D-Bus type syntax.
6681         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6682         preserve unibyte strings.  (Bug#16048)
6684 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6686         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6687         Call force-mode-line-update is the proper buffer (bug#16042).
6689 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
6691         * vc/log-edit.el (log-edit-add-new-comment): Rename to
6692         `log-edit-remember-comment', make argument optional.  Adjust all
6693         callers.
6694         (log-edit-mode): Add `log-edit-remember-comment' to
6695         `kill-buffer-hook' locally.
6696         (log-edit-kill-buffer): Don't remember comment explicitly since
6697         the buffer is killed anyway.
6699 2013-12-04  Juri Linkov  <juri@jurta.org>
6701         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6702         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
6704 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
6706         * notifications.el (notifications-close-notification): Call the
6707         D-Bus method with ID being a `:uint32'.  (Bug#16030)
6709 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
6711         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6713 2013-12-03  Juri Linkov  <juri@jurta.org>
6715         * progmodes/compile.el (compilation-start): Rename window alist
6716         entry `no-display-ok' to `allow-no-window'.
6718         * simple.el (shell-command): Add window alist entry
6719         `allow-no-window' to `display-buffer'.
6720         (async-shell-command): Doc fix.
6722         * window.el (display-buffer-no-window): New action function.
6723         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
6725 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
6727         * vc/log-edit.el (log-edit-set-header): Extract from
6728         `log-edit-toggle-header'.
6729         (log-edit-extract-headers): Separate the summary, when extracted
6730         from header, from the rest of the message with an empty line.
6732         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6733         line, if present, to the Summary header.
6735 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6737         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6738         in current-buffer (bug#16029).
6740 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
6742         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6743         (debugger-mode-map): Bind it.
6744         (debugger--backtrace-base): New function.
6745         (debugger-eval-expression): Use it.
6746         (debugger-frame-number): Skip local vars when present.
6747         (debugger--locals-visible-p, debugger--insert-locals)
6748         (debugger--show-locals, debugger--hide-locals): New functions.
6750 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
6752         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6753         "LC_ALL".
6754         (tramp-get-remote-locale): New defun.
6755         (tramp-open-connection-setup-interactive-shell): Use it.
6757 2013-12-02  Leo Liu  <sdl.web@gmail.com>
6759         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
6761         * progmodes/sh-script.el (sh-shell-process):
6762         * progmodes/octave.el (inferior-octave-process-live-p):
6763         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6764         (gdb-inferior-io-sentinel):
6765         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6767 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
6769         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6770         `save-selected-window' to `log-edit-hide-buf'.  This makes
6771         `log-edit-show-files' idempotent.
6772         (log-edit-show-files): Mark the new window as dedicated.
6774 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
6776         * vc/log-edit.el (log-edit-mode-map): Add binding for
6777         `log-edit-kill-biffer'.
6778         (log-edit-hide-buf): Add a FIXME comment.
6779         (log-edit-add-new-comment): New function, extracted from
6780         `log-edit-done'.
6781         (log-edit-done, log-edit-add-to-changelog): Use it.
6782         (log-edit-kill-buffer): New command.
6784 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6786         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6787         instead of killing the buffer.
6789 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6791         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6793 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6795         * net/eww.el (eww-form-checkbox-selected-symbol)
6796         (eww-form-checkbox-symbol): New customizable variable.
6797         (eww-form-checkbox, eww-toggle-checkbox):
6798         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6800         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6801         (shr--get-media-pref, shr--extract-best-source): New function.
6802         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6803         no :src tag was specified.
6805         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6806         (eww-render): Handle `eww-use-external-browser-for-content-type'.
6807         Use \\` to match beginning of string instead of ^.
6808         (eww-browse-with-external-browser): Provide optional URL parameter.
6809         (eww-render): Set `eww-current-title' back to "".
6811         * net/shr.el (shr-tag-video): Display content for video if no
6812         poster is available.
6813         (shr-tag-audio): Add support for <audio> tag.
6815         * net/eww.el (eww-text-input-types): New const.
6816         (eww-process-text-input): Treat input types in
6817         `eww-text-input-types' as text.
6819         * net/shr.el (shr-tag-table): Fix comment typo.
6821 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6823         * net/eww.el (eww-follow-link): New command to avoid reloading
6824         pages when we follow #target links (bug#15243).
6825         (eww-quit): Special mode buffers shouldn't query before exiting.
6827 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6829         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6830         forms.
6832 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6834         * net/eww.el (eww-restore-history): Update the window title after
6835         moving in the history.
6836         (eww-current-dom): New variable used to save the current DOM.
6838 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
6840         * vc/log-edit.el (log-edit-mode-map): Add binding for
6841         `log-edit-beginning-of-line'.
6842         (log-edit-setup-add-author): New user option.
6843         (log-edit-beginning-of-line): New command.
6844         (log-edit): Move major mode call above the contents setup so that
6845         the local variable values are already applied.
6846         (log-edit): Only insert "Author: " when
6847         `log-edit-setup-add-author' is non-nil.
6848         (log-edit): When SETUP is non-nil, position point after ": "
6849         instead of point-min.
6851 2013-12-01  Glenn Morris  <rgm@gnu.org>
6853         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6855 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
6857         * startup.el (fancy-splash-frame): On MS-Windows, trigger
6858         redisplay to make sure the initial frame gets a chance to become
6859         visible.  (Bug#16014)
6861 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
6863         Support resizing frames and windows pixelwise.
6864         * cus-start.el (frame-resize-pixelwise)
6865         (window-resize-pixelwise): New entries.
6866         * emacs-lisp/debug.el (debug): Use window-total-height instead
6867         of window-total-size.
6868         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6869         * help.el (describe-bindings-internal): Use help-buffer as
6870         argument for with-help-window.
6871         (temp-buffer-max-width): New option.
6872         (resize-temp-buffer-window, help-window-setup)
6873         (with-help-window): Rewrite.
6874         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
6875         dragging dividers.
6876         * window.el (frame-char-size, window-min-pixel-height)
6877         (window-safe-min-pixel-height, window-safe-min-pixel-width)
6878         (window-min-pixel-width, window-safe-min-pixel-size)
6879         (window-combination-p, window-safe-min-size)
6880         (window-resizable-p, window--size-to-pixel)
6881         (window--pixel-to-size, window--resize-apply-p): New functions.
6882         (window-safe-min-height): Fix doc-string.
6883         (window-size, window-min-size, window--min-size-1)
6884         (window-sizable, window-sizable-p, window--min-delta-1)
6885         (window-min-delta, window--max-delta-1, window-max-delta)
6886         (window--resizable, window--resizable-p, window-resizable)
6887         (window-full-height-p, window-full-width-p, window-at-side-p)
6888         (window--in-direction-2, window-in-direction)
6889         (window--resize-reset-1, window--resize-mini-window)
6890         (window-resize, window-resize-no-error)
6891         (window--resize-child-windows-normal)
6892         (window--resize-child-windows, window--resize-siblings)
6893         (window--resize-this-window, window--resize-root-window)
6894         (window--resize-root-window-vertically)
6895         (adjust-window-trailing-edge, enlarge-window, shrink-window)
6896         (maximize-window, minimize-window, delete-window)
6897         (quit-restore-window, window-split-min-size, split-window)
6898         (balance-windows-2, balance-windows)
6899         (balance-windows-area-adjust, balance-windows-area)
6900         (window--state-get-1, window-state-get, window--state-put-1)
6901         (window--state-put-2, window-state-put)
6902         (display-buffer-record-window, window--display-buffer):
6903         Make functions handle pixelwise sizing of windows.
6904         (display-buffer--action-function-custom-type)
6905         (display-buffer-fallback-action):
6906         Add display-buffer-in-previous-window.
6907         (display-buffer-use-some-window): Resize window to height it had
6908         before.
6909         (fit-window-to-buffer-horizontally): New option.
6910         (fit-frame-to-buffer): Describe new values.
6911         (fit-frame-to-buffer-bottom-margin): Replace with
6912         fit-frame-to-buffer-margins.
6913         (window--sanitize-margin): New function.
6914         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6915         using window-text-pixel-size.
6917 2013-11-30  Glenn Morris  <rgm@gnu.org>
6919         * emacs-lisp/bytecomp.el (byte-compile-form):
6920         Make the `interactive-only' warning like the `obsolete' one.
6921         * comint.el (comint-run):
6922         * files.el (insert-file-literally, insert-file):
6923         * replace.el (replace-string, replace-regexp):
6924         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6925         (goto-line, insert-buffer, next-line, previous-line):
6926         Tweak `interactive-only' spec.
6928         Stop keeping (most) generated cedet grammar files in the repository.
6929         * Makefile.in (semantic): New.
6930         (compile-main): Depend on semantic.
6932 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6934         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6935         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6937         * uniquify.el (uniquify-buffer-name-style): Change default.
6939         * loadup.el: Preload "uniquify".
6941         * time.el (display-time-update): Update all mode lines (bug#15999).
6943         * electric.el (electric-indent-mode): Enable by default.
6944         * loadup.el: Preload "electric".
6946 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
6948         * emacs-lisp/helpers.el (string-empty-p): New function.
6949         (string-blank-p): New function.
6951 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
6953         * imenu.el (imenu--index-alist): Add missing dot to the docstring
6954         (Bug#14029).
6956 2013-11-29  Andreas Politz  <politza@fh-trier.de>
6957         * imenu.el (imenu--subalist-p): Don't error on non-conses and
6958         allow non-lambda lists as functions.
6959         (imenu--in-alist): Don't recurse into non-subalists.
6960         (imenu): Don't pass function itself as an argument (Bug#14029).
6962 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6964         * progmodes/python.el (python-mode-map): Remove binding for ":".
6965         (python-indent-electric-colon): Remove command.
6966         (python-indent-post-self-insert-function): Integrate the previous code
6967         of python-indent-electric-colon.  Make it conditional on
6968         electric-indent-mode.
6969         (python-mode): Add ?: to electric-indent-chars.
6970         Move python-indent-post-self-insert-function to the end of
6971         post-self-insert-hook.
6973 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6975         * doc-view.el (doc-view-goto-page): Update mode-line.
6977         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6979 2013-11-27  Glenn Morris  <rgm@gnu.org>
6981         * international/charprop.el, international/uni-bidi.el:
6982         * international/uni-category.el, international/uni-combining.el:
6983         * international/uni-comment.el, international/uni-decimal.el:
6984         * international/uni-decomposition.el, international/uni-digit.el:
6985         * international/uni-lowercase.el, international/uni-mirrored.el:
6986         * international/uni-name.el, international/uni-numeric.el:
6987         * international/uni-old-name.el, international/uni-titlecase.el:
6988         * international/uni-uppercase.el:
6989         Remove generated files from VCS repository.
6991 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
6993         * filenotify.el (file-notify-add-watch): Don't special-case
6994         w32notify when computing the directory to watch.
6996 2013-11-27  Glenn Morris  <rgm@gnu.org>
6998         Make bootstrap without generated uni-*.el files possible again.
6999         * loadup.el: Update command-line-args checking for unidata-gen.
7000         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
7001         * composite.el, international/characters.el:
7002         Handle unicode tables being undefined.
7004         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
7005         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
7006         (compile-main): Depend on leim rule.
7007         (leim): New rule.
7008         * loadup.el: Move leim-list.el to leim/ subdirectory.
7009         * startup.el (normal-top-level): No more leim directory.
7010         * international/ja-dic-cnv.el (skkdic-convert):
7011         Disable version-control and autoloads in output files.
7012         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
7013         Disable version-control and autoloads in output files.
7014         * leim/quail: Move here from ../leim.
7015         * leim/quail/hangul.el (hangul-input-method-activate):
7016         Add autoload cookie.
7017         (generated-autoload-load-name): Set file-local value.
7018         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
7019         (generated-autoload-load-name): Set file-local value.
7021 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
7023         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7024         (eww-add-bookmark): Ask confirmation when add to bookmarks.
7025         (eww-quit): Ask confirmation before quitting eww.
7027 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
7029         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
7030         reading output from Diff on MS-Windows and MS-DOS.
7032 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
7034         * emacs-lisp/helpers.el (string-reverse): New function.
7036 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
7038         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
7039         names on MS Windows, like "/[::1]:".
7041         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
7042         SWITCHES.
7044 2013-11-26  Glenn Morris  <rgm@gnu.org>
7046         * progmodes/python.el (python-indent-guess-indent-offset):
7047         Avoid corner-case error.  (Bug#15975)
7049         Preload leim-list.el.  (Bug#4789)
7050         * loadup.el: Load leim-list.el when found.
7051         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
7053 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
7055         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
7057         * emacs-lisp/helpers.el (string-join): New function.
7059 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
7061         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7062         Mark as obsolete and replace it with a symbol property.
7063         (byte-compile-form): Use new 'interactive-only property.
7064         * comint.el, files.el, replace.el, simple.el:
7065         Apply new 'interactive-only properly.
7067 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
7069         * window.el (display-buffer-at-bottom): Make sure that
7070         split-window-sensibly creates the new window on bottom
7071         (Bug#15961).
7073 2013-11-23  David Kastrup  <dak@gnu.org>
7075         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
7076         on the conflict markers when available.
7077         (smerge--get-marker): New function.
7078         (smerge-end-re, smerge-base-re): Add subgroup.
7080 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7082         * frame.el (handle-focus-in, handle-focus-out): Add missing
7083         interactive spec.
7085 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
7087         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7088         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
7090 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7092         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
7093         (gomoku--last-pos): New var.
7094         (gomoku--intangible-chars): New const.
7095         (gomoku--intangible): New function.
7096         (gomoku-mode): Use it.  Derive from special-mode.
7097         (gomoku-move-up): Adjust line count.
7098         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
7099         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
7100         Simplify accordingly.
7102         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
7103         Remove blink-cursor code.
7104         (blink-cursor-timer-function, blink-cursor-suspend):
7105         Don't special-case GUIs.
7106         (blink-cursor-mode): Use focus-in/out-hook.
7108 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
7110         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
7111         work when annotation is invisible (Bug#13886).
7113 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
7115         * json.el (json-alist-p): Only return non-nil if the alist has
7116         simple keys (Bug#13518).
7118 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
7120         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
7121         when control-statement is the first statement in a buffer (Bug#15956).
7123 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
7125         * imenu.el (imenu-generic-skip-comments-and-strings):
7126         New option (Bug#15560).
7127         (imenu--generic-function): Use it.
7129 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
7131         * minibuffer.el (completion--in-region-1): Scroll the correct window.
7132         (Bug#13898)
7134 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
7136         * emacs-lisp/helpers.el: Add some string helpers.
7137         (string-trim-left): Removes leading whitespace.
7138         (string-trim-right): Removes trailing whitespace.
7139         (string-trim): Removes leading and trailing whitespace.
7141         * subr.el (string-suffix-p): New function.
7143 2013-11-23  Glenn Morris  <rgm@gnu.org>
7145         * progmodes/python.el (python-shell-send-file):
7146         Add option to delete file when done.  (Bug#15647)
7147         (python-shell-send-string, python-shell-send-region): Use it.
7149 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
7151         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
7152         to set buffer-read-only to t, never to nil.  (Bug#15938)
7154         * textmodes/tex-mode.el (latex-noindent-environments):
7155         Add safe-local-variable property.  (Bug#15936)
7157 2013-11-23  Glenn Morris  <rgm@gnu.org>
7159         * textmodes/enriched.el (enriched-mode): Doc fix.
7160         * emacs-lisp/authors.el (authors-renamed-files-alist):
7161         Add enriched.doc -> enriched.txt.
7163         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
7165 2013-11-22  Leo Liu  <sdl.web@gmail.com>
7167         * progmodes/octave.el (inferior-octave-startup): Spit out error
7168         message.
7170 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
7172         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7173         Improve docstring.
7174         Add :version.
7175         (ruby-encoding-magic-comment-style): Add :version.
7177 2013-11-22  Leo Liu  <sdl.web@gmail.com>
7179         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
7180         (Bug#15076)
7181         (octave-help-mode): Adapt to change to help-mode-finish to use
7182         derived-mode-p on 2013-09-17.
7183         (inferior-octave-prompt): Also match octave-gui.
7184         (octave-kill-process): Don't ask twice.  (Bug#10564)
7186 2013-11-22  Leo Liu  <sdl.web@gmail.com>
7188         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
7189         (inferior-octave-startup, inferior-octave-check-process)
7190         (inferior-octave-track-window-width-change)
7191         (octave-completion-at-point, octave-eldoc-function): Use it.
7192         (octave-kill-process): Provide confirmation.  (Bug#10564)
7194 2013-11-21  Leo Liu  <sdl.web@gmail.com>
7196         * progmodes/octave.el (octave-mode, inferior-octave-mode):
7197         Fix obsolete variable comment-use-global-state.
7199 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7201         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7202         Add `octave-source-file'.
7203         (octave-source-file): New function.  (Bug#15935)
7205 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
7207         * net/eww.el (eww-local-regex): New variable.
7208         (eww): Use it to detect localhost and similar.
7210 2013-11-21  Leo Liu  <sdl.web@gmail.com>
7212         Add completion for command `ag'.
7213         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7214         (pcomplete/ag): New function.
7215         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
7217 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7219         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7220         (bug#14646).
7221         (make-obsolete): Remove interactive spec.
7223 2013-11-21  Glenn Morris  <rgm@gnu.org>
7225         * startup.el (command-line-1): Use path-separator with -L.
7227 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
7229         * emacs-lisp/package.el (describe-package-1): Add package archive
7230         to shown fields.
7232 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
7234         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7235         Change default to "# encoding: %s" to differentiate it from the
7236         default Ruby encoding comment template.
7238 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
7240         * ses.el (ses-mode): Doc fix.  (Bug#14748)
7242 2013-11-20  Leo Liu  <sdl.web@gmail.com>
7244         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
7246 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
7248         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7249         when rebase or bisect are in progress.
7251 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
7253         * filenotify.el (file-notify-add-watch): Doc fix.
7255 2013-11-19  Leo Liu  <sdl.web@gmail.com>
7257         * obsolete/rcompile.el: Mark obsolete.
7259         * progmodes/compile.el (compilation-start)
7260         (compilation-goto-locus, compilation-find-file):
7261         Pass no-display-ok and handle nil value from display-buffer.
7262         (Bug#13594)
7264         * window.el (display-buffer-alist, display-buffer): Document the
7265         new parameter no-display-ok.  Return either a window or nil
7266         but never a non-window value.
7268 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7270         * electric.el (electric-indent-mode-map): Remove.
7271         (electric-indent-mode): Change the global-map instead (bug#15915).
7273         * textmodes/text-mode.el (paragraph-indent-minor-mode):
7274         Use add-function.
7276 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7278         * emacs-lisp/nadvice.el (remove-function): Align with
7279         add-function's behavior.
7281         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7282         (gdb--string-regexp): New constant.
7283         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7284         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7285         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7286         submatch 1.
7287         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7288         Adjust use accordingly.
7289         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7291 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
7293         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7294         interpolation curlies (Bug#15914).
7296 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
7298         * calc/calc.el (calc-context-sensitive-enter): New variable.
7299         (calc-enter): Use `calc-context-sensitive-enter'.
7301 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
7303         * progmodes/cfengine.el: Version bump.
7304         (cfengine-cf-promises): New defcustom to locate cf-promises.
7305         (cfengine3-vartypes): Add new "data" type.
7306         (cfengine3--current-word): New function to get current name-like
7307         word or its bounds.
7308         (cfengine3--current-function): New function to look up a CFEngine
7309         function's definition.
7310         (cfengine3-format-function-docstring): New function.
7311         (cfengine3-make-syntax-cache): New function.
7312         (cfengine3-documentation-function): New function: ElDoc glue.
7313         (cfengine3-completion-function): New function: completion glue.
7314         (cfengine3-mode): Set `compile-command',
7315         `eldoc-documentation-function', and add to
7316         `completion-at-point-functions'.
7318 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
7320         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7321         `tramp-current-connection'.
7323 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
7325         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7326         nil/self/true/false with "end of symbol".
7328 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
7330         * subr.el (version-regexp-alist): Fix a typo.
7332 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
7334         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7335         "en_US.utf8" and "LC_CTYPE" to "".
7336         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7337         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7339 2013-11-15  Leo Liu  <sdl.web@gmail.com>
7341         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
7343 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7345         * progmodes/gud.el (ctl-x-map):
7346         Remove C-x SPC binding.  (Bug#12342)
7347         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7349 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
7351         * subr.el (version-regexp-alist):
7352         Recognize hg, svn and darcs versions as snapshot versions.
7354         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7355         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7356         (ruby--encoding-comment-required-p): Extract from
7357         `ruby-mode-set-encoding'.
7358         (ruby-mode-set-encoding): Add the ability to always insert an
7359         utf-8 encoding comment.  Fix and simplify coding comment update
7360         logic.
7362 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
7364         * net/tramp-gvfs.el (top): Run init code only when
7365         `tramp-gvfs-enabled' is not nil.
7366         (tramp-gvfs-enabled): Check also :system bus.
7368 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7370         Sync with upstream verilog-mode revision 78e66ba.
7371         * progmodes/verilog-mode.el (verilog-end-of-defun)
7372         (verilog-type-completion, verilog-get-list): Remove unused funcs.
7373         (verilog-get-end-of-defun): Remove unused argument.
7374         (verilog-comment-depth): Remove unused local `e'.
7375         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7376         Don't pass arg to verilog-get-end-of-defun.
7378 2013-11-14  Glenn Morris  <rgm@gnu.org>
7380         * obsolete/assoc.el (aget): Prefix dynamic variable.
7382         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7384 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7386         * widget.el, hfy-cmap.el: Remove bogus package version number.
7388 2013-11-13  Glenn Morris  <rgm@gnu.org>
7390         * replace.el (replace-eval-replacement):
7391         Try to give more helpful error message.  (Bug#15836)
7393         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7394         (archive-7z-update): Avoid custom type mismatches.
7396         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7398 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
7400         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7401         address can be empty.
7403         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7404         Accept nil SWITCHES.
7405         (tramp-gvfs-handle-write-region): Implement APPEND.
7407 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
7409         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7410         binary "|" operator and closing block args delimiter.
7411         Remove FIXME comment referring to Ruby 1.8-only syntax.
7412         (ruby-smie--implicit-semi-p): Not after "|" operator.
7413         (ruby-smie--closing-pipe-p): New function.
7414         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7415         (ruby-smie-rules): Indent after "|".
7417 2013-11-12  Glenn Morris  <rgm@gnu.org>
7419         * ps-print.el (ps-face-attribute-list):
7420         Handle anonymous faces.  (Bug#15827)
7422 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
7424         * window.el (display-buffer-other-frame): Fix doc-string.
7425         (Bug#15868)
7427 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7429         * subr.el (force-mode-line-update): Delete, move to buffer.c.
7431 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
7433         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7434         (tramp-sh-handle-file-local-copy): Don't write a message when
7435         saving temporary files.
7437         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7438         both directories are remote.
7439         (tramp-smb-handle-directory-files): Do not return double entries.
7440         Do not expand full file names.
7441         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7442         (tramp-smb-handle-write-region): Implement APPEND.
7443         (tramp-smb-get-stat-capability): Fix a stupid bug.
7445 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7447         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7449 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7451         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7452         throwing error over malformed let/let* (bug#15814).
7454 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7456         * iswitchb.el (iswitchb-mode): Mark obsolete.
7458 2013-11-11  Glenn Morris  <rgm@gnu.org>
7460         * international/uni-bidi.el, international/uni-category.el:
7461         * international/uni-name.el, international/uni-numeric.el:
7462         Regenerate for Unicode 6.3.0.
7464 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
7466         * net/tramp.el (tramp-methods):
7467         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7468         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7470 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
7472         * progmodes/sh-script.el (sh-font-lock-keywords-var):
7473         Force highlighting text after Summary keyword in doc face for rpm.
7475 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
7477         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7478         available and the word has no wildcards, append one to the grep pattern.
7479         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7480         (ispell-complete-word): Call `ispell-lookup-words' with the value
7481         independent of `ispell-look-p'.
7483 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
7485         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7486         Not after "||".
7487         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7488         their parent.
7490 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7492         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
7493         (ruby-font-lock-keywords): Use backquote.
7495 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
7497         * progmodes/ruby-mode.el (ruby-smie--forward-token)
7498         (ruby-smie--backward-token): Only consider full-string matches.
7500 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
7502         * faces.el (describe-face): Add distant-foreground.
7504 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
7506         * progmodes/ruby-mode.el: Improve encoding comment handling.
7507         (ruby-encoding-magic-comment-style): New option.
7508         (ruby-custom-encoding-magic-comment-template): New option.
7509         (ruby--insert-coding-comment, ruby--detect-encoding):
7510         New functions extracted from `ruby-mode-set-encoding'.
7511         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7512         to control the style of the auto-inserted encoding comment.
7514 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
7516         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7517         Use `smie-backward-sexp' with token argument.
7519 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
7521         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7522         Remove instrumentation code.
7524 2013-11-08  Glenn Morris  <rgm@gnu.org>
7526         * progmodes/autoconf.el (autoconf-mode):
7527         Tweak comment-start-skip.  (Bug#15822)
7529 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7531         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7532         at bobp (bug#15826).
7533         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7535 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
7537         * man.el (Man-start-calling): New macro, extracted from
7538         Man-getpage-in-background.
7539         (Man-getpage-in-background): Use it.
7540         (Man-update-manpage): New command.
7541         (Man-mode-map): Bind it.
7543 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
7545         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7546         of "and", "or", "&&" and "||".
7547         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7548         argument.  Prohibit opening curly brace because it could only be a
7549         block opener in that position.
7550         (ruby-smie--forward-token, ruby-smie--backward-token):
7551         Separate "|" from "&" or "*" going after it.  That can happen in block
7552         arguments.
7553         (ruby-smie--indent-to-stmt): New function, seeks the end of
7554         previous statement or beginning of buffer.
7555         (ruby-smie-rules): Use it.
7556         (ruby-smie-rules): Check if there's a ":" before a curly block
7557         opener candidate; if there is, it's a hash.
7559 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7561         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7562         (cl--block-wrapper): Fix last accidental change.
7564 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
7566         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7567         Instrument, in order to hunt failure on hydra.
7569 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7571         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7572         malformed bindings form (bug#15814).
7574 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
7576         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7577         "." compared to " @ ".  This incidentally fixes some indentation
7578         examples with "do".
7579         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7580         (ruby-smie-grammar): New tokens: "and" and "or".
7581         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7582         Exclude "and" and "or".  Remove "do" in order to work around token
7583         priorities.
7584         (ruby-smie-rules): Add all infix tokens.  Handle the case of
7585         beginning-of-buffer.
7587 2013-11-06  Glenn Morris  <rgm@gnu.org>
7589         * Makefile.in (setwins_almost, setwins_for_subdirs):
7590         Avoid accidental matches.
7592 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7594         * menu-bar.el (popup-menu): Use key-binding.
7596 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
7598         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7599         menus, support also the menus produced by minor modes.
7600         (Bug#15817)
7602 2013-11-06  Leo Liu  <sdl.web@gmail.com>
7604         * thingatpt.el (thing-at-point-looking-at): Add optional arg
7605         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
7607 2013-11-06  Glenn Morris  <rgm@gnu.org>
7609         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7610         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7611         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7613 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7615         * electric.el (electric-indent-just-newline): New command.
7616         (electric-indent-mode-map): New keymap.
7617         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7618         Re-add :group which weren't redundant.
7620         * electric.el (electric-indent-local-mode): New minor mode.
7621         (electric-indent-functions-without-reindent): New var.
7622         (electric-indent-post-self-insert-function): Use it.
7623         * emacs-lisp/gv.el (buffer-local-value): Add setter.
7625 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
7627         * international/quail.el (quail-help): Be more explicit about the
7628         meaning of the labels shown on the keys.  (Bug#15800)
7630         * startup.el (normal-top-level): Load the subdirs.el files before
7631         setting the locale environment.  (Bug#15805)
7633 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7635         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7636         via arguments so as to get the right ones (bug#15418).
7638         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7640 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
7642         Fix problems found while writing a test suite.
7644         * net/tramp-compat.el (tramp-compat-load): New defun.
7645         * net/tramp.el (tramp-handle-load): Use it.
7647         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7648         "(numberp ok-if-already-exists)" correctly.
7650 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
7652         * international/characters.el (glyphless-char-display-control):
7653         Add usage note.
7655 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
7657         * progmodes/python.el (python-mode):
7658         * progmodes/scheme.el (scheme-mode):
7659         * progmodes/prolog.el (prolog-mode):
7660         * progmodes/ruby-mode.el (ruby-mode):
7661         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7662         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7664 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7666         * rect.el (rectangle--highlight-for-redisplay):
7667         * emacs-lisp/smie.el (smie--next-indent-change):
7668         Use buffer-chars-modified-tick.
7670         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7672         * electric.el (electric-indent-post-self-insert-function):
7673         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7675 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
7677         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7679 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7681         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7682         (bug#15786).
7684 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7686         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
7688         * progmodes/python.el: Fix up last change.
7689         (python-shell--save-temp-file): New function.
7690         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
7691         `string' comes from the current buffer.
7692         (python-shell-send-string-no-output): Remove `msg' arg.
7693         (python--use-fake-loc): New var.
7694         (python-shell-buffer-substring): Obey it.  Try to compensate for the
7695         extra coding line added by python-shell--save-temp-file.
7696         (python-shell-send-region): Use python-shell--save-temp-file and
7697         python-shell-send-file directly.  Add `nomain' argument.
7698         (python-shell-send-buffer): Use python-shell-send-region.
7699         (python-electric-pair-string-delimiter): New function.
7700         (python-mode): Use it.
7702 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
7704         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7705         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7706         environment and decoding all of the default-directory's to here
7707         from command-line.
7708         (command-line): Decode also argv[0].
7710         * loadup.el: Error out if default-directory is a multibyte string
7711         when we are dumping.
7713         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
7715 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
7717         * emacs-lisp/package.el (package-menu-mode)
7718         (package-menu--print-info, package-menu--archive-predicate):
7719         Add Archive column to package list.
7721 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
7723         Fix problems found while writing a test suite.
7725         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7726         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7727         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7728         to nil when running original file name handler.  Otherwise,
7729         there are problems with constructs like "$$FOO".
7731         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7732         for `localname'.
7734 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
7736         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7738         * subr.el (version<, version<=, version=):
7739         Update docstrings with information for snapshot versions.
7741         * helpers.el: New library for misc helper functions.
7742         (hash-table-keys): New function returning a list of hash keys.
7743         (hash-table-values): New function returning a list of hash values.
7745 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
7747         * progmodes/ruby-mode.el (ruby-smie--forward-token)
7748         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7750 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
7752         * textmodes/fill.el (fill-single-char-nobreak-p): New function
7753         checking whether point is after a 1-letter word.
7755 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7757         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7758         Don't infloop when expanding region over `multiline' syntax-type that
7759         begins a line (bug#15778).
7761 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7763         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7764         Make it into a proper minor mode.
7765         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7766         (rectangle-mark-mode-map): New keymap.
7767         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7769 2013-11-04  Glenn Morris  <rgm@gnu.org>
7771         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7773 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7775         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7776         (ruby-smie-rules): Use smie-rule-parent instead.
7778         * emacs-lisp/smie.el (smie-rule-parent): Always call
7779         smie-indent-virtual rather than only for hanging tokens.
7780         (smie--next-indent-change): New helper command.
7782 2013-11-03  Glenn Morris  <rgm@gnu.org>
7784         * Makefile.in (abs_srcdir): Remove.
7785         (emacs): Unset EMACSLOADPATH.
7787 2013-11-02  Glenn Morris  <rgm@gnu.org>
7789         * Makefile.in (EMACS): Use a relative filename.
7790         (abs_top_builddir): Remove.
7791         (custom-deps, finder-data, autoloads): Use --chdir.
7793         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7795         Use relative filenames in TAGS files.
7796         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7797         (lisptagsfiles4, TAGS): Use relative file names.
7798         (TAGS-LISP): Remove.
7799         (maintainer-clean): No more TAGS-LISP file.
7801         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7802         (lisptagsfiles4): Use absolute filenames again.
7803         (TAGS, TAGS-LISP): Not everything needs to run in one line.
7804         Remove all *loaddefs files, not just the first.  Remove esh-groups.
7805         (maintainer-clean): Delete TAGS, TAGS-LISP.
7807 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
7809         * emacs-lisp/package.el (package-version-join):
7810         Recognize snapshot versions.
7812 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
7814         * subr.el (version-regexp-alist): Add support for snapshot versions.
7816 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
7818         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7819         New function, replacement for `smie-rule-parent' for when we want to
7820         skip over our direct parent if it's an assignment token..
7821         (ruby-smie-rules): Use it.
7823 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
7825         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7826         unconditionally.  Remove now unnecessary forward declarations.
7827         Remove XEmacs-specific setup.
7828         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7829         (ruby-font-lock-syntactic-keywords)
7830         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7831         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7832         (ruby-here-doc-end-syntax): Remove.
7833         (ruby-mode): Don't check whether `syntax-propertize-rules' is
7834         defined as function.
7836 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
7838         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7840 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
7842         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7843         table and abbrev table, `define-derived-mode' does that for us
7844         anyway.
7846 2013-11-01  Glenn Morris  <rgm@gnu.org>
7848         * Makefile.in: Remove manual mh-e dependencies (writing .elc
7849         files is atomic for some time, so no parallel compilation issues).
7851 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
7853         * faces.el (face-x-resources): Add :distant-foreground.
7854         (region): Use :distant-foreground for gtk and ns.
7856 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
7858         Allow multiple bibliographies when BibLaTeX is used rather than
7859         BibTeX.
7860         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7861         (reftex-locate-bibliography-files): Us it.
7863 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
7865         * image.el (image-type-header-regexps): Fix the 'pbm' part to
7866         allow comments in pbm files.
7868         * term/w32-win.el (dynamic-library-alist): Support newer versions
7869         of libjpeg starting with v7: look only for the DLL from the
7870         version against which Emacs was built.
7871         Support versions of libpng beyond 1.4.x.
7872         Support libtiff v4.x.
7874 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
7876         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7877         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7878         Add property :safe.
7879         (ruby-deep-arglist): Add property :type.
7881 2013-10-31  Glenn Morris  <rgm@gnu.org>
7883         * Makefile.in (custom-deps, finder-data): No need to setq the target
7884         variables, we are in the right directory and the defaults work fine.
7886 2013-10-30  Glenn Morris  <rgm@gnu.org>
7888         * Makefile.in (autoloads): Do not use abs_lisp.
7890         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7891         `newline' does not respect `standard-output', so use `princ'.
7893 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
7895         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
7896         * buff-menu.el (Buffer-menu--unmark): New function.
7897         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7899 2013-10-30  Glenn Morris  <rgm@gnu.org>
7901         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7903         * emacs-lisp/package.el (lm-homepage): Declare.
7905         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7906         Fix doc typos.
7908         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7910         * Makefile.in (finder-data, autoloads, update-subdirs)
7911         (compile-main, compile-clean, compile-always, bootstrap-clean):
7912         Check return value of cd.
7913         (compile-calc): Remove.
7915 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7917         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7919         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7920         (byte-compile-and-folded): New function.
7921         (=, <, >, <=, >=): Use it.
7923         * dos-w32.el (minibuffer-history-case-insensitive-variables)
7924         (path-separator, null-device, buffer-file-coding-system)
7925         (lpr-headers-switches): Check system-type before modifying them.
7926         (find-buffer-file-type-coding-system): Mark obsolete.
7927         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7928         find-file-not-found-set-buffer-file-coding-system.
7929         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7930         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7931         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7932         (w32-direct-print-region-helper, w32-direct-print-region-function)
7933         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7934         * startup.el (normal-top-level-add-subdirs-to-load-path):
7935         * ps-print.el (ps-print-region-function):
7936         * lpr.el (print-region-function): Use new name.
7938         * subr.el (custom-declare-variable-early): Remove function.
7939         (custom-declare-variable-list): Remove var.
7940         (error, user-error): Remove `while' loop.
7941         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7942         (user-emacs-directory-warning, locate-user-emacs-file):
7943         Move to files.el.
7944         * simple.el (read-quoted-char-radix, read-quoted-char):
7945         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7946         Move from subr.el.
7947         * custom.el (custom-declare-variable-list): Don't process
7948         custom-declare-variable-list.
7950         * progmodes/python.el (python-shell-get-buffer): New function.
7951         (python-shell-get-process): Use it.
7952         (python-shell-send-string): Always use utf-8 and add a cookie to tell
7953         Python which encoding was used.  Don't split-string since we only care
7954         about the first line.  Return the temp-file, if applicable.
7955         (python-shell-send-region): Tell compile.el how to turn locations in
7956         the temp-file into locations in the source buffer.
7958 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7960         * subr.el (undefined): Add missing behavior from the C code for
7961         unbound keys.
7963         * rect.el: Use lexical-binding.  Add new rectangular region support.
7964         (rectangle-mark): New command.
7965         (rectangle--region): New var.
7966         (deactivate-mark-hook): Reset rectangle--region.
7967         (rectangle--extract-region, rectangle--insert-for-yank)
7968         (rectangle--highlight-for-redisplay)
7969         (rectangle--unhighlight-for-redisplay): New functions.
7970         (region-extract-function, redisplay-unhighlight-region-function)
7971         (redisplay-highlight-region-function): Use them to handle
7972         rectangular region.
7973         * simple.el (region-extract-function): New var.
7974         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7975         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7976         (kill-region): Replace obsolete `yank-handler' arg with `region'.
7977         (copy-region-as-kill, kill-ring-save): Add `region' argument.
7978         (redisplay-unhighlight-region-function)
7979         (redisplay-highlight-region-function): New vars.
7980         (redisplay--update-region-highlight): New function.
7981         (pre-redisplay-function): Use it.
7982         (exchange-point-and-mark): Don't deactivate the mark before
7983         reactivate-it anyway.
7984         * comint.el (comint-kill-region): Remove yank-handler argument.
7985         * delsel.el (delete-backward-char, backward-delete-char-untabify)
7986         (delete-char): Remove property, since it's now part of their
7987         default behavior.
7988         (self-insert-iso): Remove property since this command doesn't exist.
7990         * emacs-lisp/package.el (package--download-one-archive)
7991         (describe-package-1): Don't query the user about final newline.
7993 2013-10-29  Daniel Colascione  <dancol@dancol.org>
7995         * net/tramp.el (tramp-methods): Document new functionality.
7996         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7997         tramp-hostname-checker if method provides one instead of scanning
7998         argument list for "%h" to decide hostname acceptability.
8000 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
8002         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8003         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8004         Handle COPY-CONTENTS.  (Bug#15737)
8006 2013-10-28  Daiki Ueno  <ueno@gnu.org>
8008         * epa-file.el
8009         (epa-file-cache-passphrase-for-symmetric-encryption):
8010         Document that this option has no effect with GnuPG 2.0 (bug#15552).
8012 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
8014         * image.el (defimage, image-load-path): Doc fixes.
8016 2013-10-27  Alan Mackenzie  <acm@muc.de>
8018         Indent statements in macros following "##" correctly.
8019         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8020         Modify the "#" arm of a cond form to handle "#" and "##" operators.
8022 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8024         * linum.el (linum-update-window): Fix boundary test (bug#13446).
8026 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
8028         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
8029         after `=' is probably a new expression.
8031 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8033         * man.el (man-imenu-title): New option.
8034         (Man-mode-map): Add menu.  (Bug#15722)
8035         (Man-mode): Add imenu to menu.
8037 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
8039         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
8040         specific in what the first arg can be: a non-keyword word,
8041         string/regexp/percent literal opener, opening paren, or unary
8042         operator followed directly by word.
8044 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8046         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
8047         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
8048         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
8049         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
8050         Remove vars, they do not apply any more.
8051         (prolog-mode-abbrev-table): Remove redundant declaration.
8052         (prolog-upper-case-string, prolog-lower-case-string): Remove.
8053         (prolog-use-smie): Remove.
8054         (prolog-smie-rules): Add indentation rule for the if-then-else layout
8055         supported by prolog-electric-if-then-else-flag.
8056         (prolog-mode-variables, prolog-menu): Use setq-local.
8057         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
8058         Remove binding to `Backspace' since this key doesn't exist anyway.
8059         Remove bindings for electric self-inserting keys.
8060         (prog-mode): Assume it's defined.
8061         (prolog-post-self-insert): New function.
8062         (prolog-mode): Use it.
8063         (prolog-indent-line, prolog-indent-level)
8064         (prolog-find-indent-of-matching-paren)
8065         (prolog-indentation-level-of-line, prolog-goto-comment-column)
8066         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
8067         (prolog-goto-next-paren, prolog-in-string-or-comment)
8068         (prolog-tokenize, prolog-inside-mline-comment)
8069         (prolog-find-start-of-mline-comment): Remove functions.
8070         (prolog-find-unmatched-paren, prolog-clause-end)
8071         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
8072         (prolog-electric--if-then-else): Rename from
8073         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
8074         (prolog-tokenize-searchkey): Remove const.
8075         (prolog-clause-info): Use forward-sexp.
8076         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
8077         (prolog-electric-if-then-else): Remove commands.
8078         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
8079         for use in post-self-insert-hook.
8080         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
8081         for use in post-self-insert-hook.
8082         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
8083         for use in post-self-insert-hook.
8084         (prolog-electric--underscore): Rename from prolog-electric--underscore;
8085         adapt it for use in post-self-insert-hook.
8087 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
8089         * emacs-lisp/ert.el (ert-run-tests-interactively):
8090         Use `completing-read'.  (Bug#9756)
8092 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
8094         * simple.el (line-move): Call line-move-1 instead of
8095         line-move-visual when the current window hscroll is zero, but
8096         temporary-goal-column indicates we will need to hscroll as result
8097         of the movement.  (Bug#15712)
8099 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
8101         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
8102         capitalization.  Use :visible instead of :active.
8103         Fix `ruby-indent-exp' reference.  Add menu items for the generic
8104         commands that are used with SMIE.
8105         (ruby-do-end-to-brace): Insert space after `{'.
8107 2013-10-25  John Anthony  <john@jo.hnanthony.com>
8109         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
8111         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
8113 2013-10-25  Glenn Morris  <rgm@gnu.org>
8115         * vc/vc.el (vc-print-log): Don't use a working revision unless
8116         one was explicitly specified.  (Bug#15322)
8118 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8120         * subr.el (add-to-list): Preserve return value in compiler-macro
8121         (bug#15692).
8123 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8125         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
8126         result.  Ask user to retry using '-all' flag.  (Bug#15701)
8128 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8130         * emacs-lisp/smie.el: New smie-config system.
8131         (smie-config): New defcustom.
8132         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
8133         (smie-config-guess, smie-config-save): New commands.
8134         (smie-config--mode-local, smie-config--buffer-local)
8135         (smie-config--trace, smie-config--modefuns): New vars.
8136         (smie-config--advice, smie-config--mode-hook)
8137         (smie-config--setter, smie-config-local, smie-config--get-trace)
8138         (smie-config--guess-value, smie-config--guess): New functions.
8139         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
8140         text properties.  Treat "string fence" syntax like string syntax.
8142         * progmodes/sh-script.el (sh-use-smie): Change default.
8143         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
8144         (sh-var-value): Simplify by CSE.
8145         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
8146         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
8147         is used.
8148         (sh-guess-basic-offset): Use cl-incf.
8149         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
8151 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
8153         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
8154         (bug#15699).
8156 2013-10-24  Glenn Morris  <rgm@gnu.org>
8158         * Makefile.in (abs_top_srcdir): Remove.
8159         (update-subdirs): Use relative path to update-subdirs.
8161 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
8163         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8164         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8165         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8166         Call unmsys--file-name before expand-file-name, not after it.
8168 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
8170         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
8171         (ert-test-skipped): New error.
8172         (ert-skip, ert-stats-skipped): New defuns.
8173         (ert--skip-unless): New macro.
8174         (ert-test-skipped): New struct.
8175         (ert--run-test-debugger, ert-test-result-type-p)
8176         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
8177         (ert--stats-set-test-and-result, ert-char-for-test-result)
8178         (ert-string-for-test-result, ert-run-tests-batch)
8179         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
8180         Handle skipped tests.  (Bug#9803)
8182 2013-10-24  Glenn Morris  <rgm@gnu.org>
8184         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
8186         * Makefile.in (abs_top_srcdir): New, set by configure.
8187         (update-subdirs): Correct build-aux location.
8189 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
8191         * vc/vc.el (vc-print-root-log): Always set `default-directory'
8192         value, whether we could auto-deduce `backend', or not.
8194         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
8195         with parameters" example.  Simplify the "is it block or is it
8196         hash" check, but also make it more thorough.
8198 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
8200         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
8202 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8204         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8205         { if it is hanging.
8207         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8208         :before ";".
8210 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
8212         * progmodes/compile.el (compilation-directory-matcher)
8213         (compilation-page-delimiter):
8214         Support GNU Make-4.0 directory quoting.  (Bug#15678)
8216 2013-10-23  Leo Liu  <sdl.web@gmail.com>
8218         * ido.el (ido-tidy): Handle read-only text.
8220 2013-10-23  Glenn Morris  <rgm@gnu.org>
8222         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8223         (emacs, compile, compile-always):
8224         Quote entities that might contain whitespace.
8225         (custom-deps, finder-data, autoloads): Use abs_lisp.
8226         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8227         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8228         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8230 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
8232         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8233         Use `following-char'.
8235 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8237         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8238         * progmodes/ruby-mode.el (ruby-smie-rules):
8239         Remove corresponding workaround.  Fix indentation rule of ";" so it
8240         also applies when ";" is the parent.
8242 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
8244         * frame.el (display-screens, display-pixel-height)
8245         (display-pixel-width, display-mm-width, display-backing-store)
8246         (display-save-under, display-planes, display-color-cells)
8247         (display-visual-class, display-monitor-attributes-list):
8248         Mention the optional ‘display’ argument in doc strings.
8250 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
8252         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8253         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
8255 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
8257         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8258         TODO.  Add "." after " @ ".
8259         (ruby-smie--at-dot-call): New function.  Checks if point at method
8260         call with explicit target.
8261         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8262         to the method name tokens when it precedes them.
8263         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8264         (ruby-smie-rules): Add rule for indentation before and after "."
8265         token.
8267 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8269         * textmodes/remember.el (remember-diary-extract-entries):
8270         Avoid add-to-list.
8272         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8273         an instruction.
8275 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
8277         * progmodes/ruby-mode.el (ruby-smie-grammar):
8278         Add (almost) all infix operators.
8279         (ruby-smie--implicit-semi-p): Add new operator chars.
8281         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8282         `smie-down-list'.
8283         (ruby-smie--args-separator-p): Check that there's no newline
8284         between method call and its arguments.
8286 2013-10-20  Alan Mackenzie  <acm@muc.de>
8288         Allow comma separated lists after Java "implements".
8290         * progmodes/cc-engine.el (c-backward-over-enum-header):
8291         Parse commas.
8292         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8293         from a "disallowed" list in enum fontification.
8295 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
8297         * startup.el (default-frame-background-mode): Remove unused defvar.
8299         * progmodes/verilog-mode.el (verilog-mode): Don't set
8300         comment-indent-function globally.
8302 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
8304         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8305         Move Info menu item creation to ns-win.el.
8307         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8308         in menu bar.
8310         * menu-bar.el: Move GNUstep specific menus...
8312         * term/ns-win.el (ns-initialize-window-system): ... to here.
8314 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8316         * simple.el (newline): Only run post-self-insert-hook when
8317         called interactively.
8319 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
8321         * icomplete.el (icomplete-with-completion-tables): Add :version.
8323 2013-10-19  Alan Mackenzie  <acm@muc.de>
8325         Fix fontification bugs with constructors and const.
8327         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8328         CASE 2) Remove the check for the absence of a suffix construct
8329         after a function declaration with only types (no identifiers) in
8330         the parentheses.  Also, accept a function declaration with just a
8331         type inside the parentheses, if this type can be positively
8332         recognised as such, or if a prefix keyword like "explicit" nails
8333         down the construct as a declaration.
8335 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
8337         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8338         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
8339         the problem whereby selecting a menu item that leads to a
8340         minibuffer prompt moves the cursor out of the minibuffer window,
8341         making it hard to type at the prompt.  Suggested by Stefan Monnier
8342         <monnier@iro.umontreal.ca>.
8344 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
8346         * menu-bar.el: Don't make Services menu.
8348 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8350         * ffap.el: Handle "/usr/include/c++/<version>" directories.
8351         (ffap-alist): Use ffap-c++-mode for c++-mode.
8352         (ffap-c++-path): New variable.
8353         (ffap-c++-mode): New function.
8355 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
8357         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
8359 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
8361         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8362         introduced on 2013-09-08, which results in an infinite loop
8363         requesting a password.
8365 2013-10-18  Glenn Morris  <rgm@gnu.org>
8367         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8369 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
8371         Sync with upstream verilog-mode revision 1a6ecec7.
8372         * progmodes/verilog-mode.el (verilog-mode-version): Update.
8373         (verilog-mode-release-date): Remove.
8374         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8375         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8376         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8377         (verilog-auto-tieoff-ignore-regexp)
8378         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8379         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8380         (verilog-signals-with, verilog-dir-cache-preserving)
8381         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8382         Doc fixes.
8383         (verilog-case-fold): New option, to control case folding in
8384         regexp searches, bug597.
8385         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8386         (verilog-string-match-fold, verilog-in-paren-count)
8387         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8388         (verilog-at-close-struct-p): New functions.
8389         (verilog-beg-block-re-ordered, verilog-extended-case-re)
8390         (verilog-forward-sexp, verilog-set-auto-endcomments)
8391         (verilog-leap-to-case-head): Handle "unique0" case.
8392         (verilog-in-constraint-re): New constant.
8393         (verilog-keywords, verilog-type-font-keywords):
8394         Add some SystemVerilog 1800-2012 keywords.
8395         (verilog-label-be): Remove unimplemented argument, bug669.
8396         (verilog-batch-execute-func): When batch expanding clear
8397         create-lockfiles to prevent spurious user locks when a file ends
8398         up not changing.
8399         (verilog-calculate-indent, verilog-calc-1)
8400         (verilog-at-close-constraint-p, verilog-at-constraint-p)
8401         (verilog-do-indent): Fix indentation of nested constraints
8402         and structures.
8403         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8404         (verilog-auto-inst-param): Use verilog-string-match-fold.
8405         (verilog-read-inst-module-matcher):
8406         Fix AUTOINST on gate primitives with #1.
8407         (verilog-read-decls): Fix double-declaring user-defined typed signals.
8408         Reads all user-defined typed variables.
8409         (verilog-read-defines): Fix reading definitions inside comments, bug647.
8410         (verilog-signals-matching-regexp)
8411         (verilog-signals-not-matching-regexp, verilog-auto):
8412         Respect verilog-case-fold.
8413         (verilog-diff-report): Fix line count.
8414         (verilog-auto-assign-modport): Remove unused local `modi'.
8415         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8416         better handle multidimensional arrays.
8417         Fix packed array ports misadding bit index in AUTOINST, bug637.
8418         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8419         to not double-declare existing outputs and inputs, respectively.
8420         (verilog-template-map): Bind U to verilog-sk-uvm-component.
8421         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8422         (verilog-sk-uvm-component): New skeleton.
8423         (verilog-submit-bug-report): Add verilog-case-fold,
8424         remove verilog-mode-release-date.
8426 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
8428         * subr.el (sit-for): Call (input-pending-p t) so as to behave
8429         as before.
8431 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
8433         * textmodes/remember.el (remember): Set buffer-offer-save in
8434         remember buffers (bug#13566).
8436 2013-10-18  Daniel Colascione  <dancol@dancol.org>
8438         When evaluating forms in ielm, direct standard output to ielm
8439         buffer.  Add new ielm-return-for-effect command.  Remove trailing
8440         whitespace throughout.
8442         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8443         (ielm-return-for-effect): New command.
8444         (ielm-send-input): Accept optional `for-effect' parameter.
8445         (ielm-eval-input): Accept optional `for-effect' parameter.
8446         Bind `standard-output' to stream we create using
8447         `ielm-standard-output-impl'.  Suppress printing result when
8448         `for-effect'.
8449         (ielm-standard-output-impl): New function.
8450         (inferior-emacs-lisp-mode): Explain new features in documentation.
8452 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
8454         Code cleanup.
8456         * net/tramp.el (tramp-debug-message): Do not check for connection
8457         buffer.
8458         (tramp-message): Use "vector" connection property.
8460         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8461         (tramp-equal-remote, tramp-eshell-directory-change)
8462         * net/tramp-adb.el (tramp-adb-handle-copy-file)
8463         (tramp-adb-handle-rename-file)
8464         * net/tramp-cmds.el (tramp-list-remote-buffers)
8465         (tramp-cleanup-connection, tramp-cleanup-this-connection)
8466         * net/tramp-compat.el (tramp-compat-process-running-p)
8467         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8468         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8469         (tramp-gvfs-handle-rename-file)
8470         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8471         (tramp-set-file-uid-gid)
8472         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8473         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8474         of `file-remote-p'.
8476         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8477         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8478         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8479         (tramp-gw-open-network-stream): Suppress unrelated traces.
8481         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8482         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8483         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8484         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8485         connection property.
8487         * net/tramp-cache.el (top): Suppress traces when reading
8488         persistency file.
8490         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8491         Refactor common code.  Improve debug message.
8492         (tramp-maybe-open-connection)
8493         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8494         connection buffer too early.
8496         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8497         from `tramp-smb-actions-with-acl'.
8498         (tramp-smb-actions-set-acl): New defconst.
8499         (tramp-smb-handle-copy-directory)
8500         (tramp-smb-action-get-acl): New defun, renamed from
8501         `tramp-smb-action-with-acl'.
8502         (tramp-smb-action-set-acl): New defun.
8503         (tramp-smb-handle-set-file-acl): Rewrite.
8505 2013-10-17  Glenn Morris  <rgm@gnu.org>
8507         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
8509 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8511         * skeleton.el (skeleton-newline): Remove.
8512         (skeleton-internal-1): Use (insert "\n") instead.
8514         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8515         let-bindings.
8517         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8518         forward-sexp-function while we redo its job (bug#15613).
8520 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
8522         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8523         represented by lists.
8525 2013-10-16  Glenn Morris  <rgm@gnu.org>
8527         * tmm.el (tmm--history): New dynamic variable.
8528         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
8530 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
8532         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8533         (tramp-smb-errors): Add error messages.
8534         (tramp-smb-actions-with-acl): New defconst.
8535         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8536         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8537         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8538         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8539         (tramp-smb-get-stat-capability): Fix tests.
8541 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
8543         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8544         (bug#15580).
8546 2013-10-16  Glenn Morris  <rgm@gnu.org>
8548         * ansi-color.el (ansi-color-drop-regexp):
8549         Add 1J, 1K, 2K.  (Bug#15617)
8551         * files.el (hack-local-variables--warned-lexical): New.
8552         (hack-local-variables):
8553         Warn about misplaced lexical-binding.  (Bug#15616)
8555         * net/eww.el (eww-render): Always set eww-current-url,
8556         and update header line.  (Bug#15622)
8557         (eww-display-html): ... Rather than just doing it here.
8559 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
8561         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8562         menu navigations commands.
8564 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
8566         * progmodes/subword.el (subword-capitalize): Be careful when
8567         the search for [[:alpha:]] fails (bug#15580).
8569 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
8571         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8572         to commands that scroll the menu.
8574 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
8576         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8577         Handle methods ending with `?' and `!'.
8579 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
8581         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8582         `japanese-cp932' to `cp932' to fix the problem where saving a
8583         source file written in Shift_JIS twice would end up having
8584         `coding: japanese-cp932' which Ruby could not recognize.
8585         (ruby-mode-set-encoding): Add support for encodings mapped to nil
8586         in `ruby-encoding-map'.
8587         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8588         doesn't need to be explicitly declared in magic comment.
8589         (ruby-encoding-map): Add type declaration for better customize UI.
8591 2013-10-13  Glenn Morris  <rgm@gnu.org>
8593         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8594         Occur buffers are read-only.  http://bugs.debian.org/720775
8596         * emacs-lisp/authors.el (authors-fixed-entries):
8597         Comment out old alpha stuff.
8599 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
8601         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8602         to `after-save-hook' instead of `before-save-hook'.
8603         (ruby-mode-set-encoding): Use the value of coding system used to
8604         write the file.  Call `basic-save-buffer-1' after modifying the
8605         buffer.
8607 2013-10-13  Alan Mackenzie  <acm@muc.de>
8609         Fix indentation/fontification of Java enum with
8610         "implements"/generic.
8612         * progmodes/cc-engine.el (c-backward-over-enum-header):
8613         Extracted from the three other places and enhanced to handle generics.
8614         (c-inside-bracelist-p): Uses new function above.
8615         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8616         function above.
8617         (c-font-lock-enum-tail): Uses new function above.
8619 2013-10-13  Kenichi Handa  <handa@gnu.org>
8621         * international/mule-cmds.el (select-safe-coding-system): Remove a
8622         superfluous condition in chekcing whether a coding system is safe
8623         or not.
8625 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
8627         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
8629 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
8631         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
8633 2013-10-13  Glenn Morris  <rgm@gnu.org>
8635         * menu-bar.el (menu-bar-update-buffers):
8636         Unify Buffers menu prompt string.  (Bug#15576)
8638         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
8640         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8641         Add some entries.
8642         (authors-fixed-entries): Use accented form of name.
8644 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8646         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8647         method calls (bug#15594).
8648         (ruby-smie--args-separator-p): New function.
8649         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8650         recognize paren-free method calls.
8652         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8653         internals of universal-argument.
8655 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
8657         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8658         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8659         dropped menu on second mouse click on the menu bar.
8661 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8663         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8664         (explicit-shell-file-name): Declare.
8665         (sh--vars-before-point, sh--cmd-completion-table): New functions.
8666         (sh-completion-at-point-function): New function.
8667         (sh-mode): Use it.
8668         (sh-smie--keyword-p): Remove unused argument.
8669         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8670         vars.
8671         (sh-set-shell): Always setup SMIE, even if we use the
8672         old indentation code.
8674 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
8676         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8677         cases of ? and =.
8678         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
8679         predicate would return nil are almost non-existent.
8680         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8682         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8683         cache also after commands that modify the buffer but don't move
8684         point.
8686 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8688         * env.el (substitute-env-in-file-name): New function.
8689         (substitute-env-vars): Extend the meaning of the optional arg.
8691 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
8693         * term/w32-win.el (dynamic-library-alist): Define separate lists
8694         of GIF DLLs for versions before and after 5.0.0 of giflib.
8695         (Bug#15531)
8697 2013-10-10  João Távora  <joaotavora@gmail.com>
8699         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8700         not locked, use last revision and current source as
8701         defaults.  (Bug#15569)
8703 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
8705         * menu-bar.el (menu-bar-open): Don't use popup-menu if
8706         menu-bar is hidden.
8708 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
8710         * window.el (pop-to-buffer-same-window): Fix doc-string.
8711         (Bug#15492)
8713 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8715         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8717 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
8719         * calendar/icalendar.el (icalendar-import-file):
8720         Fix interactive spec.  (Bug#15482)
8722 2013-10-10  Glenn Morris  <rgm@gnu.org>
8724         * desktop.el (desktop-save): Default to saving in .emacs.d,
8725         since PWD is no longer in desktop-path by default.  (Bug#15319)
8727         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8728         now that text mode has a menu with the same entry.
8729         (menu-bar-text-mode-auto-fill): Remove now unused func.
8730         * textmodes/text-mode.el (text-mode-map):
8731         Use auto-fill help text from menu-bar.el.
8733 2013-10-10  John Anthony  <john@jo.hnanthony.com>
8735         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
8737 2013-10-09  Juri Linkov  <juri@jurta.org>
8739         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8740         instead of this-command-keys.  Add universal-argument-more and
8741         universal-argument-minus to the list of prefix commands.  (Bug#15568)
8743 2013-10-09  Glenn Morris  <rgm@gnu.org>
8745         * vc/vc-svn.el (vc-svn-create-repo):
8746         Expand paths in file://... url.  (Bug#15446)
8748         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8749         Add some entries.
8750         (authors): Remove unused local variables.
8752 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8754         * profiler.el: Create a more coherent calltree from partial backtraces.
8755         (profiler-format): Hide the tail with `invisible' so that C-s can still
8756         find the hidden elements.
8757         (profiler-calltree-depth): Don't recurse so enthusiastically.
8758         (profiler-function-equal): New hash-table-test.
8759         (profiler-calltree-build-unified): New function.
8760         (profiler-calltree-build): Use it.
8761         (profiler-report-make-name-part): Indent the calltree less.
8762         (profiler-report-mode): Add visibility specs for profiler-format.
8763         (profiler-report-expand-entry, profiler-report-toggle-entry):
8764         Expand the whole subtree when provided with a prefix arg.
8766 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
8768         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8769         iuwu-mod token.
8770         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8771         hanging iuwu-mod token.
8772         (ruby-smie--forward-token): Do not include a dot after a token in
8773         that token.
8774         (ruby-smie--backward-token): Likewise.
8776 2013-10-08  Juri Linkov  <juri@jurta.org>
8778         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8779         to isearch-other-control-char.
8780         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8781         and isearch-post-command-hook to post-command-hook.
8782         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8783         and isearch-post-command-hook from post-command-hook.
8784         (isearch-unread-key-sequence)
8785         (isearch-reread-key-sequence-naturally)
8786         (isearch-lookup-scroll-key, isearch-other-control-char)
8787         (isearch-other-meta-char): Remove functions.
8788         (isearch-pre-command-hook, isearch-post-command-hook):
8789         New functions based on isearch-other-meta-char rewritten
8790         relying on the new behavior of overriding-terminal-local-map
8791         that does not replace the local keymaps any more.  (Bug#15200)
8793 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
8795         Support menus on text-mode terminals.
8796         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8797         functionality.
8799         * tooltip.el (tooltip-mode): Don't error out on TTYs.
8801         * menu-bar.el (popup-menu, popup-menu-normalize-position):
8802         Move here from mouse.el.
8803         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8804         and arrow keys.
8805         (tty-menu-navigation-map): New map for TTY menu navigation.
8807         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8809         * frame.el (display-mouse-p): Report text-mode mouse as available
8810         on w32.
8811         (display-popup-menus-p): Report availability if mouse is
8812         available; don't condition on window-system.
8814         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8815         (tty-menu-selected-face): New faces.
8817 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8819         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8820         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8821         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8822         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8823         New constants.
8824         (lisp-mode-variables): New `elisp' argument.
8825         (emacs-lisp-mode): Use it.
8826         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8827         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8829         * indent.el: Use lexical-binding.
8830         (indent-region): Add progress reporter.
8831         (tab-stop-list): Make it implicitly extend to infinity by repeating the
8832         last step.
8833         (indent--next-tab-stop): New function to implement this behavior.
8834         (tab-to-tab-stop, move-to-tab-stop): Use it.
8836 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
8838         * indent.el (indent-rigidly--current-indentation): New function.
8839         (indent-rigidly-map): New var.
8840         (indent-rigidly): Use it to provide interactive mode (bug#8196).
8842 2013-10-08  Bastien Guerry  <bzg@gnu.org>
8844         * register.el (insert-register): Fix 2013-10-07 change.
8846 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8848         * progmodes/perl-mode.el: Use lexical-binding.
8849         Remove redundant :group args.
8850         (perl-nochange): Change default to be closer to other major modes's
8851         standard behavior.
8852         (perl-indent-line): Don't consider text on current line as a
8853         valid beginning of function from which to indent.
8855         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8856         with more than one argument (bug#15538).
8858         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8860         * vc/pcvs.el: Use lexical-binding.
8861         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8862         environment of `eval'.
8863         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8864         than a list of expressions.  Adjust callers.
8865         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8867 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
8869         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8870         case of the dot in a chained method call being on the following line.
8872 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8874         * electric.el (electric-indent-inhibit): New var.
8875         (electric-indent-post-self-insert-function): Use it.
8876         * progmodes/python.el (python-mode): Set it.
8878         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8879         open braces.
8881         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8883         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8884         (css-mode): Use electric-indent-chars.
8886         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8887         (font-lock-beg, font-lock-end): Move before first use.
8888         (nxml-mode): Use syntax-propertize-function.
8889         (nxml-after-change, nxml-after-change1): Adjust accordingly.
8890         (nxml-extend-after-change-region): Remove.
8891         * nxml/xmltok.el: Use lexical-binding.
8892         (xmltok-save): Use `declare'.
8893         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8894         * nxml/nxml-util.el: Use lexical-binding.
8895         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8896         Use `declare'.
8897         * nxml/nxml-ns.el: Use lexical-binding.
8898         (nxml-ns-save): Use `declare'.
8899         (nxml-ns-prefixes-for): Avoid add-to-list.
8900         * nxml/rng-match.el: Use lexical-binding.
8901         (rng--ipattern): Use cl-defstruct.
8902         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8903         (rng-cons-group-after, rng-subst-group-after)
8904         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8905         Use closures instead of `(lambda...).
8907 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
8909         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8910         of BEG and END.
8912         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8913         Use `tramp-handle-insert-file-contents'.
8914         (tramp-gvfs-handle-insert-file-contents): Remove function.
8916         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8917         Use `save-restriction' in order to keep markers.
8919         * net/trampver.el: Update release number.
8921 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8923         * progmodes/compile.el (compilation-parse-errors):
8924         Use compilation--put-prop.
8925         (compilation--ensure-parse): Check compilation-multiline.
8927         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8929         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8930         lexical-binding.
8932         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8934         * progmodes/ruby-mode.el: Fix recently added tests.
8935         (ruby-smie-grammar): Add - and +.
8936         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8937         (ruby-smie--backward-id): New functions.
8938         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8939         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
8940         any more.
8942 2013-10-07  Leo Liu  <sdl.web@gmail.com>
8944         * register.el (register-preview-delay)
8945         (register-preview-functions): New variables.
8946         (register-read-with-preview, register-preview)
8947         (register-describe-oneline): New functions.
8948         (point-to-register, window-configuration-to-register)
8949         (frame-configuration-to-register, jump-to-register)
8950         (number-to-register, view-register, insert-register)
8951         (copy-to-register, append-to-register, prepend-to-register)
8952         (copy-rectangle-to-register): Use register-read-with-preview to
8953         read register.  (Bug#15525)
8955 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
8957         * net/network-stream.el (network-stream-open-starttls): Don't add
8958         --insecure if it's already present, because that gnutls-cli
8959         rejects getting that parameter twice.
8961 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
8963         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8964         keyword, too.
8966 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
8968         * newcomment.el (comment-use-global-state): Change default value
8969         to t, mark obsolete (Bug#15251).
8970         (comment-beginning): In addition to `comment-to-syntax', check the
8971         value of `comment-use-global-state'.
8973 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8975         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8976         (ruby-comment-column): Follow the global default, by default.
8977         (ruby-smie-grammar): Add assignment syntax.
8978         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8979         open-paren, a comma, or a \.
8980         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8981         and line continuations.
8982         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8983         followed by implicit semi-colons.  Add rule for string concatenation
8984         and for indentation at BOB.
8985         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8987         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8988         calling next-sexp, since next-token may have skipped chars which
8989         next-sexp doesn't know should be skipped!
8991 2013-10-05  Leo Liu  <sdl.web@gmail.com>
8993         * progmodes/octave.el (octave-send-region):
8994         Call compilation-forget-errors.
8996 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
8998         * vc/vc-svn.el (vc-svn-find-admin-dir):
8999         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
9000         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
9001         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
9002         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
9004 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9006         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
9008 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9010         * subr.el (read-passwd): Hide chars even when called within a context
9011         where after-change-functions is disabled (bug#15501).
9012         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
9013         until we removed ourself from overriding-terminal-local-map.
9015 2013-10-04  Leo Liu  <sdl.web@gmail.com>
9017         * progmodes/octave.el (inferior-octave-mode):
9018         Call compilation-forget-errors.
9020 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
9022         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
9024 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
9026         * net/secrets.el (secrets-create-collection): Add optional
9027         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
9028         dbus-call-method argument.  (Bug#15516)
9030 2013-10-04  Leo Liu  <sdl.web@gmail.com>
9032         * progmodes/octave.el (inferior-octave-error-regexp-alist)
9033         (inferior-octave-compilation-font-lock-keywords): New variables.
9034         (compilation-error-regexp-alist)
9035         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
9036         (inferior-octave-mode): Use compilation-shell-minor-mode.
9038 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
9040         * minibuffer.el (completion--replace): Be careful that `end' might be
9041         a marker.
9043 2013-10-03  Daiki Ueno  <ueno@gnu.org>
9045         Add support for package signature checking.
9046         * emacs-lisp/package.el (url-http-file-exists-p)
9047         (epg-make-context, epg-context-set-home-directory)
9048         (epg-verify-string, epg-context-result-for)
9049         (epg-signature-status, epg-signature-to-string)
9050         (epg-check-configuration, epg-configuration)
9051         (epg-import-keys-from-file): Declare.
9052         (package-check-signature): New user option.
9053         (package-unsigned-archives): New user option.
9054         (package-desc): Add `signed' field.
9055         (package-load-descriptor): Set `signed' field if .signed file exists.
9056         (package--archive-file-exists-p): New function.
9057         (package--check-signature): New function.
9058         (package-install-from-archive): Check package signature.
9059         (package--download-one-archive): Check archive signature.
9060         (package-delete): Remove .signed file.
9061         (package-import-keyring): New command.
9062         (package-refresh-contents): Import default keyring.
9063         (package-desc-status): Add "unsigned" status.
9064         (describe-package-1, package-menu--print-info)
9065         (package-menu-mark-delete, package-menu--find-upgrades)
9066         (package-menu--status-predicate): Support "unsigned" status.
9068 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9070         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
9071         the new compilation scheme using the new byte-codes.
9073         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
9074         (byte-pophandler): New byte codes.
9075         (byte-goto-ops): Adjust accordingly.
9076         (byte-compile--use-old-handlers): New var.
9077         (byte-compile-catch): Use new byte codes depending on
9078         byte-compile--use-old-handlers.
9079         (byte-compile-condition-case--old): Rename from
9080         byte-compile-condition-case.
9081         (byte-compile-condition-case--new): New function.
9082         (byte-compile-condition-case): New function that dispatches depending
9083         on byte-compile--use-old-handlers.
9084         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
9085         when we can.
9087         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9088         Optimize under `condition-case' and `catch' if
9089         byte-compile--use-old-handlers is nil.
9090         (disassemble-offset): Handle new bytecodes.
9092 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9094         * subr.el (error): Use `declare'.
9095         (decode-char, encode-char): Use advertised-calling-convention instead
9096         of the docstring to discourage use of the `restriction' arg.
9098 2013-10-03  Daiki Ueno  <ueno@gnu.org>
9100         * epg.el (epg-verify-file): Add a comment saying that it does not
9101         notify verification error as a return value nor a signal.
9102         (epg-verify-string): Ditto.
9104 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
9106         * progmodes/compile.el (compilation-start): Try globbing the arg to
9107         `cd' (bug#15417).
9109 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
9111         Sync with Tramp 2.2.8.
9113         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
9114         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
9115         * net/trampver.el: Update release number.
9117 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
9119         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9120         and default-process-coding-system for darwin only.
9122 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9124         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
9126 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
9128         * vc/vc-git.el (vc-git-grep): Disable pager.
9130 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
9132         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
9133         Use :url instead of :homepage, as per
9134         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
9136         * newcomment.el (comment-beginning): When `comment-use-syntax' is
9137         non-nil, use `syntax-ppss' (Bug#15251).
9139 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9141         * progmodes/octave.el (inferior-octave-startup-file):
9142         Prefer ~/.emacs.d/init_octave.m.
9144 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
9146         * emacs-lisp/package.el (package-desc-from-define):
9147         Accept additional arguments as plist, convert them to an alist and store
9148         them in the `extras' slot.
9149         (package-generate-description-file): Convert extras alist back to
9150         plist and append to the `define-package' form arguments.
9151         (package--alist-to-plist): New function.
9152         (package--ac-desc): Add `extras' slot.
9153         (package--add-to-archive-contents): Check if the archive-contents
9154         vector is long enough, and if it is, pass its `extras' slot value
9155         to `package-desc-create'.
9156         (package-buffer-info): Call `lm-homepage', pass the returned value
9157         to `package-desc-from-define'.
9158         (describe-package-1): Render the homepage button (Bug#13291).
9160         * emacs-lisp/package-x.el (package-upload-buffer-internal):
9161         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
9163 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
9165         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9166         and default-process-coding-system to utf-8-unix (Bug#15402).
9168 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
9170         * subr.el (looking-back): Do not recommend using looking-back.
9172 2013-09-28  Alan Mackenzie  <acm@muc.de>
9174         Fix indentation/fontification of Java enum with "implements".
9176         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
9177         regexp which matches "implements", etc., in Java.
9178         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
9179         specifier clauses coming after "enum".
9180         * progmodes/cc-fonts.el (c-font-lock-declarations)
9181         (c-font-lock-enum-tail): Check for extra specifier clauses coming
9182         after "enum".
9184 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
9186         * faces.el (region): Change ns_selection_color to
9187         ns_selection_fg_color, add ns_selection_bg_color.
9189 2013-09-28  Leo Liu  <sdl.web@gmail.com>
9191         * progmodes/octave.el (inferior-octave-completion-table)
9192         (inferior-octave-completion-at-point): Minor tweaks.
9194         * textmodes/ispell.el (ispell-lookup-words): Rename from
9195         lookup-words.  (Bug#15460)
9196         (lookup-words): Obsolete.
9197         (ispell-complete-word, ispell-command-loop): All uses changed.
9199 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9201         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9202         (octave-mode-menu): Add octave-send-buffer.
9203         (octave-send-buffer): New function.
9205 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9207         * progmodes/octave.el (octave-mode-map): Add key binding for
9208         octave-lookfor.
9209         (octave-mode-menu): Add octave-lookfor.
9210         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9211         octave-lookfor.
9212         (octave-lookfor): New function.
9214 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9216         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9217         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9218         its convention.
9219         (cl--loop-set-iterator-function): New function.
9220         (cl-loop): Adjust accordingly, so as not to use cl-subst.
9221         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9222         Bind `it' with `let' instead of substituting it with `cl-subst'.
9223         (cl--unused-var-p): New function.
9224         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9225         Eliminate some unused variable warnings (bug#15326).
9227 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
9229         * doc-view.el (doc-view-scale-reset): Rename from
9230         `doc-view-reset-zoom-level'.
9231         (doc-view-scale-adjust): New command.
9232         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9233         `doc-view-scale-adjust'.
9235 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
9237         * doc-view.el (doc-view-reset-zoom-level): New command.
9238         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9239         zoom commands (bug#15466).
9241 2013-09-26  Kenichi Handa  <handa@gnu.org>
9243         * international/quail.el (quail-help): Make it not a command.
9245 2013-09-26  Leo Liu  <sdl.web@gmail.com>
9247         * minibuffer.el (completion-all-sorted-completions): Make args
9248         optional as they are.
9250 2013-09-25  Daniel Colascione  <dancol@dancol.org>
9252         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9253         specs are and that they're not evaluated.
9255 2013-09-24  Sam Steingold  <sds@gnu.org>
9257         * midnight.el (clean-buffer-list-kill-regexps)
9258         (clean-buffer-list-kill-buffer-names): Update for the new Man
9259         buffer naming which includes the object name.
9261 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9263         * eshell/esh-cmd.el (eshell--sep-terms): New var.
9264         (eshell-parse-command, eshell-parse-pipeline): Use it since
9265         eshell-separate-commands requires a dynamic scoped var.
9266         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9268 2013-09-23  Leo Liu  <sdl.web@gmail.com>
9270         * autoinsert.el (auto-insert-alist): Make the value of
9271         lexical-binding match its file setting.
9273 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
9275         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9277         * autoarg.el (autoarg-kp-digit-argument):
9278         * electric.el (Electric-command-loop):
9279         * kmacro.el (kmacro-step-edit-insert):
9280         Do not set universal-argument-num-events.
9282 2013-09-22  Leo Liu  <sdl.web@gmail.com>
9284         * files.el (interpreter-mode-alist): Add octave.
9286 2013-09-21  Alan Mackenzie  <acm@muc.de>
9288         C++: fontify identifier in declaration following "public:" correctly.
9289         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9290         to match "public", etc.
9291         (c-decl-prefix-re): Add ":" into the C++ value.
9292         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9293         bit.  Add a check for a ":" preceded by "public", etc.
9295 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
9297         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9298         recognized by GDB 7.5 and later.
9300 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
9302         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9304 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9306         * subr.el (internal--call-interactively): New const.
9307         (called-interactively-p): Use it (bug#3984).
9309 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
9311         * vc/pcvs.el (cvs-mode-ignore):
9312         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9313         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9315 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9317         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
9318         (eshell-ls-orig-insert-directory): Remove.
9319         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
9320         (eshell-ls-use-in-dired): Use advice-add/remove.
9321         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9322         Add `orig-fun' arg for use in :around advice.
9323         Make it check (redundantly) eshell-ls-use-in-dired.
9325 2013-09-19  Glenn Morris  <rgm@gnu.org>
9327         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9329         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9331         * emacs-lisp/eieio.el (class-parent): Undo previous change.
9333 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
9335         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9336         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9337         (tramp-get-remote-python): New defuns.
9338         (tramp-get-remote-uid-with-perl)
9339         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
9340         contributed by yary <not.com@gmail.com> (tiny change).
9341         (tramp-get-remote-uid-with-python)
9342         (tramp-get-remote-gid-with-python): New defuns.  Python code
9343         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9344         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9346 2013-09-19  Glenn Morris  <rgm@gnu.org>
9348         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9350         * eshell/em-unix.el (eshell-remove-entries):
9351         Rename argument to avoid name-clash with global `top-level'.
9353         * eshell/esh-proc.el (eshell-kill-process-function):
9354         Remove eshell-reset-after-proc from eshell-kill-hook if present.
9355         (eshell-reset-after-proc): Remove unused arg `proc'.
9357         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9358         (directory-files-and-attributes): Mark unused arg.
9360         * eshell/em-unix.el (eshell-remove-entries):
9361         Remove unused arg `path'.  Update callers.
9363         * eshell/em-hist.el (eshell-hist-parse-arguments):
9364         Remove unused arg `silent'.  Update callers.
9366         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9367         Fix (f)boundp mix-up.
9369         * eshell/em-smart.el (eshell-smart-scroll-window)
9370         (eshell-disable-after-change):
9371         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9373 2013-09-18  Alan Mackenzie  <acm@muc.de>
9375         Fix fontification of type when followed by "const".
9376         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9377         "known" types from fontification.
9379 2013-09-18  Glenn Morris  <rgm@gnu.org>
9381         * emacs-lisp/chart.el (x-display-color-cells): Declare.
9382         (chart-face-list): Drop Emacsen without display-color-p.
9384         * net/eww.el (libxml-parse-html-region): Declare.
9385         (eww-display-html): Explicit error if no libxml2 support.
9387         * doc-view.el (doc-view-mode): Silence --without-x compilation.
9389         * image.el (image-type-from-buffer, image-multi-frame-p):
9390         Remove --without-x warning/error.
9392         * mouse.el (mouse-yank-primary):
9393         * term.el (term-mouse-paste):
9394         Reorder to silence --without-x compilation.
9396         * mpc.el (doc-view-mode): Silence --without-x compilation.
9398         * mail/rmailmm.el (rmail-mime-set-bulk-data):
9399         Silence --without-x compilation.
9401         * progmodes/gud.el (gud-find-file, gud-mode):
9402         Silence --without-x compilation.
9403         (tooltip-mode): Declare.
9405         * wdired.el (dired-backup-overwrite): Remove declaration.
9406         (wdired-mode-map): Add doc string.
9408         * custom.el (x-get-resource): Declare.
9410         * eshell/em-glob.el (ange-cache):
9411         * eshell/em-unix.el (ange-cache): Declare.
9413         * faces.el (x-display-list, x-open-connection, x-get-resource):
9414         Declare.
9416         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9417         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9418         Declare.
9420         * frame.el (x-display-grayscale-p, x-display-name): Declare.
9422         * net/gnutls.el (gnutls-log-level): Declare.
9424         * net/shr.el (image-size, image-animate): Declare.
9426         * simple.el (font-info): Declare.
9428         * subr.el (x-popup-dialog): Declare.
9430         * term/common-win.el (x-select-enable-primary)
9431         (x-last-selected-text-primary, x-last-selected-text-clipboard):
9432         Declare.
9434         * term/ns-win.el (x-handle-args): Declare.
9436         * term/x-win.el (x-select-enable-clipboard): Declare.
9438         * term/w32-win.el (create-default-fontset): Declare.
9440         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9441         Declare.
9443         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9444         (fit-frame-to-buffer): Explicit error if --without-x.
9445         (mouse-autoselect-window-select): Silence compiler.
9447         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9449         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9450         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9451         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9452         * eshell/esh-util.el (eshell-sublist):
9453         Remove unused local variables.
9455         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9457         * textmodes/two-column.el: Make 2C-split work for --without-x.
9458         (scroll-bar-columns): Autoload.
9459         (top-level): Require fringe when compiling.
9461 2013-09-18  Leo Liu  <sdl.web@gmail.com>
9463         * subr.el (add-hook): Robustify to handle closure as well.
9465 2013-09-17  Glenn Morris  <rgm@gnu.org>
9467         * simple.el (messages-buffer-mode-map): Unbind "g".
9469 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9471         * help-mode.el (help-mode-finish): Use derived-mode-p.
9472         Remove obsolete highlighting.
9474         * play/life.el (life-mode): Use define-derived-mode.  Derive from
9475         special-mode.
9476         (life): Let-bind inhibit-read-only.
9477         (life-setup): Avoid `setq'.  Use `life-mode'.
9479         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9480         which should not be needed any more.
9481         (package-menu-refresh, package-menu-describe-package): Use user-error.
9483         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9484         (eshell-post-rewrite-command-hook): Make obsolete.
9485         (eshell-parse-command): Simplify.
9486         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9487         (eshell--cmd): Declare.
9488         (eshell-parse-pipeline): Remove unused var `final-p'.
9489         Pass a dynvar to eshell-post-rewrite-command-hook.
9490         Implement the new eshell-post-rewrite-command-function.
9491         (eshell-invoke-directly): Remove unused arg `input'.
9492         * eshell/esh-io.el (eshell-io-initialize):
9493         Use eshell-post-rewrite-command-function (bug#15399).
9494         (eshell--apply-redirections): Rename from eshell-apply-redirections;
9495         adjust to new calling convention.
9496         (eshell-create-handles): Rename args to avoid clashing with dynvar
9497         `standard-output'.
9499 2013-09-17  Glenn Morris  <rgm@gnu.org>
9501         * simple.el (messages-buffer-mode): New major mode.
9502         (messages-buffer): New function.
9503         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9504         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9505         (ert-run-test): Use `messages-buffer' function.
9506         (ert--force-message-log-buffer-truncation): Ignore read-only.
9507         * help.el (view-echo-area-messages): Use `messages-buffer' function.
9508         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9510 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9512         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9514         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9516 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9518         * icomplete.el (icomplete-in-buffer): New var.
9519         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9520         vars and replace them with functions.
9521         (icomplete-minibuffer-setup): Adjust accordingly.
9522         (icomplete--completion-table, icomplete--completion-predicate)
9523         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9524         New functions.
9525         (icomplete-forward-completions, icomplete-backward-completions)
9526         (icomplete-simple-completing-p, icomplete-exhibit)
9527         (icomplete-completions): Use them.
9528         (icomplete--in-region-buffer): New var.
9529         (icomplete--in-region-setup): New function.
9530         (icomplete-mode): Use it.
9532         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9533         (bug#15379).
9534         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9535         return args and options.
9536         (eshell-eval-using-options): Use the new return value of
9537         eshell--do-opts to set the options's vars in their scope.
9538         (eshell--set-option): Rename from eshell-set-option.
9539         Add arg `opt-vals'.
9540         (eshell--process-option): Rename from eshell-process-option.
9541         Add arg `opt-vals'.
9542         (eshell--process-args): Use an `opt-vals' alist to store the options's
9543         values during their processing and return them additionally to the
9544         remaining args.
9546 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
9548         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9549         continuation character an operator, as far as indentation is
9550         concerned (Bug#15369).
9552 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
9554         * window.el (window--state-put-2): Don't process buffer state
9555         when buffer doesn't exist any more (Bug#15382).
9557 2013-09-15  Glenn Morris  <rgm@gnu.org>
9559         * eshell/em-unix.el (eshell/rm):
9560         Make -f ignore missing files.  (Bug#15373)
9562         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
9563         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9564         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9566 2013-09-14  Glenn Morris  <rgm@gnu.org>
9568         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9570 2013-09-13  Glenn Morris  <rgm@gnu.org>
9572         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9573         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
9575 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
9577         * frame.el (x-focus-frame): Mark as declared in frame.c.
9579 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9581         * ls-lisp.el: Use advice-add.
9582         (original-insert-directory): Remove.
9583         (ls-lisp--insert-directory): Rename from insert-directory; add
9584         `orig-fun' argument.
9585         (insert-directory): Advise.
9587 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
9589         * term.el (term-emulate-terminal): Decode the command string
9590         before passing it to term-command-hook.  (Bug#15337)
9592 2013-09-13  Glenn Morris  <rgm@gnu.org>
9594         * eshell/esh-util.el (ange-cache): Move declaration earlier.
9596         * eshell/esh-ext.el (eshell-search-path): Declare.
9598         * eshell/em-prompt.el (eshell/pwd): Autoload it.
9599         Otherwise an error occurs if eshell-dirs module not loaded.
9601         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9603 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
9605         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9606         `tramp-check-proper-host'.  Check for a valid method name.
9608         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9609         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9610         * net/tramp-sh.el (tramp-maybe-open-connection):
9611         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9613         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9614         also for hash values.
9616 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9618         * term/ns-win.el (parameters): Don't declare as dynamic.
9619         (before-make-frame-hook): Don't add ineffective function.
9621         * eshell/*.el: Use lexical-binding (bug#15231).
9623 2013-09-12  Kenichi Handa  <handa@gnu.org>
9625         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9627 2013-09-12  Glenn Morris  <rgm@gnu.org>
9629         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9630         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9632         * subr.el (do-after-load-evaluation): Also give compiler warnings
9633         when obsolete files are used (except by obsolete files).
9635         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9636         in the status output, assume `filename' is the first.  (Bug#15322)
9638         * vc/vc.el (vc-deduce-fileset): Doc fix.
9640         * calc/calc-help.el (Info-goto-node):
9641         * progmodes/cperl-mode.el (Info-find-node):
9642         * vc/ediff.el (Info-goto-node): Update declarations.
9644         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9646         * vc/vc-bzr.el (vc-compilation-mode): Declare.
9647         (vc-bzr-pull): Require vc-dispatcher.
9648         * vc/vc-git.el (vc-compilation-mode): Declare.
9649         (vc-git-pull): Require vc-dispatcher.
9651         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9653         * progmodes/octave.el (help-button-action): Declare.
9655         * shell.el (shell-directory-tracker): Output error as a message
9656         rather than just returning it as a string.
9657         (shell-process-pushd): Remove useless use of message.
9659         * dframe.el (dframe-timer-fn):
9660         * files.el (dir-locals-read-from-file):
9661         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9662         (mpc-format):
9663         * reveal.el (reveal-post-command):
9664         * saveplace.el (load-save-place-alist-from-file):
9665         * shell.el (shell-resync-dirs):
9666         * w32-common-fns.el (x-get-selection-value):
9667         * emacs-lisp/copyright.el (copyright-find-copyright):
9668         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9669         * emulation/tpu-edt.el (tpu-copy-keyfile):
9670         * play/bubbles.el (bubbles--mark-neighbourhood):
9671         * progmodes/executable.el
9672         (executable-make-buffer-file-executable-if-script-p):
9673         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9675 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9677         Cleanup Eshell to rely less on dynamic scoping.
9678         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9679         last-value, and ext-command here.  Bind `args' closer to `body'.
9680         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9681         (eshell--args): Declare new dynamic var.
9682         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
9683         last-value, and ext-command.  Pass `args' to `body'.
9684         (eshell-process-args): Bind eshell--args.
9685         (eshell-set-option): Use eshell--args.
9686         * eshell/eshell.el (eshell): Use derived-mode-p.
9687         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9688         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9689         (eshell-glob-function): Declare.
9690         * eshell/esh-util.el: Require cl-lib.
9691         (eshell-read-hosts-file): Avoid add-to-list.
9692         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9693         `err'.
9694         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9695         Declare.
9696         (eshell/diff): Remove unused var `err'.
9697         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9698         `killflag'.
9699         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9700         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9701         first use.
9702         * eshell/em-glob.el (eshell-glob-matches, message-shown):
9703         Move declaration before first use.
9704         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9705         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9706         rely on cl-return.
9708 2013-09-12  Glenn Morris  <rgm@gnu.org>
9710         * term/ns-win.el (global-map): Remove binding for ispell-next,
9711         deleted 1999-05-29.  (Bug#15357)
9713 2013-09-11  Glenn Morris  <rgm@gnu.org>
9715         * echistory.el (electric-command-history): Remove call to deleted func.
9717         * play/landmark.el (landmark-mode): Fix typos.
9719         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9720         Check cvs-sort-ignore-file is bound.
9722         * savehist.el: No need for cl when compiling on Emacs.
9724 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9726         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9727         (bug#15338).
9728         (eshell-self-insert-command, eshell-send-invisible):
9729         Remove unused argument.
9730         (eshell-handle-control-codes): Remove unused var `orig'.
9731         Avoid delete-backward-char.
9733         * files.el (set-auto-mode): Simplify a bit further.
9735 2013-09-11  Glenn Morris  <rgm@gnu.org>
9737         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9738         (set-auto-mode): Don't regexp-quote elements.
9739         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9740         * progmodes/cc-mode.el (interpreter-mode-alist):
9741         * progmodes/ruby-mode.el (interpreter-mode-alist):
9742         Revert previous change.
9744 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9746         * play/snake.el (snake-mode):
9747         * play/mpuz.el (mpuz-mode):
9748         * play/landmark.el (lm-mode):
9749         * play/blackbox.el (blackbox-mode):
9750         * play/5x5.el (5x5-mode):
9751         * obsolete/options.el (Edit-options-mode):
9752         * net/quickurl.el (quickurl-list-mode):
9753         * net/newst-treeview.el (newsticker-treeview-mode):
9754         * mail/rmailsum.el (rmail-summary-mode):
9755         * mail/mspools.el (mspools-mode):
9756         * locate.el (locate-mode):
9757         * ibuffer.el (ibuffer-mode):
9758         * emulation/ws-mode.el (wordstar-mode):
9759         * emacs-lisp/debug.el (debugger-mode):
9760         * array.el (array-mode):
9761         * net/eudc.el (eudc-mode): Use define-derived-mode.
9762         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9763         Move initialization into declaration.
9764         (mairix-searches-mode): Use define-derived-mode.
9765         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9766         (eudc-edit-hotlist): Use dolist.
9767         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9768         (Man-mode): Use define-derived-mode.
9769         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9770         (Info-edit-mode): Use define-derived-mode.
9771         (Info-cease-edit): Use Info-mode.
9772         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9773         into declaration.
9774         (eshell-mode): Use define-derived-mode.
9775         * chistory.el (command-history-mode-map): Rename from
9776         command-history-map.
9777         (command-history-mode): Use define-derived-mode.
9778         (Command-history-setup): Remove function.
9779         * calc/calc.el (calc-trail-mode-map): New var.
9780         (calc-trail-mode): Use define-derived-mode.
9781         (calc-trail-buffer): Set calc-main-buffer manually.
9782         * bookmark.el (bookmark-insert-annotation): New function.
9783         (bookmark-edit-annotation): Use it.
9784         (bookmark-edit-annotation-mode): Make it a proper major mode.
9785         (bookmark-send-edited-annotation): Use derived-mode-p.
9786         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9787         closer to its ideal place.  Use \' to match EOS.
9789         * profiler.el (profiler-calltree-find): Use function-equal.
9791 2013-09-10  Glenn Morris  <rgm@gnu.org>
9793         * files.el (interpreter-mode-alist): Convert to regexps.
9794         (set-auto-mode): Adapt for this.  (Bug#15306)
9795         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9796         Comment out unused variable.
9797         * progmodes/cc-mode.el (interpreter-mode-alist):
9798         * progmodes/python.el (interpreter-mode-alist):
9799         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9800         * progmodes/sh-script.el (sh-set-shell):
9801         No longer use interpreter-mode-alist to get list of shells.
9803         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9805 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9807         * simple.el: Use set-temporary-overlay-map for universal-argument.
9808         (universal-argument-map): Don't use default-bindings (bug#15317).
9809         Bind switch-frame explicitly.  Replace universal-argument-minus with
9810         a conditional binding.
9811         (universal-argument-num-events, saved-overriding-map): Remove.
9812         (restore-overriding-map): Remove.
9813         (universal-argument--mode): Rename from save&set-overriding-map,
9814         and rewrite.
9815         (universal-argument, universal-argument-more, negative-argument)
9816         (digit-argument): Adjust accordingly.
9817         (universal-argument-minus): Remove.
9818         (universal-argument-other-key): Remove.
9820         * subr.el (with-demoted-errors): Add `format' argument.
9822 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
9824         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
9825         `tramp-cleanup-connection'.
9827         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9828         parameters KEEP-DEBUG and KEEP-PASSWORD.
9830         * net/tramp.el (tramp-file-name-handler):
9831         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9832         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9833         (tramp-maybe-open-connection):
9834         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9835         Use `tramp-cleanup-connection'.
9837         * net/tramp-sh.el (tramp-maybe-open-connection):
9838         Catch 'uname-changed inside the progress reporter.
9840 2013-09-10  Glenn Morris  <rgm@gnu.org>
9842         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
9844         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9845         returns "alternate access method" in mode (eg "-rw-r--r--.").
9847 2013-09-08  Glenn Morris  <rgm@gnu.org>
9849         * saveplace.el (load-save-place-alist-from-file):
9850         Demote errors.  (Bug#15305)
9852 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
9854         Improve compatibility with older Emacsen, and XEmacs.
9856         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9857         only if it is bound.  It isn't for XEmacs.
9858         (with-tramp-progress-reporter): Do not let-bind `result'.
9859         This yields to scoping errors in XEmacs.
9860         (tramp-handle-make-auto-save-file-name): New function, moved from
9861         tramp-sh.el.
9863         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9864         for `make-auto-save-file-name'.
9865         (tramp-adb--gnu-switches-to-ash):
9866         Use `tramp-compat-replace-regexp-in-string'.
9868         * net/tramp-cache.el (tramp-cache-print): Call
9869         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
9871         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9872         bound.  It isn't for XEmacs.
9874         * net/tramp-compat.el (tramp-compat-copy-file):
9875         Catch `wrong-number-of-arguments' error.
9876         (tramp-compat-replace-regexp-in-string): New defun.
9878         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9879         for `make-auto-save-file-name'.
9880         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9881         `copy-file'.
9882         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9883         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9884         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9886         * net/tramp-gw.el (tramp-gw-open-network-stream):
9887         Use `tramp-compat-replace-regexp-in-string'.
9889         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9890         Call `tramp-handle-make-auto-save-file-name'.
9891         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9892         (tramp-sh-file-gvfs-monitor-dir-process-filter)
9893         (tramp-sh-file-inotifywait-process-filter):
9894         Use `tramp-compat-replace-regexp-in-string'.
9895         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9897         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9898         for `make-auto-save-file-name'.
9899         (tramp-smb-handle-copy-directory):
9900         Call `tramp-compat-replace-regexp-in-string'.
9901         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9902         (tramp-smb-handle-copy-file): Improve error message.
9903         (tramp-smb-handle-rename-file): Rename directly only in case
9904         `newname' does not exist yet.  This is a restriction of smbclient.
9905         (tramp-smb-maybe-open-connection): Rerun the function only when
9906         `auth-sources' is non-nil.
9908 2013-09-08  Kenichi Handa  <handa@gnu.org>
9910         * international/characters.el: Set category "^" (Combining) for
9911         more characters.
9913 2013-09-07  Alan Mackenzie  <acm@muc.de>
9915         Correctly fontify Java class constructors.
9916         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9917         in Java Mode.
9918         (c-recognize-typeless-decls): Set the Java value to t.
9919         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9920         While handling a "(", add a check for, effectively, Java, and handle a
9921         "typeless" declaration there.
9923 2013-09-07  Roland Winkler  <winkler@gnu.org>
9925         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9926         field subtitle for entry type book.
9928 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9930         * minibuffer.el: Make minibuffer-complete call completion-in-region
9931         rather than other way around.
9932         (completion--some, completion-pcm--find-all-completions):
9933         Don't delay signals when debugging.
9934         (minibuffer-completion-contents): Beware fields within the
9935         minibuffer contents.
9936         (completion-all-sorted-completions): Use defvar-local.
9937         (completion--do-completion, completion--cache-all-sorted-completions)
9938         (completion-all-sorted-completions, minibuffer-force-complete):
9939         Add args `beg' and `end'.
9940         (completion--in-region-1): New fun, extracted from minibuffer-complete.
9941         (minibuffer-complete): Use completion-in-region.
9942         (completion-complete-and-exit): New fun, extracted from
9943         minibuffer-complete-and-exit.
9944         (minibuffer-complete-and-exit): Use it.
9945         (completion--complete-and-exit): Rename from
9946         minibuffer--complete-and-exit.
9947         (completion-in-region--single-word): New function, extracted from
9948         minibuffer-complete-word.
9949         (minibuffer-complete-word): Use it.
9950         (display-completion-list): Make `common-substring' argument obsolete.
9951         (completion--in-region): Call completion--in-region-1 instead of
9952         minibuffer-complete.
9953         (completion-help-at-point): Pass boundaries to
9954         minibuffer-completion-help as args rather than via an overlay.
9955         (completion-pcm--string->pattern): Use `any-delim'.
9956         (completion-pcm--optimize-pattern): New function.
9957         (completion-pcm--pattern->regex): Handle `any-delim'.
9958         * icomplete.el (icomplete-forward-completions)
9959         (icomplete-backward-completions, icomplete-completions):
9960         Adjust calls to completion-all-sorted-completions and
9961         completion--cache-all-sorted-completions.
9962         (icomplete-with-completion-tables): Default to t.
9963         * emacs-lisp/crm.el (crm--current-element): Rename from
9964         crm--select-current-element.  Don't put an overlay but return the
9965         boundaries instead.
9966         (crm--completion-command): Take two new args to bind to the boundaries.
9967         (crm-completion-help): Adjust accordingly.
9968         (crm-complete): Use completion-in-region.
9969         (crm-complete-word): Use completion-in-region--single-word.
9970         (crm-complete-and-exit): Use completion-complete-and-exit.
9972 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9974         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9975         than dynamically.
9977 2013-09-06  Juri Linkov  <juri@jurta.org>
9979         * info.el (Info-display-images-node): When image file doesn't exist
9980         display text version of the image if it's provided in the Info file.
9981         Otherwise, display the location of missing image from SRC attribute.
9982         Add help-echo text property from ALT attribute.  (Bug#15279)
9984 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9986         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9987         (edit-abbrevs-mode): Use define-derived-mode.
9989         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9990         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9991         that it's defined.
9992         (epa-key-list-mode, epa-key-mode, epa-info-mode):
9993         Use define-derived-mode.
9995         * epg.el (epg-start-encrypt): Minor CSE simplification.
9997 2013-09-06  William Xu  <william.xwl@gmail.com>
9999         * arc-mode.el: Add support for 7za (bug#15264).
10000         (archive-7z-program): New var.
10001         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
10002         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
10003         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
10005 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
10007         Remove URL syntax.
10009         * net/tramp.el (tramp-syntax, tramp-prefix-format)
10010         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
10011         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
10012         (tramp-postfix-host-format, tramp-file-name-regexp)
10013         (tramp-completion-file-name-regexp)
10014         (tramp-completion-dissect-file-name)
10015         (tramp-handle-substitute-in-file-name): Remove 'url case.
10016         (tramp-file-name-regexp-url)
10017         (tramp-completion-file-name-regexp-url): Remove constants.
10019 2013-09-06  Glenn Morris  <rgm@gnu.org>
10021         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
10023 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
10025         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
10026         keywords" below "here-doc beginnings" (Bug#15270).
10028 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10030         * subr.el (pop): Use `car-safe'.
10031         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
10032         to detect unused `pop' return value.
10034         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
10035         var `block-regexp'.
10036         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
10037         (python-fill-string): Remove unused var `marker'.
10038         (python-skeleton-add-menu-items): Remove unused var `items'.
10040         * international/mule-cmds.el: Require CL.
10041         (find-coding-systems-for-charsets): Avoid add-to-list.
10042         (sanitize-coding-system-list): New function, extracted from
10043         select-safe-coding-system-interactively.
10044         (select-safe-coding-system-interactively): Use it.
10045         (read-input-method-name): Accept symbols for `default'.
10047         * emacs-lisp/advice.el (defadvice): Add indent rule.
10049 2013-09-05  Daniel Hackney  <dan@haxney.org>
10051         * dired-x.el:
10052         * net/ange-ftp.el:
10053         * net/browse-url.el:
10054         * net/dbus.el:
10055         * net/eudc.el:
10056         * net/eudcb-ldap.el:
10057         * net/eww.el:
10058         * net/imap.el:
10059         * printing.el:
10060         * vc/ediff-diff.el:
10061         * vc/ediff-init.el:
10062         * vc/ediff-merg.el:
10063         * vc/ediff-mult.el:
10064         * vc/ediff-util.el:
10065         * vc/ediff-wind.el:
10066         * vc/ediff.el:
10067         * vc/emerge.el:
10068         * vc/pcvs.el:
10069         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
10070         byte compiler.  Remove some unused let-bound variables.
10072 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10074         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
10075         a "ref-cell", since it gets better optimized (bug#14883).
10077 2013-09-05  Glenn Morris  <rgm@gnu.org>
10079         * progmodes/cc-awk.el (c-forward-sws): Declare.
10081 2013-09-04  Glenn Morris  <rgm@gnu.org>
10083         * generic-x.el [rul-generic-mode]: Require cc-mode.
10084         (c++-mode-syntax-table): Declare.
10085         (rul-generic-mode-syntax-table): Init in the defvar.
10087 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10089         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
10090         (vc-do-command, vc-set-async-update):
10091         * vc/vc-mtn.el (vc-mtn-dir-status):
10092         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
10093         (vc-hg-pull, vc-hg-merge-branch):
10094         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
10095         (vc-git-merge-branch):
10096         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
10097         (vc-cvs-dir-status-files):
10098         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
10099         (vc-bzr-dir-status-files):
10100         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
10101         * vc/vc-annotate.el: Use lexical-binding.
10102         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
10103         (vc-sentinel-movepoint): Declare.
10104         (vc-annotate): Don't use `goto-line'.
10105         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
10106         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
10107         (vc-sentinel-movepoint): Declare.
10108         * vc/vc-svn.el: Use lexical-binding.
10109         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
10110         * vc/vc-sccs.el:
10111         * vc/vc-rcs.el: Use lexical-binding.
10113         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
10114         `deleted'.  Don't drop errors silently.
10116         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
10118 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
10120         * vc/vc.el (vc-ignore): Rewrite.
10121         (vc-default-ignore): New function.
10122         (vc-default-ignore-completion-table): Use find-ignore-file.
10124         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
10125         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
10126         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
10127         Remove.  Most code moved to vc.el.
10129 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10131         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
10132         * net/tramp-smb.el (tramp-smb-get-file-entries):
10133         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
10134         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
10136         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
10137         Update call to it.
10138         (eww-change-select): Remove unused var `properties'.
10139         (eww-make-unique-file-name): Remove unused var `base'.
10141         * finder.el (finder-compile-keywords): Don't mess with windows.
10143         * calculator.el (calculator-funcall): Fix typo in last change.
10145         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
10147         * emacs-lisp/package.el (package-activate-1): Don't let a missing
10148         <pkg>-autoloads.el file stop us.
10150         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
10151         warnings, and factor out common code.
10153 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
10155         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
10156         two-character operators and whether the character preceding them
10157         changes their meaning (Bug#15208).
10159 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10161         Format code sent to Python shell for robustness.
10162         * progmodes/python.el (python-shell-buffer-substring):
10163         New function.
10164         (python-shell-send-region, python-shell-send-buffer): Use it.
10166 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
10168         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
10169         * net/tramp.el (tramp-user-error): ... here.
10170         (tramp-find-method, tramp-check-proper-host)
10171         (tramp-dissect-file-name, tramp-debug-message)
10172         (tramp-handle-shell-command):
10173         * net/tramp-adb.el (tramp-adb-handle-shell-command):
10174         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
10176         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
10178 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
10180         * avoid.el (mouse-avoidance-point-position)
10181         (mouse-avoidance-too-close-p): Handle case where posn-at-point
10182         returns nil.
10184 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10186         * progmodes/python.el (python-shell-completion-get-completions):
10187         Drop use of deleted `comint-last-prompt-overlay'.
10188         (python-nav-if-name-main): New command.
10190 2013-09-01  Glenn Morris  <rgm@gnu.org>
10192         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10193         Avoid leading space in $wins.  Otherwise the sed command used by
10194         eg compile-main ends up containing "/*.el".  (Bug#15170)
10196         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
10198 2013-08-30  Glenn Morris  <rgm@gnu.org>
10200         * emacs-lisp/bytecomp.el (byte-recompile-directory):
10201         Fix is-this-a-directory logic.  (Bug#15220)
10203 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10205         * textmodes/css-mode.el: Use SMIE.
10206         (css-smie-grammar): New var.
10207         (css-smie--forward-token, css-smie--backward-token)
10208         (css-smie-rules): New functions.
10209         (css-mode): Use them.
10210         (css-navigation-syntax-table): Remove var.
10211         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10212         (css-indent-calculate, css-indent-line): Remove functions.
10214         Misc changes to reduce use of `(lambda...); and other cleanups.
10215         * cus-edit.el: Use lexical-binding.
10216         (customize-push-and-save, customize-apropos)
10217         (custom-buffer-create-internal): Use closures.
10218         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10219         * progmodes/ada-xref.el: Use setq.
10220         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10221         * dframe.el: Use lexical-binding.
10222         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
10223         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10224         * descr-text.el: Use lexical-binding.
10225         (describe-text-widget, describe-text-sexp, describe-property-list):
10226         Use closures.
10227         * comint.el (comint-history-isearch-push-state): Use a closure.
10228         * calculator.el: Use lexical-binding.
10229         (calculator-number-to-string): Make it work with lexical-binding.
10230         (calculator-funcall): Same and use cl-letf.
10232         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10233         (lisp--company-doc-string, lisp--company-location): New functions.
10234         (lisp-completion-at-point): Use them to improve Company support.
10236         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10237         params of lambda expressions.
10238         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10239         (ruby-smie--opening-pipe-p): New function.
10240         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10241         symbols and matched |...| for formal params.
10242         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10243         from being treated as hanging.  Handle "rescue".
10245 2013-08-29  Glenn Morris  <rgm@gnu.org>
10247         * progmodes/cc-engine.el (c-pull-open-brace):
10248         Move definition before use.
10250 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10252         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10253         are immutable.  Don't use `unsafe' any more.
10254         (cl--defsubst-expand): Don't substitute at the same time as keeping
10255         a residual unused let-binding.  Don't use `unsafe' any more.
10257 2013-08-29  Glenn Morris  <rgm@gnu.org>
10259         * calendar/cal-china.el (calendar-chinese-year-cache):
10260         Recenter on 2015.
10262         * nxml/nxml-util.el (nxml-debug-clear-inside):
10263         Use cl-loop rather than loop.
10265         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10267         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10269 2013-08-28  Glenn Morris  <rgm@gnu.org>
10271         * progmodes/antlr-mode.el: No need to require cc-mode twice.
10273         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10275         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10277 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10279         * simple.el (repeat-complex-command--called-interactively-skip):
10280         New function.
10281         (repeat-complex-command): Use it (bug#14136).
10283         * progmodes/cc-mode.el: Minor cleanup of var declarations.
10284         (c-define-abbrev-table): Add `doc' argument.
10285         (c-mode-abbrev-table, c++-mode-abbrev-table)
10286         (objc-mode-abbrev-table, java-mode-abbrev-table)
10287         (idl-mode-abbrev-table, pike-mode-abbrev-table)
10288         (awk-mode-abbrev-table): Use it.
10289         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10290         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10291         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10292         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10293         Move initialization into the declaration; and remove any
10294         autoload cookie.
10296         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10297         and dynamic let binding.
10299         * vc/smerge-mode.el: Remove redundant :group args.
10301         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10302         to load-path.
10304 2013-08-28  Juri Linkov  <juri@jurta.org>
10306         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10307         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10308         (isearch-other-meta-char): Handle an undefined shifted printing
10309         character by downshifting it.  (Bug#15200)
10311 2013-08-28  Juri Linkov  <juri@jurta.org>
10313         * isearch.el (isearch-search): Change regexp error message for
10314         non-regexp searches.  (Bug#15166)
10316 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
10318         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10319         for portability to hosts where /bin/sh has problems.
10321 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10323         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10325 2013-08-27  Juri Linkov  <juri@jurta.org>
10327         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10328         in the keyboard macro.  (Bug#15126)
10330 2013-08-27  Juri Linkov  <juri@jurta.org>
10332         * isearch.el (isearch-quote-char): Comment out converting unibyte
10333         to multibyte, thus syncing with its `quoted-insert' counterpart.
10334         (Bug#15166)
10336 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
10338         * window.el (display-buffer-use-some-window): Add missing
10339         argument in call of get-largest-window (Bug#15185).
10340         Reported by Stephen Leake.
10342 2013-08-27  Glenn Morris  <rgm@gnu.org>
10344         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10346 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10348         * progmodes/python.el (python-font-lock-keywords): Don't return nil
10349         from a matcher-function unless there's no more matches (bug#15161).
10351 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
10353         * minibuffer.el: Revert change from 2013-08-20.
10355         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10356         with text property `tramp-default', if appropriate.
10357         (tramp-check-proper-host): New defun.
10358         (tramp-dissect-file-name): Do not check hostname.  Revert change
10359         of 2013-03-18.
10360         (tramp-backtrace): Make VEC-OR-PROC optional.
10362         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10363         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10364         * net/tramp-sh.el (tramp-maybe-open-connection):
10365         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10366         Apply `tramp-check-proper-host'.
10368 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
10370         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10371         lambda expression in order to have `describe-variable' display it.
10373 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
10375         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10376         BUF can be optional.  (Bug#15186)
10378 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
10380         * progmodes/flymake.el (flymake-get-real-file-name-function):
10381         Fix broken customization.  (Bug#15184)
10383 2013-08-25  Alan Mackenzie  <acm@muc.de>
10385         Improve indentation of bracelists defined by macros (without "=").
10387         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10388         expansion begins with "{", regard it as bracelist when it doesn't
10389         contain a ";".
10391         Parse C++ inher-intro when there's a template split over 2 lines.
10393         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10394         rigorously the search for "class" etc. followed by ":".
10396         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10397         random languages a regexp which never matches rather than nil.
10399         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10401         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10402         (c-awk-regexp-one-line-possibly-open-char-list-re)
10403         (c-awk-one-line-possibly-open-regexp-re)
10404         (c-awk-one-line-non-syn-ws*-re): Remove.
10405         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10406         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10407         (c-awk-space*-unclosed-regexp-/-re): New constants.
10408         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10409         aren't regexp delimiters.
10411         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10412         handling for a rare situation in AWK Mode involving unterminated
10413         strings/regexps.
10415 2013-08-23  Glenn Morris  <rgm@gnu.org>
10417         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10419         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10421         * files.el (create-file-buffer): If the result would begin with
10422         spaces, prepend a "|" instead of removing them.  (Bug#15162)
10424 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10426         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10427         text-properties (bug#15155).
10429         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10430         exist any more.
10431         (calc-keypad-redraw): Remove unused var `pad'.
10432         (calc-keypad-press): Remove unused var `menu'.
10434 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
10436         * window.el (display-buffer-pop-up-frame):
10437         Call pop-up-frame-function with BUFFER current so `make-frame' will
10438         use it as the new frame's buffer (Bug#15133).
10440 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10442         * calendar/timeclock.el: Minor cleanups.
10443         (timeclock-ask-before-exiting, timeclock-use-display-time):
10444         Use `symbol'.
10445         (timeclock-modeline-display): Define as alias before the
10446         actual definition.
10447         (timeclock-mode-line-display): Use define-minor-mode.
10448         (timeclock-day-list-template): Make it a function, add an argument.
10449         (timeclock-day-list-required, timeclock-day-list-length)
10450         (timeclock-day-list-debt, timeclock-day-list-span)
10451         (timeclock-day-list-break): Adjust calls accordingly.
10453 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10455         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10456         Use read--expression so that completion works again.
10458 2013-08-21  Sam Steingold  <sds@gnu.org>
10460         Add rudimentary inferior shell interaction
10461         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10462         (sh-set-shell): Reset it.
10463         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10464         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10466 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10468         * align.el: Use lexical-binding.
10469         (align-region): Simplify accordingly.
10471 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
10473         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10475         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10476         `non-essential' up.
10478 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
10480         * net/tramp.el:
10481         * net/tramp-adb.el:
10482         * net/tramp-cmds.el:
10483         * net/tramp-ftp.el:
10484         * net/tramp-gvfs.el:
10485         * net/tramp-gw.el:
10486         * net/tramp-sh.el: Don't wrap external variable declarations by
10487         `eval-when-compile'.
10489 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10491         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10492         now that Emacs supports ImageMagick animations.
10494 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
10496         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10497         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10499 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
10501         * window.el (mouse-autoselect-window-select): Do autoselect when
10502         mouse pointer is on margin.
10504 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
10506         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
10508 2013-08-16  Glenn Morris  <rgm@gnu.org>
10510         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10511         Handle "Remote Directory" response of some clients.  (Bug#15058)
10513         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10514         Tweak warning.  (Bug#14926)
10516         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10517         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
10519         * image-mode.el (image-mode-map): Add menu items to reverse,
10520         increase, decrease, reset animation speed.
10521         (image--set-speed, image-increase-speed, image-decrease-speed)
10522         (image-reverse-speed, image-reset-speed): New functions.
10523         (image-mode-map): Add bindings for speed commands.
10525         * image.el (image-animate-get-speed, image-animate-set-speed):
10526         New functions.
10527         (image-animate-timeout): Respect image :speed property.
10529 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10531         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10532         previous line (bug#15101).
10533         (debugger-eval-expression, debugger-record-expression):
10534         Use read--expression (bug#15102).
10536 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
10538         Remove byte compiler warnings, visible when compiling with
10539         `byte-compile-force-lexical-warnings' set to t.
10541         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10542         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10543         (tramp-handle-unhandled-file-name-directory)
10544         (tramp-handle-file-notify-add-watch, tramp-action-login)
10545         (tramp-action-succeed, tramp-action-permission-denied)
10546         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10547         arguments with "_".
10549         * net/tramp-adb.el (tramp-adb-parse-device-names)
10550         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10551         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10552         (tramp-adb-handle-file-truename): Remove unused arguments.
10554         * net/tramp-cache.el (tramp-flush-directory-property)
10555         (tramp-flush-connection-property, tramp-list-connections)
10556         (tramp-parse-connection-properties): Prefix unused arguments with "_".
10558         * net/tramp-compat.el (tramp-compat-make-temp-file):
10559         Rename FILENAME to F.
10561         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10562         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10563         (tramp-zeroconf-parse-workstation-device-names)
10564         (tramp-zeroconf-parse-webdav-device-names)
10565         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10567         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10568         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10570         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10571         arguments.
10572         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10573         (tramp-sh-handle-insert-file-contents-literally)
10574         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10575         with "_".
10576         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10577         Remove unused variables.
10579         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10580         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10581         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10583         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10584         Make them a defconst.
10585         (tramp-uuencode-region): Remove unused variable.
10587 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
10589         * frameset.el (frameset--prop-setter): New function.
10590         (frameset-prop): Add gv-setter declaration.
10591         (frameset-filter-minibuffer): Deal with the case that the minibuffer
10592         parameter was already set in FILTERED.  Doc fix.
10593         (frameset--record-minibuffer-relationships): Allow saving a
10594         minibufferless frame without its corresponding minibuffer frame.
10595         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10596         frame, if the frame id matches.
10597         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10598         frames before orphaned ones.
10599         (frameset-restore): Warn about orphaned windows, instead of error out.
10601 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
10603         * window.el (window-make-atom): Don't overwrite parameter
10604         already present.
10605         (display-buffer-in-atom-window): Handle special case where we
10606         split an already atomic window.
10607         (window--major-non-side-window, display-buffer-in-side-window)
10608         (window--side-check): Ignore minibuffer window when walking
10609         window tree.
10610         (window-deletable-p): Return 'frame only if no other frame uses
10611         our minibuffer window.
10612         (record-window-buffer): Run buffer-list-update-hook.
10613         (split-window): Make sure window--check-frame won't destroy an
10614         existing atomic window in case the new window gets nested
10615         inside.
10616         (display-buffer-at-bottom): Ignore minibuffer window when
10617         walking window tree.  Don't split a side window.
10618         (pop-to-buffer): Don't set-buffer here, the select-window call
10619         should do that.
10620         (mouse-autoselect-window-select): Autoselect only if we are in the
10621         text portion of the window.
10623 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10625         * net/shr.el (shr-parse-image-data): New function to grab both the
10626         data itself and the Content-Type.
10627         (shr-put-image): Use it.
10629         * net/eww.el (eww-display-image): Ditto.
10631         * image.el (image-content-type-suffixes): New variable.
10633 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10635         * progmodes/python.el (python-imenu--build-tree)
10636         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10638 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
10640         * simple.el (backward-word): Mention the optional argument.
10642 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10644         * frameset.el (frameset--make): Rename constructor from make-frameset.
10645         (frameset-p, frameset-valid-p): Don't autoload.
10646         (frameset-valid-p): Use normal accessors.
10648 2013-08-13  Glenn Morris  <rgm@gnu.org>
10650         * progmodes/compile.el (compile-command): Tweak example in doc.
10651         * obsolete/scribe.el (scribe-mode):
10652         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
10654         * mail/feedmail.el (feedmail-confirm-outgoing)
10655         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10657         * cus-start.el (truncate-partial-width-windows): Fix type.
10659         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10661         * net/shr.el (shr-table-horizontal-line): Fix custom type.
10663 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10665         * emacs-lisp/timer.el (timer--time-setter): New function.
10666         (timer--time): Use it as gv-setter.
10668         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10669         setter is not a symbol.
10671 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
10673         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10674         if sending fails.  This makes debugging easier.
10676 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
10678         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10679         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10680         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10682 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
10684         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10686 2013-08-12  Glenn Morris  <rgm@gnu.org>
10688         * format.el (format-annotate-function):
10689         Handle read-only text properties in the source.  (Bug#14887)
10691 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10693         * net/eww.el (eww-display-html): Ignore coding system errors.
10694         One web site uses "utf-8lias" as the coding system.
10696 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
10698         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10700 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
10702         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10703         (tutorial--detailed-help): Remove unused local variables.
10704         (tutorial--save-tutorial-to): Use ignore-errors.
10705         (help-with-tutorial): Use looking-at-p.
10707         * view.el (view-buffer-other-window, view-buffer-other-frame):
10708         Mark unused arguments.
10710         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10711         (woman-select-symbol-fonts, woman, woman-find-file)
10712         (woman-insert-file-contents, woman-non-underline-faces):
10713         Use string-match-p.
10714         (woman1-unquote): Move declaration.
10716         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10717         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
10718         argument.  Remove unused local variable.
10719         (xml-parse-elem-type): Use string-match-p.
10720         (xml-substitute-numeric-entities): Use ignore-errors.
10722         * calculator.el (calculator): Mark unused argument.
10723         (calculator-paste, calculator-quit, calculator-integer-p):
10724         Use ignore-errors.
10725         (calculator-string-to-number, calculator-decimal, calculator-exp)
10726         (calculator-op-or-exp): Use string-match-p.
10728         * dired.el (dired-buffer-more-recently-used-p): Declare.
10729         (dired-insert-set-properties, dired-insert-old-subdirs):
10730         Use ignore-errors.
10732         * dired-aux.el (dired-compress): Use ignore-errors.
10733         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10734         (dired-do-async-shell-command, dired-do-shell-command)
10735         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10736         (dired-insert-subdir-validate): Use string-match-p.
10737         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10738         (dired-add-entry): Use string-match-p, looking-at-p.
10739         (dired-insert-subdir-newpos): Remove unused local variable.
10741         * filenotify.el (file-notify-callback): Remove unused local variable.
10743         * filesets.el (filesets-error): Mark unused argument.
10744         (filesets-which-command-p, filesets-filter-dir-names)
10745         (filesets-directory-files, filesets-get-external-viewer)
10746         (filesets-ingroup-get-data): Use string-match-p.
10748         * find-file.el (ff-other-file-name, ff-other-file-name)
10749         (ff-find-the-other-file, ff-cc-hh-converter):
10750         Remove unused local variables.
10751         (ff-get-file-name): Use string-match-p.
10752         (ff-all-dirs-under): Use ignore-errors.
10754         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10755         (follow-select-if-visible): Remove unused local variable.
10757         * forms.el (read-file-filter): Move declaration.
10758         (forms--make-format, forms--make-parser, forms-insert-record):
10759         Quote function with #'.
10760         (forms--update): Use string-match-p.  Quote function with #'.
10762         * help-mode.el (help-dir-local-var-def): Mark unused argument.
10763         (help-make-xrefs): Use looking-at-p.
10764         (help-xref-on-pp): Use looking-at-p, ignore-errors.
10766         * ibuffer.el (ibuffer-ext-visible-p): Declare.
10767         (ibuffer-confirm-operation-on): Use string-match-p.
10769         * msb.el (msb-item-handler, msb-dired-item-handler):
10770         Mark unused arguments.
10772         * ses.el (ses-decode-cell-symbol)
10773         (ses-kill-override): Remove unused local variable.
10774         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10775         (ses-load): Use ignore-errors, looking-at-p.
10776         (ses-jump-safe): Use ignore-errors.
10777         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10779         * tabify.el (untabify, tabify): Mark unused arguments.
10781         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10782         Mark unused argument.
10783         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10784         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10786         * emacs-lisp/timer.el (timer--time): Define setter with
10787         gv-define-setter to avoid deprecation warning.
10789         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10790         (*record-cmpl-statistics-p*): Remove (was commented out).
10791         (cmpl-statistics-block): Remove (body was commented out).
10792         All callers changed.
10793         (add-completions-from-buffer, load-completions-from-file):
10794         Remove unused variables.
10796 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
10798         * filecache.el (file-cache-delete-file-list):
10799         Print message only when told so.
10800         (file-cache-files-matching): Use #' in mapconcat argument.
10802         * ffap.el (ffap-url-at-point): Fix reference to variable
10803         thing-at-point-default-mail-uri-scheme.
10805 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10807         * subr.el (define-error): New function.
10808         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10809         error-file-not-found and define with define-error.
10810         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10811         and define with define-error.
10812         * userlock.el (file-locked, file-supersession):
10813         * simple.el (mark-inactive):
10814         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10815         * progmodes/ada-mode.el (ada-mode-errors):
10816         * play/life.el (life-extinct):
10817         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10818         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10819         * nxml/rng-util.el (rng-error):
10820         * nxml/rng-uri.el (rng-uri-error):
10821         * nxml/rng-match.el (rng-compile-error):
10822         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10823         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10824         * nxml/nxml-rap.el (nxml-scan-error):
10825         * nxml/nxml-outln.el (nxml-outline-error):
10826         * net/soap-client.el (soap-error):
10827         * net/gnutls.el (gnutls-error):
10828         * net/ange-ftp.el (ftp-error):
10829         * mpc.el (mpc-proc-error):
10830         * json.el (json-error, json-readtable-error, json-unknown-keyword)
10831         (json-number-format, json-string-escape, json-string-format)
10832         (json-key-format, json-object-format):
10833         * jka-compr.el (compression-error):
10834         * international/quail.el (quail-error):
10835         * international/kkc.el (kkc-error):
10836         * emacs-lisp/ert.el (ert-test-failed):
10837         * calc/calc.el (calc-error, inexact-result, math-overflow)
10838         (math-underflow):
10839         * bookmark.el (bookmark-error-no-filename):
10840         * epg.el (epg-error): Define with define-error.
10842         * time.el (display-time-event-handler)
10843         (display-time-next-load-average): Don't call sit-for since it seems
10844         unnecessary (bug#15045).
10846         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10847         Use #' instead of ' to quote functions.
10848         (checkdoc-output-mode): Use setq-local.
10849         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10850         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10851         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10852         (checkdoc-ispell, checkdoc-ispell-current-buffer)
10853         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10854         (checkdoc-ispell-message-text, checkdoc-ispell-start)
10855         (checkdoc-ispell-continue, checkdoc-ispell-comments)
10856         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10858         * ido.el (ido-completion-help): Fix up compiler warning.
10860 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
10862         * frameset.el (frameset-p): Add autoload cookie.
10863         (frameset--jump-to-register): New function, based on code moved from
10864         register.el.
10865         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
10867         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10868         (frameset-restore, frameset-save, frameset-session-filter-alist):
10869         Remove declarations.
10870         (register-alist): Doc fix.
10871         (frameset-to-register): Move to frameset.el.
10872         (jump-to-register, describe-register-1): Remove frameset-specific code.
10874 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10876         * allout-widgets.el (allout-widgets-pre-command-business)
10877         (allout-widgets-post-command-business)
10878         (allout-widgets-after-change-handler)
10879         (allout-decorate-item-and-context, allout-set-boundary-marker)
10880         (allout-body-modification-handler)
10881         (allout-graphics-modification-handler): Mark ignored arguments.
10882         (allout-widgets-post-command-business)
10883         (allout-widgets-exposure-change-processor)
10884         (allout-widgets-exposure-undo-processor)
10885         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10886         (allout-parse-item-at-point, allout-decorate-item-guides)
10887         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10888         * allout.el (epa-passphrase-callback-function): Declare.
10889         (allout-overlay-insert-in-front-handler)
10890         (allout-overlay-interior-modification-handler)
10891         (allout-isearch-end-handler, allout-chart-siblings)
10892         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10893         (allout-yank-processing, allout-process-exposed)
10894         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10895         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10896         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10897         (lisp-indent-defform): Mark ignored arguments.
10898         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
10899         (calculate-lisp-indent): Remove unused variables.
10900         * international/characters.el (indian-2-column, arabic-2-column)
10901         (tibetan): Mark ignored arguments.
10902         (use-cjk-char-width-table): Mark ignored arguments.
10903         Remove unused variables.
10904         * international/fontset.el (build-default-fontset-data)
10905         (x-compose-font-name, create-fontset-from-fontset-spec):
10906         Mark ignored arguments.
10907         (fontset-plain-name): Remove unused variables.
10908         * international/mule.el (charset-id, charset-bytes, generic-char-p)
10909         (keyboard-coding-system): Mark ignored arguments.
10910         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
10911         * help.el (resize-temp-buffer-window):
10912         * window.el (display-buffer-in-major-side-window)
10913         (display-buffer-in-side-window, display-buffer-in-previous-window):
10914         Remove unused variables.
10915         * isearch.el (isearch-forward-symbol):
10916         * version.el (emacs-bzr-version-bzr):
10917         * international/mule-cmds.el (current-language-environment):
10918         * term/common-win.el (x-handle-iconic, x-handle-geometry)
10919         (x-handle-display):
10920         * term/pc-win.el (x-list-fonts, x-display-planes)
10921         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10922         (x-server-version, x-display-screens, x-display-mm-height)
10923         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10924         (x-selection-owner-p, x-own-selection-internal)
10925         (x-disown-selection-internal, x-get-selection-internal)
10926         (msdos-initialize-window-system):
10927         * term/tty-colors.el (tty-color-alist, tty-color-clear):
10928         * term/x-win.el (x-handle-no-bitmap-icon):
10929         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10930         (vc-default-find-file-hook, vc-default-extra-menu):
10931         Mark ignored arguments.
10933 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10935         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10936         break-condition in the context of the debugged code (bug#12685).
10938 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
10940         * comint.el:
10941         Do not use an overlay to highlight the last prompt.  (Bug#14744)
10942         (comint-mode): Make comint-last-prompt buffer local.
10943         (comint-last-prompt): New variable.
10944         (comint-last-prompt-overlay): Remove.  Superseded by
10945         comint-last-prompt.
10946         (comint-snapshot-last-prompt, comint-output-filter):
10947         Use comint-last-prompt.
10949 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10951         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
10952         (frameset-save): Check validity of the resulting frameset.
10954 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
10956         * ido.el (ido-record-command): Add doc string.
10958 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10960         * frameset.el (frameset): Do not disable creation of the default
10961         frameset-p predicate.  Doc fix.
10962         (frameset-valid-p): New function, copied from the old predicate-p.
10963         Add additional checks.
10964         (frameset-restore): Check with frameset-valid-p.
10965         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10966         (frameset-name, frameset-description, frameset-properties)
10967         (frameset-states): Add docstring.
10968         (frameset-session-filter-alist, frameset-persistent-filter-alist)
10969         (frameset-filter-alist): Doc fixes.
10971 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10973         * frameset.el (frameset-p, frameset-prop): Doc fixes.
10975 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10977         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10978         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10979         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10980         (byte-compile-normal-call): Remove obsolescence check.
10982 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
10984         * frameset.el (frameset-restore): Doc fix.
10986         * register.el (frameset-frame-id, frameset-frame-with-id)
10987         (frameset-p, frameset-restore, frameset-save): Declare.
10988         (register-alist): Document framesets.
10989         (frameset-session-filter-alist): Declare.
10990         (frameset-to-register): New function.
10991         (jump-to-register): Implement jumping to framesets.  Doc fix.
10992         (describe-register-1): Describe framesets.
10994         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10996 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
10998         * desktop.el (desktop-save-frameset): Use new frameset-save args.
10999         Use lexical-binding.
11001         * frameset.el (frameset): Use type vector, not list (incompatible
11002         change).  Do not declare a new constructor, use the default one.
11003         Upgrade suggested properties `app', `name' and `desc' to slots `app',
11004         `name' and `description', respectively, and add read-only slot
11005         `timestamp'.  Doc fixes.
11006         (frameset-copy, frameset-persistent-filter-alist)
11007         (frameset-filter-alist, frameset-switch-to-gui-p)
11008         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
11009         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
11010         (frameset-filter-iconified, frameset-keep-original-display-p):
11011         Doc fixes.
11012         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
11013         Rename from frameset-filter-(save|restore)-param.  All callers changed.
11014         Doc fix.
11015         (frameset-p): Adapt to change to vector and be more thorough.
11016         Change arg name to OBJECT.  Doc fix.
11017         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
11018         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
11019         All callers changed.
11020         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
11021         All callers changed.
11022         (frameset--record-minibuffer-relationships): Rename from
11023         frameset--process-minibuffer-frames.  All callers changed.
11024         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
11025         Use new default constructor (again).  Doc fix.
11026         (frameset--find-frame-if): Rename from `frameset--find-frame'.
11027         All callers changed.
11028         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
11029         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
11030         Doc fix.
11031         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
11032         PARAMETERS and WINDOW-STATE, respectively.
11033         (frameset-restore): Add new keyword argument PREDICATE.
11034         Reset frameset--target-display to nil.  Doc fix.
11036 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11038         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
11039         (bat-mode): Use it.
11040         (bat-mode-syntax-table): Mark \n as end-of-comment.
11041         (bat-font-lock-keywords): Remove comment rule.
11043         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
11044         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
11046         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
11047         (byte-compile-callargs-warn): Use `push'.
11048         (byte-compile-arglist-warn): Ignore higher-order "calls".
11049         (byte-compile-file-form-autoload): Use `pcase'.
11050         (byte-compile-function-form): If quoting a symbol, check that it exists.
11052 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
11054         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
11055         and add a few popular commands found in batch files.
11056         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
11057         (dos-mode): Doc fixes.
11059 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11061         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
11062         (dos-mode): Use setq-local.  Add space after "rem".
11063         (dos-mode-syntax-table): Don't use "w" for symbol chars.
11064         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
11066 2013-08-07  Arni Magnusson  <arnima@hafro.is>
11068         * progmodes/dos.el: New file.
11069         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
11070         dos-mode.
11072 2013-08-06  Glenn Morris  <rgm@gnu.org>
11074         * calendar/calendar.el: Add new faces, and day-header-array.
11075         (calendar-weekday-header, calendar-weekend-header)
11076         (calendar-month-header): New faces.
11077         (calendar-day-header-construct): New function.
11078         (calendar-day-header-width): Also :set calendar-day-header-array.
11079         (calendar-american-month-header, calendar-european-month-header)
11080         (calendar-iso-month-header): Use calendar- faces.
11081         (calendar-generate-month):
11082         Use calendar-day-header-array for day headers; apply faces to them.
11083         (calendar-mode): Check calendar-font-lock-keywords non-nil.
11084         (calendar-abbrev-construct): Add optional maxlen argument.
11085         (calendar-day-name-array): Doc fix.
11086         (calendar-day-name-array, calendar-abbrev-length)
11087         (calendar-day-abbrev-array):
11088         Also :set calendar-day-header-array, and maybe redraw.
11089         (calendar-day-header-array): New option.  (Bug#15007)
11090         (calendar-font-lock-keywords): Set to nil and make obsolete.
11091         (calendar-day-name): Add option to use header array.
11093 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11095         * net/shr.el (shr-render-td): Remove debugging.
11096         (shr-render-td): Make width computation consistent by defaulting
11097         all zero-width columns to 10 characters.  This may not be optimal,
11098         but it's at least consistent.
11099         (shr-make-table-1): Redo last change to fix the real problem in
11100         colspan handling.
11102 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
11104         * files.el (cache-long-line-scans):
11105         Make obsolete alias to `cache-long-scans'.
11107 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
11109         * frameset.el (frameset, frameset-filter-alist)
11110         (frameset-filter-params, frameset-save, frameset--reuse-frame)
11111         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
11112         (frameset-compute-pos): Rename from frameset--compute-pos,
11113         and add docstring.
11114         (frameset-move-onscreen): Use frameset-compute-pos.
11115         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11117         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
11118         Fix typos in docstrings.
11120 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
11122         * frame.el (get-other-frame): Tiny cleanup.
11124 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
11126         * vc/vc.el (vc-default-ignore-completion-table):
11127         Silence byte-compiler warning.
11129         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
11130         slot, which can indeed be nil.
11131         (frameset-live-filter-alist, frameset-persistent-filter-alist):
11132         Move entry for `left' from persistent to live filter alist.
11133         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
11134         Doc fixes.
11135         (frameset-filter-params): When restoring a frame, copy items added to
11136         `filtered', to avoid unwittingly modifying the original parameters.
11137         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
11138         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
11140         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
11141         to use looking-at-p instead of looking-at.  (Bug#15028)
11143 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11145         Revert introduction of isearch-filter-predicates (bug#14714).
11146         Rely on add-function instead.
11147         * isearch.el (isearch-filter-predicates): Rename it back to
11148         isearch-filter-predicate.
11149         (isearch-message-prefix): Use advice-function-mapc and advice
11150         properties to get the isearch-message-prefix.
11151         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
11152         instead of run-hook-with-args-until-failure.
11153         (isearch-filter-visible): Not obsolete any more.
11154         * loadup.el: Preload nadvice.
11155         * replace.el (perform-replace): Revert to funcall
11156         instead of run-hook-with-args-until-failure.
11157         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
11158         * dired-aux.el (dired-isearch-filenames-mode): Rename from
11159         dired-isearch-filenames-toggle; make it into a proper minor mode.
11160         Use add/remove-function.
11161         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
11162         Call the minor-mode rather than add/remove-hook.
11163         (dired-isearch-filter-filenames):
11164         Remove isearch-message-prefix property.
11165         * info.el (Info--search-loop): New function, extracted from Info-search.
11166         Funcall isearch-filter-predicate instead of
11167         run-hook-with-args-until-failure isearch-filter-predicates.
11168         (Info-search): Use it.
11169         (Info-mode): Use isearch-filter-predicate instead of
11170         isearch-filter-predicates.
11172 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
11174         Do not call to `selected-window' where it is assumed by default.
11175         Affected functions are `window-minibuffer-p', `window-dedicated-p',
11176         `window-hscroll', `window-width', `window-height', `window-buffer',
11177         `window-frame', `window-start', `window-point', `next-window'
11178         and `window-display-table'.
11179         * abbrev.el (abbrev--default-expand):
11180         * bs.el (bs--show-with-configuration):
11181         * buff-menu.el (Buffer-menu-mouse-select):
11182         * calc/calc.el (calc):
11183         * calendar/calendar.el (calendar-generate-window):
11184         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
11185         (diary-make-entry):
11186         * comint.el (send-invisible, comint-dynamic-complete-filename)
11187         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
11188         * completion.el (complete):
11189         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
11190         * disp-table.el (describe-current-display-table):
11191         * doc-view.el (doc-view-insert-image):
11192         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
11193         * ehelp.el (with-electric-help):
11194         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11195         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11196         * emacs-lisp/helper.el (Helper-help-scroller):
11197         * emulation/cua-base.el (cua--post-command-handler-1):
11198         * eshell/esh-mode.el (eshell-output-filter):
11199         * ffap.el (ffap-gnus-wrapper):
11200         * help-macro.el (make-help-screen):
11201         * hilit-chg.el (highlight-compare-buffers):
11202         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11203         * hl-line.el (global-hl-line-highlight):
11204         * icomplete.el (icomplete-simple-completing-p):
11205         * isearch.el (isearch-done):
11206         * jit-lock.el (jit-lock-stealth-fontify):
11207         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11208         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11209         * mpc.el (mpc-tagbrowser, mpc):
11210         * net/rcirc.el (rcirc-any-buffer):
11211         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11212         * play/landmark.el (landmark-max-width, landmark-max-height):
11213         * play/zone.el (zone):
11214         * progmodes/compile.el (compilation-goto-locus):
11215         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11216         * progmodes/etags.el (find-tag-other-window):
11217         * progmodes/fortran.el (fortran-column-ruler):
11218         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11219         * progmodes/verilog-mode.el (verilog-point-text):
11220         * reposition.el (reposition-window):
11221         * rot13.el (toggle-rot13-mode):
11222         * server.el (server-switch-buffer):
11223         * shell.el (shell-dynamic-complete-command)
11224         (shell-dynamic-complete-environment-variable):
11225         * simple.el (insert-buffer, set-selective-display)
11226         (delete-completion-window):
11227         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11228         (speedbar-recenter):
11229         * startup.el (fancy-splash-head):
11230         * textmodes/ispell.el (ispell-command-loop):
11231         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11232         * tutorial.el (help-with-tutorial):
11233         * vc/add-log.el (add-change-log-entry):
11234         * vc/compare-w.el (compare-windows):
11235         * vc/ediff-help.el (ediff-indent-help-message):
11236         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11237         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11238         (ediff-setup-control-frame):
11239         * vc/emerge.el (emerge-position-region):
11240         * vc/pcvs-util.el (cvs-bury-buffer):
11241         * window.el (walk-windows, mouse-autoselect-window-select):
11242         * winner.el (winner-set-conf, winner-undo): Related users changed.
11244 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
11246         * frameset.el (frameset--set-id): Doc fix.
11247         (frameset-frame-id, frameset-frame-id-equal-p)
11248         (frameset-locate-frame-id): New functions.
11249         (frameset--process-minibuffer-frames, frameset--reuse-frame)
11250         (frameset-restore): Use them.
11252 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
11254         Do not call to `selected-frame' where it is assumed by default.
11255         Affected functions are `raise-frame', `redraw-frame',
11256         `frame-first-window', `frame-terminal' and `delete-frame'.
11257         * calendar/appt.el (appt-disp-window):
11258         * epg.el (epg-wait-for-completion):
11259         * follow.el (follow-delete-other-windows-and-split)
11260         (follow-avoid-tail-recenter):
11261         * international/mule.el (set-terminal-coding-system):
11262         * mail/rmail.el (rmail-mail-return):
11263         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11264         * progmodes/f90.el (f90-add-imenu-menu):
11265         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11266         * server.el (server-switch-buffer):
11267         * simple.el (delete-completion-window):
11268         * talk.el (talk):
11269         * term/xterm.el (terminal-init-xterm-modify-other-keys)
11270         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11271         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11272         * vc/ediff.el (ediff-documentation): Related users changed.
11273         * frame.el (selected-terminal): Remove the leftover.
11275 2013-08-05  Glenn Morris  <rgm@gnu.org>
11277         * calendar/calendar.el (calendar-generate-month):
11278         Fix for calendar-column-width != 1 + calendar-day-digit-width.
11279         (calendar-generate-month, calendar-font-lock-keywords):
11280         Fix for calendar-day-header-width > length of any day name.
11282 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
11284         * desktop.el (desktop-clear): Use new name of sort predicate.
11286         * frameset.el (frameset): Add docstring.  Move :version property to its
11287         own `version' slot.
11288         (frameset-copy): Rename from copy-frameset.
11289         (frameset-p): Check more thoroughly.
11290         (frameset-prop): Do not check for :version, which is no longer a prop.
11291         (frameset-live-filter-alist, frameset-persistent-filter-alist):
11292         Use new :never value instead of t.
11293         (frameset-filter-alist): Expand and clarify docstring.
11294         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11295         (frameset-filter-minibuffer, frameset-filter-save-param)
11296         (frameset-filter-restore-param, frameset-filter-iconified):
11297         Add pointer to docstring of frameset-filter-alist.
11298         (frameset-filter-params): Rename filter values to be more meaningful:
11299         :never instead of t, and reverse the meanings of :save and :restore.
11300         (frameset--process-minibuffer-frames): Clarify error message.
11301         (frameset-save): Avoid unnecessary and confusing call to framep.
11302         Use new BOA constructor for framesets.
11303         (frameset--reuse-list): Doc fix.
11304         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
11305         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11306         (frameset-minibufferless-first-p): Doc fix.
11307         Rename from frameset-sort-frames-for-deletion.
11308         (frameset-restore): Doc fixes.  Use new function names.
11309         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11311 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
11313         * desktop.el (desktop-restore-forces-onscreen)
11314         (desktop-restore-reuses-frames): Document :keyword constant values.
11315         (desktop-filter-parameters-alist): Remove, now identical to
11316         frameset-filter-alist.
11317         (desktop--filter-tty*): Remove, moved to frameset.el.
11318         (desktop-save-frameset, desktop-restore-frameset):
11319         Do not pass :filters argument.
11321         * frameset.el (frameset-live-filter-alist)
11322         (frameset-persistent-filter-alist): New variables.
11323         (frameset-filter-alist): Use them.  Add autoload cookie.
11324         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11325         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11326         `frameset--id' (it's supposed to be internal to frameset.el).
11327         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
11328         (frameset--initial-params): New function.
11329         (frameset--get-frame): Use it.  Doc fix.
11330         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11331         Accept :all, not 'all.
11332         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11333         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
11334         with fbound symbols.  Fix frame id matching, and remove matching ids if
11335         the frame being restored is deleted.  Obey :delete.
11337 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11339         * subr.el (macrop): New function.
11340         (text-clone--maintaining): New var.
11341         (text-clone--maintain): Rename from text-clone-maintain.  Use it
11342         instead of inhibit-modification-hooks.
11344         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11345         a proxy, so as handle autoloads and redefinitions of the target.
11346         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11348         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11349         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
11350         (pcase--mutually-exclusive-p): New function.
11351         (pcase--split-consp): Use it.
11352         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
11353         mutually exclusive with the current predicate.
11355         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11356         (edebug-macrop): Remove.  Use `macrop' instead.
11357         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
11358         (ad-macro-p):
11359         * eshell/esh-cmd.el (eshell-macrop):
11360         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
11362 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11364         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11365         (advice-mapc): New function, using it.
11366         (advice-function-member-p): New function.
11367         (advice--normalize): Store the cdr in advice--saved-rewrite since
11368         that's the part that will be changed.
11369         (advice--symbol-function): New function.
11370         (advice-remove): Handle removal before the function is defined.
11371         Adjust to new advice--saved-rewrite.
11372         (advice-member-p): Use advice-function-member-p and
11373         advice--symbol-function.
11375 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
11377         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11378         (frameset-filter-minibuffer): Doc fix.
11379         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
11380         (frameset--set-id, frameset--process-minibuffer-frames)
11381         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11382         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11384         * desktop.el (desktop-clear): Only delete frames when called
11385         interactively and desktop-restore-frames is non-nil.  Doc fix.
11386         (desktop-read): Set desktop-saved-frameset to nil.
11388 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
11390         * vc/vc.el (vc-ignore): Rewrite.
11391         (vc-default-ignore-completion-table, vc--read-lines)
11392         (vc--add-line, vc--remove-regexp): New functions.
11394         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11395         (vc-svn-ignore-completion-table): New function.
11397         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11398         (vc-hg-ignore-completion-table)
11399         (vc-hg-find-ignore-file): New functions.
11401         * vc/vc-git.el (vc-git-ignore): Rewrite.
11402         (vc-git-ignore-completion-table)
11403         (vc-git-find-ignore-file): New functions.
11405         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11407         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11408         (vc-bzr-ignore-completion-table)
11409         (vc-bzr-find-ignore-file): New functions.
11411 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
11413         * frameset.el (frameset-prop): New function and setter.
11414         (frameset-save): Do not modify frame list passed by the caller.
11416 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11418         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11420 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11422         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11423         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11425         * custom.el (custom-initialize-default, custom-initialize-set)
11426         (custom-initialize-reset, custom-initialize-changed): Affect the
11427         toplevel-default-value (bug#6275, bug#14586).
11428         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11429         for bug#6275.
11431 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
11433         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11434         Add cl-def* expressions.
11436         * frameset.el (frameset-filter-params): Fix order of arguments.
11438 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
11440         Move code related to saving frames to frameset.el.
11441         * desktop.el: Require frameset.
11442         (desktop-restore-frames): Doc fix.
11443         (desktop-restore-reuses-frames): Rename from
11444         desktop-restoring-reuses-frames.
11445         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11446         (desktop-clear): Clear frames too.
11447         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11448         (desktop--filter-tty*, desktop-save, desktop-read):
11449         Use frameset functions.
11450         (desktop-before-saving-frames-functions, desktop--filter-*-color)
11451         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11452         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11453         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11454         (desktop--process-minibuffer-frames, desktop-save-frames)
11455         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11456         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11457         (desktop--sort-states, desktop-restoring-frames-p)
11458         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
11459         (desktop-restoring-frameset-p, desktop-restore-frameset)
11460         (desktop--check-dont-save, desktop-save-frameset): New functions.
11461         (desktop--app-id): New constant.
11462         (desktop-first-buffer, desktop-buffer-ok-count)
11463         (desktop-buffer-fail-count): Move before first use.
11464         * frameset.el: New file.
11466 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11468         * files.el: Use lexical-binding.
11469         (dir-locals-read-from-file): Remove unused `err' variable.
11470         (hack-dir-local-variables--warned-coding): New var.
11471         (hack-dir-local-variables): Use it to avoid repeated warnings.
11472         (make-backup-file-name--default-function): New function.
11473         (make-backup-file-name-function): Use it as default.
11474         (buffer-stale--default-function): New function.
11475         (buffer-stale-function): Use it as default.
11476         (revert-buffer-insert-file-contents--default-function): New function.
11477         (revert-buffer-insert-file-contents-function): Use it as default.
11478         (insert-directory): Avoid add-to-list.
11480         * autorevert.el (auto-revert-handler): Simplify.
11481         Use buffer-stale--default-function.
11483 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
11485         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11487         * whitespace.el (whitespace-ensure-local-variables): New function.
11488         (whitespace-cleanup-region): Call it.
11489         (whitespace-turn-on): Call it.
11491 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
11493         Complete file name handlers.
11495         * net/tramp.el (tramp-handle-set-visited-file-modtime)
11496         (tramp-handle-verify-visited-file-modtime)
11497         (tramp-handle-file-notify-rm-watch): New functions.
11498         (tramp-call-process): Do not bind `default-directory'.
11500         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11501         Order alphabetically.
11502         <access-file, add-name-to-file, dired-call-process>:
11503         <dired-compress-file, file-acl, file-notify-rm-watch>:
11504         <file-ownership-preserved-p, file-selinux-context>:
11505         <make-directory-internal, make-symbolic-link, set-file-acl>:
11506         <set-file-selinux-context, set-visited-file-modtime>:
11507         <verify-visited-file-modtime>: Add handler.
11508         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11510         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11511         <file-notify-add-watch, file-notify-rm-watch>:
11512         <set-file-times, set-visited-file-modtime>:
11513         <verify-visited-file-modtime>: Add handler.
11514         (with-tramp-gvfs-error-message)
11515         (tramp-gvfs-handle-set-visited-file-modtime)
11516         (tramp-gvfs-fuse-file-name): Remove.
11517         (tramp-gvfs-handle-file-notify-add-watch)
11518         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11519         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11521         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11522         Order alphabetically.
11523         <file-notify-rm-watch>: Use default Tramp handler.
11524         <executable-find>: Remove private handler.
11525         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11526         `default-directory'.
11527         (tramp-sh-handle-executable-find)
11528         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11529         (tramp-sh-file-gvfs-monitor-dir-process-filter)
11530         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11531         Do not use `format' in `tramp-message'.
11533         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11534         <file-notify-rm-watch, set-visited-file-modtime>:
11535         <verify-visited-file-modtime>: Add handler.
11536         (tramp-smb-call-winexe): Do not bind `default-directory'.
11538 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
11540         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11542 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
11544         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11545         use it.
11546         (log-view-diff-changeset): Same.
11547         (log-view-diff-common): Call backend command `previous-revision'
11548         to find out the previous revision, in both cases.  Swap the
11549         variables `to' and `fr', so that `fr' usually refers to the
11550         earlier revision (Bug#14989).
11552 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
11554         * ibuf-ext.el (ibuffer-filter-by-filename):
11555         Make it work with dired buffers too.
11557 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
11559         * emacs-lisp/re-builder.el (reb-color-display-p):
11560         * files.el (save-buffers-kill-terminal):
11561         * net/browse-url.el (browse-url):
11562         * server.el (server-save-buffers-kill-terminal):
11563         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11564         Prefer nil to selected-frame for the first arg of frame-parameter.
11566 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
11568         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11570 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
11572         * minibuffer.el (completion--twq-all): Try and preserve each
11573         completion's case choice (bug#14907).
11575 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11577         * net/network-stream.el (open-network-stream): Mention the new
11578         :nogreeting parameter.
11579         (network-stream-open-starttls): Use the :nogreeting parameter
11580         (bug#14938).
11582         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11584         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11585         more natural than popping.
11587         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11588         (shr-urlify): Highlight under mouse.
11590 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
11592         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11594         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11596         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
11597         buffer for output.
11599         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
11600         point-min==1.  Fix search string.  Fix parentheses missing.
11602         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
11603         assume point-min==1.  Fix search string.  Fix parentheses missing.
11605         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11607         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
11608         buffer for output.
11610 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
11612         * frame.el (frame-notice-user-settings): Avoid inflooping when the
11613         initial frame is minibuffer-less.  (Bug#14841)
11615 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
11617         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11618         option.
11620         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11621         (tramp-maybe-open-connection): Use it.
11623 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
11625         * desktop.el (desktop--make-frame): Include `minibuffer' in the
11626         minimal set of parameters passed when creating a frame, because
11627         the minibuffer status of a frame cannot be changed later.
11629 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
11631         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11632         replace-regexp-in-string and inadvertent omissions in previous change.
11633         (todo-filter-items): Ensure only file names are comma-separated in
11634         name of filtered items buffer.
11636 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
11638         * desktop.el: Optionally force offscreen frames back onscreen.
11639         (desktop-restoring-reuses-frames): New option.
11640         (desktop--compute-pos, desktop--move-onscreen): New functions.
11641         (desktop--make-frame): Use desktop--move-onscreen.
11643 2013-07-27  Alan Mackenzie  <acm@muc.de>
11645         Fontify a Java generic method as a function.
11646         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11647         value to t.
11649 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
11651         * calendar/todo-mode.el: Add command to rename todo files.
11652         (todo-rename-file): New command.
11653         (todo-key-bindings-t): Add key binding for it.  Change the
11654         bindings of todo-filter-regexp-items(-multifile) to use `x'
11655         instead of `r', since the latter is better suited to the new
11656         renaming command.
11658 2013-07-27  Alan Mackenzie  <acm@muc.de>
11660         Make Java try-with-resources statement parse properly.
11661         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11662         (c-block-stmt-1-2-key): New language constants/variables.
11663         * progmodes/cc-engine.el (c-beginning-of-statement-1)
11664         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11665         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11666         with c-block-stmt-1-2-key.
11668 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
11670         * desktop.el (desktop--make-frame): Apply most frame parameters after
11671         creating the frame to force (partially or totally) offscreen frames to
11672         be restored as such.
11674 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
11676         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11677         (Bug#14948)
11679 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11681         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11682         `base' arg of backtrace-frame.
11684 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
11686         * simple.el (list-processes): Doc fix.
11688 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
11690         * desktop.el (desktop--select-frame):
11691         Try harder to reuse existing frames.
11693 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11695         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11696         (edebug-eval): Use backtrace-eval.
11697         (edebug--display, edebug--recursive-edit): Don't let-bind the
11698         edebug-outer-* vars that keep track of variables we locally let-bind.
11699         (edebug-outside-excursion): Don't restore outside values of locally
11700         let-bound vars.
11701         (edebug--display): Use user-error.
11702         (cl-lexical-debug, cl-debug-env): Remove.
11704 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
11706         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11707         are restored to be sure that they are visible before deleting any
11708         remaining ones.
11710 2013-07-26  Matthias Meulien  <orontee@gmail.com>
11712         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11713         vc-print-root-log.  (Bug#14948)
11715 2013-07-26  Richard Stallman  <rms@gnu.org>
11717         Add aliases for encrypting mail.
11718         * epa.el (epa-mail-aliases): New option.
11719         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11720         Bind inhibit-read-only so read-only text doesn't ruin everything.
11721         (epa-mail-default-recipients): New subroutine broken out.
11722         Handle epa-mail-aliases.
11724 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11726         Add support for lexical variables to the debugger's `e' command.
11727         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11728         vars, except for debugger-outer-match-data.
11729         (debugger-frame-number): Move check for "on a function call" from
11730         callers into it.  Add `skip-base' argument.
11731         (debugger-frame, debugger-frame-clear): Simplify accordingly.
11732         (debugger-env-macro): Only reset the state stored in non-variables,
11733         i.e. current-buffer and match-data.
11734         (debugger-eval-expression): Rewrite using backtrace-eval.
11735         * subr.el (internal--called-interactively-p--get-frame): Remove.
11736         (called-interactively-p):
11737         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11738         `base' arg of backtrace-frame instead.
11740 2013-07-26  Glenn Morris  <rgm@gnu.org>
11742         * align.el (align-regexp): Doc fix.  (Bug#14857)
11743         (align-region): Explicit error if subexpression missing/does not match.
11745         * simple.el (global-visual-line-mode):
11746         Do not duplicate the mode lighter.  (Bug#14858)
11748 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
11750         * window.el (display-buffer): In display-buffer bind
11751         split-window-keep-point to t, bug#14829.
11753 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
11755         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11756         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11757         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11758         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11759         Change accordingly.
11760         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11761         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11763 2013-07-25  Glenn Morris  <rgm@gnu.org>
11765         * dired-x.el (dired-mark-extension): Convert comment to doc string.
11767 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
11769         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11770         parameter to modify-frame-parameters if the value has not changed;
11771         this is a workaround for bug#14949.
11772         (desktop--make-frame): On cl-delete-if call, check parameter name,
11773         not full parameter.
11775 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
11777         * vc/vc.el (vc-ignore): New function.
11779         * vc/vc-svn.el (vc-svn-ignore): New function.
11781         * vc/vc-hg.el (vc-hg-ignore): New function.
11783         * vc/vc-git.el (vc-git-ignore): New function.
11785         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11786         (vc-dir-ignore): New function.
11788         * vc/vc-cvs.el (vc-cvs-ignore): New function.
11789         (cvs-append-to-ignore): Move here from pcvs.el.
11791         * vc/vc-bzr.el (vc-bzr-ignore): New function.
11793         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11795 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
11797         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11798         (desktop-restore-frames): Warn when deleting an existing frame failed.
11800 2013-07-24  Glenn Morris  <rgm@gnu.org>
11802         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
11804 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
11806         * filenotify.el (file-notify-supported-p):
11807         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11808         Remove functions.
11810         * autorevert.el (auto-revert-use-notify)
11811         (auto-revert-notify-add-watch):
11812         * net/tramp.el (tramp-file-name-for-operation):
11813         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11814         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11815         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11816         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11817         Remove `file-notify-supported-p' entry.
11819 2013-07-24  Glenn Morris  <rgm@gnu.org>
11821         * printing.el: Replace all uses of deleted ps-windows-system,
11822         ps-lp-system, ps-flatten-list with lpr- versions.
11824 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11826         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11827         checked with memq (bug#14935).
11829         * files.el (revert-buffer-function): Use a non-nil default.
11830         (revert-buffer-preserve-modes): Declare var to
11831         provide access to the `preserve-modes' argument.
11832         (revert-buffer): Let-bind it.
11833         (revert-buffer--default): New function, extracted from revert-buffer.
11835 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11837         * lpr.el: Signal print errors more prominently.
11838         (print-region-function): Don't default to nil.
11839         (lpr-print-region): New function, extracted from print-region-1.
11840         Check lpr's return value and signal an error in case of problem.
11841         (print-region-1): Use it.
11842         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
11843         versions instead.
11844         (ps-printer-name): Default to nil.
11845         (ps-printer-name-option): Default to lpr-printer-switch.
11846         (ps-print-region-function): Don't default to nil.
11847         (ps-postscript-code-directory): Simplify default.
11848         (ps-do-despool): Use lpr-print-region to properly check the outcome.
11849         (ps-string-list, ps-eval-switch, ps-flatten-list)
11850         (ps-flatten-list-1): Remove.
11851         (ps-multibyte-buffer): Avoid setq.
11852         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11853         (print-region-function, ps-print-region-function): Don't set them here.
11855 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
11857         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11858         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11859         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11860         (ido-decorations): Doc fix.
11862         * ansi-color.el: Fix old URL.
11864 2013-07-23  Michael R. Mauger  <michael@mauger.com>
11866         * progmodes/sql.el: Version 3.3
11867         (sql-product-alist): Improve oracle :prompt-cont-regexp.
11868         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11869         (sql-interactive-remove-continuation-prompt): Rewrite, use
11870         functions above.  Fix continuation prompt and complete output line
11871         handling.
11872         (sql-redirect-one, sql-execute): Use `read-only-mode' on
11873         redirected output buffer.
11874         (sql-mode): Restore deleted code (Bug#13591).
11876 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
11878         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11880 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
11882         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11884         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11885         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11886         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11888 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
11890         * desktop.el (desktop-clear): Simplify; remove useless checks
11891         against invalid buffer names.
11892         (desktop-list*): Use cl-list*.
11893         (desktop-buffer-info, desktop-create-buffer): Simplify.
11895 2013-07-23  Leo Liu  <sdl.web@gmail.com>
11897         * bookmark.el (bookmark-make-record): Restore NAME as a default
11898         value.  (Bug#14933)
11900 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11902         * emacs-lisp/autoload.el (autoload--setup-output): New function,
11903         extracted from autoload--insert-text.
11904         (autoload--insert-text): Remove.
11905         (autoload--print-cookie-text): New function, extracted from
11906         autoload--insert-cookie-text.
11907         (autoload--insert-cookie-text): Remove.
11908         (autoload-generate-file-autoloads): Adjust calls accordingly.
11910         * winner.el (winner-hook-installed-p): Remove.
11911         (winner-mode): Simplify accordingly.
11913         * subr.el (add-to-list): Fix compiler-macro when `append' is
11914         not constant.  Don't use `cl-member' for the base case.
11916         * progmodes/subword.el: Fix boundary case (bug#13758).
11917         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
11918         own group.
11919         (subword-backward-regexp): Make it a constant.
11920         (subword-forward-internal): Don't treat a trailing capital as the
11921         beginning of a word.
11923 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
11925         * emacs-lisp/package.el (package-menu-mode): Don't modify the
11926         global value of tabulated-list-revert-hook (bug#14930).
11928 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
11930         * desktop.el: Require 'cl-lib.
11931         (desktop-before-saving-frames-functions): New hook.
11932         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11933         for frames being saved.  Rename from desktop--save-minibuffer-frames.
11934         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11935         Do not save frames with non-nil `desktop-dont-save' parameter.
11936         Filter out deleted frames.
11937         (desktop--find-frame): Use cl-find-if.
11938         (desktop--select-frame): Use cl-(first|second|third) to access values
11939         of desktop-mini.
11940         (desktop--make-frame): Use cl-delete-if.
11941         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11942         (desktop-restore-frames): Use cl-(first|second|third) to access values
11943         of desktop-mini.  Look for visible frame at the end, not while
11944         restoring frames.
11946         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11947         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11948         Use string-match-p, looking-at-p (bug#14927).
11950 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
11952         * desktop.el (desktop-saved-frame-states):
11953         Rename from desktop--saved-states; all users changed.
11954         (desktop-save-frames): Rename from desktop--save-frames.
11955         Do not save state to desktop file.
11956         (desktop-save): Save desktop-saved-frame-states to desktop file
11957         and reset to nil.
11958         (desktop-restoring-frames-p): New function.
11959         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
11960         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
11961         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
11963         * desktop.el: Correctly restore iconified frames.
11964         (desktop--filter-iconified-position): New function.
11965         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11967 2013-07-20  Glenn Morris  <rgm@gnu.org>
11969         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11970         Let `message' do the formatting.
11971         (def-gdb-preempt-display-buffer): Add explicit format.
11973         * image-dired.el (image-dired-track-original-file):
11974         Use with-current-buffer.
11975         (image-dired-track-thumbnail): Use with-current-buffer.
11976         Avoid changing point of wrong window.
11978         * image-dired.el (image-dired-track-original-file):
11979         Avoid changing point of wrong window.  (Bug#14909)
11981 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
11983         * progmodes/gdb-mi.el (gdb-done-or-error):
11984         Guard against "%" in gdb output.  (Bug#14127)
11986 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
11988         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11989         (Bug#14826)
11991         * international/mule.el (coding-system-iso-2022-flags): Fix last
11992         change.
11994 2013-07-20  Kenichi Handa  <handa@gnu.org>
11996         * international/mule.el (coding-system-iso-2022-flags):
11997         Add `8-bit-level-4'.  (Bug#8522)
11999 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12001         * net/shr.el (shr-mouse-browse-url): New command and keystroke
12002         (bug#14815).
12004         * net/eww.el (eww-process-text-input): Allow inputting when the
12005         point is at the start of the line, as the properties aren't
12006         front-sticky.
12008         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
12009         degenerate widths.
12011 2013-07-19  Richard Stallman  <rms@gnu.org>
12013         * epa.el (epa-popup-info-window): Doc fix.
12015         * subr.el (split-string): New arg TRIM.
12017 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
12019         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
12020         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
12022 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
12024         * filenotify.el (file-notify--library): Rename from
12025         `file-notify-support'.  Do not autoload.  Adapt all uses.
12026         (file-notify-supported-p): New defun.
12028         * autorevert.el (auto-revert-use-notify):
12029         Use `file-notify-supported-p' instead of `file-notify-support'.
12030         Adapt docstring.
12031         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
12033         * net/tramp.el (tramp-file-name-for-operation):
12034         Add `file-notify-supported-p'.
12036         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
12037         New defun.
12038         (tramp-sh-file-name-handler-alist): Add it as handler for
12039         `file-notify-supported-p '.
12041         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12042         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12043         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12044         Add `ignore' as handler for `file-notify-*' functions.
12046 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
12048         * simple.el (line-move-partial, line-move): Don't start vscroll or
12049         scroll-up if the current line is not taller than the window.
12050         (Bug#14881)
12052 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
12054         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
12055         highlight question marks in the method names as strings.
12056         (ruby-block-beg-keywords): Inline.
12057         (ruby-font-lock-keyword-beg-re): Extract from
12058         `ruby-font-lock-keywords'.
12060 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
12062         * frame.el (blink-cursor-blinks): New defcustom.
12063         (blink-cursor-blinks-done): New defvar.
12064         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
12065         (blink-cursor-timer-function): Check if number of blinks has been
12066         done on X and NS.
12067         (blink-cursor-suspend, blink-cursor-check): New defuns.
12069 2013-07-15  Glenn Morris  <rgm@gnu.org>
12071         * edmacro.el (edmacro-format-keys): Fix previous change.
12073 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
12075         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
12076         The hack didn't work outside English locales anyway.
12078 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
12080         * simple.el (define-alternatives): Rename from alternatives-define,
12081         per RMS' suggestion.
12083 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
12085         * desktop.el (desktop-restore-frames): Change default to t.
12086         (desktop-restore-in-current-display): Now offer more options.
12087         (desktop-restoring-reuses-frames): New customization option.
12088         (desktop--saved-states): Doc fix.
12089         (desktop-filter-parameters-alist): New variable, renamed and expanded
12090         from desktop--excluded-frame-parameters.
12091         (desktop--target-display): New variable.
12092         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
12093         (desktop--filter-tty*, desktop--filter-*-color)
12094         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12095         (desktop--filter-save-desktop-parm)
12096         (desktop-restore-in-original-display-p): New functions.
12097         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
12098         (desktop--save-minibuffer-frames): New function, inspired by a similar
12099         function from Martin Rudalics.
12100         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
12101         (desktop--restore-in-this-display-p): Remove.
12102         (desktop--find-frame): Rename from desktop--find-frame-in-display
12103         and add predicate argument.
12104         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
12105         (desktop--reuse-list): New variable.
12106         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
12107         New functions.
12108         (desktop--restore-frames): Add support for "minibuffer-special" frames.
12110 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
12112         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
12114 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
12116         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12117         Highlight conversion methods on Kernel.
12119 2013-07-13  Alan Mackenzie  <acm@muc.de>
12121         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
12122         and comment it out.  This out-commenting enables certain C++
12123         declarations to be parsed correctly.
12125 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
12127         * international/mule.el (define-coding-system): Doc fix.
12129         * simple.el (default-font-height): Don't call font-info if the
12130         frame's default font didn't change since the frame was created.
12131         (Bug#14838)
12133 2013-07-13  Leo Liu  <sdl.web@gmail.com>
12135         * ido.el (ido-read-file-name): Guard against non-symbol value.
12137 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12139         * progmodes/python.el (python-imenu--build-tree): Fix corner case
12140         in nested defuns.
12142 2013-07-13  Leo Liu  <sdl.web@gmail.com>
12144         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
12145         ido-set-matches call.  (Bug#6852)
12147 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
12149         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
12150         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
12151         Ruby 2.0.
12152         (ruby-font-lock-keywords): Distinguish calls to functions with
12153         module-like names from module references.  Highlight character
12154         literals.
12156 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
12158         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
12159         (gdb-send): Handle continued commands.  (Bug#14847)
12161 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
12163         * desktop.el (desktop--v2s): Remove unused local variable.
12164         (desktop-save-buffer): Make defvar-local; adjust docstring.
12165         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
12166         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
12168 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
12170         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
12172 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
12174         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
12175         (Bug#14842)
12177 2013-07-12  Glenn Morris  <rgm@gnu.org>
12179         * doc-view.el: Require cl-lib at runtime too.
12180         (doc-view-remove-if): Remove.
12181         (doc-view-search-next-match, doc-view-search-previous-match):
12182         Use cl-remove-if.
12184         * edmacro.el: Require cl-lib at runtime too.
12185         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
12186         (edmacro-mismatch, edmacro-subseq): Remove.
12188         * shadowfile.el: Require cl-lib.
12189         (shadow-remove-if): Remove.
12190         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
12191         Use cl-remove-if.
12193         * wid-edit.el: Require cl-lib.
12194         (widget-choose): Use cl-remove-if.
12195         (widget-remove-if): Remove.
12197         * progmodes/ebrowse.el: Require cl-lib at runtime too.
12198         (ebrowse-delete-if-not): Remove.
12199         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12200         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12201         Use cl-delete-if-not.
12203 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
12205         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12206         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12208 2013-07-12  Leo Liu  <sdl.web@gmail.com>
12210         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
12212 2013-07-11  Glenn Morris  <rgm@gnu.org>
12214         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12215         (edebug-gensym-index, edebug-gensym):
12216         Remove reimplementation of cl-gensym.
12217         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12219         * thumbs.el: Require cl-lib at run-time too.
12220         (thumbs-gensym-counter, thumbs-gensym):
12221         Remove reimplementation of cl-gensym.
12222         (thumbs-temp-file): Use cl-gensym.
12224         * emacs-lisp/ert.el: Require cl-lib at runtime too.
12225         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12226         (ert--intersection, ert--set-difference, ert--set-difference-eq)
12227         (ert--union, ert--gensym-counter, ert--gensym-counter)
12228         (ert--coerce-to-vector, ert--remove*, ert--string-position)
12229         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12230         (ert-make-test-unbound, ert--expand-should-1)
12231         (ert--expand-should, ert--should-error-handle-error)
12232         (should-error, ert--explain-equal-rec)
12233         (ert--plist-difference-explanation, ert-select-tests)
12234         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12235         Use cl-lib functions rather than reimplementations.
12237 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
12239         * net/tramp.el (tramp-methods): Extend docstring.
12240         (tramp-connection-timeout): New defcustom.
12241         (tramp-error-with-buffer): Reset timestamp only when appropriate.
12242         (with-tramp-progress-reporter): Simplify.
12243         (tramp-process-actions): Improve messages.
12245         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12246         * net/tramp-sh.el (tramp-maybe-open-connection):
12247         Use `tramp-connection-timeout'.
12248         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12249         (Bug#14808)
12251 2013-07-11  Leo Liu  <sdl.web@gmail.com>
12253         * ido.el (ido-read-file-name): Conform to the requirements of
12254         read-file-name.  (Bug#11861)
12255         (ido-read-directory-name): Conform to the requirements of
12256         read-directory-name.
12258 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
12260         * subr.el (delay-warning): New function.
12262 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
12264         * simple.el (default-line-height): New function.
12265         (line-move-partial, line-move): Use it instead of computing the
12266         line height inline.
12267         (line-move-partial): Always compute ROWH.  If the last line is
12268         partially-visible, but its text is completely visible, allow
12269         cursor to enter such a partially-visible line.
12271 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
12273         Improve error messages.  (Bug#14808)
12275         * net/tramp.el (tramp-current-connection): New defvar, moved from
12276         tramp-sh.el.
12277         (tramp-message-show-progress-reporter-message): Remove, not
12278         needed anymore.
12279         (tramp-error-with-buffer): Show message in minibuffer.
12280         Discard input before waiting.  Reset connection timestamp.
12281         (with-tramp-progress-reporter): Improve messages.
12282         (tramp-process-actions): Use progress reporter.  Delete process in
12283         case of error.  Improve messages.
12285         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12286         Call `tramp-error-with-buffer' with vector and buffer.
12287         (tramp-current-connection): Remove.
12288         (tramp-maybe-open-connection): The car of
12289         `tramp-current-connection' are the first 3 slots of the vector.
12291 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
12293         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12294         inside continued strings.
12296 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
12298         Timestamp fixes for undo (Bug#14824).
12299         * files.el (clear-visited-file-modtime): Move here from fileio.c.
12301 2013-07-10  Leo Liu  <sdl.web@gmail.com>
12303         * files.el (require-final-newline): Allow safe local value.
12304         (Bug#14834)
12306 2013-07-09  Leo Liu  <sdl.web@gmail.com>
12308         * ido.el (ido-read-directory-name): Handle fallback.
12309         (ido-read-file-name): Update DIR to ido-current-directory.
12310         (Bug#1516)
12311         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
12313 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
12315         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12316         "autoload".  Remove "warn lower camel case" section, previously
12317         commented out.  Highlight negation char.  Do not highlight the
12318         target in singleton method definitions.
12320 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12322         * faces.el (tty-setup-hook): Declare the hook.
12324         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12325         and detect when a guard/pred depends on local vars (bug#14773).
12326         (pcase--u1): Adjust caller.
12328 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
12330         * simple.el (line-move-partial, line-move): Account for
12331         line-spacing.
12332         (line-move-partial): Avoid setting vscroll when the last
12333         partially-visible line in window is of default height.
12335 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12337         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12338         been used a while.
12340 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
12342         * subr.el (read-quoted-char): Remove unused local variable `char'.
12344 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
12346         * vc/ediff.el (ediff-version): Version update.
12347         (ediff-files-command, ediff3-files-command, ediff-merge-command)
12348         (ediff-merge-with-ancestor-command, ediff-directories-command)
12349         (ediff-directories3-command, ediff-merge-directories-command)
12350         (ediff-merge-directories-with-ancestor-command): New functions.
12351         All are command-line interfaces to ediff: to facilitate calling
12352         Emacs with the appropriate ediff functions invoked.
12354         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12355         New function.
12356         (viper-save-kill-buffer): Check if buffer is modified.
12358         * emulation/viper.el (viper-version): Version update.
12359         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12361 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12363         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12364         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12365         (viper-intercept-ESC-key): Simplify.
12366         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12367         don't use kbd.
12368         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12369         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12370         (viper-setup-ESC-to-escape): New functions.
12371         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12372         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
12374 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
12376         * simple.el (default-font-height, window-screen-lines):
12377         New functions.
12378         (line-move, line-move-partial): Use them instead of
12379         frame-char-height and window-text-height.  This makes scrolling
12380         text smoother when the buffer's default face uses a font that is
12381         different from the frame's default font.
12383 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
12385         * files.el (write-file): Do not display confirm dialog for NS,
12386         it does its own dialog, which can't be canceled (Bug#14578).
12388 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
12390         * simple.el (line-move-partial): Adjust the row returned by
12391         posn-at-point for the current window-vscroll.  (Bug#14567)
12393 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
12395         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12396         (tramp-sh-file-inotifywait-process-filter): Handle file names with
12397         spaces.
12399 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
12401         * window.el (window-state-put-stale-windows): New variable.
12402         (window--state-put-2): Save list of windows without matching buffer.
12403         (window-state-put): Remove "bufferless" windows if possible.
12405 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
12407         * simple.el (alternatives-define): Remove leftover :group keyword.
12408         Tweak docstring.
12410 2013-07-06  Leo Liu  <sdl.web@gmail.com>
12412         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12413         (ido-enable-virtual-buffers): New variable.
12414         (ido-buffer-internal, ido-toggle-virtual-buffers)
12415         (ido-make-buffer-list): Use it.
12416         (ido-exhibit): Support turning on and off virtual buffers
12417         automatically.
12419 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
12421         * simple.el (alternatives-define): New macro.
12423 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12425         * subr.el (read-quoted-char): Use read-key.
12426         (sit-for): Let read-event decode tty input (bug#14782).
12428 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
12430         * calendar/todo-mode.el: Add handling of file deletion, both by
12431         mode command and externally.  Fix various related bugs.
12432         Clarify Commentary and improve some documentation strings and code.
12433         (todo-delete-file): New command.
12434         (todo-check-file): New function.
12435         (todo-show): Handle external deletion of the file we're trying to
12436         show (bug#14688).  Replace called-interactively-p by an optional
12437         prefix argument to avoid problematic interaction with catch form
12438         when byte compiled (bug#14702).
12439         (todo-quit): Handle external deletion of the archive's todo file.
12440         Make sure the buffer that was visiting the archive file is still
12441         live before trying to bury it.
12442         (todo-category-completions): Handle external deletion of any
12443         category completion files.
12444         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12445         of todo files, in case of external deletion.
12446         (todo-add-file): Replace unnecessary setq by let-binding.
12447         (todo-find-archive): Check whether there are any archives.
12448         Replace unnecessary setq by let-binding.
12449         (todo-archive-done-item): Use find-file-noselect to get the
12450         archive buffer whether or not the archive already exists.
12451         Remove superfluous code.  Use file size instead of buffer-file-name to
12452         check if the archive is new; if it is, update list of archives.
12453         (todo-default-todo-file): Allow nil to be a valid value for when
12454         there are no todo files.
12455         (todo-reevaluate-default-file-defcustom): Use corrected definition
12456         of todo-default-todo-file.
12457         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12458         (todo-delete-category, todo-show-categories-table)
12459         (todo-category-number): Clarify comment.
12460         (todo-filter-items): Clarify documentation string.
12461         (todo-show-current-file, todo-display-as-todo-file)
12462         (todo-reset-and-enable-done-separator): Tweak documentation string.
12463         (todo-done-separator): Make separator length window-width, since
12464         bug#2749 is now fixed.
12466 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
12468         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12469         Support both "gvfs-monitor-dir" and "inotifywait".
12470         (tramp-sh-file-inotifywait-process-filter): Rename from
12471         `tramp-sh-file-notify-process-filter'.
12472         (tramp-sh-file-gvfs-monitor-dir-process-filter)
12473         (tramp-get-remote-gvfs-monitor-dir): New defuns.
12475 2013-07-05  Leo Liu  <sdl.web@gmail.com>
12477         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12479 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12481         * frame.el (display-pixel-height, display-pixel-width)
12482         (display-mm-height, display-mm-width): Mention behavior on
12483         multi-monitor setups in docstrings.
12484         (w32-display-monitor-attributes-list): Declare function.
12485         (display-monitor-attributes-list): Use it.
12487 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
12489         * filenotify.el: New package.
12491         * autorevert.el (top): Require filenotify.el.
12492         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
12493         instead.
12494         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12495         (auto-revert-notify-handler): Use `file-notify-*' functions.
12497         * subr.el (file-notify-handle-event): Move function to filenotify.el.
12499         * net/tramp.el (tramp-file-name-for-operation):
12500         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12502         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12503         for `file-notify-add-watch' and `file-notify-rm-watch'.
12504         (tramp-process-sentinel): Improve trace.
12505         (tramp-sh-handle-file-notify-add-watch)
12506         (tramp-sh-file-notify-process-filter)
12507         (tramp-sh-handle-file-notify-rm-watch)
12508         (tramp-get-remote-inotifywait): New defuns.
12510 2013-07-03  Juri Linkov  <juri@jurta.org>
12512         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12513         call of `occur-read-primary-args' to interactive spec.
12515         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12516         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
12518 2013-07-03  Matthias Meulien  <orontee@gmail.com>
12520         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12521         `Buffer-menu-multi-occur'.  Add it to the menu.
12522         (Buffer-menu-mode): Document it in docstring.
12523         (Buffer-menu-multi-occur): New command.  (Bug#14673)
12525 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
12527         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12528         keywords and built-ins.
12530 2013-07-03  Glenn Morris  <rgm@gnu.org>
12532         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
12534         Make info-xref checks case-sensitive by default
12535         * info.el (Info-find-node, Info-find-in-tag-table)
12536         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12537         Add option for exact case matching of nodes.
12538         * info-xref.el (info-xref): New custom group.
12539         (info-xref-case-fold): New option.
12540         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12542 2013-07-03  Leo Liu  <sdl.web@gmail.com>
12544         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12546 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
12548         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12549         middle of block statement initially, lower the depth.  Remove
12550         FIXME comment, not longer valid.  Remove middle of block statement
12551         detection, no need to do that anymore since we've been using
12552         `ruby-parse-region' here.
12554 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
12556         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12558 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
12560         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12562 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
12564         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12565         (desktop-restore-in-current-display): New customization option.
12566         (desktop--excluded-frame-parameters): Add `font'.
12567         (desktop--save-frames): Rename from desktop--save-windows.
12568         (desktop--restore-in-this-display-p): New function.
12569         (desktop--make-full-frame): Remove unwanted width/height from
12570         full(width|height) frames.
12571         (desktop--restore-frames): Rename from desktop--restore-windows.
12572         Obey desktop-restore-current-display.  Do not delete old frames or
12573         select a new frame unless we were able to restore at least one frame.
12575 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
12577         * files.el (find-file-noselect): Simplify conditional expression.
12579         * textmodes/remember.el (remember-append-to-file):
12580         Don't mix `find-buffer-visiting' and `get-file-buffer'.
12582         Add `remember-notes' function to store random notes across Emacs
12583         restarts.
12584         * textmodes/remember.el (remember-data-file): Add :set callback to
12585         affect notes buffer (if any).
12586         (remember-notes): New command.
12587         (remember-notes-buffer-name, bury-remember-notes-on-kill):
12588         New defcustoms for the `remember-notes' function.
12589         (remember-notes-save-and-bury-buffer): New command.
12590         (remember-notes-mode-map): New variable.
12591         (remember-mode): New minor mode.
12592         (remember-notes--kill-buffer-query): New function.
12593         * startup.el (initial-buffer-choice): Add notes to custom type.
12595 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
12597         * bindings.el (right-char, left-char): Don't call sit-for, this is
12598         no longer needed.  Use arithmetic comparison only for numerical
12599         arguments.
12601         * international/mule-cmds.el (select-safe-coding-system):
12602         Handle the case of FROM being a string correctly.  (Bug#14755)
12604 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12606         * net/shr.el (shr-make-table-1): Add a sanity check that allows
12607         progression on degenerate tables.
12608         (shr-rescale-image): ImageMagick animated images currently don't work.
12610 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
12612         Some fixes and improvements for desktop frame restoration.
12613         It is still experimental and disabled by default.
12614         * desktop.el (desktop--save-windows): Put the selected frame at
12615         the head of the list.
12616         (desktop--make-full-frame): New function.
12617         (desktop--restore-windows): Try to re-select the frame that was
12618         selected upon saving.  Do not abort if some frames fail to restore,
12619         just show an error message and continue.  Set up maximized frames
12620         so they have default non-maximized dimensions.
12622 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
12624         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12625         Don't start heredoc inside a string or comment.
12627 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
12629         * bindings.el (visual-order-cursor-movement): New defcustom.
12630         (right-char, left-char): Provide visual-order cursor motion by
12631         calling move-point-visually.  Update the doc strings.
12633 2013-06-28  Kenichi Handa  <handa@gnu.org>
12635         * international/mule.el (define-coding-system): New coding system
12636         properties :inhibit-null-byte-detection,
12637         :inhibit-iso-escape-detection, and :prefer-utf-8.
12638         (set-buffer-file-coding-system): If :charset-list property of
12639         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12640         appropriate for setting.
12642         * international/mule-cmds.el (select-safe-coding-system):
12643         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12644         multibyte characters, return utf-8 (or one of its siblings).
12646         * international/mule-conf.el (prefer-utf-8): New coding system.
12647         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12648         files.
12650 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
12652         * net/shr.el (shr-render-region): New function.
12654         * net/eww.el: Autoload `eww-browse-url'.
12656 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
12658         * emacs-lisp/package-x.el (package-upload-buffer-internal):
12659         Adapt to `package-desc-version' being a list.
12660         Use `package--ac-desc-version' to retrieve version from a package
12661         archive element.
12663 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
12665         New experimental feature to save&restore window and frame setup.
12666         * desktop.el (desktop-save-windows): New defcustom.
12667         (desktop--saved-states): New var.
12668         (desktop--excluded-frame-parameters): New defconst.
12669         (desktop--filter-frame-parms, desktop--find-frame-in-display)
12670         (desktop--restore-windows, desktop--save-windows): New functions.
12671         (desktop-save): Call `desktop--save-windows'.
12672         (desktop-read): Call `desktop--restore-windows'.
12674 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12676         * net/shr.el (add-face-text-property): Remove compat definition.
12678 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
12680         * info.el (Info-try-follow-nearest-node): Move search for footnote
12681         above search for node name to prevent missing a footnote (bug#14717).
12683 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
12685         * obsolete/otodo-mode.el: Add obsolescence info to file header.
12687 2013-06-27  Leo Liu  <sdl.web@gmail.com>
12689         * net/eww.el (eww-read-bookmarks): Check file size.
12691 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12693         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12694         advice--pending if newdef is nil or an autoload (bug#13820).
12695         (advice-mapc): New function.
12697 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12699         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12700         probably.
12701         (eww-mode-map): Add a menu bar.
12702         (eww-add-bookmark): New command.
12703         (eww-bookmark-mode): New mode and commands.
12704         (eww-add-bookmark): Remove newlines from the title.
12705         (eww-bookmark-browse): Don't bug out if it's the only window.
12707 2013-06-26  Glenn Morris  <rgm@gnu.org>
12709         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12710         (hfy-size): Handle ttys.  (Bug#14668)
12712         * info-xref.el: Update for Texinfo 5 change in *note format.
12713         (info-xref-node-re, info-xref-note-re): New constants.
12714         (info-xref-check-buffer): Use info-xref-note-re.
12716 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12718         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12720         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12721         nil terminate the loop (bug#14718).
12723 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12725         * net/eww.el: Rework history traversal.  When going forward/back,
12726         put these actions into the history, too, so that they can be
12727         replayed.
12728         (eww-render): Move the history reset to the correct buffer.
12730 2013-06-25  Juri Linkov  <juri@jurta.org>
12732         * files-x.el (modify-dir-local-variable): Change the header comment
12733         in the file with directory local variables.  (Bug#14692)
12735         * files-x.el (read-file-local-variable-value): Add `default'.
12736         (Bug#14710)
12738 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12740         * net/eww.el (eww-make-unique-file-name): Create a unique file
12741         name before saving to entering `y' accidentally asynchronously.
12743 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
12745         * net/eww.el (eww-download): New command and keystroke.
12747 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12749         * net/eww.el (eww-copy-page-url): Change name of command.
12751         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12752         be more consistent with Info and dired.
12754         * net/eww.el (eww-mode-map): Ditto.
12756 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12758         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
12759         packages from archives.
12760         (package-archive-contents): Change format; include obsolete packages.
12761         (package-desc): Use `dir' to mark builtin packages.
12762         (package--from-builtin): Set the `dir' field to `builtin'.
12763         (generated-autoload-file, version-control): Declare.
12764         (package-compute-transaction): Change first arg and return value to be
12765         lists of package-descs.  Adjust to new package-archive-contents format.
12766         (package--add-to-archive-contents): Adjust to new
12767         package-archive-contents format.
12768         (package-download-transaction): Arg is now a list of package-descs.
12769         (package-install): If `pkg' is a package name, pass it as
12770         a requirement, so it is subject to the usual (e.g. disabled) checks.
12771         (describe-package): Accept package-desc as well.
12772         (describe-package-1): Describe a specific package-desc.  Add links to
12773         other package-descs for the same package name.
12774         (package-menu-describe-package): Pass the actual package-desc.
12775         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12776         works correctly.
12777         (package-desc-status): New function.
12778         (package-menu--refresh): New function, extracted
12779         from package-menu--generate.
12780         (package-menu--generate): Use it.
12781         (package-delete): Update package-alist.
12782         (package-menu-execute): Don't call package-initialize.
12784         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12785         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12786         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12787         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12788         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12789         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12791 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
12793         * window.el (window--state-get-1): Workaround for bug#14527.
12794         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12796 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12798         * net/eww.el (eww-back-url): Implement the history by stashing all
12799         the data into a list.
12800         (eww-forward-url): Allow going forward in the history, too.
12802 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12804         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12805         for values and use read--expression for expressions (bug#14710).
12806         (read-file-local-variable): Avoid setq.
12807         (read-file-local-variable-mode): Use minor-mode-list.
12809 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12811         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12812         for DOI URLs.
12814 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12816         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12817         Update imenu-support when dialect changes.
12819 2013-06-25  Leo Liu  <sdl.web@gmail.com>
12821         * ido.el (ido-read-internal): Allow forward slash on windows.
12823 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12825         * net/eww.el (eww): Start of strings is \\`, not ^.
12827 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
12829         * net/shr.el (shr-browse-url): Fix interactive spec.
12831         * net/eww.el (eww): Add a trailing slash to domain names.
12833 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
12835         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12837 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12839         * net/shr.el (shr-browse-url): Use an external browser if given a
12840         prefix.
12842         * net/eww.el (eww-external-browser): Move to shr.
12844 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
12846         * net/eww.el (eww): Work more correctly for file: URLs.
12847         (eww-detect-charset): Allow quoted charsets.
12848         (eww-yank-page-url): New command and keystroke.
12850 2013-06-24  Daiki Ueno  <ueno@gnu.org>
12852         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12853         file name of gpg executable.
12854         (epg-context-program): New function.
12855         (epg-context-home-directory): New function.
12856         (epg-context-set-program): New function.
12857         (epg-context-set-home-directory): New function.
12858         (epg--start): Use `epg-context-program' instead of
12859         'epg-gpg-program'.
12860         (epg--list-keys-1): Likewise.
12862 2013-06-24  Leo Liu  <sdl.web@gmail.com>
12864         * ido.el (ido-read-internal): Fix bug#14620.
12866 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
12868         * faces.el (face-documentation): Simplify.
12869         (read-face-attribute, tty-find-type, x-resolve-font-name):
12870         Use `string-match-p'.
12871         (list-faces-display): Use `string-match-p'.  Simplify.
12872         (face-spec-recalc): Check face to avoid face alias loops.
12873         (read-color): Use `string-match-p' and non-capturing parenthesis.
12875 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12877         * net/shr.el (shr-rescale-image): Use the new
12878         :max-width/:max-height functionality.
12880 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
12882         * net/eww.el (eww-search-prefix): New variable.
12883         (eww): Use it.
12884         (eww-external-browser): New variable.
12885         (eww-mode-map): New keystroke.
12886         (eww-browse-with-external-browser): New command.
12888         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12890 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
12892         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12893         Don't skip aligning the next header field when padding is 0;
12894         otherwise, field width is not respected unless the title is as
12895         wide as the field.
12897 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12899         * emacs-lisp/package.el (package-el-version): Remove.
12900         (package-process-define-package): Fix inf-loop.
12901         (package-install): Allow symbols as arguments again.
12903 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
12905         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12906         add some more keyword-like methods.
12907         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12909 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
12911         * bs.el (bs-buffer-show-mark): Make defvar-local.
12912         (bs-mode): Use setq-local.
12914         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12915         (emacs-lock--try-unlocking): Make defvar-local.
12917 2013-06-22  Glenn Morris  <rgm@gnu.org>
12919         * play/cookie1.el (cookie-apropos): Minor simplification.
12921         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12923 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
12925         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12926         `regexp-opt', it breaks the build during dumping.
12928 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
12930         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12931         Highlight keyword-like methods on Kernel and Module with
12932         font-lock-builtin-face.
12933         (auto-mode-alist): Consolidate different entries into one regexp
12934         and add more *file-s.
12936 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
12938         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12940         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12941         (diary-entry): Use it in the action of this button type instead of
12942         diary-goto-entry.
12944         * calendar/todo-mode.el: New version.
12945         (todo-add-category): Append new category to end of file and give
12946         it the highest number, instead of putting it at the beginning and
12947         giving it 0.  Incorporate noninteractive functionality.
12948         (todo-forward-category): Adapt to 1-based category numbering.
12949         Allow skipping over archived categories.
12950         (todo-backward-category): Derive from todo-forward-category.
12951         (todo-backward-item, todo-forward-item): Make noninteractive and
12952         delegate interactive part to new commands.  Make sensitive to done items.
12953         (todo-categories): Make value an alist of category names and
12954         vectors of item counts.
12955         (todo-category-beg): Make a defconst.
12956         (todo-category-number): Use 1 instead of 0 as initial value.
12957         (todo-category-select): Make sensitive to overlays, optional item
12958         highlighting and done items.
12959         (todo-delete-item): Make sensitive to overlays and marked and done items.
12960         (todo-edit-item): Make sensitive to overlays and editing of
12961         date/time header optional.  Add format checks.
12962         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
12963         no-op if point is not on an item.  Advertise using todo-edit-quit.
12964         (todo-edit-mode): Make sensitive to new format, font-locking, and
12965         multiple todo files.
12966         (todo-insert-item, todo-insert-item-here): Derive from
12967         todo-basic-insert-item and extend functionality.
12968         (todo-item-end, todo-item-start): Make sensitive to done items.
12969         (todo-item-string): Don't return text properties.  Restore point.
12970         (todo-jump-to-category): Make sensitive to multiple todo files and
12971         todo archives.  Use extended category completion.
12972         (todo-lower-item, todo-raise-item): Rename to *-priority and
12973         derive from todo-set-item-priority.
12974         (todo-mode): Derive from special-mode.  Make sensitive to new
12975         format, font-locking and multiple todo files.  Make read-only.
12976         (todo-mode-map): Don't suppress digit keys, so they can supply
12977         prefix arguments.  Add many new key bindings.
12978         (todo-prefix): Insert as an overlay instead of file text.
12979         Change semantics from diary date expression to purely visual mark.
12980         (todo-print): Rename to todo-print-buffer.  Make buffer display
12981         features printable.  Remove option to restrict number of items
12982         printed.  Add option to print to file.
12983         (todo-print-function): Rename to todo-print-buffer-function.
12984         (todo-quit): Extend to handle exiting new todo modes.
12985         (todo-remove-item): Make sensitive to overlays.
12986         (todo-save): Extend to buffers of filtered items.
12987         (todo-show): Make sensitive to done items, multiple todo files and
12988         new todo modes.  Offer to convert legacy todo file before creating
12989         first new todo file.
12990         (todo-show-priorities): Rename to todo-top-priorities.
12991         Change semantics of value 0.
12992         (todo-top-priorities): Rename to todo-filter-top-priorities,
12993         derive from todo-filter-items and extend functionality.
12994         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12995         and extend functionality to other types of filtered items.
12996         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12997         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12998         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12999         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
13000         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
13001         (todo-edit-mode-hook, todo-entry-prefix-function)
13002         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
13003         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
13004         (todo-initials, todo-insert-threshold, todo-item-string-start)
13005         (todo-line-string, todo-menu, todo-mode-hook)
13006         (todo-more-important-p, todo-previous-answer, todo-previous-line)
13007         (todo-print-priorities, todo-remove-separator)
13008         (todo-save-top-priorities-too, todo-string-count-lines)
13009         (todo-string-multiline-p, todo-time-string-format)
13010         (todo-tmp-buffer-name): Remove.
13011         (todo-add-file, todo-archive-done-item, todo-choose-archive)
13012         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
13013         (todo-edit-category-diary-inclusion)
13014         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
13015         (todo-edit-file, todo-edit-item-date-day)
13016         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
13017         (todo-edit-item-date-month, todo-edit-item-date-to-today)
13018         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
13019         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
13020         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
13021         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
13022         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
13023         (todo-filter-top-priorities-multifile, todo-find-archive)
13024         (todo-find-filtered-items-file, todo-go-to-source-item)
13025         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
13026         (todo-jump-to-archive-category, todo-lower-category)
13027         (todo-mark-category, todo-marked-item-p, todo-merge-category)
13028         (todo-move-category, todo-move-item, todo-next-button)
13029         (todo-next-item, todo-padded-string, todo-powerset)
13030         (todo-previous-button, todo-previous-item)
13031         (todo-print-buffer-to-file, todo-raise-category)
13032         (todo-rename-category, todo-repair-categories-sexp, todo-search)
13033         (todo-set-category-number, todo-set-item-priority)
13034         (todo-set-top-priorities-in-category)
13035         (todo-set-top-priorities-in-file, todo-show-categories-table)
13036         (todo-sort-categories-alphabetically-or-numerically)
13037         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
13038         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
13039         (todo-toggle-item-header, todo-toggle-item-highlighting)
13040         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
13041         (todo-toggle-view-done-items, todo-toggle-view-done-only)
13042         (todo-unarchive-items, todo-unmark-category): New commands.
13043         (todo-absolute-file-name, todo-add-to-buffer-list)
13044         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
13045         (todo-basic-insert-item, todo-category-completions)
13046         (todo-category-number, todo-category-string-matcher-1)
13047         (todo-category-string-matcher-2, todo-check-filtered-items-file)
13048         (todo-check-format, todo-clear-matches)
13049         (todo-comment-string-matcher, todo-convert-legacy-date-time)
13050         (todo-current-category, todo-date-string-matcher)
13051         (todo-define-insertion-command, todo-diary-expired-matcher)
13052         (todo-diary-goto-entry, todo-diary-item-p)
13053         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
13054         (todo-display-categories, todo-display-sorted, todo-done-item-p)
13055         (todo-done-item-section-p, todo-done-separator)
13056         (todo-done-string-matcher, todo-files, todo-filter-items)
13057         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
13058         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
13059         (todo-insert-category-line, todo-insert-item-from-calendar)
13060         (todo-insert-sort-button, todo-insert-with-overlays)
13061         (todo-insertion-command-name, todo-insertion-key-bindings)
13062         (todo-label-to-key, todo-longest-category-name-length)
13063         (todo-make-categories-list, todo-mode-external-set)
13064         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
13065         (todo-modes-set-3, todo-multiple-filter-files)
13066         (todo-nondiary-marker-matcher, todo-prefix-overlays)
13067         (todo-read-category, todo-read-date, todo-read-dayname)
13068         (todo-read-file-name, todo-read-time)
13069         (todo-reevaluate-category-completions-files-defcustom)
13070         (todo-reevaluate-default-file-defcustom)
13071         (todo-reevaluate-filelist-defcustoms)
13072         (todo-reevaluate-filter-files-defcustom)
13073         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
13074         (todo-reset-done-separator, todo-reset-done-separator-string)
13075         (todo-reset-done-string, todo-reset-global-current-todo-file)
13076         (todo-reset-highlight-item, todo-reset-nondiary-marker)
13077         (todo-reset-prefix, todo-set-categories)
13078         (todo-set-date-from-calendar, todo-set-show-current-file)
13079         (todo-set-top-priorities, todo-short-file-name)
13080         (todo-show-current-file, todo-sort, todo-time-string-matcher)
13081         (todo-total-item-counts, todo-update-buffer-list)
13082         (todo-update-categories-display, todo-update-categories-sexp)
13083         (todo-update-count, todo-validate-name, todo-y-or-n-p):
13084         New functions.
13085         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
13086         New major modes.
13087         (todo-categories, todo-display, todo-edit, todo-faces)
13088         (todo-filtered): New defgroups.
13089         (todo-archived-only, todo-button, todo-category-string, todo-date)
13090         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
13091         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
13092         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
13093         (todo-add-item-if-new-category, todo-always-add-time-string)
13094         (todo-categories-align, todo-categories-archived-label)
13095         (todo-categories-category-label, todo-categories-diary-label)
13096         (todo-categories-done-label, todo-categories-number-separator)
13097         (todo-categories-todo-label, todo-categories-totals-label)
13098         (todo-category-completions-files, todo-completion-ignore-case)
13099         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
13100         (todo-done-separator-string, todo-done-string)
13101         (todo-files-function, todo-filter-done-items, todo-filter-files)
13102         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
13103         (todo-initial-category, todo-initial-file, todo-item-mark)
13104         (todo-legacy-date-time-regexp, todo-mode-line-function)
13105         (todo-nondiary-marker, todo-number-prefix)
13106         (todo-print-buffer-function, todo-show-current-file)
13107         (todo-show-done-only, todo-show-first, todo-show-with-done)
13108         (todo-skip-archived-categories, todo-top-priorities-overrides)
13109         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
13110         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
13111         New defcustoms.
13112         (todo-category-done, todo-date-pattern, todo-date-string-start)
13113         (todo-diary-items-buffer, todo-done-string-start)
13114         (todo-filtered-items-buffer, todo-item-start)
13115         (todo-month-abbrev-array, todo-month-name-array)
13116         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
13117         (todo-top-priorities-buffer): New defconsts.
13118         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
13119         (todo-categories-with-marks, todo-category-string-face)
13120         (todo-comment-face, todo-comment-string, todo-current-todo-file)
13121         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
13122         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
13123         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
13124         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
13125         (todo-font-lock-keywords, todo-global-current-todo-file)
13126         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
13127         (todo-insertion-commands-args)
13128         (todo-insertion-commands-args-genlist)
13129         (todo-insertion-commands-names, todo-insertion-map)
13130         (todo-key-bindings-t, todo-key-bindings-t+a)
13131         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
13132         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
13133         (todo-nondiary-face, todo-print-buffer, todo-time-face)
13134         (todo-visited): New variables.
13136 2013-06-21  Glenn Morris  <rgm@gnu.org>
13138         * play/cookie1.el (cookie-apropos): Add optional display argument.
13139         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
13140         (psychoanalyze-pinhead): Use cookie-doctor.
13142 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
13144         * emacs-lisp/package.el (tar-get-file-descriptor)
13145         (tar--extract): Declare.
13147 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
13149         Extend flymake's warning predicate to be a function (bug#14217).
13150         * progmodes/flymake.el (flymake-warning-predicate): New.
13151         (flymake-parse-line): Use it.
13152         (flymake-warning-re): Make obsolete alias to
13153         `flymake-warning-predicate'.
13155 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13157         * emacs-lisp/package.el (package-alist): Include obsolete packages.
13158         (package-obsolete-list): Remove.
13159         (package-activate): Remove min-version argument.  Add `force' argument.
13160         Adjust to new package-alist format.
13161         (package-mark-obsolete): Remove.
13162         (package-unpack): Force reload of the package's autoloads.
13163         (package-installed-p): Check builtins if the installed package is not
13164         recent enough.
13165         (package-initialize): Don't reset package-obsolete-list.
13166         Don't specify which package version to activate.
13167         (package-process-define-package, describe-package-1)
13168         (package-menu--generate): Adjust to new package-alist format.
13170 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
13172         * allout-widgets.el (allout-widgets-mode-off)
13173         (allout-widgets-mode-on, allout-widgets-pre-command-business)
13174         (allout-widgets-post-command-business)
13175         (allout-widgets-after-copy-or-kill-function)
13176         (allout-widgets-after-undo-function, allout-test-range-overlaps)
13177         (allout-decorate-item-and-context)
13178         (allout-graphics-modification-handler): Fix typos in docstrings.
13179         (allout-get-or-create-parent-widget): Use `looking-at-p'.
13181         * cmuscheme.el (scheme-start-file): Doc fix.
13182         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
13183         (scheme-input-filter): Use `string-match-p'.
13185         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
13187         * dired-x.el: Use Dired consistently in docstrings.
13189         * dired.el: Use Dired consistently in docstrings.
13190         (dired-readin, dired-mode): Use `setq-local'.
13191         (dired-switches-alist): Make defvar-local.
13192         (dired-buffers-for-dir): Use `zerop'.
13193         (dired-safe-switches-p, dired-switches-escape-p)
13194         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
13195         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13196         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13197         (dired-goto-next-nontrivial-file): Use `string-match-p'.
13198         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13199         (dired-toggle-marks, dired-mark-files-containing-regexp)
13200         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13201         (dired-flag-auto-save-files, dired-flag-backup-files):
13202         Use `looking-at-p'.
13203         (dired-mark-files-regexp, dired-build-subdir-alist):
13204         Use `string-match-p', `looking-at-p'.
13206         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13207         (direct-print-region-helper): Use `string-match-p'.
13209 2013-06-21  Leo Liu  <sdl.web@gmail.com>
13211         * comint.el (comint-redirect-results-list-from-process):
13212         Fix infinite loop.
13214 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13216         * net/eww.el (eww-update-header-line-format): Quote % characters.
13218 2013-06-21  Glenn Morris  <rgm@gnu.org>
13220         * play/cookie1.el (cookie): New custom group.
13221         (cookie-file): New option.
13222         (cookie-check-file): New function.
13223         (cookie): Make it interactive.  Make start and end messages optional.
13224         Interactively, display the result.  Default to cookie-file.
13225         (cookie-insert): Default to cookie-file.
13226         (cookie-snarf): Make start and end messages optional.
13227         Default to cookie-file.  Use with-temp-buffer.
13228         (cookie-read): Rename from read-cookie.
13229         Make start and end messages optional.  Default to cookie-file.
13230         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
13231         Do not autoload it.
13232         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13233         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13235 2013-06-21  Leo Liu  <sdl.web@gmail.com>
13237         * progmodes/octave.el (octave-mode): Backward compatibility fix.
13239 2013-06-21  Glenn Morris  <rgm@gnu.org>
13241         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13243 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13244             Daniel Hackney  <dan@haxney.org>
13246         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13247         Consolidate the single-file vs tarball code.
13248         (package-desc-suffix): New function.
13249         (package-desc-full-name): Don't bother inlining it.
13250         (package-load-descriptor): Return the new package-desc.
13251         (package-mark-obsolete): Remove unused arg `package'.
13252         (package-unpack): Make it work for single files as well.
13253         Make it update package-alist.
13254         (package--make-autoloads-and-stuff): Rename from
13255         package--make-autoloads-and-compile.  Don't compile any more.
13256         (package--compile): New function.
13257         (package-generate-description-file): New function, extracted from
13258         package-unpack-single.
13259         (package-unpack-single): Remove.
13260         (package--with-work-buffer): Add indentation and debugging info.
13261         (package-download-single): Remove.
13262         (package-install-from-archive): Rename from package-download-tar, make
13263         it take a pkg-desc, and make it work for single files as well.
13264         (package-download-transaction): Simplify.
13265         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
13266         external tar program.
13267         (package-install-from-buffer): Remove `pkg-desc' argument.
13268         Use package-tar-file-info for tar-mode buffers.
13269         (package-install-file): Simplify accordingly.
13270         (package-archive-base): Change to take a pkg-desc.
13271         * tar-mode.el (tar--check-descriptor): New function, extracted from
13272         tar-get-descriptor.
13273         (tar-get-descriptor): Use it.
13274         (tar-get-file-descriptor): New function.
13275         (tar--extract): New function, extracted from tar-extract.
13276         (tar--extract): Use it.
13277         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13278         case the summary uses non-ascii.  Adjust to new calling convention of
13279         package-tar-file-info.
13281 2013-06-21  Leo Liu  <sdl.web@gmail.com>
13283         * comint.el (comint-redirect-results-list-from-process):
13284         Fix random delay.  (Bug#14681)
13286 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
13288         * profiler.el (profiler-format-number): Use log, not log10.
13290 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
13292         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13294 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13296         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13297         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13298         yet available.
13299         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13300         (AUTOGENEL): ... here.
13301         * emacs-lisp/cl-macs.el (cl--sublis): New function.
13302         (cl--defsubst-expand): Use it.
13304 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
13306         * subr.el (log10): Move here from C code, and declare as obsolete.
13307         All uses of (log10 X) replaced with (log X 10).
13309 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
13311         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13312         Declare with `defvar-local'.
13313         (tabulated-list-use-header-line, tabulated-list-entries)
13314         (tabulated-list-padding, tabulated-list-printer)
13315         (tabulated-list-sort-key): Declare with `defvar-local'.
13316         (tabulated-list-init-header, tabulated-list-print-fake-header):
13317         Use `setq-local'.
13319 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
13321         * arc-mode.el (archive-mode): Add `archive-write-file' to
13322         `write-contents-functions' also for remote files.  (Bug#14652)
13324 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
13326         * cus-edit.el (custom-commands): Fix typos.
13327         (custom-display): Fix tooltip text.
13328         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13329         Fix typos in docstrings.
13330         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13331         (custom-unlispify-menu-entry, custom-magic-value-create)
13332         (custom-add-see-also, custom-group-value-create): Use ?\s.
13333         (custom-guess-type, customize-apropos, editable-field)
13334         (custom-face-value-create): Use `string-match-p'.
13335         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13337         * custom.el (custom-load-symbol): Use `string-match-p'.
13339         * ansi-color.el: Convert to lexical binding.
13340         (ansi-colors): Fix URL.
13341         (ansi-color-context, ansi-color-context-region): Use defvar-local.
13342         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13343         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13345 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13347         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13349         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13351 2013-06-19  Tom Tromey  <tromey@redhat.com>
13353         * net/eww.el (eww-top-url): Remove.
13354         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13355         (eww-render): Set new variables.  Don't set eww-top-url.
13356         (eww-handle-link): Handle "prev", "home", and "contents".
13357         Downcase the rel text.
13358         (eww-top-url): Choose best top URL.
13360 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13362         * net/eww.el: Rewrite to implement form elements "by hand" instead of
13363         relying in widget.el.  Using widget.el leads to too many
13364         user interface inconsistencies.
13365         (eww-self-insert): Implement entering commands in text fields.
13366         (eww-process-text-input): New function to make text input field editing
13367         work.
13368         (eww-submit): Rewrite to use the new-style form methods.
13369         (eww-select-display): Display the correct selected item.
13370         (eww-change-select): Implement changing the select value.
13371         (eww-toggle-checkbox): Implement radio/checkboxes.
13372         (eww-update-field): Fix compilation error.
13373         (eww-tag-textarea): Implement <textarea>.
13375         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13376         we don't shadow mode-specific bindings.
13378         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13379         nothing to push.
13381         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13383 2013-06-19  Glenn Morris  <rgm@gnu.org>
13385         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13387 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
13389         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13390         not needed.
13392         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13394 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13396         * net/browse-url.el (browse-url-browser-function):
13397         `eww-browse-url' has the right calling signature, `eww' does not.
13399 2013-06-19  Glenn Morris  <rgm@gnu.org>
13401         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13402         Only eval autoloaded macros.
13403         (byte-compile-autoload): Only give the macro warning for macros.
13405         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13406         (ps-underlined-faces): Declare.
13408         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13409         (speedbar-add-supported-extension): Declare.
13411         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13412         Don't include a date stamp in the header of the generated file;
13413         it leads to needless differences between output files.
13415 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
13417         * net/secrets.el (secrets-struct-secret-content-type):
13418         Replace check of introspection data by a test call of "CreateItem".
13419         Some servers do not offer introspection.
13421 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13423         * electric.el (electric-pair-mode): Improve interaction with
13424         electric-layout-mode.
13425         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13426         (electric-pair-syntax): Use text-mode-syntax-table in comments
13427         and strings.
13428         (electric-pair--insert): New function.
13429         (electric-pair-post-self-insert-function): Use it and
13430         electric--after-char-pos.
13432 2013-06-19  Leo Liu  <sdl.web@gmail.com>
13434         * progmodes/octave.el (octave-help): Fix regexp.
13436 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13438         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13439         (shr-table-horizontal-line): Allow nil as a value, and change the
13440         default.
13441         (shr-insert-table-ruler): Respect the nil value.
13443 2013-06-18  Tom Tromey  <tromey@barimba>
13445         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13446         New defvars.
13447         (eww-open-file): New defun.
13448         (eww-render): Initialize new variables.
13449         (eww-display-html): Handle "link" and "a".
13450         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13451         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
13452         (eww-back-url): Rename from eww-previous-url.
13453         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13454         New defuns.
13456 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
13458         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13459         Distinguish ternary operator tokens from slash symbol and slash
13460         char literal.
13462 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
13464         Convert symbol prettification into minor mode and global minor mode.
13466         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13467         `prog-prettify-symbols', and make a local defvar instead of defcustom.
13468         (prettify-symbols--keywords): Rename from
13469         `prog-prettify-symbols-alist' and make a local defvar.
13470         (prettify-symbols--compose-symbol): Rename from
13471         `prog--prettify-font-lock-compose-symbol'.
13472         (prettify-symbols--make-keywords): Rename from
13473         `prog-prettify-font-lock-symbols-keywords' and simplify.
13474         (prog-prettify-install): Remove.
13475         (prettify-symbols-mode): New minor mode, based on
13476         `prog-prettify-install'.
13477         (turn-on-prettify-symbols-mode): New function.
13478         (global-prettify-symbols-mode): New globalized minor mode.
13480         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13481         * progmodes/cfengine.el (cfengine3-mode):
13482         * progmodes/perl-mode.el (perl-mode): Don't call
13483         `prog-prettify-install'; set `prettify-symbols-alist' instead.
13485 2013-06-18  Juri Linkov  <juri@jurta.org>
13487         * files-x.el (modify-file-local-variable-message): New function.
13488         (modify-file-local-variable)
13489         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13490         and call `modify-file-local-variable-message' when it's non-nil.
13491         (add-file-local-variable, delete-file-local-variable)
13492         (add-file-local-variable-prop-line)
13493         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13494         and use it.  (Bug#9820)
13496 2013-06-18  Juri Linkov  <juri@jurta.org>
13498         * emulation/vi.el (vi-shell-op):
13499         * emulation/vip.el (vip-execute-com, ex-command):
13500         * emulation/viper-cmd.el (viper-exec-bang):
13501         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13502         the call of `shell-command-on-region'.  (Bug#14637)
13504         * simple.el (shell-command-on-region): Doc fix.
13506 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13508         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13509         (bug#14633).
13511 2013-06-18  Glenn Morris  <rgm@gnu.org>
13513         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13515         * newcomment.el (comment-search-forward, comment-search-backward):
13516         Doc fix.  (Bug#14376)
13518 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
13520         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13521         (buffer-face-mode-invoke): Doc fix.
13523 2013-06-18  Matthias Meulien  <orontee@gmail.com>
13525         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13526         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13528 2013-06-18  Glenn Morris  <rgm@gnu.org>
13530         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13531         Replace obsolete function generic-make-keywords with its expansion.
13533         * progmodes/python.el (ffap-alist): Declare.
13535         * textmodes/reftex.el (bibtex-mode-map): Declare.
13537 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13539         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13540         (package-unpack, package-unpack-single): Return the pkg-dir.
13541         (package-download-transaction): Use it to update package-alist.
13543 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13545         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13546         possible choice.
13548 2013-06-17  Juri Linkov  <juri@jurta.org>
13550         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13552 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
13554         * emacs-lisp/package.el (package-load-descriptor):
13555         Remove `with-syntax-table' call, `read' doesn't need it.
13556         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13558 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
13560         * startup.el (command-line): Expand package name returned by
13561         `package--description-file' (bug#14639).
13563 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
13565         * emacs-lisp/package.el (package-load-descriptor): Do not call
13566         `emacs-lisp-mode', just use its syntax table.
13568 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
13570         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13571         `font-lock-extra-managed-props' if any prettifying keyword is added.
13572         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13573         (prog-mode): Use `setq-local'.
13575 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13577         * international/characters.el (standard-case-table): Set syntax of ?»
13578         and ?« to punctuation.
13580 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
13582         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13583         Save relevant match data before calling `syntax-ppss' (bug#14595).
13585 2013-06-15  Juri Linkov  <juri@jurta.org>
13587         * files-x.el (modify-file-local-variable-prop-line): Add local
13588         variables to the end of the existing comment on the first line.
13589         Use `file-auto-mode-skip' to skip interpreter magic line,
13590         and also skip XML declaration.
13592 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13594         * startup.el (package--builtin-versions): New var.
13595         (package-subdirectory-regexp): Remove.
13596         (package--description-file): Hard code its value instead.
13598         * emacs-lisp/package.el: Don't activate packages older than builtin.
13599         (package-obsolete-list): Rename from package-obsolete-alist, and make
13600         it into a simple list of package-desc.
13601         (package-strip-version): Remove.
13602         (package-built-in-p): Use package--builtin-versions.
13603         (package-mark-obsolete): Simplify.
13604         (package-process-define-package): Mark it obsolete if older than the
13605         builtin version.
13606         (package-handle-response): Use line-end-position.
13607         (package-read-archive-contents, package--download-one-archive):
13608         Simplify.
13609         (package--add-to-archive-contents): Skip if older than the builtin or
13610         installed version.
13611         (package-menu-describe-package): Fix last change.
13612         (package-list-unversioned): New var.
13613         (package-menu--generate): Use it.
13615         * emacs-lisp/autoload.el: Manage package--builtin-versions.
13616         (autoload--insert-text, autoload--insert-cookie-text): New functions.
13617         (autoload-builtin-package-versions): New variable.
13618         (autoload-generate-file-autoloads): Use them.
13619         Remove the list of autoloaded functions/macros from the
13620         (autoload...) comments.
13622         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13624 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
13626         * simple.el (line-move-partial): Don't jump to the next screen
13627         line as soon as it becomes visible.  Instead, continue enlarging
13628         the vscroll until the portion of a tall screen line that's left on
13629         display is about the height of the frame's default font.
13630         (Bug#14567)
13632 2013-06-15  Glenn Morris  <rgm@gnu.org>
13634         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13635         compilation-error-regexp-alist void, or local while let-bound.
13637         * progmodes/make-mode.el (makefile-mode-syntax-table):
13638         Treat "=" as punctuation.  (Bug#14614)
13640 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
13642         * help-fns.el (describe-variable):
13643         Add extra line for permanent-local variables.
13645 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
13647         * progmodes/scheme.el (scheme-font-lock-keywords-2):
13648         Add export, import, library.  (Bug#9164)
13649         (library): Set indent function.
13651 2013-06-14  Glenn Morris  <rgm@gnu.org>
13653         * term/xterm.el (xterm--query):
13654         Stop after first matching handler.  (Bug#14615)
13656 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
13658         Add support for dired in saveplace.
13659         * dired.el (dired-initial-position-hook): New variable.
13660         (dired-initial-position): Call hook to place cursor position.
13661         * saveplace.el (save-place-to-alist): Add dired position.
13662         (save-place-dired-hook): New function.
13664 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13666         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13667         through a symbol rather than letrec.
13669         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
13670         (package-desc): Add `dir' field.
13671         (package-desc-full-name): New function.
13672         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
13673         (package-maybe-load-descriptor): Remove.
13674         (package-load-all-descriptors): Just call package-load-descriptor.
13675         (package--disabled-p): New function.
13676         (package-desc-vers, package-desc-doc): Remove aliases.
13677         (package--dir): Remove function.
13678         (package-activate): Check if a package is disabled.
13679         (package-process-define-package): New function, extracted from
13680         define-package.
13681         (define-package): Turn into a place holder.
13682         (package-unpack-single, package-tar-file-info):
13683         Use package--description-file.
13684         (package-compute-transaction): Use package--disabled-p.
13685         (package-download-transaction): Don't call
13686         package-maybe-load-descriptor since they're all loaded anyway.
13687         (package-install): Change argument to be a pkg-desc.
13688         (package-delete): Use a single pkg-desc argument.
13689         (describe-package-1): Use package-desc-dir instead of package--dir.
13690         Use package-desc property instead of package-symbol.
13691         (package-install-button-action): Adjust accordingly.
13692         (package--push): Rewrite.
13693         (package-menu--print-info): Adjust accordingly.  Change the ID format
13694         to be a pkg-desc.
13695         (package-menu-describe-package, package-menu-get-status)
13696         (package-menu--find-upgrades, package-menu-mark-upgrades)
13697         (package-menu-execute, package-menu--name-predicate):
13698         Adjust accordingly.
13699         * startup.el (package--description-file): New function.
13700         (command-line): Use it.
13701         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13702         Use package-desc-version.
13704         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13705         (byte-compile-preprocess): Use it.
13706         (byte-compile-file-form-defalias): Try a bit harder to use macros we
13707         can't quite recognize.
13708         (byte-compile-add-to-list): Remove.
13709         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13710         (cconv-closure-convert): Add assertion.
13712         * emacs-lisp/map-ynp.el: Use lexical-binding.
13713         (map-y-or-n-p): Remove unused vars `tail' and `object'.
13714         Factor out some repeated code.
13716 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13718         * subr.el (with-eval-after-load): New macro.
13719         (eval-after-load): Allow form to be a function.
13720         take advantage of lexical-binding.
13721         (do-after-load-evaluation): Use dolist and adjust to new format.
13722         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13724 2013-06-13  Juri Linkov  <juri@jurta.org>
13726         * replace.el (perform-replace): Display "symbol " and other search
13727         modes from `isearch-message-prefix' in the *Help* buffer.
13729         * isearch.el (isearch-query-replace): Add " symbol" and other
13730         possible search modes from `isearch-message-prefix' to the prompt.
13731         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13732         when reading a regexp to collect.
13734 2013-06-13  Juri Linkov  <juri@jurta.org>
13736         * isearch.el (word-search-regexp): Match whitespace if the search
13737         string begins or ends in whitespace.  The LAX arg is applied to
13738         both ends of the search string.  Use `regexp-quote' and explicit
13739         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
13740         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13741         boundaries are replaced with symbol boundaries, and characters
13742         between symbols match non-word non-symbol syntax.  (Bug#14602)
13744 2013-06-13  Juri Linkov  <juri@jurta.org>
13746         * isearch.el (isearch-del-char): Don't exceed the length of
13747         `isearch-string' by the prefix arg.  (Bug#14563)
13749 2013-06-13  Juri Linkov  <juri@jurta.org>
13751         * isearch.el (isearch-yank-word, isearch-yank-line)
13752         (isearch-char-by-name, isearch-quote-char)
13753         (isearch-printing-char, isearch-process-search-char):
13754         Add optional count prefix arg.  (Bug#14563)
13756         * international/isearch-x.el
13757         (isearch-process-search-multibyte-characters):
13758         Add optional count prefix arg.
13760 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13762         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13763         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13764         lexical-binding.
13766 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
13768         * subr.el (set-temporary-overlay-map): Add on-exit argument.
13770 2013-06-13  Glenn Morris  <rgm@gnu.org>
13772         * startup.el (tty-handle-args):
13773         Don't just discard "--" and anything after.  (Bug#14608)
13775         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13777 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
13779         Implement changes in Secret Service API.  Make it backward compatible.
13780         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13781         (secrets-create-item): Use it.  Prefix properties with interface.
13783 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
13785         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
13786         (term-emulate-terminal): Respect term-suppress-hard-newline.
13788 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
13790         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13791         Only remove a `thumb-file' overlay.  (Bug#14548)
13793 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
13795         * mail/reporter.el (reporter-submit-bug-report):
13796         Handle missing package-name.  (Bug#14600)
13798 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13800         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13801         (reftex-citation-prompt, reftex-default-bibliography)
13802         (reftex-bib-or-thebib, reftex-get-bibfile-list)
13803         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13804         (reftex-bib-sort-author, reftex-bib-sort-year)
13805         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13806         (reftex-extract-bib-entries-from-thebibliography)
13807         (reftex-get-bibkey-default, reftex-get-bib-names)
13808         (reftex-parse-bibtex-entry, reftex-get-bib-field)
13809         (reftex-format-bib-entry, reftex-parse-bibitem)
13810         (reftex-format-bibitem, reftex-do-citation)
13811         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13812         (reftex-restrict-bib-matches, reftex-extract-bib-file)
13813         (reftex-insert-bib-matches, reftex-format-citation)
13814         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13815         (reftex-create-bibtex-file): Add docstrings, mostly by converting
13816         existing comments into docstrings.
13818 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
13820         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13822 2013-06-12  Andreas Schwab  <schwab@suse.de>
13824         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13825         for auto-save files.
13827 2013-06-12  Glenn Morris  <rgm@gnu.org>
13829         * ido.el (ido-delete-ignored-files): Remove.
13830         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13831         Go back to calling ido-ignore-item-p directly.
13833 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
13835         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13837         * ido.el (ido-delete-ignored-files): New function,
13838         split from ido-make-file-list-1.
13839         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
13840         (ido-make-file-list-1): Use ido-delete-ignored-files.
13842 2013-06-12  Leo Liu  <sdl.web@gmail.com>
13844         * progmodes/octave.el (inferior-octave-startup)
13845         (inferior-octave-completion-table)
13846         (inferior-octave-track-window-width-change)
13847         (octave-eldoc-function-signatures, octave-help)
13848         (octave-find-definition): Use single quoted strings.
13849         (inferior-octave-startup-args): Change default value.
13850         (inferior-octave-startup): Do not hard code "-i" and
13851         "--no-line-editing".
13852         (inferior-octave-resync-dirs): Add optional arg NOERROR.
13853         (inferior-octave-directory-tracker): Use it.
13854         (octave-goto-function-definition): Robustify.
13855         (octave-help): Support highlighting operators in 'See also'.
13856         (octave-find-definition): Find subfunctions only in Octave mode.
13858 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13860         * help-fns.el (help-fns--compiler-macro): If the handler function is
13861         named, then put a link to it.
13862         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13863         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13864         (cl-typep): Use it.
13865         (cl-eval-when): Simplify debug spec.
13866         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
13867         compiler-macro function instead of setting `compiler-macro-file'.
13869 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
13871         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13872         * vc/vc-hooks.el (vc-stay-local): Doc fix.
13874 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13875             Daniel Hackney  <dan@haxney.org>
13877         First part of Daniel Hackney's patch to package.el.
13878         * emacs-lisp/package.el: Use defstruct.
13879         (package-desc): New, main struct.
13880         (package--bi-desc, package--ac-desc): New structs, used to describe the
13881         format in external files.
13882         (package-desc-vers): Replace with package-desc-version accessor.
13883         (package-desc-doc): Replace with package-desc-summary accessor.
13884         (package-activate-1): Remove `package' arg since the pkg-vec now
13885         includes the name.
13886         (define-package): Use package-desc-from-define.
13887         (package-unpack-single): Change file-name arg to be a symbol.
13888         (package--add-to-archive-contents): Use package-desc-create and new
13889         accessor functions to package--ac-desc.
13890         (package-buffer-info, package-tar-file-info): Return a package-desc.
13891         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
13892         arg to be a package-desc.
13893         (package-install-file): Adjust accordingly.  Use \' to match EOS.
13894         (package--from-builtin): New function.
13895         (describe-package-1, package-menu--generate): Use it.
13896         (package--make-autoloads-and-compile): Change name arg to be a symbol.
13897         (package-generate-autoloads): Idem and return the name of the file.
13898         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13899         Change pkg-info arg to be a package-desc.
13900         Use package-make-ac-desc.
13901         (package-upload-file): Use \' to match EOS.
13902         * finder.el (finder-compile-keywords): Use package-make-builtin.
13904 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13906         * vc/vc.el (vc-deduce-fileset): Change error message.
13907         (vc-read-backend): New function.
13908         (vc-next-action): Use it.
13910         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13912         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13913         (prolog-font-lock-keywords): Use regexp-opt instead.
13914         Don't manually highlight strings.
13915         (prolog-mode-variables): Simplify comment-start-skip.
13916         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
13918         * emacs-lisp/generic.el (generic--normalise-comments)
13919         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13920         (generic-mode-set-comments): Use them.
13921         (generic-bracket-support): Use setq-local.
13922         (generic-make-keywords-list): Declare obsolete.
13924 2013-06-11  Glenn Morris  <rgm@gnu.org>
13926         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13927         Prettify after setting font-lock-defaults.  (Bug#14574)
13929 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
13931         * replace.el (query-replace, occur-read-regexp-defaults-function)
13932         (replace-search):
13933         * subr.el (declare-function, number-sequence, local-set-key)
13934         (substitute-key-definition, locate-user-emacs-file)
13935         (with-silent-modifications, split-string, eval-after-load):
13936         Fix typos, remove unneeded backslashes and reflow some docstrings.
13938 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13940         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13941         default for Elisp files.
13943 2013-06-11  Glenn Morris  <rgm@gnu.org>
13945         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13946         although define-derived-mode was doing this anyway.  (Bug#14583)
13948 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
13950         * allout.el (allout-encryption-plaintext-sanitization-regexps):
13951         Fix make-variable-buffer-local call to refer to the correct variable.
13953 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
13955         * eshell/em-term.el (eshell-visual-commands)
13956         (eshell-visual-subcommands, eshell-visual-options):
13957         Add summary line to docstrings.  Add cross-references.
13959 2013-06-10  Glenn Morris  <rgm@gnu.org>
13961         * epa.el (epa-read-file-name): New function.  (Bug#14510)
13962         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
13964 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
13966         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13967         output redirection to be ignored with visual commands.
13969 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
13971         * eshell/em-term.el (eshell-visual-command-p): New function.
13972         (eshell-term-initialize): Move long lambda to separate function
13973         eshell-visual-command-p.
13974         * eshell/em-dirs.el (eshell-dirs-initialize):
13975         * eshell/em-script.el (eshell-script-initialize):
13976         Add missing #' to lambda.
13978 2013-06-08  Leo Liu  <sdl.web@gmail.com>
13980         * progmodes/octave.el (octave-add-log-current-defun): New function.
13981         (octave-mode): Set add-log-current-defun-function.
13982         (octave-goto-function-definition): Do not move point if not found.
13983         (octave-find-definition): Enhance to try subfunctions first.
13985 2013-06-08  Glenn Morris  <rgm@gnu.org>
13987         * emacs-lisp/bytecomp.el (byte-compile-char-before)
13988         (byte-compile-backward-char, byte-compile-backward-word):
13989         Improve previous change, to handle non-explicit nil.
13991 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13993         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13994         (smie--opener/closer-at-point): New function.
13995         (smie--matching-block-data): Use it.  Don't match from right after an
13996         opener or right before a closer.  Obey smie-blink-matching-inners.
13997         Don't signal a mismatch for repeated inners like "switch..case..case".
13999 2013-06-07  Leo Liu  <sdl.web@gmail.com>
14001         * progmodes/octave.el (octave-mode): Set comment-use-global-state
14002         to t.  (Bug#14303)
14003         (octave-function-header-regexp): Fix.  (Bug#14570)
14004         (octave-help-mode-finish-hook, octave-help-mode-finish):
14005         Remove.  Just use temp-buffer-show-hook.
14007         * newcomment.el (comment-search-backward): Revert last change.
14008         (Bug#14434)
14010         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
14012 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
14014         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
14015         through xargs, to avoid failure due to MS-Windows limitations on
14016         command-line length.
14018 2013-06-06  Glenn Morris  <rgm@gnu.org>
14020         * font-lock.el (lisp-font-lock-keywords-2):
14021         Treat user-error like error.
14023         * emacs-lisp/bytecomp.el (byte-compile-char-before)
14024         (byte-compile-backward-char, byte-compile-backward-word):
14025         Handle explicit nil arguments.  (Bug#14565)
14027 2013-06-05  Alan Mackenzie  <acm@muc.de>
14029         * isearch.el (isearch-allow-prefix): New user option.
14030         (isearch-other-meta-char): Don't exit isearch when a prefix
14031         argument is typed whilst `isearch-allow-prefix' is non-nil.
14032         (Bug#9706)
14034 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14036         * autorevert.el (auto-revert-notify-handler): Use memq.
14037         Hide assertion failure.
14039         * skeleton.el: Use cl-lib.
14040         (skeleton-further-elements): Use defvar-local.
14041         (skeleton-insert): Use cl-progv.
14043 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
14045         * progmodes/prog-mode.el (prog-prettify-symbols)
14046         (prog-prettify-install): Update docstrings.
14048 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14050         * simple.el: Move all the prog-mode code to prog-mode.el.
14051         * progmodes/prog-mode.el: New file.
14052         * loadup.el: Add prog-mode.el.
14054 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
14056         * simple.el (prog-prettify-symbols): Add version.
14057         (prog-prettify-install): Add convenience function to prettify symbols.
14059         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
14060         (perl--augmented-font-lock-keywords-1)
14061         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
14062         variables and use it.
14064         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14065         (cfengine3-mode): Remove unneeded variable and use it.
14067         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14068         (lisp--augmented-font-lock-keywords-1)
14069         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
14070         Remove unneeded variables and use it.
14072 2013-06-05  João Távora  <joaotavora@gmail.com>
14074         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
14075         to point when opening the connection.  (Bug#14380)
14077 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14079         * subr.el (load-history-regexp, load-history-filename-element)
14080         (eval-after-load, after-load-functions, do-after-load-evaluation)
14081         (eval-next-after-load, display-delayed-warnings)
14082         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
14083         definition of save-match-data.
14084         (overriding-local-map): Remove accidental obsolescence declaration.
14086         * emacs-lisp/edebug.el (edebug-result): Move before first use.
14088 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
14090         Generalize symbol prettify support to prog-mode and implement it
14091         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
14092         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
14093         (prog--prettify-font-lock-compose-symbol)
14094         (prog-prettify-font-lock-symbols-keywords): New variables and
14095         functions to support symbol prettification.
14096         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14097         (lisp--augmented-font-lock-keywords-1)
14098         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
14099         (lisp--prettify-symbols-alist): Implement prettify of lambda.
14100         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14101         (cfengine3--prettify-symbols-alist, cfengine3-mode):
14102         Implement prettify of -> => :: strings.
14103         * progmodes/perl-mode.el (perl-prettify-symbols)
14104         (perl--font-lock-compose-symbol)
14105         (perl--font-lock-symbols-keywords): Move to prog-mode.
14106         (perl--prettify-symbols-alist): Prettify -> => :: strings.
14107         (perl-font-lock-keywords-1)
14108         (perl-font-lock-keywords-2): Remove explicit prettify support.
14109         (perl--augmented-font-lock-keywords)
14110         (perl--augmented-font-lock-keywords-1)
14111         (perl--augmented-font-lock-keywords-2, perl-mode):
14112         Implement prettify support.
14114 2013-06-05  Leo Liu  <sdl.web@gmail.com>
14116         Re-implement SMIE matching block highlight using
14117         show-paren-data-function.  (Bug#14395)
14118         * emacs-lisp/smie.el (smie-matching-block-highlight)
14119         (smie--highlight-matching-block-overlay)
14120         (smie--highlight-matching-block-lastpos)
14121         (smie-highlight-matching-block)
14122         (smie-highlight-matching-block-mode): Remove.
14123         (smie--matching-block-data-cache): New variable.
14124         (smie--matching-block-data): New function.
14125         (smie-setup): Use smie--matching-block-data for
14126         show-paren-data-function.
14128         * progmodes/octave.el (octave-mode-menu): Fix.
14129         (octave-find-definition): Skip garbage lines.
14131 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14133         Fix compilation error with simultaneous dynamic+lexical scoping.
14134         Add warning when a defvar appears after the first let-binding.
14135         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
14136         (byte-compile-close-variables): Initialize it.
14137         (byte-compile--declare-var): New function.
14138         (byte-compile-file-form-defvar)
14139         (byte-compile-file-form-define-abbrev-table)
14140         (byte-compile-file-form-custom-declare-variable): Use it.
14141         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
14142         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
14143         (byte-compile-bind): Handle dynamic bindings that shadow
14144         lexical bindings.
14145         (byte-compile-unbind): Make arg non-optional.
14146         (byte-compile-let): Simplify.
14147         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
14148         (cconv--analyse-function, cconv-analyse-form): Populate it.
14149         Protect byte-compile-bound-variables to limit the scope of defvars.
14150         (cconv-analyse-form): Add missing rule for (defvar <foo>).
14151         Remove unneeded rule for `declare'.
14153         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
14154         so as to avoid depending on cl-adjoin at run-time.
14155         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
14157         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
14158         (macroexp--warn-and-return): Use it.
14160 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14162         * subr.el: Convert to lexical binding.
14163         (overriding-local-map): Make obsolete.
14164         (add-to-list): Doc fix.  Add compiler macro.
14165         (read-key): Swap values of local maps.
14167 2013-06-05  Leo Liu  <sdl.web@gmail.com>
14169         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
14171 2013-06-04  Leo Liu  <sdl.web@gmail.com>
14173         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
14174         (compilation-auto-jump): Suppress the "Mark set" message to give
14175         way to exit message.
14177 2013-06-04  Alan Mackenzie  <acm@muc.de>
14179         Remove faulty optimisation from indentation calculation.
14180         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
14181         search limit based on 2000 characters back from indent-point.
14183 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
14185         * eshell/em-term.el (cl-lib): Require `cl-lib'.
14187 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14189         * emacs-lisp/lisp.el: Use lexical-binding.
14190         (lisp--local-variables-1, lisp--local-variables): New functions.
14191         (lisp--local-variables-completion-table): New var.
14192         (lisp-completion-at-point): Use it complete let-bound vars.
14194         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
14195         eagerly (bug#14422).
14197 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
14199         * autorevert.el (auto-revert-notify-enabled)
14200         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14201         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14202         (auto-revert-notify-handler): Handle also gfilenotify.
14204         * subr.el (file-notify-handle-event): New defun.  Replacing ...
14205         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14206         Remove.
14208 2013-06-03  Juri Linkov  <juri@jurta.org>
14210         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14211         `M-s h .'.  (Bug#14427)
14213         * hi-lock.el (highlight-symbol-at-point): New alias for the new
14214         command `hi-lock-face-symbol-at-point'.
14215         (hi-lock-face-symbol-at-point): New command.
14216         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14217         (hi-lock-menu): Add `highlight-symbol-at-point'.
14218         (hi-lock-mode): Doc fix.
14220         * isearch.el (isearch-forward-symbol-at-point): New command.
14221         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14222         (isearch-highlight-regexp): Add a regexp which matches
14223         words/symbols for word/symbol mode.
14225         * subr.el (find-tag-default-bounds): New function with the body
14226         mostly moved from `find-tag-default'.
14227         (find-tag-default): Move most code to `find-tag-default-bounds',
14228         call it and apply `buffer-substring-no-properties' afterwards.
14230 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
14232         * eshell/em-term.el (eshell-term-initialize):
14233         Use `cl-intersection' rather than `intersection'.
14235 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
14237         * vc/log-view.el: Doc fix.
14238         (log-view-mode-map): Copy keymap from `special-mode-map'.
14240 2013-06-02  Eric Ludlam  <zappo@gnu.org>
14242         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14243         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14244         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14245         (eieio-unbound, eieio-default-superclass)
14246         (eieio--define-field-accessors, method-static, method-before)
14247         (method-primary, method-after, method-num-lists)
14248         (method-generic-before, method-generic-primary)
14249         (method-generic-after, method-num-slots)
14250         (eieio-specialized-key-to-generic-key)
14251         (eieio--check-type, class-v, class-p)
14252         (eieio-class-name, define-obsolete-function-alias)
14253         (eieio-class-parents-fast, eieio-class-children-fast)
14254         (same-class-fast-p, class-constructor, generic-p)
14255         (generic-primary-only-p, generic-primary-only-one-p)
14256         (class-option-assoc, class-option, eieio-object-p)
14257         (class-abstract-p, class-method-invocation-order)
14258         (eieio-defclass-autoload-map, eieio-defclass-autoload)
14259         (eieio-class-un-autoload, eieio-defclass)
14260         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14261         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14262         (eieio--defgeneric-init-form, eieio-defgeneric-form)
14263         (eieio-defgeneric-reset-generic-form)
14264         (eieio-defgeneric-form-primary-only)
14265         (eieio-defgeneric-reset-generic-form-primary-only)
14266         (eieio-defgeneric-form-primary-only-one)
14267         (eieio-defgeneric-reset-generic-form-primary-only-one)
14268         (eieio-unbind-method-implementations)
14269         (eieio--defmethod, eieio--typep)
14270         (eieio-perform-slot-validation, eieio-validate-slot-value)
14271         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14272         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14273         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14274         (eieio-slot-name-index, eieio-class-slot-name-index)
14275         (eieio-set-defaults, eieio-initarg-to-attribute)
14276         (eieio-attribute-to-initarg, eieio-c3-candidate)
14277         (eieio-c3-merge-lists, eieio-class-precedence-c3)
14278         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14279         (eieio-class-precedence-list, eieio-generic-call-methodname)
14280         (eieio-generic-call-arglst, eieio-generic-call-key)
14281         (eieio-generic-call-next-method-list)
14282         (eieio-pre-method-execution-functions, eieio-generic-call)
14283         (eieio-generic-call-primary-only, eieiomt-method-list)
14284         (eieiomt-optimizing-obarray, eieiomt-install)
14285         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14286         (eieio-generic-form, eieio-defmethod, make-obsolete)
14287         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14288         (defclass): Remove `eval-and-compile' from macro.
14289         (call-next-method, shared-initialize): Instead of using
14290         `scoped-class' variable, use new eieio--scoped-class, and
14291         eieio--with-scoped-class.
14292         (initialize-instance): Rename local variable 'scoped-class' to
14293         'this-class' to remove ambiguitity from old global.
14295         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
14296         eieio.el.
14297         (eieio--scoped-class-stack): New variable.
14298         (eieio--scoped-class): New fcn.
14299         (eieio--with-scoped-class): New scoping macro.
14300         (eieio-defclass): Use pushnew instead of add-to-list.
14301         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14302         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14303         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14304         `scoped-class' variable, use new eieio--scoped-class, and
14305         eieio--with-scoped-class.
14307         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14309 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
14311         * eshell/esh-ext.el (eshell-external-command): Pass args to
14312         `eshell-find-interpreter'.
14313         (eshell-find-interpreter): Add new second parameter ARGS.
14315         * eshell/em-script.el (eshell-script-initialize): Add second arg
14316         to the function added as MATCH to `eshell-interpreter-alist'.
14318         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14319         the function added as MATCH to `eshell-interpreter-alist'.
14321         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14322         (eshell-visual-options): New defcustom.
14323         (eshell-escape-control-x): Adapt docstring.
14324         (eshell-term-initialize): Test `eshell-visual-subcommands' and
14325         `eshell-visual-options' in addition to `eshell-visual-commands'.
14326         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14328 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14330         * progmodes/python.el (python-indent-block-enders): Add break,
14331         continue and raise keywords.
14333 2013-06-01  Glenn Morris  <rgm@gnu.org>
14335         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14337         Plain (f)boundp silences compilation warnings since Emacs 22.1.
14338         * progmodes/cc-cmds.el (delete-forward-p):
14339         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14340         * progmodes/cc-engine.el (buffer-syntactic-context):
14341         * progmodes/cc-fonts.el (face-property-instance):
14342         * progmodes/cc-mode.el (set-keymap-parents):
14343         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14344         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14345         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14346         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14347         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14349         * progmodes/cc-vars.el (other): Emacs has this widget since
14350         at least 21.1, so don't (re)define it.
14352         * eshell/em-cmpl.el (eshell-cmpl-initialize):
14353         Replace the obsolete alias pcomplete-arg-quote-list.
14355 2013-06-01  Leo Liu  <sdl.web@gmail.com>
14357         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14358         punctuation syntax.
14359         (inferior-octave-minimal-columns)
14360         (inferior-octave-last-column-width): New variables.
14361         (inferior-octave-track-window-width-change): New function.
14362         (inferior-octave-mode): Adjust column width so that Octave output,
14363         for example from 'ls', can fit into the window nicely.
14365 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
14367         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14368         Highlight expansions inside regexp literals.
14370 2013-05-31  Glenn Morris  <rgm@gnu.org>
14372         * obsolete/sym-comp.el (symbol-complete):
14373         Replace obsolete completion-annotate-function.
14375         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14377 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
14379         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14380         New function, checks if point is inside a literal that allows
14381         expression expansion.
14382         (ruby-syntax-propertize-expansion): Use it.
14383         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14384         around the body.
14386 2013-05-30  Juri Linkov  <juri@jurta.org>
14388         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14389         to "\M-si".
14390         (isearch-invisible): New variable.
14391         (isearch-forward): Doc fix.
14392         (isearch-mode): Set `isearch-invisible'
14393         to the value of `search-invisible'.
14394         (isearch-toggle-case-fold): Doc fix.
14395         (isearch-toggle-invisible): New command.
14396         (isearch-query-replace): Let-bind `search-invisible'
14397         to the value of `isearch-invisible'.
14398         (isearch-search): Use `isearch-invisible' instead of
14399         `search-invisible'.  Let-bind `search-invisible'
14400         to the value of `isearch-invisible'.  (Bug#11378)
14402 2013-05-30  Juri Linkov  <juri@jurta.org>
14404         * replace.el (perform-replace): Avoid `isearch-range-invisible'
14405         call when `query-flag' is nil and `search-invisible' is non-nil.
14406         (Bug#11746)
14408 2013-05-30  Glenn Morris  <rgm@gnu.org>
14410         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14412         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14413         (cc-require): Suppress spurious "noruntime" warnings.
14414         (cc-require-when-compile): Use fboundp, for sake of compiler.
14416         * progmodes/cc-mode.el: Move load of cc-vars before that of
14417         cc-langs (which in turn loads cc-vars), to quieten compiler.
14419 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14421         * paren.el: Simplify the code.
14422         (show-paren-mode): Always start the timer.
14423         (show-paren--idle-timer): Rename from show-paren-idle-timer.
14424         (show-paren--overlay, show-paren--overlay-1): Rename from
14425         show-paren-overlay and show-paren-overlay-1, and initialize to an
14426         overlay rather than to nil.
14427         (show-paren-function): Misc cleanup and simplifications.
14429 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14431         * paren.el (show-paren-data-function): New hook.
14432         (show-paren--default): New function, extracted from show-paren-function.
14433         (show-paren-function): Use show-paren-data-function.
14435 2013-05-30  Glenn Morris  <rgm@gnu.org>
14437         * ielm.el (ielm-map, ielm-complete-symbol):
14438         Use completion-at-point rather than obsolete functions.
14439         (inferior-emacs-lisp-mode): Doc fix.
14440         Set completion-at-point-functions, rather than
14441         comint-dynamic-complete-functions.
14443         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14444         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14445         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14447         * image.el (image-animated-p): Tweak definition.
14449         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14450         (rlogin-process-connection-type): Tweak default.  Add set-after.
14451         (rlogin-host): Doc fix.
14452         (rlogin): Tweak prompt.
14453         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14455         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14456         * progmodes/tcl.el (inferior-tcl-mode-map):
14457         Use completion-at-point rather than obsolete alias.
14459         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14461         * minibuffer.el (read-file-name-completion-ignore-case):
14462         Move before completion--in-region, for eager macro expansion.
14464 2013-05-29  Juri Linkov  <juri@jurta.org>
14466         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14467         for total count of matching lines.  Add `global-matches' for total
14468         count of matches.  Rename `matches' to `lines' for count of
14469         matching lines.  Add `matches' for count of matches.
14470         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
14471         to `prev-line' for line number of prev match endpt.
14472         Increment `matches' for every match.  Print the number of
14473         matching lines in the header.
14474         (occur-context-lines): Rename `lines' to `curr-line'.
14475         Rename `prev-lines' to `prev-line'.  (Bug#14017)
14477 2013-05-29  Juri Linkov  <juri@jurta.org>
14479         * replace.el (perform-replace): Add `skip-read-only-count',
14480         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14481         Increment them for corresponding conditions and report the number
14482         of skipped occurrences in the final message.  (Bug#11746)
14483         (query-replace, query-replace-regexp, query-replace-regexp-eval)
14484         (replace-string, replace-regexp): Doc fix.
14486 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14488         * emacs-lisp/trace.el (trace--read-args): Provide a default.
14490         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14491         prog-mode-map (bug#14504).
14493 2013-05-29  Leo Liu  <sdl.web@gmail.com>
14495         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14496         (octave-help): Small simplification.
14498         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14499         off the highlight first.
14501 2013-05-29  Glenn Morris  <rgm@gnu.org>
14503         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14504         Handle idlwave-last-system-routine-info-cons-cell being nil.
14506         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14507         (idlwave-write-paths): Simplify via with-temp-buffer.
14509         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14510         * emulation/cua-rect.el: Also load cua-base at run time.
14512         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14513         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14514         (cperl-imenu-on-info): Require imenu.
14516 2013-05-28  Alan Mackenzie  <acm@muc.de>
14518         Handle "capitalised keywords" correctly.
14519         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14521 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
14523         * eshell/em-unix.el: Add -r option to cp.
14525 2013-05-28  Glenn Morris  <rgm@gnu.org>
14527         * vc/vc-arch.el (vc-exec-after): Declare.
14528         (vc-switches): Autoload.
14529         * vc/vc-bzr.el: No need to require vc when compiling.
14530         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14531         (vc-resynch-buffer, vc-dir-refresh): Declare.
14532         (vc-setup-buffer, vc-switches): Autoload.
14533         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14534         (vc-resynch-buffer): Declare.
14535         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14536         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14537         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14538         (grep-read-regexp, grep-read-files, grep-expand-template)
14539         (vc-dir-refresh): Declare.
14540         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14541         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14542         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14543         * vc/vc-mtn.el (vc-exec-after): Declare.
14544         (vc-switches): Autoload.
14545         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14546         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14547         (vc-file-tree-walk): Declare.
14548         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14549         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14550         (vc-tag-precondition, vc-rename-master): Autoload.
14551         * vc/vc-svn.el (vc-exec-after): Declare.
14552         (vc-switches, vc-setup-buffer): Autoload.
14553         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14554         Autoload.
14555         (vc-resynch-buffer): Declare.
14557         * obsolete/fast-lock.el (byte-compile-warnings):
14558         Don't warn about obsolete features in this obsolete file.
14560         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14561         Move definition before use.
14563         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14564         (dun-unix-verbs): Remove dun-zippy.
14565         (dun-zippy): Remove function.
14567         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14569 2013-05-27  Juri Linkov  <juri@jurta.org>
14571         * replace.el (replace-search): New function with code moved out
14572         from `perform-replace'.
14573         (replace-highlight, replace-dehighlight): Move function definitions
14574         up closer to `replace-search'.  (Bug#11746)
14576 2013-05-27  Juri Linkov  <juri@jurta.org>
14578         * replace.el (perform-replace): Ignore invisible matches.
14579         In addition to checking `query-replace-skip-read-only', also
14580         filter out matches by calling `run-hook-with-args-until-failure'
14581         on `isearch-filter-predicates', and also check `search-invisible'
14582         for t or call `isearch-range-invisible'.
14583         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
14585 2013-05-27  Juri Linkov  <juri@jurta.org>
14587         * isearch.el (isearch-filter-predicates): Rename from
14588         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
14589         (isearch-message-prefix): Display text from the property
14590         `isearch-message-prefix' of the currently active filters.
14591         (isearch-search): Don't compare `isearch-filter-predicate' with
14592         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
14593         on `isearch-filter-predicates'.  Also check `search-invisible' for t
14594         or call `isearch-range-invisible'.
14595         (isearch-filter-visible): Make obsolete.
14596         (isearch-lazy-highlight-search):
14597         Call `run-hook-with-args-until-failure' on
14598         `isearch-filter-predicates' and use `isearch-range-invisible'.
14600         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14601         `isearch-filter-predicates' instead of `funcall'ing
14602         `isearch-filter-predicate'.
14603         (Info-mode): Set `Info-isearch-filter' to
14604         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14606         * dired-aux.el (dired-isearch-filter-predicate-orig):
14607         Remove variable.
14608         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14609         (dired-isearch-filenames-end): Add and remove
14610         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14611         instead of changing the value of `isearch-filter-predicate'.
14612         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14613         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14614         Put property `isearch-message-prefix' to "filename " on
14615         `dired-isearch-filter-filenames'.
14617         * wdired.el (wdired-change-to-wdired-mode):
14618         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14619         locally instead of changing `isearch-filter-predicate'.
14620         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14622 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
14624         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14625         return the commit hash (Bug#14459).  Also set the
14626         `vc-git-detached' property.
14627         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14628         (vc-git-mode-line-string): Use the same help-echo format whether
14629         in detached mode or not, because we know the actual revision now.
14630         When in detached mode, shorten the revision to 7 chars.
14632 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14634         * emacs-lisp/easy-mmode.el (define-minor-mode):
14635         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14636         mode hook and provide a docstring.
14638 2013-05-27  Alan Mackenzie  <acm@muc.de>
14640         Remove spurious syntax-table text properties inserted by C-y.
14641         * progmodes/cc-mode.el (c-after-change): Also clear hard
14642         syntax-table property with value nil.
14644 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
14646         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14647         when reading the events; the buffer layout shall not be changed.
14649 2013-05-27  Leo Liu  <sdl.web@gmail.com>
14651         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14652         New variable.
14653         (inferior-octave-directory-tracker): Automatically re-sync
14654         default-directory.
14655         (octave-help): Improve handling of 'See also'.
14657 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14659         * doc-view.el: Minor naming convention tweaks.
14660         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14662         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14663         even if there's no `display' property yet (bug#14435).
14665 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
14667         * subr.el (unmsys--file-name): Rename from reveal-filename.
14669         * Makefile.in (custom-deps, finder-data, autoloads)
14670         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14671         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14672         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14674 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14676         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14677         error-completion on the first 2 args of condition-case (bug#14446).
14678         Don't burp at EOB.
14680 2013-05-25  Leo Liu  <sdl.web@gmail.com>
14682         * comint.el (comint-previous-matching-input): Do not flood the
14683         *Messages* buffer with trivial messages.
14685 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14687         * progmodes/flymake.el (flymake-nop): Don't return a string.
14688         (flymake-set-at): Fix typo.
14690         * simple.el (read--expression): New function, extracted from
14691         eval-expression.  Set completion-at-point-functions (bug#14465).
14692         (eval-expression, eval-minibuffer): Use it.
14694 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
14696         * progmodes/flymake.el (flymake-save-buffer-in-file)
14697         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14698         (flymake-selected-frame, flymake-log, flymake-ins-after)
14699         (flymake-set-at, flymake-get-buildfile-from-cache)
14700         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14701         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14702         Refine the doc string.
14703         (flymake-get-file-name-mode-and-masks): Reformat.
14704         (flymake-get-real-file-name-function): Fix a minor bug.
14706 2013-05-24  Juri Linkov  <juri@jurta.org>
14708         * progmodes/grep.el (grep-mode-font-lock-keywords):
14709         Support =linenumber= format used by git-grep for lines with
14710         function names.  (Bug#13549)
14712 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14714         * progmodes/octave.el (octave-smie-rules): Return nil rather than
14715         0 after a semi-colon; it works better for smie-auto-fill.
14716         (octave--indent-new-comment-line): New function.
14717         (octave-indent-new-comment-line): Use it (indirectly).
14718         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
14719         modify comment-line-break-function.
14721         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14722         (smie-setup): Use add-function to set it.
14724 2013-05-24  Sam Steingold  <sds@gnu.org>
14726         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14727         argument (before the `interactive' argument).
14729 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14731         * image-mode.el (image-mode-winprops): Add winprops to
14732         image-mode-winprops-alist before running
14733         image-mode-new-window-functions.
14734         * doc-view.el (doc-view-new-window-function): Don't delay
14735         doc-view-goto-page via timers (bug#14435).
14737 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
14739         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
14740         (doc-view-desktop-save-buffer): New function.
14741         (doc-view-restore-desktop-buffer): New function.
14742         (desktop-buffer-mode-handlers):
14743         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14744         handler.
14745         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14746         `desktop-save-buffer' function.
14748 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
14750         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14751         (tramp-gvfs-file-name-handler): Raise a user error when
14752         `tramp-gvfs-enabled' is nil.
14753         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14754         Do not raise a user error when loading package.  (Bug#14447)
14756         * net/xesam.el: Move to obsolete/.
14758 2013-05-24  Glenn Morris  <rgm@gnu.org>
14760         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14762         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14764         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14765         (Info-find-node, Man-getpage-in-background): Declare.
14767         * mail/unrmail.el (unrmail):
14768         Replace obsolete detect-coding-with-priority.
14770         * net/socks.el (socks-split-string): Use this rather than split-string.
14771         (socks-nslookup-host): Update for above change.
14772         (dynamic-choice, s5-dynamic-choice-match)
14773         (s5-dynamic-choice-match-inline, s5-widget-value-create):
14774         Comment out unused code.
14776         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14777         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14778         (gud-tooltip-echo-area): Make obsolete.
14779         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14781         * progmodes/js.el (js--optimize-arglist): Declare.
14783         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14785         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14786         (ediff-window-C): Declare.
14788         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14789         Tweak requires to silence compiler.
14791         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14792         (he-search-string, he-tried-table, he-expand-list)
14793         (he-init-string, he-string-member, he-substitute-string)
14794         (he-reset-string): Declare.
14796         * obsolete/options.el (list-options): Use custom-variable-p,
14797         rather than obsolete alias.
14799 2013-05-23  Sam Steingold  <sds@gnu.org>
14801         * simple.el (shell-command-on-region): Pass the `replace' argument
14802         down to `call-process-region' to comply with the doc as reported on
14803         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14805 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14807         * emacs-lisp/smie.el (smie-indent-forward-token)
14808         (smie-indent-backward-token): Handle string tokens (bug#14381).
14810 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14812         * ielm.el (ielm-menu): New menu.
14813         (inferior-emacs-lisp-mode): Set comment-start.
14815 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14817         * textmodes/reftex.el (reftex-ref-style-toggle):
14818         Fix deactivate action.
14820         * textmodes/reftex-vars.el (reftex-ref-style-alist):
14821         Add cleveref macros.
14823         * textmodes/reftex-parse.el
14824         (reftex-locate-bibliography-files): Accept options for
14825         bibliography commands.
14826         * textmodes/reftex-vars.el (reftex-bibliography-commands):
14827         Add addbibresource.  Basic Biblatex support.
14829 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
14831         * net/tramp-gvfs.el (top):
14832         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14833         when loading package.  (Bug#14447)
14835 2013-05-23  Glenn Morris  <rgm@gnu.org>
14837         * progmodes/js.el: No need to load comint when compiling.
14838         (ring-insert, comint-send-string, comint-send-input)
14839         (comint-last-input-end, ido-chop): Declare.
14841         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14842         * vc/ediff-mult.el: Adjust requires.
14843         (ediff-directories-internal, ediff-directory-revisions-internal)
14844         (ediff-patch-file-internal): Declare.
14845         * vc/ediff-ptch.el: Adjust requires.
14846         (ediff-use-last-dir, ediff-buffers-internal): Declare.
14847         (ediff-find-file): Autoload.
14848         * vc/ediff-util.el: No need to load ediff when compiling.
14849         (ediff-regions-internal): Declare.
14850         * vc/ediff-wind.el: Adjust requires.
14851         (ediff-compute-toolbar-width): Define when compiling.
14852         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14853         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14854         (dired-get-filename, dired-get-marked-files)
14855         (ediff-last-dir-patch, ediff-patch-default-directory)
14856         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14857         (ediff-patch-buffer-internal): Declare.
14859         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14860         (ispell-process, ispell-buffer-local-words, lm-summary)
14861         (lm-section-start, lm-section-end): Declare.
14862         (checkdoc-ispell-init): Simplify.
14864         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14865         (he-string-member, he-reset-string, he-substitute-string): Declare.
14867         * eshell/em-ls.el: Adjust requires.
14868         (eshell-glob-regexp): Declare.
14869         * eshell/em-tramp.el: Adjust requires.
14870         (eshell-parse-command): Autoload.
14871         * eshell/em-xtra.el: Adjust requires.
14872         (eshell-parse-command): Autoload.
14873         * eshell/esh-ext.el: Adjust requires.
14874         (eshell-parse-command, eshell-close-handles): Autoload.
14875         * eshell/esh-io.el: Adjust requires.
14876         (eshell-output-filter): Autoload.
14877         * eshell/esh-util.el: No need to load tramp when compiling.
14878         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14879         Declare.
14880         (eshell-parse-ange-ls): Require ange-ftp and tramp.
14881         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14882         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14883         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14884         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14885         * eshell/esh-opt.el, eshell/esh-proc.el:
14886         * eshell/esh-var.el: Adjust requires.
14887         * eshell/eshell.el: Do not require esh-util twice.
14888         (eshell-add-input-to-history): Declare.
14889         (eshell-command): Check history module is active before using it.
14891         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14893 2013-05-22  Leo Liu  <sdl.web@gmail.com>
14895         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14897 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
14899         * autorevert.el (auto-revert-notify-add-watch)
14900         (auto-revert-notify-handler): Add `attrib' for the inotify case,
14901         it indicates changes in file modification time.
14903 2013-05-22  Glenn Morris  <rgm@gnu.org>
14905         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14906         Always delete the autoloaded function from the noruntime and
14907         unresolved functions lists.
14909         * allout.el: No need to load epa, epg, overlay when compiling.
14910         (epg-context-set-passphrase-callback, epg-list-keys)
14911         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14912         (epg-key-user-id-list): Declare.
14914         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14915         (viper-set-parsing-style-toggling-macro)
14916         (viper-set-emacs-state-searchstyle-macros):
14917         Use called-interactively-p on Emacs.
14918         (viper-looking-back): Make it an obsolete alias.  Update callers.
14919         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14920         Use looking-back rather than viper-looking-back.
14921         (viper-tmp-insert-at-eob, viper-enlarge-region)
14922         (viper-read-string-with-history, viper-register-to-point)
14923         (viper-append-to-register, viper-change-state-to-vi)
14924         (viper-backward-char-carefully, viper-forward-char-carefully)
14925         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14926         (viper-change-state-to-emacs): Declare.
14927         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14928         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14929         * emulation/viper-mous.el: Do not load viper-cmd.
14930         (viper-backward-char-carefully, viper-forward-char-carefully)
14931         (viper-forward-word, viper-adjust-window): Declare.
14933         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14935         * progmodes/idlw-help.el (idlwave-help-fontify):
14936         Use called-interactively-p.
14938         * term/w32console.el (w32-get-console-codepage)
14939         (w32-get-console-output-codepage): Declare.
14941         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14942         Remove unnecessary declarations.
14943         (dframe-message): Doc fix.
14945         * info.el (dframe-select-attached-frame, dframe-current-frame):
14946         Declare.
14948         * speedbar.el (speedbar-message): Make it an obsolete alias.
14949         Update all callers.
14950         (speedbar-with-attached-buffer)
14951         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14952         (speedbar-with-writable): Use backquote.
14953         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14954         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14955         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14956         rather than speedbar- aliases.
14957         * mail/rmail.el: Load dframe rather than speedbar when compiling.
14958         (speedbar-make-specialized-keymap, speedbar-insert-button)
14959         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14960         (speedbar-do-function-pointer): Declare.
14961         (rmail-speedbar-button, rmail-speedbar-find-file)
14962         (rmail-speedbar-move-message):
14963         Use dframe-with-attached-buffer rather than speedbar- alias.
14964         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14965         (dframe-message, speedbar-make-specialized-keymap)
14966         (speedbar-add-expansion-list, speedbar-mode-functions-list)
14967         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14968         (speedbar-insert-button, dframe-select-attached-frame)
14969         (dframe-maybee-jump-to-attached-frame)
14970         (speedbar-change-initial-expansion-list)
14971         (speedbar-previously-used-expansion-list-name): Declare.
14972         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14973         Use dframe-message, dframe-with-attached-buffer rather than
14974         speedbar- aliases.
14975         (gud-sentinel): Silence compiler.
14976         * progmodes/vhdl-mode.el (speedbar-refresh)
14977         (speedbar-do-function-pointer, speedbar-add-supported-extension)
14978         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14979         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14980         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14981         (speedbar-file-lists, speedbar-make-tag-line)
14982         (speedbar-line-directory, speedbar-goto-this-file)
14983         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14984         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14985         (speedbar-make-button, speedbar-reset-scanners)
14986         (speedbar-files-item-info, speedbar-line-text)
14987         (speedbar-find-file-in-frame, speedbar-set-timer)
14988         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14989         (speedbar-with-writable): Do not (re)define it.
14990         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14991         rather than speedbar- alias.
14993 2013-05-21  Leo Liu  <sdl.web@gmail.com>
14995         * progmodes/octave.el (octave-mode-menu): Update and re-organize
14996         menu items.
14997         (octave-mode): Tweak fill-nobreak-predicate.
14998         (inferior-octave-startup): Check process to avoid infinite loop.
14999         (inferior-octave): Pop to buffer first to show abornmal process
15000         exit information.
15002 2013-05-21  Glenn Morris  <rgm@gnu.org>
15004         * printing.el (pr-menu-bar): Define when compiling.
15006 2013-05-21  Leo Liu  <sdl.web@gmail.com>
15008         * progmodes/octave.el (octave-auto-fill): Remove.
15009         (octave-indent-new-comment-line): Improve.
15010         (octave-mode): Use auto fill mode through
15011         comment-line-break-function and fill-nobreak-predicate.
15012         (octave-goto-function-definition): Support DEFUN_DLD.
15013         (octave-beginning-of-defun): Small tweak.
15014         (octave-help): Show parent directory.
15016 2013-05-21  Glenn Morris  <rgm@gnu.org>
15018         * files.el (dired-unmark):
15019         * progmodes/gud.el (gdb-input): Update declarations.
15021         * calculator.el (electric, ehelp): No need to load when compiling.
15022         (Electric-command-loop, electric-describe-mode): Declare.
15024         * doc-view.el (doc-view-current-converter-processes): Move before use.
15026         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15027         Move MODE-set-explicitly definition before use.
15029         * international/mule-diag.el (mule-diag):
15030         Don't use obsolete window-system-version.
15032         * mail/feedmail.el (smtpmail): No need to load when compiling.
15033         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
15035         * mail/mail-utils.el (rfc822): No need to load when compiling.
15036         (rfc822-addresses): Autoload it.
15037         (mail-strip-quoted-names): Trivial simplification.
15039         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
15040         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
15042         * net/snmp-mode.el (tempo): Don't duplicate requires.
15044         * progmodes/prolog.el (info): No need to load when compiling.
15045         (comint): Require before shell requires it.
15046         (Info-goto-node): Autoload it.
15047         (Info-follow-nearest-node): Declare.
15048         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
15050         * textmodes/artist.el (picture-mode-exit): Declare.
15052         * textmodes/reftex-parse.el (reftex-parse-from-file):
15053         Trivial rewrite so the compiler can parse it better.
15055 2013-05-20  Leo Liu  <sdl.web@gmail.com>
15057         * progmodes/octave.el (octave-help-mode-map)
15058         (octave-help-mode-finish-hook): New variables.
15059         (octave-help-mode, octave-help-mode-finish): New functions.
15060         (octave-help): Use octave-help-mode.
15062 2013-05-20  Glenn Morris  <rgm@gnu.org>
15064         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
15066 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
15068         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
15069         start at point, so that expansion starting right after opening
15070         slash in a regexp is recognized.
15071         (ruby-syntax-before-regexp-re): New defvar, extracted from
15072         ruby-syntax-propertize-function.  Since the value of this regexp
15073         is looked up at runtime now, we should be able to turn
15074         `ruby-syntax-methods-before-regexp' into a defcustom later.
15075         (ruby-syntax-propertize-function): Split regexp matching into two
15076         parts, for opening and closing slashes.  That allows us to skip
15077         over string interpolations and support multiline regexps.
15078         Don't call `ruby-syntax-propertize-expansions', instead use another rule
15079         for them, which calls `ruby-syntax-propertize-expansion'.
15080         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
15081         call to `ruby-syntax-propertize-function'.
15082         (ruby-syntax-propertize-expansion): Extracted from
15083         `ruby-syntax-propertize-expansions'.  Handles one expansion.
15084         (ruby-syntax-propertize-percent-literal): Leave point right after
15085         the percent symbol, so that the expression expansion rule can
15086         propertize the contents.
15087         (ruby-syntax-propertize-heredoc): Leave point at bol following the
15088         heredoc openers.
15089         (ruby-syntax-propertize-expansions): Remove.
15091 2013-05-18  Juri Linkov  <juri@jurta.org>
15093         * man.el (Man-default-man-entry): Remove `-' from the end
15094         of the default value.  (Bug#14400)
15096 2013-05-18  Glenn Morris  <rgm@gnu.org>
15098         * comint.el (comint-password-prompt-regexp):
15099         Allow "password for XXX" where XXX contains colons (eg https://...).
15101 2013-05-18  Leo Liu  <sdl.web@gmail.com>
15103         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
15104         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
15105         (octave-source-directories): Don't check process.
15106         (octave-source-directories, octave-find-definition): Doc fix.
15108 2013-05-18  Glenn Morris  <rgm@gnu.org>
15110         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
15111         Remove backspace/delete bindings.  (Bug#14392)
15113         * cus-dep.el (custom-make-dependencies): Sort the output.
15114         (custom-versions-load-alist): Convert comment to doc.
15116 2013-05-17  Leo Liu  <sdl.web@gmail.com>
15118         * newcomment.el (comment-search-backward): Stricter in finding
15119         comment start.  (Bug#14303)
15121         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
15122         (octave-comment-start-skip): Properly anchored.
15124 2013-05-17  Leo Liu  <sdl.web@gmail.com>
15126         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
15127         Clean up when turned off.  (Bug#14395)
15128         (smie--highlight-matching-block-overlay): No longer buffer-local.
15129         (smie-highlight-matching-block): Adjust.
15131 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
15133         Doc string fix for "nanoseconds" (Bug#14406).
15134         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
15135         Fix doc string typo that had "nanoseconds" instead of "microseconds".
15137 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
15139         * calc/calc-units.el (math-extract-units): Preserve powers
15140         of units.
15142 2013-05-17  Leo Liu  <sdl.web@gmail.com>
15144         * subr.el (delete-consecutive-dups): New function.
15145         * ido.el (ido-set-matches-1): Use it.
15146         * progmodes/octave.el (inferior-octave-completion-table): Use it.
15147         * ido.el (ido-remove-consecutive-dups): Remove.
15149 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15151         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15152         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
15153         regexp-opt's `words'.
15155 2013-05-16  Leo Liu  <sdl.web@gmail.com>
15157         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
15158         (smie--highlight-matching-block-overlay)
15159         (smie--highlight-matching-block-lastpos)
15160         (smie--highlight-matching-block-timer): New variables.
15161         (smie-highlight-matching-block): New function.
15162         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
15163         (smie-setup): Conditionally enable smie-blink-matching-open.
15165 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
15167         Sync with upstream verilog-mode r840.
15168         * progmodes/verilog-mode.el (verilog-mode-version)
15169         (verilog-mode-release-date): Update.
15170         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
15171         (verilog-sig-tieoff): Fix string error on
15172         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
15173         (verilog-read-decls): Fix parameters confusing
15174         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
15176 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
15178         * subr.el (reveal-filename): New function.
15180         * loadup.el: Compute Emacs executable versions on MS-Windows,
15181         where executables have the .exe extension.  Add a hard link
15182         emacs-XX.YY.ZZ.exe on MS-Windows.
15184         * Makefile.in (XARGS_LIMIT): New variable.
15185         (custom-deps, finder-data, autoloads)
15186         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15187         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15188         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
15189         (compile-main): Limit xargs according to $(XARGS_LIMIT).
15191 2013-05-16  Leo Liu  <sdl.web@gmail.com>
15193         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
15194         (octave-mode-menu, octave-mode-map): Remove its uses.
15196 2013-05-16  Reto Zimmermann  <reto@gnu.org>
15198         Sync with upstream vhdl mode v3.34.2.
15199         * progmodes/vhdl-mode.el: Use `push' throughout.
15200         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15201         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15202         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
15203         (vhdl-actual-generic-name): New option to derive actual generic name.
15204         (vhdl-port-paste-signals): Replace formal by actual generics.
15205         (vhdl-beautify): New name for old group vhdl-align.  Update users.
15206         (vhdl-beautify-options): New option.
15207         (vhdl-last-input-event): New compat alias.  Use throughout.
15208         (vhdl-goto-line): Replace user level function `goto-line'.
15209         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15210         vhdl-fix-statement-buffer.
15211         (vhdl-create-mode-menu): Add some entries.
15212         (vhdl-align-region-groups): Respect vhdl-beautify-options.
15213         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15214         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15215         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15216         to force statements on one line.
15217         (vhdl-remove-trailing-spaces-region):
15218         New, split from vhdl-remove-trailing-spaces.
15219         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15220         Respect vhdl-beautify-options.
15221         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15222         (vhdl-update-sensitivity-list): Not add with index if exists without.
15223         Not include array index with signal.  Ignore keywords in comments.
15224         (vhdl-get-visible-signals): Regexp tweaks.
15225         (vhdl-template-component-inst): Handle empty library.
15226         (vhdl-template-type): Add template for 'enum' type.
15227         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15228         Use vhdl-replace-string.
15229         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15230         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15231         (vhdl-speedbar-initialize): Update for above name change.
15232         (vhdl-compose-wire-components): Fix in handling of constants.
15233         (vhdl-error-regexp-emacs-alist): New variable.
15234         (vhdl-error-regexp-add-emacs): New function;
15235         adds support for new compile.el (Emacs 22+)
15236         (vhdl-generate-makefile-1): Change target order for single lib. units.
15237         Allow use of absolute file names.
15239 2013-05-16  Leo Liu  <sdl.web@gmail.com>
15241         * simple.el (prog-indent-sexp): Indent enclosing defun.
15243 2013-05-15  Glenn Morris  <rgm@gnu.org>
15245         * cus-start.el (show-trailing-whitespace): Move to editing basics.
15246         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15247         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15248         (whitespace-highlight): Move to whitespace group.
15250         * comint.el (comint-source):
15251         * pcmpl-linux.el (pcmpl-linux):
15252         * shell.el (shell-faces):
15253         * eshell/esh-opt.el (eshell-opt):
15254         * international/ccl.el (ccl): Remove empty custom groups.
15256         * completion.el (dynamic-completion-mode):
15257         * jit-lock.el (jit-lock-debug-mode):
15258         * minibuffer.el (completion-in-region-mode):
15259         * type-break.el (type-break-mode-line-message-mode)
15260         (type-break-query-mode):
15261         * emulation/tpu-edt.el (tpu-edt-mode):
15262         * progmodes/subword.el (global-subword-mode, global-superword-mode):
15263         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15264         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15266         * term/xterm.el (xterm): Change parent group to terminals.
15268         * master.el (master): Remove empty custom group.
15269         (master-mode): Remove unused :group argument.
15270         * textmodes/refill.el (refill): Remove empty custom group.
15271         (refill-mode): Remove unused :group argument.
15273         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15275         * cus-dep.el: Provide a feature.
15276         (custom-make-dependencies): Ignore dotfiles (dir-locals).
15277         Don't mistakenly ignore files whose basenames match a basename
15278         from preloaded-file-list (eg cedet/ede/simple.el).
15279         Add a fallback method for getting :group.
15281 2013-05-15  Juri Linkov  <juri@jurta.org>
15283         * isearch.el (isearch-char-by-name): Rename from
15284         `isearch-insert-char-by-name'.  Doc fix.
15285         (isearch-forward): Mention `isearch-char-by-name' in
15286         the docstring.  (Bug#13348)
15288         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15289         `exit-minibuffer' instead of
15290         `isearch-nonincremental-exit-minibuffer'.
15291         (isearch-edit-string): Remove mention of
15292         `isearch-nonincremental-exit-minibuffer' from docstring.
15293         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15294         (isearch-forward-exit-minibuffer)
15295         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
15297 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15299         * loadup.el: Just use unversioned DOC.
15301         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15302         literals as extending to EOB.
15303         (nxml-last-fontify-end): Remove unused variable.
15304         (nxml-after-change1): Use with-silent-modifications.
15305         (nxml-extend-after-change-region): Simplify.
15306         (nxml-extend-after-change-region1): Remove function.
15307         (nxml-after-change1): Don't adjust for dependent regions.
15308         (nxml-fontify-matcher): Simplify.
15309         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15310         (xmltok-add-dependent): Remove function.
15311         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15312         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15313         (xmltok-scan-prolog-after-processing-instruction-open): Treat
15314         unclosed <[[, <?, comment, and other literals as extending to EOB.
15315         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15316         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15317         Remove functions.
15318         (rng-do-some-validation-1): Don't mark dependent regions.
15319         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15320         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15321         (nxml-clear-dependent-regions): Remove functions.
15322         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15323         (nxml-ensure-scan-up-to-date):
15324         Don't clear&mark dependent regions.
15326 2013-05-15  Leo Liu  <sdl.web@gmail.com>
15328         * progmodes/octave.el (octave-goto-function-definition):
15329         Improve and fix callers.
15331 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15333         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15334         the setter (bug#14387).
15336         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15337         surrounding group (bug#14402).
15339 2013-05-14  Juri Linkov  <juri@jurta.org>
15341         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15342         (Bug#14390)
15344 2013-05-14  Glenn Morris  <rgm@gnu.org>
15346         * progmodes/f90.el (f90-imenu-generic-expression):
15347         Fix typo in 2013-05-08 change.  (Bug#14402)
15349 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
15351         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15352         Remove signals for which replies are never received.
15354 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
15356         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15357         (gdb-handler-alist, gdb-handler-number): Remove variables.
15358         (gdb-handler-list): New variable.
15359         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15360         (gdb-pending-handler-p, gdb-handle-reply)
15361         (gdb-remove-all-pending-triggers): New functions.
15362         (gdb-discard-unordered-replies): New defcustom.
15363         (gdb-handler): New defstruct.
15364         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
15365         instead of gdb-pending-triggers.  Update docstring.
15366         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
15367         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15368         (gdb-var-update-handler, def-gdb-auto-update-trigger)
15369         (def-gdb-auto-update-handler, gdb-get-changed-registers)
15370         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15371         (gdb-frame-handler): Pending triggers are now automatically managed.
15372         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15373         Remove argument.
15374         (gdb-input): Automatically handles pending triggers.  Update docstring.
15375         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15376         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15377         Update comments.
15378         (gdb-done-or-error): Now use gdb-handle-reply.
15380 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
15382         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15383         gdb-debug-log.
15385 2013-05-14  Glenn Morris  <rgm@gnu.org>
15387         * subr.el (user-emacs-directory-warning): New option.
15388         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
15390 2013-05-14  Leo Liu  <sdl.web@gmail.com>
15392         * progmodes/octave.el (octave-font-lock-keywords): Fix error
15393         during redisplay.
15394         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15395         (octave-font-lock-texinfo-comment): Fix invalid search bound
15396         error: wrong side of point.
15398 2013-05-14  Glenn Morris  <rgm@gnu.org>
15400         * progmodes/flymake.el (flymake-xml-program): New option.
15401         (flymake-xml-init): Use it.
15403         * term/xterm.el: Provide a feature.
15405         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
15407 2013-05-13  Glenn Morris  <rgm@gnu.org>
15409         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15410         Add compat aliases as a hack workaround.  (Bug#14384)
15412 2013-05-13  Leo Liu  <sdl.web@gmail.com>
15414         * progmodes/octave.el (octave-indent-comment): Fix indentation for
15415         ###, and %!.
15416         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15417         C-M-q.
15418         (octave-comment-start-skip): Include %!.
15419         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15421 2013-05-12  Leo Liu  <sdl.web@gmail.com>
15423         * progmodes/octave.el (inferior-octave-startup): Store the value
15424         of __octave_srcdir__ for octave-source-directories.
15425         (inferior-octave-check-process): New function refactored out of
15426         inferior-octave-send-list-and-digest.
15427         (octave-source-directories)
15428         (octave-find-definition-filename-function): New variables.
15429         (octave-source-directories)
15430         (octave-find-definition-default-filename): New functions.
15431         (octave-find-definition): Improve to find functions implemented in C++.
15433 2013-05-12  Glenn Morris  <rgm@gnu.org>
15435         * calendar/diary-lib.el (diary-outlook-format-1):
15436         Don't include dayname in the output.  (Bug#14349)
15438 2013-05-11  Glenn Morris  <rgm@gnu.org>
15440         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15442         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15443         Treat cc-provide like provide.
15445 2013-05-11  Kevin Ryde  <user42@zip.com.au>
15447         * cus-dep.el (custom-make-dependencies):
15448         Use generated-autoload-load-name for the sake of files such
15449         such cedet/semantic/bovine/c.el, where the base file name
15450         is not in load-path.  (Bug#5277)
15452 2013-05-11  Glenn Morris  <rgm@gnu.org>
15454         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15455         Provide features.
15457 2013-05-11  Leo Liu  <sdl.web@gmail.com>
15459         * progmodes/octave.el (octave-indent-comment): Improve.
15460         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15461         (octave-eldoc-function-signatures, octave-eldoc-function):
15462         New functions.
15463         (octave-mode, inferior-octave-mode): Add eldoc support.
15465 2013-05-11  Richard Stallman  <rms@gnu.org>
15467         * epa.el (epa-decrypt-file): Take output file name as argument
15468         and read it using `interactive'.
15470 2013-05-11  Leo Liu  <sdl.web@gmail.com>
15472         * progmodes/octave.el (octave-beginning-of-line)
15473         (octave-end-of-line): Check before using up-list because it jumps
15474         out of more syntactic contructs since moving to smie.
15475         (octave-indent-comment): New function.
15476         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
15477         (octave-begin-keywords, octave-end-keywords)
15478         (octave-reserved-words, octave-smie-bnf-table)
15479         (octave-smie-rules): Add new keywords from Octave 3.6.4.
15481 2013-05-11  Glenn Morris  <rgm@gnu.org>
15483         * faces.el (internal-face-x-get-resource):
15484         * frame.el (ns-display-monitor-attributes-list):
15485         * calc/calc-aent.el (math-to-radians-2):
15486         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15487         Fix declarations.
15489         * calc/calc-menu.el: Make it loadable in isolation.
15491         * net/eudcb-bbdb.el: Make it loadable without bbdb.
15492         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15493         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15494         (eudc-bbdb-query-internal): Require 'bbdb.
15496         * lpr.el (lpr-headers-switches):
15497         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15499         * progmodes/sql.el (sql-login-params): Fix and improve :type.
15501         * emulation/edt-mapper.el: In batch mode, error rather than hang.
15503         * term.el (term-set-escape-char): Make it idempotent.
15505 2013-05-10  Leo Liu  <sdl.web@gmail.com>
15507         * progmodes/octave.el (inferior-octave-completion-table):
15508         No longer a function and all uses changed.  Use cache to speed up
15509         completion due to bug#11906.
15510         (octave-beginning-of-defun): Re-write to be more general.
15512 2013-05-10  Glenn Morris  <rgm@gnu.org>
15514         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15516 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
15518         * comint.el (comint-redirect-send-command-to-process): Use :around
15519         rather than :override for comint-redirect-filter.
15520         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15521         Call it instead of comint-redirect-original-filter-function (which
15522         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
15524 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
15526         * frame.el (display-monitor-attributes-list): Add NS case.
15527         (ns-display-monitor-attributes-list): Declare.
15529 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
15531         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
15533 2013-05-09  Glenn Morris  <rgm@gnu.org>
15535         * international/fontset.el (vertical-centering-font-regexp):
15536         Set standard-value.
15538         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15540         * bookmark.el (bookmark-search-delay):
15541         * cus-start.el (vertical-centering-font-regexp):
15542         * ps-mule.el (ps-mule-font-info-database-default):
15543         * ps-print.el (ps-default-fg, ps-default-bg):
15544         * type-break.el (type-break-good-break-interval):
15545         * whitespace.el (whitespace-indentation-regexp)
15546         (whitespace-space-after-tab-regexp):
15547         * emacs-lisp/testcover.el (testcover-1value-functions)
15548         (testcover-noreturn-functions, testcover-progn-functions)
15549         (testcover-prog1-functions):
15550         * emulation/viper-init.el (viper-emacs-state-cursor-color):
15551         * eshell/em-glob.el (eshell-glob-translate-alist):
15552         * play/tetris.el (tetris-tty-colors):
15553         * progmodes/cpp.el (cpp-face-default-list):
15554         * progmodes/flymake.el (flymake-allowed-file-name-masks):
15555         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15556         (idlwave-help-browser-generic-args):
15557         * progmodes/make-mode.el (makefile-special-targets-list):
15558         * progmodes/python.el (python-shell-virtualenv-path):
15559         * progmodes/verilog-mode.el (verilog-active-low-regexp)
15560         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15561         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15562         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15563         * textmodes/reftex-vars.el (reftex-format-label-function):
15564         * textmodes/remember.el (remember-diary-file): Fix custom types.
15566         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15567         Add :version.
15569 2013-05-09  Leo Liu  <sdl.web@gmail.com>
15571         * progmodes/octave.el (inferior-octave-completion-at-point):
15572         Restore file completion.  (Bug#14300)
15573         (inferior-octave-startup): Fix incorrect highlighting for the
15574         first prompt.
15576 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15578         * progmodes/ruby-mode.el: First cut at SMIE support.
15579         (ruby-use-smie): New var.
15580         (ruby-smie-grammar): New constant.
15581         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15582         (ruby-smie--forward-token, ruby-smie--backward-token)
15583         (ruby-smie-rules): New functions.
15584         (ruby-mode-variables): Setup SMIE if applicable.
15586 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
15588         * simple.el (line-move-visual): Signal beginning/end of buffer
15589         only if vertical-motion moved less than it was requested.  Avoids
15590         silly incorrect error messages when there are display strings with
15591         multiple newlines at EOL.
15593 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15595         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15596         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15597         (prolog-char-quote-workaround):
15598         * progmodes/cperl-mode.el (cperl-under-as-char):
15599         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15600         Mark as obsolete.
15601         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15602         their declaration.
15603         (vhdl-mode-syntax-table-init): Remove.
15605         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15606         last change.
15608         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15609         syntax for "_".
15610         (ld-script-font-lock-keywords):
15611         Change regexps to use things like \_< and \_>.
15613         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15614         Change all regexps to use things like \_< and \_>.
15616         * progmodes/autoconf.el (autoconf-definition-regexp)
15617         (autoconf-font-lock-keywords, autoconf-current-defun-function):
15618         Handle a _ with symbol syntax.
15619         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15621         * progmodes/ada-mode.el (ada-mode-abbrev-table):
15622         Consolidate declaration.
15623         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15624         the declaration.
15625         (ada-create-syntax-table): Remove.
15626         (ada-capitalize-word): Don't mess with the syntax of "_" since it
15627         already has the right syntax nowadays.
15628         (ada-goto-next-word): Don't change the syntax of "_".
15630         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15631         with-wrapper-hook.
15633 2013-05-08  Sam Steingold  <sds@gnu.org>
15635         * thingatpt.el (thing-at-point): Accept optional second argument
15636         NO-PROPERTIES to strip the text properties from the return value.
15637         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15638         to `thing-at-point' instead of stripping the properties ourselves.
15639         Also, when `thing-at-point' fails to find a url, prepend "http://"
15640         to the filename at point on the assumption that the user is
15641         pointing at something like gnu.org/gnu.
15643 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
15645         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15646         * faces.el (crm-separator):
15647         Silence byte-compiler.
15649         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15650         (tool-bar-map): Remove unneeded defvars.
15652 2013-05-08  Leo Liu  <sdl.web@gmail.com>
15654         Re-work a fix for bug#10994 based on Le Wang's patch.
15655         * ido.el (ido-remove-consecutive-dups): New helper.
15656         (ido-completing-read): Use it.
15657         (ido-chop): Revert fix for bug#10994.
15659 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
15661         * cus-edit.el (custom-save-variables):
15662         Pretty-print long values.  (Bug#14187)
15664 2013-05-08  Glenn Morris  <rgm@gnu.org>
15666         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15667         (m4-mode-syntax-table): Init in the defvar.
15668         (m4-mode-abbrev-table): Let define-derived-mode define it.
15670 2013-05-08  Tom Tromey  <tromey@redhat.com>
15672         * progmodes/m4-mode.el (m4-mode-syntax-table):
15673         Do not treat "_" as word constituent.  (Bug#14167)
15675 2013-05-07  Glenn Morris  <rgm@gnu.org>
15677         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15678         Remove explicit eshell-isearch-cancel-map.
15680         * progmodes/f90.el (f90-smart-end-names): New option.
15681         (f90-smart-end): Doc fix.
15682         (f90-end-block-optional-name): New constant.
15683         (f90-block-match): Respect f90-smart-end-names.
15685 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15687         * progmodes/octave.el (octave-smie-forward-token): Be more careful
15688         about implicit semi-colons (bug#14218).
15690 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15692         * frame.el (display-monitor-attributes-list)
15693         (frame-monitor-attributes): New functions.
15695 2013-05-06  Leo Liu  <sdl.web@gmail.com>
15697         * progmodes/octave.el (octave-syntax-propertize-function): Change
15698         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
15699         (octave-font-lock-keywords): Use octave-operator-regexp.
15700         (octave-completion-at-point): Rename from
15701         octave-completion-at-point-function.
15702         (inferior-octave-directory-tracker): Robustify.
15703         (octave-text-functions): Remove and fix its uses.  No such things
15704         any more.
15706 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15708         * emacs-lisp/trace.el (trace--display-buffer): New function.
15709         (trace-make-advice): Use it.
15711 2013-05-06  Juri Linkov  <juri@jurta.org>
15713         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
15714         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15715         Doc fix.
15716         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15717         in the help string.  (Bug#12985)
15719 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
15721         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
15723 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15725         * progmodes/perl-mode.el: Add support for here documents.
15726         (perl-syntax-propertize-function): Match here-doc markers.
15727         (perl-syntax-propertize-special-constructs): Find their end.
15728         (perl-imenu-generic-expression): Use [:alnum:].
15730         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15731         (advice--add-function): Refresh the advice if already present
15732         (bug#14317).
15734 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
15736         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
15738 2013-05-06  Glenn Morris  <rgm@gnu.org>
15740         * w32-fns.el (w32-charset-info-alist): Declare.
15742         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15743         of its defcustom properties.
15744         (eshell-cmpl-initialize): No need to load pcomplete.
15746         * generic-x.el: No need to require comint when compiling.
15748         * net/eudc-export.el: Make it loadable without bbdb.
15749         (top-level): Use require rather than load-library.
15750         (eudc-create-bbdb-record, eudc-bbdbify-phone)
15751         (eudc-batch-export-records-to-bbdb)
15752         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15753         Require bbdb.
15755 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15757         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15758         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15759         some tweaks, instead.
15761 2013-05-05  Leo Liu  <sdl.web@gmail.com>
15763         * progmodes/octave.el (octave-font-lock-keywords)
15764         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15765         (inferior-octave-send-list-and-digest): Improve error message.
15766         (octave-mode, inferior-octave-mode): Use setq-local.
15767         (octave-help): Set info-lookup-mode.
15769 2013-05-05  Richard Stallman  <rms@gnu.org>
15771         * vc/compare-w.el (compare-windows-whitespace):
15772         Treat no-break space as whitespace.
15774         * mail/rmailsum.el (rmail-summary-rmail-update):
15775         Detect empty summary and don't change selected message.
15776         (rmail-summary-goto-msg): Likewise.
15778         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15779         Doc fixes, rename args.
15781 2013-05-05  Alan Mackenzie  <acm@muc.de>
15783         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15785 2013-05-05  Juri Linkov  <juri@jurta.org>
15787         * info.el (Info-read-subfile): Use (point-min) instead of (point)
15788         to not add the length of the summary segment to the return value.
15789         (Bug#14125)
15791 2013-05-05  Leo Liu  <sdl.web@gmail.com>
15793         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15794         (inferior-octave-output-filter): Remove.
15795         (octave-send-region, inferior-octave-startup): Fix callers.
15796         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15797         (octave-binary-file-extensions): New user variable.
15798         (octave-find-definition): Confirm if opening binary files.
15799         (octave-help-file): Use octave-find-definition to get the binary
15800         confirmation.
15801         (octave-help): Adjust for octave-help-file change.
15803 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15805         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15806         Merge the two entries that handle function definitions.
15807         (pascal--syntax-propertize): New const.
15808         (pascal-mode): Use it.  Use setq-local.
15810 2013-05-04  Glenn Morris  <rgm@gnu.org>
15812         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15813         (diary-from-outlook): Respect diary-from-outlook-function.
15815 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15817         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15818         Move the declaration from C.
15819         (read-minibuffer, eval-minibuffer): Move from C.
15820         (completion-setup-function): Avoid minibuffer-completion-contents.
15822 2013-05-03  Leo Liu  <sdl.web@gmail.com>
15824         * progmodes/octave.el (octave-font-lock-keywords): Do not
15825         dehighlight 'end' in comments or strings.
15826         (octave-completing-read, octave-goto-function-definition):
15827         New helpers.
15828         (octave-help-buffer): New user variable.
15829         (octave-help-file, octave-help-function): New button types.
15830         (octave-help): New command and bind it to C-h ;.
15831         (octave-find-definition): New command and bind it to M-.
15832         (user-error): Alias to error if not defined.
15834 2013-05-02  Leo Liu  <sdl.web@gmail.com>
15836         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15837         for \.  (bug#14332)
15838         (octave-font-lock-keywords): Include [ and {.
15840 2013-05-02  Leo Liu  <sdl.web@gmail.com>
15842         * progmodes/octave.el (inferior-octave-startup-file): Change default.
15843         (inferior-octave): Remove calling comint-mode and return the buffer.
15844         (inferior-octave-startup): Cosmetic changes.
15846 2013-05-02  Leo Liu  <sdl.web@gmail.com>
15848         * progmodes/octave.el (octave-syntax-propertize-function):
15849         Include the case when ' is at line beginning.  (Bug#14336)
15851 2013-05-02  Glenn Morris  <rgm@gnu.org>
15853         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15854         * desktop.el (vc-dir-mode): Just autoload it here.
15856 2013-05-02  Alan Mackenzie  <acm@muc.de>
15858         Eliminate variable c-standard-font-lock-fontify-region-function.
15859         * progmodes/cc-mode.el
15860         (c-standard-font-lock-fontify-region-function): Remove.
15861         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15863 2013-05-01  Leo Liu  <sdl.web@gmail.com>
15865         * progmodes/octave.el: Compatible with older emacs-24 releases.
15866         (inferior-octave-has-built-in-variables): Remove.  Built-in
15867         variables were removed from Octave in 2007.
15868         (inferior-octave-startup): Fix uses.
15869         (comint-line-beginning-position): Remove compatibility code for
15870         emacs 21.
15872 2013-05-01  Juri Linkov  <juri@jurta.org>
15874         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
15876 2013-05-01  Juri Linkov  <juri@jurta.org>
15878         * comint.el (comint-previous-matching-input): Don't print message
15879         "History item: %d" when `isearch-mode' is active.
15880         (comint-history-isearch-message): Print message "History item: %d"
15881         when `comint-input-ring-index' is not empty and this function is
15882         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
15884 2013-05-01  Leo Liu  <sdl.web@gmail.com>
15886         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15887         definitions.  Use completion-at-point to insert keywords.
15888         (octave-abbrev-start): Remove.
15889         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15891 2013-04-30  Leo Liu  <sdl.web@gmail.com>
15893         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15894         change.
15896 2013-04-30  Alan Mackenzie  <acm@muc.de>
15898         Handle arbitrarily long C++ member initialisation lists.
15899         * progmodes/cc-engine.el (c-back-over-member-initializers):
15900         new function.
15901         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15902         (most) member init lists.
15904 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15906         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15907         variable.
15909 2013-04-30  Leo Liu  <sdl.web@gmail.com>
15911         * progmodes/octave.el (octave-variables): Remove.  No builtin
15912         variables any more.  All converted to functions.
15913         (octave-font-lock-keywords, octave-completion-at-point-function):
15914         Fix uses.
15915         (octave-font-lock-texinfo-comment): New user variable.
15916         (octave-texinfo-font-lock-keywords): New variable for texinfo
15917         comment block.
15918         (octave-function-comment-block): New face.
15919         (octave-font-lock-texinfo-comment): New function.
15920         (octave-mode): Font lock texinfo comment block.
15922 2013-04-29  Leo Liu  <sdl.web@gmail.com>
15924         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15925         indexing expression.
15926         (octave-continuation-string): Do not use \.
15927         (inferior-octave-complete-impossible): Remove.
15928         (inferior-octave-completion-table)
15929         (inferior-octave-completion-at-point): Remove its uses.
15930         (inferior-octave-startup): completion_matches was introduced to
15931         Octave in 1996 so safe to assume it.
15932         (octave-function-file-comment): Improve to follow how Octave does it.
15933         (octave-update-function-file-comment): Tweak.
15935 2013-04-29  Leo Liu  <sdl.web@gmail.com>
15937         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15938         (inferior-octave-startup): Remove inferior-octave-startup-hook.
15939         (octave-function-file-comment): Fix typo.
15940         (octave-sync-function-file-names): Use read-char-choice.
15942 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
15944         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15945         to t for the less important warnings.
15947 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
15949         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
15951 2013-04-27  Glenn Morris  <rgm@gnu.org>
15953         * vc/log-view.el (log-view-current-entry):
15954         Treat "---" separator lines as part of the following rev.  (Bug#14169)
15956 2013-04-27  Juri Linkov  <juri@jurta.org>
15958         * subr.el (read-number): Doc fix about using it by interactive
15959         code letter `n'.  (Bug#14254)
15961 2013-04-27  Juri Linkov  <juri@jurta.org>
15963         * desktop.el (desktop-auto-save-timeout): New option.
15964         (desktop-file-checksum): New variable.
15965         (desktop-save): Add optional arg `auto-save' and don't auto-save
15966         if nothing changed.
15967         (desktop-auto-save-timer): New variable.
15968         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15969         (after-init-hook): Call `desktop-auto-save-set-timer'.
15970         Suggested by Reuben Thomas <rrt@sc3d.org> in
15971         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15973 2013-04-27  Leo Liu  <sdl.web@gmail.com>
15975         * progmodes/octave.el (octave-function-file-p)
15976         (octave-skip-comment-forward, octave-function-file-comment)
15977         (octave-update-function-file-comment): New functions.
15978         (octave-mode-map): Bind C-c ; to
15979         octave-update-function-file-comment.
15980         (octave-mode-menu): Add octave-update-function-file-comment.
15981         (octave-mode, inferior-octave-mode): Fix doc-string.
15982         (octave-insert-defun): Conform to Octave's coding convention.
15983         (Bug#14285)
15985         * files.el (basic-save-buffer): Don't let errors in
15986         before-save-hook prevent saving buffer.
15988 2013-04-20  Roland Winkler  <winkler@gnu.org>
15990         * faces.el (read-face-name): Use completing-read if arg multiple
15991         is nil.
15993 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
15995         * ls-lisp.el (ls-lisp-insert-directory): If no files are
15996         displayed, move point to after the totals line.
15997         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15998         for the details.
16000 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16002         * emacs-lisp/package.el (package-autoload-ensure-default-file):
16003         Add current dir to the load-path.
16004         (package-generate-autoloads): Don't rely on
16005         autoload-ensure-default-file.
16007 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
16009         * textmodes/remember.el (remember-store-in-files): Document that
16010         the file name format is passed to `format-time-string'.
16012 2013-04-26  Leo Liu  <sdl.web@gmail.com>
16014         * progmodes/octave.el (octave-sync-function-file-names): New function.
16015         (octave-mode): Use it in before-save-hook.
16017 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16019         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
16020         (bug#14274).
16022         * progmodes/octave.el (octave-smie-forward-token): Properly skip
16023         \n and comment, even if it's not an implicit ; (bug#14218).
16025 2013-04-26  Glenn Morris  <rgm@gnu.org>
16027         * subr.el (read-number): Once more use `read' rather than
16028         `string-to-number', to trap non-numeric input.  (Bug#14254)
16030 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
16032         * emacs-lisp/syntax.el (syntax-propertize-multiline):
16033         Use `syntax-multiline' text property consistently instead of
16034         `font-lock-multiline'.  (Bug#14237)
16036 2013-04-26  Glenn Morris  <rgm@gnu.org>
16038         * emacs-lisp/shadow.el (list-load-path-shadows):
16039         No longer necessary to check for duplicate simple.el, since
16040         2012-07-07 change to init_lread to not include installation lisp
16041         directories in load-path when running uninstalled.  (Bug#14270)
16043 2013-04-26  Leo Liu  <sdl.web@gmail.com>
16045         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
16046         (octave-mode, inferior-octave-mode): Use setq-local.
16047         (octave-not-in-string-or-comment-p): Rename to
16048         octave-in-string-or-comment-p.
16049         (octave-in-comment-p, octave-in-string-p)
16050         (octave-in-string-or-comment-p): Replace defsubst with defun.
16052 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
16054         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
16056 2013-04-25  Bastien Guerry  <bzg@gnu.org>
16058         * textmodes/remember.el (remember-data-directory)
16059         (remember-directory-file-name-format): Fix custom types.
16061 2013-04-25  Leo Liu  <sdl.web@gmail.com>
16063         * progmodes/octave.el (octave-completion-at-point-function):
16064         Make use of inferior octave process.
16065         (octave-initialize-completions): Remove.
16066         (inferior-octave-completion-table): New function.
16067         (inferior-octave-completion-at-point): Use it.
16068         (octave-completion-alist): Remove.
16070 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16072         * progmodes/opascal.el: Use font-lock and syntax-propertize.
16073         (opascal-mode-syntax-table): New var.
16074         (opascal-literal-kind, opascal-is-literal-end)
16075         (opascal-literal-token-at): Rewrite.
16076         (opascal--literal-start-re, opascal-font-lock-keywords)
16077         (opascal--syntax-propertize): New constants.
16078         (opascal-font-lock-defaults): Adjust.
16079         (opascal-mode): Use them.  Set comment-<foo> variables as well.
16080         (delphi-comment-face, opascal-comment-face, delphi-string-face)
16081         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
16082         (delphi-other-face, opascal-other-face): Remove face variables.
16083         (opascal-save-state): Remove macro.
16084         (opascal-fontifying-progress-step): Remove constant.
16085         (opascal--ignore-changes): Remove var.
16086         (opascal-set-token-property, opascal-parse-next-literal)
16087         (opascal-is-stable-literal, opascal-complete-literal)
16088         (opascal-is-literal-start, opascal-face-of)
16089         (opascal-parse-region, opascal-parse-region-until-stable)
16090         (opascal-fontify-region, opascal-after-change)
16091         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
16092         (opascal-debug-parse-region, opascal-debug-parse-window)
16093         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
16094         (opascal-debug-fontify-buffer): Remove.
16095         (opascal-debug-mode-map): Adjust accordingly.
16097 2013-04-25  Leo Liu  <sdl.web@gmail.com>
16099         Merge octave-mod.el and octave-inf.el into octave.el with some
16100         cleanups.
16101         * progmodes/octave.el: New file renamed from octave-mod.el.
16102         * progmodes/octave-inf.el: Merged into octave.el.
16103         * progmodes/octave-mod.el: Renamed to octave.el.
16105 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
16107         * textmodes/reftex-vars.el
16108         (reftex-label-ignored-macros-and-environments): New defcustom.
16110         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
16112 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16114         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
16115         (smie-indent-keyword): Improve the check to ensure that the next
16116         comment is really on the same line.
16117         (smie-indent-comment): Don't align with a subsequent closer (or eob).
16119         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
16120         semi-colons if the line is not otherwise empty (bug#14218).
16122 2013-04-25  Glenn Morris  <rgm@gnu.org>
16124         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
16126 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16128         * progmodes/opascal.el (opascal-set-token-property): Rename from
16129         opascal-set-text-properties and only set `token' (bug#14134).
16130         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
16131         (opascal-literal-text-properties): Remove.
16132         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
16133         Adjust callers.
16135 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
16137         * textmodes/remember.el (remember-handler-functions): Add an
16138         option for a new handler `remember-store-in-files'.
16139         (remember-data-directory, remember-directory-file-name-format):
16140         New options.
16141         (remember-store-in-files): New function to store remember notes
16142         as separate files within a directory.
16144 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
16146         * progmodes/compile.el (compilation-next-error-function):
16147         Pass "formats" to compilation-find-file (bug#11777).
16149 2013-04-24  Glenn Morris  <rgm@gnu.org>
16151         * vc/vc-bzr.el (vc-bzr-print-log):
16152         * vc/vc-hg.el (vc-hg-print-log):
16153         * vc/vc-svn.el (vc-svn-print-log):
16154         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
16156         * vc/vc-bzr.el (vc-bzr-print-log):
16157         * vc/vc-cvs.el (vc-cvs-print-log):
16158         * vc/vc-git.el (vc-git-print-log):
16159         * vc/vc-hg.el (vc-hg-print-log):
16160         * vc/vc-mtn.el (vc-mtn-print-log):
16161         * vc/vc-rcs.el (vc-rcs-print-log):
16162         * vc/vc-sccs.el (vc-sccs-print-log):
16163         * vc/vc-svn.el (vc-svn-print-log):
16164         * vc/vc.el (vc-print-log-internal): Doc fixes.
16166 2013-04-23  Glenn Morris  <rgm@gnu.org>
16168         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
16169         Remove venerable code attempting to avoid substitute-command-keys.
16171 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
16173         * textmodes/reftex-vars.el (reftex-label-regexps):
16174         Call `reftex-compile-variables' after changes to this variable.
16176 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16178         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
16179         Use lexical-binding.
16180         (jit-lock-force-redisplay): Use markers, check buffer's continued
16181         existence and beware narrowed buffers.
16182         (jit-lock-fontify-now): Adjust call accordingly.
16184 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16186         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
16187         to avoid misleading the user.
16189 2013-04-22  Leo Liu  <sdl.web@gmail.com>
16191         * info-look.el: Prefer latex2e.info.  (Bug#14240)
16193 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
16195         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
16197         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16198         * net/tramp.el (tramp-call-process): ... here.
16199         (tramp-set-completion-function, tramp-parse-putty):
16200         * net/tramp-adb.el (tramp-adb-execute-adb-command):
16201         * net/tramp-gvfs.el (tramp-gvfs-send-command):
16202         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16203         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16204         (tramp-call-local-coding-command): Use `tramp-call-process'
16205         instead of `tramp-compat-call-process'.
16207         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16208         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16209         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16210         (tramp-find-inline-compress): Improve traces.
16211         (tramp-maybe-send-script): Check for Perl binary.
16212         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16214 2013-04-22  Daiki Ueno  <ueno@gnu.org>
16216         * epg.el (epg-context-pinentry-mode): New function.
16217         (epg-context-set-pinentry-mode): New function.
16218         (epg--start): Pass --pinentry-mode option to gpg command.
16220 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
16222         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16223         `comint-dynamic-complete' is obsolete since 24.1, replaced by
16224         `completion-at-point'.  (Bug#13774)
16226         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16227         default key binding for `describe-distribution' has been moved to
16228         `C-h C-o'.  (Bug#13970)
16230 2013-04-21  Glenn Morris  <rgm@gnu.org>
16232         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16233         Add doc strings.
16234         (vc-print-log): Clarify interactive prompt.
16236 2013-04-20  Glenn Morris  <rgm@gnu.org>
16238         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16239         No longer include timestamp etc information.
16241 2013-04-20  Roland Winkler  <winkler@gnu.org>
16243         * faces.el (read-face-name): Bug fix, return just one face if arg
16244         multiple is nil.  (Bug#14209)
16246 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16248         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16249         (remove-function): Autoload.
16251         * comint.el (comint-redirect-original-filter-function): Remove.
16252         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16253         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16254         (vc-cvs-annotate-command):
16255         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16256         * progmodes/prolog.el (prolog-consult-compile):
16257         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16258         Use add/remove-function instead.
16259         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16260         (gud-tooltip-process-output, gud-tooltip-tips):
16261         Use add/remove-function instead.
16262         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16263         (scheme-interaction-mode, exit-scheme-interaction-mode):
16264         Use add/remove-function instead.
16266         * vc/vc-dispatcher.el: Use lexical-binding.
16267         (vc--process-sentinel): Rename from vc-process-sentinel.
16268         Change last arg to be the code to run.  Don't use vc-previous-sentinel
16269         and vc-sentinel-commands any more.
16270         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
16271         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16273 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
16275         * progmodes/sh-script.el (sh-imenu-generic-expression):
16276         Handle function names with a single character.  (Bug#14111)
16278 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
16280         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16281         for subroutines defined in an eval (bug#14182).
16283 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16285         * bookmark.el (bookmark-completing-read): Improve handling of empty
16286         string (bug#14176).
16288 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16290         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16292 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
16294         New faster Imenu implementation (bug#14058).
16295         * progmodes/python.el:
16296         (python-imenu-prev-index-position):
16297         (python-imenu-format-item-label-function)
16298         (python-imenu-format-parent-item-label-function)
16299         (python-imenu-format-parent-item-jump-label-function):
16300         New vars.
16301         (python-imenu-format-item-label)
16302         (python-imenu-format-parent-item-label)
16303         (python-imenu-format-parent-item-jump-label)
16304         (python-imenu--put-parent, python-imenu--build-tree)
16305         (python-imenu-create-index, python-imenu-create-flat-index)
16306         (python-util-popn): New functions.
16307         (python-mode): Set imenu-create-index-function to
16308         python-imenu-create-index.
16310 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16312         * winner.el (winner-active-region): Use region-active-p, activate-mark
16313         and deactivate-mark (bug#14225).
16315         * simple.el (deactivate-mark): Don't inline it.
16317 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
16319         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16321 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
16323         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16324         file extensions from the archive-mode entry in order to prefer
16325         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16327 2013-04-18  Leo Liu  <sdl.web@gmail.com>
16329         * bindings.el (help-event-list): Add ?\?.
16331 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16333         * subr.el (with-wrapper-hook): Declare obsolete.
16334         * simple.el (filter-buffer-substring-function): New hook.
16335         (filter-buffer-substring): Use it.
16336         (filter-buffer-substring-functions): Mark obsolete.
16337         * minibuffer.el (completion-in-region-function): New hook.
16338         (completion-in-region): Use it.
16339         (completion-in-region-functions): Mark obsolete.
16340         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16341         * abbrev.el (abbrev-expand-function): New hook.
16342         (expand-abbrev): Use it.
16343         (abbrev-expand-functions): Mark obsolete.
16344         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16345         and :filter-return.
16347 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
16349         * progmodes/python.el (python-nav--syntactically): Fix cornercases
16350         and do not care about match data.
16352 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16354         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16355         completion tables when completing error conditions and
16356         `declare' arguments.
16357         (lisp-complete-symbol, field-complete): Mark as obsolete.
16358         (check-parens): Unmatched parens are user errors.
16359         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16361 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
16363         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16364         command changed buffer (ie. `flyspell-pre-buffer' is not current
16365         buffer), which prevents making decisions based on invalid value of
16366         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
16367         cause an error when `flyspell-pre-point' was nil after switching
16368         buffers.
16369         (flyspell-post-command-hook): No longer needs to change buffers when
16370         checking pre-word.  While at it remove unnecessary progn.
16372 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
16374         * textmodes/ispell.el (ispell-add-per-file-word-list):
16375         Fix `flyspell-correct-word-before-point' error when accepting
16376         words and `coment-padding' is an integer by using
16377         `comment-normalize-vars' (Bug #14214).
16379 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
16381         New defun movement commands.
16382         * progmodes/python.el (python-nav--syntactically)
16383         (python-nav--forward-defun, python-nav-backward-defun)
16384         (python-nav-forward-defun): New functions.
16386 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
16388         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16389         (python-syntax-context): Use named compiler-macro for backwards
16390         compatibility with Emacs 24.x.
16392 2013-04-17  Leo Liu  <sdl.web@gmail.com>
16394         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16395         octave-hide-process-buffer.
16397 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16399         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16400         (bug#14216).
16402 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
16404         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16405         Fix adjustment of offset when receiving incomplete responses from GDB
16406         (bug#14129).
16408 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16410         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16411         python-mode-abbrev-table.
16412         (python-skeleton-define): Adjust accordingly.
16413         (python-mode-abbrev-table): New table that inherits from it so that
16414         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16416         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16417         (abbrev-symbol): Use it.
16418         (abbrev--before-point): Use it since we already handle inheritance.
16420 2013-04-16  Leo Liu  <sdl.web@gmail.com>
16422         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16423         binding to info-lookup-symbol.
16425 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
16427         * minibuffer.el (completion--twq-all):
16428         * term/ns-win.el (ns-initialize-window-system):
16429         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16431 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16433         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16434         global bindings.
16436         * doc-view.el (doc-view-start-process): Handle url-handler directories.
16438 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
16440         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16441         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16442         to nil.
16443         (ruby-end-of-defun): Remove the unused arg, change the docstring
16444         to reflect that this function is only used as the value of
16445         `end-of-defun-function'.
16446         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16447         to reflect an earlier change that beginning/end-of-defun functions
16448         jump between methods in a class definition, as well as top-level
16449         functions.
16451 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16453         * minibuffer.el (minibuffer-complete): Don't just scroll
16454         a *Completions* that's been iconified.
16455         (minibuffer-force-complete): Make sure repetitions do cycle when going
16456         through completion-in-region -> minibuffer-complete.
16458 2013-04-15  Alan Mackenzie  <acm@muc.de>
16460         Correct the placement of c-cpp-delimiters when there're #s not at
16461         col 0.
16463         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16464         place a submatch around the #.
16465         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16466         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
16467         on the #, not BOL.
16469 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16471         * emacs-lisp/nadvice.el: Properly test names when adding advice.
16472         (advice--member-p): New arg `name'.
16473         (advice--add-function, advice-member-p): Use it (bug#14202).
16475 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
16477         Reformulate java imenu-generic-expression.
16478         The old expression contained ill formed regexps.
16480         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16481         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16482         (cc-imenu-java-method-arg-regexp): New defconsts.
16483         (cc-imenu-java-build-type-args-regex): New defun.
16484         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16485         handling of spaces in the regexp.
16487 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
16489         * textmodes/ispell.el (ispell-command-loop): Remove
16490         flyspell highlight of a word when ispell accepts it (bug #14178).
16492 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
16494         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16495         uses code from the previous `ange-ftp-run-real-handler'.
16496         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16497         only in case that function exist.  This is needed for proper
16498         unloading of Tramp.
16500 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
16502         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16504         * textmodes/reftex.el (reftex-compile-variables): Use it.
16506 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16508         * files.el (normal-mode): Only use default major-mode if no other mode
16509         was specified.
16511         * emacs-lisp/trace.el (trace-values): New function.
16513         * files.el: Allow : in local variables (bug#14089).
16514         (hack-local-variable-regexp): New var.
16515         (hack-local-variables-prop-line, hack-local-variables): Use it.
16517 2013-04-13  Roland Winkler  <winkler@gnu.org>
16519         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
16520         data before it gets modified by bibtex-beginning-of-entry.
16522 2013-04-13  Roland Winkler  <winkler@gnu.org>
16524         * textmodes/bibtex.el (bibtex-url): Doc fix.
16526 2013-04-13  Roland Winkler  <winkler@gnu.org>
16528         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16529         does not visit a BibTeX file, exclude it from the list of buffers
16530         returned by bibtex-initialize.
16532 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
16534         * window.el (split-window): Remove interactive form, since as a
16535         command this function is a special case of split-window-below.
16536         Correct doc string.
16538 2013-04-12  Roland Winkler  <winkler@gnu.org>
16540         * faces.el (read-face-name): Do not override value of arg default.
16541         Allow single faces and strings as default values.  Remove those
16542         elements from return value that are not faces.
16543         (describe-face): Simplify.
16544         (face-at-point): New optional args thing and multiple so that this
16545         function can provide the same functionality previously provided by
16546         read-face-name.
16547         (make-face-bold, make-face-unbold, make-face-italic)
16548         (make-face-unitalic, make-face-bold-italic, invert-face)
16549         (modify-face, read-face-and-attribute): Use face-at-point.
16551         * cus-edit.el (customize-face, customize-face-other-window)
16552         * cus-theme.el (custom-theme-add-face)
16553         * face-remap.el (buffer-face-set)
16554         * facemenu.el (facemenu-set-face): Use face-at-point.
16556 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
16558         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16560 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
16562         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16563         off leading { and trailing } from field values.
16565 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
16567         * emacs-lisp/timer.el (timer--check): New function.
16568         (timer--time, timer-set-function, timer-event-handler): Use it.
16569         (timer-set-idle-time): Simplify.
16570         (timer--activate): CSE.
16571         (timer-event-handler): Give more info in error message.
16572         (internal-timer-start-idle): New function, moved from C.
16574         * mpc.el (mpc-proc): Add `restart' argument.
16575         (mpc-proc-cmd): Use it.
16576         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16577         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16578         less often.
16580 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
16582         * progmodes/sh-script.el: Implement `sh-mode' own
16583         `add-log-current-defun-function' (bug#14112).
16584         (sh-current-defun-name): New function.
16585         (sh-mode): Use the function.
16587 2013-04-09  Bastien Guerry  <bzg@gnu.org>
16589         * simple.el (choose-completion-string): Fix docstring (bug#14163).
16591 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16593         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16595         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16596         timer (bug#14156).
16598 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
16600         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16601         declaration.
16603 2013-04-07  Leo Liu  <sdl.web@gmail.com>
16605         * pcmpl-x.el: New file.
16607 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
16609         Do not set x-display-name until X connection is established.
16610         This is needed to prevent from weird situation described at
16611         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16612         * frame.el (make-frame): Set x-display-name after call to
16613         window system initialization function, not before.
16614         * term/x-win.el (x-initialize-window-system): Add optional
16615         display argument and use it.
16616         * term/w32-win.el (w32-initialize-window-system):
16617         * term/ns-win.el (ns-initialize-window-system):
16618         * term/pc-win.el (msdos-initialize-window-system):
16619         Add compatible optional display argument.
16621 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
16623         * files.el (normal-backup-enable-predicate): On MS-Windows and
16624         MS-DOS compare truenames of temporary-file-directory and of the
16625         file, so that 8+3 aliases (usually found in $TEMP on Windows)
16626         don't fail comparison by compare-strings.  Also, compare file
16627         names case-insensitively on MS-Windows and MS-DOS.
16629 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16631         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16632         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16634 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
16636         * whitespace.el (whitespace-color-on, whitespace-color-off):
16637         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16639 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
16641         * ispell.el (ispell-set-spellchecker-params):
16642         Really set `ispell-args' for all equivs.
16644 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16646         * ido.el (ido-completions): Use extra elements of ido-decorations
16647         (bug#14143).
16648         (ido-decorations): Update docstring.
16650 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
16652         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16653         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16654         nil during initialization, in order not to miss changes since the
16655         file was opened.  (Bug#14140)
16657 2013-04-05  Leo Liu  <sdl.web@gmail.com>
16659         * kmacro.el (kmacro-call-macro): Fix bug#14135.
16661 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
16663         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16665 2013-04-04  Glenn Morris  <rgm@gnu.org>
16667         * electric.el (electric-pair-inhibit-predicate): Add :version.
16669 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16671         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16672         when a package is required several times (bug#14082).
16674 2013-04-04  Roland Winkler  <winkler@gnu.org>
16676         * faces.el (read-face-name): Behave as promised by the docstring.
16677         Assume that arg default is a list of faces.
16678         (describe-face): Call read-face-name with list of default faces.
16680 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16682         * bookmark.el: Fix deletion of bookmarks (bug#13972).
16683         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16684         (bookmark-bmenu-execute-deletions): Only skip first line if it's
16685         the header.
16686         (bookmark-exit-hook-internal): Save even if list is empty.
16688 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
16690         * emacs-lisp/package.el (package-pinned-packages): New var.
16691         (package--add-to-archive-contents): Obey it (bug#14118).
16693 2013-04-03  Alan Mackenzie  <acm@muc.de>
16695         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16696         Also adapt to the new values of element 7 of a parse state.
16698         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16699         parameter `not-in-delimiter'.  Handle being inside comment opener.
16700         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16701         character in case we're typing a '*' after a '/'.
16702         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16703         instead by passing the parameter to c-state-pp-to-literal.
16705         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16706         for elt. 7 of a parse state.
16708 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
16710         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16711         * international/latin1-disp.el, international/mule-util.el:
16712         * language/cyril-util.el, language/european.el, language/ind-util.el:
16713         * language/lao-util.el, language/thai.el, language/tibet-util.el:
16714         * language/tibetan.el, language/viet-util.el:
16715         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16717 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16719         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16720         (electric-pair-post-self-insert-function): Use it.
16721         (electric-pair-default-inhibit): New function, extracted from
16722         electric-pair-post-self-insert-function.
16724 2013-03-31  Roland Winkler  <winkler@gnu.org>
16726         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16728 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16730         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16732 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
16734         Un-indent after "pass" and "return" statements (Bug#13888)
16735         * progmodes/python.el (python-indent-block-enders): New var.
16736         (python-indent-calculate-indentation): Use it.
16738 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
16740         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16741         defun.  Defining it as defalias could introduce too eager
16742         byte-compiler optimization.  (Bug#14030)
16744 2013-03-30  Chong Yidong  <cyd@gnu.org>
16746         * iswitchb.el (iswitchb-read-buffer): Fix typo.
16748 2013-03-30  Leo Liu  <sdl.web@gmail.com>
16750         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16751         (kmacro-execute-from-register): Pass the keyboard macro to
16752         kmacro-call-macro or repeating won't work correctly.
16754 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
16756         * progmodes/subword.el: Back to using `forward-symbol'.
16758         * subr.el (forward-whitespace, forward-symbol)
16759         (forward-same-syntax): Move from thingatpt.el.
16761 2013-03-29  Leo Liu  <sdl.web@gmail.com>
16763         * kmacro.el (kmacro-to-register): New command.
16764         (kmacro-execute-from-register): New function.
16765         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
16767 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16769         * mpc.el: Use defvar-local and setq-local.
16770         (mpc--proc-connect): Connection failures are not bugs.
16771         (mpc-mode-map): `follow-link' only applies to the buffer's content.
16772         (mpc-volume-map): Bind to the up-events.
16774 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
16776         * progmodes/subword.el (superword-mode): Use `forward-sexp'
16777         instead of `forward-symbol'.
16779 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16781         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16782         (edebug--recursive-edit): Use it.
16783         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16784         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16786 2013-03-28  Leo Liu  <sdl.web@gmail.com>
16788         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
16790 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
16792         * facemenu.el (list-colors-callback): New defvar.
16793         (list-colors-redisplay): New function.
16794         (list-colors-display): Install list-colors-redisplay as the
16795         revert-buffer-function.  (Bug#14063)
16797 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16799         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16800         and suffixes don't overlap (bug#14061).
16802         * case-table.el: Use lexical-binding.
16803         (case-table-get-table): New function.
16804         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
16806 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
16808         * progmodes/subword.el: Add `superword-mode' to do word motion
16809         over symbol_words (parallels and leverages `subword-mode' which
16810         does word motion inside MixedCaseWords).
16812 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
16814         * eshell/em-unix.el: Move su and sudo to...
16815         * eshell/em-tramp.el: ...Eshell tramp module.
16817 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16819         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16820         Change return value to be a sexp.  Delay `get-buffer' to after
16821         restoring the desktop (bug#13951).
16823 2013-03-26  Leo Liu  <sdl.web@gmail.com>
16825         * register.el: Move semantic tag handling back to
16826         cedet/semantic/senator.el.  (Bug#14052)
16828 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16830         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16831         into the prompt either (bug#13963).
16833 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16835         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16836         part of "(error-foo)".
16838 2013-03-24  Juri Linkov  <juri@jurta.org>
16840         * replace.el (list-matching-lines-prefix-face): New defcustom.
16841         (occur-1): Pass `list-matching-lines-prefix-face' to the function
16842         `occur-engine' if `face-differs-from-default-p' returns t.
16843         (occur-engine): Add `,' inside backquote construct to evaluate
16844         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
16845         Pass `prefix-face' to the functions `occur-context-lines' and
16846         `occur-engine-add-prefix'.
16847         (occur-engine-add-prefix, occur-context-lines): Add optional arg
16848         `prefix-face' and propertize the prefix with `prefix-face'.
16849         (Bug#14017)
16851 2013-03-24  Leo Liu  <sdl.web@gmail.com>
16853         * nxml/rng-valid.el (rng-validate-while-idle)
16854         (rng-validate-quick-while-idle): Guard against deleted buffer.
16855         (Bug#13999)
16857         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16858         is the last entry in kill-buffer-hook.
16860         * files.el (kill-buffer-hook): Doc fix.
16862 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
16864         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16865         Make it safe-local.
16867         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16869 2013-03-23  Leo Liu  <sdl.web@gmail.com>
16871         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16872         Remove.
16874         * nxml/rng-valid.el (rng-validate-mode)
16875         (rng-after-change-function, rng-do-some-validation):
16876         * nxml/rng-maint.el (rng-validate-buffer):
16877         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16878         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16879         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16880         (nxml-extend-after-change-region): Use with-silent-modifications.
16882         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16883         timer-idle-list.
16885         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16886         (rng-next-error-1, rng-previous-error-1): Do not let-bind
16887         timer-idle-list.  (Bug#13999)
16889 2013-03-23  Juri Linkov  <juri@jurta.org>
16891         * info.el (info-index-match): New face.
16892         (Info-index, Info-apropos-matches): Add a nested subgroup to the
16893         main pattern and add text properties with the new face to matches
16894         in index entries relative to the beginning of the index entry.
16895         (Bug#14015)
16897 2013-03-21  Eric Ludlam  <zappo@gnu.org>
16899         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16900         Inhibit read only while inserting objects.
16902 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
16904         * progmodes/cfengine.el: Update docs to mention
16905         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
16906         symbol motion.  Remove "_" from the word syntax.
16908 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
16910         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16911         syntax for both `cfengine2-mode' and `cfengine3-mode'.
16913 2013-03-20  Juri Linkov  <juri@jurta.org>
16915         * info.el (Info-next-reference-or-link)
16916         (Info-prev-reference-or-link): New functions.
16917         (Info-next-reference, Info-prev-reference): Use them.
16918         (Info-try-follow-nearest-node): Handle footnote navigation.
16919         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
16921 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16923         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16924         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16926 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
16928         Suppress unnecessary non-ASCII chatter during build process.
16929         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16930         (batch-skkdic-convert): Suppress most of the chatter.
16931         It's not needed so much now that machines are faster,
16932         and its non-ASCII component was confusing; see Dmitry Gutov in
16933         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16935 2013-03-20  Leo Liu  <sdl.web@gmail.com>
16937         * ido.el (ido-chop): Fix bug#10994.
16939 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
16941         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16942         Remove vars.
16943         (whitespace-color-on, whitespace-color-off):
16944         Use `font-lock-fontify-buffer' (Bug#13817).
16946 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16948         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16949         remapping in mode-line.
16950         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16952 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
16954         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16955         value for `whitespace-line' face (Bug#13875).
16956         (whitespace-font-lock-keywords): Change description.
16957         (whitespace-color-on): Don't save `font-lock-keywords' value, save
16958         the constructed keywords instead.
16959         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16961 2013-03-19  Leo Liu  <sdl.web@gmail.com>
16963         * progmodes/compile.el (compilation-display-error): New command.
16964         (compilation-mode-map, compilation-minor-mode-map): Bind it to
16965         C-o.  (Bug#13992)
16967 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
16969         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16971 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
16973         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16975 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
16977         * net/tramp-compat.el (tramp-compat-user-error): New defun.
16979         * net/tramp-adb.el (tramp-adb-handle-shell-command):
16980         * net/tramp-gvfs.el (top):
16981         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16982         (tramp-handle-shell-command): Use it.
16983         (tramp-dissect-file-name): Raise an error when hostname is a
16984         method name, and neither method nor user is specified.
16986         * net/trampver.el: Update release number.
16988 2013-03-18  Leo Liu  <sdl.web@gmail.com>
16990         Make sure eldoc can be turned off properly.
16991         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16992         eldoc-mode.
16993         (eldoc-display-message-p): Revert last change.
16994         (eldoc-display-message-no-interference-p)
16995         (eldoc-print-current-symbol-info): Tweak.
16997 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
16999         * doc-view.el (doc-view-new-window-function): Check the new window
17000         overlay's display property instead the char property of the
17001         buffer's first char.  Use `with-selected-window' instead of
17002         `save-window-excursion' with `select-window'.
17003         (doc-view-document->bitmap): Check the current doc-view overlay's
17004         display property instead the char property of the buffer's first char.
17006 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
17008         Automate the build of ja-dic.el (Bug#13984).
17009         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
17010         from the input, rather than assume that it's been done for us by the
17011         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
17012         the current date into a ja-dic.el comment, as that complicates
17013         regression testing.
17015 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17017         * whitespace.el: Fix double evaluation.
17018         (whitespace-space, whitespace-hspace, whitespace-tab)
17019         (whitespace-newline, whitespace-trailing, whitespace-line)
17020         (whitespace-space-before-tab, whitespace-indentation)
17021         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
17022         obsolete defvars.
17023         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
17024         (whitespace-color-on): Use a single font-lock-add-keywords call.
17025         Fix double-evaluation of face variables.
17027 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
17029         * net/tramp-adb.el (tramp-adb-parse-device-names):
17030         Use `start-process' instead of `call-process'.  Otherwise, the
17031         function might be blocked under MS Windows.  (Bug#13299)
17033 2013-03-17  Leo Liu  <sdl.web@gmail.com>
17035         Extend eldoc to display info in the mode-line.  (Bug#13978)
17036         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
17037         (eldoc-mode-line-string): New variable.
17038         (eldoc-minibuffer-message): New function.
17039         (eldoc-message-function): New variable.
17040         (eldoc-message): Use it.
17041         (eldoc-display-message-p)
17042         (eldoc-display-message-no-interference-p):
17043         Support eldoc-post-insert-mode.
17045         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
17046         (eval-expression): Run it.
17048 2013-03-17  Roland Winkler  <winkler@gnu.org>
17050         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
17051         strings in the list of return values.
17053 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
17055         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
17056         radix before checking for HMS forms.
17058 2013-03-16  Leo Liu  <sdl.web@gmail.com>
17060         * progmodes/scheme.el: Add indentation and font-locking for λ.
17061         (Bug#13975)
17063 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17065         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
17066         token before point (bug#13942).
17068 2013-03-16  Leo Liu  <sdl.web@gmail.com>
17070         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
17072 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
17074         * startup.el (command-line-normalize-file-name): Fix handling of
17075         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
17076         <xfq.free@gmail.com> in
17077         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
17079 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
17081         Sync with Tramp 2.2.7.
17083         * net/trampver.el: Update release number.
17085 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
17087         * doc-view.el: Fix bug#13887.
17088         (doc-view-insert-image): Don't modify overlay associated to
17089         non-live windows, and implement horizontal centering of image in
17090         case it's smaller than the window.
17091         (doc-view-new-window-function): Force redisplay of new windows on
17092         doc-view buffers.
17094 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
17096         * saveplace.el (save-place-alist-to-file): Don't sort
17097         `save-place-alist', just pretty-print it (bug#13882).
17099 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
17101         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17102         Check whether `default-file-name-coding-system' is bound.
17103         It isn't in XEmacs.
17105 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17107         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
17108         backquotes for `obsolete' (bug#13929).
17110         * international/mule.el (find-auto-coding): Include file name in
17111         obsolescence warning (bug#13922).
17113 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
17115         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
17116         for CFEngine 3-specific indentation.
17117         (cfengine3-indent-line): Use it.  Fix up category regex.
17118         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
17120 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17122         * type-break.el (type-break-file-name):
17123         * textmodes/remember.el (remember-data-file):
17124         * strokes.el (strokes-file):
17125         * shadowfile.el (shadow-initialize):
17126         * saveplace.el (save-place-file):
17127         * ps-bdf.el (bdf-cache-file):
17128         * progmodes/idlwave.el (idlwave-config-directory):
17129         * net/quickurl.el (quickurl-url-file):
17130         * international/kkc.el (kkc-init-file-name):
17131         * ido.el (ido-save-directory-list-file):
17132         * emulation/viper.el (viper-custom-file-name):
17133         * emulation/vip.el (vip-startup-file):
17134         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
17135         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
17137 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
17139         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
17140         * language/thai-word.el: Switch to UTF-8.
17142 See ChangeLog.16 for earlier changes.
17144 ;; Local Variables:
17145 ;; coding: utf-8
17146 ;; End:
17148   Copyright (C) 2011-2015 Free Software Foundation, Inc.
17150   This file is part of GNU Emacs.
17152   GNU Emacs is free software: you can redistribute it and/or modify
17153   it under the terms of the GNU General Public License as published by
17154   the Free Software Foundation, either version 3 of the License, or
17155   (at your option) any later version.
17157   GNU Emacs is distributed in the hope that it will be useful,
17158   but WITHOUT ANY WARRANTY; without even the implied warranty of
17159   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17160   GNU General Public License for more details.
17162   You should have received a copy of the GNU General Public License
17163   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.